/* ==========================================================================
   Techgeezer — v1
   Look: "workshop yellow + ink". Honest materials, hard shadows, one brave
   brand colour. Type does the heavy lifting (Bricolage Grotesque, self-hosted).
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --paper: #fffdf7;
  --ink: #17150e;
  --ink-soft: #4a463a;
  --yellow: #ffd21e;
  --yellow-deep: #f0be00;
  --red: #c22f21; /* supporting accent: tool-brand red, tiny doses only */
  --line: #17150e;
  --radius: 14px;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lift: 8px 8px 0 var(--ink);
  --font-display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 68rem;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); }

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--ink); color: var(--paper);
  padding: 0.5rem 1rem; border-radius: 0 0 8px 8px;
  z-index: 100; transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}
.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}
.btn-primary { background: var(--yellow); }
.btn-primary:hover { background: var(--yellow); }
.btn-dark { background: var(--ink); color: var(--yellow); box-shadow: 3px 3px 0 rgba(23, 21, 14, 0.35); }
.btn-dark:hover { box-shadow: 5px 5px 0 rgba(23, 21, 14, 0.35); }
.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost:hover { background: rgba(23, 21, 14, 0.05); box-shadow: none; transform: none; }
.btn-big { font-size: 1.125rem; padding: 0.85rem 1.8rem; }

/* ---------- Launch offer bar ---------- */
.offer-bar {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.55rem 1rem;
}
.offer-bar a { color: #fff; text-underline-offset: 3px; }

/* was/now pricing */
.was {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.5;
  font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.8rem 0;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
}
.logo-geezer { color: var(--ink); }
.logo-dot { color: var(--yellow-deep); }

.site-nav { margin-left: auto; }
.nav-menu {
  display: flex; gap: 1.4rem;
  align-items: baseline;
  list-style: none; margin: 0; padding: 0;
}
.nav-menu a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-menu a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--yellow); text-underline-offset: 5px; }

/* Services dropdown */
.has-sub { position: relative; }
.sub-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: inherit;
  color: var(--ink);
}
.sub-toggle svg { transition: transform 0.15s ease; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: -0.75rem;
  min-width: 13.5rem;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 0.4rem 0;
  margin: 0;
  list-style: none;
  z-index: 60;
}
/* invisible bridge so the mouse can cross the gap without closing it */
.sub-menu::before {
  content: "";
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.open .sub-menu { display: block; }
.sub-menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.sub-menu a:hover { background: var(--yellow); }
.sub-menu a[aria-current="page"] {
  background: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--yellow);
  text-underline-offset: 4px;
}

.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--ink); border-radius: 8px;
  padding: 0.55rem 0.5rem; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle-bar {
  display: block; width: 20px; height: 2.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero (graph paper: one of two textured moments) ---------- */
.hero {
  position: relative;
  padding: 4rem 0 4.5rem;
  background-image:
    linear-gradient(rgba(23, 21, 14, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 14, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 4.3rem);
  font-weight: 800;
}
.squiggle { position: relative; white-space: nowrap; }
.squiggle-svg {
  position: absolute;
  left: -2%; bottom: -0.18em;
  width: 104%; height: 0.28em;
  color: var(--yellow);
  z-index: -1;
}
.hero-sub {
  font-size: 1.2rem;
  max-width: 34rem;
  color: var(--ink-soft);
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 0.9rem;
  margin-top: 1.8rem;
}
.hero-trust {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Photo placeholder — looks deliberate until the real photo shows up */
.hero-photo { justify-self: center; }
.photo-frame {
  position: relative;
  width: min(18rem, 70vw);
  aspect-ratio: 4 / 5;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.photo-tape {
  position: absolute;
  width: 5.5rem; height: 1.6rem;
  background: rgba(255, 210, 30, 0.85);
  border: 1px solid rgba(23, 21, 14, 0.15);
  top: -0.8rem;
}
.photo-tape-left { left: -1.4rem; transform: rotate(-12deg); }
.photo-tape-right { right: -1.4rem; transform: rotate(9deg); }
.photo-placeholder {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.35;
}
.photo-face {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  transform: rotate(90deg);
  margin-bottom: 1rem;
}
.photo-small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--yellow);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  padding: 0.65rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-content {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding-right: 0.5rem;
}
.marquee-content i { font-style: normal; padding: 0 0.6rem; color: var(--red); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-tint {
  background: #f7f3e8;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.section-title {
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 800;
}
.section-title-big { font-size: clamp(2.4rem, 7vw, 4rem); }
.section-intro {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

/* ---------- Services ---------- */
.services {
  display: grid;
  gap: 1.4rem;
}
.card {
  position: relative;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem 1.5rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lift);
}
.card h3 { font-size: 1.45rem; margin-bottom: 0.4em; }
.card p { color: var(--ink-soft); }
.card-featured { background: var(--yellow); }
.card-featured p { color: var(--ink); }
.card-tag {
  position: absolute;
  top: -0.9rem; right: 1.2rem;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  transform: rotate(2deg);
}
.card-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 1rem;
}
.card-featured .card-price { color: var(--ink); }
.card-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}
.step { position: relative; padding-left: 4.2rem; }
.step-num {
  position: absolute;
  left: 0; top: 0.1rem;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 3px 3px 0 var(--ink);
}
.step h3 { font-size: 1.35rem; margin-bottom: 0.3em; }
.step p { color: var(--ink-soft); max-width: 32rem; }

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 2rem; }
.why-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 1.3rem;
  max-width: 40rem;
}
.why-list li {
  padding-left: 2rem;
  position: relative;
  color: var(--ink-soft);
}
.why-list li::before {
  content: "✳";
  position: absolute;
  left: 0; top: 0;
  color: var(--yellow-deep);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.4;
}
.why-list strong { color: var(--ink); }

/* ---------- Dark band: workshop at night ---------- */
.section-dark {
  background: var(--ink);
  color: var(--paper);
}
.section-dark a { color: var(--paper); }
.section-dark .why-list li { color: #b6ad99; }
.section-dark .why-list strong { color: var(--paper); }

/* ---------- Work / shipped projects ---------- */
.work { display: grid; gap: 1.4rem; }
.work-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.work-head h3 { font-size: 1.35rem; margin: 0; }
.work-icon {
  flex: none;
  width: 56px; height: 56px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.work-icon svg { width: 32px; height: 32px; display: block; }
.work-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin: 0.15rem 0 0;
}
.work-links { margin-top: 1rem; }
.work-links a {
  font-weight: 700;
  font-size: 0.95rem;
  margin-right: 1.2rem;
}

@media (min-width: 44rem) {
  .work { grid-template-columns: 1fr 1fr; }
}

/* ---------- AI training spotlight ---------- */
.section-yellow {
  background: var(--yellow);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.section-yellow .eyebrow { color: var(--ink); }
.spotlight-grid {
  display: grid;
  gap: 1.8rem;
  margin: 2.5rem 0;
}
.spotlight-item {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.spotlight-item h3 { font-size: 1.2rem; }
.spotlight-item p { color: var(--ink-soft); }
.spotlight-cta { text-align: center; margin-top: 2.5rem; }
.spotlight-price {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Care ---------- */
.care-grid { display: grid; gap: 2.5rem; align-items: center; }
.care-copy { max-width: 38rem; }
.care-copy p { color: var(--ink-soft); }
.care-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink) !important;
  margin-top: 1.2rem;
}

/* ---------- Referrals ---------- */
.referral-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.referral-copy p {
  color: var(--ink-soft);
  max-width: 36rem;
}
.referral-cta { margin-top: 1.6rem; }
.referral-badge {
  justify-self: center;
  width: 11rem;
  height: 11rem;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: var(--shadow);
  transform: rotate(6deg);
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--font-display);
}
.referral-badge-num {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
}
.referral-badge-label {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

/* ---------- Contact: pinned job sheet on the dark wall ---------- */
.section-contact {
  position: relative;
  border-top: 2px solid var(--ink);
  text-align: center;
  padding: 5.5rem 0;
  background-color: var(--ink);
  background-image: radial-gradient(rgba(255, 253, 247, 0.07) 2.2px, transparent 2.8px);
  background-size: 30px 30px;
  background-position: 15px 15px;
}
.section-contact .contact-inner { box-shadow: 6px 6px 0 var(--yellow); }
.contact-inner {
  position: relative;
  width: min(46rem, 100% - 2.5rem);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem clamp(1.5rem, 5vw, 3.5rem) 3.2rem;
  transform: rotate(-0.4deg);
}
.contact-inner::before,
.contact-inner::after {
  content: "";
  position: absolute;
  top: -0.85rem;
  width: 5.5rem;
  height: 1.6rem;
  background: rgba(255, 210, 30, 0.85);
  border: 1px solid rgba(23, 21, 14, 0.15);
}
.contact-inner::before { left: 8%; transform: rotate(-8deg); }
.contact-inner::after { right: 8%; transform: rotate(6deg); }

/* rubber stamp on the job sheet */
.stamp {
  position: absolute;
  top: 1.6rem;
  right: 1.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  border: 3px solid var(--red);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  transform: rotate(9deg);
  opacity: 0.8;
}
@media (max-width: 43.99rem) {
  .stamp { position: static; display: inline-block; margin-bottom: 1rem; }
}
.contact-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 auto 2.2rem;
}
.contact-ctas {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem 0;
  font-size: 0.95rem;
}
.site-footer a { color: var(--paper); }
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.footer-muted { opacity: 0.6; }
.footer-note {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--yellow);
}

/* ---------- Workshop furniture ---------- */
/* Masking-tape labels */
.tape {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: rgba(255, 210, 30, 0.92);
  padding: 0.4rem 1.1rem;
  transform: rotate(-2deg);
  box-shadow: 2px 3px 0 rgba(23, 21, 14, 0.12);
  clip-path: polygon(2% 0, 98% 5%, 100% 35%, 99% 100%, 2% 94%, 0 55%);
  margin-bottom: 1.3rem;
}
.tape-dark {
  background: var(--ink);
  color: var(--yellow);
  box-shadow: 2px 3px 0 rgba(23, 21, 14, 0.25);
}

/* Ruler-tick divider */
.ruler {
  height: 14px;
  background-image:
    repeating-linear-gradient(90deg, rgba(23, 21, 14, 0.4) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, rgba(23, 21, 14, 0.55) 0 1px, transparent 1px 50px);
  background-size: 10px 7px, 50px 14px;
  background-repeat: repeat-x;
  background-position: left bottom, left bottom;
}

/* ---------- Service subpages ---------- */
.page-hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  border-bottom: 2px solid var(--ink);
  background-image:
    linear-gradient(rgba(23, 21, 14, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 14, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 14px;
  background-image:
    repeating-linear-gradient(90deg, rgba(23, 21, 14, 0.4) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, rgba(23, 21, 14, 0.55) 0 1px, transparent 1px 50px);
  background-size: 10px 7px, 50px 14px;
  background-repeat: repeat-x;
  background-position: left bottom, left bottom;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.2rem);
  font-weight: 800;
}
.page-lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 38rem;
}
.star-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.3rem;
  max-width: 40rem;
}
.star-list li {
  padding-left: 2rem;
  position: relative;
  color: var(--ink-soft);
}
.star-list li::before {
  content: "✳";
  position: absolute;
  left: 0; top: 0;
  color: var(--yellow-deep);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.4;
}
.star-list strong { color: var(--ink); }
.faq {
  display: grid;
  gap: 1.6rem;
  margin-top: 2.5rem;
  max-width: 44rem;
}
.faq h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.faq p { color: var(--ink-soft); }
.footer-links { margin-top: 0.4rem; }

/* ---------- Doodles & spot illustrations ---------- */
/* Icon chips on service cards (same family as .work-icon) */
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 1.1rem;
  transform: rotate(-2deg);
}
.card-icon svg { width: 32px; height: 32px; display: block; }
.card-featured .card-icon { background: var(--paper); }

/* Round chips on the yellow spotlight cards */
.spot-icon {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 1rem;
}
.spot-icon svg { width: 26px; height: 26px; display: block; }

/* Hand-drawn arrow between process steps — pure CSS so every .steps list gets it */
@media (min-width: 44rem) {
  .step { position: relative; }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0.55rem;
    right: -3.1rem;
    width: 2.6rem;
    height: 1.9rem;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2060%2030'%20fill='none'%20stroke='%2317150e'%20stroke-width='4.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2018%20C%2018%208%2034%2024%2052%2013'/%3E%3Cpath%20d='M44%208%20L53%2013%20L46%2021'/%3E%3C/svg%3E") no-repeat center / contain;
    transform: rotate(-5deg);
  }
}

/* Floating scribbles: hidden on small screens, decorative only */
.hero-doodle, .page-doodle, .contact-plane { display: none; }
@media (min-width: 56rem) {
  .hero-doodle { display: block; position: absolute; }
  .hero-doodle-spark {
    top: 3.2rem;
    left: 55%;
    width: 3.4rem;
    color: var(--yellow-deep);
    transform: rotate(12deg);
  }
  .hero-doodle-coil {
    bottom: 1.6rem;
    left: 0;
    width: 7.5rem;
    color: var(--ink-soft);
    opacity: 0.45;
  }
  .page-doodle {
    display: block;
    position: absolute;
    right: 4%;
    top: 50%;
    width: clamp(11rem, 20vw, 15rem);
    transform: translateY(-50%) rotate(3deg);
    color: var(--ink);
  }
  .contact-plane {
    display: block;
    position: absolute;
    top: 2.8rem;
    left: 7%;
    width: 6.5rem;
    color: var(--paper);
    opacity: 0.9;
    transform: rotate(-8deg);
  }
}

/* Spot illustrations */
.care-doodle {
  justify-self: center;
  width: min(15rem, 62vw);
  color: var(--ink);
}
.why-doodle {
  width: min(12.5rem, 55vw);
  margin-top: 2.2rem;
  color: var(--paper);
  transform: rotate(-2deg);
}

/* Sketch portrait card (About) */
.sketch-card {
  position: relative;
  width: 11rem;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  padding: 1rem 1rem 0.8rem;
  margin: 2.2rem 0 0;
  text-align: center;
}
.sketch-card::before {
  content: "";
  position: absolute;
  top: -0.8rem;
  left: 50%;
  width: 5rem;
  height: 1.5rem;
  margin-left: -2.5rem;
  background: rgba(255, 210, 30, 0.85);
  border: 1px solid rgba(23, 21, 14, 0.15);
  transform: rotate(-3deg);
}
.sketch-card svg { width: 100%; height: auto; color: var(--ink); }
.sketch-card figcaption {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

/* ---------- Scroll reveal (JS adds .js to <html>; no JS = everything visible) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Layout: tablet and up ---------- */
@media (min-width: 44rem) {
  .services { grid-template-columns: 1fr 1fr; }
  .card-featured { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 3.5rem; }
  .step { padding-left: 0; padding-top: 4rem; }
  .step-num { top: 0; }
  .spotlight-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .card-featured { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .referral-grid { grid-template-columns: 1.5fr 1fr; }
  .care-grid { grid-template-columns: 1.25fr 1fr; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 43.99rem) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    display: block;
    padding: 0.7rem 0;
    font-size: 1.05rem;
  }
  /* dropdown flattens into a labelled group inside the mobile menu */
  .sub-toggle { pointer-events: none; font-size: 1.05rem; padding: 0.7rem 0 0.2rem; }
  .sub-toggle svg { display: none; }
  .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    border: none;
    border-left: 2px solid var(--yellow);
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0.3rem 1rem;
    margin-left: 0.2rem;
  }
  .sub-menu::before { display: none; }
  .sub-menu a { padding: 0.55rem 0; font-size: 1rem; }
  .btn-header { margin-left: auto; font-size: 0.9rem; padding: 0.55rem 1rem; }
  .site-nav { margin-left: 0; order: 3; }
  .header-inner { flex-wrap: nowrap; }
  .hero { padding-top: 3rem; }
  .hero-photo { display: none; } /* keep the fold for copy + CTA on phones */
}
