:root {
  --ink: #111318;
  --body: #4A4D57;
  --muted: #5A5D67;
  --line: #E6E7EC;
  --soft: #F5F6F9;
  --tint: #EEF1FF;
  --accent: #2547F4;
  --white: #FFFFFF;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --text: 'Instrument Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--text);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--ink); }
a:hover { color: var(--accent); }
p { margin: 0; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }

.wrap { max-width: 1200px; width: 100%; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Nav */
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; text-decoration: none; color: var(--ink); }
.logo span { color: var(--accent); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.btn { display: inline-block; text-decoration: none; padding: 14px 24px; border-radius: 999px; font-weight: 600; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { color: var(--white); background: #2a2d36; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { color: var(--white); background: #1a37d4; }
.btn-outline { border: 1.5px solid var(--ink); padding: 12.5px 22.5px; }
.nav-links .btn { padding: 11px 20px; }
.nav-links .btn[aria-current="page"] { color: var(--white); }

/* Main */
main { flex: 1 1 auto; display: flex; }
main > .wrap { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-top: 40px; padding-bottom: 36px; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: 19px; color: var(--body); max-width: 580px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.head-row h1 { font-size: clamp(36px, 4.6vw, 60px); max-width: 640px; }
.head-row p { max-width: 440px; color: var(--body); font-size: 17px; }
.head-row p.eyebrow { max-width: none; color: var(--accent); font-size: 13px; margin-bottom: 10px; }

/* Home */
.hero h1 { font-size: clamp(38px, 4.8vw, 64px); line-height: 1; max-width: 980px; margin-top: 14px; }
.hero .lede { margin-top: 18px; max-width: 720px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* Cards */
.row { display: flex; flex-wrap: wrap; gap: 18px; }
.card { flex: 1 1 300px; min-width: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.card.placeholder { border: 1.5px dashed #C9CBD3; }
.card-media { height: 170px; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.card-media.brand { background: var(--accent); color: var(--white); font-family: var(--display); font-weight: 800; font-size: 42px; letter-spacing: -0.03em; }
.card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 8px; }
.card-body .tag { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.card-body h2 { font-size: 24px; letter-spacing: -0.02em; }
.card-body p { color: var(--body); font-size: 15px; }
.card-body a { font-weight: 600; font-size: 15px; margin-top: 4px; }


/* Home: two lanes */
.lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lane { display: flex; flex-direction: column; gap: 12px; border-radius: 24px; padding: 28px 32px; text-decoration: none; color: var(--white); background: var(--ink); transition: transform .15s ease; }
.lane:hover { color: var(--white); }
.lane li { color: #D5D7DE; }
.lane li::before { content: "→ "; color: #8FA2FF; }
.lane-tag { color: #8FA2FF; }
.lane .go { color: #8FA2FF; }
.lane:hover { transform: translateY(-2px); }
.lane-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8FA2FF; }
.lane h2 { font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -0.03em; }
.lane ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.lane-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(127,127,140,.3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 15px; }
.lane-foot b { font-family: var(--display); font-size: 20px; }
.lane .go { font-weight: 600; }
.who { font-size: 15px; color: var(--muted); max-width: 900px; }

/* Services */
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.svc li { background: var(--soft); border-radius: 16px; padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; }
.svc strong { font-size: 16px; }
.svc li { padding: 0; }
.svc li > a { display: grid; grid-template-columns: 1fr auto; column-gap: 8px; align-content: start; row-gap: 4px; height: 100%; padding: 14px 18px; border-radius: 16px; color: var(--ink); text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.svc li > a:hover { color: var(--ink); box-shadow: 0 0 0 2px var(--accent) inset; transform: translateY(-1px); }
.svc li > a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.svc li span { grid-column: 1 / -1; }
.svc .see { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 2px; }
.svc span { font-size: 14px; color: var(--body); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tier { border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; }
.tier.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tier .name { font-weight: 600; font-size: 16px; }
.tier .sub { color: var(--muted); font-size: 14px; }
.tier.dark .sub { color: #A9ACB6; }
.tier .price { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; margin-top: 8px; }
.tier .price small { font-size: 16px; font-weight: 600; }
.process { font-size: 15px; color: var(--body); }
.process b { color: var(--ink); }

/* Training */
.train { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.train-main { display: flex; flex-direction: column; gap: 16px; }
.for { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.for div { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.for strong, .learn strong { font-size: 16px; }
.for span, .learn span { font-size: 14px; color: var(--body); }
h2.mini { font-family: var(--text); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.learn { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; counter-reset: l; }
.learn li { counter-increment: l; display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; background: var(--soft); border-radius: 16px; padding: 10px 18px; }
.learn li::before { content: "0" counter(l); grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--accent); }
.train-side { display: flex; flex-direction: column; gap: 12px; }
.rate-card { background: var(--ink); color: var(--white); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.rate-card .name, .consult .name { font-weight: 600; font-size: 16px; }
.rates { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; font-size: 15px; color: #D5D7DE; }
.rates b { font-family: var(--display); font-weight: 800; font-size: 32px; color: var(--white); }
.rate-card .note { font-size: 14px; color: #D5D7DE; }
.rate-card .note b { color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); padding: 11px 20px; font-size: 15px; margin-top: 4px; }
.btn-white:hover { color: var(--accent); }
.consult { background: var(--tint); border-radius: 20px; padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.consult p { font-size: 14px; color: var(--body); }
.consult .name { color: var(--ink); }
.consult .btn { padding: 11px 20px; font-size: 15px; }

.bundles { list-style: none; margin: 2px 0 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 6px; }
.bundles li { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: rgba(255,255,255,0.08); border-radius: 12px; padding: 8px 12px; font-size: 14px; color: #D5D7DE; }
.bundles li div { display: flex; flex-direction: column; }
.bundles b { color: var(--white); }
.bundles em { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--white); }
.bundles small { color: #8FA2FF; font-weight: 600; font-size: 13px; }
.train-main .consult { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.train-main .consult > div { flex: 1 1 260px; }
.org { font-size: 15px; color: var(--body); }
.org a { font-weight: 600; color: var(--accent); }

/* About */
.label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts > div { display: flex; flex-direction: column; gap: 4px; }
.facts b { color: var(--ink); font-weight: 600; }
.facts > div { background: var(--soft); border-radius: 16px; padding: 18px 20px; }
.facts p:not(.label) { color: var(--body); font-size: 15px; }
.founders { display: flex; flex-direction: column; gap: 10px; }
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.founder { border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.founder h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: 0.02em; }
.founder h3 span { font-family: var(--text); font-weight: 600; font-size: 15px; letter-spacing: 0; color: var(--accent); }
.founder p { font-size: 14.5px; line-height: 1.5; color: var(--body); }
.facts p:not(.label) { font-size: 14px; }
.facts > div { padding: 14px 18px; }
.head-copy { max-width: 460px; display: flex; flex-direction: column; gap: 10px; }
.head-row .head-copy p { max-width: none; }
.head-row p.taught { font-size: 15px; color: var(--ink); font-weight: 500; border-left: 3px solid var(--accent); padding-left: 12px; }
.svc .svc-lead { background: var(--tint); }
.svc .svc-lead strong { color: var(--accent); }
.process a { font-weight: 600; color: var(--accent); }

/* Contact */
body.contact { background: var(--accent); color: var(--white); }
body.contact a { color: var(--white); }
body.contact .site-header, body.contact .site-footer { border-color: #4766F6; }
body.contact .logo { color: var(--white); }
body.contact .logo span { color: var(--ink); }
body.contact .nav-links .btn { background: var(--white); color: var(--ink); }
body.contact .site-footer { color: #DCE3FF; }
.contact-grid { flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 56px !important; }
.contact-copy { flex: 1 1 380px; min-width: 0; }
.contact-copy h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 0.98; margin-bottom: 20px; }
.contact-copy p { color: #E4E8FF; font-size: 18px; max-width: 460px; }
.contact-copy .email { display: inline-block; margin-top: 24px; font-weight: 600; font-size: 17px; }
.form-card { flex: 1 1 420px; min-width: 0; background: var(--white); color: var(--ink); border-radius: 24px; padding: 32px; }
form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
form > label { flex: 0 0 auto; }
.field-row label { flex: 1 1 180px; }
label {  min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
input, textarea, select { font: inherit; font-weight: 400; color: var(--ink); border: 1px solid #C9CBD3; border-radius: 12px; padding: 12px 14px; background: var(--white); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
textarea { resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.site-footer a { color: inherit; }

@media (max-width: 1000px) {
  .svc { grid-template-columns: repeat(2, 1fr); }
  .train { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .lanes, .tiers, .facts, .founder-grid, .for { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { gap: 14px; font-size: 14px; }
  main > .wrap { padding-top: 28px; }
  .svc { grid-template-columns: 1fr; }
  .lane { padding: 22px 22px; }
}

.svc .svc-cta > a { background: var(--accent); color: var(--white); }
.svc .svc-cta > a:hover { color: var(--white); box-shadow: none; background: #1a37d4; }
.svc .svc-cta span { color: #E4E8FF; }
.svc .svc-cta .see { color: var(--white); }

/* Per-service price */
.svc .from { font-style: normal; font-size: 13px; font-weight: 600; color: var(--accent); }
.card-cta { text-decoration: none; color: var(--ink); border: 1.5px dashed var(--accent); }
.card-cta:hover { color: var(--ink); background: var(--tint); }
.card-cta .card-media { background: var(--tint); color: var(--accent); font-family: var(--display); font-weight: 800; font-size: 28px; }
.card-cta .go { font-weight: 600; font-size: 15px; color: var(--accent); margin-top: 4px; }

/* Service packages (opened by #pkg-* links, no JS) */
.pkg { display: none; position: fixed; inset: 0; z-index: 20; align-items: center; justify-content: center; padding: 16px; }
.pkg:target { display: flex; }
.pkg-scrim { position: absolute; inset: 0; background: rgba(17, 19, 24, 0.6); }
.pkg-card { position: relative; background: var(--white); color: var(--ink); border-radius: 24px; width: 100%; max-width: 880px; max-height: calc(100vh - 32px); overflow: auto; padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pkg-card h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; }
.pkg-close { position: absolute; top: 18px; right: 22px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); }
.pkg-close:hover { color: var(--accent); }
.pkg-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.pkg-cols section { background: var(--soft); border-radius: 18px; padding: 18px 20px; }
.pkg-cols h3 { margin: 0 0 10px; font-size: 17px; }
.pkg-cols h3 small { font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 6px; }
.pkg-cols ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pkg-cols li { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; background: var(--white); border-radius: 12px; padding: 10px 14px; }
.pkg-cols li b { font-size: 15px; }
.pkg-cols li em { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--accent); }
.pkg-cols li span { grid-column: 1 / -1; font-size: 14px; color: var(--body); }
@media (max-width: 760px) {
  .pkg-cols { grid-template-columns: 1fr; }
  .pkg-card { padding: 22px 20px; }
}
