:root {
  --bg: #222222;
  --surface: #2a2a2a;
  --fg: #f3f1ea;
  --muted: #a3a09a;
  --cyan: #00fbe1;
  --magenta: #fa19e6;
  --line: #3d3d3d;
  --display: "Space Grotesk", "Avenir Next", sans-serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--magenta); color: var(--bg); }
section[id], form[id] { scroll-margin-top: 5.5rem; }

.wrap { width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto; }
.display { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
.kicker { color: var(--cyan); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.muted { color: var(--muted); }
.magenta { color: var(--magenta); }
.cyan { color: var(--cyan); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0;
}
.brand { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; text-decoration: none; }
.mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--cyan);
  border-radius: 0.75rem;
  font-family: var(--display);
  font-weight: 800;
}
.brand small { display: block; color: var(--muted); font-size: 0.75rem; white-space: nowrap; }
.brand strong { font-family: var(--display); font-size: 0.9rem; white-space: nowrap; }

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.tabs a {
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  border-radius: 999px;
  color: var(--fg);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.tabs a[aria-current="page"] { background: var(--cyan); color: var(--bg); }
.header-cta { margin-left: auto; flex-shrink: 0; }

.btn {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--cyan); color: var(--bg); box-shadow: 0 0 0 0 var(--magenta); }
.btn-primary:hover { box-shadow: 4px 4px 0 0 var(--magenta); }
.btn-lg { min-height: 3.5rem; padding: 0.95rem 1.85rem; font-size: 1.125rem; }
.btn.header-cta { white-space: nowrap; padding-inline: 0.9rem; font-size: 0.92rem; }
@media (max-width: 420px) {
  .mark { width: 2.25rem; height: 2.25rem; }
  .brand strong { font-size: 0.82rem; }
  .brand small { font-size: 0.68rem; }
  .btn.header-cta { font-size: 0.8rem; padding: 0.45rem 0.7rem; min-height: 2.4rem; }
}
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--cyan); }

.hero { padding: 3.5rem 0 2rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { margin: 1rem 0 0; font-size: clamp(2.4rem, 6vw, 4.2rem); }
.support { max-width: 38rem; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.facts { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.9rem; }
.facts li { display: flex; align-items: center; gap: 0.45rem; }
.dot { width: 0.4rem; height: 0.4rem; border-radius: 999px; background: var(--cyan); }

.hero-frame { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--surface); }
.hero-frame::before, .hero-frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 1.35rem;
  height: 1.35rem;
  pointer-events: none;
}
.hero-frame::before { top: 0.85rem; left: 0.85rem; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.hero-frame::after { right: 0.85rem; bottom: 4.2rem; border-right: 2px solid var(--magenta); border-bottom: 2px solid var(--magenta); }
.hero-frame:not(:has(figcaption))::after { bottom: 0.85rem; }
.hero-photo { display: block; width: 100%; height: 18rem; object-fit: cover; object-position: 50% 42%; }
.hero-photo.headshot { height: auto; object-fit: contain; object-position: center; }
figcaption { border-top: 1px solid var(--line); padding: 0.75rem 1rem; color: var(--muted); font-size: 0.9rem; }

.band { padding: 3.25rem 0; }
.rule { border-top: 1px solid var(--line); }
.surface { background: var(--surface); }
h2 { margin: 0.6rem 0 0; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.intro { max-width: 40rem; color: var(--muted); }

.cards { display: grid; gap: 1rem; margin-top: 2rem; }
.card { border: 1px solid var(--line); background: var(--surface); border-radius: 1.25rem; padding: 1.5rem; }
.surface .card { background: var(--bg); }
.card h3, .step h3 { font-family: var(--display); font-size: 1.25rem; margin: 0; }
.card p, .step p { color: var(--muted); font-size: 0.95rem; }
.instead { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--fg); font-size: 0.95rem; }

.steps { display: grid; gap: 2rem; margin-top: 2rem; padding: 0; list-style: none; }
.num { margin: 0; color: var(--cyan); font-size: 1.8rem; }

.checks { list-style: none; margin: 1rem 0 0; padding: 0; }
.checks li { display: flex; gap: 0.75rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.checks svg { flex: none; margin-top: 0.2rem; }

.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.5rem; }
.project { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #1a1a1a; }
.project img { display: block; width: 100%; height: auto; }
.project figcaption { display: grid; gap: 0.15rem; padding: 0.8rem 0.95rem 0.95rem; }
.project strong { font-family: var(--display); font-size: 1.05rem; }
.project span { color: var(--muted); font-size: 0.85rem; }
.reel { margin-top: 1.5rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: #1a1a1a; }
.reel iframe { display: block; width: 100%; height: 520px; border: 0; }
.session { margin: 1.75rem 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: #1a1a1a; }
.session img { display: block; width: 100%; height: auto; }
.session figcaption { border-top: 1px solid var(--line); padding: 0.75rem 1rem; }
.about { display: grid; gap: 1.5rem; align-items: center; }
.about-photo { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; }
.about-photo img { display: block; width: 100%; height: auto; }
.quote { margin: 0; border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.75rem 1.6rem; }
.quote figcaption { border: 0; padding: 1rem 0 0; }
.senja-embed { margin-top: 1.5rem; }
.calendar { margin-top: 1.5rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; }
.tidycal-embed { min-height: 40rem; }
.slot { color: var(--magenta); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
blockquote { margin: 1rem 0 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }

.invest { display: grid; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: 1.25rem; overflow: hidden; }
.invest-copy { background: var(--surface); padding: 1.5rem; }
.price-box { padding: 1.5rem; }
.price-box .btn { margin-top: 1.25rem; }
.quiet { margin: 1.1rem 0 0; color: var(--muted); font-size: 0.95rem; }
.quiet a { color: var(--fg); }

.form-wrap { max-width: 36rem; margin-top: 1.5rem; }
details.more {
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0 1.15rem;
  background: var(--bg);
}
details.more form { border: 0; padding: 0 0 1.15rem; background: transparent; }

.dock {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.dock .btn { flex: 1; }
.dock[hidden] { display: none !important; }
body:has(.dock:not([hidden])) { padding-bottom: 5rem; }
.price { margin: 0.4rem 0 0; color: var(--cyan); font-size: clamp(3rem, 8vw, 4.5rem); font-variant-numeric: tabular-nums; }
.alts { display: grid; gap: 0.75rem; margin-top: 1rem; }
.alt { display: grid; gap: 0.2rem; border: 1px solid var(--line); padding: 1rem 1.2rem; }
.alt strong { font-family: var(--display); color: var(--cyan); }

.faq { width: min(46rem, 100%); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 3.5rem; cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
.plus { color: var(--cyan); }
details p { margin-top: 0; color: var(--muted); font-size: 0.95rem; }

.forms { display: grid; gap: 1rem; margin-top: 1.5rem; }
form { display: grid; gap: 0.9rem; border: 1px solid var(--line); background: var(--bg); padding: 1.4rem; }
form.featured { border-color: var(--cyan); }
label { display: grid; gap: 0.4rem; font-size: 0.9rem; font-weight: 600; }
.field {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--bg);
  color: var(--fg);
  padding: 0.75rem 0.9rem;
  font: inherit;
}
textarea.field { min-height: 8rem; resize: vertical; }

footer { border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; padding: 2rem 0; color: var(--muted); font-size: 0.9rem; }
footer a { color: var(--fg); }

@media (min-width: 800px) {
  .bar { align-items: center; }
  .tabs { display: flex; }
  .tabs a { padding: 0 1rem; }
  .header-cta { display: inline-flex; }
  .hero { padding: 5rem 0 3rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero-photo { height: 32rem; }
  .hero-photo.headshot { height: 32rem; object-fit: cover; object-position: 72% 46%; }
  .cards, .steps { grid-template-columns: repeat(3, 1fr); }
  .projects { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .about { grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; }
  .split { display: grid; grid-template-columns: 5fr 7fr; gap: 2rem; align-items: start; }
  .invest { grid-template-columns: 7fr 5fr; }
  .alt { grid-template-columns: 14rem 9rem 1fr; align-items: baseline; gap: 1rem; }
  .forms { grid-template-columns: 1fr 1fr; }
  .dock { display: none; }
  body:has(.dock) { padding-bottom: 0; }
}

@media (max-width: 799px) {
  .reel iframe { height: 520px; }
}

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