@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-300-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-italic-300-400.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("/fonts/cinzel-latin-400-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/playfair-display-latin-400-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/playfair-display-latin-italic-400.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --black: #050504;
  --soft-black: #0a0a09;
  --ivory: #f6f3eb;
  --paper: #efede7;
  --home-paper: #f9f7f2;
  --ink: #171715;
  --gold: #c8a963;
  --gold-dark: #8c6b30;
  --red: #c62c22;
  --line-dark: rgba(246, 243, 235, .13);
  --line-light: rgba(23, 23, 21, .15);
  --muted-dark: rgba(246, 243, 235, .63);
  --muted-light: rgba(23, 23, 21, .62);
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Playfair Display", Georgia, serif;
  --label: "Cinzel", Georgia, serif;
  --gutter: clamp(1.25rem, 4.6vw, 4.75rem);
  --width: 1480px;
  --lab-h: 36px;
  --header-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--black);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--home-paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.notes-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:where(a, button, textarea):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 400;
  top: .5rem;
  left: 1rem;
  padding: .7rem 1rem;
  background: var(--ivory);
  color: var(--black);
  font-size: .75rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-180%);
}

.skip-link:focus-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Lab chrome */

.lab-bar {
  position: relative;
  z-index: 210;
  min-height: var(--lab-h);
  border-bottom: 1px solid rgba(246, 243, 235, .12);
  padding: 0 clamp(.85rem, 2.4vw, 2.25rem);
  background: #020202;
  color: var(--ivory);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.75rem);
  font-size: .64rem;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lab-bar__brand { font-family: var(--label); color: var(--gold); text-decoration: none; white-space: nowrap; }
.lab-bar__nav { display: flex; align-items: center; gap: 1.2rem; }
.lab-bar__nav a { color: rgba(246, 243, 235, .58); text-decoration: none; transition: color .24s ease; }
.lab-bar__nav a:hover,
.lab-bar__nav a[aria-current="page"] { color: var(--ivory); }
.lab-bar__direction { color: rgba(246, 243, 235, .42); white-space: nowrap; }

.lab-notes-toggle {
  min-height: 26px;
  border: 1px solid rgba(246, 243, 235, .22);
  border-radius: 0;
  padding: 0 .7rem;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lab-notes-toggle:hover { border-color: var(--gold); color: var(--gold); }

/* Site header */

.site-header {
  position: relative;
  z-index: 100;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--line-dark);
  background: var(--black);
  color: var(--ivory);
}

.site-header__inner {
  width: min(calc(100% - var(--gutter) - var(--gutter)), var(--width));
  min-height: var(--header-h);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

.site-brand { width: max-content; text-decoration: none; }

.logo-crop {
  position: relative;
  display: block;
  width: 10rem;
  aspect-ratio: 5105 / 580;
  overflow: hidden;
}

.logo-crop img {
  position: absolute;
  top: -7.586%;
  left: -6.875%;
  width: 107.326%;
  height: 126.724%;
  max-width: none;
  object-fit: fill;
}

.logo-dark { opacity: 0; }

.desktop-nav { display: flex; align-items: center; gap: clamp(2rem, 2.9vw, 2.75rem); }

.desktop-nav a {
  color: rgba(246, 243, 235, .84);
  font: 500 .72rem/1 var(--label);
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .24s ease, transform .3s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] { color: var(--ivory); transform: translateY(-1px); }

.mobile-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(246, 243, 235, .24);
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: var(--ivory);
  display: none;
}

.mobile-toggle span {
  position: absolute;
  right: 9px;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: top .3s var(--ease), transform .3s var(--ease), width .3s var(--ease);
}

.mobile-toggle span:first-child { top: 16px; }
.mobile-toggle span:last-child { top: 25px; width: 16px; }
.mobile-toggle[aria-expanded="true"] span { top: 20px; width: 22px; }
.mobile-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.mobile-nav {
  position: absolute;
  z-index: 5;
  top: 100%;
  right: 0;
  left: 0;
  border-top: 1px solid var(--line-dark);
  background: rgba(5, 5, 4, .98);
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows .4s var(--ease), opacity .24s ease, visibility 0s linear .4s;
}

.mobile-nav.is-open { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }

.mobile-nav a {
  min-height: 58px;
  margin: 0 var(--gutter);
  border-bottom: 1px solid var(--line-dark);
  color: var(--ivory);
  display: flex;
  align-items: center;
  font: 500 .94rem/1 var(--label);
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
}

/* Direction page switch */

.page-switch {
  width: min(calc(100% - var(--gutter) - var(--gutter)), var(--width));
  min-height: 42px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

.page-switch a {
  position: relative;
  padding: .85rem 0 .75rem;
  color: var(--muted-light);
  font-size: .68rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.page-switch a[aria-current="page"] { color: var(--ink); }
.page-switch a[aria-current="page"]::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 1px; background: var(--ink); content: ""; }

/* Footer */

.site-footer { background: var(--black); color: var(--ivory); }

.site-footer__inner {
  width: min(calc(100% - var(--gutter) - var(--gutter)), var(--width));
  min-height: 250px;
  margin: 0 auto;
  border-top: 1px solid var(--line-dark);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 1fr auto;
  align-items: start;
  gap: clamp(2rem, 5vw, 6rem);
}

.site-footer__brand .logo-crop { width: 11rem; }
.site-footer__brand p { margin: .8rem 0 0; display: grid; gap: .38rem; }
.site-footer__brand strong { font-size: .76rem; letter-spacing: .12em; }
.site-footer__brand p span { color: var(--gold); font-size: .61rem; letter-spacing: .1em; }
.site-footer nav { display: grid; gap: .65rem; }
.site-footer nav a,
.site-footer__contact { color: var(--muted-dark); font-size: .78rem; line-height: 1.5; text-decoration: none; }
.site-footer nav a:hover,
.site-footer__contact:hover { color: var(--ivory); }

/* Notes drawer + toast */

.notes-drawer {
  position: fixed;
  z-index: 300;
  top: 0;
  right: 0;
  width: min(390px, calc(100vw - 2rem));
  height: 100dvh;
  border-left: 1px solid var(--line-dark);
  padding: 1.25rem;
  background: #0a0a09;
  color: var(--ivory);
  display: grid;
  align-content: start;
  gap: 1.1rem;
  box-shadow: -24px 0 70px rgba(0, 0, 0, .28);
  transform: translateX(102%);
  transition: transform .45s var(--ease);
}

.notes-drawer.is-open { transform: translateX(0); }
.notes-drawer__head { min-height: 42px; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: start; }
.notes-drawer__head strong { color: var(--gold); font: 500 .8rem/1.4 var(--label); letter-spacing: .08em; text-transform: uppercase; }
.notes-drawer__head button { width: 30px; height: 30px; border: 1px solid var(--line-dark); border-radius: 0; background: transparent; color: var(--ivory); cursor: pointer; }
.notes-drawer label { color: var(--muted-dark); display: grid; gap: .5rem; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.notes-drawer textarea { min-height: 118px; resize: vertical; border: 1px solid var(--line-dark); border-radius: 0; padding: .85rem; background: #050504; color: var(--ivory); font-size: .9rem; line-height: 1.55; letter-spacing: 0; text-transform: none; }
.notes-drawer > p { margin: 0; color: rgba(246, 243, 235, .38); font-size: .7rem; }

.lab-toast {
  position: fixed;
  z-index: 280;
  right: 1rem;
  bottom: 1rem;
  max-width: min(350px, calc(100vw - 2rem));
  border: 1px solid rgba(200, 169, 99, .4);
  padding: .8rem 1rem;
  background: var(--black);
  color: var(--ivory);
  font-size: .75rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .24s ease, transform .35s var(--ease);
}

.lab-toast.is-visible { opacity: 1; transform: translateY(0); }

/* Reveal */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .72s var(--ease), transform .72s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.product-hero .hero-reveal { transform: translateY(14px); }
.product-hero .hero-reveal.is-visible { transform: translateY(0); }
.product-hero .artwork-viewer.hero-reveal { transform: translateY(16px); }
.product-hero .artwork-viewer.hero-reveal.is-visible { transform: translateY(0); }

/* Preview index */

.lab-index { background: var(--black); color: var(--ivory); }
.lab-index .lab-bar { position: sticky; top: 0; }

.index-main {
  width: min(calc(100% - var(--gutter) - var(--gutter)), 1320px);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(5rem, 10vw, 10rem);
}

.index-intro { max-width: 920px; margin-bottom: clamp(4rem, 8vw, 7rem); }

.lab-kicker,
.collection-name {
  margin: 0;
  color: var(--gold-dark);
  font: 500 .72rem/1.3 var(--label);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lab-index .lab-kicker { color: var(--gold); }
.index-intro h1 { max-width: 880px; margin: 1rem 0 1.35rem; font: 400 clamp(3rem, 7vw, 6.5rem)/.95 var(--display); letter-spacing: 0; }
.index-intro > p:not(.lab-kicker) { max-width: 680px; margin: 0; color: var(--muted-dark); font-size: clamp(.95rem, 1.4vw, 1.1rem); font-weight: 300; line-height: 1.75; }

.direction-index__links { margin-top: 2rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 0 1.8rem; }
.direction-index__links a { min-height: 50px; color: var(--ivory); display: inline-flex; align-items: center; gap: .7rem; font-size: .76rem; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.direction-index__links a span { color: var(--gold); transition: transform .3s var(--ease); }
.direction-index__links a:hover span { transform: translateX(4px); }

/* Product hero */

.product-page,
.access-page { background: var(--home-paper); color: var(--ink); }

.product-hero {
  width: min(calc(100% - var(--gutter) - var(--gutter)), var(--width));
  min-height: calc(100svh - var(--lab-h) - var(--header-h) - 42px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(380px, .86fr);
  align-items: stretch;
}

.product-art-column {
  min-width: 0;
  padding: clamp(1.25rem, 2.2vw, 2.25rem) clamp(1.5rem, 3vw, 3.5rem) clamp(1.25rem, 2.2vw, 2.25rem) 0;
}

@media (min-width: 981px) {
  .product-art-column {
    position: sticky;
    top: 0;
    height: calc(100svh - var(--lab-h) - var(--header-h) - 42px);
  }
}

/* Artwork viewer — the composition itself is the hero; no device frames */

.artwork-viewer {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1.1rem;
}

.artwork-stage-wrap {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
}

.artwork-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200, 169, 99, .38);
  background: var(--black);
  box-shadow: 0 34px 90px rgba(18, 16, 12, .28);
  transition: width .7s var(--ease), height .7s var(--ease), aspect-ratio .7s var(--ease);
}

.artwork-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  transition: opacity .38s ease, transform .48s var(--ease), filter .38s ease;
}

.artwork-stage img.is-changing {
  opacity: 0;
  transform: translate3d(var(--swap-shift, 1.8%), 0, 0) scale(.985);
  filter: blur(2px);
}

.artwork-stage img.is-entering {
  animation: artwork-enter .62s var(--ease) both;
}

@keyframes artwork-enter {
  from {
    opacity: 0;
    transform: translate3d(var(--swap-shift-in, -1.2%), 0, 0) scale(1.015);
    filter: blur(1px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

.artwork-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.5rem;
}

.artwork-controls--bundle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem 1.5rem;
}

.composition-switch { display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; }

.composition-switch--bundle {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: .75rem 1.5rem;
}

.bundle-composition-group {
  min-width: 0;
  border-bottom: 1px solid var(--line-light);
  padding: 0 0 .55rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
}

.bundle-composition-group__label {
  min-width: 0;
  color: var(--muted-light);
  font: 500 .64rem/1.45 var(--label);
  letter-spacing: .09em;
  text-transform: uppercase;
  text-wrap: balance;
}

.bundle-composition-group__options {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
}

.composition-choice--bundle-option {
  min-width: 1.85rem;
  min-height: 1.8rem;
  border: 1px solid transparent;
  padding: .28rem .32rem .34rem;
  font-size: .6rem;
  letter-spacing: .08em;
  line-height: 1;
  text-align: center;
}

.composition-choice--bundle-option::after {
  right: .22rem;
  left: .22rem;
}

.composition-choice--bundle-option.is-active {
  border-color: rgba(140, 107, 48, .45);
  background: rgba(200, 169, 99, .08);
}

.composition-choice {
  position: relative;
  border: 0;
  border-radius: 0;
  padding: .3rem 0 .5rem;
  background: transparent;
  color: var(--muted-light);
  cursor: pointer;
  font: 500 .7rem/1 var(--label);
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: color .28s ease;
}

.composition-choice::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold-dark);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}

.composition-choice:hover { color: var(--ink); }
.composition-choice.is-active { color: var(--ink); }
.composition-choice.is-active::after { transform: scaleX(1); }

.format-switch {
  border: 1px solid var(--line-light);
  padding: 3px;
  display: flex;
  gap: 2px;
}

.format-choice {
  min-width: 76px;
  min-height: 34px;
  border: 0;
  border-radius: 0;
  padding: 0 .8rem;
  background: transparent;
  color: var(--muted-light);
  cursor: pointer;
  font: 500 .62rem/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background-color .3s ease, color .3s ease;
}

.format-choice:hover { color: var(--ink); }
.format-choice.is-active { background: var(--ink); color: var(--ivory); }

/* Purchase panel — one disciplined hierarchy */

.purchase-panel {
  min-width: 0;
  border-left: 1px solid var(--line-light);
  padding: clamp(2.7rem, 6vh, 5rem) 0 clamp(2.7rem, 6vh, 5rem) clamp(2rem, 4vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.purchase-intro,
.purchase-block { min-width: 0; }

.purchase-panel h1 { max-width: none; margin: .8rem 0 .3rem; font: 400 clamp(2.3rem, 3.4vw, 3.4rem)/1.04 var(--display); letter-spacing: 0; }
.product-chinese { margin: 0; color: var(--gold-dark); font: 400 clamp(1.05rem, 1.5vw, 1.3rem)/1.4 serif; }
.product-intent { margin: clamp(1.3rem, 2.8vh, 1.9rem) 0 .55rem; font: 400 clamp(1.1rem, 1.6vw, 1.3rem)/1.45 var(--display); }
.product-bridge { max-width: 44ch; margin: 0; color: var(--muted-light); font-size: .9rem; font-weight: 300; line-height: 1.7; }

.purchase-block { margin-top: clamp(1.4rem, 3vh, 2rem); display: grid; gap: 0; }

.product-specs {
  margin: 0;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line-light);
  display: grid;
  gap: .75rem;
  list-style: none;
}

.product-specs li { position: relative; padding-left: 1.5rem; color: rgba(23, 23, 21, .9); font-size: .97rem; line-height: 1.55; }
.product-specs li::before { position: absolute; top: .5em; left: .1rem; width: 6px; height: 6px; border: 1px solid var(--gold-dark); background: rgba(200, 169, 99, .4); transform: rotate(45deg); content: ""; }

.purchase-line { margin-top: 1.4rem; }

.purchase-cta {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--ink);
  padding: 0 1.6rem;
  background: var(--ink);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  text-decoration: none;
  transition: background-color .3s ease, border-color .3s ease, transform .3s var(--ease);
}

.purchase-cta span { font: 500 .76rem/1 var(--label); letter-spacing: .15em; text-transform: uppercase; }
.purchase-cta b { border-left: 1px solid rgba(246, 243, 235, .3); padding-left: 1.1rem; font: 500 1.3rem/1 var(--display); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; transition: border-color .3s ease; }
.purchase-cta:hover { border-color: var(--gold-dark); background: var(--gold-dark); transform: translateY(-2px); }
.purchase-cta:hover b { border-left-color: rgba(246, 243, 235, .4); }
.purchase-cta:active { transform: translateY(0); }

.delivery-copy { margin: .95rem 0 0; color: var(--muted-light); font-size: .8rem; font-weight: 300; line-height: 1.65; }

.bundle-card {
  margin-top: 1.15rem;
  border: 1px solid var(--line-light);
  padding: .95rem 1.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  text-decoration: none;
  transition: border-color .3s ease, background-color .3s ease;
}

.bundle-card__copy { min-width: 0; display: grid; gap: .3rem; }
.bundle-card__copy strong { font: 400 1.02rem/1.25 var(--display); }
.bundle-card__copy small { color: var(--muted-light); font-size: .76rem; font-weight: 300; letter-spacing: .02em; }
.bundle-card__aside { display: flex; align-items: baseline; gap: .6rem; }
.bundle-card__aside b { font: 500 1.15rem/1 var(--display); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }
.bundle-card__aside i { color: var(--gold-dark); font-style: normal; transition: transform .3s var(--ease); }
.bundle-card:hover { border-color: var(--gold-dark); background: rgba(200, 169, 99, .07); }
.bundle-card:hover .bundle-card__aside i { transform: translateX(4px); }

/* Story — one shared composition across every Direction A product */

.story-section {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--ivory);
}

.story-section__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: .82;
  filter: saturate(.9) contrast(1.02);
  transform: scale(1.025);
}

.story-section__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 4, .38) 0%, rgba(5, 5, 4, .22) 46%, rgba(5, 5, 4, .12) 100%),
    linear-gradient(180deg, rgba(5, 5, 4, .04), rgba(5, 5, 4, .12));
}

.story-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - var(--gutter) - var(--gutter)), 1180px);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  display: grid;
  grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.story-title-block,
.story-copy { min-width: 0; }

.story-title-block { display: flex; flex-direction: column; align-items: flex-start; }

.section-number { color: var(--gold); font: 500 .68rem/1 var(--label); letter-spacing: .12em; }

.story-title-block h2 { order: 1; max-width: 18ch; margin: 0; font: 400 clamp(1.75rem, 2.9vw, 2.5rem)/1.18 var(--display); letter-spacing: 0; text-wrap: balance; }
.story-chinese { order: 2; margin: 1rem 0 0; color: var(--gold); font: 400 clamp(1.05rem, 1.7vw, 1.4rem)/1.35 serif; letter-spacing: .14em; }
.story-title__tail,
.story-copy__tail { white-space: nowrap; }
.story-copy { max-width: 620px; }
.story-copy p { margin: 0; color: rgba(246, 243, 235, .86); font: 300 clamp(1rem, 1.3vw, 1.1rem)/1.9 var(--sans); text-wrap: pretty; }
.story-copy p + p { margin-top: 1.4rem; }
.story-copy p:last-child { margin-top: 2.1rem; color: var(--ivory); font-family: var(--display); font-size: 1.3rem; line-height: 1.55; text-wrap: balance; }

/* Closing purchase band */

.closing-cta {
  width: min(calc(100% - var(--gutter) - var(--gutter)), 760px);
  margin: 0 auto;
  border-top: 1px solid var(--line-light);
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(4.5rem, 9vw, 8rem);
  display: grid;
  justify-items: center;
  text-align: center;
}

.closing-cta__chinese { margin: 0 0 .9rem; color: var(--gold-dark); font: 400 clamp(1.35rem, 2.4vw, 1.8rem)/1.3 serif; letter-spacing: .08em; }
.closing-cta h2 { margin: 0 0 .7rem; font: 400 clamp(2.1rem, 3.6vw, 3.1rem)/1.05 var(--display); letter-spacing: 0; }
.closing-cta__intent { margin: 0 0 1.9rem; font: 400 clamp(1.05rem, 1.6vw, 1.25rem)/1.45 var(--display); }
.closing-cta .purchase-cta { width: auto; min-width: 300px; }
.closing-cta .delivery-copy { margin-top: 1.1rem; }
.closing-cta__bundle { margin-top: 1.5rem; color: var(--ink); font-size: .8rem; line-height: 1.5; text-decoration-color: rgba(23, 23, 21, .25); text-underline-offset: .35em; transition: color .25s ease, text-decoration-color .25s ease; }
.closing-cta__bundle:hover { color: var(--gold-dark); text-decoration-color: var(--gold-dark); }

/* FAQ */

.faq-section {
  width: min(calc(100% - var(--gutter) - var(--gutter)), 1240px);
  margin: 0 auto;
  border-top: 1px solid var(--line-light);
  padding: clamp(4.5rem, 9vw, 9rem) 0;
}

.faq-heading { max-width: 720px; margin: 0 auto clamp(3rem, 6vw, 5rem); text-align: center; }
.faq-heading h2 { margin: 0; font: 400 clamp(2.5rem, 5vw, 3.5rem)/1 var(--display); }
.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid rgba(140, 107, 48, .42); }
.faq-item { border-bottom: 1px solid #e3dccf; opacity: 0; transform: translateY(14px); transition: background-color .4s ease, border-color .4s ease, opacity .7s var(--ease), transform .7s var(--ease); }
.faq-section.is-visible .faq-item { opacity: 1; transform: translateY(0); }
.faq-section.is-visible .faq-item:nth-child(2) { transition-delay: .1s; }
.faq-section.is-visible .faq-item:nth-child(3) { transition-delay: .2s; }
.faq-section.is-visible .faq-item:nth-child(4) { transition-delay: .3s; }
.faq-item.is-open { background: rgba(255, 255, 255, .48); border-bottom-color: rgba(140, 107, 48, .42); }
.faq-item h3 { margin: 0; }
.faq-question { width: 100%; min-height: 106px; border: 0; border-radius: 0; padding: 36px 30px; background: transparent; color: var(--ink); display: grid; grid-template-columns: 52px minmax(0, 1fr) 24px; align-items: start; gap: 20px; cursor: pointer; text-align: left; }
.faq-number { margin-top: .32rem; color: var(--gold-dark); font: 600 1.05rem/1 var(--display); font-style: normal; font-variant-numeric: lining-nums tabular-nums; }
.faq-question-text { min-width: 0; font: 400 clamp(1.3rem, 2vw, 1.6rem)/1.4 var(--display); text-wrap: pretty; transition: color .35s ease; }
.faq-question:hover .faq-question-text, .faq-item.is-open .faq-question-text { color: var(--gold-dark); }
.faq-icon { position: relative; justify-self: end; width: 20px; height: 20px; margin-top: .38rem; }
.faq-icon::before, .faq-icon::after { position: absolute; top: 50%; left: 50%; background: var(--gold-dark); content: ""; transition: transform .5s var(--ease), opacity .3s ease; }
.faq-icon::before { width: 20px; height: 1px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1px; height: 20px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-icon::before { transform: translate(-50%, -50%) rotate(180deg); }
.faq-item.is-open .faq-icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.faq-answer { max-height: 0; overflow: hidden; padding: 0; transition: max-height .8s var(--ease); }
.faq-answer-inner { max-width: 70ch; padding: 0 60px 45px 102px; color: #5f5d58; font-size: 1.02rem; font-weight: 400; line-height: 1.85; text-wrap: pretty; opacity: 0; transform: translateY(-5px); transition: opacity .5s ease .1s, transform .5s var(--ease) .1s; }
.faq-item.is-open .faq-answer-inner { opacity: 1; transform: translateY(0); }
.faq-answer p { margin: 0; }

.mobile-buy-bar { display: none; }

/* Access verification — intentionally quiet so the purchase check stays out of the way. */

.verify-main {
  min-height: calc(100svh - var(--lab-h) - var(--header-h));
  background: var(--home-paper);
}

.access-gate {
  min-height: min(72svh, 720px);
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  display: grid;
  place-items: center;
}

.access-gate__inner { width: min(100%, 620px); }
.access-gate__product { margin: 0 0 .8rem; color: var(--gold-dark); font: 500 .72rem/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.access-gate h1 { margin: 0; font: 400 clamp(2.1rem, 3.6vw, 3.3rem)/1.05 var(--display); letter-spacing: 0; }
.access-gate__instruction { margin: 1rem 0 0; color: var(--muted-light); font-size: .95rem; font-weight: 300; line-height: 1.7; }
.access-gate__nowrap { white-space: nowrap; }

.access-gate__form { margin-top: clamp(2.2rem, 5vw, 3.7rem); }
.access-gate__label { display: block; margin-bottom: .6rem; color: var(--muted-light); font: 500 .65rem/1.3 var(--label); letter-spacing: .12em; text-transform: uppercase; }
.access-gate__field { display: flex; align-items: stretch; border-bottom: 1px solid var(--ink); transition: border-color .25s ease; }
.access-gate__field:focus-within { border-color: var(--gold-dark); }
.access-gate__field input { min-width: 0; flex: 1; border: 0; padding: .9rem .15rem .85rem; outline: 0; background: transparent; color: var(--ink); font: 300 1.05rem/1.3 var(--sans); letter-spacing: 0; }
.access-gate__field input::placeholder { color: rgba(23, 23, 21, .42); }
.access-gate__field button { border: 0; padding: .9rem 0 .85rem 1.5rem; background: transparent; color: var(--ink); display: inline-flex; align-items: center; gap: .75rem; cursor: pointer; font: 500 .68rem/1 var(--label); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: color .25s ease; }
.access-gate__field button i { color: var(--gold-dark); font-size: 1.1rem; font-style: normal; transition: transform .3s var(--ease); }
.access-gate__field button:hover { color: var(--gold-dark); }
.access-gate__field button:hover i { transform: translateX(4px); }
.access-gate__field button:disabled { cursor: wait; opacity: .55; }
.access-gate__field button:disabled i { transform: none; }
.access-gate__status { margin: 1rem 0 0; font-size: .82rem; font-weight: 300; line-height: 1.6; }
.access-gate__status[data-state="pending"] { color: var(--gold-dark); }
.access-gate__status[data-state="neutral"] { color: var(--muted-light); }
.access-gate__status[data-state="error"] { color: var(--red); }

/* Access page */

.access-main { min-height: 100svh; }

.access-status {
  width: min(calc(100% - var(--gutter) - var(--gutter)), 1240px);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 6vw, 5.5rem);
}

.access-ready { margin: 0; color: var(--gold-dark); font: 500 .72rem/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.access-status h1 { margin: .9rem 0 .2rem; font: 400 clamp(2.6rem, 4.6vw, 4.4rem)/1 var(--display); letter-spacing: 0; }
.access-status .product-chinese { margin: 0 0 1.4rem; }
.access-instruction { max-width: 46ch; margin: 0; color: var(--muted-light); font-size: .98rem; font-weight: 300; line-height: 1.7; }

.access-delivery { border-top: 1px solid var(--line-light); padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) clamp(5.5rem, 9vw, 8.5rem); background: #f3f2ee; }
.access-delivery__head { width: min(100%, 1240px); margin: 0 auto clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.access-delivery__head h2 { max-width: 12ch; margin: 0; font: 400 clamp(2.4rem, 4.5vw, 4.2rem)/1 var(--display); letter-spacing: 0; }
.access-delivery__head .section-number { display: block; margin-bottom: .8rem; }
.access-delivery__head > p { max-width: 52ch; margin: 0; color: var(--muted-light); font-size: .9rem; font-weight: 300; line-height: 1.75; }

/* Download all */

.download-all {
  width: min(100%, 1240px);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  border: 1px solid rgba(200, 169, 99, .45);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 3.5vw, 3rem);
  background: #10100f;
  color: var(--ivory);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.download-all__copy h3 { margin: 0 0 .6rem; font: 400 clamp(1.7rem, 3vw, 2.5rem)/1.08 var(--display); }
.download-all__copy p { max-width: 52ch; margin: 0; color: var(--muted-dark); font-size: .9rem; font-weight: 300; line-height: 1.7; }

.download-all__cta {
  position: relative;
  min-width: 250px;
  min-height: 62px;
  border: 1px solid var(--gold);
  border-radius: 0;
  padding: .8rem 3.4rem .8rem 1.6rem;
  background: transparent;
  color: var(--gold);
  display: grid;
  align-content: center;
  gap: .35rem;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background-color .3s ease, color .3s ease, transform .3s var(--ease);
}

.download-all__cta > span,
.download-all__cta small,
.download-all__cta i {
  text-decoration: none;
}

.download-all__cta > span { font: 500 .8rem/1 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.download-all__cta small { color: rgba(200, 169, 99, .72); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; transition: color .3s ease; }
.download-all__cta i { position: absolute; top: 50%; right: 1.2rem; font-style: normal; transform: translateY(-50%); transition: transform .3s var(--ease); }
.download-all__cta:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }
.download-all__cta:hover small { color: rgba(5, 5, 4, .68); }
.download-all__cta:hover i { transform: translateY(calc(-50% + 3px)); }

/* Per-composition downloads */

.download-list { width: min(100%, 1240px); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 5rem); }

.download-composition { min-width: 0; display: grid; align-content: start; gap: 1.35rem; }

.download-art {
  position: relative;
  min-width: 0;
  padding: clamp(.65rem, 1.2vw, 1rem);
  background: #11110f;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(.45rem, 1vw, .75rem);
  overflow: hidden;
}

.download-preview {
  min-width: 0;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: .55rem;
}

.download-preview__frame {
  min-height: 220px;
  border: 1px solid rgba(200, 169, 99, .3);
  padding: .55rem;
  background: #080808;
  display: grid;
  place-items: center;
}

.download-preview img { max-width: 100%; max-height: clamp(220px, 28vw, 420px); width: auto; height: auto; }
.download-preview figcaption { color: rgba(246, 243, 235, .58); font: 500 .58rem/1 var(--label); letter-spacing: .12em; text-align: center; text-transform: uppercase; }

.download-copy { min-width: 0; display: grid; gap: 1.3rem; }

.download-copy__title { display: flex; align-items: baseline; gap: 1rem; }
.download-copy__title h2 { margin: 0; font: 400 clamp(1.8rem, 3vw, 2.6rem)/1 var(--display); text-wrap: balance; }
.download-copy__product,
.download-copy__composition { white-space: nowrap; }

.download-actions { border-top: 1px solid var(--line-light); }

.download-button {
  position: relative;
  width: 100%;
  min-height: 64px;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  padding: .7rem 3.6rem .7rem 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: color .25s ease;
}

.download-button > span { font: 400 1.05rem/1.3 var(--display); text-decoration: none; }
.download-button i {
  position: absolute;
  top: 50%;
  right: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  transform: translateY(-50%);
  transition: border-color .24s ease, background-color .24s ease, color .24s ease;
}

.download-button:hover { color: var(--gold-dark); }
.download-button:hover i { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.download-button.is-placeholder { cursor: pointer; }

/* Narrow desktop layouts need more room for the story title and a single
   orderly bundle selector column. */
@media (max-width: 1180px) and (min-width: 981px) {
  .artwork-controls--bundle {
    grid-template-columns: 1fr;
  }

  .composition-switch--bundle {
    grid-template-columns: 1fr;
  }

  .artwork-controls--bundle .format-switch { justify-self: start; }

  .story-inner {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(2.25rem, 5vw, 4.5rem);
  }

  .story-title-block h2 { font-size: clamp(1.72rem, 2.5vw, 2.25rem); }
  .story-copy p { font-size: clamp(.94rem, 1.2vw, 1rem); line-height: 1.78; }
  .story-copy p:last-child { font-size: 1.15rem; line-height: 1.5; }
}

/* Tablet */

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .lab-bar__direction { display: none; }
  .lab-bar { grid-template-columns: auto 1fr auto; }
  .site-header__inner { min-height: var(--header-h); }
  .desktop-nav { display: none; }
  .mobile-toggle { display: block; justify-self: end; }

  .product-hero { grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr); }
  .product-art-column { padding-right: clamp(1rem, 3vw, 2rem); }
  .purchase-panel { padding-left: clamp(1.5rem, 3.5vw, 2.75rem); }
  .purchase-panel h1 { font-size: clamp(2.1rem, 4vw, 2.8rem); }

  .artwork-controls { flex-direction: column; align-items: stretch; gap: 1rem; }
  .composition-switch { justify-content: flex-start; }
  .format-switch { align-self: flex-start; }
  .artwork-controls--bundle { display: grid; grid-template-columns: 1fr; }
  .composition-switch--bundle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artwork-controls--bundle .format-switch { justify-self: start; }

  .story-inner { grid-template-columns: 1fr; gap: 2.4rem; }

  .download-list { grid-template-columns: 1fr; }
  .download-preview__frame { min-height: 190px; }
  .download-preview img { max-height: clamp(190px, 31vw, 360px); }
}

/* Mobile */

@media (max-width: 760px) {
  :root { --gutter: clamp(1.15rem, 5vw, 2rem); --lab-h: 42px; }
  .lab-bar { min-height: var(--lab-h); gap: .65rem; }
  .lab-bar__nav { justify-self: center; gap: .8rem; }
  .lab-notes-toggle { padding: 0 .55rem; }
  .lab-toast {
    position: static;
    z-index: auto;
    display: none;
    max-width: none;
    margin: 1rem 0 0;
    opacity: 0;
    transform: none;
  }
  .lab-toast.is-visible { display: block; opacity: 1; transform: none; }
  .site-header__inner { width: calc(100% - var(--gutter) - var(--gutter)); }
  .logo-crop { width: 9rem; }
  .page-switch { width: calc(100% - var(--gutter) - var(--gutter)); justify-content: flex-start; }

  .product-hero { width: 100%; min-height: 0; display: flex; flex-direction: column; }
  .product-art-column { order: 2; padding: 0; }
  .purchase-panel { display: contents; border: 0; }
  .purchase-intro { order: 1; padding: 2.1rem var(--gutter) 1.5rem; }
  .purchase-block { order: 3; padding: 1.5rem var(--gutter) 3rem; }

  .purchase-intro .collection-name { display: block; margin-bottom: .55rem; }
  .purchase-panel h1 { display: inline; max-width: none; margin: 0; font-size: clamp(1.9rem, 8.2vw, 2.4rem); }
  .purchase-intro .product-chinese { display: inline; margin-left: .55rem; font-size: 1rem; white-space: nowrap; }
  .product-intent { margin-top: 1.1rem; font-size: 1.05rem; }
  .product-specs li { font-size: .92rem; }
  .purchase-line { margin-top: 1.25rem; }

  .artwork-viewer { grid-template-rows: auto auto; height: auto; gap: 0; }
  .artwork-stage-wrap { display: grid; place-items: center; height: clamp(430px, 66svh, 570px); }
  .artwork-controls { padding: 1rem var(--gutter) 0; align-items: stretch; }
  .composition-switch { justify-content: space-between; gap: 1rem; }
  .composition-switch--bundle { grid-template-columns: 1fr; gap: .6rem; }
  .bundle-composition-group { padding-bottom: .65rem; }
  .format-switch { align-self: stretch; }
  .artwork-controls--bundle .format-switch { width: 100%; }
  .format-choice { flex: 1; min-width: 0; min-height: 40px; }

  .mobile-buy-bar {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 66px;
    border-top: 1px solid rgba(200, 169, 99, .35);
    padding: .6rem var(--gutter);
    background: rgba(5, 5, 4, .94);
    color: var(--ivory);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(16px);
    transform: translateY(102%);
    transition: transform .45s var(--ease);
  }
  .mobile-buy-bar.is-visible { transform: translateY(0); }
  .mobile-buy-bar span { font: 400 1.5rem/1 var(--display); font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }
  .mobile-buy-bar a { min-height: 46px; border: 1px solid var(--ivory); display: flex; align-items: center; justify-content: center; font: 500 .68rem/1 var(--label); letter-spacing: .1em; text-decoration: none; text-transform: uppercase; white-space: nowrap; transition: border-color .25s ease, color .25s ease; }
  .mobile-buy-bar a:hover { border-color: var(--gold); color: var(--gold); }
  .product-page .site-footer { padding-bottom: 66px; }

  .story-inner { width: calc(100% - var(--gutter) - var(--gutter)); padding: 4.5rem 0; }
  .story-section__background { object-position: 58% 50%; }
  .story-section__veil { background: linear-gradient(180deg, rgba(5, 5, 4, .34), rgba(5, 5, 4, .2)); }
  .story-chinese { font-size: clamp(1.05rem, 5.2vw, 1.35rem); }
  .story-title-block h2 { font-size: clamp(1.65rem, 7.4vw, 2.1rem); }

  .closing-cta { width: calc(100% - var(--gutter) - var(--gutter)); padding: 3.5rem 0 4rem; }
  .closing-cta h2 { font-size: clamp(1.9rem, 8.5vw, 2.5rem); }
  .closing-cta .purchase-cta { width: 100%; min-width: 0; }

  .faq-section { width: calc(100% - var(--gutter) - var(--gutter)); padding: 4rem 0 3rem; }
  .faq-heading { margin-bottom: 2.4rem; }
  .faq-question { min-height: 84px; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 12px; padding: 24px 16px; }
  .faq-number { margin-top: .2rem; font-size: .95rem; }
  .faq-question-text { font-size: 1.22rem; }
  .faq-answer-inner { padding: 0 16px 32px 68px; font-size: .95rem; }

  .access-status { width: calc(100% - var(--gutter) - var(--gutter)); padding: 3.25rem 0 2.75rem; }
  .access-status h1 { margin-top: .6rem; font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .access-gate { min-height: 62svh; place-items: start center; padding: 4.5rem var(--gutter) 5.5rem; }
  .access-gate h1 { font-size: clamp(2rem, 8vw, 2.7rem); }
  .access-gate__instruction { max-width: 42ch; font-size: .92rem; }
  .access-gate__field button { padding-left: 1rem; }
  .access-delivery { padding: 3.25rem var(--gutter) 5rem; }
  .access-delivery__head { grid-template-columns: 1fr; gap: 1.3rem; margin-bottom: 2.5rem; }
  .access-delivery__head h2 { max-width: none; font-size: clamp(2.3rem, 10.5vw, 3.2rem); }

  .download-all { grid-template-columns: 1fr; gap: 1.6rem; margin-bottom: 3rem; }
  .download-all__cta { width: 100%; min-width: 0; }

  .download-list { grid-template-columns: 1fr; gap: 3rem; }
  .download-preview__frame { min-height: 180px; padding: .4rem; }
  .download-preview img { max-height: 230px; }
  .download-button { min-height: 60px; }

  .site-footer__inner { grid-template-columns: 1fr 1fr; min-height: 0; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__contact { justify-self: end; text-align: right; }
}

@media (max-width: 430px) {
  .lab-bar__brand { font-size: .57rem; }
  .lab-bar__nav { gap: .65rem; }
  .lab-bar__nav a { font-size: .56rem; }
  .logo-crop { width: 8.6rem; }
  .page-switch { gap: 1rem; }
  .page-switch a { font-size: .62rem; }

  .purchase-panel h1 { font-size: clamp(1.85rem, 8vw, 2.2rem); }
  .mobile-buy-bar { min-height: 62px; }

  .download-preview__frame { min-height: 150px; }
  .download-preview img { max-height: 190px; }
  .download-copy__title h2 { font-size: 1.9rem; }

  .site-footer__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-footer__brand,
  .site-footer nav,
  .site-footer__contact { grid-column: 1; justify-self: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Formal-site integration: the Astro shell owns the header and footer. */
body.blessing-product-route,
body.blessing-access-route,
body.blessing-verify-route {
  background: var(--home-paper);
  color: var(--ink);
}

body.blessing-product-route #main,
body.blessing-access-route #main,
body.blessing-verify-route #main {
  padding-top: var(--do-header-h, 76px);
}

body.blessing-product-route .product-hero {
  min-height: calc(100svh - var(--do-header-h, 76px));
}

body.blessing-access-route .access-main {
  min-height: calc(100svh - var(--do-header-h, 76px));
}

body.blessing-verify-route .verify-main {
  min-height: calc(100svh - var(--do-header-h, 76px));
}

@media (min-width: 981px) {
  body.blessing-product-route .product-art-column {
    top: var(--do-header-h, 76px);
    height: calc(100svh - var(--do-header-h, 76px));
  }
}

/* Blessing detail and download pages open with a solid dark header. Once the
   visitor scrolls, the shared shell resumes its contextual light/dark theme
   with a more legible glass surface. Other Astro routes remain untouched. */
body:is(.blessing-product-route, .blessing-access-route)
  .do-header:not(.is-scrolled):not(.is-menu-open) {
  color: var(--do-ivory, #f6f3eb);
}

body:is(.blessing-product-route, .blessing-access-route)
  .do-header:not(.is-scrolled):not(.is-menu-open)::before {
  background: rgba(5, 5, 4, .98);
  opacity: 1;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body:is(.blessing-product-route, .blessing-access-route)
  .do-header:not(.is-scrolled):not(.is-menu-open)
  .do-logo-image--light {
  opacity: 1;
}

body:is(.blessing-product-route, .blessing-access-route)
  .do-header:not(.is-scrolled):not(.is-menu-open)
  .do-logo-image--dark {
  opacity: 0;
}

body:is(.blessing-product-route, .blessing-access-route)
  .do-header:not(.is-scrolled):not(.is-menu-open)
  :where(.do-nav-link, .do-about-trigger) {
  color: rgba(246, 243, 235, .9);
}

body:is(.blessing-product-route, .blessing-access-route)
  .do-header.is-scrolled[data-theme="light"]::before {
  background: rgba(246, 243, 235, .68);
  opacity: 1;
}

body:is(.blessing-product-route, .blessing-access-route)
  .do-header.is-scrolled[data-theme="dark"]::before {
  background: rgba(5, 5, 4, .74);
  opacity: 1;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body:is(.blessing-product-route, .blessing-access-route)
    .do-header.is-scrolled[data-theme="light"]::before {
    background: rgba(246, 243, 235, .62);
    -webkit-backdrop-filter: blur(21px) saturate(124%) brightness(1.02);
    backdrop-filter: blur(21px) saturate(124%) brightness(1.02);
  }

  body:is(.blessing-product-route, .blessing-access-route)
    .do-header.is-scrolled[data-theme="dark"]::before {
    background: rgba(5, 5, 4, .68);
    -webkit-backdrop-filter: blur(21px) saturate(122%) brightness(.94);
    backdrop-filter: blur(21px) saturate(122%) brightness(.94);
  }
}

@media (max-width: 900px) {
  body:is(.blessing-product-route, .blessing-access-route)
    .do-header.is-scrolled:not(.is-menu-open)::before {
    background: rgba(5, 5, 4, .72);
    opacity: 1;
  }

  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    body:is(.blessing-product-route, .blessing-access-route)
      .do-header.is-scrolled:not(.is-menu-open)::before {
      background: rgba(5, 5, 4, .64);
      -webkit-backdrop-filter: blur(20px) saturate(122%) brightness(.92);
      backdrop-filter: blur(20px) saturate(122%) brightness(.92);
    }
  }
}
