/* Profit Zombies — shared brutalist design system
   Font: Space Grotesk (no serif / italic display font). Palette: black, white, grays. */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --black: #000;
  --white: #fff;
  --ink: #0a0a0a;
  --gray-600: #4a5565;
  --gray-500: #6a7282;
  --gray-300: #d1d5dc;
  --line: #e5e5e5;
  --rule: 4px solid var(--black);
  --rule-thin: 1px solid var(--line);
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1200px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Header ---------- */
.site-header {
  border-bottom: var(--rule);
  background: var(--white);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.logo {
  font-weight: 700; font-size: 18px; letter-spacing: -0.04em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
@media (min-width: 768px) { .logo { font-size: 22px; } }
/* Desktop: the wordmark's capital letters are exactly as tall as the header button (40px),
   so their tops and bottoms line up. Space Grotesk cap height ≈ 0.727em → 55px font = 40px caps. */
@media (min-width: 900px) {
  .site-header .wrap { min-height: 76px; }
  .site-header .btn { height: 40px; padding-top: 0; padding-bottom: 0; }
  .logo {
    display: block; font-size: 55px; line-height: 1;
    text-box: trim-both cap alphabetic; /* box = cap height, so flex centering aligns the letters */
  }
  @supports not (text-box: trim-both cap alphabetic) {
    .logo { height: 40px; line-height: 40px; overflow: visible; }
  }
}

/* ---------- Type ---------- */
.label {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--black); margin: 0;
}
.label--muted { color: var(--gray-500); }
.h1, h1 {
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.05em;
  line-height: 0.95; margin: 0;
  font-size: clamp(40px, 9vw, 88px);
}
.h2, h2 {
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.05em;
  line-height: 1; margin: 0;
  font-size: clamp(28px, 5vw, 44px);
}
.lede { color: var(--gray-600); font-size: 17px; max-width: 60ch; margin: 0; }
@media (min-width: 768px) { .lede { font-size: 19px; } }

/* Highlighted word: black block, white text (brutalist emphasis, no italics) */
/* inline-block = one solid box even when the phrase wraps, so stacked lines never overlap */
.mark {
  display: inline-block;
  background: var(--black); color: var(--white);
  line-height: 0.95;
  padding: 0.1em 0.16em 0.06em;
  margin: 0.06em 0 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; text-decoration: none; cursor: pointer;
  border: 4px solid var(--black); border-radius: 0;
  background: var(--black); color: var(--white);
  padding: 18px 32px; font-size: 18px; line-height: 1.1;
  transition: transform .08s ease, box-shadow .08s ease, background .15s, color .15s;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn:active { transform: translate(2px, 2px); }
.btn:focus-visible { outline: 3px solid var(--black); outline-offset: 4px; }
.btn--block { width: 100%; }
.btn { text-align: center; white-space: nowrap; }
.btn--xl { font-size: clamp(18px, 2.4vw, 24px); padding: 22px 40px; }
@media (max-width: 400px) {
  .btn--xl { font-size: 16px; padding: 20px 12px; letter-spacing: 0.02em; }
}
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); }
.btn--sm { font-size: 13px; padding: 10px 18px; border-width: 2px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Blocks ---------- */
.rule-top { border-top: var(--rule); }
.rule-bottom { border-bottom: var(--rule); }
.box { border: var(--rule); }
.dark { background: var(--black); color: var(--white); }
.dark .label { color: var(--white); }
.dark .lede { color: var(--gray-300); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
}
.field input {
  font-family: var(--font); font-size: 18px; font-weight: 500;
  border: 2px solid var(--black); border-radius: 0; background: var(--white);
  padding: 16px; width: 100%; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: var(--gray-300); }
.field input:focus { outline: none; border-width: 4px; padding: 14px; }
.field input[aria-invalid="true"] { border-color: #d00; }
.field .err { color: #d00; font-size: 13px; font-weight: 500; min-height: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: var(--rule); padding: 24px 0; font-size: 12px; color: var(--gray-500); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer .site-footer__legal { display: grid; gap: 10px; justify-content: stretch; margin-bottom: 20px; padding-bottom: 20px; border-bottom: var(--rule-thin); }
.site-footer__legal p { margin: 0; max-width: 860px; font-size: 12px; line-height: 1.55; color: var(--gray-500); }
.site-footer__legal strong { color: var(--ink); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }

/* ---------- Custom video player (js/video.js, Vimeo) ---------- */
.pzp { position: absolute; inset: 0; background: var(--black); color: var(--white); overflow: hidden; }
.pzp__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pzp[data-state="idle"]::before, .pzp[data-state="loading"]::before {
  content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, 0.38); pointer-events: none;
}
.pzp:not([data-state="idle"]) .pzp__poster { visibility: hidden; }
.pzp__frame, .pzp__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pzp__frame { z-index: 0; }
/* preloaded but not started: keep the iframe invisible and untouchable behind our poster + play button */
.pzp[data-state="idle"] .pzp__frame { opacity: 0; pointer-events: none; }
/* touch screens (js TAP_THROUGH): the ready Vimeo player sits invisibly on top so it gets the first tap -> sound on iPhone */
.pzp.is-tapthrough[data-state="idle"] .pzp__frame { opacity: 0.01; pointer-events: auto; z-index: 6; }
.pzp__hit { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.pzp[data-state="idle"] .pzp__hit { display: none; }
.pzp.is-native .pzp__hit, .pzp.is-native .pzp__bar, .pzp.is-native .pzp__big { display: none; }

/* Big white square play button (same look as the placeholder) */
.pzp__big {
  position: absolute; inset: 0; z-index: 3; margin: auto; border: 0; padding: 16px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: transparent; color: var(--white); font: inherit; width: 100%; height: 100%;
}
.pzp__big .label { color: var(--white); font-size: 10px; letter-spacing: 2px; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@media (min-width: 640px) { .pzp__big .label { font-size: 12px; letter-spacing: 2.5px; } }
.pzp__big .vsl-play { transition: transform .12s ease; }
.pzp__big:hover .vsl-play { transform: scale(1.06); }
.pzp__big:focus-visible { outline: none; }
.pzp__big:focus-visible .vsl-play { outline: 3px solid var(--white); outline-offset: 6px; }
.pzp[data-state="playing"] .pzp__big, .pzp[data-state="loading"] .pzp__big { opacity: 0; pointer-events: none; }
.pzp[data-state="paused"] .pzp__big, .pzp[data-state="ended"] .pzp__big { background: rgba(0, 0, 0, 0.35); }
.pzp[data-state="paused"] .pzp__big .label { display: none; }

/* Loading / buffering */
.pzp__spinner {
  position: absolute; z-index: 3; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border: 4px solid rgba(255,255,255,.25); border-top-color: var(--white); border-radius: 50%;
  animation: pzp-spin .8s linear infinite; display: none; pointer-events: none;
}
.pzp[data-state="loading"] .pzp__spinner, .pzp.is-buffering[data-state="playing"] .pzp__spinner { display: block; }
@keyframes pzp-spin { to { transform: rotate(360deg); } }

/* Control bar */
.pzp__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; align-items: center; gap: 4px; padding: 0 6px;
  height: 48px; background: var(--black); border-top: 2px solid var(--white);
  transform: translateY(100%); transition: transform .18s ease;
}
.pzp:not([data-state="idle"]):not([data-state="loading"]) .pzp__bar { transform: translateY(100%); }
.pzp[data-state="paused"] .pzp__bar, .pzp[data-state="ended"] .pzp__bar,
.pzp.is-active:not([data-state="idle"]):not([data-state="loading"]) .pzp__bar,
.pzp:focus-within:not([data-state="idle"]):not([data-state="loading"]) .pzp__bar { transform: none; }
.pzp__btn {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  background: transparent; color: var(--white); border: 0; padding: 0; cursor: pointer;
}
.pzp__btn svg { width: 22px; height: 22px; display: block; }
.pzp__btn:hover { background: var(--white); color: var(--black); }
.pzp__btn:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
.pzp__progress { flex: 1 1 auto; height: 40px; display: flex; align-items: center; cursor: pointer; touch-action: none; padding: 0 6px; }
.pzp__progress:focus-visible { outline: 2px solid var(--white); outline-offset: -2px; }
.pzp__track { position: relative; width: 100%; height: 8px; background: #3a3a3a; }
.pzp__buffered { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #777; }
.pzp__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--white); }
.pzp__knob {
  position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  background: var(--white); border: 2px solid var(--black); outline: 2px solid var(--white);
  transform: scale(0); transition: transform .12s ease;
}
.pzp__progress:hover .pzp__knob, .pzp.is-scrubbing .pzp__knob, .pzp__progress:focus-visible .pzp__knob { transform: scale(1); }
.pzp__time { flex: none; font-size: 12px; font-weight: 700; letter-spacing: 1px; font-variant-numeric: tabular-nums; padding: 0 6px; white-space: nowrap; }
@media (max-width: 420px) { .pzp__time { font-size: 11px; letter-spacing: 0; padding: 0 2px; } .pzp__bar { gap: 0; padding: 0 2px; } }

/* "Tap for sound" when the browser forced muted autoplay */
.pzp__unmute {
  position: absolute; z-index: 5; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--black); border: 2px solid var(--black); padding: 8px 12px; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
}
.pzp__unmute svg { width: 18px; height: 18px; }

/* Full screen: the .vsl container fills the screen, video stays 16:9 */
.vsl:fullscreen { border: 0; width: 100vw; height: 100vh; aspect-ratio: auto; padding: 0; background: var(--black); }
.vsl:-webkit-full-screen { border: 0; width: 100vw; height: 100vh; padding: 0; background: var(--black); }

/* Contouring funnel header on phones/tablets: thick black line across the very top, compact height,
   logo that scales with the phone, and a header button that fits beside it. Used by /contouring,
   /schedule + /book in the contouring flow, and /thank-you-contouring. */
@media (max-width: 899px) {
  .pz-contour .site-header { border-top: var(--rule); }
  .pz-contour .site-header .wrap { min-height: 54px; }
}
@media (max-width: 479px) {
  .pz-contour .site-header .wrap { gap: 10px; min-height: 52px; }
  .pz-contour .site-header .logo { font-size: clamp(16px, 5.4vw, 21px); white-space: nowrap; }
  .pz-contour .site-header .btn--sm { font-size: clamp(10px, 3vw, 11.5px); padding: 8px 9px; letter-spacing: 0.01em; white-space: nowrap; }
}
