/* ==========================================================================
   SIORELLA — web identity
   The packaging system (Arial, cream/black cartons, one gold rule) lives on the
   products and inside the SVG renders. This stylesheet is the *screen* identity:
   a light couture serif at editorial scale, a geometric sans for structure,
   layered warm neutrals, film grain, and slow motion.
   The one rule carried over intact: gold is a hairline, never a fill.
   ========================================================================== */

:root {
  /* brand core — unchanged from the packaging spec */
  --cream:  #FAF8F5;
  --sand:   #F0EDE8;
  --ink:    #111111;
  --gold:   #C9A84C;
  --sage:   #555550;

  /* screen extensions — tonal depth the carton doesn't need */
  --linen:  #EDE7DE;
  --shell:  #E4DCD1;
  --coal:   #0E0E0C;
  --carbon: #1A1916;
  --mist:   rgba(17, 17, 17, 0.52);
  --hair:   rgba(17, 17, 17, 0.11);
  --hair-l: rgba(250, 248, 245, 0.16);
  --glow:   rgba(201, 168, 76, 0.13);

  --serif: "Cormorant Garamond", "Times New Roman", Times, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1340px;
  --gut: clamp(22px, 5vw, 76px);
  --pad: clamp(88px, 13vh, 190px);

  --ease: cubic-bezier(0.16, 0.84, 0.30, 1);
  --slow: 1.1s;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--sage);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden — `hidden` turns body into a scroll container and breaks
     in-page #anchor navigation. */
  overflow-x: clip;
}

/* Film grain over the whole page — the single biggest difference between
   "flat web page" and "printed matter". Kept very low so it reads as texture. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background-image: url("assets/grain.svg");
  background-size: 220px 220px;
  opacity: 0.05;
  mix-blend-mode: multiply;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--cream); }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.display,
h1, h2 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--ink);
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-feature-settings: "liga" 1, "dlig" 1;
}

h1 { font-size: clamp(2.9rem, 8.4vw, 7rem); }
h2 { font-size: clamp(2.1rem, 5.4vw, 4.4rem); }

h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

em, .it { font-style: italic; }

p { margin: 0 0 1.3em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 clamp(20px, 3vw, 40px);
}

.lede {
  font-size: clamp(1.0625rem, 1.35vw, 1.3rem);
  line-height: 1.72;
  color: var(--sage);
  max-width: 34ch;
}

.body-l { font-size: 1.0625rem; line-height: 1.85; max-width: 44ch; }

.fine {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--mist);
}

.mono-label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

/* Oversized section index numeral */
.numeral {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 17, 17, 0.22);
  letter-spacing: -0.02em;
  user-select: none;
}

.on-dark { color: rgba(250, 248, 245, 0.64); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark .display { color: var(--cream); }
.on-dark .numeral { -webkit-text-stroke-color: rgba(250, 248, 245, 0.26); }
.on-dark .fine { color: rgba(250, 248, 245, 0.42); }
.on-dark .lede { color: rgba(250, 248, 245, 0.7); }

/* --------------------------------------------------------------------------
   Structure
   -------------------------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: 900px; }

section { padding: var(--pad) 0; position: relative; }

.bg-sand  { background: var(--sand); }
.bg-linen { background: var(--linen); }
.bg-dark  { background: var(--coal); }
.bg-carbon{ background: var(--carbon); }

.rule { height: 1px; background: var(--gold); border: 0; margin: 0; }
.rule-hair { height: 1px; background: var(--hair); border: 0; margin: 0; }
.on-dark .rule-hair { background: var(--hair-l); }

/* Warm light bloom used behind product renders */
.bloom { position: relative; }
.bloom::before {
  content: "";
  position: absolute;
  left: 50%; top: 46%;
  width: 118%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--glow) 0%, rgba(201,168,76,0.05) 42%, rgba(201,168,76,0) 68%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--slow) var(--ease), border-color var(--slow) var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.stuck {
  background: rgba(250, 248, 245, 0.86);
  backdrop-filter: blur(16px) saturate(130%);
  border-bottom-color: var(--hair);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: clamp(72px, 9vh, 96px);
  transition: height 0.6s var(--ease);
}

.site-header.stuck .bar { height: 66px; }

.brand {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 46px); }

.nav a {
  position: relative;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
  padding: 4px 0;
  transition: color 0.5s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px 0 10px 10px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 19px 40px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: color 0.7s var(--ease), border-color 0.7s var(--ease);
}

.btn > span { position: relative; z-index: 1; }

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.7s var(--ease);
}

.btn:hover { color: var(--cream); }
.btn:hover::before { transform: translateY(0); }

.btn-solid { background: var(--ink); color: var(--cream); }
.btn-solid::before { background: var(--cream); }
.btn-solid:hover { color: var(--ink); }

.btn-light { border-color: rgba(250, 248, 245, 0.5); color: var(--cream); }
.btn-light::before { background: var(--cream); }
.btn-light:hover { color: var(--ink); border-color: var(--cream); }

.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(30px, 4vw, 48px); }

.tlink {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 7px;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.7s var(--ease);
}
.tlink:hover { background-size: 34% 1px; }
.on-dark .tlink { color: var(--cream); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(120px, 16vh, 190px) 0 clamp(60px, 8vh, 110px);
  background:
    radial-gradient(120% 80% at 78% 8%,  rgba(201,168,76,0.14) 0%, rgba(201,168,76,0) 58%),
    radial-gradient(90% 70% at 8% 92%,   rgba(196,182,160,0.28) 0%, rgba(196,182,160,0) 62%),
    linear-gradient(168deg, #FDFCFA 0%, var(--cream) 44%, var(--linen) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  width: 100%;
}

.hero h1 { margin-bottom: 0; }

.hero .si {
  display: block;
  font-size: clamp(4.4rem, 15vw, 11rem);
  line-height: 0.86;
  font-style: italic;
  letter-spacing: -0.04em;
}

.hero .said {
  display: block;
  font-size: clamp(1.9rem, 4.6vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-top: 0.1em;
}

.hero-meta { margin-top: clamp(30px, 4vw, 46px); }
.hero-meta .lede { max-width: 38ch; }
.hero-meta .actions { max-width: none; }

.hero-triad {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 clamp(24px, 3vw, 34px);
  color: var(--gold);
}
.hero-triad .line { flex: 0 0 44px; height: 1px; background: var(--gold); }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art img {
  width: clamp(210px, 30vw, 380px);
  filter: drop-shadow(0 40px 60px rgba(122, 114, 99, 0.22));
  animation: rise 1.6s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(34px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--mist);
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.scroll-cue .stem {
  width: 1px; height: 54px;
  background: linear-gradient(var(--gold), rgba(201,168,76,0));
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  background: var(--cream);
  overflow: hidden;
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 44s linear infinite;
}

.marquee span {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.66rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sage);
  padding: 0 30px;
  white-space: nowrap;
}
.marquee span::after { content: "·"; color: var(--gold); margin-left: 30px; }

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Editorial two-column
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 7vw, 120px);
  align-items: start;
}

.split-tight { grid-template-columns: 0.85fr 1.15fr; }
.split-wide  { grid-template-columns: 1.2fr 0.8fr; }

.statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.5vw, 2.9rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 22ch;
}

.aside-note {
  border-top: 1px solid var(--gold);
  padding-top: 22px;
  margin-top: clamp(30px, 4vw, 44px);
  font-size: 0.9rem;
  line-height: 1.78;
  max-width: 44ch;
}

/* --------------------------------------------------------------------------
   Product panels — full-bleed, alternating
   -------------------------------------------------------------------------- */

.panel { padding: 0; overflow: hidden; }

.panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: min(86svh, 820px);
}

.panel-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(50px, 8vh, 110px) clamp(24px, 4vw, 70px);
}

.panel-art img {
  width: clamp(180px, 23vw, 330px);
  transition: transform 1.4s var(--ease);
  filter: drop-shadow(0 44px 64px rgba(110, 102, 88, 0.24));
}

.panel:hover .panel-art img { transform: translateY(-14px); }

.panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 9vh, 120px) clamp(24px, 5vw, 90px);
}

.panel-copy .numeral { margin-bottom: clamp(16px, 2vw, 28px); }
.panel-copy h2 { margin-bottom: 14px; }

.panel-type {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 clamp(20px, 2.6vw, 30px);
}

.panel-copy p { max-width: 42ch; font-size: 1.02rem; line-height: 1.82; }

.panel-foot {
  display: flex;
  align-items: baseline;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: clamp(28px, 3.6vw, 42px);
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}
.on-dark .panel-foot { border-top-color: var(--hair-l); }

.price {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.on-dark .price { color: var(--cream); }
.price .alt { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--mist); }
.on-dark .price .alt { color: rgba(250,248,245,0.45); }

/* flip the order on alternate panels */
.panel-flip .panel-art { order: 2; }

/* --------------------------------------------------------------------------
   Ritual — numbered steps at scale
   -------------------------------------------------------------------------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }

.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(26px, 3.2vw, 38px) 0;
  border-top: 1px solid var(--hair);
}
.steps li:last-child { border-bottom: 1px solid var(--hair); }
.on-dark .steps li { border-top-color: var(--hair-l); }
.on-dark .steps li:last-child { border-bottom-color: var(--hair-l); }

.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 0.98rem; max-width: 48ch; }

/* --------------------------------------------------------------------------
   Specification list
   -------------------------------------------------------------------------- */

.spec { margin: 0; padding: 0; }

.spec div {
  display: grid;
  grid-template-columns: minmax(120px, 0.62fr) 1fr;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid var(--hair);
}
.spec div:last-child { border-bottom: 1px solid var(--hair); }
.on-dark .spec div { border-top-color: var(--hair-l); }
.on-dark .spec div:last-child { border-bottom-color: var(--hair-l); }

.spec dt {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
  padding-top: 2px;
}
.on-dark .spec dt { color: rgba(250,248,245,0.4); }

.spec dd { margin: 0; font-size: 0.96rem; color: var(--ink); line-height: 1.7; }
.on-dark .spec dd { color: rgba(250,248,245,0.86); }

/* --------------------------------------------------------------------------
   Quiet callout
   -------------------------------------------------------------------------- */

.callout {
  border-left: 1px solid var(--gold);
  padding: 6px 0 6px 26px;
  margin: clamp(30px, 4vw, 46px) 0 0;
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 48ch;
}

.callout strong { color: var(--ink); font-weight: 400; }
.on-dark .callout strong { color: var(--cream); }

/* --------------------------------------------------------------------------
   Product page masthead
   -------------------------------------------------------------------------- */

.masthead {
  padding: clamp(130px, 17vh, 200px) 0 clamp(60px, 8vh, 110px);
  background:
    radial-gradient(110% 80% at 72% 12%, rgba(201,168,76,0.13) 0%, rgba(201,168,76,0) 60%),
    linear-gradient(170deg, #FDFCFA 0%, var(--cream) 50%, var(--linen) 100%);
}

.masthead-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
}

.masthead-art { display: flex; justify-content: center; }
.masthead-art img {
  width: clamp(190px, 26vw, 340px);
  filter: drop-shadow(0 44px 66px rgba(116, 108, 93, 0.24));
  animation: rise 1.4s var(--ease) both;
}

.crumbs {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
  margin: 0 0 clamp(24px, 3vw, 36px);
}
.crumbs a { color: var(--mist); transition: color 0.5s var(--ease); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--gold); margin: 0 10px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: clamp(24px, 3vw, 34px);
}
.badge .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.72); }
}

/* --------------------------------------------------------------------------
   Waitlist
   -------------------------------------------------------------------------- */

.signup { max-width: 620px; }

.field {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: clamp(34px, 4.5vw, 52px);
}

.field input[type="email"] {
  flex: 1 1 260px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 300;
  padding: 6px 2px 14px;
  color: var(--cream);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(250, 248, 245, 0.28);
  border-radius: 0;
  transition: border-color 0.6s var(--ease);
}
.field input[type="email"]::placeholder { color: rgba(250, 248, 245, 0.3); }
.field input[type="email"]:focus { outline: none; border-bottom-color: var(--gold); }

.field-light input[type="email"] { color: var(--ink); border-bottom-color: var(--hair); }
.field-light input[type="email"]::placeholder { color: rgba(17,17,17,0.28); }

.form-msg {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin-top: 20px;
  min-height: 1.4em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.form-msg[data-state] { opacity: 1; transform: none; }
.form-msg[data-state="ok"]  { color: var(--gold); }
.form-msg[data-state="err"] { color: #D08C77; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Range strip — small cross-links at page foot
   -------------------------------------------------------------------------- */

.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(40px, 5vw, 64px);
}

.strip-item {
  border-top: 1px solid var(--hair);
  padding-top: 26px;
  display: block;
  transition: border-color 0.6s var(--ease);
}
.strip-item:hover { border-top-color: var(--gold); }

.strip-item .thumb {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.strip-item .thumb img {
  height: 100%;
  width: auto;
  filter: drop-shadow(0 20px 30px rgba(116, 108, 93, 0.18));
  transition: transform 1.1s var(--ease);
}
.strip-item:hover .thumb img { transform: translateY(-9px); }

.strip-item h3 { font-size: 1.34rem; margin-bottom: 6px; }
.strip-item .panel-type { margin-bottom: 12px; }
.strip-item .price { font-size: 1.16rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--coal); color: rgba(250, 248, 245, 0.56); padding: clamp(70px, 9vw, 120px) 0 46px; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: clamp(50px, 6vw, 80px);
}

.footer-top .brand { color: var(--cream); display: block; margin-bottom: 20px; }

.footer-top h4 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}

.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 13px; }
.footer-top a { font-size: 0.92rem; color: rgba(250, 248, 245, 0.58); transition: color 0.5s var(--ease); }
.footer-top a:hover { color: var(--cream); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 34px;
  border-top: 1px solid var(--hair-l);
}
.footer-base p { margin: 0; font-size: 0.68rem; letter-spacing: 0.1em; color: rgba(250, 248, 245, 0.38); }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.15s var(--ease), transform 1.15s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid,
  .masthead-inner,
  .panel-inner,
  .split,
  .split-tight,
  .split-wide { grid-template-columns: 1fr; }

  .hero-grid { gap: clamp(34px, 7vw, 56px); }
  .hero-art { order: -1; }
  .hero-art img { width: min(56vw, 230px); }
  .masthead-art { order: -1; }
  .panel-flip .panel-art { order: -1; }
  .panel-inner { min-height: 0; }
  .panel-art { padding-bottom: 0; }
  .scroll-cue { display: none; }
  .statement { max-width: none; }
  .steps li { grid-template-columns: 54px 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 0 var(--gut);
    background: var(--cream);
    transform: translateY(-101%);
    transition: transform 0.85s var(--ease);
    z-index: 90;
  }
  .nav.open { transform: none; }
  .nav a {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--ink);
    padding: 12px 0;
  }
  .nav a::after { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 95; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .spec div { grid-template-columns: 1fr; gap: 6px; }
  .field { gap: 24px; }
  .field .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
