:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --tint: #F3F7F6;
  --text: #171717;
  --muted: #6b6b6b;
  --faint: #a3a3a3;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --dark: #0F2A28;
  --brand-teal: #1d6a7d;
  --brand-sage: #b4c4c0;
  --brand-red: #a83a3a;
  --heat: #F2A541;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
  --wrap: 1120px;
  --gutter: 24px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(15,118,110,.18); }
:focus-visible { outline: 2px solid var(--brand-teal); outline-offset: 2px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--dark); color: #fff; padding: 8px 12px; border-radius: 8px; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 999px;
  font-size: 15px; font-weight: 500; border: 1px solid transparent; cursor: pointer;
  transition: transform .16s var(--ease-out), background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-dark { background: var(--dark); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 1px 2px rgba(0,0,0,.2); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); }
.btn-light { background: #fff; color: var(--dark); }
.arrow { display: inline-block; transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover { background: #2a2a2a; }
  .btn-ghost:hover { border-color: rgba(0,0,0,.24); }
  .btn-light:hover { background: #ececec; }
  .btn:hover .arrow { transform: translateX(3px); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(251,251,250,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav, .brand, .nav-links a, .menu-bar { transition: background-color .35s ease, border-color .35s ease, color .35s ease, transform .3s var(--ease-out); }
.nav.is-over-stage { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.nav.is-over-stage .nav-links a { color: rgba(255,255,255,.78); }
.nav.is-over-stage .nav-links a.is-active, .nav.is-over-stage .nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav.is-over-stage .nav-cta { background: #fff; color: var(--dark); }
.nav.is-over-stage .menu-bar { background: #fff; }
.nav.is-over-stage.is-leaving, .nav.is-over-stage.menu-open { background: rgba(12,17,22,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-over-stage .mobile-menu a { border-color: rgba(255,255,255,.12); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.mark { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--muted); padding: 6px 10px; border-radius: 8px; transition: color .2s ease, background-color .2s ease; }
.nav-links a.is-active { color: var(--text); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--text); background: rgba(0,0,0,.04); } }
.menu-btn { display: none; }
.mobile-menu { display: none; }

/* ---------- Hero stage: two full-screen photos, crossfaded by scroll ---------- */
/* --p (0 to 1) is set by script.js from how far the stage has been scrolled. */
.stage { --p: 0; position: relative; height: 260vh; background: #0c1116; }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff; }
.stage-bg, .bg, .bg-shade { position: absolute; inset: 0; }
.bg { width: 100%; height: 100%; object-fit: cover; will-change: opacity, transform; }
.bg-one { transform: scale(calc(1.02 + var(--p) * 0.08)); }
.bg-two {
  object-position: 75% 50%;
  opacity: clamp(0, (var(--p) - 0.28) / 0.3, 1);
  transform: scale(calc(1.1 - var(--p) * 0.1));
}
.bg-shade {
  background:
    linear-gradient(90deg, rgba(8,12,16,.62) 0%, rgba(8,12,16,.32) 45%, rgba(8,12,16,0) 75%),
    linear-gradient(0deg, rgba(8,12,16,.45) 0%, rgba(8,12,16,0) 35%),
    linear-gradient(180deg, rgba(8,12,16,.35) 0%, rgba(8,12,16,0) 18%);
}
.stage-panels { position: relative; height: 100%; display: grid; align-items: center; }
.panel { grid-area: 1 / 1; max-width: 44rem; will-change: opacity, transform, filter; }
.panel-1 {
  --out: clamp(0, (var(--p) - 0.1) / 0.2, 1);
  opacity: calc(1 - var(--out));
  transform: translateY(calc(var(--out) * -28px));
  filter: blur(calc(var(--out) * 6px));
}
.panel-2 {
  --in: clamp(0, (var(--p) - 0.5) / 0.2, 1);
  opacity: var(--in);
  transform: translateY(calc((1 - var(--in)) * 28px));
  filter: blur(calc((1 - var(--in)) * 6px));
}
.stage[data-phase="1"] .panel-2, .stage[data-phase="2"] .panel-1 { pointer-events: none; }
.stage h1, .panel-title { font-size: clamp(40px, 6.4vw, 72px); margin: 20px 0 20px; color: #fff; }
.stage .lede { font-size: 18px; color: rgba(255,255,255,.82); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 12px 4px 10px; border-radius: 999px; }
.eyebrow-glass { color: rgba(255,255,255,.9); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #7cc4d4; }
.dot-heat { background: var(--heat); box-shadow: 0 0 0 3px rgba(232,85,43,.25); }
.btn-glass { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.24); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (hover: hover) and (pointer: fine) { .btn-glass:hover { background: rgba(255,255,255,.18); } }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; width: 22px; height: 36px; margin-left: -11px;
  border: 1.5px solid rgba(255,255,255,.5); border-radius: 999px;
  opacity: calc(1 - clamp(0, var(--p) / 0.08, 1));
}
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* Entrance: short, blur-to-sharp, staggered */
.reveal { animation: enter .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms + 60ms); }
@keyframes enter { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Scroll-in for later sections */
.in-view { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.in-view.is-visible { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: 48px; max-width: 36em; }
.kicker { font-size: 13px; font-weight: 500; color: var(--brand-teal); margin-bottom: 12px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
.muted { color: var(--muted); margin-top: 16px; max-width: 30em; }

/* Services */
.services { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.service-list { border-top: 1px solid var(--border); }
.service-list li { border-bottom: 1px solid var(--border); }
.service {
  width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 12px; text-align: left;
  padding: 22px 8px; background: none; border: 0; cursor: pointer; border-radius: 10px;
  transition: background-color .2s ease;
}
.service-num { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; padding-top: 3px; transition: color .2s ease; }
.service-title { display: block; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); transition: color .2s ease; }
.service-text {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  color: var(--muted); font-size: 15px;
  transition: grid-template-rows .4s var(--ease-out), opacity .3s ease, margin-top .4s var(--ease-out);
}
.service-text > * { overflow: hidden; }
.service[aria-pressed="true"] .service-title { color: var(--text); }
.service[aria-pressed="true"] .service-num { color: var(--brand-teal); }
.service[aria-pressed="true"] .service-text { grid-template-rows: 1fr; opacity: 1; margin-top: 6px; }
@media (hover: hover) and (pointer: fine) { .service:hover .service-title { color: var(--text); } }
.service-thumb { display: none; }
.service-media { position: sticky; top: 96px; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 427 / 515; background: var(--tint); box-shadow: var(--shadow); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .6s var(--ease-out), filter .35s ease; }
.service-media img.is-swapping { opacity: 0; transform: scale(1.03); filter: blur(6px); }

/* Who it's for: four role links under the services list */
.who { margin-top: 48px; }
.who-title { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 16px; }
.who-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.who-link { display: grid; gap: 4px; align-content: start; height: 100%; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--text); transition: border-color .2s ease, background-color .2s ease; }
.who-link strong { font-weight: 500; font-size: 15px; }
.who-link strong::after { content: " →"; color: var(--brand-teal); }
.who-link span { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .who-link:hover { border-color: var(--brand-teal); background: var(--tint); } .who-link:hover strong { color: var(--brand-teal); } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 13px; font-weight: 500; color: var(--brand-teal); background: rgba(15,118,110,.1); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 18px; margin: 20px 0 8px; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 15px; }

/* Sectors */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { margin: 0; }
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--tint); transition: transform .6s var(--ease-out); }
.tile figcaption { padding: 14px 2px 0; display: grid; gap: 4px; font-size: 14px; }
.tile figcaption span { color: var(--muted); }
.tile { overflow: visible; }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: translateY(-3px); } }

/* Instruments / training */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.split + .split { margin-top: 96px; }
.rows { border-top: 1px solid var(--border-strong); }
.rows li { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--border-strong); font-weight: 500; }
.row-sub { font-size: 14px; font-weight: 400; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 0.8fr 1fr; gap: 64px; align-items: center; }
.about-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }

/* Contact */
.section-dark { background: var(--dark); color: #fafafa; }
.kicker-light { color: #7FD8CD; }
.muted-light { color: #a1a1a1; margin-top: 16px; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
.contact-list { margin-top: 32px; display: grid; gap: 10px; color: #d4d4d4; font-size: 15px; }
.contact-list a { border-bottom: 1px solid rgba(255,255,255,.2); transition: border-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .contact-list a:hover { border-color: #fff; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.field { display: grid; gap: 6px; align-content: start; }
.field-wide, .form .btn, .form-note, .form-status, .form .check, .form .field-error:not(.field .field-error) { grid-column: 1 / -1; }
.form label { font-size: 13px; color: #a1a1a1; }
.form input, .form select, .form textarea {
  width: 100%; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  padding: 10px 12px; font-size: 15px; color: #fafafa; transition: border-color .2s ease, background-color .2s ease;
}
.form input, .form select { height: 44px; }
.form select option { color: #111; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.07); }
.form [aria-invalid="true"] { border-color: #f08a6c; }
.field-error { display: block; font-size: 13px; color: #f5a58c; animation: drop .25s var(--ease-out); }
.field-error::before { content: "! "; font-weight: 600; }
.form .btn { justify-self: start; margin-top: 6px; }
.form-note { font-size: 12px; color: #737373; }
.shake { animation: shake .4s var(--ease-out); }
@keyframes shake { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }

/* Footer columns: real contact details on every page */
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 32px 40px; }
.footer-cols > div, .footer-cols > nav { display: grid; gap: 6px; align-content: start; max-width: 260px; }
.footer-h { color: #e5e5e5; font-weight: 500; font-size: 13px; margin-bottom: 2px; }
.footer-link { background: none; border: 0; padding: 0; color: inherit; font-size: 13px; text-align: left; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .footer-link:hover { color: #d4d4d4; } }

/* Footer */
.footer { background: var(--dark); color: #8a8a8a; font-size: 13px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 40px; padding-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand div { display: grid; }
.footer-brand strong { color: #e5e5e5; font-weight: 500; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { transition: color .2s ease; }
.footer-inner { display: flex; justify-content: space-between; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.08); }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: #d4d4d4; } }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--surface); color: var(--text); font-size: 14px;
  padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 16px 40px rgba(0,0,0,.12);
  transition: transform .4s var(--ease-out), opacity .3s ease;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* Trust strip under the hero */
.proof { border-bottom: 1px solid var(--border); background: var(--surface); }
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.proof-row p { display: grid; gap: 2px; font-size: 14px; }
.proof-row strong { font-weight: 600; font-size: 15px; }
.proof-row span { color: var(--muted); }
.section-cta { margin-top: 40px; }

/* Questions */
.faq { border-top: 1px solid var(--border-strong); }
.faq details { border-bottom: 1px solid var(--border-strong); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-teal); font-weight: 500; transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.link { color: var(--brand-teal); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.section-dark .link { color: #7FD8CD; }

/* Loading: photos sit on a soft shimmer until they arrive, then fade in */
.img-load { background: linear-gradient(100deg, var(--tint) 30%, #E3EEEC 50%, var(--tint) 70%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: var(--radius); }
.img-load:has(img.is-loaded) { animation: none; background: var(--tint); }
.img-load img, img.service-thumb { opacity: 0; transition: opacity .5s var(--ease-out); }
.img-load img.is-loaded, img.service-thumb.is-loaded { opacity: 1; }
.tile.img-load { background: none; animation: none; }
.tile.img-load img { background: linear-gradient(100deg, var(--tint) 30%, #E3EEEC 50%, var(--tint) 70%) 0 0 / 200% 100%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2px solid var(--dark); border-right-color: transparent; animation: spin .7s linear infinite; }
.btn-dark.is-busy::after { border-color: #fff; border-right-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Contact details and form extras */
.contact-list li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; }
.contact-list li > span { color: #737373; }
.opt { color: #737373; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #c4c4c4; }
.form .check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: #fff; }
.form .check a { color: #fff; text-decoration: underline; }
.form .check input[aria-invalid="true"] { outline: 2px solid #f08a6c; outline-offset: 2px; }
.form-status { font-size: 14px; color: #f5a58c; min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Sticky call to action on phones */
.sticky-cta { display: none; }

/* Cookie banner */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 20px 48px rgba(0,0,0,.14); padding: 16px 18px; font-size: 14px;
  transform: translateY(12px); opacity: 0; transition: transform .4s var(--ease-out), opacity .3s ease;
}
.cookie-bar.is-on { transform: none; opacity: 1; }
.cookie-bar p { flex: 1 1 260px; }
.cookie-actions { display: flex; gap: 8px; }

/* Inner pages: thank-you, 404, privacy, terms */
.page { padding: 128px 0 96px; min-height: 70vh; }
.narrow { max-width: 640px; }
.center { text-align: center; }
.page h1 { font-size: clamp(32px, 5vw, 48px); }
.page .muted { margin-left: auto; margin-right: auto; }
.prose .muted, .prose { margin-left: auto; margin-right: auto; }
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; }
.prose p, .prose li { color: #3d3d3d; }
.prose ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.tick { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; color: var(--brand-teal); background: rgba(15,118,110,.1); }
.next { text-align: left; margin: 40px 0 32px; display: grid; gap: 12px; }
.next li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; }
.next p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 32px 0 16px; }
.small { font-size: 14px; }
.upsell { margin-top: 56px; text-align: left; padding: 28px; border-radius: var(--radius-lg); background: var(--tint); border: 1px solid var(--border); }
.upsell .muted { margin-left: 0; }
.h3 { font-size: 20px; }
.big-code { font-size: clamp(88px, 16vw, 140px); font-weight: 600; letter-spacing: -0.06em; line-height: 1; color: var(--brand-sage); margin-bottom: 8px; }
.link-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 24px; font-size: 15px; }
.link-list a { color: var(--brand-teal); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services, .split, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .service-media { display: none; }
  .service-thumb { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-top: 14px; }
  .steps { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .about-media { max-width: 420px; }
  .section { padding: 80px 0; }
  .split + .split { margin-top: 72px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .who-list { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn {
    position: relative; display: block; margin-left: auto;
    width: 40px; height: 40px; border: 0; background: none; cursor: pointer; border-radius: 10px;
  }
  .menu-bar { position: absolute; left: 11px; top: 19.25px; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease-out); }
  .menu-bar:nth-child(2) { transform: translateY(-3.5px); }
  .menu-bar:nth-child(3) { transform: translateY(3.5px); }
  .menu-btn[aria-expanded="true"] .menu-bar:nth-child(2) { transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-bar:nth-child(3) { transform: rotate(-45deg); }
  .mobile-menu:not([hidden]) { display: grid; padding: 4px var(--gutter) 16px; animation: drop .3s var(--ease-out); }
  .mobile-menu a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
  .mobile-menu a:last-child { border-bottom: 0; }
  .form { grid-template-columns: 1fr; }
  .stage-panels { align-items: end; padding-bottom: 96px; }
  .stage .lede { font-size: 16px; }
  .bg-shade { background: linear-gradient(0deg, rgba(8,12,16,.78) 0%, rgba(8,12,16,.35) 55%, rgba(8,12,16,.25) 100%); }
  .footer-inner, .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .proof-row { grid-template-columns: 1fr; gap: 14px; padding-top: 24px; padding-bottom: 24px; }
  .sticky-cta {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(251,251,250,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border); transform: translateY(110%); transition: transform .35s var(--ease-out);
  }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta .btn { flex: 1; justify-content: center; }
  .footer { padding-bottom: 72px; }
  .cookie-bar { top: 72px; bottom: auto; left: 12px; right: 12px; transform: translateY(-12px); }
  .cookie-bar.is-on { transform: none; }
  .page { padding-top: 104px; }
  .contact-list li { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
  .tiles { grid-template-columns: 1fr; }
  .tile img { aspect-ratio: 16 / 11; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .bg-two { object-position: 82% 50%; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .in-view { opacity: 1; transform: none; }
  .bg-one, .bg-two, .panel-1, .panel-2 { transform: none; filter: none; }
  .img-load, .tile.img-load img { animation: none; }
}

/* Lakar Bina: tiles link to sign-up for that role */
.tile-link { display: block; border-radius: var(--radius); }
.tile-link:hover strong { color: var(--brand-teal); }
.tile.img-load:has(img.is-loaded) { background: none; }
.soon { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em; vertical-align: 2px; color: #8a5a12; background: #FBEBD0; }
.soon.now { color: var(--brand-teal); background: rgba(15,118,110,.1); }

/* Log in: the app's login box floating over the homepage. Short, transform-only motion; the
   box fades in once the app has drawn it. */
.login-modal { width: min(940px, calc(100vw - 32px)); height: min(800px, calc(100dvh - 32px)); padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 40px 120px -20px rgba(15, 42, 40, .45); }
.login-modal::backdrop { background: rgba(10, 23, 22, .6); }
.login-modal[open] { animation: login-in .2s var(--ease-out); }
.login-modal[open]::backdrop { animation: login-fade .2s ease-out; }
@keyframes login-in { from { opacity: 0; transform: translateY(8px) scale(.985); } }
@keyframes login-fade { from { opacity: 0; } }
.login-modal iframe { display: block; width: 100%; height: calc(100% - 40px); border: 0; opacity: 0; transition: opacity .15s ease-out; }
.login-modal.is-ready iframe { opacity: 1; }
.login-wait { position: absolute; inset: 0 0 40px; display: grid; place-items: center; pointer-events: none; transition: opacity .15s; }
.login-modal.is-ready .login-wait { opacity: 0; }
.login-wait span { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--border-strong); border-top-color: var(--brand-teal); animation: spin .7s linear infinite; }
.login-close { position: absolute; top: 10px; right: 12px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong); background: #fff; color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.login-close:hover { background: var(--tint); }
.login-alt { margin: 0; height: 40px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); }
@media (max-width: 760px) { .login-modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; } }
@media (prefers-reduced-motion: reduce) { .login-modal[open], .login-modal[open]::backdrop { animation: none; } .login-modal iframe { transition: none; } }

/* Hero panel 2, Coming next: dated milestones. "business card" opens a floating mock-up of the card. */
.panel-2 .panel-title { font-size: clamp(36px, 5vw, 60px); margin: 18px 0 22px; }
.milestones { list-style: none; margin: 0; padding: 0; display: grid; }
.milestones li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 16px; line-height: 1.5; }
.milestones li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.ms-when { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.62); padding-top: 2px; font-variant-numeric: tabular-nums; }
.ms-what { color: rgba(255,255,255,.9); }
.ms-what a { color: #7FD8CD; font-weight: 600; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .ms-what a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.is-now .ms-when { color: #7FD8CD; display: inline-flex; align-items: flex-start; gap: 8px; }
.is-now .ms-when::before { content: ""; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: #7FD8CD; box-shadow: 0 0 0 4px rgba(127,216,205,.2); }
.panel-2 .hero-actions { margin-top: 24px; }

.card-link { font: inherit; color: #7FD8CD; font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 4px; }
.card-link:hover { text-decoration-style: solid; }
.card-link:focus-visible { outline: 2px solid #7FD8CD; outline-offset: 3px; border-radius: 4px; }
.card-pop { width: min(480px, calc(100vw - 32px)); padding: 28px 24px 22px; border: 0; border-radius: 22px; background: #F3F7F6; color: var(--text); box-shadow: 0 40px 80px -20px rgba(0,0,0,.55); overflow: visible; }
.card-pop::backdrop { background: rgba(6,14,13,.55); }
.card-pop-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.06); font-size: 22px; line-height: 1; cursor: pointer; color: var(--text); }
.card-pop-close:hover { background: rgba(0,0,0,.1); }
.card-pop-note { margin: 4px 0 0; font-size: 13px; color: var(--muted); text-align: center; text-wrap: balance; }
@media (prefers-reduced-motion: no-preference) {
  .card-pop:popover-open { animation: pop-in .32s var(--ease-out); }
  .card-pop:popover-open .bcard-front { animation: card-front .6s var(--ease-out); }
  .card-pop:popover-open .bcard-back { animation: card-back .6s var(--ease-out); }
  @keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
  @keyframes card-front { from { transform: rotate(0) translateY(14px); } }
  @keyframes card-back { from { transform: rotate(0) translate(-18px, 10px); } }
}
.card-mock { position: relative; margin: 0 auto; aspect-ratio: 1 / .9; width: 100%; max-width: 440px; container-type: inline-size; }
/* Card text scales with the card (cqw), so it reads the same on a phone. */
.bcard { position: absolute; width: 80%; aspect-ratio: 85 / 55; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.2); }
.bcard-back { top: 0; right: 0; transform: rotate(6deg); background: #0F2A28; color: #fff; display: grid; align-content: start; justify-content: end; justify-items: end; gap: 4px; padding: 6% 8%; border: 1px solid rgba(255,255,255,.1); }
.bc-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(127,216,205,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(127,216,205,.09) 1px, transparent 1px); background-size: 4cqw 4cqw; }
.bc-mark { position: relative; width: 8.6cqw; height: 8.6cqw; margin-bottom: 6px; }
.bc-word { position: relative; margin: 0; font-weight: 700; letter-spacing: .32em; font-size: 3.4cqw; padding-left: .32em; }
.bc-tag { position: relative; margin: 0; font-size: 2.3cqw; letter-spacing: .14em; text-transform: uppercase; color: #7FD8CD; }
.bcard-front { bottom: 2%; left: 0; transform: rotate(-4deg); background: #fff; color: var(--text); padding: 7% 7.5%; display: flex; flex-direction: column; }
.bc-top { display: flex; justify-content: space-between; align-items: center; }
.bc-logo { width: 6.8cqw; height: 6.8cqw; }
.bc-badge { font-size: 2.3cqw; font-weight: 600; color: #0F766E; background: #D7EFEC; padding: 3px 9px; border-radius: 999px; }
.bc-name { margin: auto 0 2px; font-size: 4.8cqw; font-weight: 700; letter-spacing: -0.02em; }
.bc-role { margin: 0; font-size: 2.6cqw; color: var(--muted); }
.bc-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 2.3cqw; padding-top: 2.3cqw; border-top: 1px solid var(--border); }
.bc-foot p { margin: 0; font-size: 2.4cqw; line-height: 1.45; color: var(--muted); }
.bc-qr { width: 9cqw; height: 9cqw; color: #0F2A28; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .bcard { transition: transform .5s var(--ease-out); }
  @media (hover: hover) and (pointer: fine) {
    .card-mock:hover .bcard-back { transform: rotate(8deg) translate(10px, -8px); }
    .card-mock:hover .bcard-front { transform: rotate(-2deg) translate(-6px, 4px); }
  }
}
@media (max-width: 760px) {
  .panel-2 .panel-title { font-size: 34px; margin: 14px 0 14px; }
  .milestones li { grid-template-columns: 1fr; gap: 0; padding: 9px 0; font-size: 14.5px; }
  .ms-when { font-size: 12px; }
}

/* ---------- Role pages (owners, drafters, professionals, contractors, suppliers) ---------- */
.role-hero { padding: 120px 0 72px; background: var(--tint); border-bottom: 1px solid var(--border); }
.role-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.role-hero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 18px; }
.role-hero .kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.role-lede { font-size: 18px; color: #3d3d3d; max-width: 34em; }
.role-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.role-media { margin: 0; aspect-ratio: 4 / 5; max-width: 420px; width: 100%; justify-self: end; overflow: hidden; border-radius: var(--radius-lg); }
.role-media img { width: 100%; height: 100%; object-fit: cover; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.feature h3 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 8px; line-height: 1.3; }
.feature h3 .soon { margin-left: 4px; }
.feature p { color: var(--muted); font-size: 15px; }
.needs { display: grid; gap: 6px; margin-top: 14px; padding: 12px 0 0; border-top: 1px solid var(--border); font-size: 14px; }
.needs li { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.needs .soon { margin: 0; }
.role-cost { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 40px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.role-cost p { display: grid; gap: 2px; }
.role-cost strong { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.role-cost span { color: var(--muted); font-size: 15px; }
.role-others { padding: 64px 0 96px; }
.others-title { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 16px; }
.role-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.role-chip { padding: 10px 16px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 15px; font-weight: 500; transition: border-color .2s ease, color .2s ease; }
.role-chip::after { content: " →"; color: var(--brand-teal); }
@media (hover: hover) and (pointer: fine) { .role-chip:hover { border-color: var(--brand-teal); color: var(--brand-teal); } }

/* Homepage: the five roles */
.roles-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.role-card { grid-column: span 2; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); color: var(--text); transition: border-color .2s ease, transform .3s var(--ease-out); }
.role-card:nth-child(4), .role-card:nth-child(5) { grid-column: span 3; }
.role-card figure { aspect-ratio: 16 / 9; margin: 0; overflow: hidden; border-radius: 0; }
.role-card img { width: 100%; height: 100%; object-fit: cover; }
.role-card-body { display: grid; gap: 10px; padding: 20px 22px 22px; flex: 1; align-content: start; }
.role-card h3 { font-size: 20px; letter-spacing: -0.015em; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.role-card h3 .soon { margin-left: 4px; }
.role-card .who-for { color: var(--muted); font-size: 14px; }
.role-card ul { display: grid; gap: 6px; font-size: 15px; }
.role-card li { position: relative; padding-left: 18px; }
.role-card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-teal); }
.role-card .more { margin-top: auto; padding-top: 6px; font-weight: 500; color: var(--brand-teal); font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .role-card:hover { border-color: var(--brand-teal); transform: translateY(-2px); } }
@media (max-width: 960px) {
  .features { grid-template-columns: 1fr 1fr; }
  .roles-grid { grid-template-columns: 1fr 1fr; }
  .role-card, .role-card:nth-child(4), .role-card:nth-child(5) { grid-column: span 1; }
  .role-card:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 760px) {
  .role-hero { padding: 96px 0 48px; }
  .role-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .role-media { justify-self: start; max-width: 100%; aspect-ratio: 16 / 10; }
  .features { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .role-card:nth-child(5) { grid-column: span 1; }
  .role-cost .btn { width: 100%; justify-content: center; }
}
.role-hero-grid > * { min-width: 0; }
.role-card:nth-child(4) figure, .role-card:nth-child(5) figure { aspect-ratio: 21 / 9; }
@media (max-width: 960px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, auto)); } .role-card:nth-child(4) figure { aspect-ratio: 16 / 9; } }
@media (max-width: 760px) { .role-card figure, .role-card:nth-child(5) figure { aspect-ratio: 16 / 9; } .footer-cols { grid-template-columns: 1fr; } }
