:root {
  color-scheme: dark;
  --bg: #0a0c10;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.055);
  --ink: #eef1f7;
  --ink-soft: #c3c9d4;
  --muted: #98a0ae;
  --dim: #5d6673;
  --hairline: rgba(238, 241, 247, 0.09);
  --hairline-strong: rgba(238, 241, 247, 0.16);
  --accent: #3b70e0;
  --accent-bright: #5b8af0;
  --glow-blue: #8db0f5;
  --tape: #e9c44a;
  --grid-major: rgba(141, 176, 245, 0.06);
  --grid-minor: rgba(141, 176, 245, 0.03);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shell: 1180px;
  --font-display: "Space Grotesk", ui-sans-serif, sans-serif;
  --font-body: "Geist", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* blueprint grid over the whole workshop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  pointer-events: none;
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

:focus-visible {
  outline: 3px solid var(--glow-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell {
  width: min(var(--shell), calc(100% - 3rem));
  margin-inline: auto;
}

.shell-narrow {
  width: min(46rem, calc(100% - 3rem));
  margin-inline: auto;
}

/* ---------- type ---------- */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

p {
  margin: 0;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--glow-blue);
  margin: 0 0 1rem;
}

.dim {
  color: var(--dim);
}

.glow {
  color: var(--glow-blue);
  text-shadow: 0 0 34px rgba(59, 112, 224, 0.55);
}

.tape {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0a0c10;
  background: var(--tape);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  transform: rotate(-1.2deg);
}

/* ---------- buttons + links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 0 32px rgba(59, 112, 224, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

/* hover deepens the fill and lets the glow do the brightening — a lighter fill
   cannot carry white text at 4.5:1 (measured: #5b8af0 = 3.31:1) */
.btn:hover {
  transform: translateY(-1px);
  background: #3568d6;
  box-shadow: 0 0 52px rgba(91, 138, 240, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 0 20px rgba(59, 112, 224, 0.4);
}

.btn-small {
  padding: 0.55rem 1.15rem;
  font-size: 0.93rem;
}

.ghost {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.ghost:hover {
  border-color: rgba(141, 176, 245, 0.5);
  background: rgba(59, 112, 224, 0.08);
  transform: translateY(-1px);
}

.ghost:active {
  transform: translateY(1px);
}

.text-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent-bright);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 0.15s ease;
}

.text-link:hover {
  color: var(--glow-blue);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #ffffff;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 16, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark span {
  color: var(--accent-bright);
}

.nav {
  display: flex;
  gap: 1.7rem;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--ink);
}

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

.hero {
  position: relative;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 55% at 26% 35%, rgba(59, 112, 224, 0.16), transparent 68%);
  pointer-events: none;
}

.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: min(86vh, 760px);
}

.hero-split > *,
.services-grid > *,
.proof-grid > *,
.about-grid > * {
  min-width: 0;
}

.hero-copy {
  align-self: center;
  padding-block: clamp(3rem, 6vw, 5rem);
  padding-inline-start: max(1.5rem, calc((100vw - var(--shell)) / 2));
  padding-inline-end: clamp(2rem, 4vw, 4rem);
}

.hero-panel {
  position: relative;
  background: #2f62d8;
  display: grid;
  place-items: end center;
  overflow: clip;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 30% 18%, rgba(255, 255, 255, 0.16), transparent 60%),
    radial-gradient(90% 45% at 50% 108%, rgba(10, 12, 16, 0.22), transparent 72%);
  pointer-events: none;
}

.big-word {
  position: absolute;
  top: 5%;
  left: 50%;
  translate: -50%;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(4.5rem, 9.5vw, 8.5rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  pointer-events: none;
}

.hero-panel img {
  position: relative;
  z-index: 2;
  width: min(29vw, 420px);
  margin-bottom: 0;
  filter: drop-shadow(-16px 22px 34px rgba(11, 24, 54, 0.5));
}

.hero-copy .tape {
  margin-bottom: 1.3rem;
}

.hero-lead {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 30rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.3rem;
  margin-top: 2.2rem;
}

/* ---------- shared section rhythm ---------- */

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section-tight {
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

/* ---------- services ledger ---------- */

.services {
  border-top: 1px solid var(--hairline);
}

.services-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.services-intro {
  position: sticky;
  top: 110px;
}

.services-intro p {
  margin-top: 1.2rem;
  color: var(--muted);
  max-width: 26rem;
}

.offer {
  padding-block: 2rem;
}

.offer + .offer {
  border-top: 1px solid var(--hairline);
}

.offer-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.offer-price {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--glow-blue);
}

.offer-urgency {
  margin-top: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--tape);
}

.offer-desc {
  margin-top: 0.6rem;
  color: var(--muted);
  max-width: 34rem;
}

.offer ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.offer li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.offer li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.65em;
  height: 0.35em;
  border-left: 2.5px solid var(--accent-bright);
  border-bottom: 2.5px solid var(--accent-bright);
  transform: rotate(-45deg);
}

.offer-featured {
  position: relative;
  background: var(--panel-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(141, 176, 245, 0.28);
  border-radius: var(--radius-md);
  padding: 2.2rem 2rem 2rem;
  box-shadow: 0 0 60px rgba(59, 112, 224, 0.18);
  margin-bottom: 2rem;
}

.offer-featured + .offer {
  border-top: 0;
}

.offer-featured .tape {
  position: absolute;
  top: -14px;
  left: 22px;
}

.offer-catch {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.offer-catch strong {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- sound familiar ---------- */

.familiar {
  border-block: 1px solid var(--hairline);
  background: radial-gradient(50% 70% at 50% 0%, rgba(59, 112, 224, 0.1), transparent 70%);
}

.familiar-list {
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.familiar-list li {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.28;
  padding-left: 2.3rem;
  position: relative;
}

.familiar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 1rem;
  height: 0.55rem;
  border-left: 4px solid var(--accent-bright);
  border-bottom: 4px solid var(--accent-bright);
  transform: rotate(-45deg);
  filter: drop-shadow(0 0 8px rgba(59, 112, 224, 0.6));
}

.familiar-close {
  margin-top: 2.1rem;
  color: var(--muted);
  font-size: 1.03rem;
}

/* ---------- proof ---------- */

.proof {
  position: relative;
}

.proof-panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  overflow: clip;
}

.proof-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 70% at 85% 10%, rgba(59, 112, 224, 0.18), transparent 70%);
  pointer-events: none;
}

.proof-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.proof-copy p {
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 1.07rem;
  max-width: 36rem;
}

.proof-copy p strong {
  color: var(--ink);
  font-weight: 600;
}

.proof-links {
  margin-top: 1.8rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.proof-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent-bright);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.proof-link:hover {
  color: var(--glow-blue);
}

.proof-note {
  margin-top: 1.4rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.metric-stack {
  position: relative;
  display: grid;
  gap: 1.2rem;
}

.metric {
  background: rgba(10, 12, 16, 0.5);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  padding: 1.8rem 2rem;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--glow-blue);
  text-shadow: 0 0 30px rgba(59, 112, 224, 0.45);
}

.metric span {
  display: block;
  margin-top: 0.6rem;
  color: var(--muted);
}

.proof-chart {
  position: relative;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
}

.proof-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.proof-chart-head h3 {
  font-size: 1.15rem;
}

.proof-chart-head p {
  color: var(--muted);
  font-size: 0.95rem;
}

.proof-chart svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1.2rem;
}

.proof-chart-source {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- feet heart case study ---------- */

.case-study {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
}

.case-study > * {
  min-width: 0;
}

.case-shot {
  margin: 0;
}

.case-shot img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.case-shot figcaption {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.case-body h3 {
  font-size: 1.15rem;
}

.case-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.case-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.5;
}

.case-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.65em;
  height: 0.35em;
  border-left: 2.5px solid var(--accent-bright);
  border-bottom: 2.5px solid var(--accent-bright);
  transform: rotate(-45deg);
}

.case-stats {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
}

.case-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--glow-blue);
  white-space: nowrap;
}

.case-stats span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.case-window {
  margin-top: 1.3rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.about-copy p + p {
  margin-top: 1.1rem;
}

.about-links {
  margin-top: 1.6rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.97rem;
}

.about-links span {
  color: var(--muted);
}

/* ---------- contact ---------- */

.contact-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(59, 112, 224, 0.16), rgba(59, 112, 224, 0.04) 60%), var(--panel);
  border: 1px solid rgba(141, 176, 245, 0.3);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  box-shadow: 0 0 80px rgba(59, 112, 224, 0.2);
  overflow: clip;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 70% at 50% 0%, rgba(59, 112, 224, 0.2), transparent 72%);
  pointer-events: none;
}

.contact-panel > * {
  position: relative;
}

.contact-panel h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.contact-panel > p {
  margin: 1.3rem auto 0;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.contact-panel .btn {
  margin-top: 2rem;
}

.contact-fallback {
  margin-top: 1.4rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.contact-fallback a {
  font-weight: 600;
  color: var(--ink);
}

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

.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--hairline);
  margin-top: 1rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.94rem;
  color: var(--muted);
}

.footer-inner a {
  color: var(--ink-soft);
}

/* ---------- scroll reveal (JS adds .js; reduced-motion never gets it) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.js .reveal-late {
  transition-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-split,
  .services-grid,
  .proof-grid,
  .about-grid,
  .case-study {
    grid-template-columns: 1fr;
  }

  .services-intro {
    position: static;
  }

  .hero-split {
    min-height: 0;
  }

  .hero-panel {
    order: -1;
    min-height: 58vw;
  }

  .hero-panel img {
    width: min(52vw, 280px);
  }

  .big-word {
    font-size: clamp(4rem, 17vw, 6rem);
  }

  .hero-copy {
    padding-inline: 1.1rem;
    padding-block: 2.5rem 3rem;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 16px;
  }

  .shell,
  .shell-narrow {
    width: calc(100% - 2.2rem);
  }

  .offer-featured {
    padding: 1.8rem 1.4rem 1.4rem;
  }

  .hero-actions {
    gap: 1rem;
  }

  .btn,
  .ghost {
    width: 100%;
    justify-content: center;
  }

  .btn-small {
    width: auto;
  }
}
