/* ============================================================
   STUDIO ARC13 — landing page
   Palette drawn from the branding: cream / warm grey / black
   Type: Jost (geometric sans) + Cormorant Garamond (serif display)
   ============================================================ */

:root {
  --cream: #f2efe9;
  --grey: #dcd8cf;
  --ink: #0c0c0c;
  --ink-soft: #3a3a38;
  --light-soft: #b8b4ab;
  --hairline: rgba(12, 12, 12, 0.25);
  --hairline-light: rgba(242, 239, 233, 0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- film grain overlay ---------- */
.grain {
  position: fixed;
  inset: -100px;
  z-index: 200;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  animation: grain-shift 1.2s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-30px, 20px); }
  50% { transform: translate(20px, -25px); }
  75% { transform: translate(-15px, -10px); }
  100% { transform: translate(0, 0); }
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .grain { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  transition: background 0.45s ease, border-color 0.45s ease, padding 0.45s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(242, 239, 233, 0.93);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline);
  padding: 0.8rem 2rem;
}

.nav-brand { display: flex; align-items: center; }
.logo-img { height: 22px; width: auto; display: block; }

/* logo swap: light logo over dark hero, dark logo once scrolled */
.nav .logo-when-light { display: none; }
.nav .logo-when-dark { display: block; }
.nav.scrolled .logo-when-light { display: block; }
.nav.scrolled .logo-when-dark { display: none; }

.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--light-soft);
  transition: color 0.3s, letter-spacing 0.3s;
}
.nav-links a:hover { color: var(--cream); }
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav.scrolled .nav-links a:hover { color: var(--ink); }

.nav-links .nav-cta {
  border: 1px solid var(--light-soft);
  padding: 0.4rem 1rem;
  color: var(--cream);
}
.nav-links .nav-cta:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.nav.scrolled .nav-links .nav-cta { border-color: var(--ink); color: var(--ink); }
.nav.scrolled .nav-links .nav-cta:hover { background: var(--ink); color: var(--cream); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 34px; height: 24px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 4px; right: 4px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s, top 0.3s, background 0.3s;
}
.nav.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle span:first-child { top: 8px; }
.nav-toggle span:last-child { top: 16px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 12px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 12px; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--hairline);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav-links.open { max-height: 460px; }
  .nav-links a, .nav.scrolled .nav-links a {
    padding: 1rem 2rem;
    width: 100%;
    text-align: center;
    color: var(--ink-soft);
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-links .nav-cta, .nav.scrolled .nav-links .nav-cta { border: none; color: var(--ink); }
}

/* ---------- hero (dark) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 5rem;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(242, 239, 233, 0.09), transparent 65%),
    radial-gradient(ellipse 40% 30% at 80% 90%, rgba(242, 239, 233, 0.05), transparent 70%);
  animation: glow-drift 12s ease-in-out infinite alternate;
}
@keyframes glow-drift {
  from { opacity: 0.75; transform: scale(1); }
  to { opacity: 1; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .hero-glow { animation: none; } }

.hero > :not(.hero-glow):not(.hero-particles) { position: relative; z-index: 2; }

.hero-logo {
  width: min(620px, 86vw);
  height: auto;
}
.hero-rule {
  width: 64px;
  height: 1px;
  background: var(--light-soft);
  margin: 2.6rem 0;
}
.hero-tag {
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-transform: uppercase;
  font-weight: 400;
}
.hero-lede {
  max-width: 42rem;
  margin-top: 2rem;
  font-size: 1.05rem;
  color: var(--light-soft);
}
.hero .btn { margin-top: 3rem; }

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  overflow: hidden;
}
.scroll-cue span {
  position: absolute;
  left: 0; top: -100%;
  width: 1px; height: 100%;
  background: var(--light-soft);
  animation: cue-drop 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes cue-drop {
  0% { top: -100%; }
  55% { top: 0; }
  100% { top: 100%; }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue { display: none; } }

/* ---------- marquee ---------- */
.marquee {
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 1.1rem 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  width: max-content;
  animation: marquee-scroll 90s linear infinite;
}
.marquee-track span {
  font-size: 0.72rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  overflow: hidden;
  z-index: 1;
  transition: color 0.35s ease, letter-spacing 0.35s ease,
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover { letter-spacing: 0.34em; }
.btn:hover::before { transform: scaleX(1); }

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

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

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

/* email-as-button: keep lowercase so it reads as a real address */
.btn-email {
  text-transform: none;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}
.btn-email:hover { letter-spacing: 0.22em; }

/* "copied" toast */
.copy-toast {
  position: fixed;
  bottom: 2.4rem;
  left: 50%;
  transform: translate(-50%, 12px);
  z-index: 450;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.7rem 1.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.copy-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- bands / sections ---------- */
.band { position: relative; overflow: hidden; padding: 7rem 1.5rem; }
.band-cream { background: var(--cream); }
.band-grey { background: var(--grey); }
.band-dark { background: var(--ink); color: var(--cream); }
.band-dark .kicker { color: var(--light-soft); }

.container { position: relative; z-index: 1; max-width: 68rem; margin: 0 auto; }
.center { text-align: center; }

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.7em;
  text-indent: 0.7em;
  font-weight: 400;
  text-transform: uppercase;
}

.display {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  margin: 1.4rem 0 1.6rem;
}
.display em { font-style: italic; font-weight: 300; }

.lede {
  max-width: 44rem;
  margin: 0 auto 1.5rem;
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.band-dark .lede { color: var(--light-soft); }

.tags {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 1.6rem 0;
}
.band-dark .tags { color: var(--light-soft); max-width: 46rem; margin-left: auto; margin-right: auto; }

.pull {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.5;
  margin: 2rem 0;
}
.pull.light { color: var(--cream); }

.big-words {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.6;
  max-width: 40rem;
  margin: 2.4rem auto;
}

.section-logo {
  width: min(340px, 70vw);
  height: auto;
  margin-bottom: 1.4rem;
}

/* ---------- two-column split sections ---------- */
.cols {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 3rem;
  align-items: start;
}
.col-label {
  position: sticky;
  top: 7rem;
  border-top: 1px solid var(--hairline);
  padding-top: 1.2rem;
}
.col-label .index {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.6rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.8rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--hairline);
}
.col-body p { max-width: 40rem; color: var(--ink-soft); margin-bottom: 1rem; }
.col-body .display { margin-top: 0; }
.col-body .btn { margin-top: 1.4rem; }
.col-body .pull { color: var(--ink); }

@media (max-width: 820px) {
  .cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .col-label { position: static; }
}

/* ---------- connections list ---------- */
.connections {
  list-style: none;
  max-width: 30rem;
  margin: 3rem auto;
}
.connections li {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.3s ease, padding 0.3s ease;
}
.connections li:first-child { border-top: 1px solid var(--hairline); }
.connections li:hover { background: rgba(12, 12, 12, 0.045); padding-left: 1rem; padding-right: 1rem; }
.connections li span:first-child { text-align: right; }
.connections li span:last-child { text-align: left; }
.link-mark {
  width: 22px;
  height: 1px;
  background: var(--ink-soft);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s;
}
.connections li:hover .link-mark { width: 44px; background: var(--ink); }

/* ---------- approach steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
  text-align: left;
}
.step {
  position: relative;
  border-top: 1px solid var(--hairline);
  padding-top: 1.4rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  height: 1px;
  width: 0;
  background: var(--ink);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.step:hover { transform: translateY(-4px); }
.step:hover::before { width: 100%; }
/* staggered reveal */
.steps .step:nth-child(1) { --d: 0s; }
.steps .step:nth-child(2) { --d: 0.12s; }
.steps .step:nth-child(3) { --d: 0.24s; }
.steps .step:nth-child(4) { --d: 0.36s; }

.step .index {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.8rem;
}
.step h3 {
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  font-weight: 400;
  margin-bottom: 0.8rem;
}
.step p { font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- closing / contact ---------- */
.closing { padding-bottom: 8rem; }
.for-list {
  list-style: none;
  margin: 2.5rem auto;
  max-width: 30rem;
}
.for-list li {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-style: italic;
  padding: 0.45rem 0;
  color: var(--light-soft);
  transition: color 0.3s;
}
.for-list li:hover { color: var(--cream); }
.closing-q {
  font-size: 0.88rem;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  text-transform: uppercase;
  margin: 3rem 0 2.2rem;
}
.contact-details {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.8rem 1rem;
}
.contact-details a {
  color: var(--light-soft);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  border-bottom: 1px solid var(--hairline-light);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.contact-details a:hover { color: var(--cream); border-color: var(--cream); }
.contact-details .dot { color: var(--light-soft); }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: var(--light-soft);
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
  border-top: 1px solid var(--hairline-light);
}
.footer-logo {
  width: min(240px, 60vw);
  height: auto;
  margin: 0 auto;
  display: block;
}
.footer-line {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  margin: 1.6rem 0 0.6rem;
}
.footer-address {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  margin-bottom: 2.2rem;
}
.footer-address a {
  color: var(--light-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-light);
  transition: color 0.3s;
}
.footer-address a:hover { color: var(--cream); }
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  max-width: 68rem;
  margin: 0 auto;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline-light);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.footer-meta nav { display: flex; gap: 1.4rem; }
.footer-meta a {
  color: var(--light-soft);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-meta a:hover { color: var(--cream); }
@media (max-width: 520px) {
  .footer-meta { justify-content: center; text-align: center; }
}

/* ---------- legal page ---------- */
.legal-page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 9rem 1.5rem 5rem;
}
.legal-page h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
}
.legal-page h2 {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 2.6rem 0 0.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
}
.legal-page p, .legal-page li {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}
.legal-page ul { padding-left: 1.2rem; }
.legal-updated {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.legal-page a { color: var(--ink); }

/* ============================================================
   SWANK LAYER — preloader, cursor, watermarks, shimmer, marquee CTA
   ============================================================ */

/* ---------- preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: preloader-lift 0.8s cubic-bezier(0.76, 0, 0.24, 1) 2s forwards;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.preloader-logo {
  width: min(440px, 74vw);
  height: auto;
  clip-path: inset(0 100% 0 0);
  animation: logo-wipe 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.25s forwards;
}
.preloader-line {
  width: min(440px, 74vw);
  height: 1px;
  background: rgba(242, 239, 233, 0.15);
  overflow: hidden;
}
.preloader-line span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
  animation: line-fill 1.35s cubic-bezier(0.65, 0, 0.35, 1) 0.45s forwards;
}
@keyframes logo-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes line-fill { to { transform: scaleX(1); } }
@keyframes preloader-lift {
  to { transform: translateY(-100%); }
}
html.is-loading { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .preloader { display: none; } }

/* ---------- custom cursor ---------- */
.cursor-dot {
  display: none;
  position: fixed;
  top: 0; left: 0;
  z-index: 400;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
  width: 6px; height: 6px;
  background: #fff;
}
body.has-cursor .cursor-dot { display: block; }
@media (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ---------- scroll progress ---------- */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 300;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, var(--ink-soft), var(--ink));
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- giant watermark words ---------- */
.watermark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -3%;
  transform: translateY(calc(-50% + var(--wy, 0px)));
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(7rem, 20vw, 17rem);
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  color: transparent;
  -webkit-text-stroke: 1px rgba(12, 12, 12, 0.13);
  will-change: transform;
}
.watermark-left { right: auto; left: -3%; }
.band-dark .watermark { -webkit-text-stroke: 1px rgba(242, 239, 233, 0.11); }
@media (max-width: 820px) { .watermark { opacity: 0.6; } }

/* ---------- hero particles + logo shimmer ---------- */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-logo-wrap {
  position: relative;
  line-height: 0;
}
.hero-logo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.55) 50%, transparent 58%) no-repeat;
  background-size: 260% 100%;
  background-position: 200% 0;
  -webkit-mask-image: url("assets/logo-light.png");
  mask-image: url("assets/logo-light.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  animation: logo-shine 7s ease-in-out 3s infinite;
}
@keyframes logo-shine {
  0% { background-position: 200% 0; }
  18% { background-position: -100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo-wrap::after { animation: none; }
}

/* ---------- hero entrance (CSS-driven, synced to preloader lift) ---------- */
.hero-enter {
  animation: hero-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-logo-wrap.hero-enter { animation-delay: 2.1s; }
.hero-rule.hero-enter { animation-delay: 2.3s; }
.hero-tag.hero-enter { animation-delay: 2.42s; }
.hero-lede.hero-enter { animation-delay: 2.56s; }
.hero .btn.hero-enter { animation-delay: 2.72s; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-enter { animation: none; }
}

/* ---------- word-mask heading reveals ---------- */
.display .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.1em 0.08em 0.24em 0.04em;
  margin: -0.1em -0.08em -0.24em -0.04em;
}
.display .wi {
  display: inline-block;
  transform: translateY(130%);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.display.visible .wi { transform: none; }
@media (prefers-reduced-motion: reduce) { .display .wi { transform: none; transition: none; } }

/* legal page uses a solid nav (no dark hero behind it) */
.nav.solid {
  background: rgba(242, 239, 233, 0.93);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline);
}
.nav.solid .logo-when-light { display: block; }
.nav.solid .logo-when-dark { display: none; }
.nav.solid .nav-links a { color: var(--ink-soft); }
.nav.solid .nav-links a:hover { color: var(--ink); }
.nav.solid .nav-links .nav-cta { border-color: var(--ink); color: var(--ink); }
.nav.solid .nav-links .nav-cta:hover { background: var(--ink); color: var(--cream); }
.nav.solid .nav-toggle span { background: var(--ink); }
