/* Pet Atelier — Palm Springs. Desert-modern, photo-first.
   Tokens */
:root {
  /* Pet Atelier: white + turquoise, deep teal ink (matches petatelier.io) */
  --plaster: #FFFFFF;
  --sage: #EEFAF7;
  --sage-deep: #D7F2EC;
  --ink: #123E3C;
  --ink-soft: #3F6360;
  --gold: #2EC4B6;
  --gold-deep: #0E655D;
  --agave: #2EC4B6;
  --white: #FFFFFF;
  --line: rgba(18, 62, 60, 0.14);

  --font-display: "Urbanist", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Urbanist", "Helvetica Neue", Arial, sans-serif;

  --measure: 62ch;
  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 9vw, 7rem);
  --radius: 10px;
  --focus: 3px solid var(--gold);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--plaster);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: var(--focus); outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 20ch; }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1em; max-width: var(--measure); }
ul, dl { margin: 0; padding: 0; }
li { list-style: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--white); padding: .6rem 1rem; z-index: 100; border-radius: 6px; }
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 760px; }
.section { padding-block: var(--section); scroll-margin-top: 84px; position: relative; }
.section--sage { background: var(--sage); }
.section--ink { background: var(--ink); color: var(--white); }
.lede { font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 2.5rem; }
.section--ink .lede { color: rgba(251, 250, 247, 0.78); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem;
  font: 600 1rem/1 var(--font-body);
  border-radius: 999px; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--primary:hover { background: #22B3A5; border-color: #22B3A5; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--plaster); }
.btn--light { color: var(--plaster); border-color: rgba(251, 250, 247, .7); }
.btn--light:hover { background: var(--plaster); color: var(--ink); }
.btn--wide { width: 100%; }

/* Header */
.site-header {
  position: fixed; top: .8rem; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(100% - 2 * var(--gutter), var(--wrap));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .45rem .6rem .45rem 1rem;
  background: rgba(255, 255, 255, .62); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px;
  box-shadow: 0 10px 30px rgba(18, 62, 60, .12), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand img { width: 44px; height: auto; }
.brand__logo {
  filter: drop-shadow(0 0 4px rgba(46, 196, 182, .95)) drop-shadow(0 0 12px rgba(46, 196, 182, .6));
  animation: logo-glow 3.2s ease-in-out infinite;
}
@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(46, 196, 182, .95)) drop-shadow(0 0 12px rgba(46, 196, 182, .55)); }
  50% { filter: drop-shadow(0 0 7px rgba(46, 196, 182, 1)) drop-shadow(0 0 22px rgba(46, 196, 182, .85)); }
}
@media (prefers-reduced-motion: reduce) { .brand__logo { animation: none; } }
.site-nav ul { display: flex; gap: 1.6rem; align-items: center; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav a:hover { text-decoration: underline; }
.nav-call a { font-weight: 600; color: var(--gold-deep); }
.nav-toggle { display: none; }

/* Hero */
.film { position: relative; height: 100svh; background: var(--ink); color: var(--white); }
.film--long { height: 280svh; }
.film__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; align-items: end; }
.film__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(18, 62, 60, .86) 0%, rgba(18, 62, 60, .38) 45%, rgba(18, 62, 60, 0) 75%); }
.film__chapters { position: relative; display: grid; }
.film__chapters span { grid-area: 1 / 1; opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .6s ease, transform .6s ease, filter .6s ease; }
.film__chapters span.is-on { opacity: 1; transform: none; filter: none; }
.film__cue { position: absolute; right: var(--gutter); bottom: 2.2rem; z-index: 3; display: grid; justify-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .8); transition: opacity .4s; }
.film__cue i { width: 1px; height: 46px; background: linear-gradient(to bottom, var(--gold), transparent); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.film.is-past .film__cue { opacity: 0; }
.film__progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 4; background: rgba(255, 255, 255, .12); }
.film__progress i { display: block; height: 100%; width: 0; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.hero__photo, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero__video { opacity: 0; transition: opacity .8s; }
.hero__video.is-ready { opacity: 1; }
.hero__text {
  position: relative; z-index: 2;
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
  padding-block: clamp(2.5rem, 8vw, 5rem) clamp(2.5rem, 6vw, 4.5rem);
}
.hero__place { font-weight: 700; font-size: 1.05rem; color: rgba(255, 255, 255, .92); margin-bottom: .6rem; }
.hero h1, .film h1 { font-size: clamp(3rem, 8.5vw, 7rem); max-width: 14ch; margin-bottom: .3em; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 46ch; color: rgba(251, 250, 247, .9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.hero .btn--ghost { color: var(--plaster); border-color: rgba(251, 250, 247, .75); }
.hero .btn--ghost:hover { background: var(--plaster); color: var(--ink); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem 1.6rem; }
@media (max-width: 1024px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }
.service { border-top: 2px solid var(--gold); padding-top: 1.1rem; }
.service h3::after { content: "."; color: var(--gold); }
.service img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 1.1rem; width: 100%; }
.service h3 { margin-bottom: .35em; }
.service p { color: var(--ink-soft); font-size: 1rem; }
.service a { font-weight: 600; color: var(--gold-deep); }

/* Why */
.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.why__list > div { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.why__list > div:last-child { border-bottom: 1px solid var(--line); }
.why__list dt { font-weight: 800; font-size: 1.35rem; margin-bottom: .2rem; letter-spacing: -0.01em; }
.why__list dd { margin: 0; color: var(--ink-soft); max-width: var(--measure); }
.why__photo { border-radius: var(--radius); aspect-ratio: 5 / 6; object-fit: cover; width: 100%; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); width: 100%; height: 100%; }
.gallery li:first-child { grid-column: span 2; }
.gallery li:first-child img { aspect-ratio: 16 / 10; object-position: center 55%; }

/* Memberships */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.plan { border: 1px solid rgba(251, 250, 247, .22); border-radius: var(--radius); padding: 1.6rem; }
.plan--featured { border-color: var(--gold); }
.plan h3 { font-size: 1.5rem; }
.plan__price { font-weight: 800; font-size: 2.4rem; line-height: 1; margin: .4rem 0 1rem; letter-spacing: -0.02em; }
.plan__price span { font-weight: 500; font-size: 1rem; color: rgba(251, 250, 247, .7); margin-left: .2rem; }
.plan p { color: rgba(251, 250, 247, .8); }
.plan .btn { margin-top: .5rem; }
.plan__rows { margin: .6rem 0 1rem; }
.plan__rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .98rem; }
.plan__rows dd { margin: 0; font-weight: 700; }
.plan__note { font-size: .9rem; color: rgba(255, 255, 255, .72); }
.hiring { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .95rem; color: rgba(255, 255, 255, .85); }

/* Prices */
.price-group { margin-top: 3rem; }
.price-group h3 { font-size: 1.1rem; font-weight: 700; color: var(--gold); margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.price-group h4 { font-size: 1.5rem; font-weight: 800; margin: 0 0 .2em; letter-spacing: -0.01em; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2rem; align-items: start; }
.price-grid--late { margin-top: 1.5rem; }
.price-stack { display: grid; gap: 1.2rem; }
.price-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.price-table caption { text-align: left; font-weight: 700; font-size: 1.1rem; padding: .3rem 0 .6rem; caption-side: top; }
.price-table caption span, .price-table th span { display: block; font-weight: 500; font-size: .85rem; color: rgba(255, 255, 255, .68); }
.price-table th, .price-table td { padding: .6rem .5rem .6rem 0; border-top: 1px solid rgba(255, 255, 255, .16); text-align: left; vertical-align: top; }
.price-table thead th { border-top: 0; font-size: .85rem; font-weight: 700; color: rgba(255, 255, 255, .75); padding-bottom: .3rem; }
.price-table tbody th { font-weight: 600; }
.price-table td { font-weight: 700; white-space: nowrap; }
.price-table thead th:not(:first-child), .price-table td { text-align: right; padding-right: 0; padding-left: .6rem; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.price-note { color: rgba(255, 255, 255, .78); font-size: .95rem; margin: 1rem 0 0; }
.plans { margin-top: .4rem; }
@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-table { font-size: .92rem; }
}

/* Aurora on dark sections */
.section--ink::before, .site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .55;
  background:
    radial-gradient(60% 50% at 15% 20%, rgba(46, 196, 182, .35), transparent 70%),
    radial-gradient(50% 60% at 85% 80%, rgba(46, 196, 182, .22), transparent 70%);
  animation: aurora 14s ease-in-out infinite alternate;
}
.section--ink > *, .site-footer > * { position: relative; z-index: 1; }
.site-footer { position: relative; overflow: hidden; }
@keyframes aurora { to { transform: translate3d(4%, -3%, 0) scale(1.08); } }

/* Kinetic strip */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1rem 0; background: var(--white); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-weight: 800; font-size: clamp(2.2rem, 6vw, 4.6rem); letter-spacing: -0.02em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee__track span:nth-child(3n) { color: var(--gold); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Stats */
.stats { display: flex; gap: 2.2rem; margin: 0 0 1.6rem; }
.stats strong { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--gold-deep); }
.stats span { font-size: .9rem; color: var(--ink-soft); }

/* Cursor light + grain */
.glow { position: fixed; z-index: 40; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; left: 0; top: 0;
  background: radial-gradient(circle, rgba(46, 196, 182, .35), transparent 62%); mix-blend-mode: screen; opacity: 0;
  transform: translate(-50%, -50%); transition: opacity .6s; }
.glow.is-on { opacity: 1; }
.grain { position: fixed; inset: -50%; z-index: 41; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* Tilt cards */
.tilt { perspective: 900px; }
.tilt img { transition: transform .25s ease, box-shadow .25s ease; transform-style: preserve-3d; will-change: transform; }
.tilt.is-tilting img { box-shadow: 0 30px 60px rgba(18, 62, 60, .25); }

@media (prefers-reduced-motion: reduce) {
  .section--ink::before, .site-footer::before, .marquee__track, .grain, .film__cue i { animation: none; }
  .glow, .grain { display: none; }
}
@media (max-width: 720px) {
  .site-header { top: .5rem; padding-left: .8rem; }
  .glow { display: none; }
  .stats { gap: 1.4rem; }
  .stats strong { font-size: 2rem; }
}

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; }
.review blockquote { margin: 0 0 .8rem; font-weight: 600; font-size: 1.25rem; line-height: 1.4; }
.review blockquote::before { content: "“"; color: var(--gold); margin-right: .1em; }
.review__who { color: var(--ink-soft); font-size: .95rem; }
.reviews__link { margin-top: 1.5rem; }
.reviews__link a { font-weight: 600; color: var(--gold-deep); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.2rem 1.1rem 0; position: relative;
  font-weight: 700; font-size: 1.2rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding-bottom: 1.2rem; color: var(--ink-soft); }

/* Contact / form */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__intro p { color: var(--ink-soft); }
.contact__intro a { color: var(--ink); font-weight: 600; }
.contact__pets { margin-top: 1.6rem; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 24px 50px rgba(18, 62, 60, .18); }
@media (max-width: 900px) { .contact__pets { max-width: 420px; } }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2.2rem); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form__row { margin-bottom: 1.1rem; }
.form label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .98rem; }
.optional { font-weight: 400; color: var(--ink-soft); font-size: .9rem; margin-left: .3rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--plaster);
  border: 1px solid rgba(27, 28, 26, .3); border-radius: 8px; padding: .75rem .9rem; min-height: 48px;
}
.form textarea { min-height: 7rem; resize: vertical; }
.form input[type="file"] { padding: .55rem .9rem; }
.form input::placeholder, .form textarea::placeholder { color: #767872; }
.form__hint { font-size: .9rem; color: var(--ink-soft); margin: .4rem 0 0; }
.form__error { background: #FDEDEB; color: #7A1F12; border: 1px solid #E6B2AA; border-radius: 8px; padding: .8rem 1rem; }
.form__fine { font-size: .9rem; color: var(--ink-soft); margin: .9rem 0 0; text-align: center; }

/* Footer */
.site-footer { background: var(--ink); color: var(--plaster); padding-block: var(--section) 1.5rem; }
.footer { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer__logo { width: 88px; background: var(--plaster); border-radius: 50%; padding: 6px; margin-bottom: 1rem; }
.footer a { color: var(--plaster); }
.footer__addr { font-size: 1.1rem; }
.footer__h { font-size: .95rem; font-weight: 700; margin: 0 0 .6rem; color: var(--gold); }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(251, 250, 247, .14); }
.hours dd { margin: 0; color: rgba(251, 250, 247, .8); }
.hours { margin-bottom: 1.6rem; }
.social { display: flex; gap: 1.2rem; }
.footer__map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); filter: grayscale(.2); }
.footer__legal { font-size: .85rem; color: rgba(251, 250, 247, .6); margin-bottom: 0; }

/* Sticky mobile bar */
.sticky-bar { display: none; }

/* Thank-you page */
.thanks { min-height: 100svh; display: grid; place-content: center; text-align: center; padding: 2rem var(--gutter); gap: 1rem; }
.thanks img { margin-inline: auto; }
.thanks h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.thanks p { margin-inline: auto; }
.thanks .btn { justify-self: center; }

/* Mobile */
@media (max-width: 900px) {
  .why, .contact, .footer { grid-template-columns: 1fr; }
  .why__photo { order: -1; aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: 1fr; }
  .gallery li:first-child { grid-column: auto; }
  .gallery li:first-child img { aspect-ratio: 4 / 5; }
}
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; position: relative;
  }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: absolute; left: 11px; transition: transform .2s, opacity .2s;
  }
  .nav-toggle__bar { top: 21px; }
  .nav-toggle__bar::before { left: 0; top: -6px; }
  .nav-toggle__bar::after { left: 0; top: 6px; }
  .is-open .nav-toggle__bar { background: transparent; }
  .is-open .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
  .is-open .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav ul {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + .5rem);
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .7); border-radius: 22px; padding: .5rem 1.2rem .8rem;
    box-shadow: 0 16px 40px rgba(18, 62, 60, .16);
  }
  .is-open .site-nav ul { display: flex; }
  .site-nav li a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav li:last-child a { border-bottom: 0; }

  .film__cue { display: none; }
  .form__grid { grid-template-columns: 1fr; }
  .sticky-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(251, 250, 247, .95); border-top: 1px solid var(--line); backdrop-filter: blur(8px);
  }
  body { padding-bottom: 84px; }
  .hero__actions { display: none; }
  .hero__text { padding-bottom: 2rem; }
}


/* Intro: dark teal veil over the live lobby video, logo paints in, three lines, then the page arrives */
.intro {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  background: rgba(18, 62, 60, .78); color: var(--white); text-align: center;
  transition: opacity 1.1s ease, visibility 0s linear 1.1s;
}
.intro[hidden] { display: none; }
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__inner { display: grid; gap: 1.6rem; justify-items: center; padding: 1rem; }
.intro__logo {
  width: clamp(170px, 34vw, 300px); height: auto;
  filter: drop-shadow(0 0 24px rgba(46, 196, 182, .55));
  -webkit-mask-image: linear-gradient(to bottom, #000 0 40%, transparent 60%);
  mask-image: linear-gradient(to bottom, #000 0 40%, transparent 60%);
  -webkit-mask-size: 100% 300%; mask-size: 100% 300%;
  -webkit-mask-position: 0 100%; mask-position: 0 100%;
  animation: intro-paint 1.6s cubic-bezier(.4, 0, .2, 1) .2s forwards;
}
@keyframes intro-paint { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.intro__lines { display: grid; gap: .1em; margin: 0; max-width: none; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; font-size: clamp(2rem, 6vw, 3.6rem); }
.intro__lines span { opacity: 0; transform: translateY(14px); animation: intro-line .7s ease forwards; }
.intro__lines span:nth-child(1) { animation-delay: 1.7s; }
.intro__lines span:nth-child(2) { animation-delay: 2.4s; }
.intro__lines span:nth-child(3) { animation-delay: 3.1s; color: var(--gold); }
@keyframes intro-line { to { opacity: 1; transform: none; } }
.intro__skip {
  position: absolute; right: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
  background: transparent; color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px; padding: .65rem 1.15rem; font: 600 .9rem var(--font-body); cursor: pointer;
}
.intro__skip:hover { background: rgba(255, 255, 255, .12); }
body.intro-lock { overflow: hidden; }
body.intro-lock .site-header { opacity: 0; }
body.intro-lock .hero__text { opacity: 0; transform: translateY(16px); }
.site-header { transition: opacity .9s ease .2s; }
.hero__text { transition: opacity .9s ease .2s, transform .9s ease .2s; }

/* Scroll reveal: headings and cards drift up once */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.services .reveal:nth-child(2) { transition-delay: .08s; }
.services .reveal:nth-child(3) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .intro__logo { animation: none; -webkit-mask-image: none; mask-image: none; }
  .intro__lines span { animation: none; opacity: 1; transform: none; }
}
