/* Layout: sticky slim header, split hero with a honeycomb that maps the three services,
   then alternating plain / tinted bands. One accent (honey) against deep teal ink. */
:root {
  --bg: #F3F6F5;
  --surface: #FFFFFF;
  --tint: #E4EEEC;
  --ink: #15201F;
  --muted: #4F5E5B;
  --line: #D3DDDA;
  --teal: #0E4B47;
  --on-teal: #FFFFFF;
  --honey: #9A6405;
  --honey-fill: #E9A93A;
  --hex-idle: #D5E3E0;
  --error: #B3261E;
  --ok: #1E6B3A;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem);
  --step-4: clamp(2.3rem, 1.6rem + 3vw, 3.9rem);

  --wrap: 72rem;
  --radius: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1413; --surface: #13201E; --tint: #10201E; --ink: #E6EEEC; --muted: #9EB1AD;
    --line: #25403C; --teal: #86CFC5; --on-teal: #0C1413; --honey: #F2B84E; --honey-fill: #E9A93A;
    --hex-idle: #1B3330; --error: #FF8A80; --ok: #7DD99A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1413; --surface: #13201E; --tint: #10201E; --ink: #E6EEEC; --muted: #9EB1AD;
  --line: #25403C; --teal: #86CFC5; --on-teal: #0C1413; --honey: #F2B84E; --honey-fill: #E9A93A;
  --hex-idle: #1B3330; --error: #FF8A80; --ok: #7DD99A; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--honey); }
:focus-visible { outline: 3px solid var(--honey-fill); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 650; }
p { margin: 0; }
.wrap { width: 80%; margin-inline: auto; }
@media (max-width: 860px) { .wrap { width: auto; padding-inline: 16px; } }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--honey); font-weight: 500;
}
.lede { color: var(--muted); font-size: var(--step-1); max-width: 38rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--teal); color: var(--on-teal); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--teal); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .45rem .6rem; color: var(--ink); cursor: pointer; font: inherit; }
.nav-toggle svg { display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--font-body); padding: .95rem 1.4rem; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn-primary { background: var(--teal); color: var(--on-teal); }
.btn-primary:hover { color: var(--on-teal); transform: translateY(-1px); background: color-mix(in srgb, var(--teal) 88%, var(--ink)); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.nav-links .btn { padding: .65rem 1.1rem; color: var(--on-teal); }
.nav-links .btn:hover { color: var(--on-teal); }

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; }
.hero h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; padding-top: .4rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--muted); font-size: var(--step--1); padding-top: .6rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta span::before { content: ""; width: 8px; height: 8px; background: var(--honey-fill); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.comb { width: 100%; height: auto; }
.comb .cell { fill: var(--hex-idle); transition: fill .3s ease; }
.comb .cell.lit { fill: var(--teal); }
.comb .cell.honey { fill: var(--honey-fill); }
.comb text { font-family: var(--font-display); font-weight: 700; font-size: 15px; fill: var(--on-teal); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.comb .honey + text { fill: #15201F; }
.comb a:hover .cell.lit, .comb a:focus .cell.lit { fill: var(--honey-fill); }
.comb a:hover .cell.lit + text, .comb a:focus .cell.lit + text { fill: #15201F; }

/* Sections */
section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.band { background: var(--tint); }
.section-head { display: grid; gap: .8rem; max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; display: grid; gap: 1rem; align-content: start; min-width: 0;
}
.service-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.service-icon { width: 48px; height: 48px; color: var(--teal); }
.sic { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: .15rem .45rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.service p { color: var(--muted); }
.service ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.service li { display: flex; gap: .6rem; font-size: .95rem; }
.service li::before { content: ""; flex: none; margin-top: .55em; width: 7px; height: 7px; background: var(--honey-fill); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.joined {
  margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 1.6rem; border-radius: var(--radius); background: var(--teal); color: var(--on-teal);
}
.joined p { max-width: 46rem; }
.joined strong { font-family: var(--font-display); font-size: var(--step-1); display: block; margin-bottom: .2rem; }
.joined .btn { background: var(--honey-fill); color: #15201F; }
.joined .btn:hover { color: #15201F; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-grid > * { min-width: 0; }
.about-copy { display: grid; gap: 1.1rem; }
.about-copy p { color: var(--muted); max-width: 36rem; }
.values { display: grid; gap: 0; border-top: 1px solid var(--line); }
.value { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding-block: 1.3rem; border-bottom: 1px solid var(--line); }
.value svg { width: 28px; height: 28px; color: var(--honey); margin-top: .1rem; }
.value p { color: var(--muted); font-size: .95rem; margin-top: .25rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; padding-top: 1.4rem; border-top: 2px solid var(--line); display: grid; gap: .5rem; align-content: start; }
.step::before {
  counter-increment: step; content: "Step " counter(step);
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--honey);
}
.step::after { content: ""; position: absolute; top: -2px; left: 0; width: 3rem; height: 2px; background: var(--teal); }
.step p { color: var(--muted); font-size: .95rem; }

/* Who we help */
.sectors { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.sectors li { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .5rem 1rem; font-weight: 500; font-size: .95rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split > * { min-width: 0; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.3rem; color: var(--honey); flex: none; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; max-width: 40rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-grid > * { min-width: 0; }
.details { display: grid; gap: 1.4rem; margin-top: 2rem; }
.detail { display: grid; grid-template-columns: 2.2rem 1fr; gap: .8rem; }
.detail svg { width: 22px; height: 22px; color: var(--teal); margin-top: .2rem; }
.detail .label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.detail address { font-style: normal; }
.detail .value-text { font-weight: 600; word-break: break-word; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.4rem, 3vw, 2.2rem); }
form { display: grid; gap: 1.1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: .75rem .85rem;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 25%, transparent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field .err { color: var(--error); font-size: .85rem; min-height: 0; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; flex: none; accent-color: var(--teal); }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form-foot small { color: var(--muted); }
.form-status { border-radius: 8px; padding: .85rem 1rem; font-size: .95rem; border: 1px solid; }
.form-status.ok { color: var(--ok); border-color: currentColor; background: color-mix(in srgb, var(--ok) 8%, transparent); }
.form-status.bad { color: var(--error); border-color: currentColor; background: color-mix(in srgb, var(--error) 8%, transparent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem 2rem; font-size: .92rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-grid > * { min-width: 0; }
.foot-grid h3 { font-size: .8rem; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: .8rem; font-weight: 500; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--teal); }
.foot-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }

@media (max-width: 960px) {
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
}
@media (max-width: 860px) {
  .hero-grid, .about-grid, .contact-grid, .split { grid-template-columns: 1fr; }
  .hero-art { max-width: 26rem; justify-self: center; width: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 16px 1.2rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border: 0; margin-top: .8rem; text-align: center; }
}
@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
