/* ============================================================
   DESIGN TOKENS — "Be the Light": cream page, golden light, night blue
   ============================================================ */
    :root {
      --bg: #FFFBEB;
      --bg-2: #FDF4DE;
      --surface: #FFFFFF;
      --ink: #1B1710;
      --ink-soft: #57534E;
      --primary: #7C7266;
      --secondary: #92400E;
      /* small text on cream — 7.4:1 */
      --accent: #D97706;
      /* rules, icons, decoration */
      --gold: #F59E0B;
      /* CTA fill */
      --dark: #12203A;
      /* night sections */
      --dark-2: #1B2C4A;
      --border: #EBE2CD;
      --border-strong: #D9CDB2;
      --ring: #92400E;

      --f-display: "Fraunces", Georgia, serif;
      --f-book: "Libre Baskerville", Georgia, serif;
      --f-ui: "Inter", system-ui, -apple-system, sans-serif;

      --s-1: 8px;
      --s-2: 16px;
      --s-3: 24px;
      --s-4: 40px;
      --s-5: 64px;
      --s-6: 96px;
      --s-7: 128px;

      --r-sm: 8px;
      --r-md: 14px;
      --r-lg: 22px;
      --shadow-sm: 0 1px 2px rgba(27, 23, 16, .06), 0 4px 14px rgba(27, 23, 16, .05);
      --shadow-md: 0 14px 34px -14px rgba(27, 23, 16, .24);
      --shadow-book: 0 40px 80px -30px rgba(18, 32, 58, .55);
      --maxw: 1180px;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box
    }

    /* NOTE: no CSS `scroll-behavior:smooth` — it breaks ScrollTrigger's refresh
   measurements (pin offsets shift by the current scroll). Anchors are smoothed in JS. */
    html {
      -webkit-text-size-adjust: 100%;
      scroll-padding-top: 90px
    }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--ink);
      font-family: var(--f-ui);
      font-size: 17px;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    img {
      max-width: 100%;
      display: block
    }

    h1,
    h2,
    h3,
    h4 {
      font-family: var(--f-display);
      font-weight: 600;
      line-height: 1.1;
      letter-spacing: -.015em;
      margin: 0
    }

    h1 {
      font-size: clamp(40px, 5.6vw, 74px)
    }

    h2 {
      font-size: clamp(31px, 4vw, 52px)
    }

    h3 {
      font-size: clamp(19px, 2vw, 25px);
      line-height: 1.28
    }

    p {
      margin: 0
    }

    a {
      color: inherit
    }

    .wrap {
      width: min(var(--maxw), 92vw);
      margin-inline: auto
    }

    .section {
      padding: var(--s-7) 0
    }

    @media (max-width:760px) {
      .section {
        padding: var(--s-6) 0
      }
    }

    .eyebrow {
      font-family: var(--f-ui);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--secondary);
    }

    .lead {
      font-size: clamp(16.5px, 1.3vw, 18.5px);
      color: var(--ink-soft);
      line-height: 1.75
    }

    .rule {
      width: 56px;
      height: 3px;
      background: var(--gold);
      border: 0;
      border-radius: 3px;
      margin: var(--s-3) 0
    }

    /* ---------- buttons ---------- */
    .btn {
      font-family: var(--f-ui);
      font-size: 15px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 15px 28px;
      border-radius: var(--r-sm);
      border: 1px solid transparent;
      cursor: pointer;
      text-decoration: none;
      transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
    }

    .btn:hover {
      transform: translateY(-2px)
    }

    .btn:active {
      transform: translateY(0)
    }

    .btn-primary {
      background: var(--gold);
      color: var(--dark);
      box-shadow: var(--shadow-sm)
    }

    .btn-primary:hover {
      background: #E08C05;
      box-shadow: var(--shadow-md)
    }

    .btn-ghost {
      background: transparent;
      color: var(--ink);
      border-color: var(--border-strong)
    }

    .btn-ghost:hover {
      border-color: var(--ink);
      background: rgba(27, 23, 16, .04)
    }

    .btn-light {
      background: #FFFBEB;
      color: var(--dark)
    }

    .btn-light:hover {
      background: #fff
    }

    .btn svg {
      width: 17px;
      height: 17px;
      flex: none
    }

    :where(a, button, summary, input):focus-visible {
      outline: 2px solid var(--ring);
      outline-offset: 3px;
      border-radius: 4px;
    }

    /* ============================================================
   HEADER
   ============================================================ */
    .header {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 80;
      background: rgba(255, 251, 235, .72);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-bottom: 1px solid transparent;
      transition: border-color .3s ease, background-color .3s ease;
    }

    .header.is-stuck {
      border-bottom-color: var(--border);
      background: rgba(255, 251, 235, .92)
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--s-3);
      height: 74px
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 11px;
      text-decoration: none;
      white-space: nowrap;
      font-family: var(--f-display);
      font-size: 20px;
      font-weight: 600;
      letter-spacing: -.02em;
    }

    .brand-mark {
      width: 208px;
      /* height: 38px; */
      flex: none;
      display: grid;
      place-items: center;
      overflow: hidden;
    }

    .brand-mark img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: var(--s-3);
      font-family: var(--f-ui);
      font-size: 14.5px;
      font-weight: 500
    }

    .nav a {
      text-decoration: none;
      color: var(--ink-soft);
      position: relative;
      padding: 6px 0;
      white-space: nowrap;
      transition: color .2s ease
    }

    .nav a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      height: 2px;
      width: 0;
      background: var(--gold);
      transition: width .25s ease
    }

    .nav a:hover {
      color: var(--ink)
    }

    .nav a:hover::after {
      width: 100%
    }

    .header-cta {
      display: flex;
      align-items: center;
      gap: var(--s-2)
    }

    .header-cta .btn {
      padding: 11px 20px;
      font-size: 14px
    }

    .nav-toggle {
      display: none;
      background: none;
      border: 1px solid var(--border-strong);
      border-radius: var(--r-sm);
      padding: 9px;
      cursor: pointer;
      color: var(--ink)
    }

    .nav-toggle svg {
      width: 20px;
      height: 20px;
      display: block
    }

    @media (max-width:1080px) {
      .nav {
        position: fixed;
        inset: 74px 0 auto 0;
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: var(--s-2) 6vw var(--s-3);
        border-bottom: 1px solid var(--border);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease, transform .22s ease;
      }

      .nav.open {
        opacity: 1;
        transform: none;
        pointer-events: auto
      }

      .nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        font-size: 16px
      }

      .nav-toggle {
        display: block
      }

      .header-cta .btn-ghost {
        display: none
      }
    }

    /* ============================================================
   HERO
   ============================================================ */
    .hero {
      padding: calc(74px + var(--s-6)) 0 var(--s-6);
      position: relative;
      overflow: hidden
    }

    .hero::before {
      content: "";
      position: absolute;
      top: -26vw;
      right: -12vw;
      width: 62vw;
      height: 62vw;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(245, 158, 11, .22), rgba(245, 158, 11, 0) 64%);
      pointer-events: none;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: var(--s-6);
      align-items: center;
      position: relative
    }

    .hero h1 {
      margin: var(--s-2) 0 var(--s-3)
    }

    .hero h1 em {
      display: block;
      font-style: normal;
      color: var(--secondary)
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: var(--s-2);
      margin: var(--s-4) 0 var(--s-3)
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      color: var(--ink-soft)
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 7px 14px;
      border-radius: 100px;
      background: rgba(245, 158, 11, .14);
      color: var(--secondary);
      font-size: 13px;
      font-weight: 600;
    }

    .pill svg {
      width: 14px;
      height: 14px
    }

    .hero-note {
      font-size: 13.5px;
      color: var(--primary);
      margin-top: var(--s-2)
    }

    /* Hero book cover — real photo/mockup */
    .book-stage {
      display: grid;
      place-items: center;
      perspective: 1600px
    }

    .book-photo {
      position: relative;
      width: clamp(300px, 38vw, 520px);
      filter: drop-shadow(var(--shadow-book));
      will-change: transform;
    }

    .book-photo img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 6px;
    }

    .book-badge {
      position: absolute;
      bottom: 6%;
      left: -9%;
      z-index: 3;
      background: var(--bg);
      border: 1px solid var(--border-strong);
      border-radius: 100px;
      padding: 9px 18px;
      font-size: 12.5px;
      font-weight: 600;
      box-shadow: var(--shadow-md);
      white-space: nowrap;
    }

    .book-badge span {
      color: var(--secondary)
    }

    @media (max-width:940px) {
      .hero {
        padding-top: calc(74px + var(--s-5))
      }

      .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--s-5)
      }

      .book-stage {
        order: -1
      }

      .book-photo {
        width: min(80vw, 380px)
      }

      .book-badge {
        left: 50%;
        bottom: -18px;
        transform: translateX(-50%)
      }
    }

    /* ============================================================
   PROOF STRIP
   ============================================================ */
    .proof {
      border-block: 1px solid var(--border);
      background: var(--bg-2)
    }

    .proof-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: var(--s-3);
      padding: var(--s-3) 0
    }

    .proof-item {
      font-size: 12.5px;
      letter-spacing: .13em;
      text-transform: uppercase;
      color: var(--primary)
    }

    .proof-item b {
      display: block;
      font-family: var(--f-display);
      font-size: 28px;
      letter-spacing: -.02em;
      text-transform: none;
      color: var(--ink);
      font-weight: 600;
      line-height: 1.25;
    }

    /* ============================================================
   ABOUT THE BOOK
   ============================================================ */
    .split {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: var(--s-6)
    }

    .about-body p {
      color: var(--ink-soft);
      font-size: 17px;
      margin-bottom: var(--s-3);
      max-width: 62ch
    }

    .about-body p:last-child {
      margin-bottom: 0
    }

    .about-body strong {
      color: var(--ink);
      font-weight: 600
    }

    .value-list {
        display: none;
      /*display: grid;*/
      grid-template-columns: 1fr 1fr;
      gap: var(--s-3);
      margin-top: var(--s-5)
    }

    .value {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r-md);
      padding: var(--s-3);
      box-shadow: var(--shadow-sm);
    }

    .value-ico {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: rgba(245, 158, 11, .16);
      color: var(--secondary);
      display: grid;
      place-items: center;
      margin-bottom: 14px;
    }

    .value-ico svg {
      width: 21px;
      height: 21px
    }

    .value h3 {
      margin-bottom: 6px;
      font-size: 19px
    }

    .value p {
      font-size: 15px;
      color: var(--ink-soft);
      line-height: 1.6
    }

    @media (max-width:900px) {
      .split {
        grid-template-columns: 1fr;
        gap: var(--s-4)
      }

      .value-list {
        grid-template-columns: 1fr;
        margin-top: var(--s-4)
      }
    }

    /* ============================================================
   LOOK INSIDE — pinned page-flip
   ============================================================ */
    .inside {
      background: var(--dark);
      color: #FFFBEB;
      position: relative
    }

    .inside .eyebrow {
      color: var(--gold)
    }

    .inside-head {
      text-align: center;
      max-width: 640px;
      margin: 0 auto var(--s-4)
    }

    .inside-head p {
      color: rgba(255, 251, 235, .7)
    }

    .inside-stage {
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: var(--s-4) 0
    }

    .spread-wrap {
      perspective: 2600px;
      display: grid;
      place-items: center
    }

    .spread {
      position: relative;
      aspect-ratio: 16/10.4;
      width: min(980px, 90vw);
      /* never taller than the pinned viewport allows */
      width: min(980px, 90vw, calc((100svh - 330px) * 1.54));
      transform-style: preserve-3d;
      box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8);
      border-radius: 4px;
    }

    /* ---- Two-page book (6 pages = 3 spreads, right-side leaves flip) ---- */
    .spread.book2 {
      aspect-ratio: 5208/2636;
      /* two square pages side by side */
      width: min(1040px, 94vw, calc((100svh - 280px) * 1.98));
      position: relative;
      transform-style: preserve-3d;
      box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75);
      background: #0b1428;
      border-radius: 12px;
    }

    .spread.book2 .page-static {
      position: absolute;
      top: 0;
      height: 100%;
      width: 50%;
      object-fit: cover;
      display: block;
    }

    .spread.book2 .page-static.left {
      left: 0;
      border-radius: 12px 0 0 12px;
      box-shadow: inset -22px 0 30px -22px rgba(27, 23, 16, .55)
    }

    .spread.book2 .page-static.right {
      right: 0;
      border-radius: 0 12px 12px 0;
      box-shadow: inset 22px 0 30px -22px rgba(27, 23, 16, .4)
    }

    .spread.book2 .leaf {
      position: absolute;
      top: 0;
      right: 0;
      width: 50%;
      height: 100%;
      transform-origin: left center;
      /* spine */
      transform-style: preserve-3d;
      will-change: transform;
    }

    .spread.book2 .leaf .face {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }

    .spread.book2 .leaf .face.front {
      border-radius: 0 12px 12px 0;
      box-shadow: inset 22px 0 30px -22px rgba(27, 23, 16, .4)
    }

    .spread.book2 .leaf .face.back {
      transform: rotateY(180deg);
      border-radius: 12px 0 0 12px;
      box-shadow: inset -22px 0 30px -22px rgba(27, 23, 16, .55)
    }

    /* center spine shadow */
    .spread.book2::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 0;
      width: 38px;
      height: 100%;
      transform: translateX(-50%);
      background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .28), rgba(0, 0, 0, 0));
      pointer-events: none;
      z-index: 60;
    }

    /* phones: single-page column — one image at a time, still 6 pages */
    @media (max-width:760px) {
      .spread.book2 {
        aspect-ratio: 2604/2636;
        width: min(88vw, 360px, calc((100svh - 260px) * .95));
        border-radius: 8px;
      }

      .spread.book2 .page-static,
      .spread.book2 .leaf,
      .spread.book2 .leaf .face {
        width: 100%;
        left: 0;
        right: 0;
        border-radius: 8px;
        box-shadow: none;
      }

      .spread.book2 .page-static.left,
      .spread.book2 .page-static.right {
        border-radius: 8px
      }

      .spread.book2::after {
        display: none
      }
    }

    .page {
      background: linear-gradient(180deg, #FFFDF6, #F6EEDA);
      color: var(--ink);
      overflow: hidden;
      padding: clamp(16px, 2.5vw, 38px) clamp(18px, 3vw, 44px);
      display: flex;
      flex-direction: column;
    }

    .page-static {
      position: absolute;
      top: 0;
      height: 100%;
      width: 50%
    }

    .page-static.left {
      left: 0;
      border-radius: 4px 0 0 4px;
      box-shadow: inset -26px 0 34px -26px rgba(27, 23, 16, .5)
    }

    .page-static.right {
      right: 0;
      border-radius: 0 4px 4px 0;
      box-shadow: inset 26px 0 34px -26px rgba(27, 23, 16, .38)
    }

    .leaf {
      position: absolute;
      top: 0;
      left: 50%;
      width: 50%;
      height: 100%;
      transform-style: preserve-3d;
      transform-origin: left center;
      will-change: transform;
    }

    .leaf .face {
      position: absolute;
      inset: 0;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden
    }

    .leaf .face.front {
      border-radius: 0 4px 4px 0;
      box-shadow: inset 26px 0 34px -26px rgba(27, 23, 16, .38)
    }

    .leaf .face.back {
      transform: rotateY(180deg);
      border-radius: 4px 0 0 4px;
      box-shadow: inset -26px 0 34px -26px rgba(27, 23, 16, .5)
    }

    .spread::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 0;
      width: 34px;
      height: 100%;
      transform: translateX(-50%);
      background: linear-gradient(90deg, rgba(27, 23, 16, 0), rgba(27, 23, 16, .2), rgba(27, 23, 16, 0));
      pointer-events: none;
      z-index: 60;
    }

    .page-kicker {
      font-size: clamp(8px, .95vw, 10px);
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--primary)
    }

    .page h4 {
      font-family: var(--f-display);
      font-size: clamp(16px, 2.3vw, 29px);
      font-weight: 600;
      margin: clamp(6px, 1vw, 14px) 0
    }

    .page-body {
      font-family: var(--f-book);
      font-size: clamp(9px, 1.25vw, 14px);
      line-height: 1.75;
      color: #3E362B;
      margin: 0 0 .8em;
    }

    .page-body:last-of-type {
      margin-bottom: 0
    }

    .dropcap::first-letter {
      font-family: var(--f-display);
      float: left;
      font-size: 3em;
      line-height: .85;
      padding: .05em .1em 0 0;
      color: var(--secondary);
      font-weight: 600;
    }

    .page-pull {
      font-family: var(--f-display);
      font-size: clamp(13px, 1.85vw, 23px);
      line-height: 1.32;
      color: var(--secondary);
      margin: auto 0;
    }

    /* ---- illustration page (full bleed) ----
   Drop the real artwork in  E:\ebook-landing\art\  using the file names below and
   it replaces the placeholder automatically — nothing else to change. */
    .page-art {
      padding: 0;
      position: relative;
      overflow: hidden;
      background: linear-gradient(170deg, #1B2C4A 0%, #3C4E77 45%, #B4700F 100%)
    }

    .page-art::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -28%;
      width: 120%;
      aspect-ratio: 1;
      transform: translateX(-50%);
      background: radial-gradient(circle, rgba(253, 230, 138, .85), rgba(245, 158, 11, 0) 58%);
      pointer-events: none;
    }

    .page-art img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 3;
      opacity: 0
    }

    .page-art.has-art img {
      opacity: 1
    }

    .page-art.has-art::after,
    .page-art.has-art .art-ph,
    .page-art.has-art .art-cap {
      display: none
    }

    .art-ph {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      z-index: 2
    }

    .art-ph svg {
      width: 38%;
      max-height: 52%;
      color: rgba(255, 251, 235, .9)
    }

    .art-cap {
      position: absolute;
      left: 0;
      right: 0;
      bottom: clamp(8px, 1.4vw, 18px);
      z-index: 2;
      text-align: center;
      font-size: clamp(7.5px, .9vw, 10px);
      letter-spacing: .14em;
      text-transform: uppercase;
      color: rgba(255, 251, 235, .6);
    }

    .page-no {
      margin-top: auto;
      padding-top: 8px;
      font-size: clamp(8px, .9vw, 10.5px);
      color: var(--primary);
      letter-spacing: .1em
    }

    .page-no.r {
      text-align: right
    }

    .flip-hint {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      margin-top: var(--s-3);
      font-size: 12px;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: rgba(255, 251, 235, .55);
    }

    .flip-track {
      width: min(320px, 52vw);
      height: 3px;
      border-radius: 3px;
      background: rgba(255, 251, 235, .16);
      position: relative;
      overflow: hidden
    }

    .flip-fill {
      position: absolute;
      inset: 0 auto 0 0;
      width: 0%;
      background: var(--gold)
    }

    .inside-foot {
      text-align: center;
      padding-bottom: var(--s-6)
    }

    /* phones: a two-page spread is unreadable below ~760px, so every page is stacked
   full-size and turned one at a time — art pages included. */
    @media (max-width:760px) {
      .spread-wrap {
        perspective: 1300px
      }

      .spread {
        aspect-ratio: 3/4;
        width: min(88vw, 330px);
        width: min(88vw, 330px, calc((100svh - 290px) * .75));
        box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8);
      }

      .spread::after {
        display: none
      }

      .spread .page-static,
      .spread .leaf {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0
      }

      .spread .leaf {
        transform: none;
        will-change: auto
      }

      .spread .leaf .face {
        position: absolute;
        inset: 0
      }

      .spread .leaf .face.back {
        transform: none
      }

      .spread .page {
        border-radius: 8px;
        box-shadow: none;
        backface-visibility: visible;
        -webkit-backface-visibility: visible;
        transform-origin: left center;
      }

      .page-static.left {
        z-index: 60
      }

      .page-static.right {
        z-index: 0
      }

      .leaf .face.front {
        z-index: 2
      }

      .leaf .face.back {
        z-index: 1
      }

      .page-body {
        font-size: clamp(11px, 3.1vw, 14px)
      }

      .page h4 {
        font-size: clamp(18px, 5vw, 23px)
      }

      .page-kicker,
      .art-cap,
      .page-no {
        font-size: 9.5px
      }

      .page-pull {
        font-size: clamp(15px, 4.2vw, 19px)
      }

      .art-ph svg {
        width: 44%
      }

      .flip-hint {
        font-size: 11px;
        gap: 10px
      }
    }

    /* ============================================================
   LESSONS
   ============================================================ */
    .lessons {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0 var(--s-5);
      margin-top: var(--s-5)
    }

    .lesson {
      display: flex;
      gap: var(--s-3);
      align-items: baseline;
      padding: var(--s-3) 0;
      border-bottom: 1px solid var(--border)
    }

    .lesson-no {
      font-family: var(--f-display);
      font-size: 24px;
      color: var(--accent);
      min-width: 38px;
      font-weight: 600
    }

    .lesson h3 {
      font-size: 19px
    }

    .lesson p {
      font-size: 14.5px;
      color: var(--ink-soft);
      margin-top: 4px;
      line-height: 1.6
    }

    @media (max-width:820px) {
      .lessons {
        grid-template-columns: 1fr
      }
    }

    /* ============================================================
   AUTHOR
   ============================================================ */
    .author {
      background: var(--bg-2);
      border-block: 1px solid var(--border)
    }

    .author-grid {
      display: grid;
      grid-template-columns: .78fr 1.22fr;
      gap: var(--s-6);
      align-items: center
    }

    .portrait-frame {
      position: relative;
      padding: 14px;
      background: var(--surface);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-md);
      border-radius: var(--r-md)
    }

    .portrait {
      aspect-ratio: 4/5;
      border-radius: 8px;
      position: relative;
      overflow: hidden;
      background: linear-gradient(165deg, #12203A 0%, #2E4470 48%, #B4700F 100%);
      display: grid;
      place-items: center;
      color: #FFFBEB;
    }

    .portrait::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -28%;
      width: 120%;
      aspect-ratio: 1;
      transform: translateX(-50%);
      background: radial-gradient(circle, rgba(253, 230, 138, .65), rgba(245, 158, 11, 0) 60%);
      pointer-events: none;
    }

    .portrait span {
      position: relative;
      font-family: var(--f-display);
      font-size: clamp(52px, 6.6vw, 80px);
      letter-spacing: .02em
    }

    .portrait img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 22%;
      display: block;
      z-index: 1;
    }

    /* if a real photo is present, hide the gradient glow behind it */
    .portrait:has(img)::after {
      display: none
    }

    .portrait-cap {
      font-size: 11.5px;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--primary);
      margin-top: 12px;
      text-align: center
    }

    .author blockquote {
      font-family: var(--f-display);
      font-size: clamp(22px, 2.5vw, 31px);
      line-height: 1.32;
      margin: 0 0 var(--s-3);
      color: var(--ink);
    }

    .author-body p {
      color: var(--ink-soft);
      font-size: 16.5px;
      margin-bottom: var(--s-2);
      max-width: 60ch
    }

    .signature {
      font-family: var(--f-display);
      font-size: 27px;
      margin-top: var(--s-3);
      color: var(--secondary)
    }

    .author-stats {
      display: flex;
      flex-wrap: wrap;
      gap: var(--s-4);
      margin-top: var(--s-4);
      padding-top: var(--s-3);
      border-top: 1px solid var(--border)
    }

    .author-stats div {
      font-size: 12px;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--primary)
    }

    .author-stats b {
      display: block;
      font-family: var(--f-display);
      font-size: 21px;
      letter-spacing: -.01em;
      text-transform: none;
      color: var(--ink);
      font-weight: 600;
    }

    @media (max-width:900px) {
      .author-grid {
        grid-template-columns: 1fr;
        gap: var(--s-4)
      }

      .portrait-frame {
        max-width: 310px
      }
    }

    /* ============================================================
   REVIEWS
   ============================================================ */
    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--s-3);
      margin-top: var(--s-5)
    }

    .review {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r-md);
      padding: var(--s-4);
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column
    }

    .stars {
      display: flex;
      gap: 3px;
      color: var(--gold)
    }

    .stars svg {
      width: 16px;
      height: 16px
    }

    .review .stars {
      margin-bottom: var(--s-2)
    }

    .review p {
      font-size: 16px;
      line-height: 1.7;
      color: var(--ink);
      flex: 1
    }

    .review-by {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: var(--s-3);
      padding-top: var(--s-3);
      border-top: 1px solid var(--border)
    }

    .avatar {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      flex: none;
      display: grid;
      place-items: center;
      background: linear-gradient(160deg, #2E4470, #B4700F);
      color: #FFFBEB;
      font-size: 13px;
      font-weight: 600;
    }

    .review-by small {
      display: block;
      font-size: 12.5px;
      color: var(--primary)
    }

    .review-by strong {
      font-size: 14px;
      font-weight: 600
    }

    @media (max-width:900px) {
      .reviews-grid {
        grid-template-columns: 1fr
      }
    }

    /* ============================================================
   CTA / BUY
   ============================================================ */
    .cta {
      background: var(--dark);
      color: #FFFBEB;
      position: relative;
      overflow: hidden
    }

    .cta::before {
      content: "";
      position: absolute;
      left: 50%;
      top: -34%;
      width: 74vw;
      height: 74vw;
      transform: translateX(-50%);
      background: radial-gradient(circle, rgba(245, 158, 11, .2), transparent 62%);
      pointer-events: none;
    }

    .cta-grid {
      position: relative;
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: var(--s-6);
      align-items: center
    }

    .cta .eyebrow {
      color: var(--gold)
    }

    .cta p.lead {
      color: rgba(255, 251, 235, .72)
    }

    .formats {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: var(--s-4)
    }

    .format {
      font-size: 12.5px;
      font-weight: 500;
      padding: 8px 15px;
      border-radius: 100px;
      border: 1px solid rgba(255, 251, 235, .22);
      color: rgba(255, 251, 235, .82);
      display: flex;
      align-items: center;
      gap: 7px;
    }

    .format svg {
      width: 14px;
      height: 14px;
      color: var(--gold)
    }

    .price-card {
      background: rgba(255, 251, 235, .06);
      border: 1px solid rgba(255, 251, 235, .18);
      border-radius: var(--r-lg);
      padding: var(--s-4);
      backdrop-filter: blur(6px);
    }

    .price-row {
      display: flex;
      align-items: baseline;
      flex-wrap: wrap;
      gap: 12px
    }

    .price {
      font-family: var(--f-display);
      font-size: 58px;
      font-weight: 600;
      line-height: 1
    }

    .price-old {
      font-size: 16px;
      color: rgba(255, 251, 235, .45);
      text-decoration: line-through
    }

    .price-tag {
      font-size: 11.5px;
      font-weight: 600;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--dark);
      background: var(--gold);
      padding: 5px 10px;
      border-radius: 100px
    }

    .price-card ul {
      list-style: none;
      padding: 0;
      margin: var(--s-3) 0 var(--s-4);
      display: grid;
      gap: 11px
    }

    .price-card li {
      display: flex;
      gap: 11px;
      align-items: flex-start;
      font-size: 14.5px;
      color: rgba(255, 251, 235, .85)
    }

    .price-card li svg {
      width: 17px;
      height: 17px;
      color: var(--gold);
      flex: none;
      margin-top: 2px
    }

    .price-card .btn {
      width: 100%
    }

    .guarantee {
      font-size: 12.5px;
      color: rgba(255, 251, 235, .52);
      text-align: center;
      margin-top: 14px
    }

    @media (max-width:900px) {
      .cta-grid {
        grid-template-columns: 1fr;
        gap: var(--s-4)
      }

      .price {
        font-size: 48px
      }
    }

    /* ============================================================
   FAQ
   ============================================================ */
    .faq-list {
      max-width: 800px;
      margin: var(--s-5) auto 0
    }

    details {
      border-bottom: 1px solid var(--border)
    }

    summary {
      list-style: none;
      cursor: pointer;
      padding: var(--s-3) 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--s-3);
      font-family: var(--f-display);
      font-size: clamp(18px, 1.9vw, 22px);
      font-weight: 600;
      transition: color .2s ease;
    }

    summary::-webkit-details-marker {
      display: none
    }

    summary:hover {
      color: var(--secondary)
    }

    summary .plus {
      width: 22px;
      height: 22px;
      flex: none;
      position: relative;
      transition: transform .28s ease
    }

    summary .plus::before,
    summary .plus::after {
      content: "";
      position: absolute;
      background: var(--accent);
      border-radius: 2px;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%)
    }

    summary .plus::before {
      width: 16px;
      height: 2px
    }

    summary .plus::after {
      width: 2px;
      height: 16px;
      transition: opacity .28s ease
    }

    details[open] summary .plus {
      transform: rotate(90deg)
    }

    details[open] summary .plus::after {
      opacity: 0
    }

    details p {
      padding: 0 0 var(--s-3);
      font-size: 16px;
      color: var(--ink-soft);
      max-width: 68ch
    }

    /* ============================================================
   FOOTER
   ============================================================ */
    .footer {
      background: var(--bg-2);
      border-top: 1px solid var(--border);
      padding-top: var(--s-6)
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr .6fr .6fr 1.2fr;
      gap: var(--s-4)
    }

    .footer h4 {
      font-family: var(--f-ui);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: var(--s-2)
    }

    .footer ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 11px
    }

    .footer a {
      font-size: 14.5px;
      color: var(--ink-soft);
      text-decoration: none;
      transition: color .2s ease
    }

    .footer a:hover {
      color: var(--secondary)
    }

    .footer-about p {
      font-size: 14.5px;
      color: var(--ink-soft);
      margin-top: var(--s-2);
      max-width: 36ch
    }

    .subscribe {
      display: flex;
      gap: 8px;
      margin-top: var(--s-2)
    }

    .subscribe input {
      flex: 1;
      min-width: 0;
      font-family: var(--f-ui);
      font-size: 14.5px;
      padding: 13px 15px;
      border: 1px solid var(--border-strong);
      border-radius: var(--r-sm);
      background: var(--surface);
      color: var(--ink);
    }

    .subscribe input::placeholder {
      color: #A8A29E
    }

    .subscribe .btn {
      padding: 13px 20px
    }

    .form-note {
      font-size: 12.5px;
      color: var(--primary);
      margin-top: 10px;
      min-height: 18px
    }

    .form-note.ok {
      color: var(--secondary)
    }

    .footer-bottom {
      display: flex;
      flex-wrap: wrap;
      gap: var(--s-2);
      align-items: center;
      justify-content: space-between;
      margin-top: var(--s-5);
      padding: var(--s-3) 0;
      border-top: 1px solid var(--border);
      font-size: 13px;
      color: var(--primary);
    }

    .socials {
      display: flex;
      gap: 14px
    }

    .socials a {
      display: grid;
      place-items: center;
      width: 36px;
      height: 36px;
      border: 1px solid var(--border-strong);
      border-radius: var(--r-sm);
      transition: border-color .2s ease, color .2s ease
    }

    .socials a:hover {
      border-color: var(--secondary);
      color: var(--secondary)
    }

    .socials svg {
      width: 17px;
      height: 17px
    }

    @media (max-width:900px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr
      }

      .footer-about {
        grid-column: 1/-1
      }
    }

    @media (max-width:560px) {
      .footer-grid {
        grid-template-columns: 1fr
      }

      .subscribe {
        flex-direction: column
      }
    }

    /* ============================================================
   MOTION SAFETY
   ============================================================ */
    @media (prefers-reduced-motion:reduce) {

      *,
      *::before,
      *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important
      }

      .btn:hover {
        transform: none
      }
    }