:root {
      --bg: #160f0a;
      --panel: rgba(255,255,255,.08);
      --panel-strong: rgba(255,255,255,.12);
      --text: #fff7e8;
      --muted: #dbc9aa;
      --gold: #f7c85b;
      --gold2: #ffefae;
      --brown: #2b1c12;
      --shadow: 0 28px 80px rgba(0,0,0,.45);
      --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Helvetica, sans-serif;
      --ease: cubic-bezier(.22,.61,.36,1);
      --ring: 0 0 0 3px rgba(247,200,91,.55);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: Georgia, 'Times New Roman', serif;
      background:
        radial-gradient(circle at 65% 20%, rgba(247,200,91,.18), transparent 28%),
        radial-gradient(circle at 10% 10%, rgba(255,255,255,.08), transparent 25%),
        linear-gradient(135deg, #100a06 0%, #24150d 48%, #0f0906 100%);
      color: var(--text);
      line-height: 1.6;
    }
    a { color: inherit; }
    .wrap { width: min(1120px, 92vw); margin: 0 auto; }
    header { padding: 26px 0; position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px); background: rgba(16,10,6,.72); border-bottom: 1px solid rgba(255,255,255,.08); }
    nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
    .brand { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold2); }
    .navlinks { display: flex; gap: 18px; font-size: 14px; color: var(--muted); }
    .navlinks a { text-decoration: none; }
    .nav-drawer { display: none; }
    /* hamburger + mobile drawer (shown only on mobile via the 850px query below) */
    .navtoggle { display: none; position: relative; z-index: 30; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
    .navtoggle span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--gold2); transition: transform .3s var(--ease), opacity .2s var(--ease); }
    .navtoggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .navtoggle.open span:nth-child(2) { opacity: 0; }
    .navtoggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-backdrop { position: fixed; inset: 0; z-index: 15; background: rgba(6,4,2,.85); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
    .nav-backdrop.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
    .hero { padding: 70px 0 54px; }
    .hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: center; }
    .cover-stack { position: relative; display: grid; place-items: center; isolation: isolate; }
    .cover-stack::before { content: ""; position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(247,200,91,.28), transparent 68%); filter: blur(14px); }
    .cover-stack img { box-shadow: var(--shadow); border-radius: 12px; max-width: 100%; }
    .front { width: min(420px, 100%); justify-self: center; }
    .spine { width: 66px; height: 100%; object-fit: cover; }
    .eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-family: var(--sans); font-weight: 700; }
    h1 { font-size: clamp(44px, 7vw, 82px); line-height: .92; margin: 16px 0 14px; text-transform: uppercase; letter-spacing: .015em; }
    .author { color: var(--muted); font-size: 19px; margin-bottom: 26px; }
    .lead { font-size: 20px; color: #f3e7ce; max-width: 620px; }
    .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      padding: 14px 22px; border-radius: 999px; text-decoration: none; font-weight: 700;
      font-family: var(--sans); border: 1px solid rgba(255,255,255,.18);
    }
    .btn.primary { background: linear-gradient(135deg, var(--gold), #fff0a8); color: #1b1008; }
    .btn.secondary { background: rgba(255,255,255,.08); color: var(--text); }
    section { padding: clamp(52px, 7vw, 88px) 0; }
    .card { background: var(--panel); border: 1px solid rgba(255,255,255,.12); border-radius: 28px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 18px 60px rgba(0,0,0,.28); }
    h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; margin: 0 0 18px; color: var(--gold2); }
    .synopsis { columns: 2 360px; column-gap: 42px; color: #f1e2c6; font-size: 18px; }
    .quote { font-size: clamp(26px, 4vw, 44px); line-height: 1.16; color: #fff3bf; text-align: center; margin: 0; }
    .quote small { display:block; color: var(--muted); font-size: 16px; margin-top: 18px; font-family: var(--sans); }
    .preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 18px; margin-top: 24px; }
    .preview { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); border-radius: 20px; padding: 22px; }
    .preview h3 { margin: 0 0 10px; color: var(--gold); font-size: 19px; }
    .preview p { margin: 0; color: #eadabc; font-size: 16px; }
    .toc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; }
    .toc ul { margin: 0; padding-left: 18px; color: #eadabc; }
    .toc strong { color: var(--gold2); }
    .pay-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: center; }
    .qr { background: #f2f2f5; border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
    .qr img { display: block; width: 100%; border-radius: 18px; }
    .steps { list-style: none; padding: 0; margin: 22px 0; counter-reset: step; }
    .steps li { counter-increment: step; margin: 12px 0; padding-left: 42px; position: relative; color: #eadabc; }
    .steps li:before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #1b1008; display: grid; place-items: center; font-family: var(--sans); font-weight: 800; }
    footer { padding: 36px 0; color: #bda987; text-align: center; font-family: var(--sans); font-size: 13px; }
    /* ---- TABLET band (769-1024): keep multi-column, inline nav, tuned gutters ---- */
    @media (min-width: 769px) and (max-width: 1024px) {
      .hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
      .wrap { width: min(1120px, 90vw); }
    }
    /* ---- Pay grid stacks once the order form + fixed QR column no longer fit side by side ---- */
    @media (max-width: 900px) {
      .pay-grid { grid-template-columns: 1fr; }
      .qr { width: min(340px, 100%); margin-inline: auto; }
    }
    /* ---- PHONE / small-tablet-portrait (<=768): stack hero, show hamburger drawer ---- */
    @media (max-width: 768px) {
      .hero-grid { grid-template-columns: 1fr; }
      .cover-stack { grid-template-columns: 1fr; }
      .front { justify-self: center; }
      .spine { display: none; }
      .navtoggle { display: flex; flex: 0 0 auto; }
      .brand { font-size: 13px; letter-spacing: .04em; min-width: 0; }
      nav { gap: 12px; }
      .navlinks { display: none; }
      .nav-drawer {
        display: flex;
        position: fixed; top: 0; right: 0; z-index: 25;
        height: 100%; width: min(78vw, 300px);
        flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px;
        text-align: left;
        padding: 100px 28px 28px;
        background: linear-gradient(180deg, #1c130c, #150d07);
        border-left: 1px solid rgba(255,255,255,.1);
        box-shadow: -20px 0 60px rgba(0,0,0,.5);
        transform: translateX(100%);
        transition: transform .32s var(--ease);
        font-size: 18px;
      }
      .nav-drawer.open { transform: translateX(0); }
      .nav-drawer a { padding: 13px 2px; color: #f1e2c6; border-bottom: 1px solid rgba(255,255,255,.06); text-decoration: none; transition: color .15s ease; }
      .nav-drawer a:hover { color: var(--gold2); }
    }
        /* ---- visual polish ---- */
      .btn { transition: transform .2s var(--ease), box-shadow .25s var(--ease), filter .2s var(--ease); }
      .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.34); }
      .btn:active { transform: translateY(0); box-shadow: none; }
      .btn.primary { box-shadow: 0 10px 28px rgba(247,200,91,.26); }
      .navlinks a { transition: color .15s ease; }
      .navlinks a:hover { color: var(--gold2); }
      h2 { position: relative; }
      h2::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), rgba(247,200,91,0)); }
      .preview { transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
      .preview:hover { transform: translateY(-3px); border-color: rgba(247,200,91,.4); background: rgba(255,255,255,.1); }
      .cover-stack img { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
      .cover-stack:hover img.front { transform: translateY(-6px) scale(1.015); box-shadow: 0 40px 90px rgba(0,0,0,.5); }
      section[id] { scroll-margin-top: 96px; }
      .pay-grid { align-items: start; }
      .qr-cap { margin: 12px 6px 2px; text-align: center; font-family: var(--sans); font-size: 12.5px; line-height: 1.45; color: #5b5b66; }
      /* ---- delivery options ---- */
      .delivery-opts { display: grid; gap: 8px; margin: 8px 0 4px; }
      .dopt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; cursor: pointer; font-size: 14px; color: #eadabc; transition: border-color .2s var(--ease), background .2s var(--ease); }
      .dopt:hover { border-color: rgba(247,200,91,.45); background: rgba(255,255,255,.05); }
      .dopt input { accent-color: var(--gold); margin: 0; }
      .dopt .dopt-main { flex: 1; }
      .dopt .dopt-price { font-family: var(--sans); color: var(--gold2); }
      .dopt:has(input:checked) { border-color: var(--gold); background: rgba(247,200,91,.08); }
      .price-tag { font-family: var(--sans); font-size: 15px; letter-spacing: .02em; color: var(--muted); margin: 0 0 18px; }
      .price-tag strong { color: var(--gold2); font-size: 19px; }
      .order-summary { margin: 22px 0 4px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.05); }
      .order-summary h3 { margin: 0 0 14px; color: var(--gold2); font-size: 15px; font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; }
      .os-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; font-size: 15.5px; }
      .os-row > span:last-child { font-family: var(--sans); }
      .os-total { margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: 17px; color: var(--text); }
      .os-total span:last-child { color: var(--gold2); font-weight: 700; font-size: 22px; }
      .os-delivery span:last-child { color: var(--muted); font-size: 13px; font-family: var(--sans); }
        .dopt-sub { color: var(--muted); font-size: 12px; font-weight: 400; }
        .is-disabled, .btn.is-disabled { opacity: .45; filter: grayscale(.5); pointer-events: none; cursor: not-allowed; box-shadow: none; }
      .select-hint { font-family: var(--sans); font-size: 13px; color: var(--gold); margin: 6px 0 12px; }
      .order-actions { margin-top: 10px; }
      .qty-stepper { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; overflow: hidden; }
      .qty-btn { background: rgba(255,255,255,.08); color: var(--text); border: none; width: 34px; height: 34px; font-size: 18px; cursor: pointer; font-family: var(--sans); line-height: 1; }
      .qty-btn:hover { background: rgba(247,200,91,.25); }
      .qty-stepper input { width: 48px; height: 34px; text-align: center; border: none; background: transparent; color: var(--text); font-family: var(--sans); font-size: 15px; -moz-appearance: textfield; appearance: textfield; }
      .qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
        .os-choose { margin: 2px 0 8px; font-family: var(--sans); font-size: 12px; color: var(--muted); }
        .postage-details { margin: 4px 0 8px; padding: 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.04); display: grid; gap: 10px; }
      .postage-details[hidden] { display: none; }
      .os-collect-note[hidden] { display: none; }
      .postage-details h4 { margin: 0; color: var(--gold); font-family: var(--sans); font-size: 14px; }
      .fld { display: grid; gap: 4px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
      .fld input, .fld textarea { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; color: var(--text); padding: 9px 10px; font-family: var(--sans); font-size: 14px; width: 100%; resize: vertical; }
      .fld input:focus, .fld textarea:focus { outline: none; border-color: var(--gold); }
      .consent { display: flex; gap: 10px; align-items: flex-start; font-family: var(--sans); font-size: 12px; color: var(--muted); line-height: 1.45; cursor: pointer; }
      .consent input { margin-top: 3px; accent-color: var(--gold); flex: 0 0 auto; }
      /* ---- amend: author + endorsements + inside ---- */
      .author-grid { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: start; }
      .author-photo { aspect-ratio: 3 / 4; border-radius: 18px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); overflow: hidden; }
      .author-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 25%; display: block; }
      .author-bio { max-width: 68ch; }
      .author-bio p { margin: 0 0 14px; color: #f1e2c6; font-size: 17px; }
      .author-bio p:last-child { margin-bottom: 0; }
      .recog-title { font-weight: 700; color: var(--gold2); }
      .recog { margin: 0 0 14px; padding-left: 20px; color: #eadabc; }
      .recog li { margin: 6px 0; }
      .endorse-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; margin-top: 24px; }
      .endorse-card { position: relative; margin: 0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); border-radius: 18px; padding: 40px 24px 24px; transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease); }
      .endorse-card::before { content: "\201C"; position: absolute; top: 6px; left: 20px; font-size: 56px; line-height: 1; color: var(--gold); opacity: .55; }
      .endorse-card:hover { transform: translateY(-3px); border-color: rgba(247,200,91,.38); background: rgba(255,255,255,.1); }
      .endorse-card p { margin: 0 0 16px; color: #f3e7ce; font-size: 16px; font-style: italic; line-height: 1.6; }
      .endorse-card cite { font-style: normal; font-family: var(--sans); color: var(--gold2); font-weight: 700; font-size: 14px; display: block; }
      .endorse-card cite span { display: block; margin-top: 5px; color: var(--muted); font-weight: 400; font-size: 12.5px; line-height: 1.45; }
      .inside-note { color: #eadabc; font-size: 17px; margin: 0 0 6px; }
      @media (max-width: 600px) {
        .author-grid { grid-template-columns: 1fr; }
        .author-photo { max-width: 220px; }
        .toc { grid-template-columns: 1fr; }
      }
      /* ---- accessibility: visible focus ---- */
      a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .dopt:focus-within {
        outline: 2px solid var(--gold); outline-offset: 2px;
      }
      /* ---- scroll reveal (progressive enhancement; JS adds .reveal) ---- */
      .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
      .reveal.is-visible { opacity: 1; transform: none; will-change: auto; }
      /* ---- global overflow guard + summary-row wrapping (safe at all widths) ---- */
      /* Horizontal guard on the ROOT (not body): propagates to the viewport, so it
         cannot turn <body> into a scroll container and break the sticky header. */
      html { overflow-x: hidden; }
      /* Lock viewport scroll while the drawer is open (works regardless of the JS body-overflow). */
      html:has(.nav-drawer.open) { overflow: hidden; }
      .os-row > span:first-child { min-width: 0; overflow-wrap: anywhere; }
      .os-row > span:last-child { flex-shrink: 0; white-space: nowrap; }
      /* ---- mobile pass: phones (<= 600px) ---- */
      @media (max-width: 600px) {
        .wrap { width: min(1120px, 90vw); }
        .hero { padding: 40px 0 36px; }
        .hero-grid { gap: 30px; }
        h1 { font-size: clamp(33px, 9vw, 46px); line-height: .96; letter-spacing: .01em; }
        h2 { font-size: clamp(26px, 6.5vw, 34px); }
        .author { font-size: 17px; margin-bottom: 20px; }
        .lead { font-size: 17px; }
        .quote { font-size: clamp(21px, 5.6vw, 30px); }
        .quote small { font-size: 14px; }
        .synopsis { font-size: 16.5px; }
        .author-bio p, .inside-note { font-size: 16px; }
        .card { padding: 22px 20px; border-radius: 20px; }
        .cta-row { gap: 12px; }
        /* full-width, comfortably tappable CTAs */
        .cta-row .btn { width: 100%; padding: 15px 22px; min-height: 50px; }
        /* order summary + rows tighten */
        .order-summary { padding: 18px 16px; border-radius: 16px; }
        .os-row { font-size: 15px; }
        .os-total span:last-child { font-size: 20px; }
        /* touch targets: quantity stepper ~44px, no iOS zoom */
        .qty-btn { width: 44px; height: 44px; font-size: 20px; }
        .qty-stepper input { width: 54px; height: 44px; font-size: 16px; }
        /* delivery options + form fields: bigger hit area, no iOS zoom */
        .dopt { padding: 13px 14px; font-size: 15px; }
        .fld input, .fld textarea { font-size: 16px; padding: 11px 12px; }
        .postage-details { padding: 16px; }
        /* QR: cap size and centre so it never goes full-bleed */
        .qr { width: min(300px, 100%); margin-inline: auto; }
        .steps li { padding-left: 40px; }
      }
      /* ---- mobile pass: small phones (<= 400px) ---- */
      @media (max-width: 400px) {
        .wrap { width: 92vw; }
        h1 { font-size: clamp(30px, 8.6vw, 36px); }
        .card { padding: 20px 16px; }
        .order-summary { padding: 16px 13px; }
        .os-row { font-size: 14.5px; }
        .dopt { font-size: 14px; gap: 8px; }
        .dopt-sub { display: block; }
      }
      /* ---- respect reduced motion ---- */
      @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
        .reveal { opacity: 1 !important; transform: none !important; }
        .btn:hover, .preview:hover, .endorse-card:hover, .cover-stack:hover img.front { transform: none; }
      }