/* Generated by tools/fetch-fonts.mjs from Google Fonts (latin subset), served from this site.
   Fonts: Atkinson Hyperlegible, Bricolage Grotesque, IBM Plex Mono. SIL Open Font License 1.1, see assets/fonts/LICENSE-*.txt. */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/atkinson-hyperlegible-d64ba838.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: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/atkinson-hyperlegible-140e2bd2.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: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-grotesque-a79fdb52.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-08949f72.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-0d1f0b8d.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;
}

/* Layout: a storefront window. One lit OPEN sign carries the hero; everything else is quiet
   paper and ink, with pricing printed as a receipt because the promise is "nothing hidden". */
:root {
  /* Brand palette: Slate & Marigold. --accent is for dots, rules and the sign glow;
     --accent-text is the darker marigold that stays readable as small text. */
  --bg: #F6F7F8;
  --surface: #FFFFFF;
  --surface-2: #E9ECEF;
  --ink: #1A202B;
  --muted: #535C6B;
  --line: #D7DCE2;
  --brand: #2F3B4E;
  --on-brand: #FFFFFF;
  --brand-text: #2F3B4E;
  --accent: #B07A0B;
  --accent-text: #8A5F00;
  --on-accent: #FFFFFF;
  --sign: #FFB627;
  --board: #171B22;

  --font-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 4.2vw, 2.6rem);
  --step-4: clamp(2.4rem, 6.4vw, 4.1rem);
  --radius: 14px;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11151C; --surface: #181E28; --surface-2: #202835; --ink: #E9EDF3; --muted: #A0AABA; --line: #2D3646;
    --brand: #A9B8D0; --on-brand: #11151C; --brand-text: #C0CDE2; --accent: #F2B33D; --accent-text: #F2B33D;
    --on-accent: #1A1404; --sign: #FFC24A; --board: #0A0D12; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #11151C; --surface: #181E28; --surface-2: #202835; --ink: #E9EDF3; --muted: #A0AABA; --line: #2D3646;
  --brand: #A9B8D0; --on-brand: #11151C; --brand-text: #C0CDE2; --accent: #F2B33D; --accent-text: #F2B33D;
  --on-accent: #1A1404; --sign: #FFC24A; --board: #0A0D12; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--brand-text); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tint { background: var(--surface-2); }
.eyebrow {
  font-family: var(--font-mono); font-size: var(--step--1); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text);
}
.section-head { display: grid; gap: 12px; max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--muted); font-size: var(--step-1); max-width: 40rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 10px; border: 2px solid transparent;
  font: 700 var(--step-0) var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--small { min-height: 42px; padding: 0 16px; font-size: var(--step--1); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
/* The logo's sign tile (brand/open-hours-digital-icon-512.png), drawn in CSS so it stays sharp and themable. */
.brand__mark {
  position: relative; flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--board); color: var(--sign);
  font: 800 7.5px/1 var(--font-display); letter-spacing: 0.1em; padding-left: 0.1em;
  text-shadow: 0 0 4px color-mix(in srgb, var(--sign) 55%, transparent);
}
.brand__mark::before {
  content: ""; position: absolute; inset: 11.5px 6px; border: 1.5px solid var(--sign); border-radius: 4px;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--sign) 22%, transparent);
}
/* The wordmark: "Open Hours" over a spaced-out "DIGITAL", as in the logo. */
.brand__name { display: grid; gap: 4px; font: 800 1.2rem/0.95 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
.brand__sub { font: 600 0.6rem/1 var(--font-mono); letter-spacing: 0.4em; text-transform: uppercase; color: var(--accent-text); }
.nav { display: none; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: var(--step--1); }
.nav a:hover { color: var(--ink); }
@media (min-width: 880px) { .nav { display: flex; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 8vw, 96px); }
.hero__grid { display: grid; gap: clamp(32px, 6vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero__copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: var(--step-4); font-weight: 800; max-width: 14ch; }
.hero__lead { font-size: var(--step-1); color: var(--muted); max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.promises { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: var(--step--1); font-weight: 700; }
.promises li { display: inline-flex; align-items: center; gap: 8px; }
.promises li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* The one bold moment: a lit storefront OPEN sign. */
.sign-scene { display: grid; justify-items: center; gap: 0; }
.sign-chains { display: flex; justify-content: space-between; width: 62%; height: 44px; }
.sign-chains span { width: 2px; background: repeating-linear-gradient(to bottom, var(--muted) 0 6px, transparent 6px 9px); }
.sign {
  width: min(100%, 380px); aspect-ratio: 2.1 / 1; border-radius: 22px; background: var(--board);
  display: grid; place-items: center; position: relative;
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--sign) 22%, transparent), 0 24px 60px -24px rgba(0, 0, 0, .55);
}
.sign::after {
  content: ""; position: absolute; inset: 14px; border-radius: 14px;
  border: 3px solid var(--sign); opacity: .85;
  box-shadow: 0 0 10px color-mix(in srgb, var(--sign) 70%, transparent), inset 0 0 10px color-mix(in srgb, var(--sign) 40%, transparent);
}
.sign__word {
  font: 800 clamp(3.4rem, 11vw, 5.6rem)/1 var(--font-display); letter-spacing: 0.06em; color: var(--sign);
  text-shadow: 0 0 6px var(--sign), 0 0 22px color-mix(in srgb, var(--sign) 75%, transparent), 0 0 48px color-mix(in srgb, var(--sign) 45%, transparent);
  animation: sign-on 1.6s steps(1, end) 0.3s both;
}
@keyframes sign-on {
  0% { opacity: .15; } 12% { opacity: 1; } 18% { opacity: .2; } 26% { opacity: 1; } 31% { opacity: .35; } 40%, 100% { opacity: 1; }
}
.plate {
  margin-top: 18px; width: min(100%, 320px); padding: 14px 18px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; text-align: center;
}
.plate__hours { font: 600 var(--step--1)/1.3 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.plate__stat { color: var(--muted); font-size: var(--step--1); }
.plate__stat strong { color: var(--ink); }
.plate__stat a { color: var(--muted); }

/* ---------- services ---------- */
.services { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { display: grid; gap: 10px; align-content: start; padding: 26px 24px 30px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.service__icon { width: 36px; height: 36px; color: var(--brand-text); }
.service h3 { font-size: var(--step-1); }
.service p { color: var(--muted); }
.addons { margin-top: 26px; color: var(--muted); }
.addons strong { color: var(--ink); }

/* ---------- case study ---------- */
.case { display: grid; gap: clamp(28px, 5vw, 48px); }
@media (min-width: 980px) { .case { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.case__copy { display: grid; gap: 18px; min-width: 0; }
.case__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.case__title h2 { font-size: var(--step-3); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font: 600 var(--step--1)/1.2 var(--font-mono); color: var(--muted);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.built { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.built li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.built svg { width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.case__note { color: var(--muted); font-size: var(--step--1); }
.screens {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; min-width: 0;
}
.screen { scroll-snap-align: start; display: grid; gap: 10px; justify-items: center; margin: 0; }
.phone {
  width: 100%; max-width: 210px; aspect-ratio: 375 / 812; border-radius: 28px; padding: 7px;
  background: var(--board); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .6);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 22px; }
.screen figcaption { font: 600 var(--step--1)/1.3 var(--font-mono); color: var(--muted); text-align: center; }
.next-slot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: clamp(28px, 4vw, 40px); padding: 20px 22px; border-radius: var(--radius);
  border: 2px dashed var(--line);
}
.next-slot p { font: 700 var(--step-1)/1.3 var(--font-display); }

/* ---------- pricing receipt ---------- */
.pricing { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 900px) { .pricing { grid-template-columns: minmax(0, 420px) 1fr; align-items: start; } }
.receipt {
  position: relative; background: var(--surface); color: var(--ink); padding: 28px 24px 34px;
  font: 400 0.95rem/1.55 var(--font-mono); font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -28px rgba(0, 0, 0, .45);
  border: 1px solid var(--line);
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x;
          mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x;
}
.receipt__head { text-align: center; display: grid; gap: 2px; margin-bottom: 14px; }
.receipt__head strong { font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.receipt__rule { border: 0; border-top: 1px dashed var(--muted); margin: 12px 0; opacity: .6; }
.receipt__row { display: flex; align-items: baseline; gap: 8px; }
.receipt__row span:first-child { flex: 0 1 auto; min-width: 0; }
.receipt__row .dots { flex: 1; border-bottom: 1px dotted var(--muted); transform: translateY(-4px); opacity: .55; min-width: 12px; }
.receipt__row span:last-child { flex: none; font-weight: 600; }
.receipt__sub { color: var(--muted); font-size: 0.82rem; margin: -2px 0 6px; }
.receipt__zero span:last-child { color: var(--accent-text); }
.receipt__foot { margin-top: 16px; text-align: center; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.pricing__side { display: grid; gap: 22px; min-width: 0; }
.pricing__side h3 { font-size: var(--step-2); }
.passthrough { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.passthrough li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.passthrough li span:last-child { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.compare { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.compare p + p { margin-top: 6px; color: var(--muted); font-size: var(--step--1); }

/* ---------- process ---------- */
.steps { display: grid; gap: 22px; padding: 0; margin: 0; list-style: none; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { display: grid; gap: 8px; align-content: start; min-width: 0; counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); font: 800 1.1rem/1 var(--font-display);
}
.step h3 { font-size: var(--step-1); }
.step p { color: var(--muted); }

/* ---------- why + about ---------- */
.why-about { display: grid; gap: clamp(32px, 6vw, 72px); }
@media (min-width: 900px) { .why-about { grid-template-columns: 1fr 1fr; } }
.why { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.why li { display: grid; gap: 2px; padding-left: 18px; border-left: 3px solid var(--accent); }
.why strong { font-size: var(--step-1); font-family: var(--font-display); }
.why span { color: var(--muted); }
.about { display: grid; gap: 18px; align-content: start; }
.about__who { display: flex; align-items: center; gap: 16px; }
.avatar {
  flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); font: 800 1.8rem/1 var(--font-display);
}
.about h2 { font-size: var(--step-3); }
.about p { color: var(--muted); max-width: 34rem; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 0; max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 0; font: 700 var(--step-1)/1.3 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 44rem; }

/* ---------- contact ---------- */
.contact { display: grid; gap: 22px; padding: clamp(28px, 5vw, 48px); border-radius: 20px; background: var(--brand); color: var(--on-brand); }
@media (min-width: 900px) { .contact { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }
.contact h2 { font-size: var(--step-3); }
.contact p { opacity: .9; max-width: 34rem; }
.contact .eyebrow { color: inherit; opacity: .8; }
.contact__lines { display: grid; gap: 12px; }
.contact__line {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--on-brand) 12%, transparent);
}
.contact__label { font: 600 var(--step--1)/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; opacity: .8; }
.contact__text { display: grid; gap: 4px; min-width: 0; }
.contact__copy { display: grid; gap: 14px; }
.why-label { margin-bottom: 16px; }
.contact__value { font: 700 var(--step-1)/1.2 var(--font-body); color: inherit; overflow-wrap: anywhere; }
.copy-btn {
  min-height: 40px; padding: 0 14px; border-radius: 8px; border: 2px solid currentColor; background: transparent;
  color: inherit; font: 700 var(--step--1) var(--font-body); cursor: pointer;
}

.contact__side { display: grid; gap: 18px; min-width: 0; }
.contact-form { display: grid; gap: 12px; }
.contact-form .field { display: grid; gap: 6px; font-weight: 700; font-size: var(--step--1); }
.contact-form input, .contact-form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 2px solid transparent;
  background: var(--surface); color: var(--ink); font: 400 var(--step-0) var(--font-body);
}
.contact-form textarea { min-height: 96px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.btn--invert { background: var(--on-brand); color: var(--brand); }
.form-note { font-size: var(--step--1); opacity: .85; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-simple { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.page-simple .wrap { display: grid; gap: 18px; justify-items: center; max-width: 40rem; }
.page-simple h1 { font-size: var(--step-3); }
.page-simple p { color: var(--muted); }

.site-footer { padding-block: 36px 48px; color: var(--muted); font-size: var(--step--1); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 50;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: var(--step--1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sign__word { animation: none; }
  .btn { transition: none; }
}

/* ---------- Pages added by the Netlify build: demo form (/start), admin (/admin), privacy ----------
   Uses the tokens defined at the top of index.html's <style>. Inputs are 17px+ so phones don't
   zoom in, and every tap target is at least 44px tall. */

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.optional { font-weight: 400; color: var(--muted); font-size: var(--step--1); }
.notice { padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.notice--error { border-color: #C0392B; display: grid; gap: 12px; justify-items: start; }
.btn--danger { background: transparent; color: #B42318; border-color: currentColor; }
.btn--danger:hover { background: #B42318; color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn--danger { color: #FF8A80; }
}

/* ---------- form fields ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .group__label { font-weight: 700; }
.field__hint { color: var(--muted); font-size: var(--step--1); }
.field__error { color: #B42318; font-weight: 700; font-size: var(--step--1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .field__error { color: #FF8A80; }
}
.field input, .field select, .field textarea, .admin textarea, .status-select {
  width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 10px;
  border: 2px solid var(--line); background: var(--surface); color: var(--ink);
  font: 400 max(17px, var(--step-0)) var(--font-body);
}
.field textarea, .admin textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .admin textarea:focus, .status-select:focus {
  outline: none; border-color: var(--accent);
}
[aria-invalid="true"] { border-color: #B42318 !important; }
.field-row { display: grid; grid-template-columns: 1fr 96px; gap: 12px; }
.field--inline { grid-template-columns: auto minmax(160px, 1fr); align-items: center; gap: 10px; }

.group { display: grid; gap: 10px; }
.choices { display: grid; gap: 8px; }
.choices--row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.choice, .check {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border-radius: 10px;
  border: 2px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 700;
}
.check { align-items: flex-start; font-weight: 400; }
.choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.choice input, .check input { width: 22px; height: 22px; flex: none; accent-color: var(--brand); margin: 0; }
.check input { margin-top: 3px; }

/* honeypot: present for bots, invisible and unreachable for people */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- demo form ---------- */
.intake { max-width: calc(44rem + 2 * var(--gutter)); padding-block: clamp(28px, 6vw, 56px) 64px; display: grid; gap: 24px; }
.intake__intro { display: grid; gap: 12px; }
.intake__intro h1, .intake__done h1 { font-size: var(--step-3); }
.intake__lead { font-size: var(--step-1); color: var(--muted); }
.intake__form { display: grid; gap: 18px; scroll-margin-top: 90px; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.progress span { height: 6px; border-radius: 3px; background: var(--line); }
.progress span.is-done { background: var(--accent); }
.progress__label { font: 600 var(--step--1)/1.2 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.form-step { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; min-width: 0; }
.form-step__title { font: 800 var(--step-2)/1.15 var(--font-display); padding: 0; margin-bottom: 4px; }
.form-step__title:focus { outline: none; }
.form-step__sub { font-size: var(--step-1); margin-top: 8px; }
.step-nav { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.step-nav .btn { flex: 1 1 140px; }
.form-error { padding: 12px 16px; border-radius: 10px; background: color-mix(in srgb, #B42318 10%, var(--surface)); color: var(--ink); font-weight: 700; }
.form-status { color: var(--muted); font-weight: 700; }

.hours { display: grid; gap: 8px; }
.hours-row {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center;
  padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line);
}
.hours-row__day { font-weight: 700; }
.hours-row__times { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.hours-row__times input { flex: 1; min-width: 0; min-height: 46px; padding: 6px 10px; border-radius: 8px; border: 2px solid var(--line); background: var(--bg); color: var(--ink); font: 400 17px var(--font-body); }
.hours-row__times input:disabled { opacity: .45; }
.hours-row .check { min-height: 44px; padding: 6px 10px; border: 0; background: transparent; align-items: center; }
@media (min-width: 640px) {
  .hours-row { grid-template-columns: 120px auto 1fr; }
  .hours-row__times { grid-column: auto; }
}

.uploads { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.upload { position: relative; display: grid; place-items: center; min-height: 64px; padding: 12px; border-radius: 12px; border: 2px dashed var(--accent); background: var(--surface); cursor: pointer; text-align: center; font-weight: 700; }
.upload__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.upload:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__label { position: absolute; left: 0; bottom: 0; padding: 2px 8px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 13px; font-weight: 700; border-top-right-radius: 8px; }
.thumb__remove { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

.intake__done { display: grid; gap: 16px; justify-items: start; padding: clamp(24px, 5vw, 40px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.intake__done h1:focus { outline: none; }

/* ---------- privacy ---------- */
.prose { max-width: calc(44rem + 2 * var(--gutter)); padding-block: clamp(28px, 6vw, 56px) 64px; display: grid; gap: 14px; }
.prose h1 { font-size: var(--step-3); }
.prose h2 { font-size: var(--step-1); margin-top: 14px; }
.prose__lead { font-size: var(--step-1); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }

/* ---------- contact block on the home page ---------- */
.demo-cta { display: grid; gap: 10px; justify-items: start; }
.demo-cta .btn { width: 100%; }
.demo-cta p { font-size: var(--step--1); opacity: .9; }
.demo-cta a:not(.btn) { color: inherit; font-weight: 700; }

/* ---------- admin ---------- */
.admin { max-width: calc(60rem + 2 * var(--gutter)); padding-block: 20px 64px; display: grid; gap: 18px; align-content: start; }
.admin__title { font-size: var(--step-3); overflow-wrap: anywhere; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.topbar__actions { display: flex; gap: 8px; }
.admin-login { max-width: 380px; margin: 12vh auto 0; display: grid; gap: 16px; justify-items: start; width: 100%; }
.admin-login .field, .admin-login .btn { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: 700 var(--step--1) var(--font-body); cursor: pointer; }
.chip-btn.is-active { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.req-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.req { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.req:hover { border-color: var(--brand); }
.req__main { display: grid; gap: 2px; min-width: 0; }
.req__name { font: 800 var(--step-1)/1.2 var(--font-display); overflow-wrap: anywhere; }
.req__meta, .req__age { color: var(--muted); font-size: var(--step--1); overflow-wrap: anywhere; }
.req__side { display: grid; gap: 6px; justify-items: end; align-content: start; text-align: right; }
.req__old { grid-column: 1 / -1; font-size: var(--step--1); font-weight: 700; color: var(--accent-text); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 700 13px/1.4 var(--font-body); background: var(--surface-2); color: var(--ink); white-space: nowrap; }
.badge--new { background: var(--accent); color: var(--on-accent); }
.badge--building { background: var(--brand); color: var(--on-brand); }
.badge--won { background: #1E7B4D; color: #fff; }
.badge--lost { background: var(--surface-2); color: var(--muted); }
.empty { padding: 28px; border-radius: var(--radius); border: 2px dashed var(--line); color: var(--muted); text-align: center; }
.back-link { font-weight: 700; justify-self: start; }
.detail-head { display: grid; gap: 14px; }
@media (min-width: 760px) { .detail-head { grid-template-columns: 1fr minmax(240px, 300px); align-items: end; } }
.card { display: grid; gap: 12px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.card h2 { font-size: var(--step-1); }
.card--quiet { background: transparent; }
.card .btn { justify-self: start; }
.kv-list { margin: 0; display: grid; gap: 10px; }
.kv { display: grid; gap: 2px; }
@media (min-width: 640px) { .kv { grid-template-columns: 200px 1fr; gap: 16px; } }
.kv dt { color: var(--muted); font-weight: 700; font-size: var(--step--1); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.pre-text { white-space: pre-wrap; }
.plain-list { margin: 0; padding-left: 1.1em; }
.mini-table { border-collapse: collapse; }
.mini-table th, .mini-table td { text-align: left; padding: 2px 16px 2px 0; font-weight: 400; }
.mini-table th { color: var(--muted); }
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.photo-grid li { display: grid; gap: 4px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.photo-grid__label { font-size: var(--step--1); color: var(--muted); }
.config { margin: 8px 0 0; padding: 14px; border-radius: 10px; background: var(--board); color: #E9EDF3; font: 13px/1.5 var(--font-mono); overflow-x: auto; max-height: 420px; }
details summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
