:root {
  --night: #10110f;
  --ink: #f7f8f5;
  --muted: #b7b9b2;
  --gold: #ffbd59;
  --on-gold: #171816;
  --green: #007a4e;
  --green-bright: #1f9a62;
  --line: rgba(247, 248, 245, 0.12);
  --card: #1c1e1a;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
button, a { -webkit-tap-highlight-color: transparent; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--on-gold);
  padding: 8px 12px;
  z-index: 40;
}
.skip:focus { top: 12px; }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 10px 28px;
  background: rgba(16, 17, 15, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.04em;
}
.brand img { width: 32px; height: 32px; }
.brand span { color: var(--gold); margin-left: 6px; font-weight: 600; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); }
.menu {
  display: none;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 15px;
}

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 32px;
  padding: 48px 6vw 72px;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.hero-phone { display: none; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 17, 15, 0.88) 0%, rgba(16, 17, 15, 0.55) 48%, rgba(16, 17, 15, 0.28) 100%),
    linear-gradient(180deg, rgba(16, 17, 15, 0.2), rgba(16, 17, 15, 0.72));
}
.hero-copy, .hero-stage { position: relative; z-index: 1; }
.hero h1 {
  margin: 0;
  max-width: 11em;
  font-size: clamp(46px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 650;
}
.support {
  max-width: 34rem;
  margin: 22px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink);
}
.tag {
  margin: 14px 0 0;
  color: var(--gold);
  letter-spacing: -0.02em;
  font-size: 18px;
}
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  border: 0;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.btn.gold { background: var(--gold); color: var(--on-gold); }
.btn.gold:hover { background: #ffd48a; }
.btn.line { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.launch { margin: 0; color: var(--muted); font-size: 15px; }

.hero-stage {
  height: 280px;
  position: relative;
}
.pip {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 8px rgba(31, 154, 98, 0.25);
}
.pip.a { left: 18%; top: 36%; }
.pip.b { right: 22%; top: 58%; }
.hero-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mini {
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: min(240px, 80%);
  background: rgba(28, 30, 26, 0.92);
  border: 1px solid rgba(255, 189, 89, 0.45);
  border-radius: 18px;
  padding: 14px 16px;
}
.mini p { margin: 0; }
.mini .k { color: var(--gold); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.mini strong { display: block; font-size: 22px; letter-spacing: -0.04em; margin-top: 4px; }
.mini span { color: var(--muted); font-size: 14px; }

.cine .hero-photo { animation: reveal 1.1s ease both; }
.cine .hero h1 { animation: rise 0.7s 0.55s ease both; }
.cine .support, .cine .tag { animation: rise 0.7s 0.85s ease both; }
.cine .pip.a { animation: pop 0.45s 1.6s ease both; }
.cine .pip.b { animation: pop 0.45s 2.05s ease both; }
.cine .hero-stage path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 0.7s 2.4s ease forwards; }
.cine .mini { animation: rise 0.55s 3s ease both; }
.cine .ctas { animation: rise 0.5s 3.4s ease both; }

@keyframes reveal { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.band { padding: 96px 0; }
.band h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.05em;
  line-height: 1.02;
  font-weight: 650;
}
.lede { color: var(--muted); max-width: 38rem; font-size: 18px; }

.glance { list-style: none; margin: 36px 0 0; padding: 0; }
.glance li {
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.045em;
  color: rgba(247, 248, 245, 0.28);
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.glance li.on { color: var(--ink); }
.glance li.on::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 14px;
  border-radius: 50%;
  background: var(--green-bright);
  transform: translateY(-4px);
}

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 12px;
  margin-top: 28px;
}
.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #171816;
  outline: 1px solid transparent;
}
.shot:first-child { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.shot figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: white;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.shot:hover img, .shot:focus-visible img { transform: scale(1.05); }
.shot:hover, .shot:focus-visible { outline: 1px solid var(--gold); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.request {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}
.request .k { margin: 0; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; }
.request h3 { margin: 8px 0 4px; font-size: 32px; letter-spacing: -0.04em; }
.request .when { margin: 0 0 16px; color: var(--muted); }
.actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.actions b {
  text-align: center;
  border-radius: 12px;
  padding: 12px 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 650;
}
.actions b.on[data-c="accept"] { background: var(--green); color: white; border-color: var(--green); }
.actions b.on[data-c="change"] { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.actions b.on[data-c="decline"] { color: var(--ink); border-color: var(--ink); }
.choice-note { min-height: 1.5em; color: var(--muted); margin: 14px 0 0; }

.facts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 28px; }
.facts article {
  padding: 22px;
  border-radius: 18px;
  background: #171a14;
  border: 1px solid var(--line);
}
.facts h3 { margin: 0 0 8px; letter-spacing: -0.03em; }
.facts p { margin: 0; color: var(--muted); }

.final {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(16, 17, 15, 0.2), rgba(16, 17, 15, 0.78)),
    url("/img/walk.jpg") center/cover;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.final h2 { max-width: 12em; }

.story-open { padding: 72px 0 24px; }
.story-open h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -0.055em;
  line-height: 0.96;
  max-width: 10em;
}
.story {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  gap: 36px;
  align-items: center;
  padding-bottom: 96px;
}
.chapters { list-style: none; margin: 0; padding: 0; }
.chapters button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  font: inherit;
  cursor: pointer;
}
.chapters button.on { color: var(--ink); }
.chapters button.on::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 10px; }

.device {
  width: min(300px, 100%);
  margin: 0 auto;
  background: #0c0d0b;
  border: 1px solid rgba(247, 248, 245, 0.18);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}
.screen {
  position: relative;
  min-height: 520px;
  border-radius: 26px;
  overflow: hidden;
  background: #141613;
  padding: 22px 16px;
}
.screen article h3 { margin: 8px 0; font-size: 28px; letter-spacing: -0.04em; }
.screen .k { color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; margin: 28px 0 0; }
.screen p { color: var(--muted); }
.dots { display: flex; gap: 28px; margin-top: 48px; }
.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 8px rgba(31, 154, 98, 0.22); }
.screen .yes { display: block; text-align: center; background: var(--green); color: white; border-radius: 12px; padding: 12px; }
.stage { display: flex; flex-direction: column; align-items: center; }
.controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
.controls button {
  background: var(--gold);
  color: var(--on-gold);
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.controls span { color: var(--muted); font-size: 14px; }
.explain h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.04em; margin: 0 0 10px; }
.explain p { color: var(--muted); margin: 0; }
.explain p + p { margin-top: 16px; }

footer.wrap, footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}
footer nav a { margin-right: 18px; }

.doc { padding: 28px 0 88px; max-width: 760px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.045em; line-height: 0.98; margin: 12px 0 8px; }
.doc .updated { color: var(--muted); margin-top: 0; }
.doc h2 { font-size: 26px; letter-spacing: -0.03em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--ink); }
.doc ul { padding-left: 1.15rem; }
.doc li { margin: 8px 0; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; margin: 0; }

@media (max-width: 980px) {
  .split, .story, .facts { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .shot:first-child { grid-column: span 2; grid-row: auto; min-height: 320px; }
}

@media (max-width: 760px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 56px;
    padding: max(8px, env(safe-area-inset-top)) 16px 8px;
  }
  .brand { font-size: 18px; }
  .brand img { width: 28px; height: 28px; }
  .menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 72px;
  }
  .top nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 16px 12px;
    background: #10110f;
    border-bottom: 1px solid var(--line);
  }
  .top nav.open { display: flex; }
  .top nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 17px;
    border-top: 1px solid var(--line);
  }

  main { padding-top: 56px; }
  .hero {
    margin-top: -56px;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0;
    overflow: visible;
    padding: 64px 20px calc(28px + env(safe-area-inset-bottom));
  }
  .hero-photo.hero-wide { display: none; }
  .hero-photo.hero-phone {
    display: block;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
  }
  .hero-shade {
    background: linear-gradient(180deg, rgba(16, 17, 15, 0.08) 0%, rgba(16, 17, 15, 0.05) 36%, rgba(16, 17, 15, 0.72) 62%, rgba(16, 17, 15, 0.96) 100%);
  }
  .hero h1 { font-size: 32px; letter-spacing: -0.045em; max-width: 12em; }
  .support { font-size: 16px; margin-top: 8px; }
  .tag { font-size: 16px; margin-top: 8px; }
  .ctas { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 18px; }
  .launch {
    order: -1;
    color: var(--ink);
    font-size: 34px;
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1.05;
  }
  .ctas .btn { width: 100%; order: 1; }
  .hero-stage { display: none; }

  .band { padding: 64px 0; }
  .band h2 { font-size: 34px; }
  .glance li { font-size: 26px; padding: 12px 0; }

  .gallery {
    display: flex;
    grid-template-columns: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 20px;
    padding: 0 16px 4px;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .shot, .shot:first-child {
    flex: 0 0 78%;
    height: 460px;
    min-height: 0;
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: start;
  }

  .request { padding: 18px; }
  .request h3 { font-size: 28px; }
  .actions b { min-height: 48px; display: flex; align-items: center; justify-content: center; }

  .final { min-height: 420px; padding: 22px; border-radius: 22px; }
  .final .btn { width: 100%; }

  .story-open { padding: 28px 0 8px; }
  .story-open h1 { font-size: 42px; }
  .story {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-bottom: calc(48px + env(safe-area-inset-bottom));
  }
  .stage { order: 1; }
  .chapters {
    order: 2;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-right: -16px;
    padding-right: 16px;
  }
  .chapters::-webkit-scrollbar { display: none; }
  .chapters li { flex: 0 0 auto; scroll-snap-align: start; }
  .chapters button {
    width: auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 14px;
    min-height: 44px;
    white-space: nowrap;
  }
  .chapters button.on {
    background: var(--gold);
    color: var(--on-gold);
    border-color: var(--gold);
  }
  .chapters button.on::before { display: none; }
  .explain { order: 3; }
  .device { width: min(280px, 86vw); }
  .screen { min-height: 390px; padding: 20px 16px 16px; }

  .doc { padding-top: 12px; }
  .doc h1 { font-size: 36px; }
  footer.site {
    flex-direction: column;
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }
  footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  footer nav a { margin: 0; min-height: 44px; display: inline-flex; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .cine .hero-photo, .cine .hero h1, .cine .support, .cine .tag, .cine .pip, .cine .mini, .cine .ctas { opacity: 1; }
  .glance li { color: var(--ink); }
}
