@charset "UTF-8";
/* =========================================================================
   Skin & Beauty by Laura Elena — Design System
   Static site. No dependencies. Fonts self-hosted.
   ========================================================================= */

@import url("../fonts/fonts.css");

/* -------------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Brand */
  --accent:        #ee119c;
  --accent-soft:   #f7c8e4;
  --accent-deep:   #b60a76;
  --champagne:     #c0a188;
  --champagne-lt:  #dcc7b3;

  /* Light ground (default surface) */
  --bg:            #f8f4ef;
  --bg-alt:        #f1eae2;
  --bg-elev:       #fffcf9;
  --fg:            #221c1f;
  --fg-soft:       #4d4340;
  --fg-mute:       #6b5e58;
  --line:          rgba(34, 28, 31, .12);
  --line-soft:     rgba(34, 28, 31, .07);

  /* Dark ground (opt-in via .ground--dark) */
  --d-bg:          #141013;
  --d-bg-alt:      #1d171b;
  --d-fg:          #f4ece6;
  --d-fg-soft:     #cbbdb6;
  --d-fg-mute:     #9b8d87;
  --d-line:        rgba(244, 236, 230, .16);
  --d-line-soft:   rgba(244, 236, 230, .08);

  /* Active ground — sections remap these */
  --g-bg:          var(--bg);
  --g-bg-alt:      var(--bg-alt);
  --g-fg:          var(--fg);
  --g-fg-soft:     var(--fg-soft);
  --g-fg-mute:     var(--fg-mute);
  --g-line:        var(--line);
  --g-line-soft:   var(--line-soft);

  /* Type */
  --ff-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --ff-ui:      "Jost", "Futura", "Century Gothic", -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero:  clamp(2.85rem, 8.2vw, 7.6rem);
  --fs-h1:    clamp(2.4rem, 6vw, 5.1rem);
  --fs-h2:    clamp(2rem, 4.4vw, 3.9rem);
  --fs-h3:    clamp(1.5rem, 2.5vw, 2.15rem);
  --fs-h4:    clamp(1.2rem, 1.7vw, 1.45rem);
  --fs-lead:  clamp(1.06rem, 1.42vw, 1.32rem);
  --fs-body:  clamp(1rem, 1.05vw, 1.06rem);
  --fs-small: .875rem;
  --fs-label: .69rem;

  /* Space & rhythm */
  --gutter:  clamp(1.25rem, 4.4vw, 4.5rem);
  --shell:   1440px;
  --shell-narrow: 900px;
  --sec-y:   clamp(4.75rem, 10.5vw, 11.5rem);
  --radius:  2px;
  --radius-lg: 4px;

  /* Motion */
  --e-out:   cubic-bezier(.22, 1, .36, 1);
  --e-inout: cubic-bezier(.65, .02, .18, 1);
  --e-soft:  cubic-bezier(.35, .8, .3, 1);
  --t-fast:  .32s;
  --t-mid:   .62s;
  --t-slow:  1.05s;

  --header-h: 84px;
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
}

/* -------------------------------------------------------------------------
   2. Reset & base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-ui);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.68;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -.014em;
  color: var(--g-fg);
}

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

/* The UA gives <figure> and <blockquote> a 40px inline margin. Inside a narrow
   grid column that silently eats 80px of image width, so drop it here and let
   the layout own all spacing. */
figure, blockquote, dl, dd, hr { margin: 0; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
}
button { cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

/* -------------------------------------------------------------------------
   3. Layout primitives
   ------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: var(--shell-narrow); }
.shell--wide   { max-width: 1720px; }

.section {
  position: relative;
  padding-block: var(--sec-y);
  background: var(--g-bg);
  color: var(--g-fg);
}
.section--tight { padding-block: clamp(3rem, 6vw, 6rem); }
.section--flush-top { padding-top: 0; }

.ground--dark {
  --g-bg:      var(--d-bg);
  --g-bg-alt:  var(--d-bg-alt);
  --g-fg:      var(--d-fg);
  --g-fg-soft: var(--d-fg-soft);
  --g-fg-mute: var(--d-fg-mute);
  --g-line:    var(--d-line);
  --g-line-soft: var(--d-line-soft);
  background: var(--d-bg);
  color: var(--d-fg);
}
.ground--alt { background: var(--g-bg-alt); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1040px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* -------------------------------------------------------------------------
   4. Typography helpers
   ------------------------------------------------------------------------- */
.display  { font-size: var(--fs-hero); }
.h1       { font-size: var(--fs-h1); }
.h2       { font-size: var(--fs-h2); }
.h3       { font-size: var(--fs-h3); }
.h4       { font-size: var(--fs-h4); line-height: 1.2; }

.script {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  margin: 0 0 1.4rem;
  font-family: var(--ff-ui);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--g-fg-mute);
}
.eyebrow::before {
  content: "";
  width: clamp(22px, 3vw, 46px);
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: clamp(22px, 3vw, 46px);
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--g-fg-soft);
  font-weight: 300;
}

.muted { color: var(--g-fg-mute); }
.center { text-align: center; }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

.measure    { max-width: 62ch; }
.measure-sm { max-width: 46ch; }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--g-line);
}

/* -------------------------------------------------------------------------
   5. Buttons & links
   ------------------------------------------------------------------------- */
.btn {
  --btn-fg: #fff;
  --btn-bg: var(--fg);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75em;
  padding: 1.02em 2.15em;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--t-fast) var(--e-out),
              border-color var(--t-fast) var(--e-out),
              transform var(--t-fast) var(--e-out);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform var(--t-mid) var(--e-out);
}
.btn:hover::before,
.btn:focus-visible::before { transform: translateY(0); }
.btn:hover { color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--g-fg);
  border: 1px solid var(--g-line);
}
.btn--ghost:hover { border-color: transparent; }

.btn--light { --btn-bg: #fff; --btn-fg: #221c1f; }
.btn--accent { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn--accent::before { background: var(--fg); }
.btn--sm { padding: .82em 1.6em; }
.btn--block { width: 100%; }

.btn__icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  transition: transform var(--t-fast) var(--e-out);
}
.btn:hover .btn__icon,
.tlink:hover .btn__icon { transform: translateX(4px); }

/* Understated text link with an animated rule */
.tlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding-bottom: .3em;
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--g-fg);
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform var(--t-mid) var(--e-out);
}
.tlink:hover { color: var(--accent); }
.tlink:hover::after {
  transform-origin: left;
  animation: rule-sweep var(--t-mid) var(--e-out);
}
@keyframes rule-sweep {
  0%   { transform: scaleX(1); transform-origin: right; }
  49%  { transform: scaleX(0); transform-origin: right; }
  50%  { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* -------------------------------------------------------------------------
   6. Header / navigation
   ------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: #fff;
  transition: background var(--t-mid) var(--e-out),
              color var(--t-mid) var(--e-out),
              box-shadow var(--t-mid) var(--e-out),
              transform var(--t-mid) var(--e-out);
}
.header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 16, 19, .82);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  opacity: 0;
  transition: opacity var(--t-mid) var(--e-out);
}
.header.is-stuck::after { opacity: 1; }
.header.is-hidden { transform: translateY(-102%); }

/* Pages that begin on a light ground */
.header.is-light { color: var(--fg); }
.header.is-light::after { background: rgba(248, 244, 239, .88); }
.header.is-light.is-stuck { box-shadow: 0 1px 0 var(--line-soft); }

.header__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { display: flex; align-items: center; gap: .8rem; flex: none; }
.brand__mark {
  width: clamp(112px, 12vw, 148px);
  height: auto;
  transition: opacity var(--t-fast) var(--e-out);
}
.brand__mark--dark { display: none; }
.header.is-light .brand__mark--light { display: none; }
.header.is-light .brand__mark--dark { display: block; }
.brand:hover .brand__mark { opacity: .78; }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.3rem); }

.nav__link {
  position: relative;
  padding: .35em 0;
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .84;
  transition: opacity var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-mid) var(--e-out);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-current { opacity: 1; color: var(--accent); }
.nav__link.is-current::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: 1rem; }

@media (max-width: 1120px) {
  .nav, .header__cta .btn { display: none; }
}

/* Burger */
.burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid currentColor;
  flex: none;
  transition: background var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out);
}
.burger span {
  position: absolute;
  left: 50%;
  width: 17px;
  height: 1px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform var(--t-mid) var(--e-out), opacity var(--t-fast) var(--e-out);
}
.burger span:nth-child(1) { top: 20px; }
.burger span:nth-child(2) { top: 25px; }
.burger.is-open span:nth-child(1) { transform: translateX(-50%) translateY(2.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateX(-50%) translateY(-2.5px) rotate(-45deg); }

@media (max-width: 1120px) { .burger { display: block; } }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  grid-template-rows: var(--header-h) 1fr;
  background: var(--d-bg);
  color: var(--d-fg);
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--t-mid) var(--e-out), visibility 0s linear var(--t-mid);
}
.drawer.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--t-mid) var(--e-out), visibility 0s;
}
.drawer__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 4vh, 2.5rem);
  padding: clamp(1.5rem, 5vh, 3rem) var(--gutter) clamp(2rem, 6vh, 4rem);
  overflow-y: auto;
}
.drawer__nav { display: flex; flex-direction: column; gap: clamp(.55rem, 1.6vh, 1rem); }
.drawer__link {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 7.5vw, 3.1rem);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -.015em;
  opacity: 0;
  transform: translateY(24px);
}
.drawer.is-open .drawer__link {
  animation: drawer-in .72s var(--e-out) forwards;
  animation-delay: calc(90ms + var(--i, 0) * 55ms);
}
.drawer__link.is-current { color: var(--accent); }
@keyframes drawer-in { to { opacity: 1; transform: translateY(0); } }

.drawer__foot {
  display: grid;
  gap: 1.15rem;
  padding-top: clamp(1.5rem, 4vh, 2.5rem);
  border-top: 1px solid var(--d-line);
  opacity: 0;
}
.drawer.is-open .drawer__foot { animation: drawer-in .72s var(--e-out) .48s forwards; }
.drawer__meta { font-size: var(--fs-small); color: var(--d-fg-mute); line-height: 1.85; }
.drawer__meta a:hover { color: var(--accent); }

/* Scroll progress */
.progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 99;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--champagne));
  pointer-events: none;
}

/* Skip link */
.skip {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 200;
  transform: translate(-50%, -140%);
  padding: .85em 1.6em;
  background: var(--fg);
  color: #fff;
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  border-radius: 0 0 100px 100px;
  transition: transform var(--t-fast) var(--e-out);
}
.skip:focus { transform: translate(-50%, 0); }

/* -------------------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------------------- */
.hero, .cta-band {
  --g-bg:        var(--d-bg);
  --g-bg-alt:    var(--d-bg-alt);
  --g-fg:        var(--d-fg);
  --g-fg-soft:   var(--d-fg-soft);
  --g-fg-mute:   var(--d-fg-mute);
  --g-line:      var(--d-line);
  --g-line-soft: var(--d-line-soft);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vh, 5rem));
  padding-bottom: clamp(2.5rem, 7vh, 5.5rem);
  background: var(--d-bg);
  color: var(--d-fg);
  overflow: clip;
}
.hero--page { min-height: min(76svh, 720px); }

.hero__media {
  position: absolute;
  inset: -8% 0 -8%;
  z-index: 0;
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focal, 50% 42%);
  opacity: 0;
  transform: scale(1.1);
  animation: hero-media 1.9s var(--e-out) .12s forwards;
}
@keyframes hero-media { to { opacity: 1; transform: scale(1); } }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,16,19,.72) 0%, rgba(20,16,19,.24) 34%, rgba(20,16,19,.58) 74%, rgba(20,16,19,.92) 100%),
    radial-gradient(120% 78% at 78% 22%, rgba(238,17,156,.14) 0%, rgba(238,17,156,0) 62%);
}

.hero__inner { position: relative; z-index: 2; width: 100%; }

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: .99;
  max-width: 16ch;
}
.hero__title .script { display: block; }

.hero__sub {
  margin-top: clamp(1.35rem, 2.4vw, 2rem);
  max-width: 44ch;
  font-size: var(--fs-lead);
  color: var(--d-fg-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: clamp(2rem, 4vw, 3.1rem);
}
.hero__actions .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.34); }

.hero__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3rem);
  margin-top: clamp(1.9rem, 4.2vw, 3.4rem);
  padding-top: clamp(1.2rem, 2.4vw, 1.8rem);
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero__fact { display: grid; gap: .3rem; }
.hero__fact dt {
  font-size: var(--fs-label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}
.hero__fact dd {
  margin: 0;
  font-family: var(--ff-display);
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  line-height: 1.15;
}

/* Scroll cue */
.cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(8.5rem, 19vh, 13rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: var(--fs-label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.cue__track {
  position: relative;
  width: 1px;
  height: 62px;
  background: rgba(255,255,255,.22);
  overflow: hidden;
}
.cue__track::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 26px;
  background: var(--accent);
  animation: cue-run 2.3s var(--e-inout) infinite;
}
@keyframes cue-run {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(62px); }
  100% { transform: translateY(62px); }
}
@media (max-width: 860px) { .cue { display: none; } }

/* Page hero (interior pages) */
.hero--page .hero__title { max-width: 20ch; }
.hero--page .hero__scrim {
  background:
    linear-gradient(180deg, rgba(20,16,19,.78) 0%, rgba(20,16,19,.42) 46%, rgba(20,16,19,.86) 100%),
    radial-gradient(110% 70% at 82% 18%, rgba(238,17,156,.16) 0%, rgba(238,17,156,0) 60%);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: .7em;
  margin-bottom: 1.6rem;
  font-size: var(--fs-label);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.56);
}
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* -------------------------------------------------------------------------
   8. Marquee
   ------------------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.15rem, 2.4vw, 1.9rem);
  border-block: 1px solid var(--g-line);
  background: var(--g-bg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 3.6vw, 3.4rem);
  padding-right: clamp(1.6rem, 3.6vw, 3.4rem);
  flex: none;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.6rem, 3.6vw, 3.4rem);
  font-family: var(--ff-display);
  font-size: clamp(1.15rem, 2.1vw, 1.85rem);
  font-weight: 300;
  letter-spacing: .01em;
  white-space: nowrap;
  color: var(--g-fg-soft);
}
.marquee__item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .8;
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------------------
   9. Figures & media
   ------------------------------------------------------------------------- */
.fig {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--g-bg-alt);
}
.fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.25s var(--e-out);
}
.fig--tall  { aspect-ratio: 3 / 4; }
.fig--port  { aspect-ratio: 4 / 5; }
.fig--sq    { aspect-ratio: 1 / 1; }
.fig--land  { aspect-ratio: 4 / 3; }
.fig--wide  { aspect-ratio: 16 / 10; }
.fig--pano  { aspect-ratio: 21 / 9; }

.fig__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(1rem, 2vw, 1.7rem);
  background: linear-gradient(180deg, transparent, rgba(20,16,19,.78));
  color: #fff;
  font-size: var(--fs-small);
  letter-spacing: .04em;
}

.fig--zoom:hover img { transform: scale(1.055); }

/* Offset media pair */
/* Layered collage: the small figure overlaps the large one by one column and
   carries a ring in the ground colour so the overlap reads as deliberate. */
.duo {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  /* No gap: the two figures overlap on purpose, and column gaps here would eat
     more than half the width of an already narrow media column. */
  gap: 0;
  /* Reserve the room the offset figure below spills into. */
  margin-bottom: clamp(1.5rem, 5vw, 4rem);
}
/* Both figures are pinned to row 1 on purpose. Their column ranges overlap, and
   without an explicit grid-row the auto-placement algorithm refuses to stack
   them — it pushes the second figure onto a new row and leaves a hole. */
.duo__a { grid-column: 1 / span 9; grid-row: 1; }
.duo__b {
  grid-column: 8 / span 5;
  grid-row: 1;
  align-self: end;
  transform: translateY(clamp(1rem, 2.6vw, 2.2rem));
  box-shadow: 0 0 0 clamp(6px, .7vw, 10px) var(--g-bg);
  border-radius: var(--radius-lg);
}
@media (max-width: 720px) {
  .duo { margin-bottom: 2rem; }
  .duo__a { grid-column: 1 / span 9; }
  .duo__b { grid-column: 7 / span 6; transform: translateY(1.25rem); }
}

/* -------------------------------------------------------------------------
   10. Split section (image + copy)
   ------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem) clamp(1.5rem, 3.4vw, 4rem);
  align-items: center;
}
.split__media { grid-column: 1 / span 6; }
.split__body  { grid-column: 8 / span 5; }
.split--flip .split__media { grid-column: 7 / span 6; order: 2; }
.split--flip .split__body  { grid-column: 1 / span 5; order: 1; }

/* Column overrides live in classes, never inline: an inline grid-column would
   survive the mobile reset below and blow the layout out of the viewport. */
.split__body--lead   { grid-column: 1 / span 5; }
.split__media--trail { grid-column: 7 / span 6; }
.split__body--rail   { grid-column: 1 / span 3; }
.split__media--main  { grid-column: 5 / span 8; }

@media (max-width: 900px) {
  .split .split__media,
  .split .split__body,
  .split--flip .split__media,
  .split--flip .split__body {
    grid-column: 1 / -1;
    order: initial;
  }
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.6rem);
}
.section-head__title { grid-column: 1 / span 7; }
.section-head__aside { grid-column: 9 / span 4; }
@media (max-width: 900px) {
  .section-head__title, .section-head__aside { grid-column: 1 / -1; }
}
.section-head--center { justify-items: center; text-align: center; }
.section-head--center .section-head__title { grid-column: 1 / -1; max-width: 24ch; }

/* -------------------------------------------------------------------------
   11. Service cards
   ------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--g-bg);
  border: 1px solid var(--g-line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-mid) var(--e-out),
              border-color var(--t-mid) var(--e-out),
              box-shadow var(--t-mid) var(--e-out);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--g-line);
  box-shadow: 0 26px 60px -34px rgba(34, 28, 31, .42);
}
.ground--dark .card:hover { box-shadow: 0 26px 60px -30px rgba(0, 0, 0, .7); }

.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--e-out), filter 1.2s var(--e-out);
}
.card:hover .card__media img { transform: scale(1.08); }
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,19,0) 42%, rgba(20,16,19,.34));
  opacity: 0;
  transition: opacity var(--t-mid) var(--e-out);
}
.card:hover .card__media::after { opacity: 1; }

.card__num {
  position: absolute;
  top: 1rem; right: 1.15rem;
  z-index: 2;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  color: #fff;
  opacity: .8;
  letter-spacing: .06em;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  flex: 1;
}
.card__title { font-size: var(--fs-h4); }
.card__text { font-size: var(--fs-small); color: var(--g-fg-mute); line-height: 1.72; }
.card__foot {
  margin-top: auto;
  padding-top: 1rem;
  font-size: var(--fs-label);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--g-fg-mute);
  transition: color var(--t-fast) var(--e-out);
}
.card:hover .card__foot { color: var(--accent); }

/* -------------------------------------------------------------------------
   12. Facts / stats
   ------------------------------------------------------------------------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(1.5rem, 3vw, 2.4rem);
  border-block: 1px solid var(--g-line);
}
@media (max-width: 720px) { .facts { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; } }

.fact__value {
  margin: 0;
  font-family: var(--ff-display);
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
}
.fact__value .u { color: var(--accent); }
.fact__label {
  margin: .6rem 0 0;
  font-size: var(--fs-small);
  color: var(--g-fg-mute);
  max-width: 26ch;
}

/* -------------------------------------------------------------------------
   13. Steps
   ------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.55fr);
  gap: clamp(.4rem, .9vw, .8rem) clamp(1rem, 2.4vw, 2.4rem);
  align-items: baseline;
  padding-block: clamp(1.6rem, 3.2vw, 2.6rem);
  border-top: 1px solid var(--g-line);
  transition: background var(--t-mid) var(--e-out);
}
.step:last-child { border-bottom: 1px solid var(--g-line); }
.step::before {
  content: "0" counter(step);
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--accent);
  line-height: 1;
}
.step__title { font-size: var(--fs-h3); }
.step__text { color: var(--g-fg-mute); font-size: var(--fs-small); line-height: 1.78; }
/* Narrow-column variant: title and copy stack beside the number. */
.step--duo { grid-template-columns: 3.4rem minmax(0, 1fr); }
.step--duo .step__text { grid-column: 2; margin-top: .45rem; }
.step--duo .step__title { font-size: var(--fs-h4); }

@media (max-width: 860px) {
  .step { grid-template-columns: 3.2rem 1fr; }
  .step__text { grid-column: 2; }
}

/* -------------------------------------------------------------------------
   14. Quote
   ------------------------------------------------------------------------- */
.quote {
  position: relative;
  max-width: 26ch;
  margin-inline: auto;
  text-align: center;
}
.quote__text {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 4.2vw, 3.4rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.quote__by {
  display: block;
  margin-top: clamp(1.3rem, 2.4vw, 2rem);
  font-family: var(--ff-ui);
  font-size: var(--fs-label);
  font-style: normal;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--g-fg-mute);
}

/* -------------------------------------------------------------------------
   15. Accordion (treatment families)
   ------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--g-line); }
.acc__item { border-bottom: 1px solid var(--g-line); }

.acc__head {
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  align-items: center;
  gap: clamp(.8rem, 2vw, 2rem);
  width: 100%;
  padding-block: clamp(1.15rem, 2.3vw, 1.8rem);
  text-align: left;
  color: var(--g-fg);
  transition: color var(--t-fast) var(--e-out);
}
.acc__head:hover { color: var(--accent); }
.acc__idx {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--g-fg-mute);
  letter-spacing: .06em;
}
.acc__title {
  font-family: var(--ff-display);
  font-size: clamp(1.28rem, 2.5vw, 2.05rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -.012em;
}
.acc__sign {
  position: relative;
  width: 34px; height: 34px;
  border: 1px solid var(--g-line);
  border-radius: 50%;
  flex: none;
  transition: background var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out);
}
.acc__sign::before, .acc__sign::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--t-mid) var(--e-out), opacity var(--t-fast) var(--e-out);
}
.acc__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__head[aria-expanded="true"] .acc__sign::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.acc__head[aria-expanded="true"] .acc__sign { border-color: var(--accent); color: var(--accent); }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-mid) var(--e-out);
}
.acc__panel[data-open="true"] { grid-template-rows: 1fr; }
.acc__panelInner { overflow: hidden; }
.acc__content {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: clamp(.8rem, 2vw, 2rem);
  padding-bottom: clamp(1.3rem, 2.6vw, 2.1rem);
}
.acc__content > div:last-child { grid-column: 2; }
.acc__desc { color: var(--g-fg-soft); max-width: 58ch; margin-bottom: 1.3rem; }
.acc__list { display: flex; flex-wrap: wrap; gap: .55rem; }
@media (max-width: 640px) {
  .acc__head { grid-template-columns: 1fr auto; }
  .acc__idx { display: none; }
  .acc__content { grid-template-columns: minmax(0, 1fr); }
  .acc__content > div:last-child { grid-column: 1; }
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: .55em 1.15em;
  border: 1px solid var(--g-line);
  border-radius: 100px;
  font-size: var(--fs-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--g-fg-soft);
  transition: border-color var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out);
}
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill--solid { background: var(--accent); border-color: var(--accent); color: #fff; }

/* -------------------------------------------------------------------------
   16. Feature list (checks)
   ------------------------------------------------------------------------- */
.checks { display: grid; gap: .95rem; }
.checks li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: .9rem;
  align-items: start;
  color: var(--g-fg-soft);
}
.checks li::before {
  content: "";
  width: 1.5rem; height: 1.5rem;
  margin-top: .12em;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background:
    linear-gradient(45deg, transparent 44%, var(--accent) 44%, var(--accent) 56%, transparent 56%) center / 9px 1.5px no-repeat;
  transform: rotate(0deg);
  background-position: center;
  position: relative;
}

/* simple tick via pseudo mask */
.checks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ee119c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* -------------------------------------------------------------------------
   17. Gallery + lightbox
   ------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.75rem, 1.4vw, 1.4rem);
}
.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--g-bg-alt);
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--e-out), filter .6s var(--e-out);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,16,19,.14);
  opacity: 0;
  transition: opacity var(--t-fast) var(--e-out);
}
.gallery__item:hover::after { opacity: 1; }

.g-6  { grid-column: span 6; aspect-ratio: 4 / 3; }
.g-4  { grid-column: span 4; aspect-ratio: 1 / 1; }
.g-8  { grid-column: span 8; aspect-ratio: 16 / 10; }
.g-3  { grid-column: span 3; aspect-ratio: 3 / 4; }
.g-5  { grid-column: span 5; aspect-ratio: 4 / 5; }
.g-7  { grid-column: span 7; aspect-ratio: 3 / 2; }
.g-12 { grid-column: span 12; aspect-ratio: 21 / 9; }
@media (max-width: 900px) {
  .g-3, .g-4, .g-5 { grid-column: span 6; }
  .g-6, .g-7, .g-8, .g-12 { grid-column: span 12; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(15, 11, 14, .93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-mid) var(--e-out), visibility 0s linear var(--t-mid);
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity var(--t-mid) var(--e-out), visibility 0s; }
.lightbox img {
  max-width: min(100%, 1200px);
  max-height: 84svh;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  transform: scale(.96);
  opacity: 0;
  transition: transform var(--t-mid) var(--e-out), opacity var(--t-mid) var(--e-out);
}
.lightbox.is-open img { transform: scale(1); opacity: 1; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 50%;
  color: #fff;
  transition: background var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__nav--prev { left: clamp(.5rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(.5rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-label);
  letter-spacing: .24em;
  color: rgba(255,255,255,.7);
}

/* -------------------------------------------------------------------------
   18. Social cards
   ------------------------------------------------------------------------- */
.social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 260px;
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  border: 1px solid var(--g-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  transition: border-color var(--t-mid) var(--e-out), transform var(--t-mid) var(--e-out);
}
.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--sc-grad, linear-gradient(135deg, var(--accent), var(--accent-deep)));
  opacity: 0;
  transition: opacity var(--t-mid) var(--e-out);
}
.social-card:hover { transform: translateY(-6px); border-color: transparent; color: #fff; }
.social-card:hover::before { opacity: 1; }
.social-card:hover .social-card__handle,
.social-card:hover .social-card__go { color: rgba(255,255,255,.86); }
.social-card__icon { width: 30px; height: 30px; }
.social-card__name { font-family: var(--ff-display); font-size: var(--fs-h3); }
.social-card__handle { font-size: var(--fs-small); color: var(--g-fg-mute); }
.social-card__go {
  font-size: var(--fs-label);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--g-fg-mute);
}

/* -------------------------------------------------------------------------
   19. Contact
   ------------------------------------------------------------------------- */
.info-list { display: grid; gap: 0; border-top: 1px solid var(--g-line); }
.info-row {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  gap: 1rem clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.05rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--g-line);
  align-items: baseline;
}
.info-row dt {
  font-size: var(--fs-label);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--g-fg-mute);
}
.info-row dd { margin: 0; font-size: var(--fs-lead); line-height: 1.5; }
.info-row dd a { transition: color var(--t-fast) var(--e-out); }
.info-row dd a:hover { color: var(--accent); }
.info-row dd small { display: block; font-size: var(--fs-small); color: var(--g-fg-mute); margin-top: .3rem; }
@media (max-width: 560px) { .info-row { grid-template-columns: minmax(0, 1fr); gap: .35rem; } }

.field { position: relative; display: block; margin-bottom: 1.55rem; }
.field__input {
  width: 100%;
  padding: 1.6rem 0 .7rem;
  border-bottom: 1px solid var(--g-line);
  background: none;
  color: var(--g-fg);
  font-size: var(--fs-body);
  transition: border-color var(--t-fast) var(--e-out);
  border-radius: 0;
}
.field__input:focus { outline: none; border-color: var(--accent); }
.field__input:focus-visible { outline: none; }
textarea.field__input { resize: vertical; min-height: 128px; line-height: 1.7; }

.field__label {
  position: absolute;
  left: 0;
  top: 1.55rem;
  font-size: var(--fs-body);
  color: var(--g-fg-mute);
  pointer-events: none;
  transform-origin: left top;
  transition: transform var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out);
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label {
  transform: translateY(-1.42rem) scale(.72);
  color: var(--accent);
}

.form__note { font-size: var(--fs-small); color: var(--g-fg-mute); margin-top: 1.3rem; }
.form__status {
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--accent);
  min-height: 1.4em;
}

/* Consent-gated map */
.mapgate {
  position: relative;
  display: grid;
  place-items: center;
  gap: 1.2rem;
  /* Height only — pairing aspect-ratio with min-height lets the ratio drive the
     width instead, which pushed the box past the viewport on small screens. */
  min-height: clamp(340px, 34vw, 480px);
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  border: 1px solid var(--g-line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, var(--g-bg-alt), var(--g-bg)),
    var(--g-bg-alt);
  overflow: hidden;
}
.mapgate__grid {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(var(--g-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--g-line-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent);
}
.mapgate > * { position: relative; }
.mapgate iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapgate.is-loaded { padding: 0; border-color: transparent; }
.mapgate.is-loaded .mapgate__intro { display: none; }

/* -------------------------------------------------------------------------
   20. CTA band
   ------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: clip;
  padding-block: clamp(4.5rem, 9vw, 9rem);
  background: var(--d-bg);
  color: var(--d-fg);
  text-align: center;
}
.cta-band__media { position: absolute; inset: -10% 0; z-index: 0; will-change: transform; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,16,19,.86), rgba(20,16,19,.72)),
    radial-gradient(80% 60% at 50% 40%, rgba(238,17,156,.2), transparent 70%);
}
.cta-band__inner { position: relative; z-index: 2; }
.cta-band .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.34); }

/* -------------------------------------------------------------------------
   21. Footer
   ------------------------------------------------------------------------- */
.footer {
  background: #100c0f;
  color: var(--d-fg);
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
  padding-bottom: 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--d-line-soft);
}
.footer__brand { grid-column: 1 / span 4; }
.footer__col   { grid-column: span 2; }
.footer__col--wide { grid-column: span 3; }
@media (max-width: 1040px) {
  .footer__brand { grid-column: 1 / -1; }
  .footer__col { grid-column: span 4; }
  .footer__col--wide { grid-column: span 6; }
}
@media (max-width: 640px) {
  .footer__col, .footer__col--wide { grid-column: 1 / -1; }
}

.footer__mark { width: 168px; margin-bottom: 1.5rem; }
.footer__tag { color: var(--d-fg-mute); font-size: var(--fs-small); max-width: 34ch; }

.footer__title {
  margin-bottom: 1.2rem;
  font-family: var(--ff-ui);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--d-fg-mute);
}
.footer__list { display: grid; gap: .68rem; font-size: var(--fs-small); color: var(--d-fg-soft); }
.footer__list a { transition: color var(--t-fast) var(--e-out); }
.footer__list a:hover { color: var(--accent); }

.footer__socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.footer__social {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--d-line);
  border-radius: 50%;
  transition: background var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out), transform var(--t-fast) var(--e-out);
}
.footer__social svg { width: 17px; height: 17px; }
.footer__social:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: var(--fs-small);
  color: var(--d-fg-mute);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__legal a:hover { color: var(--accent); }

/* -------------------------------------------------------------------------
   22. Prose (legal pages)
   ------------------------------------------------------------------------- */
.prose { max-width: 74ch; color: var(--g-fg-soft); }
.prose h2 {
  margin: clamp(2.4rem, 4.5vw, 3.6rem) 0 1rem;
  font-size: var(--fs-h3);
  color: var(--g-fg);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin: 2rem 0 .7rem;
  font-family: var(--ff-ui);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g-fg);
}
.prose p { margin-bottom: 1.15em; }
.prose ul { display: grid; gap: .55rem; margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: .2rem; top: .78em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.prose strong { font-weight: 400; color: var(--g-fg); }

.toc {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  display: grid;
  gap: .6rem;
  font-size: var(--fs-small);
}
.toc a { color: var(--g-fg-mute); transition: color var(--t-fast) var(--e-out); }
.toc a:hover { color: var(--accent); }
@media (max-width: 900px) { .toc { display: none; } }

/* -------------------------------------------------------------------------
   23. Decorative
   ------------------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 88;
  pointer-events: none;
  opacity: .04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: .5;
}
.orb--accent { background: radial-gradient(circle, rgba(238,17,156,.34), transparent 68%); }
.orb--warm   { background: radial-gradient(circle, rgba(192,161,136,.42), transparent 68%); }

.hairline-top { border-top: 1px solid var(--g-line); }

/* -------------------------------------------------------------------------
   24. Reveal / motion system
   ------------------------------------------------------------------------- */
[data-reveal="up"] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .95s var(--e-out), transform .95s var(--e-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal="fade"] {
  opacity: 0;
  transition: opacity 1.1s var(--e-out);
  transition-delay: var(--d, 0ms);
}
/* The wipe lives on the inner image, never on the observed element itself:
   an element clipped to zero height reports an empty intersection rect, so
   IntersectionObserver would never fire and it would stay hidden forever. */
[data-reveal="clip"] img,
[data-reveal="clip-x"] img {
  transition: clip-path 1.25s var(--e-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal="clip"] img   { clip-path: inset(0 0 100% 0); }
[data-reveal="clip-x"] img { clip-path: inset(0 100% 0 0); }
[data-reveal="clip"].is-in img,
[data-reveal="clip-x"].is-in img { clip-path: inset(0 0 0 0); }
[data-reveal="scale"] {
  opacity: 0;
  transform: scale(.94);
  transition: opacity 1s var(--e-out), transform 1.1s var(--e-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal="rule"] {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--e-out);
  transition-delay: var(--d, 0ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal="rule"].is-in { transform: scaleX(1); }

/* Line-by-line headline mask */
.lines { display: block; }
.lines .line { display: block; overflow: hidden; }
.lines .line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.05s var(--e-out);
  transition-delay: calc(var(--i, 0) * 95ms + var(--d, 0ms));
}
.lines.is-in .line > span { transform: translateY(0); }

/* Stagger children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s var(--e-out), transform .85s var(--e-out);
}
[data-stagger].is-in > * { opacity: 1; transform: none; }
[data-stagger].is-in > *:nth-child(1)  { transition-delay: 0ms; }
[data-stagger].is-in > *:nth-child(2)  { transition-delay: 80ms; }
[data-stagger].is-in > *:nth-child(3)  { transition-delay: 160ms; }
[data-stagger].is-in > *:nth-child(4)  { transition-delay: 240ms; }
[data-stagger].is-in > *:nth-child(5)  { transition-delay: 320ms; }
[data-stagger].is-in > *:nth-child(6)  { transition-delay: 400ms; }
[data-stagger].is-in > *:nth-child(7)  { transition-delay: 480ms; }
[data-stagger].is-in > *:nth-child(8)  { transition-delay: 560ms; }
[data-stagger].is-in > *:nth-child(n+9){ transition-delay: 620ms; }

/* Page curtain */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: var(--d-bg);
  transform: translateY(100%);
  pointer-events: none;
}
.curtain.is-leaving {
  animation: curtain-up .62s var(--e-inout) forwards;
}
.curtain.is-entering {
  transform: translateY(0);
  animation: curtain-off .78s var(--e-inout) .04s forwards;
}
@keyframes curtain-up  { to { transform: translateY(0); } }
@keyframes curtain-off { to { transform: translateY(-100%); } }

/* Cursor */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  z-index: 140;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor {
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(255,255,255,.75);
  transition: width .3s var(--e-out), height .3s var(--e-out),
              margin .3s var(--e-out), background .3s var(--e-out), opacity .3s;
}
.cursor-dot {
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: #fff;
  transition: opacity .3s;
}
.cursor.is-hot { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(255,255,255,.14); }
body.cursor-hidden .cursor, body.cursor-hidden .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}

/* -------------------------------------------------------------------------
   25. Utilities
   ------------------------------------------------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.stack   { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.stack-s { display: grid; gap: .7rem; }
.stack-l { display: grid; gap: clamp(1.8rem, 3.5vw, 3rem); }
.row     { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.mt-l    { margin-top: clamp(2rem, 4vw, 3.4rem); }
.mt-m    { margin-top: clamp(1.4rem, 2.5vw, 2.2rem); }
.mt-s    { margin-top: 1rem; }
.relative { position: relative; }
.of-clip { overflow: clip; }

/* -------------------------------------------------------------------------
   26. Reduced motion
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-stagger] > *, .lines .line > span {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .hero__media img { opacity: 1; transform: none; animation: none; }
  .marquee__track { animation: none; }
  .cursor, .cursor-dot { display: none; }
  .curtain { display: none; }
}

/* -------------------------------------------------------------------------
   27. Print
   ------------------------------------------------------------------------- */
@media print {
  .header, .drawer, .cue, .grain, .cursor, .cursor-dot,
  .curtain, .progress, .marquee, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
