/* Elevante Sites — static site styles */
:root {
  --blue: #2453f0;
  --blue-deep: #1a3fc4;
  --navy: #0c1b3d;
  --navy-2: #13254f;
  --glacier: #eef3fc;
  --snow: #ffffff;
  --slate: #56627d;
  --line: #dbe3f1;
  --sunrise: #f6b85a;
  --ok: #1f9d6b;
  --err: #c23a3a;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6;
  color: var(--navy); background: var(--snow); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sunrise); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 650; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--glacier); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: 92px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; --logo-w: 210px; }
.brand img { width: var(--logo-w); height: auto; }
.brand-sub { /* sits under the "Elevante" wordmark, aligned to its first letter */
  margin-left: calc(var(--logo-w) * 0.24); margin-top: calc(var(--logo-w) * -0.05);
  font-family: var(--body); font-weight: 700; font-size: calc(var(--logo-w) * 0.068); line-height: 1;
  letter-spacing: .74em; text-transform: uppercase; color: var(--blue);
}
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 550; font-size: 15.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--blue); }
.header-cta { height: 44px; padding: 0 20px; font-size: 15px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; margin: auto; transition: transform .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; } .menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--snow); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 640px; }
.hero-copy { padding: 96px 48px 96px 0; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(44px, 6.2vw, 82px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .rise { display: block; color: var(--blue); }
.hero-lede { font-size: 20px; color: var(--slate); max-width: 34ch; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-email { margin-top: 28px; font-size: 16px; color: var(--slate); }
.hero-email a { color: var(--navy); font-weight: 650; text-decoration-color: var(--blue); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; }

/* Strengths row */
.strengths { border-block: 1px solid var(--line); background: var(--glacier); }
.strengths ul { list-style: none; margin: 0 auto; padding: 26px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strengths li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 16px; line-height: 1.35; }
.strengths svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 1px; }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 120px); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); }
.section-head p { color: var(--slate); font-size: 18px; max-width: 46ch; }

/* Services */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.service { display: grid; grid-template-columns: 56px minmax(0,1fr) minmax(0,1.3fr) 210px; gap: 28px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--glacier); color: var(--blue); display: grid; place-items: center; }
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 26px; }
.service p { color: var(--slate); }
.service-ask { justify-self: end; background: none; border: 0; padding: 8px 0; color: var(--blue); font-weight: 650; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 2px; transition: text-decoration-color .15s; }
.service-ask:hover { text-decoration-color: var(--blue); }
.service-ask svg { width: 16px; height: 16px; }

/* Process — a real sequence, laid out as a climb */
.process { background: var(--navy); color: #fff; }
.process .section-head p { color: #b8c4de; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: end; counter-reset: step; }
.step { background: var(--navy-2); border-radius: var(--radius); padding: 28px 24px; border-top: 3px solid var(--blue); counter-increment: step; }
.step:nth-child(1) { min-height: 230px; }
.step:nth-child(2) { min-height: 270px; }
.step:nth-child(3) { min-height: 310px; }
.step:nth-child(4) { min-height: 350px; border-top-color: var(--sunrise); }
.step::before { content: "Step " counter(step); display: block; font-size: 14px; color: #8fa3cf; font-weight: 600; margin-bottom: 40px; }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: #c5d0e8; font-size: 16px; }

/* Why */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; }
.why-img img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 45%; }
.why h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.why-copy > p { color: var(--slate); font-size: 18px; max-width: 48ch; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.checks li { display: flex; gap: 12px; font-weight: 600; }
.checks svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.work-link { margin-top: 36px; }

/* FAQ */
.faq { background: var(--glacier); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq h2 { font-size: clamp(32px, 4vw, 48px); }
.faq-intro p { color: var(--slate); margin-top: 18px; font-size: 18px; }
.faq-intro a { color: var(--blue); font-weight: 650; }
.faq details { border-bottom: 1px solid #c9d5ec; }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-weight: 650; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--slate); }

/* Contact — the centrepiece */
.contact { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.contact::before { /* contour lines echo the mountain mark */
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background: repeating-radial-gradient(ellipse 140% 90% at 0% 110%, transparent 0 34px, #6f8ee8 34px 35px);
}
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(36px, 4.6vw, 58px); }
.contact-lede { color: #c5d0e8; font-size: 19px; margin-top: 20px; max-width: 40ch; }
.big-email {
  display: inline-block; margin-top: 44px; font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 3.4vw, 44px); letter-spacing: -0.02em; color: #fff; text-decoration: none;
  border-bottom: 3px solid var(--sunrise); padding-bottom: 6px; word-break: break-all;
}
.big-email:hover { color: var(--sunrise); }
.email-tools { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #3b5194; background: transparent; color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; }
.chip:hover { border-color: #fff; }
.chip svg { width: 16px; height: 16px; }
.contact-points { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 14px; color: #c5d0e8; }
.contact-points li { display: flex; gap: 12px; }
.contact-points svg { width: 20px; height: 20px; color: var(--sunrise); flex-shrink: 0; margin-top: 3px; }

.form-card { background: #fff; color: var(--navy); border-radius: 16px; padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.form-card h3 { font-size: 26px; }
.form-card .sub { color: var(--slate); margin-top: 6px; font-size: 15.5px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14.5px; }
.field label .opt { color: var(--slate); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #fbfcff; font-size: 16px;
  transition: border-color .15s, background-color .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(36,83,240,.15); }
.field .error-text { color: var(--err); font-size: 13.5px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--err); }
.field.invalid .error-text { display: block; }
.hp { position: absolute; left: -9999px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-foot .btn { min-width: 200px; }
.form-foot small { color: var(--slate); font-size: 13.5px; flex: 1; min-width: 200px; }
.btn[disabled] { opacity: .7; cursor: progress; }
.form-status { grid-column: 1 / -1; border-radius: 10px; padding: 14px 16px; font-size: 15px; display: none; }
.form-status.show { display: block; }
.form-status.error { background: #fdeeee; color: #7e1f1f; }
.form-status.error a { color: #7e1f1f; font-weight: 700; }
.form-success { display: none; text-align: center; padding: 30px 6px; }
.form-success.show { display: block; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; background: #e6f6ef; color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .tick svg { width: 30px; height: 30px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--slate); }
.form-success .btn { margin-top: 22px; }

/* Footer */
.site-footer { background: #08132c; color: #b8c4de; padding: 56px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid img { width: 140px; height: auto; }
.footer-grid p { margin-top: 14px; max-width: 28ch; }
.footer-grid h4 { color: #fff; font-family: var(--body); font-size: 15px; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-email { color: #fff; font-weight: 650; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid #1d2c52; margin-top: 44px; padding-top: 22px; font-size: 14px; }

/* Mobile contact bar */
.mobile-bar { display: none; }

/* Projects page */
.page-head { background: var(--glacier); padding: 84px 0 64px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(44px, 6vw, 72px); font-weight: 800; letter-spacing: -0.035em; }
.page-head p { color: var(--slate); font-size: 19px; max-width: 52ch; margin-top: 18px; }
.projects { display: grid; gap: 72px; }
.project { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.project:nth-child(even) { grid-template-columns: .85fr 1.15fr; }
.project:nth-child(even) .project-media { order: 2; }
.project-media { border-radius: 14px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--glacier); box-shadow: 0 30px 60px -36px rgba(12,27,61,.55); position: relative; }
.project-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.project-media.mark { background: #000; display: grid; place-items: center; }
.project-media.mark img { object-fit: contain; object-position: center; }
.project-media.mark.fill { aspect-ratio: 508 / 459; }
.project-media.mark.fill img { object-fit: cover; }
/* Static Altar card: brushed-gold frame with a warm altar-light glow. Logo untouched. */
.project-media.soft-frame {
  aspect-ratio: auto; padding: 4px; border-radius: 18px; overflow: visible; isolation: isolate;
  background: linear-gradient(135deg, #f6e7c1 0%, #b98a3e 22%, #fff3d6 46%, #a87a34 70%, #f1dca6 100%);
  box-shadow:
    0 2px 4px rgba(60, 40, 10, .10),
    0 20px 40px -14px rgba(60, 40, 10, .35),
    0 44px 90px -30px rgba(12, 27, 61, .45);
  transition: transform .35s ease, box-shadow .35s ease;
}
.project-media.soft-frame::before { /* warm glow that echoes the light burst in the logo */
  content: ""; position: absolute; z-index: -1; inset: -16% -14%;
  background: radial-gradient(closest-side, rgba(240, 186, 92, .55) 55%, rgba(240, 186, 92, .22) 78%, transparent 100%);
  filter: blur(24px); pointer-events: none;
  transition: opacity .35s ease; opacity: .85;
}
.project-media.soft-frame::after { /* fine inner gold hairline */
  content: ""; position: absolute; inset: 4px; border-radius: 14px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 228, 170, .35), inset 0 0 40px rgba(0, 0, 0, .35);
}
.project-media.soft-frame img {
  width: 100%; height: auto; aspect-ratio: var(--ar, 508 / 459); border-radius: 14px;
}
.project-media.soft-frame:hover { transform: translateY(-4px); }
.project-media.soft-frame:hover::before { opacity: 1; }
.project-media .fallback { display: none; font-family: var(--display); font-size: clamp(32px, 4vw, 52px); font-weight: 700; color: #d7b56d; text-align: center; padding: 24px; letter-spacing: .02em; }
.project-media.missing img { display: none; }
.project-media.missing .fallback { display: block; }
.project-type { color: var(--blue); font-weight: 650; font-size: 15px; }
.project h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 8px 0 16px; }
.project p { color: var(--slate); font-size: 18px; }
.project .btn { margin-top: 26px; }
.project-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.project-actions .btn { margin-top: 0; }
.projects-cta { text-align: center; padding: 72px 0 0; }
.projects-cta h2 { font-size: clamp(30px, 3.6vw, 44px); }
.projects-cta p { color: var(--slate); margin: 14px auto 28px; max-width: 48ch; font-size: 18px; }

/* Responsive */
@media (max-width: 1024px) {
  .nav { gap: 20px; }
  .hero-art { width: 42%; }
  .hero-copy { padding-right: 24px; }
  .service { grid-template-columns: 56px 1fr 210px; }
  .service p { grid-column: 2 / 3; grid-row: 2; }
  .service-ask { grid-row: 1 / 3; grid-column: 3; }
  .steps { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .step:nth-child(n) { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .nav.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 92px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { position: relative; width: 100%; height: 300px; clip-path: none; order: -1; }
  .hero { display: flex; flex-direction: column; }
  .hero-copy { padding: 44px 0 56px; }
  .section-head, .why-grid, .faq-grid, .contact-grid, .project, .project:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .project:nth-child(even) .project-media { order: 0; }
  .contact-grid { gap: 44px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); }
  .mobile-bar .btn { height: 46px; font-size: 15px; padding: 0 12px; }
  body { padding-bottom: 72px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-lede { font-size: 18px; }
  .strengths ul { grid-template-columns: 1fr; gap: 14px; }
  .service { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .service p, .service-ask { grid-column: auto; grid-row: auto; }
  .service-ask { justify-self: start; }
  .steps { grid-template-columns: 1fr; }
  .step::before { margin-bottom: 18px; }
  .checks { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===== Project form page (contact.html) ===== */
.intake-hero { background: var(--navy); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.intake-hero::before { content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background: repeating-radial-gradient(ellipse 140% 90% at 100% 120%, transparent 0 34px, #6f8ee8 34px 35px); }
.intake-hero-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; }
.intake-hero h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 800; letter-spacing: -0.035em; }
.intake-hero p { color: #c5d0e8; font-size: 18.5px; max-width: 56ch; margin-top: 18px; }
.intake-direct { border-left: 2px solid var(--sunrise); padding-left: 26px; }
.intake-direct p { margin: 0; font-size: 16px; }
.intake-email { display: inline-block; margin: 8px 0 16px; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); color: #fff; text-decoration: none; word-break: break-all; }
.intake-email:hover { color: var(--sunrise); }

.intake { background: var(--glacier); padding: 56px 0 96px; }
.intake-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }

.stepper { position: sticky; top: 100px; }
.stepper-bar { display: none; height: 6px; border-radius: 3px; background: #d5def0; overflow: hidden; margin-bottom: 14px; }
.stepper-bar span { display: block; height: 100%; width: 16%; background: var(--blue); transition: width .3s; }
.stepper ol { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 4px; }
.stepper li { counter-increment: s; }
.stepper li button {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: none; border: 0; padding: 10px 12px;
  border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 15.5px; color: var(--slate);
}
.stepper li button::before {
  content: counter(s); flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid #c3cfe6; font-size: 14px; background: #fff; color: var(--slate);
}
.stepper li button:disabled { cursor: default; opacity: .6; }
.stepper li.done button { color: var(--navy); }
.stepper li.done button::before { content: "✓"; background: var(--blue); border-color: var(--blue); color: #fff; }
.stepper li.active button { background: #fff; color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.stepper li.active button::before { border-color: var(--blue); color: var(--blue); }
.stepper.complete li button::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; }
.stepper-note { margin-top: 18px; font-size: 14px; color: var(--slate); padding: 0 12px; }

.intake-card { background: #fff; border-radius: 18px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(12,27,61,.35); min-width: 0; }
.step-panel { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 22px; }
.step-panel[hidden] { display: none; }
.step-panel legend { padding: 0; margin-bottom: 8px; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.02em; line-height: 1.1; outline: none; }
.step-count { display: block; font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--blue); letter-spacing: 0; margin-bottom: 8px; }
.step-intro { color: var(--slate); margin-top: -8px; }
.q-group { font-size: 20px; padding-top: 8px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 4px; }
.step-panel > .q-group:first-of-type { border-top: 0; padding-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.grid-2 .full { grid-column: 1 / -1; }
.label, .field > label { font-weight: 600; font-size: 15px; }
.label { display: block; margin-bottom: 2px; }
.field .opt, .label .opt { color: var(--slate); font-weight: 500; }
.intake-card .field textarea { min-height: 96px; }
.intake-card .field textarea.short { min-height: 72px; }
.hint { color: var(--slate); font-size: 14px; margin-top: 2px; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fbfcff; font-weight: 550; font-size: 15px; line-height: 1.25;
  transition: background-color .15s, border-color .15s, color .15s;
}
.choice:hover span { border-color: #a9b9da; }
.choice input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.choice input[type=checkbox]:checked + span::before { content: "✓"; font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--sunrise); outline-offset: 2px; }
.other-input { margin-top: 10px; width: 100%; max-width: 420px; border: 1.5px dashed #c3cfe6; border-radius: 8px; padding: 10px 14px; background: #fff; font-size: 15px; }
.other-input:focus { outline: none; border-style: solid; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,83,240,.15); }
.reveal { display: none; }
.reveal.show { display: flex; }

.packages { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.package { position: relative; cursor: pointer; }
.package input { position: absolute; opacity: 0; }
.package-body {
  display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 22px 20px; border-radius: 14px;
  border: 2px solid var(--line); background: #fff; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.package:hover .package-body { border-color: #a9b9da; }
.package input:checked + .package-body { border-color: var(--blue); background: #f5f8ff; box-shadow: 0 0 0 4px rgba(36,83,240,.12); }
.package input:focus-visible + .package-body { outline: 3px solid var(--sunrise); outline-offset: 3px; }
.package-name { font-weight: 700; font-size: 18px; }
.package-price { font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: -0.02em; color: var(--navy); line-height: 1.1; }
.package-list { display: grid; gap: 6px; margin-top: 8px; color: var(--slate); font-size: 14.5px; }
.package-list span { padding-left: 22px; position: relative; }
.package-list span::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.package-unsure .package-body { background: var(--glacier); border-style: dashed; justify-content: center; }
.package-unsure .package-list span::before { content: none; }
.package-unsure .package-list span { padding-left: 0; }
.package-error, #ack-error { display: none; color: var(--err); font-size: 14px; }
.package-error.show, #ack-error.show { display: block; }

.terms { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 24px; }
.terms h3 { font-size: 22px; margin-bottom: 16px; }
.terms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.terms h4 { margin: 0 0 6px; font-size: 16px; }
.terms p { color: var(--slate); font-size: 14.5px; }

.summary { background: var(--glacier); border-radius: 14px; padding: 22px 24px; }
.summary h3 { font-size: 19px; margin-bottom: 12px; }
.summary dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.summary dt { font-size: 13.5px; color: var(--slate); font-weight: 600; }
.summary dd { margin: 0; font-weight: 600; word-break: break-word; }
.summary .muted { color: #9aa6bf; font-weight: 500; }
.summary .hint { margin-top: 14px; }
.acks { display: grid; gap: 10px; margin-top: 8px; }
.ack { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; background: #fbfcff; }
.ack input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex-shrink: 0; }
.ack:has(input:checked) { border-color: #b9c9ef; background: #f5f8ff; }
.signature { font-family: var(--display); font-size: 22px !important; font-weight: 600; }

.step-nav { display: flex; align-items: center; gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.step-nav-spacer { flex: 1; }
.step-nav .btn { min-width: 150px; }
.intake-card .form-status { margin-top: 18px; }
.intake-success { padding: 40px 10px; }
.intake-success h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 12px; }
.intake-success p { max-width: 52ch; margin: 0 auto; }
.chip-dark { border-color: #3b5194; }

.contact-more { margin-top: 28px; color: #c5d0e8; }
.contact-more a { color: #fff; font-weight: 650; text-decoration-color: var(--sunrise); text-underline-offset: 4px; text-decoration-thickness: 2px; }

@media (max-width: 960px) {
  .intake-grid { grid-template-columns: 1fr; gap: 20px; }
  .stepper { position: static; }
  .stepper-bar { display: block; }
  .stepper ol { display: none; }
  .stepper-note { padding: 0; margin-top: 0; }
  .intake-hero-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .grid-2, .packages, .terms-grid, .summary dl { grid-template-columns: 1fr; }
  .intake-card { padding: 22px 18px; border-radius: 14px; }
  .step-nav .btn { min-width: 0; flex: 1; }
  .step-nav-spacer { display: none; }
  .intake-page { padding-bottom: 0; }
}
@media (max-width: 860px) { body.intake-page { padding-bottom: 0; } }

@media (max-width: 1100px) { .brand { --logo-w: 180px; } .nav { gap: 22px; } }
@media (max-width: 600px) { .brand { --logo-w: 170px; } .header-row { height: 80px; } .nav.open { top: 80px; } }
