/* Handled Services — site and app styles */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/Archivo-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/Archivo-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
/* Headings: Archivo SemiBold at any weight, so browsers never fake a heavier bold */
@font-face {
  font-family: "Archivo Head";
  src: url("/fonts/Archivo-SemiBold.woff2") format("woff2");
  font-weight: 500 900;
  font-display: swap;
}

:root {
  /* Brand colours (Caroline): white, metallic gold #C5A253, charcoal #303030 */
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --ink: #303030;          /* charcoal: headings, text, navigation */
  --ink-soft: #5E5E5E;
  --green: #C5A253;        /* gold: buttons, icons, highlights (named "green" from the first design) */
  --green-deep: #866A2A;   /* darker gold for links and small text, so it stays readable */
  --gold-text: #A3833B;    /* gold for large numbers and icons on white */
  --mint: #F6F1E6;         /* soft gold tint */
  --line: #E4DFD4;
  --rule-blue: #EEEAE1;
  --error: #B3261E;
  --on-accent: #303030;    /* charcoal text on gold buttons: white on gold is too faint to read */
  --star: #C5A253;
  --gold-hover: #D4B56E;
  --input-line: #8F8A80;

  --wide: "Archivo Head", "Archivo", system-ui, sans-serif;
  --text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem);
  --step-4: clamp(2.05rem, 1.15rem + 4.3vw, 3.9rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1140px;
  --radius: 10px;
  --tabbar-h: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}

img, svg { display: block; max-width: 100%; }
a { color: var(--green-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--green-deep); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: #fff;
  padding: 10px 14px; border-radius: 6px; z-index: 50;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 70px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-family: var(--wide); font-weight: 800; font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.brand img { display: block; height: 44px; width: auto; }
.brand .brand-word { height: 40px; }
.brand > span { white-space: nowrap; }
@media (max-width: 380px) { .brand img { height: 38px; } .brand .brand-word { height: 34px; } }
.brand span small {
  display: block; font-family: var(--text); font-weight: 400;
  font-size: 0.78rem; color: var(--ink-soft); letter-spacing: 0;
}
.site-header .wrap { flex-wrap: wrap; min-height: 0; padding-top: 8px; row-gap: 0; }
.site-header .brand { order: 0; }
.head-actions { order: 1; margin-left: auto; display: flex; align-items: center; gap: 12px; }
.worker-link { color: var(--ink); font-weight: 600; font-size: 0.85rem; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.worker-link:hover { background: var(--ink); color: #fff; }
.call-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--on-accent); }
.call-ico svg { width: 19px; height: 19px; }
.site-header .brand img { height: 34px; } .site-header .brand .brand-word { height: 30px; } .site-header .brand { gap: 8px; }
.site-nav { order: 2; display: grid; grid-template-columns: repeat(5, 1fr); width: 100%; margin-top: 6px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9rem; text-align: center; white-space: nowrap; padding: 11px 0 9px; border-bottom: 3px solid transparent; }
.site-nav .long { display: none; }
body[data-page="home"] .site-nav a[data-nav="home"], body[data-page="book"] .site-nav a[data-nav="book"],
body[data-page="about"] .site-nav a[data-nav="about"], body[data-page="faq"] .site-nav a[data-nav="faq"],
body[data-page="contact"] .site-nav a[data-nav="contact"] { border-bottom-color: var(--green); color: var(--green-deep); }
.site-nav a:hover { color: var(--green-deep); }
@media (min-width: 860px) {
  .site-header .wrap { flex-wrap: nowrap; min-height: 70px; padding-top: 0; }
  .site-nav { order: 0; display: flex; width: auto; margin: 0; gap: 8px 24px; }
  .site-nav a { font-size: 0.95rem; padding: 5px 0; }
  .site-nav .long { display: inline; } .site-nav .short { display: none; }
  .head-actions { order: 0; margin-left: 0; }
  .site-header .brand img { height: 44px; } .site-header .brand .brand-word { height: 40px; } .site-header .brand { gap: 10px; }
  .call-ico { display: none; }
  .worker-link { font-size: 0.9rem; padding: 8px 16px; }
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border-radius: 999px; border: 2px solid var(--green);
  background: var(--green); color: var(--on-accent);
  font: 600 1rem/1 var(--text);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--on-accent); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: #fff; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 0.93rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ------------------------------------------------------------------ hero */

.hero { padding: clamp(36px, 7vw, 88px) 0 clamp(40px, 7vw, 96px); overflow: hidden; overflow: clip; }
.hero .wrap {
  display: grid; gap: clamp(36px, 6vw, 64px);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }

.hero h1 {
  font-family: var(--wide); font-weight: 800;
  font-size: var(--step-4); line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 20px; max-width: 15ch;
  text-wrap: balance;
}
.hero p.lead {
  font-size: var(--step-1); line-height: 1.5;
  color: var(--ink-soft); max-width: 36ch; margin: 0 0 30px;
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Brand logo beside the headline (computers only; phones see it in the header) */
.hero-logo { display: none; }
@media (min-width: 900px) {
  .hero-logo { display: block; justify-self: center; width: 100%; max-width: 380px; margin: 0; }
  .hero-logo img { width: 100%; height: auto; }
}

/* Service icons under the headline */
.service-icons { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.service-icons a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.service-icons a:hover { color: var(--green-deep); }
.service-icons svg { width: 30px; height: 30px; color: var(--gold-text); flex: none; }
.trade h3 svg { width: 28px; height: 28px; color: var(--gold-text); display: inline-block; vertical-align: -4px; margin-right: 10px; }

/* -------------------------------------------------------------- sections */

section { scroll-margin-top: 80px; }
.section { padding: clamp(48px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.section h2 {
  font-family: var(--wide); font-weight: 800;
  font-size: var(--step-3); line-height: 1.12; letter-spacing: -0.02em;
  margin: 0 0 14px; max-width: 22ch;
}
.section h2::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--green); margin-top: 14px; }
.app-panel h2::after { background: var(--green); }
.section .intro { color: var(--ink-soft); max-width: 58ch; margin: 0 0 36px; font-size: 1.08rem; }

/* Services: large rows, not cards */
.trades { list-style: none; margin: 0; padding: 0; }
.trade {
  display: grid; gap: 8px 40px;
  padding: 26px 0; border-top: 2px solid var(--ink);
}
.trade:last-child { border-bottom: 2px solid var(--ink); }
@media (min-width: 760px) { .trade { grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.6fr); } }
.trade h3 {
  font-family: var(--wide); font-weight: 600;
  font-size: var(--step-2); line-height: 1.15; margin: 0; letter-spacing: -0.01em;
}
.trade p { margin: 0; max-width: 60ch; }
.trade .note { color: var(--ink-soft); font-size: var(--step--1); margin-top: 6px; }

/* How it works: a real sequence */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 28px; counter-reset: step;
}
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 18px; }
.steps li::before {
  content: counter(step);
  display: block; font-family: var(--wide); font-weight: 800;
  font-size: 2.4rem; line-height: 1; color: var(--gold-text); margin-bottom: 12px;
}
.steps h3 { font-size: 1.12rem; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Who we work with + checks */
.split { display: grid; gap: 48px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.clients { list-style: none; padding: 0; margin: 0; }
.clients li {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--wide); font-weight: 600; font-size: 1.12rem;
}
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--gold-text); }
.small-print { color: var(--ink-soft); font-size: var(--step--1); max-width: 52ch; }

/* --------------------------------------------------- app + notifications */

.app-panel {
  background: var(--ink); color: #fff;
  border-radius: 18px;
  padding: clamp(26px, 5vw, 48px);
  display: grid; gap: 32px;
}
@media (min-width: 900px) { .app-panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.app-panel h2 { color: #fff; }
.app-panel .intro { color: #D6D6D6; margin-bottom: 0; }
.app-panel a { color: #E2C987; }
.app-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px; padding: 22px;
}
.app-box + .app-box { margin-top: 14px; }
.app-box h3 { margin: 0 0 8px; font-size: 1.1rem; }
.app-box p { margin: 0 0 14px; color: #D6D6D6; }
.app-box .btn { background: var(--green); color: var(--ink); border-color: var(--green); }
.app-box .btn:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--ink); }
.app-box ol { margin: 0; padding-left: 1.2em; color: #EDEDED; }
.app-box ol li { margin: 6px 0; }
.app-box .share-icon { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; }
.role-choice { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.role-choice legend { margin-bottom: 8px; color: #EDEDED; font-weight: 600; }
.role-choice label {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px;
  padding: 8px 14px; cursor: pointer;
}
.role-choice input { accent-color: var(--green); }
.role-choice label:has(input:checked) { background: rgba(197, 162, 83, 0.18); border-color: var(--green); }
.status { min-height: 1.5em; margin: 12px 0 0; font-weight: 600; color: #E2C987; }
.status.is-error { color: #FFB4AB; }
[hidden] { display: none !important; }

/* ----------------------------------------------------------------- form */

.request { display: grid; gap: 40px; }
@media (min-width: 900px) { .request { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; } }
.request-aside p { color: var(--ink-soft); }
.request-aside .call-line {
  font-family: var(--wide); font-weight: 800; font-size: var(--step-2);
  color: var(--ink); text-decoration: none; display: inline-block; margin-top: 4px;
}

.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: clamp(20px, 4vw, 34px);
  display: grid; gap: 18px;
}
.form .pair { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .pair { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field .hint { color: var(--ink-soft); font-size: var(--step--1); margin-top: -2px; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--input-line); border-radius: 8px;
  padding: 12px 14px; min-height: 50px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(197, 162, 83, .45); outline-offset: 0; border-color: var(--green-deep);
}
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field .error { color: var(--error); font-size: var(--step--1); font-weight: 600; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .form-hint { color: var(--ink-soft); font-size: var(--step--1); margin: -8px 0 0; }
.form .submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form .privacy-line { color: var(--ink-soft); font-size: var(--step--1); margin: 0; }
.form-status { margin: 0; font-weight: 600; }
.form-status.is-error { color: var(--error); }
.form-done {
  background: var(--mint); border-radius: 12px; padding: 28px;
}
.form-done h3 { font-family: var(--wide); font-weight: 800; margin: 0 0 8px; font-size: 1.4rem; }
.form-done p { margin: 0 0 16px; }

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--ink); color: #EDEDED;
  border-top: 4px solid var(--green);
  padding: 40px 0 56px;
  font-size: 0.97rem;
}
.site-footer a { color: #E2C987; }
.site-footer a:hover { color: #fff; }
.site-footer .wrap { display: grid; gap: 24px; }
@media (min-width: 800px) { .site-footer .wrap { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer p { margin: 0 0 6px; }
.site-footer .muted { color: #BDBDBD; }

/* ------------------------------------------------ phone quick-action bar */

.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
}
.actionbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.actionbar svg { width: 20px; height: 20px; }
.ab-call { flex: 0 0 38%; border: 2px solid var(--ink); color: var(--ink); }
.ab-book { flex: 1; background: var(--green); color: var(--on-accent); }
body { --tabbar-h: 70px; }
body[data-page="book"] .actionbar { display: none; }
body[data-page="book"], body[data-page="worker"] { --tabbar-h: 0px; }
.is-app .install-only { display: none !important; }
@media (min-width: 860px) { .actionbar { display: none; } body { --tabbar-h: 0px; } }
@media (display-mode: standalone) { .install-only { display: none !important; } }

/* ---------------------------------------------------------- simple pages */

.page { padding: clamp(36px, 6vw, 72px) 0 80px; }
.page h1 { font-family: var(--wide); font-weight: 800; font-size: var(--step-3); line-height: 1.12; margin: 0 0 20px; }
.page h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.page .prose { max-width: 68ch; }
.page .prose p, .page .prose li { color: var(--ink); }
.offline-card { max-width: 520px; }
.offline-card p { color: var(--ink-soft); }

/* --------------------------------------------- team, worker and rating pages */

.stars { color: var(--star); letter-spacing: 0.08em; white-space: nowrap; }
.rating-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.rating-line strong { font-family: var(--wide); font-weight: 800; }
.rating-line .muted { color: var(--ink-soft); font-size: var(--step--1); }

.avatar {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--mint); color: var(--green-deep);
  display: grid; place-items: center;
  font-family: var(--wide); font-weight: 800; font-size: 1.6rem;
}
.avatar.large { width: 112px; height: 112px; font-size: 2.4rem; }

/* Meet the team, on the home page */
.team-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 700px) { .team-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); } }
.team-list a {
  display: flex; gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; color: var(--ink); text-decoration: none;
}
.team-list a:hover { border-color: var(--green-deep); color: var(--ink); }
.team-list h3 { margin: 0; font-size: 1.1rem; }
.team-list p { margin: 2px 0 0; color: var(--ink-soft); font-size: var(--step--1); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(18px, 4vw, 28px);
}
.narrow { max-width: 640px; }
.stack { display: grid; gap: 18px; }

/* Profile page */
.profile-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.profile-head h1 { margin: 0 0 4px; }
.profile-head p { margin: 0; color: var(--ink-soft); }
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { display: flex; gap: 10px; padding: 6px 0; }
.tick-list li::before { content: "✓"; color: var(--gold-text); font-weight: 800; }

/* Rating form */
.star-input { border: 0; padding: 0; margin: 0; }
.star-input legend { font-weight: 600; margin-bottom: 6px; }
.star-input .row { position: relative; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label {
  font-size: 2.6rem; line-height: 1; cursor: pointer; color: #CFCAC0;
  padding: 4px; border-radius: 8px;
}
.star-input input:checked ~ label,
.star-input label:hover, .star-input label:hover ~ label { color: var(--star); }
.star-input input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }
.star-hint { min-height: 1.5em; margin: 4px 0 0; font-weight: 600; color: var(--ink-soft); }

/* Worker area */
.worker-main { padding-top: 24px; padding-bottom: 96px; display: grid; gap: 28px; max-width: 760px; }
.worker-main h1 { font-family: var(--wide); font-weight: 800; font-size: var(--step-3); line-height: 1.1; margin: 0; }
.worker-main h2 { font-family: var(--wide); font-weight: 800; font-size: 1.35rem; margin: 0 0 12px; }
.promise {
  margin: 0; padding: 14px 16px; border-radius: 12px;
  background: var(--mint); color: var(--ink); font-weight: 600;
}
.empty { color: var(--ink-soft); margin: 0; }
.job-list { display: grid; gap: 14px; }
.job-card {
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--green);
  border-radius: 12px; padding: 18px;
}
.job-card.is-offer { border-left-color: var(--star); }
.job-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.job-card h3 { margin: 0; font-size: 1.15rem; }
.tag {
  display: inline-block; font-size: 0.8rem; font-weight: 600; line-height: 1;
  padding: 6px 10px; border-radius: 999px; background: var(--mint); color: var(--ink);
}
.tag.warn { background: #FCE8D5; }
.job-facts { margin: 0 0 10px; display: grid; gap: 6px; }
.job-facts div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 10px; }
.job-facts dt { color: var(--ink-soft); font-size: var(--step--1); padding-top: 2px; }
.job-facts dd { margin: 0; font-weight: 600; }
.job-text { margin: 0 0 10px; white-space: pre-wrap; }
.job-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.link-button {
  background: none; border: 0; padding: 8px 0; font: inherit; font-size: var(--step--1);
  color: var(--ink-soft); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer;
}
.confirm-box { margin-top: 14px; padding: 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.confirm-box p { margin: 0 0 10px; }
.card-status { min-height: 1.4em; margin: 10px 0 0; font-weight: 600; color: var(--green-deep); }
.card-status.is-error { color: var(--error); }

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.stat-row div { border-top: 2px solid var(--ink); padding-top: 8px; }
.stat-row dt { color: var(--ink-soft); font-size: var(--step--1); }
.stat-row dd { margin: 0; font-family: var(--wide); font-weight: 800; font-size: 1.5rem; }
.bonus-bar { height: 10px; border-radius: 999px; background: var(--rule-blue); overflow: hidden; margin: 6px 0 4px; }
.bonus-bar span { display: block; height: 100%; background: var(--star); }
.finished-list { list-style: none; padding: 0; margin: 0; }
.finished-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.finished-list li:first-child { border-top: 0; }
.finished-list .muted, .worker-main .muted { color: var(--ink-soft); font-size: var(--step--1); }
.photo-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.signin-code { font-family: var(--wide); letter-spacing: 0.08em; text-transform: uppercase; }
.stack .submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.stack .submit-row .card-status { margin: 0; }
.card.stack > * { margin-top: 0; margin-bottom: 0; }
.card.stack h2 { font-size: 1.1rem; margin: 0 0 4px; }

/* ------------------------------------------- page layout: book, about, FAQ, contact */

.page h1::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--green); margin-top: 14px; }
.page .intro { color: var(--ink-soft); max-width: 58ch; margin: 0 0 18px; font-size: 1.08rem; }
.page.book .wrap { padding-bottom: 0; }
.narrow-text { max-width: 760px; }
.faq-group { font-size: 1.2rem; margin: 36px 0 10px; }
.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.6rem; font-weight: 400; color: var(--gold-text); }
.faq[open] summary::after { content: "\2013"; }
.faq p { margin: 0 0 16px; max-width: 62ch; color: var(--ink-soft); }
.faq-more { margin-top: 28px; }
.contact-list { list-style: none; margin: 8px 0 28px; padding: 0; max-width: 560px; }
.contact-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--ink-soft); font-size: var(--step--1); }
.contact-list .call-line { font-family: var(--wide); font-weight: 600; font-size: var(--step-2); color: var(--ink); text-decoration: none; }
.page .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.cta { background: var(--mint); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.cta h2 { margin: 0; }
.cta h2::after { display: none; }
/* ------------------------------------------------------------ quick links */
.quick { padding: 0 0 8px; }
.quick .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick a { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; }
.quick strong { font-size: 0.95rem; }
.quick span { font-size: 0.82rem; color: var(--ink-soft); }
@media (min-width: 860px) { .quick .wrap { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------ service cards and chips */
.svc-grid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 760px) { .svc-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.svc { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.svc h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.35rem; }
.svc h3 svg { width: 30px; height: 30px; color: var(--gold-text); }
.svc p { margin: 0; }
.svc .note { color: var(--ink-soft); font-size: 0.9rem; }
.svc .btn { margin-top: auto; justify-content: center; }
.prices { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.prices li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.prices strong { white-space: nowrap; color: var(--ink); }
.chips { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.chips label { flex: 1 1 0; min-width: 96px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: block; text-align: center; padding: 13px 10px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; background: #fff; cursor: pointer; }
.chips input:checked + span { border-color: var(--green); background: var(--green); color: var(--on-accent); }
.chips input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ------------------------------------------------------------- job sheet */
.eyebrow { margin: 0 0 8px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem; color: var(--gold-text); }
.hero h1 mark { background: linear-gradient(transparent 62%, rgba(197, 162, 83, 0.45) 62%); color: inherit; padding: 0 2px; }
.jobsheet {
  position: relative; margin: 8px auto 0; width: 100%; max-width: 380px;
  padding: 22px 22px 26px; background: #F6EFDD; color: var(--ink);
  border-radius: 4px; transform: rotate(2deg);
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 18px 34px -14px rgba(48, 48, 48, 0.35);
  --notch: radial-gradient(circle at 6px 0, transparent 5px, #000 5.5px);
}
.jobsheet.small { transform: rotate(-1.5deg); margin: 0 auto 20px; max-width: 340px; }
.js-head { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0 10px; border-bottom: 2px solid var(--ink); }
.js-head strong { font-size: 1.25rem; }
.js-head span { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.js-meta { margin: 0; padding: 10px 0; border-bottom: 1px solid rgba(48,48,48,.25); }
.js-meta div { display: flex; gap: 12px; padding: 3px 0; }
.js-meta dt { flex: 0 0 76px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); padding-top: 4px; }
.js-meta dd { margin: 0; font-weight: 600; }
.js-lines { list-style: none; margin: 0; padding: 0; }
.js-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(48,48,48,.2); }
.js-lines del { text-decoration-thickness: 2px; text-decoration-color: var(--green-deep); }
.js-lines span { font-weight: 600; }
.js-total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 4px; }
.js-total span { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.js-total strong { font-size: 1.6rem; }
.js-foot { margin: 8px 0 0; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.stamp {
  position: absolute; right: 14px; bottom: 54px; transform: rotate(-9deg);
  padding: 6px 16px; border: 4px double var(--green-deep); border-radius: 6px;
  color: var(--green-deep); font-weight: 800; font-size: 1.7rem; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(246, 239, 221, 0.6);
}
.jobsheet.small .stamp { bottom: 30px; font-size: 1.3rem; }
@media (max-width: 899px) { .jobsheet { margin-top: 28px; } }
@media (min-width: 900px) { .jobsheet { justify-self: center; } }

.jobsheet .js-foot { margin-top: 64px; }
.jobsheet .stamp { bottom: 36px; }
.jobsheet.small .js-foot { margin-top: 56px; }
.jobsheet.small .stamp { bottom: 22px; }

.check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-weight: 600; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green-deep); flex: none; }
.chips input[type="checkbox"]:checked + span { border-color: var(--green); background: var(--green); color: var(--on-accent); }
.app-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 10px 0; background: #fff; }
.app-card h3 { margin: 0 0 4px; }
.app-card p { margin: 2px 0; }

/* ------------------------------------------------ phone tidy-up */
@media (max-width: 859px) {
  .hero { padding: 24px 0 8px; }
  .hero .wrap { gap: 8px; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3rem); margin-bottom: 12px; max-width: none; }
  .hero p.lead { font-size: 1.05rem; margin-bottom: 18px; max-width: none; }
  .hero .actions .btn.secondary, .service-icons, .quick { display: none; }
  .hero .actions .btn { width: 100%; justify-content: center; }
  .jobsheet { max-width: 330px; margin: 20px auto 8px; padding: 16px 16px 18px; font-size: 0.92rem; }
  .jobsheet .js-foot { margin-top: 52px; }
  .stamp { font-size: 1.35rem; }
  .section { padding: 36px 0; }
  .section .intro { margin-bottom: 20px; font-size: 1rem; }
  .steps { gap: 0; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 14px 0; }
  .steps li::before { grid-row: 1 / span 2; font-size: 1.8rem; margin: 0; }
  .app-panel { gap: 20px; }
  .cta .cta-row { flex-direction: column; align-items: stretch; text-align: center; }
  .cta .btn { justify-content: center; }
  .site-footer { padding-bottom: 90px; }
}

.chips.four label { flex: 1 1 calc(50% - 8px); }
@media (min-width: 560px) { .chips.four label { flex: 1 1 0; } }

/* ------------------------------------- job sheet: crossing off, then the stamp */
.js-lines del { text-decoration: none; position: relative; }
.js-lines del::after { content: ""; position: absolute; left: -3px; right: -3px; top: 54%; height: 2.5px; border-radius: 2px; background: var(--green-deep); transform-origin: left center; transform: scaleX(1); }
.jobsheet.anim .js-lines del::after { transform: scaleX(0); }
.jobsheet.anim .stamp { opacity: 0; transform: rotate(-9deg) scale(1.9); }
.jobsheet.anim.play .js-lines del::after { animation: strike 0.55s cubic-bezier(.6,.1,.3,1) forwards; animation-delay: calc(var(--i, 0) * 0.75s + 0.5s); }
.jobsheet.anim.play .stamp { animation: stampIn 0.35s cubic-bezier(.2,.9,.3,1.2) forwards; animation-delay: 3.9s; }
.js-lines li:nth-child(1) del { --i: 0; } .js-lines li:nth-child(2) del { --i: 1; }
.js-lines li:nth-child(3) del { --i: 2; } .js-lines li:nth-child(4) del { --i: 3; }
@keyframes strike { to { transform: scaleX(1); } }
@keyframes stampIn { to { opacity: 1; transform: rotate(-9deg) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .jobsheet.anim .js-lines del::after { transform: scaleX(1); animation: none !important; }
  .jobsheet.anim .stamp { opacity: 1; transform: rotate(-9deg); animation: none !important; }
}

[hidden] { display: none !important; }
.notsure-note { background: var(--mint); border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; font-weight: 600; }

.stamp { color: #6B5120; border-color: #6B5120; background: rgba(246, 239, 221, 0.35); font-size: 1.9rem; padding: 6px 18px; }
.jobsheet .js-foot { padding-right: 150px; }
.jobsheet.small .js-foot { padding-right: 90px; }
@media (max-width: 859px) { .stamp { font-size: 1.5rem; } }

/* Torn top edge drawn as a strip (no masks, so it renders the same in every browser) */
.jobsheet::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: radial-gradient(circle at 7px 0, #fff 4.5px, transparent 5px) repeat-x; background-size: 14px 100%; pointer-events: none; }
.stamp { will-change: auto; white-space: nowrap; }

.ticks.dates label { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0; }
.ticks.dates input[type="date"] { max-width: 180px; }

.tabs { margin-bottom: 20px; }
.tabs label { flex: 1 1 0; }
.price-card { background: var(--mint); border-radius: 14px; padding: 14px 16px; margin: 0 0 18px; }
.price-big { margin: 0; font-size: 2rem; font-weight: 800; }
.price-card p { margin: 0 0 6px; }
.price-card .check { margin: 8px 0 0; }

.svc-pick { border: 0; padding: 0; margin: 0 0 16px; }
.svc-pick legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.svc-group { margin: 12px 0 6px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #666); }
.svc-opt { display: block; margin-bottom: 8px; }
.svc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.svc-opt span { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.svc-opt b { font-weight: 600; }
.svc-opt em { font-style: normal; color: var(--muted, #666); white-space: nowrap; }
.svc-opt input:checked + span { border-color: var(--green); background: var(--green); color: var(--on-accent); }
.svc-opt input:checked + span em { color: inherit; }
.svc-opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.price-total { margin: 4px 0 8px; font-weight: 700; }

.stepper-field { margin-bottom: 14px; }
.stepper { display: flex; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.stepper button { width: 56px; border: 0; background: transparent; font-size: 1.4rem; cursor: pointer; color: var(--ink); }
.stepper output { flex: 1; text-align: center; padding: 13px 8px; font-weight: 600; border-inline: 1.5px solid var(--line); }
.stepper button:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.extras { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.extras legend, .hours-pick legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.extras label { flex: 1 1 calc(33% - 8px); min-width: 96px; }
.extras input { position: absolute; opacity: 0; pointer-events: none; }
.extras label > span { display: block; text-align: center; font-size: .85rem; font-weight: 600; margin-top: 6px; }
.extras svg { display: block; width: 34px; height: 34px; margin: 0 auto; color: var(--gold, #C5A253); }
.extras label { padding: 12px 6px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; text-align: center; }
.extras label:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.extras label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.hours-pick { border: 0; padding: 0; margin: 0 0 16px; }
.hours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hours button { padding: 13px 0; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.hours button.is-rec { border-style: dashed; }
.hours button[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: var(--on-accent); border-style: solid; }
.hours button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.chips.two label { flex: 1 1 calc(50% - 8px); }
.chips small { font-weight: 400; }
.freq { border: 0; padding: 0; margin: 0 0 16px; }
.freq legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.freq-card { display: block; margin-bottom: 10px; }
.freq-card > input { position: absolute; opacity: 0; pointer-events: none; }
.freq-body { display: block; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.freq-card > input:checked + .freq-body { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.freq-card > input:focus-visible + .freq-body { outline: 3px solid var(--ink); outline-offset: 2px; }
.freq-body b { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.freq-body b i { font-style: normal; font-size: .75rem; padding: 3px 10px; border-radius: 99px; background: var(--gold, #C5A253); color: #fff; }
.freq-body ul { margin: 0 0 12px; padding-left: 18px; font-size: .92rem; }
.seg { display: flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 11px 4px; font-size: .88rem; font-weight: 600; cursor: pointer; }
.seg input:checked + span { background: var(--green); color: var(--on-accent); }

.chips.three label { flex: 1 1 calc(50% - 8px); }
.chips small { display: block; font-weight: 400; font-size: .78rem; opacity: .85; }
.daypick { border: 0; padding: 0; margin: 0 0 16px; }
.daypick legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.day-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.day-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); }
.day-nav button:disabled { opacity: .35; cursor: default; }
.day-nav button:focus-visible, .days button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.days button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; cursor: pointer; color: var(--ink); }
.days button small { font-size: .72rem; opacity: .75; }
.days button b { font-size: 1.05rem; }
.days button:disabled { opacity: .35; cursor: default; }
.days button[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: var(--on-accent); }

.summary { border: 1.5px solid var(--line); border-radius: 14px; background: #fff; padding: 16px; margin: 0 0 16px; }
.summary h3 { margin: 0 0 8px; font-size: 1.15rem; }
.sum-rows, .sum-total { margin: 0; padding: 10px 0; border-top: 1px solid var(--line); }
.sum-rows > div, .sum-total > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.sum-rows dt, .sum-total dt { margin: 0; }
.sum-rows dd, .sum-total dd { margin: 0; text-align: right; }
.sum-total .was { text-decoration: line-through; opacity: .65; }
.sum-total .now { font-weight: 700; font-size: 1.15rem; color: var(--gold-deep, var(--ink)); }
.promo { border-top: 1px solid var(--line); padding: 12px 0 4px; }
.promo label { font-weight: 600; display: block; margin-bottom: 6px; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; }
.promo-row .btn { white-space: nowrap; }
.promo-msg { margin: 8px 0 0; font-size: .9rem; min-height: 1.2em; }
.promo-msg.is-error { color: #a1261b; }
