/* doppeltake.com v1
   Hand-written, no framework, no build step, no cookies, no analytics.
   Palette and mark per SITE_SPEC section 4. No em-dash characters anywhere. */

:root {
  --bg: #0e0e0e;
  --bg-raise: #141414;
  --fg: #f2f0ec;
  --fg-dim: #8d8880;
  --rule: #232220;
  --accent: #ff6b00;

  --measure: 34rem;          /* readable line length */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-gap: clamp(4.5rem, 12vw, 9rem);
}

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

html {
  background: var(--bg);
  color-scheme: dark;        /* correct form controls and scrollbars */
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- links ---------- */

a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color 130ms ease;
}
a:hover { color: var(--accent); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 1px;
}
@media (prefers-reduced-motion: reduce) { a { transition: none; } }

.skip {
  position: absolute; left: -9999px;
  background: var(--accent); color: #0e0e0e;
  padding: 0.7rem 1rem; border: 0; font-weight: 700;
}
.skip:focus { left: var(--gutter); top: 1rem; z-index: 10; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: var(--section-gap); }
section + section { border-top: 1px solid var(--rule); }

.eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

p { margin: 0 0 1.15rem; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
.lede { font-size: 1.075em; color: var(--fg); }
.dim { color: var(--fg-dim); }

/* ---------- lockup ---------- */

/* Wordmark size lives on .lockup so em units on the mark, a sibling of the
   wordmark rather than a child, resolve against the wordmark size. The hidden
   spacer holds "Doppel" in identical type so the mark starts exactly at the T.
   No hard-coded offset: survives any size or typeface change. */
.lockup { display: inline-block; font-size: clamp(2.5rem, 9vw, 4.75rem); }
.lockup .word {
  margin: 0;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}
.lockup .markline {
  margin: 0.26em 0 0;
  font-size: 1em; font-weight: 700; letter-spacing: -0.035em;
  line-height: 1; white-space: nowrap;
}
.lockup .spacer { visibility: hidden; }
.lockup .mark {
  display: inline-block; height: 0.5em; width: auto; vertical-align: baseline;
}

/* ---------- hero ---------- */

.hero { padding-block: clamp(3rem, 9vw, 6rem) var(--section-gap); border-top: 0; }
.hero h1 {
  margin: clamp(2.5rem, 7vw, 4rem) 0 0.75rem;
  font-size: clamp(1.75rem, 4.6vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.hero .subline {
  margin: 0 0 clamp(2.25rem, 6vw, 3.25rem);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--fg-dim);
}

/* ---------- video, click to play ---------- */

/* No third-party request fires until the user clicks. The iframe is created
   on activation, not on load. */
.video {
  position: relative;
  margin: 0 0 1.25rem;
  background: var(--bg-raise);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.video-frame { aspect-ratio: 16 / 9; width: 100%; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

.video-btn {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.9rem;
  background: transparent; border: 0; cursor: pointer;
  color: var(--fg); font: inherit;
}
.video-btn:hover .play { transform: scale(1.06); border-color: var(--accent); }
.video-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -6px; }
.play {
  width: 4.5rem; height: 4.5rem; border-radius: 50%;
  border: 2px solid var(--fg); background: rgba(14,14,14,0.55);
  display: grid; place-items: center;
  transition: transform 140ms ease, border-color 140ms ease;
}
.play::before {
  content: ""; width: 0; height: 0; margin-left: 0.28rem;
  border-left: 1.1rem solid var(--fg);
  border-top: 0.68rem solid transparent;
  border-bottom: 0.68rem solid transparent;
}
.video-btn:hover .play::before { border-left-color: var(--accent); }
.video-label {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-dim);
}
@media (prefers-reduced-motion: reduce) { .play { transition: none; } }

/* Slot with no Vimeo id yet. Visibly pending rather than silently broken. */
.video[data-vimeo-id=""] .play { opacity: 0.35; }
.video[data-vimeo-id=""] .video-btn { cursor: not-allowed; }

.caption {
  margin: 0;
  font-size: 0.9rem;
  color: var(--fg-dim);
  max-width: var(--measure);
}

/* ---------- the idea, list ---------- */

.points { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.points li {
  padding: 1.4rem 0;
  border-top: 1px solid var(--rule);
  max-width: 44rem;
}
.points li:last-child { border-bottom: 1px solid var(--rule); }
.points strong { display: block; margin-bottom: 0.3rem; font-weight: 700; }
.points span { color: var(--fg-dim); }

/* ---------- two doors ---------- */

.doors {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
@media (min-width: 46rem) { .doors { grid-template-columns: 1fr 1fr; } }
.door h3 {
  margin: 0 0 0.7rem;
  font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em;
}
.door p { color: var(--fg-dim); max-width: none; }

.notoffer {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--rule);
  background: var(--bg-raise);
  max-width: 44rem;
}
.notoffer p { margin: 0; max-width: none; }
.notoffer strong { color: var(--accent); }

/* ---------- media ---------- */

.bleed { margin-block: clamp(3rem, 8vw, 5rem) 0; }
.bleed img { width: 100%; }

.grid-stills {
  display: grid; gap: clamp(0.75rem, 2vw, 1.25rem);
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2.5rem;
}
@media (min-width: 46rem) { .grid-stills { grid-template-columns: repeat(3, 1fr); } }
.grid-stills img { width: 100%; border: 1px solid var(--rule); }

.proof-lead {
  display: grid; gap: clamp(1.5rem, 4vw, 2.75rem);
  grid-template-columns: 1fr; align-items: start;
  margin-top: 2.5rem;
}
@media (min-width: 52rem) { .proof-lead { grid-template-columns: 1fr 1.35fr; } }
.proof-lead img { width: 100%; border: 1px solid var(--rule); }

/* ---------- founder ---------- */

.founder {
  display: grid; gap: clamp(1.5rem, 4vw, 2.75rem);
  grid-template-columns: 1fr; align-items: start;
  margin-top: 2rem;
}
@media (min-width: 40rem) { .founder { grid-template-columns: 9rem 1fr; } }
.founder img { width: 100%; border: 1px solid var(--rule); }

.contact-line {
  margin-top: 2.25rem;
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 700;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--rule);
  padding-block: clamp(3rem, 7vw, 4.5rem);
  font-size: 0.85rem;
  color: var(--fg-dim);
}
footer p { max-width: 48rem; }
footer .legal { margin-bottom: 1.4rem; }
footer .legal span { display: block; }
footer .disclosure { color: var(--fg-dim); }
footer .foot-mark { height: 1.1rem; width: auto; display: block; margin-bottom: 1.75rem; }

/* ---------- light-mode browsers ----------
   The page is dark by design. This stops a forced-light UA from washing it out. */
@media (prefers-color-scheme: light) {
  html, body { background: var(--bg); color: var(--fg); }
}
