/* ============================================================
   Elmar — Creative Studio. Warm-editorial theme (Rhode-adjacent).
   Built on the scroll-cinematic-site skill; structure/behaviour kept,
   re-themed to warm beige / soft ivory / black accents, Playfair + Inter.
   ============================================================ */

:root {
  --bg:        #F4EEE2;   /* soft ivory page */
  --bg-2:      #ECE2D1;   /* warm beige */
  --bg-3:      #E4D8C4;   /* deeper sand */
  --ink:       #1C1813;   /* near-black espresso */
  --ink-dim:   rgba(28, 24, 19, 0.62);
  --ink-faint: rgba(28, 24, 19, 0.40);
  --accent:    #9A8466;   /* warm taupe (eyebrows, lines) */
  --line:      rgba(28, 24, 19, 0.14);

  /* text over the (darkened) film */
  --film-ink:    #F7F2E8;
  --film-dim:    rgba(247, 242, 232, 0.84);
  --film-accent: #E7D6BB;

  --display: "Playfair Display", Georgia, serif;
  --script:  "Playfair Display", Georgia, serif;
  --body:    "Inter", system-ui, sans-serif;

  --maxw: 1200px;
  --nav-h: 80px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
}

/* subtle film grain — keeps the editorial/analog feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* ---------- scroll progress ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--ink), var(--accent));
  transition: width 0.1s linear;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 56px);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(244, 238, 226, 0.78);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom-color: var(--line);
}
.nav__brand { display: flex; flex-direction: column; line-height: 1; }
.nav__brand-main {
  font-family: var(--script);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--film-ink);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
  transition: color 0.4s var(--ease), text-shadow 0.4s var(--ease);
}
.nav__brand-sub {
  font-family: var(--body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--film-accent);
  margin-top: 6px;
  padding-left: 2px;
  transition: color 0.4s var(--ease);
}
/* once scrolled onto the light page, flip brand to ink */
.nav.is-scrolled .nav__brand-main { color: var(--ink); text-shadow: none; }
.nav.is-scrolled .nav__brand-sub  { color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); }
.nav__links > a:not(.btn) {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--film-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav.is-scrolled .nav__links > a:not(.btn) { color: var(--ink-dim); }
.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.nav__links > a:not(.btn):hover { color: var(--film-ink); }
.nav.is-scrolled .nav__links > a:not(.btn):hover { color: var(--ink); }
.nav__links > a:not(.btn):hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--film-ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.4s var(--ease);
}
.nav.is-scrolled .nav__toggle span { background: var(--ink); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
/* primary — espresso fill (reads on light page + nav over film) */
.btn--book {
  background: var(--ink);
  color: var(--film-ink);
  box-shadow: 0 8px 28px rgba(28, 24, 19, 0.22);
}
.btn--book:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(28, 24, 19, 0.34); }
/* light — ivory fill for use over the film */
.btn--light {
  background: var(--film-ink);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); }
/* ghost — used over the film (cream outline) */
.btn--ghost {
  border-color: rgba(247, 242, 232, 0.55);
  color: var(--film-ink);
  background: rgba(255, 255, 255, 0.04);
}
.btn--ghost:hover { border-color: var(--film-ink); background: rgba(255, 255, 255, 0.1); }
.btn--lg { padding: 17px 40px; font-size: 0.78rem; }

/* ---------- the film (one clip, scrubbed by scroll) ---------- */
.film { position: relative; height: 740vh; background: #100c08; }
.film__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.film__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: #100c08;
  filter: brightness(0.74) saturate(1.04) contrast(1.03);
}
.film__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18,13,8,0.50) 0%, rgba(18,13,8,0.14) 26%,
                    rgba(18,13,8,0.20) 60%, rgba(18,13,8,0.66) 100%);
}

/* battery-safe still fallback (iOS Low Power Mode / reduced-motion):
   one image per scene crossfading with the captions instead of decoding video */
.film__stills { position: absolute; inset: 0; z-index: 0; }
.film__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #100c08;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  filter: brightness(0.74) saturate(1.04) contrast(1.03);
}
.film.stills-mode .film__video { display: none; }
.film.stills-mode .film__still.is-active { opacity: 1; }

/* captions crossfade as the film scrubs */
.caps { position: absolute; inset: 0; z-index: 2; }
.cap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 clamp(28px, 6vw, 86px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s var(--ease);
}
.cap.is-active { opacity: 1; pointer-events: auto; }
.cap__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.cap__text { max-width: 640px; }
.cap--center { text-align: center; }
.cap--center .cap__text { max-width: 900px; margin: 0 auto; }
.cap--center .scene__body,
.cap--center .hero__tagline { margin-left: auto; margin-right: auto; }
.cap--right .cap__text { margin-left: auto; text-align: right; }
.cap--right .scene__body { margin-left: auto; }

/* caption text colours sit over the film */
.cap .eyebrow { color: var(--film-accent); }

/* ---------- typography ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.3rem;
}

.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(4.4rem, 16vw, 13rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
  color: var(--film-ink);
  text-shadow: 0 2px 50px rgba(0, 0, 0, 0.45);
}
.hero__script {
  font-family: var(--script);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 4.6vw, 3rem);
  color: var(--film-accent);
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
}
.hero__tagline {
  font-size: clamp(1.04rem, 2vw, 1.32rem);
  font-weight: 300;
  color: var(--film-dim);
  max-width: 40ch;
  margin-top: 1.7rem;
  margin-bottom: 2.4rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.scene__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  color: var(--film-ink);
  text-shadow: 0 2px 44px rgba(0, 0, 0, 0.5);
}
.scene__title--xl { font-size: clamp(3.6rem, 12vw, 9.5rem); line-height: 0.96; }
.scene__body {
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
  font-weight: 300;
  line-height: 1.66;
  color: var(--film-dim);
  max-width: 46ch;
  margin-top: 1.4rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}

/* ---------- scroll cue ---------- */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue__label {
  font-size: 0.6rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--film-dim);
}
.scroll-cue__line {
  width: 1px; height: 48px;
  background: linear-gradient(var(--film-accent), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--film-ink);
  animation: cue 1.9s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(0); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(320%); opacity: 0; }
}

/* ---------- scene dots ---------- */
.dots {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.dots a {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(247, 242, 232, 0.6);
  transition: all 0.3s var(--ease);
}
.dots a:hover { border-color: var(--film-ink); }
.dots a.is-active {
  background: var(--film-ink);
  border-color: var(--film-ink);
  transform: scale(1.3);
}

/* ---------- reveal (gated on JS) ---------- */
.reveal-on .service,
.reveal-on .visit__block,
.reveal-on .manifesto__inner {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-on .service.is-in,
.reveal-on .visit__block.is-in,
.reveal-on .manifesto__inner.is-in { opacity: 1; transform: none; }
.services__grid .service:nth-child(2) { transition-delay: 0.06s; }
.services__grid .service:nth-child(3) { transition-delay: 0.12s; }
.services__grid .service:nth-child(4) { transition-delay: 0.18s; }
.services__grid .service:nth-child(5) { transition-delay: 0.24s; }
.services__grid .service:nth-child(6) { transition-delay: 0.30s; }
.visit__block:nth-child(3) { transition-delay: 0.08s; }
.visit__block:nth-child(4) { transition-delay: 0.16s; }

/* ---------- practice / services ---------- */
.services {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(154, 132, 102, 0.10), transparent 62%),
    var(--bg-2);
  padding: clamp(96px, 14vh, 170px) clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.section-head { max-width: var(--maxw); margin: 0 auto 4rem; text-align: center; }
.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0.005em;
}
.section-sub { color: var(--ink-dim); margin-top: 1rem; font-weight: 300; }

.services__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 38px 32px 34px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
              background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service:hover {
  transform: translateY(-6px);
  border-color: rgba(28, 24, 19, 0.32);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 50px rgba(28, 24, 19, 0.12);
}
.service__no {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: auto;
}
.service h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.85rem;
  letter-spacing: 0.005em;
  margin: 1.8rem 0 0.6rem;
}
.service p { color: var(--ink-dim); font-size: 0.98rem; line-height: 1.6; font-weight: 300; }
.service p a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-faint);
  padding-bottom: 1px;
  transition: border-color 0.3s var(--ease);
}
.service p a:hover { border-color: var(--ink); }
.service--feature {
  background: var(--ink);
  border-color: var(--ink);
}
.service--feature .service__no { color: var(--film-accent); }
.service--feature h3 { color: var(--film-ink); }
.service--feature p { color: rgba(247, 242, 232, 0.7); }
.service--feature p a { color: var(--film-ink); border-color: rgba(247, 242, 232, 0.5); }
.service--feature p a:hover { border-color: var(--film-ink); }
.service--feature:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(28, 24, 19, 0.3); }

/* ---------- manifesto ---------- */
.manifesto {
  background: var(--bg);
  padding: clamp(110px, 18vh, 220px) clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.manifesto__inner { max-width: 1000px; margin: 0 auto; }
.manifesto__quote {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  line-height: 1.22;
  letter-spacing: 0.002em;
  margin: 1.6rem 0 2rem;
  text-wrap: balance;
}
.manifesto__by {
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- contact (visit) ---------- */
.visit {
  background: var(--bg-2);
  padding: clamp(96px, 14vh, 170px) clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.visit__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.visit__info .section-title { text-align: left; }
.visit__block { margin-top: 2rem; }
.visit__block h3 {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.visit__block p { color: var(--ink); line-height: 1.7; font-weight: 300; }
.visit__block a {
  border-bottom: 1px solid var(--ink-faint);
  padding-bottom: 1px;
  transition: border-color 0.3s var(--ease);
}
.visit__block a:hover { border-color: var(--ink); }
.visit .btn { margin-top: 2.6rem; }
.visit__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(28, 24, 19, 0.22);
  background: var(--bg-3);
}
.visit__visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--ink);
  padding: 64px clamp(24px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer__brand { display: flex; flex-direction: column; gap: 6px; }
.footer__main { font-family: var(--script); font-size: 1.8rem; font-weight: 500; color: var(--film-ink); }
.footer__sub {
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--film-accent);
}
.footer__links { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.footer__links a {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.66);
  transition: color 0.3s var(--ease);
}
.footer__links a:hover { color: var(--film-ink); }
.footer__legal { font-size: 0.76rem; color: rgba(247, 242, 232, 0.4); }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .dots { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    gap: 4px;
    padding: 24px clamp(20px, 6vw, 40px) 34px;
    background: rgba(244, 238, 226, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links > a:not(.btn) { padding: 12px 0; font-size: 0.95rem; width: 100%; color: var(--ink-dim); }
  .nav__links .btn--book { margin-top: 10px; width: 100%; }

  .cap--right .cap__text { text-align: left; margin-left: 0; }
  .cap--right .scene__body { margin-left: 0; }
  .services__grid { grid-template-columns: 1fr; }
  .visit__inner { grid-template-columns: 1fr; }
  .visit__visual { order: -1; aspect-ratio: 4 / 3; }
}

@media (min-width: 821px) and (max-width: 1040px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue__line::after { animation: none; }
  .cap, .progress, .nav, .btn, .service, .dots a, .film__still { transition: none; }
}

/* ---------- accessibility & touch polish ---------- */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible { outline-offset: 4px; }
.cap :focus-visible, .dots a:focus-visible, .scroll-cue:focus-visible { outline-color: var(--film-ink); }
.nav__brand:focus-visible { outline-offset: 5px; }

.dots a { position: relative; }
.dots a::after { content: ""; position: absolute; inset: -17px; }
.nav__toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

.btn:active { transform: scale(0.98); }

/* ---------- landscape phones: scale big type by height ---------- */
@media (orientation: landscape) and (max-height: 600px) {
  .hero__title { font-size: clamp(2.6rem, 14vh, 6.5rem); }
  .scene__title { font-size: clamp(2rem, 10vh, 4.5rem); }
  .scene__title--xl { font-size: clamp(2.6rem, 14vh, 6rem); }
  .hero__script { font-size: clamp(1.1rem, 5vh, 2rem); }
  .hero__tagline, .scene__body { font-size: clamp(0.95rem, 3.4vh, 1.2rem); }
}

/* ---------- footer legal links ---------- */
.footer__legal-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer__legal-links a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.55);
  transition: color 0.3s var(--ease);
}
.footer__legal-links a:hover { color: var(--film-ink); }
.footer__legal { line-height: 1.6; }

/* ---------- standalone legal pages (privacy / terms / accessibility) ---------- */
.legal { background: var(--bg); color: var(--ink); min-height: 100vh; }
.legal__bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(22px, 5vw, 56px);
  background: rgba(244, 238, 226, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.legal__bar .nav__brand-main { color: var(--ink); text-shadow: none; }
.legal__bar .nav__brand-sub { color: var(--accent); }
.legal__back {
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim);
}
.legal__back:hover { color: var(--ink); }
.legal__main { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vh, 96px) clamp(24px, 5vw, 40px) 120px; }
.legal__eyebrow { font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.legal__main h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.05; }
.legal__updated { color: var(--ink-faint); font-size: 0.9rem; margin-top: 0.8rem; margin-bottom: 2.6rem; }
.legal__main h2 {
  font-family: var(--display); font-weight: 500; font-size: 1.5rem;
  margin: 2.6rem 0 0.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.legal__main h2:first-of-type { border-top: 0; padding-top: 0; }
.legal__main p, .legal__main li { color: var(--ink-dim); line-height: 1.75; font-weight: 300; }
.legal__main p { margin-bottom: 1rem; }
.legal__main ul { margin: 0 0 1rem 1.2rem; }
.legal__main li { margin-bottom: 0.5rem; }
.legal__main a { color: var(--ink); border-bottom: 1px solid var(--ink-faint); }
.legal__main a:hover { border-color: var(--ink); }
.legal__note {
  margin: 2.4rem 0; padding: 18px 22px; border-radius: 6px;
  background: var(--bg-2); border: 1px solid var(--line);
  font-size: 0.92rem; color: var(--ink-dim);
}
.legal__foot { margin-top: 3rem; font-size: 0.85rem; color: var(--ink-faint); }
.legal__foot a { color: var(--ink-dim); }
