/* =========================================================
   The Saffron Room — modern Indian dining
   Aesthetic: dark, quiet luxury, saffron & orange accents
   ========================================================= */

:root {
  /* palette */
  --black:      #0c0a09;   /* warm near-black */
  --ink:        #14110f;   /* raised surface */
  --ink-2:      #1c1815;
  --cream:      #f3ede2;   /* warm off-white text */
  --cream-dim:  #cabfae;
  --line:       rgba(243, 237, 226, 0.12);

  /* saffron / orange accents */
  --saffron:    #f6a823;
  --saffron-lt: #ffc95c;
  --orange:     #e8650e;
  --ember:      #c4470a;
  --grad: linear-gradient(100deg, var(--saffron-lt) 0%, var(--saffron) 38%, var(--orange) 100%);

  /* type */
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.65, 0.05, 0.36, 1);

  --pad: clamp(1.25rem, 5vw, 6rem);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--saffron); color: var(--black); }

/* subtle film grain / vignette over whole page */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2;
  background: radial-gradient(120% 90% at 50% 0%, transparent 60%, rgba(0,0,0,0.45) 100%);
  mix-blend-mode: multiply;
}

/* ---------- typography helpers ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; }
em { font-style: italic; }
.muted { color: var(--cream-dim); }

.section-label {
  font-size: 0.74rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--cream-dim); display: flex; align-items: center; gap: 0.9rem;
}
.section-label span {
  color: var(--saffron); font-family: var(--serif); font-style: italic;
  font-size: 1.05rem; letter-spacing: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05rem 2.1rem;
  background: var(--grad);
  color: #1a1206;
  font-family: var(--sans); font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 100px;
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 10px 30px -12px rgba(246,168,35,0.55);
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--orange), var(--saffron));
  opacity: 0; transition: opacity .5s var(--ease);
}
.btn span, .btn { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(232,101,14,0.7); }
.btn:hover::after { opacity: 1; }
.btn--small { padding: 0.7rem 1.35rem; font-size: 0.7rem; }
.btn--block { width: 100%; padding: 1.15rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream);
}
.link-arrow span { color: var(--saffron); transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(7px); }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem var(--pad);
  transition: padding .5s var(--ease), background .5s var(--ease), backdrop-filter .5s;
}
.nav.scrolled {
  padding: 0.85rem var(--pad);
  background: rgba(12,10,9,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__logo {
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.01em; line-height: 1;
}
.nav__logo-mark { font-style: italic; color: var(--saffron); }
.nav__links { display: flex; gap: 2.4rem; }
.nav__links a {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-dim);
  position: relative; padding: 0.3rem 0; transition: color .4s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--saffron); transition: width .45s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { width: 100%; }
.nav__toggle { display: none; width: 34px; height: 34px; flex-direction: column; justify-content: center; gap: 6px; }
.nav__toggle span { display: block; height: 1.5px; width: 26px; background: var(--cream); transition: transform .45s var(--ease), opacity .3s; }
.nav.open .nav__toggle span:first-child { transform: translateY(3.7px) rotate(45deg); }
.nav.open .nav__toggle span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}

/* mobile overlay */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  pointer-events: none;
}
.menu-overlay.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu-overlay__nav { display: flex; flex-direction: column; gap: 0.3rem; }
.menu-overlay__nav a {
  font-family: var(--serif); font-size: clamp(2rem, 8.5vw, 3.2rem); line-height: 1.15;
  display: flex; align-items: baseline; gap: 1rem; opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.menu-overlay__nav a span { font-family: var(--sans); font-size: 0.8rem; color: var(--saffron); letter-spacing: 0.2em; }
.menu-overlay.open .menu-overlay__nav a { opacity: 1; transform: none; }
.menu-overlay.open .menu-overlay__nav a:nth-child(1) { transition-delay: .15s; }
.menu-overlay.open .menu-overlay__nav a:nth-child(2) { transition-delay: .22s; }
.menu-overlay.open .menu-overlay__nav a:nth-child(3) { transition-delay: .29s; }
.menu-overlay.open .menu-overlay__nav a:nth-child(4) { transition-delay: .36s; }
.menu-overlay.open .menu-overlay__nav a:nth-child(5) { transition-delay: .43s; }
.menu-overlay.open .menu-overlay__nav a:nth-child(6) { transition-delay: .50s; }
.menu-overlay.open .menu-overlay__nav a:nth-child(7) { transition-delay: .57s; }
.menu-overlay__nav a:active { color: var(--saffron); }
.menu-overlay__foot { margin-top: 3rem; display: flex; justify-content: space-between; color: var(--cream-dim); font-size: 0.85rem; letter-spacing: 0.05em; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: -8% 0; z-index: 0; will-change: transform; }
.hero__media img { filter: brightness(0.62) saturate(1.05); transform: scale(1.12); }
.hero.ready .hero__media img { transform: scale(1); transition: transform 2.4s var(--ease); }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--black) 2%, rgba(12,10,9,0.1) 45%, rgba(12,10,9,0.55) 100%),
    radial-gradient(80% 60% at 20% 90%, rgba(196,71,10,0.22), transparent 60%);
}
.hero__content { position: relative; z-index: 1; padding: 0 var(--pad) clamp(3rem, 9vh, 7rem); max-width: 1000px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 1.15rem; margin-bottom: 1.3rem;
  border: 1px solid rgba(246,168,35,0.45); border-radius: 100px;
  background: rgba(246,168,35,0.08);
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--saffron-lt);
}
.hero__badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--saffron); box-shadow: 0 0 12px 2px rgba(246,168,35,0.6);
  animation: pulse 2.4s var(--ease-soft) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.75); } }
.hero__eyebrow { font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--saffron-lt); margin-bottom: 1.6rem; }
.hero__title { font-size: clamp(3.6rem, 14vw, 12rem); line-height: 0.92; margin-bottom: 1.8rem; }
.hero__title em { color: var(--saffron); }
.hero__title .line { display: block; overflow: hidden; }
/* the first line carries the italic accent word — give its descenders room below the tight line box */
.hero__title .line:first-child { padding-bottom: 0.25em; margin-bottom: -0.25em; }
.hero__title .line > span { display: block; transform: translateY(135%); }
.hero.ready .hero__title .line > span { transform: translateY(0); transition: transform 1.1s var(--ease); }
.hero.ready .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.hero__lede { max-width: 46ch; font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--cream-dim); margin-bottom: 2.4rem; }
.hero__actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; right: var(--pad); bottom: clamp(2rem, 6vh, 4rem); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--cream-dim);
  writing-mode: vertical-rl;
}
.hero__scroll-line { width: 1px; height: 60px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--saffron); animation: scrollDown 2.2s var(--ease) infinite; }
@keyframes scrollDown { 0% { top: -50%; } 100% { top: 100%; } }
@media (max-width: 600px) { .hero__scroll { display: none; } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.4rem 0; background: var(--ink); }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; flex: 0 0 auto; white-space: nowrap; animation: marquee 28s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 4vw, 2.8rem); color: var(--cream); }
.marquee__track .dot { color: var(--saffron); font-style: normal; }
/* each group slides exactly its own width (padding-right = the inter-group gap), so the loop is seamless */
@keyframes marquee { to { transform: translateX(-100%); } }

/* =========================================================
   About
   ========================================================= */
.about { padding: clamp(5rem, 13vh, 10rem) var(--pad); }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about__title { font-size: clamp(2.2rem, 5vw, 4.6rem); margin-top: 1.6rem; max-width: 14ch; }
.about__body { padding-top: 0.6rem; }
.about__body p { font-size: clamp(1rem, 1.3vw, 1.18rem); color: var(--cream-dim); margin-bottom: 1.4rem; max-width: 52ch; }
.about__signature { margin-top: 2rem; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--saffron); }

.about__figures { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); margin-top: clamp(3rem, 8vh, 6rem); }
.about__fig { overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; }
.about__fig--tall { aspect-ratio: 3 / 5; margin-top: clamp(2rem, 8vh, 5rem); }
.about__fig img { transform: scale(1.05); transition: transform 1.2s var(--ease); }
.about__fig:hover img { transform: scale(1.12); }

@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .about__fig--tall { margin-top: 0; }
}

/* =========================================================
   Experience cards
   ========================================================= */
.experience { padding: clamp(4rem, 10vh, 8rem) var(--pad); }
.experience__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); margin-top: 3rem; }
.xcard {
  border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.8rem, 3vw, 2.8rem);
  background: linear-gradient(180deg, var(--ink), var(--black));
  transition: transform .6s var(--ease), border-color .6s var(--ease), background .6s var(--ease);
  position: relative; overflow: hidden;
}
.xcard::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(90% 80% at 50% 0%, rgba(246,168,35,0.12), transparent 70%);
  transition: opacity .6s var(--ease);
}
.xcard:hover { transform: translateY(-8px); border-color: rgba(246,168,35,0.4); }
.xcard:hover::before { opacity: 1; }
.xcard__no { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--saffron); }
.xcard h3 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); margin: 1.4rem 0 0.8rem; }
.xcard p { color: var(--cream-dim); font-size: 0.98rem; }
@media (max-width: 820px) { .experience__cards { grid-template-columns: 1fr; } }

/* =========================================================
   Menu
   ========================================================= */
.menu { padding: clamp(5rem, 13vh, 10rem) var(--pad); background: var(--ink); border-top: 1px solid var(--line); }
.menu__head { text-align: center; max-width: 720px; margin: 0 auto clamp(3rem, 7vh, 5rem); display: grid; gap: 1.2rem; justify-items: center; }
.menu__title { font-size: clamp(2.6rem, 7vw, 6rem); }
.menu__note { color: var(--cream-dim); max-width: 44ch; }
.menu__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem) clamp(3rem, 8vw, 8rem); max-width: 1100px; margin: 0 auto; }
.menu__cat {
  font-family: var(--serif); font-style: italic; font-size: 1.8rem; color: var(--saffron);
  padding-bottom: 1.2rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line);
}
.menu__item { padding: 1.1rem 0; border-bottom: 1px solid rgba(243,237,226,0.06); }
.menu__row { display: flex; align-items: baseline; gap: 0.6rem; }
.menu__name { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); white-space: nowrap; }
.menu__dots { flex: 1; border-bottom: 1px dotted rgba(243,237,226,0.25); transform: translateY(-3px); }
.menu__price { font-family: var(--serif); font-size: 1.3rem; color: var(--saffron); }
.menu__price::before { content: "$"; font-size: 0.8em; opacity: 0.7; }
.menu__desc { color: var(--cream-dim); font-size: 0.92rem; margin-top: 0.35rem; max-width: 42ch; }
.menu__aside { display: flex; align-items: center; }
.menu__aside p {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.55;
  color: var(--cream-dim); max-width: 38ch;
  border-left: 1px solid rgba(246,168,35,0.35); padding-left: 1.6rem;
}
@media (max-width: 760px) { .menu__cols { grid-template-columns: 1fr; } }

/* =========================================================
   Gallery
   ========================================================= */
.gallery { padding: clamp(5rem, 13vh, 10rem) var(--pad); }
.gallery__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(0.8rem, 1.6vw, 1.4rem);
  margin-top: 3rem; grid-auto-flow: dense;
}
.gallery__item { overflow: hidden; border-radius: 4px; }
.gallery__item img { transform: scale(1.04); transition: transform 1.1s var(--ease), filter 1.1s var(--ease); filter: brightness(0.92); }
.gallery__item:hover img { transform: scale(1.1); filter: brightness(1.05); }
.gallery__item--a { grid-column: span 7; aspect-ratio: 16 / 11; }
.gallery__item--b { grid-column: span 5; aspect-ratio: 4 / 5; }
.gallery__item--c { grid-column: span 5; aspect-ratio: 4 / 5; }
.gallery__item--d { grid-column: span 7; aspect-ratio: 16 / 11; }
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item { grid-column: span 1 !important; aspect-ratio: 1 / 1 !important; }
}

/* =========================================================
   Catering
   ========================================================= */
.catering { display: grid; grid-template-columns: 1fr 1.05fr; background: var(--black); border-top: 1px solid var(--line); }
.catering__body {
  padding: clamp(4rem, 10vh, 8rem) var(--pad);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem;
  max-width: 680px;
}
.catering__title { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.catering__body > p { color: var(--cream-dim); max-width: 50ch; }
.catering__points { display: grid; gap: 0.7rem; margin: 0.4rem 0; }
.catering__points li {
  display: flex; align-items: baseline; gap: 0.9rem;
  font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}
.catering__points li::before { content: "—"; color: var(--saffron); flex: none; }
.catering__note { font-style: italic; font-size: 0.95rem; }
.catering__media { position: relative; overflow: hidden; }
.catering__media img { filter: brightness(0.72) saturate(1.05); transform: scale(1.04); transition: transform 1.2s var(--ease); }
.catering__media:hover img { transform: scale(1.09); }
@media (max-width: 880px) {
  .catering { grid-template-columns: 1fr; }
  .catering__media { min-height: 40vh; }
}

/* =========================================================
   Reserve
   ========================================================= */
.reserve { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; min-height: 90vh; background: var(--ink); border-top: 1px solid var(--line); }
.reserve__media { position: relative; overflow: hidden; }
.reserve__media img { filter: brightness(0.7); transform: scale(1.08); }
.reserve__veil { position: absolute; inset: 0; background: linear-gradient(to right, transparent, var(--ink) 96%); }
.reserve__panel { padding: clamp(3rem, 8vh, 7rem) var(--pad); display: flex; flex-direction: column; gap: 1.4rem; max-width: 640px; }
.reserve__title { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.reserve__sub { color: var(--cream-dim); max-width: 46ch; }
.reserve__form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-dim); }
.field input, .field select {
  background: var(--black); border: 1px solid var(--line); color: var(--cream);
  padding: 0.95rem 1rem; border-radius: 4px; font-family: var(--sans); font-size: 0.95rem;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(246,168,35,0.15); }
.field input::placeholder { color: rgba(202,191,174,0.5); }
.reserve__form .btn { grid-column: 1 / -1; }
.reserve__msg { grid-column: 1 / -1; min-height: 1.2em; font-size: 0.9rem; color: var(--saffron-lt); }
.reserve__info { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.2rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.reserve__info h4 { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--saffron); margin-bottom: 0.7rem; }
.reserve__info p { color: var(--cream-dim); font-size: 0.95rem; line-height: 1.8; }
.reserve__info a:hover { color: var(--saffron); }

@media (max-width: 880px) {
  .reserve { grid-template-columns: 1fr; }
  .reserve__media { min-height: 40vh; }
  .reserve__veil { background: linear-gradient(to bottom, transparent, var(--ink) 96%); }
}
@media (max-width: 520px) {
  .reserve__form { grid-template-columns: 1fr 1fr; }
  .reserve__info { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer { padding: clamp(4rem, 10vh, 8rem) var(--pad) 2.5rem; border-top: 1px solid var(--line); }
.footer__big { font-family: var(--serif); font-size: clamp(3.4rem, 16vw, 14rem); line-height: 0.86; text-align: center; margin-bottom: clamp(3rem, 8vh, 6rem); }
.footer__big em { color: var(--saffron); }
.footer__big .line { display: block; overflow: hidden; }
.footer__big .line:first-child { padding-bottom: 0.25em; margin-bottom: -0.25em; }
.footer__big .line > span { display: block; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.footer__cols h5 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--saffron); margin-bottom: 1rem; }
.footer__cols p { color: var(--cream-dim); line-height: 1.9; }
.footer__cols a:hover { color: var(--cream); }
.footer__news { display: flex; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; max-width: 260px; }
.footer__news input { flex: 1; background: none; border: 0; color: var(--cream); padding: 0.7rem 1rem; font-family: var(--sans); font-size: 0.9rem; }
.footer__news input:focus { outline: none; }
.footer__news button { padding: 0 1.1rem; color: var(--saffron); font-size: 1.1rem; transition: background .4s; }
.footer__news button:hover { background: rgba(246,168,35,0.12); }
.footer__newsmsg { font-size: 0.82rem; color: var(--saffron-lt); margin-top: 0.6rem; min-height: 1em; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--cream-dim); }
@media (max-width: 760px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   Reveal animations (Intersection Observer)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.reveal-lines { }
/* padding + negative margin extend the clip window below the line box so descenders (g, p, y)
   aren't cut off, without shifting the layout */
.reveal-lines .ln { display: block; overflow: hidden; padding-bottom: 0.25em; margin-bottom: -0.25em; }
.reveal-lines .ln > span { display: block; transform: translateY(135%); transition: transform 1s var(--ease); }
.reveal-lines.in .ln > span { transform: translateY(0); }
.reveal-lines.in .ln:nth-child(2) > span { transition-delay: .08s; }
.reveal-lines.in .ln:nth-child(3) > span { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .reveal-lines .ln > span, .hero__title .line > span { opacity: 1 !important; transform: none !important; }
}
