:root {
  --bg: #f8f9fb;
  --surface: #ffffff;
  --tint: #eef2f7;
  --text: #1f2328;
  --muted: #4f5866;
  --line: #dde3ec;
  --navy: #122a55;        /* sampled from logo */
  --accent: #0068fe;      /* sampled logo blue: buttons, fills, shapes, large text */
  --accent-dark: #0057d6; /* darker blue for links and small accent text (AA on tinted backgrounds) */
  --accent-soft: #e6f0ff;
  --error: #b42318;
  --success: #1e6b45;
  --radius: 10px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -3rem; background: var(--text); color: #fff; padding: .5rem 1rem; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 1rem; }
.small { font-size: .925rem; color: var(--muted); }
.note { color: var(--muted); font-style: italic; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: .8rem 1.4rem; border-radius: 8px; border: 2px solid var(--accent); cursor: pointer; font: inherit; font-weight: 600; transition: background-color .15s ease; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-secondary { border-color: var(--accent-dark); }
.btn-secondary { background: transparent; color: var(--accent-dark); }
.btn-secondary:hover { background: var(--accent-soft); }
.btn-small { padding: .45rem .9rem; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.footer-logo { height: 32px; width: auto; margin-bottom: .6rem; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 20px; height: 2px; background: var(--text); position: relative; content: ""; }
.nav-toggle-bar::before { position: absolute; top: -6px; }
.nav-toggle-bar::after { position: absolute; top: 6px; }
.site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: .5rem 1.25rem 1rem; }
.site-nav li a:not(.btn) { display: block; padding: .7rem 0; text-decoration: none; color: var(--text); font-weight: 500; }
.site-nav li .btn { margin-top: .5rem; }
.js-off .site-nav { display: block; position: static; }

/* Hero */
.hero { padding: 3.5rem 0 3rem; }
.hero-inner { display: grid; gap: 2.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 600; color: var(--accent-dark); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-art { display: none; position: relative; height: 220px; max-width: 420px; }
section[id] { scroll-margin-top: 72px; }
.art-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; display: flex; flex-direction: column; gap: .55rem; box-shadow: 0 8px 24px rgba(31,35,40,.06); }
.art-card span { display: block; height: 10px; border-radius: 5px; background: var(--tint); }
.art-card span:first-child { background: var(--accent-soft); width: 60%; }
.art-card-1 { width: 62%; left: 0; top: 0; }
.art-card-1 span:nth-child(2) { width: 90%; } .art-card-1 span:nth-child(3) { width: 75%; }
.art-card-2 { width: 55%; right: 0; bottom: 0; }
.art-card-2 span:nth-child(2) { width: 80%; }
.art-bar { position: absolute; border-radius: 10px; }
.art-bar-blue { left: 66%; top: 6%; width: 30%; height: 18px; background: var(--accent); }
.art-bar-navy { left: 4%; bottom: 8%; width: 24%; height: 18px; background: var(--navy); }

/* Sections */
.section { padding: 3.5rem 0; }
.section-tint { background: var(--tint); }
.section-intro { color: var(--muted); max-width: 44em; margin-bottom: 2rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.check-list li { position: relative; padding-left: 1.75rem; margin-bottom: .5rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Services */
.service-grid { display: grid; gap: 1.25rem; }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.service-num { display: inline-block; font-weight: 700; color: var(--accent-dark); font-size: .9rem; margin-bottom: .5rem; letter-spacing: .05em; }
.examples { background: var(--bg); border: 1px dashed var(--line); border-radius: 8px; padding: 1rem 1.1rem; margin-top: 1rem; }
.examples ul { margin: .25rem 0 .75rem; padding-left: 1.2rem; }
.examples li { margin-bottom: .3rem; }
.examples-label { font-weight: 600; margin-bottom: .25rem; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent-dark); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .15rem .5rem; border-radius: 4px; }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
.process li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1rem 3.75rem; position: relative; }
.process li::before { content: counter(step); position: absolute; left: 1.1rem; top: 1.15rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.process h3 { margin-bottom: .3rem; }
.process p { margin: 0; color: var(--muted); }

/* Founder */
.founder { display: grid; gap: 1.75rem; align-items: center; }
.founder-photo { width: 180px; height: 180px; border-radius: 50%; background: var(--surface); border: 2px dashed var(--muted); display: grid; place-items: center; color: var(--muted); font-weight: 600; font-size: .9rem; text-align: center; }
.founder-name { font-weight: 600; }
.founder-mark { border: 2px solid var(--muted); background: #fff; }
.founder-mark img { width: 55%; height: auto; }
.placeholder-text { background: #fff7d6; border: 1px dashed #b38f00; padding: .75rem 1rem; border-radius: 6px; color: #5c4a00; font-weight: 600; }

/* Form */
.inquiry-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.field-row { display: grid; gap: 0 1rem; }
.field { margin-bottom: 1rem; border: 0; padding: 0; min-width: 0; }
label, legend { display: block; font-weight: 600; margin-bottom: .35rem; }
input[type="text"], input[type="email"], textarea { width: 100%; font: inherit; padding: .7rem .8rem; border: 1px solid #bdb7ad; border-radius: 8px; background: #fff; color: var(--text); }
textarea { resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
.choice-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; border: 1px solid #bdb7ad; border-radius: 8px; padding: .5rem .85rem; cursor: pointer; margin: 0; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { accent-color: var(--accent); width: 1.05rem; height: 1.05rem; margin: 0; }
.req { color: var(--error); }
.optional { color: var(--muted); font-weight: 400; }
.hint { font-size: .9rem; color: var(--muted); margin: .3rem 0 0; }
.error { color: var(--error); font-size: .9rem; margin: .3rem 0 0; min-height: 0; }
.error:empty { display: none; }
.form-status { border-radius: 8px; padding: .9rem 1rem; margin-bottom: 1.25rem; font-weight: 500; }
.form-status.is-error { background: #fdecea; color: var(--error); border: 1px solid #f3b8b2; }
.form-status.is-success { background: #e7f4ec; color: var(--success); border: 1px solid #a9d8bd; }
.draft-note { margin-top: .75rem; margin-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; background: var(--bg); }
.footer-inner p { margin-bottom: .4rem; }

/* Larger screens */
@media (min-width: 720px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 200px 1fr; }
  .founder-photo { width: 200px; height: 200px; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; }
  .site-nav ul { display: flex; align-items: center; gap: 1.5rem; padding: 0; }
  .site-nav li a:not(.btn) { padding: 0; }
  .site-nav li .btn { margin-top: 0; }
  .hero { padding: 5rem 0 4.5rem; }
  .hero-inner { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .hero-art { display: block; height: 260px; }
  .section { padding: 4.5rem 0; }
  .process { grid-template-columns: repeat(5, 1fr); }
  .process li { padding: 3.6rem 1.1rem 1.2rem; }
  .process li::before { top: 1.1rem; left: 1.1rem; }
}

/* Restrained motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-art .art-card { animation: rise .6s ease-out both; }
  .hero-art .art-card-2 { animation-delay: .15s; }
  .hero-art .art-bar { animation: rise .6s ease-out .25s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Commitments */
.commitments { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: commit; }
.commitments li { counter-increment: commit; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.1rem; }
.commitments li::before { content: "0" counter(commit); display: block; font-weight: 700; font-size: .9rem; letter-spacing: .05em; color: var(--accent-dark); margin-bottom: .35rem; }
.commitments h3 { margin-bottom: .4rem; }
.commitments p { margin: 0; color: var(--muted); }
@media (min-width: 720px) { .commitments { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .commitments { grid-template-columns: repeat(3, 1fr); } }
