:root {
  --bg: #eee6da;
  --bg-soft: #f4eee5;
  --paper: #fffdf9;
  --paper-2: #faf6ef;
  --text: #1f1d1a;
  --muted: #625c55;
  --line: #d8ccbc;
  --navy: #183756;
  --navy-2: #244b70;
  --gold: #b78638;
  --sage: #8a9586;
  --max: 1120px;
  --radius: 20px;
  --shadow: 0 18px 42px rgba(44, 36, 28, .07);
  --main-heading-size: clamp(2.2rem, 5.6vw, 4.4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #f2eadf 0, var(--bg) 42rem, #e8dece 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); line-height: 1.75; }
ul { margin: 0; padding-left: 1.2rem; color: var(--muted); line-height: 1.75; }
strong { color: var(--text); }
.serif, h1, h2, h3, .brand-name { font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .65rem .8rem; border-radius: 8px; }

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.2rem 1.25rem .7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; min-width: 0; }
.brand-symbol { width: 42px; height: 42px; flex: 0 0 42px; background: url('/assets/logo-choice-1.png') center/contain no-repeat; }
.brand-name { font-weight: 700; font-size: 1.28rem; letter-spacing: -.035em; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: .95rem; color: var(--muted); }
.site-nav a { padding: .5rem .1rem; border-bottom: 1.5px solid transparent; font-size: .96rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); border-bottom-color: rgba(183,134,56,.75); }
.site-nav .nav-cta { border: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 999px; padding: .66rem .92rem; background: rgba(255,255,255,.48); color: var(--navy); font-weight: 650; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.nav-toggle { display: none; border: 1px solid var(--line); background: rgba(255,255,255,.55); border-radius: 10px; padding: .55rem .65rem; color: var(--text); font: inherit; }

main { max-width: var(--max); margin: 0 auto; padding: 1.2rem 1.25rem 2.25rem; }
.page { display: grid; gap: 1.25rem; }
.panel {
  background: rgba(255,253,249,.80);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.hero { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4.4rem); }
.hero::after {
  content: "";
  position: absolute;
  width: 26rem;
  height: 26rem;
  right: -10rem;
  bottom: -14rem;
  background: radial-gradient(circle, rgba(183,134,56,.16), rgba(183,134,56,0) 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(230px,.55fr); gap: clamp(2rem,6vw,5rem); align-items: center; position: relative; z-index: 1; }
.hero-copy { max-width: 47rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-size: .76rem; font-weight: 750; margin-bottom: .85rem; }
h1, h2, h3 { margin: 0; color: var(--text); letter-spacing: -.045em; line-height: 1.03; }
h1 { font-size: var(--main-heading-size); max-width: 13ch; }
h2 { font-size: clamp(1.9rem, 4vw, 3.15rem); max-width: 18ch; }
h3 { font-size: 1.3rem; }
.lead { margin-top: 1.25rem; max-width: 61ch; font-size: 1.08rem; }
.book-cover { display: block; width: min(245px, 82%); margin: 0 auto; filter: drop-shadow(0 18px 24px rgba(35,31,25,.11)); }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.35rem; align-items: center; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .88rem 1.12rem; border-radius: 999px; border: 1px solid transparent; font-weight: 700; transition: .16s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--navy); color: #fff; box-shadow: 0 10px 20px rgba(24,55,86,.14); }
.button.primary:hover { background: var(--navy-2); }
.button.secondary { background: rgba(255,255,255,.62); border-color: var(--line); color: var(--text); }
.button.secondary:hover { background: #fff; }
.button.gold { background: var(--gold); color: #fff; }
.microcopy { margin-top: .55rem; font-size: .88rem; color: #70685f; }

.section { padding: clamp(1.65rem, 4vw, 2.7rem); }
.section-head { display: grid; gap: .65rem; margin-bottom: 1.35rem; }
.section-head p { max-width: 68ch; margin: 0; }
.section.plain { background: transparent; border: 0; box-shadow: none; padding-left: clamp(.25rem, 2vw, 1.2rem); padding-right: clamp(.25rem, 2vw, 1.2rem); }
.rule { width: 54px; height: 2px; background: var(--gold); margin: .25rem 0 .85rem; }
.statement { max-width: 43rem; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.35; color: var(--text); font-family: "Iowan Old Style", Georgia, serif; }

.two-stage { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: stretch; }
.stage { padding: 1.35rem; border: 1px solid var(--line); background: var(--paper); border-radius: 16px; }
.stage-number { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(183,134,56,.55); color: var(--gold); border-radius: 999px; font-weight: 800; margin-bottom: .85rem; }
.stage-arrow { display: grid; place-items: center; color: var(--gold); font-size: 1.8rem; }
.canon-line { margin-top: 1.15rem; border-left: 3px solid var(--gold); padding: .8rem 1rem; background: #fff9ef; border-radius: 10px; color: var(--text); font-weight: 700; }

.lens-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; }
.lens { border-top: 1px solid var(--line); padding: 1rem .25rem .35rem; }
.lens-icon { width: 42px; height: 42px; border: 1.5px solid var(--gold); color: var(--gold); border-radius: 999px; display: grid; place-items: center; font-weight: 800; margin-bottom: .7rem; }
.lens strong { display: block; margin-bottom: .25rem; }
.lens p { font-size: .96rem; margin: 0; }

.benefit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.benefit { padding: 1rem 0; border-top: 1px solid var(--line); }
.benefit strong { display: block; margin-bottom: .35rem; }

.sample-band {
  background: url('/assets/nz-landscape-book.png') center center / cover no-repeat;
  color: #fff;
  border-color: rgba(24,55,86,.18);
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.sample-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,38,65,.34) 0%, rgba(11,38,65,.18) 42%, rgba(11,38,65,0) 67%);
  pointer-events: none;
}
.sample-band::after { content: none; }
.sample-band h2, .sample-band h3, .sample-band strong { color: #fff; }
.sample-band p { color: rgba(255,255,255,.78); }
.sample-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr); gap: 2rem; align-items: center; position: relative; z-index: 1; }
.sample-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 0; }
.pill { border: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.92); border-radius: 999px; padding: .42rem .65rem; font-size: .84rem; }
.sample-band .book-cover { width: min(190px, 72%); filter: drop-shadow(0 18px 24px rgba(0,0,0,.2)); }

.author-block { display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 1.35rem; align-items: center; }
.author-photo { width: 132px; aspect-ratio: 4/5; object-fit: cover; object-position: center top; border-radius: 14px; border: 1px solid var(--line); }
.text-link { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.page-hero { padding: clamp(2rem,4vw,3.1rem); }
.page-hero h1 { max-width: 16ch; font-size: var(--main-heading-size); }
.book-page-grid { display: grid; grid-template-columns: minmax(220px,.48fr) minmax(0,1.25fr); gap: clamp(2rem,5vw,4rem); align-items: start; }
.book-page-grid .book-cover { width: min(260px, 82%); }
.content-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.content-card { border-top: 1px solid var(--line); padding: 1rem 0; }
.content-card h3 { margin-bottom: .4rem; }

.quote { border-left: 3px solid var(--gold); padding-left: 1rem; font-family: "Iowan Old Style", Georgia, serif; color: var(--text); font-size: 1.25rem; line-height: 1.45; }

.form-shell { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.field { display: grid; gap: .4rem; font-weight: 700; }
.field span { font-size: .9rem; }
.field input { width: 100%; min-height: 50px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: .85rem .9rem; color: var(--text); font: inherit; }
.form-note { font-size: .87rem; margin: 0; }
.form-card { max-width: 44rem; }

.site-footer { max-width: var(--max); margin: 0 auto; padding: .5rem 1.25rem 2rem; color: var(--muted); }
.footer-inner { border-top: 1px solid var(--line); padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.footer-mark { display: flex; gap: .7rem; align-items: center; }
.footer-mark .brand-symbol { width: 34px; height: 34px; flex-basis: 34px; }
.footer-links { display: flex; flex-wrap: wrap; gap: .9rem; font-size: .9rem; }
.footer-links a:hover { color: var(--text); }
.copyright { width: 100%; font-size: .82rem; color: #766e65; }

@media (max-width: 900px) {
  .hero-grid, .sample-grid, .book-page-grid { grid-template-columns: 1fr; }
  .hero-grid .book-cover, .sample-grid .book-cover { margin-left: 0; }
  .hero-grid > div:last-child, .sample-grid > div:last-child { justify-self: start; }
  .lens-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; top: 72px; left: 1rem; right: 1rem; z-index: 30; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .8rem; display: none; flex-direction: column; align-items: stretch; gap: .2rem; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .7rem .75rem; }
  .site-nav .nav-cta { text-align: center; }
  .two-stage, .benefit-grid, .content-grid, .form-grid, .author-block { grid-template-columns: 1fr; }
  .stage-arrow { transform: rotate(90deg); min-height: 28px; }
  .author-photo { width: 120px; }
}
@media (max-width: 520px) {
  .site-header, main, .site-footer { padding-left: 1rem; padding-right: 1rem; }
  .hero, .section, .page-hero { padding: 1.45rem; }
  :root { --main-heading-size: clamp(2rem, 11vw, 3.2rem); }
  .lens-grid { grid-template-columns: 1fr; }
  .button-row { align-items: stretch; }
  .button { width: 100%; }
  .book-cover { width: min(210px, 72vw); }
}

/* V2.1 visual refinements */
.sample-art-spacer { min-height: 250px; }
@media (max-width: 900px) {
  .sample-band { background-position: 64% center; min-height: 430px; }
  .sample-grid { grid-template-columns: minmax(0,1fr) minmax(180px,.55fr); }
  .sample-art-spacer { min-height: 230px; }
}
@media (max-width: 760px) {
  .sample-band {
    background-position: 68% center;
    min-height: 520px;
  }
  .sample-band::before {
    background: linear-gradient(180deg, rgba(11,38,65,.58) 0%, rgba(11,38,65,.32) 53%, rgba(11,38,65,.03) 82%);
  }
  .sample-grid { grid-template-columns: 1fr; }
  .sample-art-spacer { min-height: 210px; }
}

/* V2.2 heading consistency + home book restoration */
.home-hero-book { width: min(235px, 82%); }

/* V2.3 final desktop layout refinements */
/* Keep the approved type scale, but give major editorial headings more room. */
h2 { max-width: 26ch; }
.page-hero h1 { max-width: 22ch; }
.section.plain h2 { max-width: 27ch; }
.section-head h2 { max-width: 26ch; }

/* The home book should act as a clear secondary visual anchor without crowding the copy. */
.home-hero-book { width: min(285px, 100%); }

/* Preserve the complete book artwork at the right edge of the landscape banners. */
.sample-band { background-position: right center; }

/* Use the full width of the Free Sample information section instead of a narrow left column. */
.sample-inside-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.sample-inside-grid .section-head { margin-bottom: 0; }
.sample-inside-grid ul { padding-top: 2.15rem; }

@media (max-width: 900px) {
  .sample-band { background-position: 64% center; }
}
@media (max-width: 760px) {
  h2, .section.plain h2, .section-head h2, .page-hero h1 { max-width: none; }
  .sample-inside-grid { grid-template-columns: 1fr; gap: .8rem; }
  .sample-inside-grid ul { padding-top: 0; }
}


/* V2.5 compact privacy page */
.privacy-page { max-width: 900px; margin: 0 auto; }
.privacy-panel { padding: clamp(2rem, 4.5vw, 3.4rem); }
.privacy-copy { max-width: 760px; }
.privacy-copy h1 { font-size: clamp(2.8rem, 5vw, 4.1rem); max-width: none; }
.privacy-copy .lead { max-width: 48rem; margin-top: .85rem; }
.privacy-divider { height: 1px; background: var(--line); margin: 1.8rem 0 2rem; }
.privacy-copy h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); max-width: none; margin-bottom: .75rem; }
.privacy-copy h3 { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; letter-spacing: 0; line-height: 1.35; margin: 1.5rem 0 .35rem; }
.privacy-copy p { max-width: 68ch; }
@media (max-width: 520px) {
  .privacy-panel { padding: 1.5rem; }
  .privacy-copy h1 { font-size: clamp(2.3rem, 12vw, 3.2rem); }
}

/* V2.6 mobile home hero fix: centre the book and remove decorative artifact behind it */
@media (max-width: 760px) {
  .hero::after { content: none; display: none; }
  .hero-grid > div:last-child {
    justify-self: stretch;
    width: 100%;
    display: grid;
    place-items: center;
  }
  .hero-grid .book-cover,
  .home-hero-book {
    margin: 1rem auto 0;
    width: min(210px, 68vw);
    justify-self: center;
  }
}

.form-status{min-height:1.4em;margin:.65rem 0 0;color:#7b2e2e;font-size:.95rem}
button[disabled]{opacity:.65;cursor:wait}

/* V2.12 publisher and privacy refinements */
.publisher-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.publisher-link:hover { color: var(--navy); }
.privacy-updated { margin-top: 1.75rem; font-size: .86rem; color: #766e65; }
