/* ScaleSoft site styles
   Radius rule: buttons and chips are full pill, cards/images 14px, inputs 10px.
   One accent (burnt orange). Light/dark via prefers-color-scheme. */

@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-vietnamese-400-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-vietnamese-500-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-vietnamese-600-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-vietnamese-700-normal.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/be-vietnam-pro-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f6f6f3;
  --surface: #fdfdfb;
  --surface-2: #eeeeea;
  --ink: #15171c;
  --muted: #555b67;
  --line: #dfe0dc;
  --accent: #c2410c;
  --accent-hover: #a8380a;
  --accent-ink: #fff7f2;
  --accent-soft: #fbe8dc;
  --accent-text: #b13b0b;
  --ok: #1f7a4d;
  --warn: #a15c00;
  --bad: #b42318;
  --shadow: 0 1px 2px rgb(21 23 28 / .05), 0 12px 32px -12px rgb(21 23 28 / .14);
  --r-card: 14px;
  --r-input: 10px;
  --max: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101216;
    --surface: #171a20;
    --surface-2: #1c2027;
    --ink: #eceef2;
    --muted: #b1b7c2;
    --line: #333946;
    --accent: #ff8a4c;
    --accent-hover: #ff9d66;
    --accent-ink: #1d0e05;
    --accent-soft: #2b1b12;
    --accent-text: #ff9d66;
    --ok: #4cc38a;
    --warn: #f2b84b;
    --bad: #ff7a6b;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 16px 40px -16px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15.5px; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .12s ease, color .2s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: color-mix(in oklab, var(--ink) 28%, transparent); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn .icon { transition: transform .2s ease; }
.btn:hover .icon-arrow { transform: translateX(3px); }

/* ---------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand-mark { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.nav .label-short { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 520px) {
  .nav .label-full { display: none; }
  .nav .label-short { display: inline; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- hero */
.hero { padding: 48px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 3.9vw, 3.3rem); font-weight: 700; line-height: 1.16; }
.hero h1 .accent { color: var(--accent-text); white-space: nowrap; }
.hero-sub { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 46ch; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--r-card); box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .hero { padding: 24px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media img { aspect-ratio: 16 / 10; }
}

/* ---------- sections */
.section { padding: 96px 0; scroll-margin-top: 64px; }
.section-tight { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); font-weight: 700; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
@media (max-width: 760px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* ---------- process timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.timeline li { position: relative; padding: 0 22px 0 0; }
.timeline li::before {
  content: ""; position: absolute; top: 21px; left: 44px; right: 0; height: 1px; background: var(--line);
}
.timeline li:last-child::before { display: none; }
.t-dot {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--accent-text);
}
.timeline li:nth-child(2) .t-dot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.t-time { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.timeline h3 { margin-top: 4px; font-size: 18px; font-weight: 600; }
@media (min-width: 961px) { .timeline h3 { min-height: 2.36em; } }
.timeline p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline li { padding: 0 0 0 64px; }
  .timeline li::before { top: 44px; bottom: -28px; left: 21px; right: auto; width: 1px; height: auto; }
  .t-dot { position: absolute; left: 0; top: 0; }
  .t-time { margin-top: 0; }
}

/* ---------- pricing */
.pricing { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line);
}
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow); position: relative; }
.plan-badge {
  position: absolute; top: -13px; left: 26px; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-text);
}
.plan h3 { font-size: 20px; font-weight: 600; }
.plan-desc { margin-top: 8px; color: var(--muted); font-size: 15px; min-height: 3.2em; }
.plan-price { margin-top: 20px; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-time { margin-top: 4px; font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; }
.plan li .icon { color: var(--accent-text); margin-top: 2px; width: 18px; height: 18px; }
.plan .btn { margin-top: auto; }
.addons { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.addon { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r-card); background: var(--surface-2); }
.addon .icon { width: 28px; height: 28px; color: var(--accent-text); margin-top: 2px; }
.addon h3 { font-size: 17px; font-weight: 600; }
.addon p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.addon strong { color: var(--ink); font-weight: 600; }
.pricing-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
@media (max-width: 960px) {
  .pricing { grid-template-columns: 1fr; }
  .plan.featured { order: -1; }
  .addons { grid-template-columns: 1fr; }
  .plan-desc { min-height: 0; }
}

/* ---------- audit tool */
.audit-band { background: var(--surface-2); }
.audit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.audit-grid h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); font-weight: 700; }
.audit-grid .lead { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 50ch; }
.audit-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow); }
.audit-row { display: flex; gap: 10px; margin-top: 8px; }
.audit-row input { flex: 1; }
.audit-checks { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.audit-checks span { font-size: 13px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); background: var(--surface-2); }
@media (max-width: 900px) { .audit-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 520px) { .audit-row { flex-direction: column; } }

.report { margin-top: 32px; }
.report[hidden] { display: none; }
.report-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; }
.report-top { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.score {
  --p: 0; --c: var(--accent);
  width: 104px; height: 104px; border-radius: 999px; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line) 0);
}
.score-inner { width: 84px; height: 84px; border-radius: 999px; background: var(--surface); display: grid; place-items: center; text-align: center; }
.score-num { font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.score-of { font-size: 12px; color: var(--muted); }
.report-title { font-size: 20px; font-weight: 600; }
.report-meta { margin-top: 4px; color: var(--muted); font-size: 14px; word-break: break-all; }
.report-list { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.report-item { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.report-item .icon { width: 20px; height: 20px; margin-top: 2px; }
.report-item.ok .icon { color: var(--ok); }
.report-item.partial .icon { color: var(--warn); }
.report-item.bad .icon { color: var(--bad); }
.report-item h4 { margin: 0; font-size: 15px; font-weight: 600; }
.report-item p { margin-top: 2px; font-size: 14px; color: var(--muted); }
.report-item .fix { margin-top: 4px; font-size: 14px; color: var(--ink); }
.report-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line); }
.report-cta p { color: var(--muted); font-size: 15px; max-width: 52ch; }
.report-error { padding: 18px 20px; border-radius: var(--r-input); background: var(--surface); border: 1px solid var(--bad); color: var(--ink); }
@media (max-width: 760px) {
  .report-top { grid-template-columns: auto 1fr; }
  .report-top .btn { grid-column: 1 / -1; }
  .report-list { grid-template-columns: 1fr; }
}
.skeleton { border-radius: 8px; background: linear-gradient(90deg, var(--line) 0%, var(--surface-2) 50%, var(--line) 100%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.sk-score { width: 104px; height: 104px; border-radius: 999px; }
.sk-line { height: 14px; margin-top: 10px; }
.sk-line.w60 { width: 60%; } .sk-line.w40 { width: 40%; } .sk-line.w80 { width: 80%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- industries bento */
.bento { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.cell { border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.cell-body { padding: 22px 24px 24px; }
.cell h3 { font-size: 19px; font-weight: 600; }
.cell p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.cell-tall { grid-row: span 2; }
.cell-tall img { flex: 1; min-height: 320px; width: 100%; object-fit: cover; }
.cell-wide { grid-column: span 2; }
.cell-wide { display: grid; grid-template-columns: 1fr 1fr; }
.cell-wide img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.cell-wide .cell-body { align-self: center; padding: 28px 32px; }
.cell-wide h3 { font-size: 22px; }
.cell-wide .cell-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.cell-wide .cell-list li { display: flex; gap: 10px; align-items: flex-start; }
.cell-wide .cell-list .icon { width: 18px; height: 18px; color: var(--accent-text); margin-top: 3px; }
.cell-tint { background: var(--accent-soft); border-color: transparent; }
.cell-tint .icon, .cell-plain .icon { width: 30px; height: 30px; color: var(--accent-text); }
.cell-tint .cell-body, .cell-plain .cell-body { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.cell-tint .cell-body > div, .cell-plain .cell-body > div { margin-top: auto; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .cell-tall, .cell-wide { grid-row: auto; grid-column: auto; }
  .cell-wide { grid-template-columns: 1fr; }
  .cell-tall img { min-height: 260px; max-height: 360px; }
}

/* ---------- work / showcase (ZIM Academy) */
.hero-proof { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); max-width: 54ch; }
.hero-proof strong { color: var(--ink); font-weight: 600; }
.hero-proof a { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.work-facts-cap { margin: -20px 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.work-facts { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work-facts li { padding: 18px 20px 18px 0; }
.work-facts li + li { border-left: 1px solid var(--line); padding-left: 20px; }
.work-facts strong { display: block; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.work-facts span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.work-card { border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.work-shot { display: block; padding: 28px 28px 0; background: var(--surface-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.work-shot img { display: block; background: #fff; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: top center; border-radius: 10px 10px 0 0; box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 12px 28px -14px rgb(0 0 0 / .35); transition: transform .5s cubic-bezier(.2,.7,.2,1); transform-origin: top center; }
@media (prefers-color-scheme: dark) { .work-card { background: var(--surface-2); } .work-shot, .work-phones { background: var(--surface); } .work-shot img { filter: brightness(.8); box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 12px 28px -14px rgb(0 0 0 / .6); } }
.work-card:hover .work-shot img { transform: scale(1.025); }
.work-body { padding: 26px 32px 30px; display: flex; flex-direction: column; flex: 1; }
.work-kind { font-size: 13px; font-weight: 600; color: var(--accent-text); }
.work-body h3 { margin-top: 4px; font-size: 21px; font-weight: 700; }
.work-body > p:not(.work-kind) { margin-top: 8px; color: var(--muted); font-size: 15px; }
.work-tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.work-tags li { white-space: nowrap; font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.work-links { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.work-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.work-link .icon { width: 18px; height: 18px; color: var(--accent-text); }
.work-link:hover { color: var(--accent-text); }
.work-main { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; }
.work-main .work-shot { display: flex; align-items: flex-end; border-bottom: 0; border-right: 1px solid var(--line); }
.work-main .work-body { padding: 32px; justify-content: center; }
.work-main .work-body h3 { font-size: 26px; }
.work-main .work-links { margin-top: 0; }
.work-app { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; }
.work-app .work-body { padding: 32px; justify-content: center; }
.work-app .work-links { margin-top: 0; }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-icon { width: 56px; height: 56px; border-radius: 13px; box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.app-head h3 { margin-top: 2px; }
.work-phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 28px 28px 0; align-items: start; background: var(--surface-2); border-left: 1px solid var(--line); overflow: hidden; max-height: 400px; }
.work-phones img { width: 100%; height: auto; border-radius: 14px 14px 0 0; box-shadow: 0 10px 30px -12px rgb(0 0 0 / .35); }
.work-phones img:nth-child(1), .work-phones img:nth-child(3) { margin-top: 56px; }
.work-phones { align-self: stretch; }
@media (prefers-color-scheme: dark) { .work-phones img { filter: brightness(.72) saturate(.8); } .work-tags li { color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); } }
@media (max-width: 900px) {
  .work-facts { grid-template-columns: 1fr 1fr; }
  .work-facts li, .work-facts li + li { border-left: 0; padding-left: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .work-main, .work-app { grid-template-columns: 1fr; }
  .work-shot, .work-main .work-shot { padding: 18px 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .work-card .work-body, .work-main .work-body, .work-app .work-body { padding: 22px 22px 26px; }
  .work-main .work-links, .work-app .work-links { margin-top: 0; }
  .work-phones { grid-template-columns: repeat(2, 1fr); padding: 22px 22px 0; gap: 14px; border-left: 0; border-top: 1px solid var(--line); max-height: 330px; }
  .work-phones img:nth-child(1), .work-phones img:nth-child(3) { margin-top: 0; }
  .work-phones img:nth-child(3) { display: none; }
}

/* ---------- commitments */
.commit { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: stretch; }
.commit-media { position: relative; min-height: 420px; }
.commit-media img { position: absolute; inset: 0; border-radius: var(--r-card); object-fit: cover; width: 100%; height: 100%; }
.commit-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.commit-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.commit-list .icon { width: 24px; height: 24px; color: var(--accent-text); margin-top: 2px; }
.commit-list h3 { font-size: 16.5px; font-weight: 600; }
.commit-list p { margin-top: 4px; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) {
  .commit { grid-template-columns: 1fr; gap: 32px; }
  .commit-media { display: none; }
}
@media (max-width: 600px) { .commit-list { grid-template-columns: 1fr; } }

/* ---------- FAQ */
.faq-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 100px; margin-bottom: 0; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } .faq-grid .section-head { position: static; } }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 24px;
  font-size: 17.5px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s ease; color: var(--muted); margin-top: 3px; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 68ch; }

/* ---------- contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); font-weight: 700; }
.contact .lead { margin-top: 14px; color: var(--muted); font-size: 17px; }
.next-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.next-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--muted); }
.next-steps strong { color: var(--ink); font-weight: 600; display: block; }
.next-steps .icon { color: var(--accent-text); width: 22px; height: 22px; margin-top: 2px; }
.direct { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.direct a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; }
.direct a:hover { color: var(--accent-text); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: 36px; } }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .req { color: var(--accent-text); }
.field .help { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13px; color: var(--bad); min-height: 0; }
.field .err:empty { display: none; }
input[type="text"], input[type="tel"], input[type="email"], input[type="url"], input[type="password"], select, textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r-input); padding: 12px 14px; min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: color-mix(in oklab, var(--muted) 80%, var(--bg)); }
input:hover, select:hover, textarea:hover { border-color: color-mix(in oklab, var(--muted) 50%, var(--line)); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23888'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14px; color: var(--muted); align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.consent a { color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 14.5px; }
.form-status.error { color: var(--bad); }
.turnstile-slot:empty { display: none; }
.success { text-align: left; }
.success .icon { width: 40px; height: 40px; color: var(--ok); }
.success h3 { margin-top: 14px; font-size: 22px; }
.success p { margin-top: 8px; color: var(--muted); }
.success code { font-family: ui-monospace, "Cascadia Code", Menlo, monospace; font-size: 15px; color: var(--ink); background: var(--surface-2); padding: 2px 8px; border-radius: 6px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form { padding: 22px; } }

/* ---------- footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14.5px; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-legal { margin-top: 20px; }

/* ---------- prose pages */
.prose { max-width: 760px; padding: 56px 0 96px; }
.prose h1 { font-size: clamp(2rem, 3.6vw, 2.7rem); }
.prose h2 { font-size: 21px; margin-top: 40px; }
.prose p, .prose li { color: var(--muted); margin-top: 12px; }
.prose ul { padding-left: 20px; }
.prose .updated { margin-top: 10px; font-size: 14px; }

/* ---------- motion (reveal on scroll, hero entrance) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .8s cubic-bezier(.16,1,.3,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-media { animation: rise 1s .12s cubic-bezier(.16,1,.3,1) both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skeleton { animation: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.d1 { --i: 1; } .d2 { --i: 2; } .d3 { --i: 3; } .d4 { --i: 4; }

/* ---------- admin */
.admin { padding: 32px 0 80px; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 24px 0; }
.admin-bar .field { min-width: 240px; }
.admin-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.admin-stats span { padding: 6px 14px; border-radius: 999px; background: var(--surface-2); font-size: 14px; }
.admin td.ref { white-space: nowrap; font-family: ui-monospace, "Cascadia Code", monospace; font-size: 13px; }
.admin td select, .admin td input { min-height: 40px; height: 40px; padding: 6px 10px; font-size: 14px; }
.admin td input { width: 130px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
td select, td input { min-height: 38px; padding: 6px 10px; font-size: 14px; }
.muted { color: var(--muted); }
.empty { padding: 40px; text-align: center; color: var(--muted); }
.page-title { font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 700; }
.lead { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 52ch; }
.audit-err { margin-top: 8px; font-size: 14px; color: var(--bad); }
.audit-err:empty { display: none; }
.footer-tag { margin-top: 10px; max-width: 40ch; }

@media (prefers-color-scheme: dark) {
  .hero-media img, .cell img { filter: brightness(.82) saturate(.95); }
  .commit-media img { filter: brightness(.72) saturate(.9); }
  input[type="text"], input[type="tel"], input[type="email"], input[type="password"], select, textarea { border-color: #3d4452; }
}
