  * { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    --amber-deep: #8B6914;
    --amber: #C4961A;
    --gold-light: #E8D5A3;
    --sage: #5C7A52;
    --sage-light: #8BA67A;
    --warm-cream: #F5EFE0;
    --warm-white: #FDFBF6;
    --ink: #2C2416;
    --ink-light: #5A4D3A;
    --ink-dark: #1A170F;

    /* Pill bottle shape system */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Elevation system */
    --shadow-sm: 0 1px 3px rgba(44,36,22,0.04), 0 4px 12px rgba(44,36,22,0.06);
    --shadow-md: 0 2px 8px rgba(44,36,22,0.06), 0 12px 32px rgba(44,36,22,0.08);
    --shadow-lg: 0 4px 12px rgba(44,36,22,0.08), 0 20px 48px rgba(44,36,22,0.12);

    /* Premium easing */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  body {
    background: var(--warm-white);
    color: var(--ink);
    font-family: 'Source Sans 3', sans-serif;
    overflow-x: hidden;
  }

  body::after {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    z-index: 9999;
    pointer-events: none;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(253, 251, 246, 0.85);
  }

  nav .nav-left {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink);
    text-transform: uppercase;
  }

  nav .nav-left span { font-weight: 400; opacity: 0.5; }

  nav .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  nav .nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-light);
    text-decoration: none;
    transition: color 0.3s;
  }

  nav .nav-links a:hover { color: var(--sage); }

  /* ─── HERO ─── */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 70% at 75% 50%, rgba(196, 150, 26, 0.12) 0%, transparent 70%),
      radial-gradient(ellipse 60% 80% at 20% 60%, rgba(92, 122, 82, 0.08) 0%, transparent 60%),
      linear-gradient(175deg, var(--warm-white) 0%, rgba(245, 239, 224, 0.4) 50%, var(--warm-white) 100%);
    z-index: 0;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 2rem;
  }

  .hero-text { max-width: 600px; }
  /* Logo strip stays inside hero-text width so it lines up with the headline.
     Wraps to 2 rows naturally at desktop. */

  .hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
  }

  .hero-title {
    font-family: 'Lora', serif;
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 0.3em;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
  }

  .hero-title .dot { color: var(--sage); }
  .hero-title .co { font-weight: 400; font-style: italic; color: var(--amber); }

  .hero-line {
    width: 60px;
    height: 2px;
    background: var(--amber);
    margin: 1.5rem 0;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.7s forwards;
  }

  .hero-descriptor {
    font-family: 'Lora', serif;
    font-size: clamp(1.2rem, 1.85vw, 1.45rem);
    font-weight: 400;
    line-height: 1.55;
    color: var(--ink-light);
    max-width: 520px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.9s forwards;
  }

  /* ─── BOTTLE + CALLOUTS ─── */
  .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1.2s ease 0.6s forwards;
  }

  .bottle-scene {
    position: relative;
    width: 100%;
    max-width: 620px;
    aspect-ratio: 620 / 580;
    overflow: visible;
  }

  .bottle-scene img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 55%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(44, 36, 22, 0.25))
            drop-shadow(0 10px 20px rgba(139, 105, 20, 0.15));
  }

  .callout-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: visible;
  }

  /* ─── MOBILE PILL BOTTLE CALLOUTS (separate from desktop SVG) ───
     Independent SVG so mobile coords/styles can change without bleeding
     into desktop. Hidden by default; shown only at <=900px. */
  .bottle-mobile-callouts {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: visible;
    pointer-events: none;
  }
  .bottle-mobile-callouts a { pointer-events: auto; cursor: pointer; }
  .bottle-mobile-callouts circle { fill: var(--amber); }
  .bottle-mobile-callouts line { stroke: var(--amber); stroke-width: 1.6; opacity: 0.7; }
  .bottle-mobile-callouts .mc-name {
    font-family: 'Lora', serif;
    font-size: 28px;
    font-weight: 700;
    fill: var(--ink);
  }
  .bottle-mobile-callouts .mc-detail {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-style: italic;
    fill: var(--ink-light);
  }
  .bottle-mobile-callouts a:hover .mc-name { text-decoration: underline; }

  .callout-dot { fill: var(--amber); opacity: 0; transition: opacity 0.3s ease; }
  .callout-dot.visible { opacity: 1; }
  .callout-line { stroke: var(--amber); stroke-width: 1; fill: none; opacity: 0.7; }
  .callout-text-name {
    font-family: 'Lora', serif;
    font-size: 20px; font-weight: 700; fill: var(--ink);
    opacity: 0; transition: opacity 0.4s ease;
  }
  .callout-text-detail {
    font-family: 'Lora', serif;
    font-size: 15px; font-style: italic; fill: var(--ink-light);
    opacity: 0; transition: opacity 0.4s ease;
  }
  .callout-text-name.visible, .callout-text-detail.visible { opacity: 1; }
  .callout-link { cursor: pointer; }
  .callout-link:hover .callout-text-name { text-decoration: underline; text-decoration-thickness: 1.5px; }
  .callout-link:hover .callout-dot { opacity: 1 !important; r: 5; }
  .callout-link:hover .callout-line { opacity: 1; stroke-width: 1.4; }

  /* Mobile-only stacked label list — hidden on desktop, shown via @media below */
  .bottle-labels-mobile { display: none; list-style: none; padding: 0; margin: 0; }

  /* ─── HERO MEDIA STRIP ─── */
  .hero-media {
    margin-top: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.1s forwards;
  }

  .hero-media-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-light);
    opacity: 0.4;
    margin-bottom: 0.75rem;
  }

  .hero-media-logos {
    display: flex;
    align-items: center;
    gap: 1.25rem 1.75rem;
    flex-wrap: wrap;
    max-width: 480px;
  }

  .hero-media-logos img { height: 18px; width: auto; object-fit: contain; transition: opacity 0.3s; display: block; }
  .hero-media-logos img:hover { opacity: 0.7; }
  .hero-media-logos a { display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; }
  .hero-media-logos a:hover { opacity: 0.8; }
  .hero-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,0.35); transition: text-decoration-color 0.2s; }
  .hero-link:hover { text-decoration-color: currentColor; }
  .pillars-header-link { text-decoration: none; color: inherit; display: inline-block; transition: opacity 0.2s; }
  .pillars-header-link:hover { opacity: 0.75; }
  .pillars-header-link:hover .pillars-header { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
  /* Normalized logo heights — visual weight equalized across wordmarks vs abstract logos */
  .hero-media-logos .logo-npr { height: 16px; }
  .hero-media-logos .logo-guardian { height: 16px; }
  .hero-media-logos .logo-wsj { height: 14px; }
  .hero-media-logos .logo-sciam-img { height: 13px; }
  .hero-media-logos .logo-nbc { height: 22px; }

  .logo-sciamerican {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    font-size: 0.65rem;
    color: #E5332A;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .logo-slate {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #2D2D2D;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  /* ─── SCROLL INDICATOR ─── */
  .scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease 3s forwards;
  }

  .scroll-hint span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-light);
    opacity: 0.5;
  }

  .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--amber), transparent);
    animation: pulse 2s ease-in-out infinite;
  }

  /* ─── SECTION: THE SHIFT ─── */
  .section-shift {
    padding: clamp(3rem, 6vh, 5rem) 2rem clamp(4rem, 8vh, 6rem);
    display: flex;
    justify-content: center;
  }

  .rx-container {
    max-width: 700px;
    width: 100%;
  }

  .rx-overline {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.5rem;
  }

  .rx-intro {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.1rem;
    color: var(--text-secondary, #5A4D3A);
    margin-bottom: 0.5rem;
    line-height: 1.6;
  }

  .rx-phrase {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--ink);
  }

  .rx-old { position: relative; display: inline; }

  .rx-old .rx-strike {
    position: absolute;
    left: -2%; right: -2%; top: 55%;
    height: 3px;
    background: hsl(0, 55%, 50%);
    transform: scaleX(0);
    transform-origin: left;
  }

  .rx-new {
    display: block;
    color: var(--amber);
    opacity: 0;
    margin-top: 0.25rem;
  }

  .rx-line {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--ink-light);
    max-width: 580px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(10px);
  }

  .rx-line:first-of-type { margin-top: 2.5rem; }
  .rx-line + .rx-line { margin-top: 1.5rem; }

  /* ─── SECTION CARDS ─── */
  .section-card {
    background: rgba(253, 251, 246, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(44, 36, 22, 0.08);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
    position: relative;
  }

  .section-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    background: rgba(253, 251, 246, 0.85);
  }

  /* ─── GRADIENT DIVIDERS ─── */
  .section-divider {
    height: 1px;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(44, 36, 22, 0.08), transparent);
  }

  /* ─── STATS SECTION ─── */
  .section-stats {
    padding: clamp(4rem, 8vh, 6rem) 4rem;
    max-width: 1200px;
    margin: -1rem auto 0;
  }

  .stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }

  .stat-card {
    padding: 1.5rem 0;
  }

  .stat-card a.stat-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s var(--ease);
  }

  .stat-card a.stat-link:hover {
    opacity: 0.7;
  }

  .stat-number {
    font-family: 'Lora', serif;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -1px;
    white-space: nowrap;
  }

  .stat-suffix {
    font-size: 0.55em;
    font-weight: 400;
    color: var(--amber);
  }

  .stat-label {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ink-light);
    margin-top: 0.6rem;
    line-height: 1.5;
  }

  .stat-currency {
    color: var(--amber);
    font-weight: 400;
  }

  /* ─── FIVE PILLARS ─── */
  .pillars-section {
    padding: clamp(4rem, 8vh, 6rem) 4rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .pillars-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
  }

  .pillars-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber);
    padding-bottom: 0.35rem;
  }

  .pillars-header {
    font-family: 'Lora', serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 400;
    font-style: italic;
    color: var(--ink);
    max-width: 500px;
    line-height: 1.3;
    margin-bottom: 0;
  }

  .pillars-row {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(44, 36, 22, 0.1);
  }

  .pillar {
    flex: 1;
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(44, 36, 22, 0.1);
    cursor: pointer;
    transition: background 0.4s var(--ease);
    text-decoration: none;
    color: inherit;
  }

  .pillar:last-child { border-right: none; }

  .pillar-figurine {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 3px 8px rgba(44,36,22,0.12));
    transition: transform 0.4s var(--ease);
  }

  .pillar:hover .pillar-figurine { transform: translateY(-8px); }

  /* Per-pillar hover colors */
  .pillar-movement:hover { background: rgba(196, 150, 26, 0.06); }
  .pillar-movement:hover .pillar-name { color: #9E7C1A; }

  .pillar-nature:hover { background: rgba(58, 90, 48, 0.06); }
  .pillar-nature:hover .pillar-name { color: #3A5A30; }

  .pillar-art:hover { background: rgba(120, 80, 140, 0.06); }
  .pillar-art:hover .pillar-name { color: #78508C; }

  .pillar-service:hover { background: rgba(181, 100, 80, 0.06); }
  .pillar-service:hover .pillar-name { color: #B56450; }

  .pillar-belonging:hover { background: rgba(60, 120, 120, 0.06); }
  .pillar-belonging:hover .pillar-name { color: #3C7878; }

  .pillar-num {
    font-family: 'Lora', serif;
    font-size: 0.8rem;
    color: var(--amber);
    margin-bottom: 1rem;
  }

  .pillar-name {
    font-family: 'Lora', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.75rem;
  }

  .pillar-desc {
    font-size: 1rem;
    color: var(--ink-light);
    line-height: 1.7;
  }

  .pillar-arrow {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--amber);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s var(--ease);
  }

  .pillar:hover .pillar-arrow {
    opacity: 1;
    transform: translateX(0);
  }

  /* ─── SECTION SHARED ─── */
  .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
  }

  .section-overline {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1rem;
  }

  .section-heading {
    font-family: 'Lora', serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 1.25rem;
    max-width: 500px;
  }

  .section-desc {
    font-size: 1rem;
    color: var(--ink-light);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 1.5rem;
  }

  .section-cta {
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    background: white;
    border: 1px solid rgba(44,36,22,0.12);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.4rem;
    transition: all 0.3s var(--ease);
    display: inline-block;
    width: auto;
    align-self: flex-start;
  }

  .section-cta:hover {
    background: var(--ink);
    color: var(--warm-white);
    border-color: var(--ink);
  }

  /* ─── HORIZONTAL RESOURCE CARDS ─── */
  .resource-section {
    padding: clamp(3rem, 6vh, 5rem) 4rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .resource-card-h {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(135deg, rgba(245, 239, 224, 0.5) 0%, rgba(253, 251, 246, 0.8) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    min-height: 320px;
  }

  .resource-card-h:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }

  .resource-card-h__text {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .resource-card-h__text .section-overline {
    margin-bottom: 0.75rem;
    color: var(--amber);
  }

  .resource-card-h__text h3 {
    font-family: 'Lora', serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .resource-card-h__text p {
    font-size: 0.95rem;
    color: var(--ink-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 400px;
  }

  .resource-card-h__image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  /* no divider line */

  .resource-card-h__image img {
    width: 260px;
    height: auto;
    filter: drop-shadow(0 6px 16px rgba(44,36,22,0.15));
    transition: transform 0.4s var(--ease);
  }

  .resource-card-h:hover .resource-card-h__image img {
    transform: translateY(-8px);
  }

  /* Flipped variant: image on left, text on right */
  .resource-card-h--flip {
    direction: rtl;
  }
  .resource-card-h--flip > * {
    direction: ltr;
  }

  /* Bigger figurine variant */
  .resource-card-h__image--lg img {
    width: 300px !important;
  }

  /* ─── BOOK SECTION ─── */
  .section-book {
    padding: clamp(4rem, 8vh, 6rem) 0;
    position: relative;
  }

  .section-book .section-overline { color: var(--amber); }
  .section-book .section-heading {
    color: var(--ink);
    max-width: 100%;
    text-align: center;
    margin: 0 auto 0.75rem;
    font-weight: 700;
  }

  .book-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    color: var(--ink-light);
    text-align: center;
    margin-bottom: 2rem;
  }

  .book-retailers {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
  }

  .retailer-logo {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    vertical-align: middle;
  }

  .retailer-pill {
    font-family: 'Barlow', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--border-medium, rgba(44,36,22,0.12));
    border-radius: var(--radius-sm);
    color: var(--ink-light);
    text-decoration: none;
    transition: all 0.3s var(--ease);
  }

  .retailer-pill:hover {
    border-color: var(--amber);
    background: rgba(196, 150, 26, 0.06);
    color: var(--ink);
    transform: scale(1.03);
  }

  .book-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
  }

  .book-review { max-width: 240px; text-align: center; }

  .book-stars {
    color: var(--amber);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
  }

  .book-quote {
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--ink);
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }

  .book-attribution {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(90, 77, 58, 0.55);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
  }
  .book-attribution-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .book-3d { perspective: 1500px; flex-shrink: 0; }

  .book-cover-real {
    width: 280px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(44, 36, 22, 0.2));
  }

  .book-cover {
    width: 220px;
    height: 330px;
    background: linear-gradient(160deg, #D4A84B 0%, var(--amber-deep) 100%);
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    transform: rotateY(-18deg);
    box-shadow:
      -4px 0 0 0 #7A5D12,
      -6px 0 0 0 #f5efe0,
      -8px 0 0 0 #ebe2c8,
      -10px 0 0 0 #e0d6b8,
      12px 12px 40px rgba(44, 36, 22, 0.25);
    transition: transform 0.5s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    overflow: hidden;
  }

  .book-cover:hover { transform: rotateY(-8deg); }

  .book-cover img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    margin-bottom: 1rem;
  }

  .book-cover-title {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: white;
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .book-cover-author {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.75rem;
  }

  .book-blurb {
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--ink-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
  }

  /* ─── FOOTER ─── */
  footer {
    background: linear-gradient(5deg, var(--warm-white) 0%, rgba(245, 239, 224, 0.4) 50%, var(--warm-white) 100%);
    padding: 4rem 4rem 2rem;
    margin-top: clamp(4rem, 8vh, 6rem);
  }

  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    /* no border */
  }

  .footer-col {}

  .footer-brand {
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }

  .footer-brand span { font-weight: 400; opacity: 0.4; }

  .footer-tagline {
    font-size: 0.85rem;
    color: var(--ink-light);
    opacity: 0.6;
  }

  .footer-heading {
    font-family: 'Barlow', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1rem;
  }

  .footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--ink-light);
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: color 0.3s;
  }

  .footer-col a:hover { color: var(--ink); }

  .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
  }

  .footer-bottom p {
    font-size: 0.75rem;
    color: var(--ink-light);
    opacity: 0.3;
  }

  /* ─── SECTION REVEALS ─── */
  .reveal-section .reveal-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .reveal-section.revealed .reveal-up {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-section.revealed .reveal-up:nth-child(2) { transition-delay: 0.1s; }
  .reveal-section.revealed .reveal-up:nth-child(3) { transition-delay: 0.2s; }
  .reveal-section.revealed .reveal-up:nth-child(4) { transition-delay: 0.3s; }
  .reveal-section.revealed .reveal-up:nth-child(5) { transition-delay: 0.4s; }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(1.2); }
  }

  /* ─── RESPONSIVE ─── */
  /* Mobile hamburger nav */
  .nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
    transition: all 0.3s var(--ease);
  }
  .nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(253, 251, 246, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  .nav-overlay.open { display: flex; }
  .nav-overlay a {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
  }
  .nav-overlay a:hover { color: var(--sage); }

  /* ── Mid-range desktop (901–1279px): SVG callouts can collide with bottle.
        Fall back to a clean stacked-label layout below the bottle. ── */
  @media (min-width: 901px) and (max-width: 1279px) {
    .hero-content { grid-template-columns: 1fr 1fr; padding: 0 2.5rem; gap: 1.5rem; }
    .callout-overlay { display: none; }
    .bottle-scene { max-width: 460px; margin: 0 auto; }
    .bottle-labels-mobile {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0.4rem 0.75rem;
      max-width: 520px;
      margin: 1rem auto 0;
      text-align: center;
      list-style: none;
      padding: 0;
    }
    .bottle-labels-mobile .bl-item { display: flex; flex-direction: column; gap: 0.15rem; }
    .bottle-labels-mobile .bl-name {
      font-family: 'Lora', serif;
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--ink);
      line-height: 1.15;
    }
    .bottle-labels-mobile .bl-detail {
      font-family: 'Lora', serif;
      font-size: 0.7rem;
      font-style: italic;
      color: var(--ink-light);
      line-height: 1.25;
    }
  }

  @media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; }
    nav .nav-links { display: none; }
    .nav-hamburger { display: flex !important; flex-direction: column !important; gap: 5px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
    .nav-hamburger span { margin: 0 !important; }
    nav .nav-left { min-height: 44px; display: flex; align-items: center; }

    .hero-content {
      grid-template-columns: minmax(0, 1fr);
      padding: 0 1.5rem;
      text-align: center;
      padding-top: 7.5rem;
    }

    .hero-text { max-width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; }
    .hero-visual { min-width: 0; width: 100%; }
    .hero-descriptor { max-width: 100%; margin: 0 auto; }
    .hero-line { margin: 1.5rem auto; }
    /* Mobile order spec: eyebrow → title → subhead → logos → bottle → shift */
    .hero-visual { order: 2; flex-direction: column; align-items: center; }
    .hero-media { order: 1; width: 100%; margin-top: 2rem; }

    /* Hide the decorative amber scroll-line — it ends up directly under the
       bottle on mobile and reads as a stray arrow / dangling artifact. */
    .scroll-hint { display: none; }

    /* Mobile: hide the desktop SVG callouts entirely. The .bottle-mobile-callouts
       SVG below renders an independent mobile layout. */
    .callout-overlay { display: none !important; }
    .bottle-mobile-callouts { display: block; }

    /* Mobile bottle scene: same proportions as desktop (~1.07:1, slightly
       wider than tall) so the composition mirrors desktop. Smaller bottle
       img to leave horizontal room for callout labels on each side. */
    .bottle-scene { aspect-ratio: 700 / 580; max-width: 100%; width: 100%; margin: 1rem auto 0; padding: 0; }
    .bottle-scene img { width: 30%; }

    .section-shift { padding: 3rem 1.5rem; }

    .section-card { padding: 2rem 1.5rem; border-radius: var(--radius-md); }
    .section-stats { padding: 2rem 1.5rem; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stat-number { font-size: clamp(1.8rem, 6vw, 2.4rem); }

    .pillars-section { padding: 3rem 1.5rem; }
    /* Stack eyebrow + header so they don't crash on narrow viewports */
    .pillars-top { flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-bottom: 2rem; }
    .pillars-header { font-size: clamp(1.4rem, 5vw, 2.2rem); max-width: 100%; }
    .pillars-row { flex-direction: column; }
    .pillar {
      border-right: none;
      border-bottom: 1px solid rgba(44, 36, 22, 0.1);
      padding: 1.25rem 1rem;
      display: grid;
      grid-template-columns: auto 1fr auto;
      grid-template-rows: auto auto;
      column-gap: 0.85rem;
      align-items: center;
    }
    .pillar:last-child { border-bottom: none; }
    .pillar-num { font-size: 0.85rem; margin-bottom: 0; grid-column: 1; grid-row: 1; align-self: center; }
    .pillar-name { font-size: 1.2rem; margin-bottom: 0; grid-column: 2; grid-row: 1; text-align: left; }
    .pillar-desc { font-size: 0.9rem; line-height: 1.45; grid-column: 1 / 3; grid-row: 2; margin-top: 0.25rem; text-align: left; }
    .pillar-arrow { opacity: 1; transform: translateX(0); font-size: 1.1rem; margin-top: 0; grid-column: 3; grid-row: 1 / 3; align-self: center; padding-left: 0.5rem; }

    .section-inner { padding: 2rem 1.5rem; }
    /* Tighten the pillars → resource cards → THE BOOK stack on mobile.
       Round 1 QA flagged ~1500px of dead space between pillars and book. */
    .pillars-section { padding-bottom: 1.5rem !important; }
    .resource-section { padding: 0.5rem 1.5rem; max-width: 100%; }
    .resource-section + .resource-section { padding-top: 0.5rem; }
    .resource-card-h { grid-template-columns: 1fr; min-height: 0; }
    .resource-card-h__text { padding: 1.25rem 1.5rem; }
    .resource-card-h__image { min-height: 120px; padding: 0.75rem 0; }
    .resource-card-h__image::before { display: none; }
    .resource-card-h__image img { width: 140px !important; }
    .resource-card-h__text h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
    .resource-card-h__text p { font-size: 0.95rem; margin-bottom: 0.75rem; line-height: 1.55; }

    .retailer-pill { min-height: 44px; display: inline-flex; align-items: center; }

    .section-book { padding: 2.5rem 0 3rem !important; }
    .book-showcase { flex-direction: column; gap: 2.5rem; }
    .book-review { max-width: 300px; }
    /* Keep both reviews visible on mobile — they're short and add social proof */
    .book-showcase .book-review:last-child { display: block; }
    /* Drop costly 3D perspective on mobile so the cover renders flat and crisp */
    .book-cover, .book-cover-wrap { transform: none !important; perspective: none !important; transform-style: flat !important; }
    .book-retailers { padding: 0 1rem; }

    /* Logos: stacked in 2 wrapped rows, smaller — no horizontal scroll */
    .hero-media-logos {
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.9rem 1.25rem;
      max-width: 100%;
      padding: 0;
      -webkit-mask-image: none;
              mask-image: none;
    }
    .hero-media-logos img { height: 14px; }
    .hero-media-logos .logo-nbc { height: 16px; }
    .hero-media-logos .logo-npr { height: 13px; }
    .hero-media-logos .logo-guardian { height: 14px; }
    .hero-media-logos .logo-wsj { height: 13px; }
    .hero-media-logos .logo-sciam-img { height: 13px !important; }
    .logo-slate { font-size: 0.95rem; }

    /* Mobile crossout: use text-decoration so it survives line-wrapping. */
    .rx-old .rx-strike { display: none; }
    .rx-old.struck-mobile {
      text-decoration: line-through;
      text-decoration-color: hsl(0, 55%, 50%);
      text-decoration-thickness: 3px;
    }

    .rx-overline { font-size: 0.75rem; }
    .section-overline { font-size: 0.75rem; }
    .book-attribution { font-size: 0.85rem; }

    footer { padding: 3rem 1.5rem 1.5rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    /* Divider rules between footer columns for visual hierarchy */
    .footer-col + .footer-col { border-top: 1px solid rgba(44, 36, 22, 0.08); padding-top: 1.25rem; }
    .footer-heading { font-size: 0.8rem; margin-bottom: 0.5rem; }
    .footer-tagline { font-size: 0.9rem; }
    .footer-col a { min-height: 44px; display: flex; align-items: center; }
  }

  /* ─── PHONE TIER (≤600px) ─── refines spacing/type for true phone viewports */
  @media (max-width: 600px) {
    .hero-content { padding: 5rem 1.5rem 0; }

    /* Lower hero-title floor so 'Prescribing.co' fits inside the gutter */
    .hero-title { font-size: clamp(2.25rem, 9vw, 4rem); }

    /* Eyebrow: tighten letter-spacing so it doesn't fragment into 4 lines */
    .hero-eyebrow { letter-spacing: 0.1em; font-size: 0.7rem; padding: 0 0.5rem; }

    .hero-descriptor { font-size: 1.05rem; }

    /* Stats: 2 columns on phone so the section feels like ONE block, not 4 chapters */
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.75rem; }
    .stat-card { padding: 0.5rem 0; }
    .stat-number { font-size: clamp(1.35rem, 6.5vw, 1.85rem); white-space: normal; }
    .stat-label { font-size: 0.78rem; margin-top: 0.35rem; line-height: 1.35; }
    .stat-currency { font-weight: 700; }

    /* Differentiated section padding so the eye gets visual breaks */
    .section-shift { padding: 2.5rem 1.25rem; }
    .section-stats { padding: 1.25rem 1.25rem; }
    .pillars-section { padding: 2.5rem 1.25rem; }
    .section-book { padding: 3rem 0; }
    footer { padding: 2.5rem 1.25rem 1.25rem; }

    /* Phone bottle: take full width minus padding, callout names always visible */
    .bottle-scene { max-width: 100%; }
    .bottle-scene img { width: 40%; }
    .callout-text-name { font-size: 36px; }
  }

  @media (max-width: 375px) {
    .hero-content { padding: 4.5rem 1rem 0; }
    .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
    .hero-eyebrow { font-size: 0.65rem; letter-spacing: 0.08em; }
    .bottle-scene { max-width: 100%; }
    .bottle-scene img { width: 38%; }
    .callout-text-name { font-size: 38px; }
  }
