/* Cuisy web — landing page (home only), on top of site.css.
   Colour values mirror design/tokens/tokens.json ("Patlıcan & Safran"); the hero and the ink
   cards use the fixed brand primitives (patlican / safran / tuz) so they never flip with theme. */

:root {
  --night: #150a1a;
  --night-2: #1f1226;
  --night-3: #2a1833;
  --night-line: #33223c;
  --tuz-muted: #ae9fb8;
  --surface-tertiary: #e6e0ea;

  --st-sicak: #d8432a;
  --st-soguk: #1e8f75;
  --st-pastane: #c9557f;
  --st-ekmek: #a8752e;
  --st-alakart: #6f7b22;
  --st-banket: #4f5fd6;
  --st-kahvalti: #c8661a;
  --st-yonetim: #7a4e99;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --h-max: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface-tertiary: #352040;
    --st-sicak: #f0654b;
    --st-soguk: #35b896;
    --st-pastane: #ec8db0;
    --st-ekmek: #d6a562;
    --st-alakart: #a5b24b;
    --st-banket: #8190f2;
    --st-kahvalti: #f59b52;
    --st-yonetim: #b18ed0;
  }
}

/* ---------- Page chrome on the landing page ---------- */

.page-home .wrap {
  max-width: var(--h-max);
}
.page-home .top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  color: var(--tuz);
  max-width: var(--h-max);
}
.page-home .top .brand {
  color: var(--tuz);
}
.page-home .top nav a {
  color: var(--tuz);
}
.page-home .top nav a:hover {
  background: rgba(246, 244, 247, 0.1);
}
.page-home .top nav .lang {
  border-color: rgba(246, 244, 247, 0.24);
}
.page-home .top :focus-visible {
  outline-color: var(--safran);
}
.page-home .foot .signoff {
  display: none;
}

.home {
  flex: 1;
  padding: 0;
  overflow-x: clip;
}

.h-wrap {
  width: 100%;
  max-width: var(--h-max);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.2px;
  margin: 0;
  /* site.css breaks display words anywhere for the narrow legal column; here sizes fit instead. */
  overflow-wrap: normal;
}
.mono {
  font-family: var(--font-mono);
  font-weight: 400;
}
.eyebrow-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 16px;
}
.section-title {
  font-size: clamp(48px, 8vw, 112px);
  max-width: 12ch;
}
.section-lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 34rem;
  margin: 20px 0 0;
}

/* The Servis dot: the saffron bell on the pass, standing in for a full stop. */
.servis {
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.06em;
  border-radius: 50%;
  background: var(--safran);
  vertical-align: 0.02em;
  position: relative;
}
.servis::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--safran);
  opacity: 0;
}
.in .servis::after,
.hero .servis::after {
  animation: ring 2.8s var(--ease) 1.2s infinite;
}
@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  60%,
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* ---------- Badges & CTA ---------- */

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 168px;
  min-height: 60px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(246, 244, 247, 0.28);
  color: var(--tuz);
  text-decoration: none;
  font-family: var(--font-headline);
  font-size: 20px;
  line-height: 1.1;
  white-space: nowrap;
  transition:
    transform 160ms var(--ease),
    background 160ms var(--ease);
}
.badge small {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tuz-muted);
  margin-bottom: 4px;
}
a.badge:hover {
  background: rgba(246, 244, 247, 0.08);
  text-decoration: none;
}
a.badge:active {
  transform: scale(0.97);
}
.badge.is-soon small {
  color: var(--safran);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: var(--safran);
  color: var(--patlican);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms var(--ease);
}
.cta:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.cta:active {
  transform: scale(0.97);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  background: var(--night);
  color: var(--tuz);
  padding: 140px 0 120px;
  min-height: min(980px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero::before {
  /* Grain, like a well-used steel pass. */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero::after {
  /* Pass rail: thin tkt lines across the ground. */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(246, 244, 247, 0.035) 119px 120px);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-glow {
  position: absolute;
  z-index: -1;
  inset: -20%;
  background:
    radial-gradient(40% 35% at calc(70% + var(--mx, 0) * 4%) calc(38% + var(--my, 0) * 4%), rgba(244, 180, 44, 0.22), transparent 70%),
    radial-gradient(45% 45% at 15% 90%, rgba(122, 78, 153, 0.45), transparent 70%),
    radial-gradient(30% 30% at 95% 95%, rgba(216, 67, 42, 0.18), transparent 70%);
  filter: blur(10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tuz-muted);
  margin: 0 0 28px;
  padding: 8px 14px;
  border: 1px solid rgba(246, 244, 247, 0.16);
  border-radius: var(--radius-pill);
}
.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--safran);
  box-shadow: 0 0 0 4px rgba(244, 180, 44, 0.2);
}

.hero-title {
  /* Two-column hero: sized to its column so the longest word (BRIGADES., EKİBİYLE) fits. */
  font-size: clamp(64px, 7.4vw, 150px);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.hero-title .line {
  display: block;
}
.js .hero-title .line {
  opacity: 0;
  transform: translateY(0.35em);
  animation: rise 700ms var(--ease) forwards;
}
.js .hero-title .line:nth-child(2) {
  animation-delay: 90ms;
}
.js .hero-title .line:nth-child(3) {
  animation-delay: 180ms;
}
.js .hero-lead,
.js .hero .badges,
.js .hero-note {
  opacity: 0;
  animation: rise 700ms var(--ease) 320ms forwards;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-lead {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
  color: rgba(246, 244, 247, 0.82);
  max-width: 32rem;
  margin: 32px 0 0;
}
.hero-note {
  margin: 20px 0 0;
  font-size: 15px;
}
.hero-note a {
  color: var(--safran);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--tuz-muted);
  display: flex;
  gap: 8px;
}
.hero-scroll span {
  animation: nudge 1.8s ease-in-out infinite;
}
@keyframes nudge {
  50% {
    transform: translateY(4px);
  }
}

/* Stage: phone + floating tickets, with a little parallax from home.js (--mx/--my in -1..1). */
.hero-stage {
  position: relative;
  height: 680px;
  perspective: 1400px;
}
.layer {
  position: absolute;
  inset: 0;
  transition: transform 500ms var(--ease);
}
.layer-back {
  transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -10px), 0);
}
.layer-phone {
  display: grid;
  place-items: center;
  transform: translate3d(calc(var(--mx, 0) * 8px), calc(var(--my, 0) * 8px), 0);
}
.layer-front {
  transform: translate3d(calc(var(--mx, 0) * 22px), calc(var(--my, 0) * 22px), 0);
}

.phone {
  position: relative;
  aspect-ratio: 1320 / 2868;
  border-radius: 52px;
  padding: 11px;
  background: linear-gradient(145deg, #3a2a44, #0d0610 40%, #1a0f20);
  box-shadow:
    inset 0 0 0 1.5px rgba(246, 244, 247, 0.12),
    0 50px 100px -20px rgba(0, 0, 0, 0.55),
    0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.phone::before {
  /* Dynamic Island */
  content: "";
  position: absolute;
  top: 3.1%;
  left: 50%;
  width: 30%;
  height: 3.3%;
  transform: translateX(-50%);
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  object-fit: cover;
  background: var(--tuz);
}
.phone-hero {
  width: 300px;
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(2deg);
  box-shadow:
    inset 0 0 0 1.5px rgba(246, 244, 247, 0.14),
    -40px 60px 120px -20px rgba(0, 0, 0, 0.7),
    0 0 140px rgba(244, 180, 44, 0.16);
}
.js .phone-hero {
  animation: phone-in 1100ms var(--ease) 150ms both;
}
@keyframes phone-in {
  from {
    opacity: 0;
    transform: translateY(80px) rotateY(-30deg) rotateX(14deg) rotateZ(6deg);
  }
}

.float-card {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.55);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob {
  50% {
    translate: 0 -10px;
  }
}

/* Ticket: mono header, punched perforation (brand signature surface). */
.tkt {
  --notch: var(--night);
  background: var(--surface);
  color: var(--foreground);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
}
.tkt-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 14px;
  font-size: 12px;
  letter-spacing: 0.8px;
  color: var(--muted);
  position: relative;
}
.tkt-head b {
  color: var(--foreground);
  font-weight: 400;
}
.tkt-head::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  border-bottom: 1.5px dashed var(--separator);
}
.tkt-body {
  position: relative;
  padding: 16px 20px 18px;
}
.tkt-body::before,
.tkt-body::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--notch);
}
.tkt-body::before {
  left: -9px;
}
.tkt-body::after {
  right: -9px;
}

.tkt-hero {
  --notch: var(--night);
  background: #ffffff;
  color: var(--patlican);
  --separator: #cfc6d5;
  --muted: #6b5e74;
  --foreground: #22122b;
  width: 320px;
  left: -6%;
  bottom: 13%;
  animation-delay: -2s;
}
.tkt-hero p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
}
.who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.who em {
  display: flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
  font-size: 13px;
  color: #6b5e74;
}
.who b {
  display: block;
  font-family: var(--font-headline);
  font-size: 16px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  background: #f6f4f7;
  box-shadow: inset 0 0 0 2.5px var(--safran);
}
.bars {
  display: inline-flex;
  gap: 2px;
}
.bars i {
  width: 4px;
  height: 11px;
  border-radius: 1px;
  background: #8a5a00;
}

.callout {
  right: -2%;
  top: 16%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  background: var(--safran);
  color: var(--patlican);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  animation-delay: -4s;
}
.callout-shout {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 0.95;
  letter-spacing: 0.4px;
}



.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 5px 12px 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  background: var(--surface-secondary);
  color: var(--foreground);
}
.chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
}

/* ---------- Call-out band ---------- */

.callouts {
  background: var(--safran);
  color: var(--patlican);
  overflow: hidden;
  padding: 18px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -14px 0 0;
  position: relative;
  z-index: 2;
}
.callouts-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.callouts span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.callouts span::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--patlican);
  margin-left: 28px;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Manifesto ---------- */

.manifesto {
  padding-top: clamp(96px, 14vw, 180px);
  padding-bottom: clamp(64px, 10vw, 120px);
}
.manifesto-text {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin: 0;
  max-width: 20ch;
  color: var(--muted);
}
.manifesto-text span {
  color: var(--foreground);
}
.numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: clamp(48px, 7vw, 88px) 0 0;
  border-top: 1px solid var(--border);
}
.numbers div {
  padding: 24px 20px 0 0;
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}
.numbers div + div {
  border-left: 1px solid var(--border);
  padding-left: 20px;
}
.numbers dd {
  margin: 0;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -2px;
}
.numbers dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Scroll story ---------- */

.story {
  --glow: var(--safran);
  padding: clamp(64px, 9vw, 120px) 0 clamp(64px, 9vw, 120px);
  background: var(--surface-secondary);
  position: relative;
}
.story[data-active="channel"] {
  --glow: var(--st-banket);
}
.story[data-active="brigade"] {
  --glow: var(--st-soguk);
}
.story[data-active="cv"] {
  --glow: var(--st-pastane);
}
.story[data-active="invite"] {
  --glow: var(--st-sicak);
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  margin-top: 48px;
}
.story-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
}
.story-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--glow);
  opacity: 0.35;
  filter: blur(80px);
  transition: background 600ms var(--ease);
}
.phone-story {
  width: min(330px, 80%);
  max-height: 78svh;
  aspect-ratio: 1320 / 2868;
}
.phone-story img {
  position: absolute;
  inset: 11px;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  opacity: 0;
  transform: scale(0.98);
  transition:
    opacity 450ms var(--ease),
    transform 450ms var(--ease);
}
.phone-story img.is-active {
  opacity: 1;
  transform: none;
}
.story-dots {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.story-dots li {
  width: 6px;
  height: 24px;
  border-radius: 3px;
  background: var(--separator);
  transition:
    background 300ms var(--ease),
    height 300ms var(--ease);
}
.story-dots li.is-active {
  background: var(--accent-ink);
  height: 48px;
}

.story-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  opacity: 0.35;
  transition: opacity 400ms var(--ease);
}
.step.is-active,
html:not(.js) .step {
  opacity: 1;
}
.step-no {
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.step h3 {
  font-size: clamp(48px, 6.4vw, 92px);
  margin: 16px 0 24px;
}
.step p {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--muted);
  max-width: 30rem;
  margin: 0;
}
.phone-inline {
  display: none;
}

/* ---------- Ranks ---------- */

.ranks {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding-top: clamp(96px, 12vw, 160px);
  padding-bottom: clamp(64px, 8vw, 120px);
}
.ranks-copy {
  position: sticky;
  top: 96px;
}
.rank-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--surface-shadow);
  border: 1px solid var(--border);
}
.rank-list li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  border-radius: var(--radius-md);
  transition:
    background 160ms var(--ease),
    transform 160ms var(--ease);
}
.rank-list li + li {
  border-top: 1px solid var(--border);
}
.rank-list li:hover {
  background: var(--surface-secondary);
  transform: translateX(4px);
}
.rank-list b {
  font-family: var(--font-headline);
  font-size: 19px;
}
.tier {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.ins {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.ins.bars i {
  width: 6px;
  height: 18px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1.5px var(--accent-ink);
}
.ins.bars[data-solid="4"] i:nth-child(-n + 4),
.ins.bars[data-solid="3"] i:nth-child(-n + 3),
.ins.bars[data-solid="2"] i:nth-child(-n + 2),
.ins.bars[data-solid="1"] i:nth-child(-n + 1) {
  background: var(--accent-ink);
}
.ins.pips i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--foreground);
}
.ins.pips.is-hollow i {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--foreground);
}
.ins.pips.is-faded {
  opacity: 0.45;
}
.js .rank-list li {
  opacity: 0;
  transform: translateY(12px);
}
.js .rank-list.in li {
  animation: rise 500ms var(--ease) forwards;
}
.rank-list.in li:nth-child(2) { animation-delay: 40ms; }
.rank-list.in li:nth-child(3) { animation-delay: 80ms; }
.rank-list.in li:nth-child(4) { animation-delay: 120ms; }
.rank-list.in li:nth-child(5) { animation-delay: 160ms; }
.rank-list.in li:nth-child(6) { animation-delay: 200ms; }
.rank-list.in li:nth-child(7) { animation-delay: 240ms; }
.rank-list.in li:nth-child(8) { animation-delay: 280ms; }
.rank-list.in li:nth-child(9) { animation-delay: 320ms; }
.rank-list.in li:nth-child(10) { animation-delay: 360ms; }
.rank-list.in li:nth-child(11) { animation-delay: 400ms; }

/* ---------- Stations ---------- */

.stations {
  padding: clamp(64px, 8vw, 120px) 0;
}
.station-bar {
  display: flex;
  gap: 4px;
  height: 18px;
  margin: 48px 0 24px;
}
.station-bar i {
  flex: var(--w) 1 0;
  background: var(--c);
  border-radius: 4px;
  transform-origin: left;
}
.js .station-bar i {
  transform: scaleX(0);
  transition: transform 900ms var(--ease);
}
.js .station-bar.in i {
  transform: none;
}
.station-bar.in i:nth-child(2) { transition-delay: 60ms; }
.station-bar.in i:nth-child(3) { transition-delay: 120ms; }
.station-bar.in i:nth-child(4) { transition-delay: 180ms; }
.station-bar.in i:nth-child(5) { transition-delay: 240ms; }
.station-bar.in i:nth-child(6) { transition-delay: 300ms; }
.station-bar.in i:nth-child(7) { transition-delay: 360ms; }
.station-bar.in i:nth-child(8) { transition-delay: 420ms; }

.station-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.station-grid li {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 20px;
  min-height: 150px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--surface-shadow);
  transition: transform 200ms var(--ease);
}
.station-grid li::before {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--c);
  opacity: 0.14;
  transition:
    opacity 200ms var(--ease),
    transform 300ms var(--ease);
}
.station-grid li:hover {
  transform: translateY(-4px);
}
.station-grid li:hover::before {
  opacity: 0.3;
  transform: scale(1.3);
}
.station-grid .mono {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.station-grid .mono::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
}
.station-grid b {
  font-family: var(--font-headline);
  font-size: 24px;
  position: relative;
}

/* ---------- Shift + invite ---------- */

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: clamp(64px, 8vw, 120px);
}
.duo-card {
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--surface-shadow);
  display: flex;
  flex-direction: column;
}
.duo-card > p:not(.eyebrow-mono) {
  color: var(--muted);
  font-size: 17px;
  margin: 16px 0 32px;
  max-width: 28rem;
}
.card-title {
  font-size: clamp(40px, 4.6vw, 64px);
}
.tkt-shift {
  --notch: var(--surface);
  margin-top: auto;
  background: var(--background);
  border: 1px solid var(--border);
}
.tkt-shift .tkt-body::before,
.tkt-shift .tkt-body::after {
  box-shadow: inset 0 0 0 1px var(--border);
}
.tkt-shift .time {
  display: block;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: -1px;
  line-height: 1.1;
}
.tkt-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.tkt-row .muted {
  color: var(--muted);
  font-size: 14px;
}
.tkt-foot {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--surface-secondary);
  font-weight: 700;
  font-size: 15px;
}

.duo-ink {
  background: var(--patlican);
  color: var(--tuz);
  border-color: transparent;
}
.duo-ink .eyebrow-mono {
  color: var(--safran);
}
.duo-ink > p:not(.eyebrow-mono) {
  color: var(--tuz-muted);
}
.invite {
  margin-top: auto;
}
.invite-cells {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.invite-cells span {
  flex: 1 1 0;
  max-width: 64px;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  font-size: clamp(26px, 3.4vw, 40px);
  border-radius: 12px;
  background: rgba(246, 244, 247, 0.06);
  box-shadow: inset 0 0 0 1px rgba(246, 244, 247, 0.12);
  color: var(--safran);
}
.invite-cells em {
  font-style: normal;
  color: var(--tuz-muted);
  font-size: 24px;
}
.js .invite-cells span {
  opacity: 0;
  transform: translateY(10px) rotateX(70deg);
}
.js .in .invite-cells span {
  animation: flip 600ms var(--ease) forwards;
}
.in .invite-cells span:nth-child(2) { animation-delay: 70ms; }
.in .invite-cells span:nth-child(3) { animation-delay: 140ms; }
.in .invite-cells span:nth-child(5) { animation-delay: 210ms; }
.in .invite-cells span:nth-child(6) { animation-delay: 280ms; }
.in .invite-cells span:nth-child(7) { animation-delay: 350ms; }
@keyframes flip {
  to {
    opacity: 1;
    transform: none;
  }
}
.invite-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--tuz-muted);
  flex-wrap: wrap;
}

/* ---------- Business ---------- */

.business {
  padding-bottom: clamp(64px, 8vw, 120px);
}
.business-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 28px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(244, 180, 44, 0.25), transparent 60%),
    var(--night-2);
  color: var(--tuz);
  position: relative;
  overflow: hidden;
}
.business-card .eyebrow-mono {
  color: var(--safran);
}
.business-card p:not(.eyebrow-mono) {
  color: var(--tuz-muted);
  max-width: 34rem;
  margin: 16px 0 0;
}
.business-card :focus-visible {
  outline-color: var(--safran);
}

/* ---------- Finale ---------- */

.finale {
  background: var(--night);
  color: var(--tuz);
  padding: clamp(96px, 14vw, 180px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.finale::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(244, 180, 44, 0.2), transparent 60%);
}
.finale .h-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.finale-title {
  font-size: clamp(60px, 16vw, 240px);
  white-space: nowrap;
}
.finale-lead {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--tuz-muted);
  margin: 24px 0 0;
}
.finale .badges {
  justify-content: center;
}

/* ---------- Legal ---------- */

.legal {
  max-width: 860px;
  padding-top: 72px;
  padding-bottom: 24px;
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero-title {
    font-size: clamp(60px, 16vw, 140px);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero {
    padding-bottom: 72px;
  }
  .hero-stage {
    height: 600px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }
  .hero-scroll {
    display: none;
  }
  .ranks {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ranks-copy {
    position: static;
  }
  .station-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .story-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
  .story-stage {
    display: none;
  }
  .step {
    min-height: 0;
    opacity: 1;
    padding: 48px 0 16px;
  }
  .phone-inline {
    display: block;
    width: min(300px, 78%);
    margin: 40px auto 0;
  }
  .duo {
    grid-template-columns: 1fr;
  }
  .business-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .numbers div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .page-home .top {
    flex-direction: row;
    align-items: center;
  }
  .page-home .top nav {
    margin-left: 0;
  }
  .page-home .top nav a:not(.lang) {
    display: none;
  }
  .hero {
    padding-top: 112px;
  }
  .hero-stage {
    height: 520px;
  }
  .phone-hero {
    width: 230px;
  }
  .tkt-hero {
    width: 260px;
    left: -2%;
    bottom: 8%;
  }
  .tkt-hero p {
    font-size: 14px;
  }
  .callout {
    right: -2%;
    top: 10%;
  }
  .callout-shout {
    font-size: 22px;
  }
  .station-grid li {
    min-height: 120px;
    gap: 24px;
  }
  .station-grid b {
    font-size: 20px;
  }
  .rank-list li {
    grid-template-columns: 48px 1fr;
  }
  .rank-list .tier {
    grid-column: 2;
    margin-top: -8px;
  }
  .badge {
    min-width: 0;
    flex: 1 1 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .callouts-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
  .float-card {
    animation: none;
  }
  .layer {
    transform: none !important;
  }
}

/* ---------- Chefs ----------
   Unsplash License photos, background removed (macOS Vision); the business chef's name
   embroidery is blurred so no real person appears to endorse Cuisy. */

.chef {
  display: block;
  pointer-events: none;
  user-select: none;
}

.layer-phone {
  display: block;
}
.phone-hero {
  position: absolute;
  left: 2%;
  bottom: 2%;
  width: 240px;
}
.halo {
  position: absolute;
  right: 4%;
  top: 2%;
  width: 430px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd476 0%, var(--safran) 45%, #c98a12 100%);
  box-shadow:
    0 0 0 18px rgba(244, 180, 44, 0.08),
    0 0 0 40px rgba(244, 180, 44, 0.04),
    0 0 160px rgba(244, 180, 44, 0.35);
}
.js .halo {
  animation: halo-in 900ms var(--ease) both;
}
@keyframes halo-in {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}
.chef-hero {
  position: absolute;
  right: -2%;
  bottom: -150px;
  height: 800px;
  width: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
}
.js .chef-hero {
  animation: chef-in 1000ms var(--ease) 100ms both;
}
@keyframes chef-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}
.tkt-hero {
  left: -14%;
  top: -2%;
  bottom: auto;
  width: 300px;
}
.callout {
  right: -4%;
  top: auto;
  bottom: 22%;
}

.business-card {
  overflow: visible;
  min-height: 380px;
  align-items: center;
}
.business-copy {
  position: relative;
  z-index: 1;
  max-width: 58%;
}
.business-copy .cta {
  margin-top: 28px;
}
.chef-business {
  position: absolute;
  right: 5%;
  bottom: 0;
  height: 128%;
  width: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.4));
}

@media (max-width: 1020px) {
  .halo {
    width: 380px;
    right: 6%;
  }
  .chef-hero {
    height: 720px;
    right: 0;
    bottom: -110px;
  }
}

@media (max-width: 860px) {
  .business-copy {
    max-width: none;
  }
  .chef-business {
    position: static;
    order: -1;
    align-self: center;
    height: 320px;
    margin: -120px auto 0;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
    mask-image: linear-gradient(180deg, #000 70%, transparent);
  }
}

@media (max-width: 560px) {
  .halo {
    width: 260px;
    right: 2%;
    top: 6%;
  }
  .chef-hero {
    height: 520px;
    right: -8%;
    bottom: -80px;
  }
  .phone-hero {
    width: 165px;
    left: 0;
    bottom: 6%;
  }
  .tkt-hero {
    display: none;
  }
  .callout {
    left: 0;
    right: auto;
    top: 4%;
    bottom: auto;
  }
}
