:root {
  --ink: #000;
  --cream: #f1e9cf;
  --cream-dim: rgba(241, 233, 207, 0.72);
  --accent: #a9c2d6;
  --red: #f23535;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- Stacked panels: each one slides up over the last ---------- */

.panel {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.55);
}
.panel:first-child { border-radius: 0; box-shadow: none; }
.panel > .inner {
  height: 100%;
  transform-origin: 50% 0%;
  transform: scale(calc(1 - 0.06 * var(--p, 0)));
  filter: brightness(calc(1 - 0.55 * var(--p, 0)));
  will-change: transform, filter;
}
.panel.last { position: relative; height: auto; min-height: 100svh; }

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

.hero { background: var(--ink); }
.hero .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  position: relative;
}
.disc {
  width: min(62vw, 46vh, 440px);
  border-radius: 50%;
  margin-bottom: clamp(16px, 3vh, 36px);
  filter: drop-shadow(0 0 70px rgba(70, 120, 160, 0.35)) drop-shadow(0 0 140px rgba(150, 90, 40, 0.2));
  -webkit-mask-image: radial-gradient(circle, #000 66%, transparent 71%);
  mask-image: radial-gradient(circle, #000 66%, transparent 71%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.025); filter: drop-shadow(0 0 90px rgba(70, 120, 160, 0.45)) drop-shadow(0 0 160px rgba(150, 90, 40, 0.28)); } }

.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(88px, 22vw, 220px);
  line-height: 0.85;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero .sub {
  margin-top: 18px;
  font-size: clamp(17px, 2.4vw, 22px);
  color: var(--cream-dim);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.cta:hover { transform: translateY(-2px); }
.cta svg { width: 18px; height: 18px; }
.scroll-hint {
  position: absolute;
  bottom: calc(clamp(16px, 4vw, 40px) + 22px);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(241, 233, 207, 0.45);
}

/* ---------- Feature panels ---------- */

.feature .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 100%;
  align-items: center;
  column-gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}
.feature .copy { max-width: 470px; }
.eyebrow {
  font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 22px;
  display: block;
}
.feature h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.feature p {
  margin-top: 24px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--cream-dim);
}
.feature small {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(241, 233, 207, 0.5);
}
.feature .shot {
  height: 100%;
  padding-top: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
}
.feature .shot img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: bottom center;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%), linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%), linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

/* Background of each panel continues the gradient in Attila's images. */
.f1 { background: linear-gradient(to bottom, #140a08 0%, #1c0c0a 45%, #9a8c9e 100%); }
.f2 { background: linear-gradient(to bottom, #0b0b0b 0%, #110f14 50%, #bab2bf 100%); }
.f3 { background: linear-gradient(to bottom, #10070a 0%, #170a0f 50%, #857696 100%); }
.f4 { background: linear-gradient(to bottom, #0a0b0e 0%, #12121c 50%, #dad8e3 100%); }

/* ---------- Closing panel ---------- */

.closing { background: var(--ink); }
.closing .inner {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px 0;
}
.closing h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.9;
  text-transform: uppercase;
}
.closing p { margin-top: 20px; color: var(--cream-dim); font-size: 18px; max-width: 520px; }
.facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  max-width: 640px;
}
.facts li {
  font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  border: 1px solid rgba(241, 233, 207, 0.2);
  border-radius: 6px;
  color: var(--cream-dim);
}
footer {
  margin-top: auto;
  width: 100%;
  padding: 72px 0 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 14px;
  color: rgba(241, 233, 207, 0.5);
}
footer a { text-decoration: none; }
footer a:hover { color: var(--cream); }

/* ---------- Text pages (privacy, support) ---------- */

.page { max-width: 680px; margin: 0 auto; padding: 48px 24px 64px; }
.page .back { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: 28px; text-transform: uppercase; }
.page .back img { width: 34px; border-radius: 50%; }
.page h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 10vw, 72px); line-height: 0.95; text-transform: uppercase; margin: 48px 0 16px; }
.page h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; text-transform: uppercase; margin: 40px 0 10px; }
.page h3 { font-weight: 600; font-size: 17px; margin: 24px 0 4px; }
.page p, .page li { color: var(--cream-dim); font-size: 17px; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 20px; margin-top: 10px; }
.page li + li { margin-top: 6px; }
.page .lede { font-size: 19px; }
.page .meta { font-size: 14px; color: rgba(241, 233, 207, 0.5); margin-top: 8px; }
.page footer { padding-top: 56px; justify-content: flex-start; }

/* ---------- Phones ---------- */

@media (max-width: 820px) {
  .panel { border-radius: 22px 22px 0 0; }
  .feature .inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: start;
    padding: 0;
  }
  .feature .copy { padding: 64px 24px 0; }
  .feature h2 { font-size: clamp(40px, 11.5vw, 60px); }
  .feature p { margin-top: 14px; font-size: 16px; }
  .feature small { margin-top: 10px; }
  .eyebrow { margin-bottom: 14px; }
  .feature .shot { padding-top: 8px; }
  .feature .shot img { width: 100%; height: 100%; }
}
@media (max-width: 820px) and (max-height: 700px) {
  .feature p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .panel > .inner { transform: none; filter: none; }
  .disc { animation: none; }
  .cta { transition: none; }
}
