/* ============================================================
   LUMA v5 — Design tokens
   Scene: ein frisch selbstständiger Hochzeitsfotograf, abends nach
   einem langen Shooting-Tag, scrollt am Laptop und entscheidet, ob
   er seine Kundengewinnung dieser Agentur anvertraut. Ruhig, nicht
   grell — Vertrauen vor Verkaufslärm.
   ============================================================ */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-variable.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-variable.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fragment Mono";
  src: url("../fonts/fragment-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ground — warm near-black, like a darkroom, never pure #000 */
  --ground: oklch(17% 0.014 55);
  --ground-raised: oklch(21% 0.017 55);
  --ground-line: oklch(30% 0.02 55);

  /* text — warm bone, never pure #fff */
  --ink: oklch(95% 0.012 80);
  --ink-muted: oklch(72% 0.02 70);
  --ink-faint: oklch(52% 0.02 65);

  /* the one accent — safelight amber, desaturated at the edges */
  --safelight: oklch(74% 0.135 58);
  --safelight-dim: oklch(45% 0.09 55);
  --safelight-ghost: oklch(30% 0.05 55);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Literata", Georgia, serif;
  --font-mono: "Fragment Mono", ui-monospace, monospace;

  --measure: 62ch;
  --edge: clamp(1.5rem, 5vw, 4rem);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain — fixed, pointer-events-none, cheap */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  max-width: var(--measure);
  margin: 0;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--safelight);
  outline-offset: 3px;
}

/* ============================================================
   Nav
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--edge);
  background: linear-gradient(to bottom, oklch(17% 0.014 55 / 0.9), transparent);
}

.nav__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.nav__mark span {
  color: var(--safelight);
}

.nav__cta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--ground-line);
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  transition: border-color 200ms var(--ease-out), color 200ms var(--ease-out);
}

.nav__cta:hover {
  border-color: var(--safelight);
  color: var(--safelight);
}

/* ============================================================
   Hero — the thesis, not a header
   ============================================================ */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem var(--edge) 4rem;
  position: relative;
}

.hero__kicker {
  color: var(--safelight);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  max-width: 16ch;
}

.hero__lede {
  margin-top: 1.75rem;
  color: var(--ink-muted);
  font-size: 1.2rem;
  font-style: italic;
  max-width: 46ch;
}

.hero__proof {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__proof-frame {
  width: 168px;
  aspect-ratio: 3/4;
  border: 1px solid var(--ground-line);
  border-radius: 4px;
  background: var(--ground-raised);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.hero__proof-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 30% 15%, var(--safelight-ghost), transparent 60%),
    linear-gradient(200deg, oklch(24% 0.02 55), var(--ground));
}

.hero__proof-price {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink);
  background: oklch(15% 0.012 55 / 0.75);
  border: 1px solid var(--safelight-dim);
  padding: 0.35rem 0.5rem;
  border-radius: 3px;
}

.hero__proof-price strong {
  color: var(--safelight);
  font-weight: 400;
}

.hero__proof-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
  max-width: 22ch;
  line-height: 1.5;
}

/* ============================================================
   Section shell
   ============================================================ */

.section {
  padding: clamp(5rem, 10vw, 9rem) var(--edge);
  border-top: 1px solid var(--ground-line);
}

.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 52ch;
  margin-bottom: 4rem;
}

@media (min-width: 860px) {
  .section__head {
    grid-template-columns: 220px 1fr;
    max-width: none;
    align-items: start;
  }
}

.section__kicker {
  color: var(--safelight);
}

.section__title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  max-width: 20ch;
}

/* ============================================================
   Problem — two costs, laid out as evidence not bullet cards
   ============================================================ */

.costs {
  display: grid;
  gap: 3rem;
  max-width: 46rem;
}

@media (min-width: 720px) {
  .costs {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.cost {
  border-top: 1px solid var(--ground-line);
  padding-top: 1.25rem;
}

.cost__figure {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-bottom: 0.85rem;
  display: block;
}

.cost__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.cost p {
  color: var(--ink-muted);
  font-size: 1rem;
}

/* ============================================================
   Filmstrip — the signature element. A real 35mm contact strip:
   sprocket holes, frame numbers, one frame lit per differentiator.
   ============================================================ */

.filmstrip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 1.5rem;
  margin: 0 calc(var(--edge) * -1);
  padding-left: var(--edge);
  padding-right: var(--edge);
  scrollbar-width: thin;
  scrollbar-color: var(--ground-line) transparent;
}

.frame {
  scroll-snap-align: start;
  flex: 0 0 clamp(240px, 30vw, 340px);
  position: relative;
  border-top: 1px solid var(--ground-line);
  border-bottom: 1px solid var(--ground-line);
  padding: 1.6rem 1.5rem 2.2rem;
  margin-right: 1px;
  background: var(--ground);
  transition: background 300ms var(--ease-out);
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background-image: repeating-linear-gradient(
    to right,
    var(--ground-line) 0 6px,
    transparent 6px 22px
  );
  opacity: 0.6;
}

.frame::before {
  top: -1px;
}

.frame::after {
  bottom: -1px;
}

.frame:hover,
.frame:focus-within {
  background: var(--ground-raised);
}

.frame__number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--safelight-dim);
  display: block;
  margin-bottom: 1.4rem;
}

.frame__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.frame p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* ============================================================
   Process — a real sequence, numbering carries real information
   ============================================================ */

.process {
  counter-reset: step;
  display: grid;
  gap: 0;
  max-width: 44rem;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--ground-line);
}

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

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--safelight);
  padding-top: 0.15rem;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* ============================================================
   Pricing — the value LUMA preaches, applied to itself
   ============================================================ */

.pricing {
  display: grid;
  gap: 1.5rem;
  max-width: 40rem;
}

.price-card {
  border: 1px solid var(--ground-line);
  border-radius: 6px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.price-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.price-card__note {
  color: var(--ink-faint);
  font-size: 0.88rem;
  margin-top: 0.35rem;
  max-width: 32ch;
}

.price-card__value {
  font-family: var(--font-mono);
  color: var(--safelight);
  font-size: 1.4rem;
  white-space: nowrap;
}

.placeholder-note {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-faint);
  border-left: 2px solid var(--safelight-ghost);
  padding-left: 0.9rem;
  max-width: 46ch;
}

/* ============================================================
   Final CTA
   ============================================================ */

.finale {
  text-align: left;
  border-top: 1px solid var(--ground-line);
  padding: clamp(6rem, 14vw, 10rem) var(--edge);
  position: relative;
}

.finale__title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: 18ch;
}

.finale__actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  transition: transform 160ms var(--ease-out), background 200ms var(--ease-out);
  display: inline-block;
}

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

.btn--primary {
  background: var(--safelight);
  color: oklch(17% 0.014 55);
}

.btn--primary:hover {
  background: oklch(80% 0.145 58);
}

.btn--ghost {
  border: 1px solid var(--ground-line);
  color: var(--ink-muted);
}

.btn--ghost:hover {
  border-color: var(--ink-muted);
  color: var(--ink);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  padding: 2.5rem var(--edge) 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  border-top: 1px solid var(--ground-line);
}

/* ============================================================
   Scroll reveal — settle before capture, respects reduced motion
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
