
  @font-face {
    font-family: 'BN Cringe Sans';
    src: url('../fonts/BNCringeSans.woff2') format('woff2'),
         url('../fonts/BNCringeSans.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'BN Cringe Sans';
    src: url('../fonts/BNCringeSans-Medium.woff2') format('woff2'),
         url('../fonts/BNCringeSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Gopher';
    src: url('../fonts/Gopher-Regular.woff2') format('woff2'),
         url('../fonts/Gopher-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Gopher';
    src: url('../fonts/Gopher-Medium.woff2') format('woff2'),
         url('../fonts/Gopher-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Gopher';
    src: url('../fonts/Gopher-Bold.woff2') format('woff2'),
         url('../fonts/Gopher-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

  /* ===========================================================
     DESIGN TOKENS
     =========================================================== */
  :root {
    --cream:      #F8EFDA;

    /* Navy scale, light tint → mid → dark.
       Use the lighter tints for backgrounds; mid for the brand;
       dark for accents and contrast text. */
    --navy-50:    #E3E7F1;  /* very pale wash (for panel bg) */
    --navy-100:   #C2CADF;  /* soft tint */
    --navy-200:   #8B98BE;  /* dusty mid-tint */
    --navy:       #3B4D85;  /* brand mid */
    --navy-dark:  #253464;  /* deep accent */
    --navy-900:   #161F3D;  /* near-black navy */

    --sage:       #D5E2D2;
    --sage-dark:  #B7CDB1;

    /* Orange scale, pale peach → mid → burnt.
       Lighter tints used for panel washes; bright kept for buttons. */
    --orange-50:  #FCE4D4;  /* pale peach wash */
    --orange-100: #F9C8A6;  /* soft peach */
    --orange-200: #F4A875;  /* warm mid-tint */
    --orange:     #FF8552;  /* brand bright */
    --orange-2:   #F5943F;
    --orange-dark:#CF6133;
    --orange-900: #7A3219;  /* deep burnt for text on light orange */

    --ink:        #1A1A1A;
    --paper:      #FEFEFE;
    --rule:       #CFD0CE;

    --font-display: 'Gopher', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body:    'BN Cringe Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

    --container: 1600px;
    --gutter: clamp(20px, 4vw, 96px);
  }

  /* ===========================================================
     RESET / BASE
     =========================================================== */
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }

  /* ===========================================================
     OFFSET BUTTON
     The signature button style across the site: a filled rect
     with a contrasting colored rectangle offset behind it,
     down and to the right.

     Matches cream-orange-btn.svg exactly:
       front rect (navy)  at (0, 0)
       shadow rect (orange) at (+5, +5), same size
     Implemented with box-shadow for reliable z-ordering.
     =========================================================== */
  .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Same height as SVG: 36px tall front rect.
       padding 0 + line-height 36px gives perfect vertical centering. */
    height: 36px;
    padding: 0 22px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    border-radius: 6px;
    border: 1px solid var(--navy);
    background: var(--navy);
    color: var(--cream);
    /* The orange shadow is a box-shadow offset 5px down-right.
       This puts it visually *behind* the button, exactly like the SVG. */
    box-shadow: 5px 5px 0 0 var(--orange);
    transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.18s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
    /* Reserve space for the offset shadow so adjacent layout isn't crowded */
    margin-right: 5px;
    margin-bottom: 5px;
    cursor: pointer;
  }
  .btn:hover {
    /* Front button stays put, only the shadow slides in toward it,
       closing the gap from behind. */
    box-shadow: 2px 2px 0 0 var(--orange);
  }
  .btn:active {
    /* Fully pressed: shadow fully merged behind the button. */
    box-shadow: 0 0 0 0 var(--orange);
    transition-duration: 0.08s;
  }
  .btn:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 4px;
  }

  /* Variant: orange-2 (#F5943F) shadow instead of orange (#FF8552) */
  .btn--orange2 {
    box-shadow: 5px 5px 0 0 var(--orange-2);
  }
  .btn--orange2:hover {
    box-shadow: 2px 2px 0 0 var(--orange-2);
  }
  .btn--orange2:active {
    box-shadow: 0 0 0 0 var(--orange-2);
  }

  /* Variant: cream button, navy text, used on navy backgrounds */
  .btn--cream {
    background: var(--cream);
    color: var(--navy);
    border-color: var(--cream);
  }
  /* Variant: flat, no offset shadow (used in nav + book cards) */
  .btn--flat {
    box-shadow: none;
    margin-right: 0;
    margin-bottom: 0;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .btn--flat:hover {
    box-shadow: none;
    transform: none;
    background: transparent;
    color: var(--navy);
  }
  .btn--flat:active {
    box-shadow: none;
    transform: none;
  }

  /* ===========================================================
     NAVIGATION
     =========================================================== */
  .nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid #3B4D85;
  }
  .nav__inner {
    padding: 18px var(--gutter);
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .nav__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
  }
  /* Book-spine logo mark from the SVG: three book spines on a shelf,
     sage one upright, navy tilted right, orange tilted left.
     translateY shifts the visible spines up so they optically center
     with the wordmark instead of sitting low in their bounding box. */
  .nav__mark {
    position: relative;
    width: 42px;
    height: 54px;
    flex-shrink: 0;
    transform: translateY(-4px);
  }
  .nav__mark > span {
    position: absolute;
    display: block;
    bottom: 0;
    border-radius: 1px;
  }
  .nav__mark .spine-1 {
    /* Sage upright spine */
    left: 16px;
    width: 8px;
    height: 50px;
    background: var(--sage);
    border: 1px solid var(--sage-dark);
  }
  .nav__mark .spine-2 {
    /* Navy tilted right */
    left: 28px;
    width: 14px;
    height: 42px;
    background: var(--navy);
    border: 1px solid var(--navy-dark);
    transform: rotate(-3deg);
    transform-origin: bottom center;
  }
  .nav__mark .spine-3 {
    /* Orange tilted left */
    left: 2px;
    width: 11px;
    height: 38px;
    background: var(--orange);
    border: 1px solid var(--orange-dark);
    transform: rotate(3deg);
    transform-origin: bottom center;
  }
  .nav__name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--navy);
    letter-spacing: 0.01em;
    line-height: 1;
  }

  .nav__inner > nav {
    margin-left: auto;
  }
  .nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .nav__link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.15s ease;
  }
  .nav__link:hover { opacity: 0.65; }
  .nav__link .caret { font-size: 0.5rem; opacity: 0.7; }

  /* ===========================================================
     NAVIGATION, DROPDOWN MENUS
     Desktop: hover/focus reveals a panel beneath the nav link.
     =========================================================== */
  .nav__links .has-dropdown {
    position: relative;
  }
  /* Animated chevron for dropdown triggers */
  .has-dropdown .nav__link .caret {
    width: 8px;
    height: 8px;
    display: inline-block;
    transition: transform 0.25s ease;
    font-size: 0;
    line-height: 0;
  }
  .has-dropdown .nav__link .caret svg {
    display: block;
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .has-dropdown.is-open > .nav__link .caret,
  .has-dropdown:hover > .nav__link .caret,
  .has-dropdown:focus-within > .nav__link .caret {
    transform: rotate(180deg);
  }
  .nav__dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: -18px;
    min-width: 260px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    background: var(--cream);
    border: 1px solid var(--navy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
      opacity 0.18s ease,
      transform 0.22s ease,
      visibility 0s linear 0.22s;
    z-index: 110;
  }
  /* Invisible bridge so cursor can cross the gap without closing */
  .nav__dropdown::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
  }
  .has-dropdown:hover > .nav__dropdown,
  .has-dropdown:focus-within > .nav__dropdown,
  .has-dropdown.is-open > .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity 0.18s ease,
      transform 0.22s ease,
      visibility 0s linear 0s;
  }
  .nav__dropdown a {
    display: block;
    padding: 10px 22px;
    font-family: var(--font-body, inherit);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--navy);
    text-transform: none;
    line-height: 1.35;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.18s ease;
  }
  .nav__dropdown a:hover,
  .nav__dropdown a:focus-visible {
    background: var(--navy-50, #E3E7F1);
    color: var(--navy-dark);
    padding-left: 28px;
    outline: none;
  }
  /* Grouped sections inside a dropdown */
  .nav__dropdown__group {
    padding: 4px 0;
  }
  .nav__dropdown__group + .nav__dropdown__group {
    border-top: 1px solid rgba(59, 77, 133, 0.12);
    margin-top: 4px;
    padding-top: 8px;
  }
  .nav__dropdown__header {
    display: block;
    padding: 6px 22px 4px;
    font-family: var(--font-display, serif);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--navy);
  }
  .nav__dropdown__group ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav__dropdown__group a {
    padding: 7px 22px 7px 30px;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--navy);
    display: block;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.18s ease;
  }
  .nav__dropdown__group a:hover,
  .nav__dropdown__group a:focus-visible {
    background: var(--navy-50, #E3E7F1);
    color: var(--navy-dark);
    padding-left: 36px;
    outline: none;
  }
  .nav__dropdown__group .meta {
    color: var(--navy-200, #8B98BE);
    font-size: 0.7rem;
    margin-left: 6px;
  }

  .nav__cta {
    margin-left: 8px;
    padding: 10px 22px;
  }

  .nav__toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    color: var(--navy);
    margin-left: auto;
  }

  /* Mobile drawer */
  .nav__drawer {
    display: none;
    background: var(--cream);
    border-bottom: 1px solid rgba(59, 77, 133, 0.12);
    padding: 8px var(--gutter) 24px;
  }
  .nav__drawer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .nav__drawer a {
    display: block;
    padding: 12px 0;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    border-bottom: 1px solid rgba(59, 77, 133, 0.08);
  }
  .nav__drawer .btn {
    margin-top: 16px;
    width: 100%;
  }

  /* ===========================================================
     HERO CAROUSEL
     Crossfading background images with progress dots + arrows.
     Each image holds for 7s with a 1s crossfade.
     =========================================================== */
  .hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--cream);
  }
  .hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    /* All slides share the same stacking level; only opacity changes.
       Toggling z-index here was preventing the outgoing slide from
       fading, it was being shoved beneath the incoming slide
       at the moment the transition started, producing a hard cut. */
  }
  .hero__slide.is-active {
    opacity: 1;
  }
  /* Cream wash overlay sits above all slides */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(248, 239, 218, 0.25);
    z-index: 2;
    pointer-events: none;
  }
  .hero__inner {
    position: relative;
    z-index: 3;
    max-width: 1080px;
    padding: 100px var(--gutter);
    text-align: center;
  }
  .hero__headline {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--cream);
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1.2;
    margin: 0 0 36px;
    text-shadow:
      0 2px 4px rgba(37, 52, 100, 0.6),
      0 4px 24px rgba(37, 52, 100, 0.35);
  }

  /* Arrow buttons - sit on the left/right edges of the hero */
  .hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(37, 52, 100, 0.4);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }
  .hero__arrow:hover {
    background: rgba(37, 52, 100, 0.7);
  }
  .hero__arrow:active {
    transform: translateY(-50%) scale(0.95);
  }
  .hero__arrow--prev { left: clamp(16px, 3vw, 40px); }
  .hero__arrow--next { right: clamp(16px, 3vw, 40px); }
  .hero__arrow svg { display: block; }

  /* Progress dots - bottom center. Inactive dots are narrow,
     the active one expands to its full width and the fill animates
     across it as a time signifier. Width transitions smoothly when
     active state moves between dots. */
  .hero__dots {
    position: absolute;
    z-index: 4;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .hero__dot {
    position: relative;
    /* Inactive default: narrow pill */
    width: 16px;
    height: 4px;
    border-radius: 2px;
    background: rgba(248, 239, 218, 0.4);
    border: 0;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.3s ease;
  }
  .hero__dot:hover {
    background: rgba(248, 239, 218, 0.6);
  }
  /* Active dot: expands to full width. The fill (cream) animates
     across it over 7s as the carousel hold timer. */
  .hero__dot.is-active {
    width: 56px;
    background: rgba(248, 239, 218, 0.3);
  }
  .hero__dot__fill {
    position: absolute;
    inset: 0;
    background: var(--cream);
    transform-origin: left center;
    transform: scaleX(0);
  }
  /* The active dot's fill is driven by JS (requestAnimationFrame), so the
     timer keeps running through background-tab throttling and reduced-motion
     settings instead of relying on a CSS animation that those pause/disable. */

  /* Reduced motion: keep instant crossfade (no slide fade). The small pill
     progress is still shown (driven by JS) as a functional timer indicator. */
  @media (prefers-reduced-motion: reduce) {
    .hero__slide { transition: none; }
    .hero__dot { transition: none; }
  }

  @media (max-width: 720px) {
    .hero__arrow { width: 40px; height: 40px; }
    .hero__dots { bottom: 20px; gap: 8px; }
    .hero__dot { width: 12px; }
    .hero__dot.is-active { width: 40px; }
  }

  /* ===========================================================
     SECTION: BOOKS TO START WITH (mystery series)
     =========================================================== */
  .section {
    padding: clamp(60px, 8vw, 110px) var(--gutter);
    max-width: var(--container);
    margin: 0 auto;
  }
  .section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 56px;
    border-bottom: 1px solid var(--navy);
    padding-bottom: 28px;
  }
  .shelf-nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
  }
  .shelf-nav__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--navy);
    background: var(--navy);
    color: var(--cream);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
  }
  .shelf-nav__btn:hover {
    background: var(--cream);
    color: var(--navy);
  }
  .shelf-nav__btn:active {
    transform: scale(0.94);
  }
  .shelf-nav__btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .shelf-nav__btn:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
  }
  .section__title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0;
  }

  .book-grid {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 28px;
    scrollbar-width: thin;
    scrollbar-color: var(--navy-200) transparent;
  }
  .book-grid::-webkit-scrollbar {
    height: 8px;
  }
  .book-grid::-webkit-scrollbar-thumb {
    background: var(--navy-200);
    border-radius: 4px;
  }
  .book-grid::-webkit-scrollbar-track {
    background: transparent;
  }
  .book-card {
    flex: 0 0 auto;
    width: clamp(210px, 56vw, 250px);
    scroll-snap-align: start;
    background: var(--paper);
    border: 1px solid var(--navy);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .book-card__cover-wrap {
    padding: 30px 24px 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 280px;
  }
  .book-card__cover {
    max-width: 100%;
    max-height: 260px;
    width: auto;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 2px 12px rgba(37, 52, 100, 0.15);
  }
  .book-card__body {
    padding: 22px 24px 0;
  }
  .book-card__eyebrow {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0 0 6px;
    opacity: 0.75;
  }
  .book-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy);
    margin: 0 0 18px;
    line-height: 1.1;
  }
  .book-card__cta {
    display: block;
    margin: auto 24px 24px;
    padding: 9px 0;
    text-align: center;
    background: var(--navy);
    color: var(--cream);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 4px;
    border: 1px solid var(--navy);
    transition: background 0.15s ease, color 0.15s ease;
  }
  .book-card__cta:hover {
    background: transparent;
    color: var(--navy);
  }

  /* ===========================================================
     COOKBOOK / FRAME 143
     Split: sage panel with cookbook image | navy panel with copy
     =========================================================== */
  .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .split__panel {
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .split__panel--sage {
    background: var(--sage);
  }
  .split__panel--navy {
    background: var(--navy);
    color: var(--cream);
  }
  .split__image {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--navy);
  }
  .split__content {
    max-width: 440px;
  }
  .split__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.2;
    color: var(--cream);
    margin: 0 0 22px;
  }
  .split__body {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--cream);
    opacity: 0.85;
    margin: 0 0 32px;
  }

  /* ===========================================================
     ABOUT GAYLE
     =========================================================== */
  .about {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(60px, 8vw, 120px) var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
  }
  .about__title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0 0 24px;
    line-height: 1;
  }
  .about__body {
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 0 0 36px;
    max-width: 460px;
  }
  .about__image {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--navy);
    margin-left: auto;
  }

  /* ===========================================================
     STANDALONE / SHORT STORY COLLECTIONS
     Two-column with contrasting halves
     =========================================================== */
  /* ===========================================================
     STANDALONE / SHORT STORY COLLECTIONS
     Centered-stack layout: white card with colored stroke holds the
     cover, then eyebrow / title / teaser / CTA stacked below.
     Panels use saturated brand colors (navy + sage).
     =========================================================== */
  .standalone {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .standalone__half {
    padding: clamp(40px, 5vw, 72px) clamp(30px, 4vw, 64px) clamp(50px, 6vw, 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
  }
  .standalone__half--navy {
    background: var(--navy);
    color: var(--cream);
  }
  .standalone__half--sage {
    background: var(--sage);
    color: var(--navy-dark);
  }

  /* White card with a colored stroke from the panel's family. */
  .standalone__cover-card {
    margin-bottom: clamp(28px, 3.5vw, 44px);
    padding: clamp(22px, 2.5vw, 36px) clamp(30px, 4vw, 56px);
    border-radius: 12px;
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .standalone__half--navy .standalone__cover-card {
    border: 2px solid var(--navy-dark);
  }
  .standalone__half--sage .standalone__cover-card {
    border: 2px solid var(--sage-dark);
  }
  .standalone__cover-card img {
    max-height: clamp(200px, 24vw, 300px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
    box-shadow:
      0 4px 10px rgba(0, 0, 0, 0.12),
      0 12px 28px rgba(0, 0, 0, 0.14);
  }
  .standalone__eyebrow {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 12px;
    opacity: 0.75;
  }
  .standalone__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 400;
    margin: 0 0 14px;
    line-height: 1.1;
    letter-spacing: 0.01em;
  }
  .standalone__teaser {
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 26px;
    opacity: 0.9;
    max-width: 400px;
  }

  /* ===========================================================
     CTA STRIP
     =========================================================== */
  .cta-strip {
    text-align: center;
    padding: clamp(80px, 10vw, 140px) var(--gutter);
    max-width: 880px;
    margin: 0 auto;
  }
  .cta-strip__headline {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--navy);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.25;
    margin: 0 0 40px;
  }

  /* ===========================================================
     FOOTER (new arched design, matches reviews.html / about.html / book.html)
     =========================================================== */
  /* Footer wrapper: holds the SVG arch and footer content. */
  .footer-wrap {
    margin-top: clamp(80px, 10vw, 140px);
    position: relative;
  }
  /* Inlined SVG arch, exact Figma path geometry from node 386:575.
     aspect-ratio shrinks the rendered height while the SVG's preserveAspectRatio
     keeps the arch curve centered horizontally. */
  .footer-arch {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
    margin-bottom: -1px;
  }
  .footer {
    position: relative;
    background: var(--navy);
    color: var(--cream);
    padding: 0 var(--gutter) 24px;
  }
  /* Hero block, pulled up into the navy area. */
  .footer__hero {
    position: relative;
    max-width: 1100px;
    margin: clamp(-380px, -28vw, -220px) auto clamp(140px, 16vw, 220px);
    padding: 40px 0 48px;
    text-align: center;
  }

  /* Floating pill labels around the hero headline. */
  .footer__pill {
    position: absolute;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    color: var(--cream);
    background: var(--navy);
    border: 1px solid var(--cream);
    border-radius: 999px;
    padding: 10px 22px;
    white-space: nowrap;
    line-height: 1;
    transform: rotate(var(--rot, 0deg));
    transition: background-color 0.2s ease;
    cursor: default;
  }
  .footer__pill:hover {
    background-color: var(--navy-dark);
  }
  /* ---- Mobile footer: Belle-style centered stack with generous spacing. ---- */
  @media (max-width: 720px) {
    .footer__pill { display: none; }

    /* padding-top keeps the navy fused to the arch (cancels the margin
       collapse that would otherwise open a cream seam below the arch). */
    .footer { padding-top: clamp(36px, 11vw, 64px); }

    /* Flex column + align-items:center keeps headline and copy on one axis
       regardless of font metrics; gap gives the airy headline/copy rhythm. */
    .footer__hero {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: clamp(40px, 12vw, 72px);
      margin: 0 auto clamp(56px, 16vw, 100px);
      padding: 0 4px;
      max-width: 560px;
    }
    .footer__hero-title {
      font-size: clamp(2.25rem, 9vw, 3rem);
      margin: 0;
      max-width: 16ch;
    }
    .footer__hero-copy {
      font-size: 1.0625rem;
      line-height: 1.6;
      margin: 0;
      max-width: 34ch;
    }
  }

  .footer__hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    margin: 0 auto 28px;
    max-width: 18ch;
    letter-spacing: 0.005em;
  }
  .footer__hero-title em {
    font-style: normal;
  }
  .footer__hero-copy {
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.65;
    opacity: 0.85;
    margin: 0;
  }
  .footer__hero-copy a {
    color: var(--cream);
    border-bottom: 1px solid rgba(248, 239, 218, 0.45);
    padding-bottom: 1px;
    transition: border-color 0.15s ease, opacity 0.15s ease;
  }
  .footer__hero-copy a:hover {
    border-bottom-color: var(--cream);
    opacity: 1;
  }

  /* Bottom section: brand block left, link columns right */
  .footer__grid {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    padding-bottom: 40px;
  }
  .footer__brand {
    max-width: 320px;
    flex: 0 0 auto;
  }
  .footer__brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 0 14px;
    line-height: 1.2;
  }
  .footer__tagline {
    font-family: var(--font-display);
    font-size: 0.875rem;
    line-height: 1.55;
    opacity: 0.75;
    margin: 0;
  }
  .footer__cols {
    margin-left: auto;
    display: flex;
    gap: clamp(48px, 8vw, 120px);
  }
  .footer__col {
    min-width: 120px;
  }
  .footer__col-head {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 28px;
    opacity: 0.55;
  }
  .footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .footer__col a {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 400;
    opacity: 0.92;
    transition: opacity 0.15s ease;
  }
  .footer__col a:hover { opacity: 0.6; }
  .footer__bottom {
    font-family: var(--font-display);
    padding-top: 28px;
    border-top: 1px solid rgba(248, 239, 218, 0.22);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.7;
  }

  /* ===========================================================
     RESPONSIVE
     =========================================================== */
  @media (max-width: 960px) {
    .split, .standalone {
      grid-template-columns: 1fr;
    }
    .split__panel { padding: 50px var(--gutter); }
    .about { grid-template-columns: 1fr; }
    .about__image { margin: 0 auto; }
    .footer__grid {
      flex-direction: column;
      gap: 40px;
    }
    .footer__cols { margin-left: 0; }
  }

  @media (max-width: 720px) {
    .nav__links { display: none; }
    .nav__cta { display: none; }
    .nav__toggle { display: inline-flex; margin-left: auto; }
    .nav__drawer.is-open { display: block; }
    .nav__inner { padding: 14px var(--gutter); }

    .hero { min-height: 480px; }
    .hero__inner { padding: 60px var(--gutter); }

    .book-grid { gap: 20px; }
    .book-card__cover-wrap { padding: 26px 22px 0; }

    /* Footer: Belle-style centered stack, generous spacing. */
    .footer__grid {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: clamp(44px, 13vw, 80px);
      padding-bottom: clamp(40px, 11vw, 60px);
    }
    .footer__brand { max-width: none; }
    .footer__cols {
      margin-left: 0;
      width: auto;
      display: flex;
      justify-content: center;
      gap: clamp(48px, 16vw, 88px);
    }
    .footer__col { min-width: 0; text-align: center; }
    .footer__col-head { margin-bottom: 18px; }
    .footer__col ul { gap: 14px; }
    .footer__bottom {
      flex-direction: column;
      gap: 10px;
      text-align: center;
      padding-top: clamp(28px, 7vw, 40px);
    }
  }

/* ===========================================================
   MICRO-INTERACTIONS — no card/image lifts.
   Offset-shadow ("push up") buttons keep their ORIGINAL hover.
   Only the flat nav button + book-card buttons get the blue fill-slide.
   =========================================================== */
.btn--flat:not(.btn--cream),
.book-card__cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  color: var(--cream);
  transition: color 0.2s ease;
}
.btn--flat:not(.btn--cream)::before,
.book-card__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  z-index: -1;
  transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn--flat:not(.btn--cream):hover,
.book-card__cta:hover { background: transparent; color: var(--navy); }
.btn--flat:not(.btn--cream):hover::before,
.book-card__cta:hover::before { transform: translateY(100%); }

@media (prefers-reduced-motion: reduce) {
  .btn--flat:not(.btn--cream)::before,
  .book-card__cta::before { transition: none; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .nav__mark .spine-1, .nav__mark .spine-2, .nav__mark .spine-3 {
    transform-origin: bottom center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav__brand:hover .spine-1 { transform: rotate(-4deg); }
  .nav__brand:hover .spine-2 { transform: rotate(-8deg); }
  .nav__brand:hover .spine-3 { transform: rotate(8deg); }
  .footer__pill { transition: background-color 0.2s ease, transform 0.28s cubic-bezier(0.22,1,0.36,1); }
  .footer__pill:hover { transform: rotate(0deg); }
}
