:root {
  --bg: #060910;
  --bg-elevated: #0c1119;
  --bg-card: #0e1420;
  --border: rgba(94, 234, 212, 0.12);
  --border-strong: rgba(94, 234, 212, 0.28);
  --teal: #5eead4;
  --teal-bright: #7ffce0;
  --teal-dim: #2dd4bf;
  --blue-deep: #1e3a5f;
  --text: #e6f1ee;
  --text-dim: #93a3ab;
  --text-faint: #7a8a93; /* was #5d6b73 — failed WCAG AA on the dark bg */
  --radius: 14px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 40%, transparent 100%);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.accent { color: var(--teal); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dim);
  margin-bottom: 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 9, 16, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(1.7) contrast(1.25) drop-shadow(0 0 6px rgba(94, 234, 212, 0.45));
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--teal);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

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

.nav-cta { display: inline-flex; }

/* hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--teal);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6, 9, 16, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav a { padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: none; }
  .nav-open .nav { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}
@media (max-width: 860px) and (min-width: 480px) {
  .nav-cta { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  font-family: var(--font-body);
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-dim), var(--teal-bright));
  color: #04140f;
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 24px 2px rgba(94, 234, 212, 0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover { border-color: var(--teal-dim); color: var(--teal); }

.btn-outline {
  border-color: var(--border-strong);
  color: var(--teal);
}

.btn-outline:hover { background: rgba(94, 234, 212, 0.08); }

.btn-lg { padding: 16px 36px; font-size: 1.02rem; }

/* Hero */
.hero {
  position: relative;
  padding: 140px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(94, 234, 212, 0.16), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

.hero-inner { max-width: 820px; margin: 0 auto; }

.hero-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto 4px;
  display: block;
  filter: drop-shadow(0 0 30px rgba(94, 234, 212, 0.35));
}

.hero-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  color: var(--teal);
  text-align: center;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

.hero-assurance {
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--text-faint);
}

.hero-sub {
  font-size: 1.18rem;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2.1rem; }
  .hero { padding: 100px 0 70px; }
}

/* Sections */
.section { padding: 100px 0; position: relative; }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 { font-size: 2.1rem; line-height: 1.25; }

.lead { font-size: 1.08rem; color: var(--text-dim); max-width: 680px; }
.lead.center { margin: 32px auto 0; text-align: center; }
.lead.emphasis { color: var(--text); font-weight: 500; margin-top: 36px; }

/* Problem → Fixed outcome cards */
.outcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 40px 0 8px;
}

.outcome-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.outcome-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.outcome-art {
  margin: 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.outcome-art::after,
.service-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 42%);
  pointer-events: none;
  z-index: 3;
}

/* photo figures: real image + navy duotone + tint + glowing SVG overlay */
.outcome-art.photo img,
.service-art.photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Reserve image space before load — kills layout shift (CLS / Core Web Vitals) */
.outcome-art.photo img { aspect-ratio: 4 / 3; }
.service-art.photo img { aspect-ratio: 16 / 9; }

.art-duo {
  position: absolute;
  inset: 0;
  background: var(--blue-deep, #1e3a5f);
  mix-blend-mode: color;
  opacity: 0.5;
}

.art-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(9, 13, 20, 0.68), rgba(9, 13, 20, 0.26) 45%, rgba(45, 212, 191, 0.14));
}

.art-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.outcome-art svg,
.outcome-art img {
  display: block;
  width: 100%;
  height: auto;
}

.outcome-copy { padding: 24px 26px 28px; }

.outcome-before {
  font-size: 0.92rem;
  color: var(--text-dim);
  border-left: 2px solid rgba(94, 234, 212, 0.55);
  padding-left: 12px;
  margin-bottom: 14px;
}

.outcome-copy h3 { font-size: 1.28rem; margin-bottom: 10px; color: var(--teal); }

.outcome-copy p { color: var(--text-dim); font-size: 0.96rem; }

@media (max-width: 860px) {
  .outcome-grid { grid-template-columns: 1fr; }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}

.about-photo { position: relative; }

.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  position: relative;
  z-index: 1;
}

.about-photo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.18), transparent 70%);
  z-index: 0;
}

.about-copy h2 { font-size: 2rem; margin-bottom: 18px; }
.about-copy p { color: var(--text-dim); margin-bottom: 16px; }
.about-origin-title {
  border-left: 2px solid var(--teal-dim);
  padding-left: 18px;
  margin-bottom: 0;
  padding-bottom: 4px;
  color: var(--teal);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.about-origin {
  border-left: 2px solid var(--teal-dim);
  padding-left: 18px;
  font-size: 0.97rem;
  line-height: 1.75;
}
.founder-line { color: var(--text) !important; font-style: italic; }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; margin: 0 auto; }
}

/* Services */
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.service-cards.three { grid-template-columns: repeat(3, 1fr); }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-art {
  margin: 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.service-art svg,
.service-art img {
  display: block;
  width: 100%;
  height: auto;
}

.service-body {
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card.highlight {
  border-color: var(--border-strong);
  background: linear-gradient(160deg, rgba(94, 234, 212, 0.05), var(--bg-card));
  box-shadow: 0 0 40px -10px rgba(94, 234, 212, 0.15);
}

.service-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dim);
  margin-bottom: 12px;
}

.service-card h3 { font-size: 1.5rem; margin-bottom: 10px; }

.service-tag { color: var(--text); font-weight: 500; margin-bottom: 18px; }

.service-card p { color: var(--text-dim); margin-bottom: 16px; }

.service-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-dim);
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal-dim);
  transform: rotate(45deg);
}

.service-note { font-size: 0.9rem; color: var(--text-faint); }

.guarantee-echo {
  margin: 14px 0 0 !important;
  font-size: 0.82rem;
  color: var(--teal-dim) !important;
}

.service-footer {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.service-price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 1024px) {
  .service-cards.three { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .service-cards { grid-template-columns: 1fr; }
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  border-top: 1px solid var(--border-strong);
  padding-top: 20px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal-dim);
  margin-bottom: 14px;
}

.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 0.94rem; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
}

/* Who it's for */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 8px;
}

.who-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.who-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--teal); }
.who-card p { color: var(--text-dim); font-size: 0.9rem; }

@media (max-width: 860px) {
  .who-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .who-grid { grid-template-columns: 1fr; }
}

/* Proof / trust band */
.proof { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.proof-pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color .2s ease, transform .2s ease;
}
.proof-pillar:hover { border-color: var(--border-strong); transform: translateY(-3px); }

.proof-check { width: 34px; height: 34px; margin-bottom: 16px; display: block; }
.proof-pillar h3 { font-size: 1.08rem; margin-bottom: 10px; color: var(--teal); }
.proof-pillar p { color: var(--text-dim); font-size: 0.93rem; line-height: 1.55; }

.proof-founder {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.98rem;
  margin: 36px auto 0;
  max-width: 620px;
}
.proof-founder strong { color: var(--text); }

@media (max-width: 860px) { .proof-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .proof-grid { grid-template-columns: 1fr; } }

/* Guarantee */
.guarantee {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guarantee-inner { max-width: 680px; text-align: center; margin: 0 auto; }
.guarantee-inner h2 { font-size: 1.9rem; margin-bottom: 16px; }
.guarantee-inner p { color: var(--text-dim); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-list details[open] { border-color: var(--border-strong); }

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  position: relative;
  padding-right: 48px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 400;
}

.faq-list details[open] summary::after { content: '–'; }

.faq-list details p {
  padding: 0 22px 20px;
  color: var(--text-dim);
  font-size: 0.97rem;
}

/* Contact */
.contact { text-align: center; }
.contact-inner { max-width: 600px; margin: 0 auto; }
.contact-inner h2 { font-size: 2.2rem; margin-bottom: 16px; }
.contact-inner p { color: var(--text-dim); margin-bottom: 36px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal);
  font-size: 0.92rem;
}

.footer-mark { width: 22px; height: 22px; object-fit: contain; }

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-links a:hover { color: var(--teal); }

.footer-note {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-faint);
  max-width: 560px;
}

/* ── Assessment intake page ─────────────────────────────── */
.intake { padding-top: 72px; }
.intake-inner { max-width: 720px; }

/* one clean panel instead of fields floating on the background grid */
.intake-form {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.7);
}

.form-section { display: flex; flex-direction: column; gap: 16px; }
.form-section + .form-section { border-top: 1px solid var(--border); padding-top: 30px; }
.form-legend {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dim);
  font-weight: 600;
}
.form-hint { color: var(--text-faint); letter-spacing: 0.02em; text-transform: none; font-weight: 400; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.intake-form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.86rem; color: var(--text-dim); font-weight: 500; }
.intake-form label.full { grid-column: 1 / -1; }

.intake-form input[type="text"],
.intake-form input[type="email"],
.intake-form input[type="tel"],
.intake-form select,
.intake-form textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 13px 15px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.intake-form input::placeholder, .intake-form textarea::placeholder { color: var(--text-faint); }
.intake-form input:focus, .intake-form select:focus, .intake-form textarea:focus {
  outline: none;
  border-color: var(--teal-dim);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.16);
  background: var(--bg);
}
.intake-form textarea { resize: vertical; min-height: 96px; }

/* custom caret so native selects stop looking choppy */
.intake-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* wildcard 'Other' reveals */
.reveal[hidden] { display: none; }
.reveal { animation: revealIn 0.22s ease; }
@keyframes revealIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.pain-set { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px 20px; margin: 0; }
.sr-legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; }
.pain-grid label { flex-direction: row; align-items: center; gap: 10px; font-size: 0.94rem; color: var(--text); cursor: pointer; font-weight: 400; }
.pain-grid input[type="checkbox"] { accent-color: var(--teal-dim); width: 17px; height: 17px; flex-shrink: 0; }
.pain-set .reveal { margin-top: 14px; }

.intake-form .btn-lg { align-self: flex-start; }
.intake-fineprint { font-size: 0.82rem; color: var(--text-faint); font-style: italic; margin: 0; }
.intake-thanks { text-align: center; padding: 60px 0; }
.intake-thanks .btn { margin-top: 24px; }

@media (max-width: 640px) {
  .intake-form { padding: 26px 20px; border-radius: 16px; }
  .field-grid, .pain-grid { grid-template-columns: 1fr; }
}
