/* Marquee Media. Atlas-style: black / white / blue, minimal copy. No em dashes. */

:root {
  --bg: #000000;
  --text: #f5f5f5;
  --muted: #8e8e93;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #1f42db;
  --blue-hover: #3a5cf0;
  --hero-blue: #0d1f3c;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Smooth cross-document page transitions (native View Transitions API).
   Supported browsers cross-fade between pages; others navigate normally. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
  animation-timing-function: var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* Defensive: prevent any errant element from making the whole page
     horizontally scroll on mobile. The slate carousel scrolls horizontally
     within its own container; nothing else should. */
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

/* Header — fixed, transparent over hero. Mark centered, wordmark fades in on scroll.
   Padding is generous over the hero and tightens once you scroll. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 5vw, 2.5rem);
  background: transparent;
  color: #fff;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.85);
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

/* Center mark in header (always visible) */
.site-header__mark {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.site-header__mark img {
  display: block;
  width: clamp(2rem, 2.5vw, 2.5rem);
  height: clamp(2rem, 2.5vw, 2.5rem);
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}
.site-header.is-scrolled .site-header__mark img {
  width: 1.75rem;
  height: 1.75rem;
}

/* Wordmark in top-left only appears after scroll */
.site-header .logo {
  justify-self: start;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.site-header.is-scrolled .logo {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Right-side nav actions: hidden over the hero, fade in on scroll
   (same treatment as the wordmark, so the hero header is just the mark). */
.site-header .nav-actions {
  justify-self: end;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.site-header.is-scrolled .nav-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-link:hover {
  color: #fff;
}


.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo__img {
  width: auto;
  height: 1.375rem;
  display: block;
}

/* Hero: full-bleed image/video; light gradient lets image breathe; text
   anchored bottom-left A24-style with a soft shadow for legibility. */
.hero-slate {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #000;
}

.hero-slate__img,
.hero-slate__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-slate__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0) 22%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.85) 100%
    ),
    radial-gradient(
      ellipse 65% 55% at 18% 100%,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0) 70%
    );
  pointer-events: none;
}

.hero-slate__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 6vw, 4rem)
           clamp(2.5rem, 6vw, 4.5rem);
  text-align: left;
}

.hero-slate__mark {
  display: block;
  width: clamp(3rem, 5.5vw, 4.5rem);
  height: clamp(3rem, 5.5vw, 4.5rem);
  margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
}

.hero-slate__title {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

.hero-slate__caption {
  margin: 0.625rem 0 0;
  max-width: 28rem;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.45;
  color: rgba(245, 245, 245, 0.78);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero-slate__cta {
  display: inline-block;
  margin: 1.5rem 0 0;
  padding: 0.625rem 1.5rem;
  background: #ffffff;
  color: #0a0a0a;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s var(--ease);
}
.hero-slate__cta:hover {
  background: rgba(255, 255, 255, 0.88);
}

.hero-slate__fine {
  margin: 0.625rem 0 0;
  font-size: 0.75rem;
  color: rgba(245, 245, 245, 0.58);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

/* Slate cards — Apple "Get to know Mac" pattern: vertical cards in a row,
   eyebrow + headline at top, blurred film stills behind, lock CTA at bottom.
   Clicking anywhere on a card takes you to the request-invite page. */
.slate-cards {
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1.5rem, 4vw, 3rem);
  background: #000;
  overflow: hidden;
}

.slate-cards__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 clamp(0.25rem, 1.5vw, 1rem);
}

.slate-cards__headings {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.slate-cards__heading {
  margin: 0;
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: #fff;
}

.slate-cards__eyebrow {
  margin: 0;
  font-size: clamp(0.95rem, 1.3vw, 1.125rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  color: rgba(245, 245, 245, 0.5);
}

.slate-cards__nav {
  display: flex;
  gap: 0.5rem;
}

.slate-nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 245, 245, 0.9);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), opacity 0.2s var(--ease),
              color 0.2s var(--ease);
}
.slate-nav-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.slate-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.slate-nav-btn svg {
  width: 18px;
  height: 18px;
}

.slate-cards__row {
  display: flex;
  gap: clamp(0.875rem, 1.5vw, 1.25rem);
  overflow-x: auto;
  /* Explicit y-hidden so the horizontal scroller doesn't trap vertical
     page scroll when the cursor is over it. overscroll keeps the swipe
     from triggering browser back-navigation. */
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* Left edge aligns with the heading; only the right edge bleeds off-screen. */
  margin: 0 calc(clamp(1.5rem, 4vw, 3rem) * -1) 0 0;
  padding: 1.5rem 0;
  scroll-padding-left: 0;
  scrollbar-width: none;
}
.slate-cards__row::-webkit-scrollbar { display: none; }

.slate-card {
  position: relative;
  display: block;
  flex: 0 0 clamp(300px, 30vw, 460px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: #0a0a0a;
  text-decoration: none;
  color: rgba(245, 245, 245, 0.95);
  scroll-snap-align: start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.slate-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.slate-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.slate-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) saturate(0.82) brightness(0.7);
  transform: scale(1.12); /* hides the blur edge artifacts */
  transition: filter 0.4s var(--ease), transform 0.6s var(--ease);
}

/* Keep the image blurred on hover too — the stills are confidential and must
   never resolve. Hover life comes from a gentle brighten + zoom only. */
.slate-card:hover .slate-card__media img {
  filter: blur(14px) saturate(0.9) brightness(0.82);
  transform: scale(1.16);
}

.slate-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0) 32%,
    rgba(0, 0, 0, 0) 48%,
    rgba(0, 0, 0, 0.8) 100%
  );
  pointer-events: none;
}

/* Foot: blurred title + an always-visible lock/invite line. */
.slate-card__foot {
  position: absolute;
  left: clamp(1.25rem, 2vw, 1.75rem);
  right: clamp(1.25rem, 2vw, 1.75rem);
  bottom: clamp(1.25rem, 2vw, 1.75rem);
  z-index: 2;
}

.slate-card__title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff;
  max-width: 12ch;
  filter: blur(8px);
}

.slate-card__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.82);
  transition: color 0.3s var(--ease);
}

.slate-card:hover .slate-card__cta {
  color: #fff;
}

.slate-card__lock-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.slate-card__cta span {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.slate-card:hover .slate-card__cta span {
  transform: translateX(3px);
}

/* Small section mark (Atlas's app-icon at top of major sections) */
.section-mark {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 4rem;
  display: block;
}

/* Intro / CTA block (Atlas-style: paragraph + big pill + fine print + rows) */
.intro-block {
  padding: clamp(6rem, 17vw, 12rem) clamp(1.5rem, 6vw, 4rem);
  text-align: center;
}

.intro-block__body {
  margin: 0 auto clamp(4.5rem, 10vw, 8rem);
  max-width: 44rem;
  font-size: clamp(1.375rem, 2.75vw, 2.1rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.017em;
  color: rgba(245, 245, 245, 0.9); /* fallback */
  background: linear-gradient(
    180deg,
    #f7f7f7 0%,
    rgba(245, 245, 245, 0.92) 38%,
    rgba(160, 160, 160, 0.72) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-block__note {
  margin: 1.25rem auto 0;
  max-width: 18rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease), border-color 0.2s;
}

.btn-lg {
  font-size: 1.375rem;
  padding: 0.95rem 2.4rem;
}

/* Compact pill for the header */
.btn-nav {
  font-size: 0.8125rem;
  padding: 0.55rem 1.15rem;
  letter-spacing: -0.005em;
}

/* Themed section: Atlas-style label + headline + body block */
.themed-section {
  padding: clamp(5rem, 14vw, 10rem) clamp(1.5rem, 6vw, 4rem);
  text-align: center;
}

.themed-section__label {
  display: block;
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.themed-section__title {
  margin: 0 auto 1.5rem;
  max-width: 18ch;
  font-size: clamp(2.5rem, 7.5vw, 4.75rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: rgba(245, 245, 245, 0.95);
}

.themed-section__body {
  margin: 0 auto;
  max-width: 38rem;
  font-size: clamp(1.0625rem, 2vw, 1.375rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(245, 245, 245, 0.82);
}

.themed-section__note {
  margin: 2rem auto 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Team grid — portraits with line-art illustrations from the deck.
   Black PNG backgrounds vanish via mix-blend-mode: screen. */
.team-grid {
  margin: clamp(3.5rem, 7vw, 5.5rem) auto 0;
  max-width: 72rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.team-card__portrait {
  width: 9rem;
  height: 9rem;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  mix-blend-mode: screen;
}

/* Real photos: skip the blend trick (only the line-art portraits need it) */
.team-card__portrait--photo {
  mix-blend-mode: normal;
}

.team-card__text {
  max-width: 30rem;
}

.team-card__text {
  min-width: 0;
}

.team-card__name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.team-card__role {
  margin: 0.25rem 0 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.team-card__bio {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.74);
}

.team-card__bio em {
  font-style: italic;
  color: rgba(245, 245, 245, 0.88);
}

@media (max-width: 960px) {
  .team-grid {
    max-width: 44rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
  }
  .team-card__portrait {
    width: 7.5rem;
    height: 7.5rem;
  }
}

/* Stats row — 3 columns, holds layout even with long labels */
.stats {
  list-style: none;
  margin: 3.5rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 0;
  max-width: 62rem;
}

.stats li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1.5rem;
  text-align: center;
}

.stats li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.18);
}

.stats__value {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(245, 245, 245, 0.95);
  line-height: 1;
}

.stats__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.5);
  line-height: 1.4;
  max-width: 18ch;
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .stats li + li::before {
    display: none;
  }
}

/* Card body line (under the card-pic title) */
.card-pic__body {
  max-width: 34ch;
  margin: 0.85rem auto 1.25rem;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

/* The Slate — anonymized film cards */
.slate {
  padding: clamp(5rem, 12vw, 9rem) clamp(1.25rem, 5vw, 2.5rem);
  text-align: center;
}

.slate__label {
  display: block;
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted, rgba(245, 245, 245, 0.55));
}

.slate__title {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: rgba(245, 245, 245, 0.95);
}

.slate__lead {
  margin: 0 auto 3.5rem;
  max-width: 32rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(245, 245, 245, 0.6);
}

.slate__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 78rem;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .slate__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .slate__grid {
    grid-template-columns: 1fr;
  }
}

.slate-card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.slate-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.slate-card__art {
  position: relative;
  height: 56%;
  overflow: hidden;
}

.slate-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: 0.6;
}

.slate-card--drama .slate-card__art {
  background: linear-gradient(135deg, #c87a35 0%, #8a3a1c 100%);
}

.slate-card--western .slate-card__art {
  background: linear-gradient(135deg, #c79a8b 0%, #8d5a55 100%);
}

.slate-card--thriller .slate-card__art {
  background: linear-gradient(135deg, #4d535b 0%, #1f2429 100%);
}

.slate-card--comedy .slate-card__art {
  background: linear-gradient(135deg, #e08070 0%, #b04a5e 100%);
}

.slate-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.1rem;
  text-align: left;
}

.slate-card__cat {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.6);
}

.slate-card__desc {
  flex: 1;
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(245, 245, 245, 0.85);
}

.slate-card__status {
  margin-top: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.45);
}

.slate__foot {
  margin: 3rem auto 0;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: rgba(245, 245, 245, 0.42);
}

/* Anonymous member chips */
.members {
  list-style: none;
  margin: 2.5rem auto 0;
  padding: 0;
  max-width: 44rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
}

.members li {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.02);
}

/* FAQ accordion (native <details>) */
.faq {
  margin: 2.5rem auto 0;
  max-width: 44rem;
  text-align: left;
}

.faq__item {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__toggle {
  position: relative;
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
}

.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.faq__toggle::before {
  width: 1rem;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq__toggle::after {
  width: 1px;
  height: 1rem;
  transform: translate(-50%, -50%);
}

.faq__item[open] .faq__toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__a {
  margin: 0 0 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  max-width: 40rem;
}

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

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  background: var(--blue-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

/* Full-bleed strips */
.strip {
  position: relative;
  margin: 0;
  line-height: 0;
  overflow: hidden;
}

.strip img {
  width: 100%;
  height: min(85vh, 900px);
  object-fit: cover;
  transform: scale(1.02);
  animation: stripZoom 26s ease-in-out infinite alternate;
}

@keyframes stripZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.09); }
}

/* Fade the image into the black page top and bottom, so it emerges
   from the canvas instead of reading as a hard-edged rectangle. */
.strip::before,
.strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(4rem, 12vh, 9rem);
  z-index: 1;
  pointer-events: none;
}

.strip::before {
  top: 0;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
}

.strip::after {
  bottom: 0;
  background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .strip img {
    animation: none;
    transform: none;
  }
}

/* Overlay text on a strip (Atlas "Book stays..." pattern) */
.strip--text::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.strip__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  line-height: 1.2;
}

.strip__overlay-text {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.6);
}

/* Atlas-style sticky card stack (each pic pins for ~70vh of scroll) */
.cards {
  position: relative;
  background: #000;
}

.card-pic {
  position: relative;
  height: 170vh;
}

.card-pic__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.card-pic__sticky img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-pic__sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.15) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.card-pic__label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.card-pic__title {
  max-width: 24ch;
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.6);
}

.card-pic__loc {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.card-pic__loc-mark {
  font-size: 0.875rem;
  line-height: 1;
}

@media (max-width: 900px) {
  .card-pic {
    height: 140vh;
  }
}

.cards-nav {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.cards-nav.is-visible {
  opacity: 1;
}

.cards-nav__dot {
  width: 2px;
  height: 1.5rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.25s var(--ease), height 0.25s var(--ease);
}

.cards-nav__dot.is-active {
  background: rgba(255, 255, 255, 0.95);
  height: 2.25rem;
}

@media (max-width: 900px) {
  .cards-nav {
    display: none;
  }
}

/* Small tag/badge overlaid on a strip (Atlas "★ NY") */
.strip__badge {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 4vw, 2rem);
  transform: translateX(-50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.strip__badge-star {
  font-size: 0.75rem;
  line-height: 1;
}

/* Sub-section: small label + supporting paragraph (Atlas Dining / Hotels) */
.subsection {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem) clamp(3rem, 9vw, 5rem);
  text-align: center;
}

.subsection__label {
  display: block;
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.subsection__body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Centered statements */
.statement {
  padding: clamp(4.5rem, 14vw, 8rem) clamp(1.25rem, 5vw, 2.5rem);
  text-align: center;
}

.statement--tight {
  padding-bottom: clamp(2rem, 6vw, 3rem);
}

.statement__title {
  margin: 0 auto 1.25rem;
  max-width: 18ch;
  font-size: clamp(2.5rem, 7.5vw, 4.75rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: rgba(245, 245, 245, 0.95);
}

.statement__lead {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Feature rows: label left, copy right */
.feature-rows {
  max-width: 43rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem) clamp(4rem, 10vw, 6rem);
}

/* Nested inside intro-block: drop padding, add top gap from button area */
.feature-rows--inline {
  padding: 0;
  margin-top: clamp(7rem, 15vw, 11rem);
  text-align: left;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2rem;
  padding: 3.75rem 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

@media (min-width: 640px) {
  .feature-row {
    grid-template-columns: minmax(11rem, 15rem) 1fr;
    align-items: start;
    gap: 2rem 4.5rem;
  }
}

.feature-row:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-row__label {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.05;
  color: var(--text);
}

.feature-row__desc {
  margin: 0;
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  color: rgba(245, 245, 245, 0.58);
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 30rem;
}

/* Closer */
.closer {
  padding: clamp(5rem, 16vw, 9rem) 1.5rem clamp(4rem, 12vw, 6rem);
  text-align: center;
}

.closer__title {
  margin: 0 auto 1rem;
  max-width: 16ch;
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: rgba(245, 245, 245, 0.95);
}

.closer__lead {
  margin: 0 auto 2rem;
  max-width: 26rem;
  font-size: 1rem;
  color: var(--muted);
}

/* Footer */
/* Closing brand moment: full-bleed "Marquee." wordmark before the footer */
.brand-moment {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 3rem);
  background: #000;
  overflow: hidden;
  text-align: center;
}

.brand-moment__word {
  display: inline-block;
  font-size: clamp(4rem, 24vw, 28rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(
    180deg,
    #ffffff 42%,
    rgba(255, 255, 255, 0.42) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Overrides the generic .reveal: a taller rise, no blur, for the big word. */
.brand-moment__word.reveal {
  opacity: 0;
  transform: translateY(2.75rem);
  filter: none;
  transition: opacity 1s var(--ease-out), transform 1.15s var(--ease-out);
}

.brand-moment__word.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .brand-moment__word.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-footer {
  padding: 3rem clamp(1.25rem, 5vw, 2.5rem) 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }
}

.footer-brand__logo {
  width: 5.5rem;
  height: auto;
  display: block;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-legal {
  max-width: 56rem;
  margin: 2.5rem auto 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}

.footer-legal--lead {
  margin-top: 0;
}

.footer-base {
  max-width: 56rem;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal--copy {
  margin: 0;
  max-width: none;
}

.footer-mini {
  display: flex;
  gap: 1.25rem;
}

.footer-mini a {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.footer-mini a:hover {
  color: var(--text);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out),
    filter 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Blue CTA: enters a beat after the copy; on hover an arrow slides in
   (no scale — the button stays put, only the arrow reveals). */
.cta-arrow-btn {
  transition-delay: 0.18s;
}

.cta-arrow {
  display: inline-block;
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  transform: translateX(-6px);
  overflow: hidden;
  transition: max-width 0.55s var(--ease-out), margin-left 0.55s var(--ease-out),
    opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

@media (hover: hover) {
  .cta-arrow-btn.is-visible:hover .cta-arrow {
    max-width: 1.5em;
    margin-left: 0.5em;
    opacity: 1;
    transform: translateX(0);
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.65rem 1rem;
  background: var(--text);
  color: var(--bg);
  z-index: 100;
  border-radius: 4px;
}

/* =====================================================================
   Atlas-style refinements (per v3 brief)
   ===================================================================== */

/* Product label — small caps, sits under each section headline */
.product__label {
  display: block;
  margin: 0 auto 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-muted);
}

/* Atlas-style product section: head (title + label + lead) → image → 3 sub-features */
.product {
  background: var(--ink);
  padding: clamp(5rem, 11vw, 9rem) 0 0;
}

.product__head {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 2.5rem);
  text-align: center;
}

.product__title {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.04;
  color: var(--bone);
}

.product__head .product__label {
  margin-bottom: 1.5rem;
}

.product__lead {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.55;
  color: rgba(244, 241, 234, 0.7);
}

.product__image {
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  overflow: hidden;
}

.product__image img {
  width: 100%;
  height: min(80vh, 760px);
  object-fit: cover;
  display: block;
}

/* Three sub-features below the image */
.subfeatures {
  background: var(--ink-2);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  max-width: none;
}

.subfeature {
  position: relative;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 241, 234, 0.18);
  max-width: 22rem;
  margin: 0 auto;
}

.subfeature__label {
  display: block;
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
}

.subfeature__label sup {
  font-size: 0.625rem;
  letter-spacing: 0;
  margin-left: 0.15rem;
  color: var(--bone-muted);
}

.subfeature__body {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(244, 241, 234, 0.62);
}

@media (max-width: 900px) {
  .subfeatures {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .subfeature {
    text-align: center;
  }
}

/* Currently on the slate — quiet 4-column text grid */
.ledger {
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3rem);
  text-align: center;
  background: var(--ink);
}

.ledger__title {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--bone);
}

.ledger__title sup {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--bone-muted);
  letter-spacing: 0;
}

.ledger__lead {
  margin: 0 auto 4rem;
  font-size: 0.9375rem;
  color: rgba(244, 241, 234, 0.55);
}

.ledger__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 72rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ledger__item {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem 0.5rem;
  border-top: 1px solid rgba(244, 241, 234, 0.18);
  text-align: left;
}

.ledger__row {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: rgba(244, 241, 234, 0.78);
}

.ledger__row:first-child {
  color: var(--bone);
  font-weight: 500;
}

.ledger__row:last-child {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-muted);
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .ledger__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .ledger__grid {
    grid-template-columns: 1fr;
  }
}

/* Closer note below the CTA */
.closer__note {
  margin: 1.25rem 0 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-muted);
}

.closer .product__label {
  margin-bottom: 1.5rem;
}

/* Footnotes block above the footer */
.footnotes {
  padding: 3rem clamp(1.5rem, 5vw, 3rem) 1rem;
  background: var(--ink);
  border-top: 1px solid rgba(244, 241, 234, 0.08);
}

.footnotes__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 60rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footnotes__list li {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone-muted);
  line-height: 1.55;
}

.footnotes__list sup {
  margin-right: 0.4rem;
}

/* ─────────────────────────────────────────────────────────────────────────
   Mobile-only refinements. Keep the header from overflowing, scale the
   hero typography up a touch so it doesn't look anemic on small screens,
   and shrink the slate cards so they don't crowd a narrow viewport.
   ─────────────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Header: hide the Sign in text link on mobile to free up space.
     Members can still access the portal via the footer or by typing the URL. */
  .site-header .nav-link--signin {
    display: none;
  }

  /* Tighter Request Access button (still 44px+ tall for touch) */
  .site-header .btn-nav {
    padding: 0.75rem 1.125rem;
    font-size: 0.8125rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Hero CTA pill: bump up to a proper touch target */
  .hero-slate__cta {
    padding: 0.875rem 1.75rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Carousel arrows: ensure they're at least 44x44 on phones */
  .slate-nav-btn {
    width: 44px;
    height: 44px;
  }

  /* Header padding gets tighter sides on phones */
  .site-header {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Hero title is a bit small on mobile via the desktop clamp; bump min */
  .hero-slate__title {
    font-size: clamp(1.875rem, 6.5vw, 2.5rem);
  }

  /* Slate cards: smaller min so they don't overflow a 375px viewport */
  .slate-card {
    flex: 0 0 clamp(240px, 78vw, 320px);
  }

  /* Slate top row: arrows can wrap below the heading if very tight */
  .slate-cards__top {
    flex-wrap: wrap;
  }
  .slate-cards__nav {
    margin-left: auto;
  }
}


/* ============================================================
   Cinematic motion pass — hero + global reveals.
   Self-contained. Everything degrades under prefers-reduced-motion.
   ============================================================ */

/* --- Hero media wrapper: slow Ken Burns drift + cursor parallax --- */
.hero-slate__media {
  position: absolute;
  inset: -40px; /* overscan so drift + parallax never expose black edges */
  z-index: 0;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}
.hero-slate__media .hero-slate__img {
  animation: heroKenBurns 30s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroKenBurns {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.16) translate3d(-1%, -2%, 0);
  }
}

/* Cinematic open: on load the whole background fades up from black and eases
   in from a slight zoom, settling before the ambient drift takes over. Pure
   CSS on load (no JS dependency) with a fill so the start state applies. */
.hero-slate__zoom {
  position: absolute;
  inset: 0;
  animation: heroReveal 2.1s var(--ease-out) both;
  will-change: transform, opacity;
}
@keyframes heroReveal {
  0% {
    opacity: 0;
    transform: scale(1.14);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- Light bloom: a slow breath behind the figure, as if someone's there --- */
.hero-slate__bloom {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    42% 46% at 50% 52%,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.04) 38%,
    rgba(255, 255, 255, 0) 72%
  );
  animation: heroBloom 9s ease-in-out infinite;
  will-change: opacity, transform;
}
@keyframes heroBloom {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.07);
  }
}

/* --- Film grain: fine 35mm texture, jittered --- */
.hero-slate__grain {
  position: absolute;
  inset: -15%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='150'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 150px 150px;
  animation: heroGrain 1s steps(6) infinite;
  will-change: transform;
}
@keyframes heroGrain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 1%); }
  100% { transform: translate(0, 0); }
}

/* keep the dark gradient above bloom/grain so text stays legible */
.hero-slate__gradient {
  z-index: 3;
}
.hero-slate__panel {
  z-index: 4;
}

/* --- Hero text entrance: masked line reveal, staggered --- */
.hero-slate__title .line {
  display: block;
}
.hero-slate__title .line__i {
  display: block;
}
.hero-slate__caption,
.hero-slate__cta {
  opacity: 0;
  transform: translateY(16px);
}

/* Both lines rise cleanly out of a mask. They read as one refined move,
   distinguished by timing and weight: line 1 is the lighter setup, line 2 is
   heavier and lands a beat later, so the call ("You should be one.") is the
   punch the eye settles on. */
.hero-slate__title .line--rise,
.hero-slate__title .line--focus {
  overflow: hidden;
}
.hero-slate__title .line--rise .line__i,
.hero-slate__title .line--focus .line__i {
  transform: translateY(115%);
}
.hero-slate__title .line--rise .line__i,
.hero-slate__title .line--focus .line__i {
  font-weight: 400;
}
.hero-slate.is-hero-in .line--rise .line__i {
  animation: heroLineUp 1.05s var(--ease-out) 0.15s forwards;
}
.hero-slate.is-hero-in .line--focus .line__i {
  animation: heroLineUp 1.15s var(--ease-out) 0.5s forwards;
}
.hero-slate.is-hero-in .hero-slate__caption {
  animation: heroFadeUp 0.9s var(--ease-out) 0.55s forwards;
}
.hero-slate.is-hero-in .hero-slate__cta {
  animation: heroFadeUp 0.9s var(--ease-out) 0.7s forwards;
}
@keyframes heroLineUp {
  to {
    transform: translateY(0);
  }
}
@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA gains a little lift + glow on hover for impact */
.hero-slate__cta {
  transition: background 0.2s var(--ease), transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.hero-slate__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.18);
}

/* --- Scroll cue: a thin line that pulses down at the base of the hero --- */
.hero-slate__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 3vw, 2rem);
  transform: translateX(-50%);
  z-index: 4;
  width: 1px;
  height: 62px;
  overflow: hidden;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-out) 1.1s forwards;
}
.hero-slate__scroll span {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: heroScrollCue 2.4s ease-in-out infinite;
}
@keyframes heroScrollCue {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* --- Staggered group reveals (pillars, slate cards, team) --- */
.reveal-group > * {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out),
    filter 0.8s var(--ease-out);
}
.reveal-group.is-in > * {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.reveal-group.is-in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-group.is-in > *:nth-child(2) { transition-delay: 0.14s; }
.reveal-group.is-in > *:nth-child(3) { transition-delay: 0.23s; }
.reveal-group.is-in > *:nth-child(4) { transition-delay: 0.32s; }
.reveal-group.is-in > *:nth-child(5) { transition-delay: 0.41s; }

/* --- Respect reduced motion: kill all of the above --- */
@media (prefers-reduced-motion: reduce) {
  .hero-slate__media,
  .hero-slate__media .hero-slate__img,
  .hero-slate__zoom,
  .hero-slate__bloom,
  .hero-slate__grain,
  .hero-slate__scroll span {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .hero-slate__grain,
  .hero-slate__scroll {
    display: none;
  }
  .hero-slate__title .line__i,
  .hero-slate__caption,
  .hero-slate__cta {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    letter-spacing: inherit !important;
  }
  .reveal,
  .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
