/*
   EARTHSHEAR BOOKS — styles.css
   Palette and motifs drawn from the imprint logo: dusk-sky blues, deep teal,
   moss green and bronze accents on a warm ivory ground. Curved double-line
   dividers echo the logo's circular frame.
   Trimmed to only what the coming-soon index page uses.
 
*/

:root {
  --ink: #102229;          /* near-black teal for text — strong contrast */
  --ink-soft: #2b454f;     /* still dark enough to read clearly on light backgrounds */
  --paper: #ffffff;        /* clean white ground */

  --sky-pale: #dceef5;     /* pale blue, used sparingly as a wash, not behind body text */
  --sky-light: #8fc4dc;    /* light blue */
  --sky-deep: #14495a;     /* deep teal-blue, primary accent */
  --bronze: #92682f;       /* darkened gold/bronze accent for readable labels */

  --line: #cfd8db;

  --font-display: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap-width);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.5em 0;
  letter-spacing: -0.01em;
  color: var(--sky-deep);
}

a { color: inherit; }

/* --------------------------------------------------------------------
   Reusable divider
   -------------------------------------------------------------------- */

.curve-divider {
  height: 14px;
  width: 100%;
  background:
    radial-gradient(ellipse 700px 28px at 50% -14px, transparent 0 24px, var(--sky-deep) 25px 26px, transparent 27px) 0 0 / 100% 100% no-repeat,
    radial-gradient(ellipse 700px 22px at 50% -22px, transparent 0 18px, var(--sky-light) 19px 20px, transparent 21px) 0 0 / 100% 100% no-repeat;
}

.curve-divider--flip {
  transform: scaleY(-1);
}

.mark {
  display: inline-block;
  color: var(--bronze);
  font-size: 0.7em;
  margin-right: 0.35em;
  vertical-align: middle;
}

/* --------------------------------------------------------------------
   Header
   -------------------------------------------------------------------- */

.site-header {
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--sky-deep);
  text-transform: uppercase;
}

.brand-accent {
  color: var(--bronze);
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  color: var(--sky-deep);
  border-color: var(--bronze);
}

/* --------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------- */

.hero {
  padding: 48px 0 64px;
  background: linear-gradient(180deg, var(--sky-pale) 0%, var(--paper) 60%);
}

.hero-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid var(--line);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-text {
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 0.4em;
  color: var(--ink);
  font-weight: 800;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}

/* --------------------------------------------------------------------
   Generic section
   -------------------------------------------------------------------- */

section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

section h2 {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.9em;
}

.about p {
  max-width: 68ch;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */

.site-footer {
  background: var(--sky-deep);
  color: var(--paper);
}

.footer-inner {
  padding: 36px 0 44px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-word {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  color: var(--paper);
}

.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: #d3e8ef;
}

/* --------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------- */

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .brand {
    font-size: 1.2rem;
  }
  .site-nav {
    gap: 18px;
    flex-wrap: wrap;
  }
  .hero {
    padding: 36px 0 48px;
  }
  .hero-image-wrap {
    aspect-ratio: 16 / 9;
    margin-bottom: 24px;
  }
  section {
    padding: 48px 0;
  }
}
