/* ==========================================================================
   INNOVARE — Website Design System v1
   Implements: Brand Bible Vol.1 · Creative Direction Master Brief v1 ·
               Website Design System v1 · Homepage Implementation Guide

   Order: tokens · reset · typography · layout · header · hero · components ·
          panels · sections · footer · motion · responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Colour — Design System v1, "Colour Tokens" */
  --ivory-100: #f4f1ec;
  --ivory-50: #faf8f5;
  --soft-white: #fcfbf8;
  --warm-white: #f7f4ef;
  --stone-light: #e8e3dc;
  --stone-mid: #d9d3cb;
  --ink: #121212;
  --charcoal: #33312f;
  --muted: #716b64;
  --champagne-gold: #a48963;
  --light-gold: #b9a17c;
  /* Champagne gold is 2.94:1 on ivory — below AA for the 11px eyebrow the guide
     specifies. Decorative gold (rules, borders, hairlines) keeps the exact brand
     hex; small gold TEXT on light surfaces uses this darker tint of the same hue
     at 4.8:1. Documented deviation — see README, "Known deviations". */
  --gold-text: #7d6642;

  /* Dark surfaces, sampled from the brand binder's own art direction.
     Documented extension to the token set — surfaces only, not accents. */
  --obsidian: #070707;
  --rituals-ground: #180e0b;
  --medical-ground: #04130d;

  /* Type */
  --font-display: "Cormorant Garamond", Canela, Georgia, "Times New Roman", serif;
  --font-ui: "Inter", "Neue Haas Grotesk", Helvetica, Arial, sans-serif;

  /* Layout — 1440px frame, 1280px content, 8px scale */
  --frame: 1440px;
  --content: 1280px;
  --gutter: 3.5vw;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --section: clamp(88px, 11vw, 160px);
  --header-height: 100px;

  /* Motion — fade and translate only, 200–900ms */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fast: 220ms;
  --slow: 900ms;

  /* Panel defaults, overridden per surface */
  --panel-bg: var(--ivory-50);
  --panel-ink: var(--ink);
  --panel-body: var(--charcoal);
  --panel-muted: var(--muted);
  --panel-rule: var(--stone-light);
  --panel-accent: var(--champagne-gold);
  --panel-accent-text: var(--gold-text);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory-100);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.7;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

/* Focus — Implementation Guide 10.2. Never removed. */
a:focus-visible,
button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--soft-white);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

.display,
.section-title,
.hero-title,
.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-variant-ligatures: common-ligatures;
}

/* Editorial headline, uppercase — hero and page openers */
.display {
  margin: 0;
  font-size: clamp(42px, 5vw, 88px);
  line-height: 0.98;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  /* Safety net: a long uppercase word would otherwise overflow its box and
     scroll the page sideways rather than wrap. */
  overflow-wrap: break-word;
}

/* Section headline, sentence case — the binder's own editorial voice */
.section-title {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.14;
  letter-spacing: 0.005em;
  overflow-wrap: break-word;
}

.section-title--tight {
  max-width: 16ch;
}

.eyebrow {
  margin: 0 0 var(--space-4);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--panel-accent-text);
}

.overline {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--panel-muted);
}

.lead {
  font-family: var(--font-display);
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.45;
  color: var(--panel-ink);
}

.prose p {
  margin: 0 0 1.35em;
  max-width: 62ch;
  color: var(--panel-body);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose--wide p {
  max-width: 72ch;
}

.accent {
  color: var(--panel-accent-text);
}

/* Hairline rule used as a section article — Brand Bible §10 */
.rule {
  width: 56px;
  height: 1px;
  margin: var(--space-5) 0;
  border: 0;
  background: var(--panel-accent);
  opacity: 0.75;
}

.rule--full {
  width: 100%;
  background: var(--panel-rule);
  opacity: 1;
}

/* Statement line that closes a section */
.statement {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.3;
  color: var(--panel-ink);
}

.statement--spaced {
  font-family: var(--font-ui);
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.shell {
  width: min(100% - (2 * var(--gutter)), var(--content));
  margin-inline: auto;
}

.shell--frame {
  width: min(100% - (2 * var(--gutter)), var(--frame));
}

.section {
  padding-block: var(--section);
  background: var(--panel-bg);
  color: var(--panel-ink);
}

.section--flush-top {
  padding-block-start: 0;
}

/* 12-column grid — Design System v1, "Grid & Layout".
   Tracks are minmax(0, 1fr): a bare `1fr` keeps an `auto` minimum, which refuses
   to shrink below content and forces horizontal scroll on narrow viewports. */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6) var(--space-5);
}

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* Right-aligned columns. Declared as classes, never inline styles, so the
   responsive collapse below can override them. */
.col-end-4 { grid-column: 9 / span 4; }
.col-end-5 { grid-column: 8 / span 5; }

.stack > * + * {
  margin-top: var(--space-4);
}

.stack--tight > * + * {
  margin-top: var(--space-2);
}

.stack--loose > * + * {
  margin-top: var(--space-6);
}

.measure {
  max-width: 62ch;
}

.center {
  text-align: center;
  margin-inline: auto;
}

.center .rule,
.center .eyebrow {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   5. Header — transparent, wordmark centred to the viewport
   -------------------------------------------------------------------------- */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  /* Symmetric outer columns keep the centre column viewport-centred, so the
     wordmark stays mathematically centred however the nav widths differ. */
  grid-template-columns: minmax(64px, auto) 1fr minmax(clamp(180px, 22vw, 300px), auto) 1fr minmax(64px, auto);
  align-items: center;
  min-height: var(--header-height);
  padding-inline: var(--gutter);
  color: var(--ink);
  transition: background-color var(--slow) var(--ease), color var(--slow) var(--ease);
}

/* Pages that open on a dark ground need the header inverted. Scoped to the
   non-sticky state: once the header gains its ivory backdrop on scroll it must
   return to ink — and the mark swaps back to the ink variant with it. */
.site-header--dark:not([data-sticky="true"]) {
  color: var(--ivory-50);
}

.site-header--dark:not([data-sticky="true"]) .brand-symbol--ink,
.site-header--dark[data-sticky="true"] .brand-symbol--silver {
  display: none;
}

/* Sticky only after scrolling — Design System v1, "Header" */
.site-header[data-sticky="true"] {
  position: fixed;
  min-height: 76px;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stone-light);
}

.site-header[data-hidden="true"] {
  transform: translateY(-100%);
}

.site-header[data-sticky="true"] {
  transition: background-color var(--fast) var(--ease), transform 420ms var(--ease);
}

.brand-symbol {
  grid-column: 1;
  display: block;
  width: clamp(38px, 3.4vw, 52px);
}

.brand-symbol img {
  width: 100%;
  height: auto;
}

/* Light-ground pages ship only the ink mark; dark-ground pages carry both and the
   header state above chooses. Without this the silver variant would also render on
   light pages that never reference it. */
.site-header:not(.site-header--dark) .brand-symbol--silver {
  display: none;
}

.brand-wordmark {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(26px, 2.6vw, 46px);
  line-height: 1;
  letter-spacing: 0.22em;
  /* Letter-spacing adds a trailing space after the final glyph, so the box is
     0.22em wider than the visible word. Centring the box would sit the word
     0.11em left of true centre; this nudges it back. */
  text-indent: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 60px);
}

.nav--left {
  grid-column: 2;
}

.nav--right {
  grid-column: 4;
  justify-content: flex-end;
}

.nav a {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--fast) var(--ease);
}

.nav a:hover {
  opacity: 0.55;
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--champagne-gold);
}

.menu-button {
  grid-column: 5;
  justify-self: end;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 10px 0;
}

.menu-button span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform var(--fast) var(--ease), opacity var(--fast) var(--ease);
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Full-screen overlay menu */
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 19;
  display: grid;
  place-items: center;
  padding: var(--header-height) var(--gutter) var(--space-6);
  background: var(--ivory-50);
  opacity: 0;
  pointer-events: none;
  /* Only opacity animates. Reachability is carried by the `inert` attribute,
     which the markup sets by default and the script clears on open — so the
     panel is never a focus trap of invisible links, and never depends on a
     transition having ticked to become usable. */
  transition: opacity 320ms var(--ease);
}

.menu-panel[inert] {
  opacity: 0;
}

.menu-panel[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel nav {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.6vw, 20px);
  max-width: 100%;
  text-align: center;
}

.menu-panel nav > * {
  overflow-wrap: break-word;
}

.menu-panel a {
  font-family: var(--font-display);
  font-size: clamp(22px, 6.2vw, 56px);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--fast) var(--ease);
}

.menu-panel a:hover {
  color: var(--champagne-gold);
}

.menu-panel .overline {
  margin-top: var(--space-6);
}

/* --------------------------------------------------------------------------
   6. Hero — Implementation Guide §5–§7
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ivory-100);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Readability wash — left-weighted, never a visible rectangle */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(235, 230, 223, 0.56) 0%,
    rgba(242, 239, 234, 0.25) 30%,
    rgba(255, 255, 255, 0) 58%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  /* Guide §7.1 — 88%, deliberately inset further than the header's 3.5vw so the
     headline sits inboard of the symbol, as in the approved reference. */
  width: min(88%, var(--frame));
  min-height: 100svh;
  margin-inline: auto;
}

.hero-copy {
  position: absolute;
  left: 0;
  top: 43%;
  transform: translateY(-35%);
  /* Wide enough for "BEAUTIFULLY." — the longest word — at the largest headline
     size, so the break-word safety net never actually fires. 36vw tracks the
     headline's own 5vw; the 640px cap covers the range where the font is capped
     at 88px but the viewport keeps growing. */
  width: min(640px, 36vw);
}

.hero-eyebrow {
  margin: 0 0 30px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.hero-title {
  margin: 0;
  font-size: clamp(46px, 5vw, 88px);
  line-height: 0.98;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.hero-description {
  margin: 38px 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.hero-coordinates {
  position: absolute;
  z-index: 10;
  right: 3.3vw;
  top: 48%;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--charcoal);
  white-space: nowrap;
}

.hero-coordinates i {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--charcoal);
  opacity: 0.5;
}

.scroll-indicator {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
  text-decoration: none;
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-indicator i {
  display: block;
  width: 1px;
  height: 46px;
  background: var(--charcoal);
  opacity: 0.55;
  transition: height var(--fast) var(--ease);
}

.scroll-indicator:hover i {
  height: 58px;
}

/* --------------------------------------------------------------------------
   7. Components
   -------------------------------------------------------------------------- */

/* Primary button — 1px champagne border, uppercase, 0 radius */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 54px;
  min-width: 255px;
  min-height: 44px;
  padding: 19px 22px;
  border: 1px solid rgba(164, 137, 99, 0.7);
  color: var(--panel-ink);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-color 260ms var(--ease), color 260ms var(--ease),
    border-color 260ms var(--ease), transform 260ms var(--ease);
}

.cta:hover {
  color: var(--soft-white);
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.hero-cta {
  margin-top: 34px;
}

/* On dark surfaces the fill inverts to the panel's own light tone */
.panel--dark .cta:hover {
  color: var(--obsidian);
  background: var(--ivory-50);
  border-color: var(--ivory-50);
}

/* Secondary — text link with an understated underline */
.link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--panel-accent);
  color: var(--panel-ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: gap var(--fast) var(--ease), color var(--fast) var(--ease);
  /* Inline-flex inside a column flex card would stretch the underline to the
     full card width; anchor it to the text. */
  align-self: start;
}

.link:hover {
  gap: 18px;
  color: var(--panel-accent-text);
}

/* Card — flat, spacious, no shadow */
.card {
  padding: var(--space-4);
  border-top: 1px solid var(--panel-rule);
  background: transparent;
}

.card__index {
  display: block;
  margin-bottom: var(--space-3);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--panel-accent-text);
}

.card__title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.2;
}

.card__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--panel-body);
}

.card--linked {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-decoration: none;
  transition: border-color var(--fast) var(--ease);
}

.card--linked:hover {
  border-top-color: var(--panel-accent);
}

.card--linked .card__title {
  transition: color var(--fast) var(--ease);
}

.card--linked:hover .card__title {
  color: var(--panel-accent-text);
}

/* Definition rows — actives, specifications */
.spec {
  display: grid;
  grid-template-columns: minmax(150px, 0.4fr) 1fr;
  gap: var(--space-3) var(--space-5);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--panel-rule);
}

.spec dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--panel-ink);
}

.spec dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--panel-body);
}

/* Enumerated list with hairline separators */
.list-rule li {
  padding: var(--space-3) 0;
  border-top: 1px solid var(--panel-rule);
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.35;
}

.list-rule li:last-child {
  border-bottom: 1px solid var(--panel-rule);
}

.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  height: auto;
}

/* Slim vertical accent: the source crop is ~1:8, which would otherwise render
   thousands of pixels tall at full column width. */
.figure--accent {
  height: clamp(320px, 34vw, 560px);
  overflow: hidden;
}

/* <picture> is the img's containing block, so it needs the height too — a
   percentage height against an auto-height parent silently resolves to auto. */
.figure--accent picture {
  display: block;
  height: 100%;
}

.figure--accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure figcaption {
  margin-top: var(--space-3);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--panel-muted);
}

.mark {
  width: clamp(56px, 6vw, 84px);
  /* The width/height content attributes land as presentational hints, so a CSS
     width alone leaves the intrinsic height in place and stretches the mark. */
  height: auto;
  margin-inline: auto;
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   8. Panels — surface variants
   -------------------------------------------------------------------------- */

.panel--soft {
  --panel-bg: var(--soft-white);
}

.panel--ivory {
  --panel-bg: var(--ivory-100);
}

.panel--warm {
  --panel-bg: var(--warm-white);
}

.panel--stone {
  --panel-bg: var(--stone-light);
  --panel-rule: var(--stone-mid);
}

.panel--dark {
  --panel-bg: var(--obsidian);
  --panel-ink: var(--ivory-50);
  --panel-body: rgba(244, 241, 236, 0.74);
  --panel-muted: rgba(244, 241, 236, 0.5);
  --panel-rule: rgba(244, 241, 236, 0.16);
  --panel-accent: var(--light-gold);
  --panel-accent-text: var(--light-gold);
}

.panel--rituals {
  --panel-bg: var(--rituals-ground);
}

.panel--medical {
  --panel-bg: var(--medical-ground);
  --panel-accent: #cbb98f;
  --panel-accent-text: #cbb98f;
}

/* --------------------------------------------------------------------------
   9. Section compositions
   -------------------------------------------------------------------------- */

/* Editorial split: copy one side, image the other */
.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6) var(--space-6);
  align-items: center;
}

.split__copy {
  grid-column: span 6;
}

.split__media {
  grid-column: span 6;
}

.split--reverse .split__copy {
  grid-column: 7 / span 6;
  grid-row: 1;
}

.split--reverse .split__media {
  grid-column: 1 / span 6;
  grid-row: 1;
}

.split--narrow-media .split__copy {
  grid-column: span 7;
}

.split--narrow-media .split__media {
  grid-column: 9 / span 4;
}

/* Full-bleed band with an image behind */
.band {
  position: relative;
  overflow: hidden;
  background: var(--panel-bg);
  color: var(--panel-ink);
}

.band__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.band__media picture {
  display: block;
  height: 100%;
}

.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.band__inner {
  position: relative;
  z-index: 2;
  padding-block: var(--section);
}

/* Column set used for the three/four brand pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-5);
}

.pillars--tight {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-4);
}

.pillar {
  padding-top: var(--space-4);
  border-top: 1px solid var(--panel-rule);
}

.pillar h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1.25;
}

.pillar p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--panel-body);
}

.pillar .overline {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--panel-accent-text);
}

/* Vertical-rule column set — the credibility and concern strips in the comps
   separate items with hairlines between, not above. */
.pillars--divided {
  gap: 0;
}

.pillars--divided .pillar {
  padding: var(--space-2) var(--space-5);
  border-top: 0;
  border-left: 1px solid var(--panel-rule);
}

.pillars--divided .pillar:first-child {
  padding-left: 0;
  border-left: 0;
}

/* Named product feature: portrait bottle/jar beside its story */
.product {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: center;
}

.product__media {
  grid-column: span 5;
}

.product__copy {
  grid-column: 7 / span 6;
}

.product--reverse .product__media {
  grid-column: 8 / span 5;
  grid-row: 1;
}

.product--reverse .product__copy {
  grid-column: 1 / span 6;
  grid-row: 1;
}

.product__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 400;
  line-height: 1.1;
  overflow-wrap: break-word;
}

.product__tagline {
  margin: var(--space-3) 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 1.8vw, 26px);
  color: var(--panel-accent-text);
}

/* Quiet full-width statement band that closes a chapter */
.coda {
  padding-block: clamp(96px, 12vw, 180px);
  background: var(--panel-bg);
  color: var(--panel-ink);
  text-align: center;
}

.coda .display,
.coda .section-title {
  margin-inline: auto;
}

.coda .cta {
  margin-top: var(--space-6);
}

/* Two CTAs side by side, as in the closing comp */
.cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.cta-pair .cta {
  min-width: 230px;
  gap: 32px;
}

/* Page opener for inner pages */
.page-head {
  padding-block: calc(var(--header-height) + var(--space-7)) var(--section);
  background: var(--panel-bg);
  color: var(--panel-ink);
}

/* A step below the hero in hierarchy, and small enough that the longest word in
   a page title still fits the 390px content column without breaking. */
.page-head .display {
  max-width: 18ch;
  font-size: clamp(36px, 4.6vw, 72px);
}

/* Contact form */
.form {
  display: grid;
  gap: var(--space-4);
  max-width: 640px;
}

.field {
  display: grid;
  gap: var(--space-1);
}

.field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--panel-muted);
}

.field input,
.field select,
.field textarea {
  padding: 14px 16px;
  border: 1px solid var(--stone-mid);
  border-radius: 0;
  background: var(--soft-white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color var(--fast) var(--ease);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--champagne-gold);
}

.form button {
  justify-self: start;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-block: var(--section) var(--space-6);
  background: var(--obsidian);
  color: var(--ivory-50);
  --panel-ink: var(--ivory-50);
  --panel-body: rgba(244, 241, 236, 0.7);
  --panel-muted: rgba(244, 241, 236, 0.48);
  --panel-rule: rgba(244, 241, 236, 0.16);
  --panel-accent: var(--light-gold);
}

.site-footer .brand-wordmark {
  position: static;
  transform: none;
  display: block;
  font-size: clamp(30px, 4vw, 52px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6) var(--space-5);
  padding-bottom: var(--space-7);
}

.footer-brand {
  grid-column: span 4;
}

.footer-col {
  grid-column: span 2;
}

.footer-col:first-of-type {
  grid-column: 6 / span 2;
}

.footer-col h2 {
  margin: 0 0 var(--space-3);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--panel-muted);
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a {
  font-size: 14px;
  text-decoration: none;
  color: rgba(244, 241, 236, 0.82);
  transition: color var(--fast) var(--ease);
}

.footer-col a:hover {
  color: var(--light-gold);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-5);
  border-top: 1px solid var(--panel-rule);
}

.footer-base p,
.footer-base a {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--panel-muted);
  text-decoration: none;
}

.footer-base a:hover {
  color: var(--light-gold);
}

/* --------------------------------------------------------------------------
   11. Motion — fade and translate only, 200–900ms
   -------------------------------------------------------------------------- */

/* Every hidden-then-revealed state is gated behind `.js`, which the document sets
   in <head> before first paint. Without scripting the content is simply visible —
   never a permanently blank page. */

/* Uses the independent `translate` property, not `transform`. Several revealed
   elements carry their own layout transform (the viewport-centred wordmark, the
   rotated coordinates, the centred scroll indicator) and animating `transform`
   here would overwrite it — throwing the wordmark off centre. */
.js .reveal {
  opacity: 0;
  translate: 0 18px;
  animation: reveal var(--slow) var(--ease) forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* Hero choreography — Implementation Guide §9 */
.js .hero .brand-wordmark { animation-delay: 150ms; }
.js .hero .nav,
.js .hero .menu-button { animation-delay: 250ms; }
.js .hero-eyebrow { animation-delay: 400ms; }
.js .hero-title { animation-delay: 500ms; }
.js .hero-description { animation-delay: 700ms; }
.js .hero-cta { animation-delay: 850ms; }
.js .hero-coordinates,
.js .scroll-indicator { animation-delay: 1000ms; }

.hero-background img {
  animation: hero-settle 14s var(--ease) forwards;
}

@keyframes hero-settle {
  from { transform: scale(1.025); }
  to { transform: scale(1); }
}

/* In-view reveal for sections below the fold */
.js .in-view {
  opacity: 0;
  translate: 0 20px;
  transition: opacity 700ms var(--ease), translate 700ms var(--ease);
}

.js .in-view[data-visible="true"] {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal,
  .js .in-view {
    opacity: 1;
    translate: none;
  }
}

/* --------------------------------------------------------------------------
   12. Responsive — tablet 768–1199, mobile <768
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  :root {
    --gutter: 4vw;
  }

  .nav {
    display: none;
  }

  /* The guide's tablet pair (390px column, 6.5vw headline) cannot both hold:
     "BEAUTIFULLY." needs ~6.94x the font size in width, so 6.5vw type requires a
     45vw column. Widened slightly and the type eased to 6.2vw to keep the
     one-word-per-line composition intact. */
  .hero-copy {
    width: min(560px, 46vw);
  }

  .hero-title {
    font-size: clamp(46px, 6.2vw, 72px);
  }

  /* The track COUNT has to drop, not just the spans. A 12-track grid keeps its
     11 column-gaps even when every item spans 12, and 11 x 48-64px of gap alone
     is wider than a phone viewport — which is what pushed the page sideways. */
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split__copy,
  .split__media,
  .split--reverse .split__copy,
  .split--reverse .split__media,
  .split--narrow-media .split__copy,
  .split--narrow-media .split__media,
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-12,
  .col-end-4,
  .col-end-5 {
    grid-column: auto;
    grid-row: auto;
  }

  .split--reverse .split__media {
    grid-row: 1;
  }

  .product {
    grid-template-columns: minmax(0, 1fr);
  }

  .product__media,
  .product__copy,
  .product--reverse .product__media,
  .product--reverse .product__copy {
    grid-column: auto;
    grid-row: auto;
  }

  .product--reverse .product__media {
    grid-row: 1;
  }

  .pillars--divided .pillar {
    padding: var(--space-3) 0;
    border-left: 0;
    border-top: 1px solid var(--panel-rule);
  }

  .pillars--divided .pillar:first-child {
    border-top: 1px solid var(--panel-rule);
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col,
  .footer-col:first-of-type {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 22px;
    --header-height: 78px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    grid-template-columns: 1fr auto 1fr;
    min-height: var(--header-height);
  }

  .menu-button {
    grid-column: 3;
  }

  .brand-wordmark {
    font-size: 24px;
    letter-spacing: 0.16em;
    text-indent: 0.08em;
  }

  .brand-symbol {
    width: 42px;
  }

  /* Mobile is art-directed separately, not a shrunken desktop */
  .hero-copy {
    top: auto;
    bottom: 88px;
    left: 0;
    width: 100%;
    transform: none;
  }

  .hero-title {
    font-size: clamp(34px, 10.8vw, 52px);
    line-height: 0.96;
    letter-spacing: 0.02em;
  }

  .hero-eyebrow {
    margin-bottom: 20px;
  }

  .hero-description {
    margin-top: 26px;
    font-size: 10px;
    line-height: 1.7;
  }

  .hero-cta {
    gap: 32px;
    min-width: min(100%, 260px);
    margin-top: 26px;
  }

  .hero-coordinates,
  .scroll-indicator {
    display: none;
  }

  .hero-background img {
    object-position: 61% center;
  }

  .hero::after {
    background: linear-gradient(
      0deg,
      rgba(235, 230, 223, 0.94) 0%,
      rgba(235, 230, 223, 0.56) 35%,
      rgba(255, 255, 255, 0) 62%
    );
  }

  .card {
    padding: var(--space-3);
  }

  .spec {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5) var(--space-4);
  }

  .footer-base {
    justify-content: flex-start;
  }
}
