/* VictoryLap Digital Health Clinic — design system
   Brutalist/editorial: near-black + bone + acid lime, VictoryLap blue accent. */

:root {
  --black: #0b0b0c;
  --black-2: #131315;
  --bone: #f2ede1;
  --bone-dim: #cfc8b8;
  --lime: #d6ff38;
  --blue: #2456ff;
  --blue-deep: #123aC8;
  --red: #e0392b;
  --line: rgba(242, 237, 225, 0.14);
  --line-dark: rgba(11, 11, 12, 0.14);
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--bone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

::selection { background: var(--lime); color: var(--black); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  font-weight: 400;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}

.eyebrow.blue { color: var(--blue); }

.lede { font-size: clamp(17px, 2vw, 21px); color: var(--bone-dim); max-width: 640px; }

.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }

.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 800px; }
.section-head h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.95;
  margin-bottom: 18px;
}
.section-head h2 em { font-style: normal; color: var(--lime); }
.section-head h2 em.blue { color: var(--blue); }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--blue); color: #fff;
  font-family: var(--font-display); font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.02em;
}
.brand-name { font-family: var(--font-display); text-transform: uppercase; font-size: 17px; letter-spacing: 0.04em; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 9px; letter-spacing: 0.3em; color: var(--bone-dim); font-weight: 600; }

.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-dim);
}
.nav-links a:hover { color: var(--lime); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--black); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--bone); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-sm { padding: 10px 20px; font-size: 12px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--bone); margin: 6px 0; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero { padding: clamp(60px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(52px, 8.5vw, 118px); line-height: 0.92; margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lede { margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { border-radius: 18px; border: 1px solid var(--line); }
.hero-tag {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--lime); color: var(--black);
  font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 999px;
}

/* ---------- Lap strip ---------- */
.lap-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--black-2); }
.lap-strip-inner {
  display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: baseline; justify-content: center;
  padding: 30px 24px; text-align: center;
}
.lap-strip .big { font-family: var(--font-display); font-size: clamp(28px, 4vw, 46px); text-transform: uppercase; }
.lap-strip .big em { font-style: normal; color: var(--blue); }
.lap-strip .sep { color: var(--bone-dim); font-size: 22px; }

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--line); border-radius: 18px; padding: 34px 30px;
  background: var(--black-2);
}
.card .num { font-family: var(--font-display); color: var(--lime); font-size: 15px; letter-spacing: 0.2em; margin-bottom: 16px; }
.card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 26px; margin-bottom: 12px; line-height: 1; }
.card p { color: var(--bone-dim); font-size: 15px; }

/* ---------- Method ---------- */
.method-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.lap-diagram { width: 100%; max-width: 420px; margin: 0 auto; display: block; }
.week-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0; }
.week {
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 12px; text-align: center;
}
.week.assess { border-color: var(--lime); background: rgba(214, 255, 56, 0.06); }
.week .w { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-dim); font-weight: 700; }
.week h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 19px; margin-top: 6px; }
.check-list { list-style: none; margin-top: 8px; }
.check-list li { padding: 10px 0 10px 30px; position: relative; color: var(--bone-dim); border-bottom: 1px solid var(--line); font-size: 15px; }
.check-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--lime); font-weight: 800; }
.check-list li strong { color: var(--bone); }

/* ---------- Twin ---------- */
.twin { background: var(--bone); color: var(--black); }
.twin .eyebrow { color: var(--blue); }
.twin .section-head h2 em { color: var(--blue); }
.twin .lede { color: #3c3c3e; }
.twin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-top: 40px; }
.twin-panel { border: 1px solid var(--line-dark); border-radius: 18px; padding: 34px 30px; background: #fff; }
.twin-panel h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; margin-bottom: 10px; }
.twin-panel h3 span { color: var(--blue); }
.twin-panel p { color: #3c3c3e; font-size: 15px; }
.twin-flow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; align-items: center; }
.twin-flow .step {
  border: 2px solid var(--black); border-radius: 999px; padding: 10px 20px;
  font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
}
.twin-flow .step.fill { background: var(--black); color: var(--bone); }
.twin-flow .arrow { font-weight: 800; color: var(--blue); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pillar {
  border-radius: 18px; padding: 40px 34px; min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background-size: cover; background-position: center; position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.pillar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,11,12,0.92), rgba(11,11,12,0.25)); }
.pillar > * { position: relative; z-index: 1; }
.pillar h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(26px, 3.4vw, 40px); line-height: 0.95; margin-bottom: 12px; }
.pillar p { color: var(--bone-dim); font-size: 15px; max-width: 420px; }

/* ---------- Portals ---------- */
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.portal {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  background: var(--black-2); display: flex; flex-direction: column;
}
.portal img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.portal-body { padding: 32px 30px 36px; }
.portal-body .kicker { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 800; margin-bottom: 12px; }
.portal.men .kicker { color: var(--blue); }
.portal.women .kicker { color: var(--red); }
.portal-body h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(30px, 4vw, 48px); line-height: 0.95; margin-bottom: 14px; }
.portal-body h3 em { font-style: normal; }
.portal.men h3 em { color: var(--blue); }
.portal.women h3 em { color: var(--red); }
.portal-body p { color: var(--bone-dim); font-size: 15px; margin-bottom: 22px; }

/* ---------- Labs / Tourism ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split img { border-radius: 18px; border: 1px solid var(--line); }
.split.flip > :first-child { order: 2; }
.split.flip > :last-child { order: 1; }
.split h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(34px, 5vw, 64px); line-height: 0.95; margin-bottom: 18px; }
.split h2 em { font-style: normal; color: var(--blue); }
.tourism { background: var(--black-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.founding-note {
  margin-top: 26px; border: 1px dashed var(--line); border-radius: 14px; padding: 20px 22px;
  font-size: 14px; color: var(--bone-dim);
}
.founding-note strong { color: var(--lime); }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder-grid img { border-radius: 18px; border: 1px solid var(--line); }
.founder-quote {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(24px, 3.4vw, 40px); line-height: 1.05; margin-bottom: 22px;
}
.founder-quote em { font-style: normal; color: var(--lime); }
.founder-grid p { color: var(--bone-dim); margin-bottom: 16px; font-size: 16px; }
.founder-name { font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; margin-top: 24px; }
.founder-name span { color: var(--bone-dim); font-weight: 400; letter-spacing: 0.06em; text-transform: none; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 36px 32px;
  background: var(--black-2); display: flex; flex-direction: column;
}
.price-card.featured { background: var(--bone); color: var(--black); border-color: var(--bone); transform: translateY(-12px); }
.price-card .tag {
  font-size: 11px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 14px;
}
.price-card.featured .tag { color: var(--blue); }
.price-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 30px; margin-bottom: 6px; }
.price-card .amount { font-family: var(--font-display); font-size: 54px; margin: 10px 0 2px; }
.price-card .amount small { font-size: 18px; font-family: var(--font-body); font-weight: 600; }
.price-card .term { font-size: 13px; color: var(--bone-dim); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.price-card.featured .term { color: #55554f; }
.price-card ul { list-style: none; margin-bottom: 28px; flex: 1; }
.price-card ul li { padding: 9px 0 9px 28px; position: relative; font-size: 14.5px; color: var(--bone-dim); border-bottom: 1px solid var(--line); }
.price-card.featured ul li { color: #3c3c3e; border-bottom-color: var(--line-dark); }
.price-card ul li::before { content: "✓"; position: absolute; left: 4px; color: var(--lime); font-weight: 800; }
.price-card.featured ul li::before { color: var(--blue); }
.price-card .btn { justify-content: center; }
.pricing-fine { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 26px; color: var(--bone-dim); font-size: 14px; max-width: 860px; }
.pricing-fine h4 { color: var(--bone); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; margin-bottom: 12px; }
.pricing-fine p { margin-bottom: 10px; }

/* ---------- Forms ---------- */
.apply-box {
  border: 1px solid var(--line); border-radius: 22px; background: var(--black-2);
  padding: clamp(30px, 5vw, 56px); max-width: 760px; margin: 0 auto;
}
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--black); border: 1px solid var(--line); border-radius: 12px;
  color: var(--bone); font-family: var(--font-body); font-size: 16px; padding: 15px 17px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--bone-dim); margin-top: 8px; }
.form-note { font-size: 13px; color: var(--bone-dim); margin: 22px 0; }
.form-status { display: none; border-radius: 12px; padding: 18px 20px; margin-top: 20px; font-size: 15px; }
.form-status.success { display: block; background: rgba(214, 255, 56, 0.1); border: 1px solid var(--lime); color: var(--lime); }
.form-status.error { display: block; background: rgba(224, 57, 43, 0.1); border: 1px solid var(--red); color: #ff8a7a; }

/* ---------- Dispatch ---------- */
.dispatch { background: var(--bone); color: var(--black); border-radius: 26px; overflow: hidden; }
.dispatch-grid { display: grid; grid-template-columns: 1fr 1fr; }
.dispatch-body { padding: clamp(36px, 5vw, 64px); }
.dispatch-body .eyebrow { color: var(--red); }
.dispatch-body h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(34px, 5vw, 60px); line-height: 0.95; margin-bottom: 16px; }
.dispatch-body p { color: #3c3c3e; margin-bottom: 24px; }
.dispatch img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.dispatch .field input { background: #fff; border-color: var(--line-dark); color: var(--black); }
.dispatch-form { display: flex; gap: 10px; }
.dispatch-form input { flex: 1; border: 1px solid var(--line-dark); border-radius: 999px; padding: 14px 20px; font-size: 15px; font-family: var(--font-body); }
.dispatch-form .btn { white-space: nowrap; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 60px 0 36px; background: var(--black); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; margin-bottom: 44px; }
.footer-brand p { color: var(--bone-dim); font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h5 { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 14px; }
.footer-nav a { display: block; color: var(--bone); text-decoration: none; font-size: 14px; padding: 5px 0; }
.footer-nav a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--bone-dim); }
.footer-bottom a { color: var(--bone-dim); }

/* ---------- Hub page ---------- */
.hub-hero { text-align: center; max-width: 820px; margin: 0 auto; }
.hub-hero h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(48px, 8vw, 100px); line-height: 0.92; margin-bottom: 22px; }
.hub-hero h1 em { font-style: normal; color: var(--blue); }
.hub-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 48px 0; text-align: left; }
.hub-access { max-width: 560px; margin: 0 auto; text-align: center; }

/* ---------- Legal ---------- */
.legal { max-width: 800px; margin: 0 auto; }
.legal h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(38px, 6vw, 64px); margin-bottom: 12px; }
.legal .updated { color: var(--bone-dim); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 20px; margin: 34px 0 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.legal p, .legal li { color: var(--bone-dim); font-size: 15.5px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal strong { color: var(--bone); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .method-grid, .twin-grid, .split, .founder-grid { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 1; }
  .split.flip > :last-child { order: 2; }
  .cards-3, .pricing-grid, .pillars, .portal-grid, .hub-features { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .dispatch-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--black); flex-direction: column; align-items: stretch;
    padding: 12px 24px 24px; border-bottom: 1px solid var(--line); gap: 0;
  }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-links .btn { margin-top: 14px; justify-content: center; }
  .nav-open .nav-links { display: flex; }
  .hamburger { display: block; }
  .nav-open .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .hamburger span:nth-child(2) { opacity: 0; }
  .nav-open .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .week-row { grid-template-columns: repeat(2, 1fr); }
  .dispatch-form { flex-direction: column; }
  .dispatch-form .btn { justify-content: center; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .lap-strip-inner { gap: 8px 20px; }
}
