/* Chicago Mobile Notary Service — "official document, carried to you" */
:root {
  --paper: #EEF2EE;
  --paper-2: #E3E9E4;
  --card: #F8FAF7;
  --ink: #2E2A85;
  --ink-2: #4A46A8;
  --ink-wash: rgba(46, 42, 133, .08);
  --text: #15171C;
  --muted: #545A66;
  --brass: #A8873A;
  --brass-soft: #E7D9AE;
  --lake: #9CC9E4;
  --line: #C9D2CB;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-s: 6px;
  --radius-m: 14px;
  --wrap: 1180px;
  --guilloche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'%3E%3Cg fill='none' stroke='%232E2A85' stroke-width='.6' opacity='.16'%3E%3Cpath d='M0 20c15-18 45-18 60 0s45 18 60 0'/%3E%3Cpath d='M0 20c15 18 45 18 60 0s45-18 60 0'/%3E%3Cpath d='M0 10c15-10 45-10 60 0s45 10 60 0'/%3E%3Cpath d='M0 30c15 10 45 10 60 0s45-10 60 0'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.65 var(--body); }
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink-2); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

/* Type */
.display, .display-sm, .h2, .h3, .logo-word, .where-name, .r-title, .footer-h, .steps h3 {
  font-family: var(--display); font-stretch: 118%; letter-spacing: -.01em; color: var(--text);
}
.display { font-size: clamp(2.7rem, 6.4vw, 5.6rem); line-height: .98; font-weight: 800; margin: 0 0 .35em; font-stretch: 125%; letter-spacing: -.03em; }
.display-sm { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.04; font-weight: 800; margin: 0 0 .4em; letter-spacing: -.02em; }
.h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.1; font-weight: 750; margin: 0 0 .5em; }
.h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 700; margin: 0 0 .5em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.55; color: #2A2E37; max-width: 60ch; }
p { max-width: 68ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 1rem/1 var(--body); padding: .95em 1.35em; border-radius: 999px; text-decoration: none; border: 2px solid var(--ink); transition: background-color .15s, color .15s; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink-wash); }
.btn-sm { padding: .65em 1.05em; font-size: .92rem; }
.btn-block { display: flex; width: 100%; }
.text-link { font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 1.6rem 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(238, 242, 238, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 48px; height: 48px; color: var(--ink); }
.logo-word { display: flex; flex-direction: column; font-weight: 800; font-size: 1rem; line-height: 1.05; color: var(--text); }
.logo-word span:last-child { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 4px 22px; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--ink); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: var(--text); position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.section-head p { margin: 0; color: var(--muted); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--guilloche); background-size: 120px 40px; mask-image: linear-gradient(100deg, transparent 0%, #000 55%, transparent 100%); -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 55%, transparent 100%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero-facts { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: .95rem; }
.hero-facts li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); margin-right: 9px; vertical-align: middle; }

/* The hero document + stamp moment */
.hero-doc { perspective: 1200px; }
.doc { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 44px 40px 40px; box-shadow: 0 1px 0 #fff inset, 0 30px 60px -30px rgba(21, 23, 28, .35), 0 8px 16px -10px rgba(21, 23, 28, .18); transform: rotate(2.2deg); max-width: 440px; margin-left: auto; }
.doc-guilloche { position: absolute; inset: 14px; border: 1px solid rgba(46, 42, 133, .25); border-radius: 3px; background: var(--guilloche); background-size: 90px 30px; opacity: .55; pointer-events: none; }
.doc > *:not(.doc-guilloche) { position: relative; }
.doc-kicker { font-family: var(--display); font-stretch: 125%; font-weight: 700; color: var(--ink); margin: 0 0 6px; font-size: .95rem; }
.doc-title { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; margin: 0 0 22px; }
.doc-lines { display: grid; gap: 11px; margin-bottom: 26px; }
.doc-lines span { height: 7px; border-radius: 4px; background: #D5DCD6; }
.doc-lines .short { width: 55%; }
.doc-sign { width: 78%; height: auto; margin-bottom: 2px; }
.doc-sign path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: sign 1.5s .35s cubic-bezier(.6, .1, .3, 1) forwards; }
.doc-sigline { border-top: 1.5px solid var(--text); width: 78%; padding-top: 6px; font-size: .78rem; color: var(--muted); }
.stamp-press { position: absolute; right: -34px; bottom: -40px; width: 190px; height: 190px; color: var(--ink); }
.hero-stamp { width: 100%; height: 100%; opacity: 0; transform: translate(40px, -90px) scale(1.7) rotate(-28deg); animation: stamp .7s 1.7s cubic-bezier(.2, .7, .2, 1.2) forwards; mix-blend-mode: multiply; }
.stamp-press::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(46, 42, 133, .22), transparent 70%); opacity: 0; animation: ink 1.2s 2.15s ease-out forwards; }
@keyframes sign { to { stroke-dashoffset: 0; } }
@keyframes stamp { 0% { opacity: 0; } 60% { opacity: .95; transform: translate(0, 0) scale(.92) rotate(-11deg); } 100% { opacity: .9; transform: translate(0, 0) scale(1) rotate(-12deg); } }
@keyframes ink { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.5); } }

/* Where I go */
.where-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--text); }
.where-item a { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); height: 100%; }
.where-item:nth-child(odd) a { border-right: 1px solid var(--line); padding-right: 28px; }
.where-item:nth-child(even) a { padding-left: 28px; }
.where-item a:hover .where-name { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.where-name { display: block; font-weight: 750; font-size: 1.22rem; line-height: 1.2; margin-bottom: 6px; }
.where-desc { display: block; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.illo { width: 100%; height: auto; }
.illo-float { transition: transform .45s cubic-bezier(.3, .7, .3, 1); }
a:hover .illo-float, a:focus-visible .illo-float { transform: translateY(-6px) rotate(-2deg); }
.illo-sign { stroke-dasharray: 80; stroke-dashoffset: 0; }
a:hover .illo-sign { animation: resign .9s ease forwards; }
@keyframes resign { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }

/* Steps (a real sequence, so numbered) */
.steps-band { background: var(--ink); color: #fff; }
.steps-band .h2 { color: #fff; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: s; position: relative; padding-top: 58px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font: 800 1.05rem/1 var(--display); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 54px; right: -16px; border-top: 2px dashed rgba(255, 255, 255, .4); }
.steps h3 { font-size: 1.15rem; margin: 0 0 6px; color: inherit; }
.steps p { margin: 0; color: rgba(255, 255, 255, .82); font-size: .98rem; }
.steps-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); color: var(--text); }
.steps-compact li::before { color: var(--ink); }
.steps-compact li:not(:last-child)::after { display: none; }
.steps-compact p { color: var(--muted); }

/* Map */
.map-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: 40px; align-items: start; }
.route-map { width: 100%; height: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); }
.lake { fill: var(--lake); opacity: .55; }
.lake-label { font: italic 600 15px var(--body); fill: #3E6F8E; }
.route { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-dasharray: 5 6; opacity: .75; }
.map-town circle { fill: var(--card); stroke: var(--ink); stroke-width: 2.4; }
.map-town.is-home circle { fill: var(--brass); stroke: var(--ink); stroke-width: 3; }
.map-town text { font: 600 14px var(--body); fill: var(--text); paint-order: stroke; stroke: var(--card); stroke-width: 4px; stroke-linejoin: round; }
.map-town.is-home text { font-weight: 800; font-size: 16px; }
.map-town:hover circle { fill: var(--ink); }
.map-town:hover text { fill: var(--ink); text-decoration: underline; }
.dekalb path, .map-scale path { fill: none; stroke: var(--muted); stroke-width: 1.6; }
.dekalb text, .map-scale text { font: 13px var(--body); fill: var(--muted); }
.js .map-section .route { stroke-dasharray: 600; stroke-dashoffset: 600; }
.js .map-section.is-visible .route { animation: draw 1.6s var(--d) cubic-bezier(.4, .1, .2, 1) forwards; }
@keyframes draw { 0% { stroke-dashoffset: 600; stroke-dasharray: 600; } 99% { stroke-dashoffset: 0; stroke-dasharray: 600; } 100% { stroke-dashoffset: 0; stroke-dasharray: 5 6; } }
.map-towns h3 { margin-top: 0; }
.map-towns ul { list-style: none; padding: 0; margin: 0 0 16px; columns: 2; column-gap: 24px; }
.map-towns li { padding: 5px 0; break-inside: avoid; }
.more-towns { color: var(--muted); font-size: .95rem; }

/* Receipt */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.receipt { margin: 0; background: #FCFCF8; padding: 30px 30px 34px; font-size: .98rem; box-shadow: 0 24px 40px -28px rgba(21, 23, 28, .45); position: relative; transform: rotate(-1deg);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) bottom / 18px 12px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) bottom / 18px 12px repeat-x; }
.r-head { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1.5px dashed var(--muted); }
.receipt-mark { width: 54px; height: 54px; color: var(--ink); flex: none; }
.r-title { font-weight: 800; font-size: 1.05rem; margin: 0; line-height: 1.2; }
.r-sub { margin: 2px 0 0; color: var(--muted); font-size: .85rem; }
.r-section { margin: 20px 0 8px; font-weight: 700; color: var(--ink); font-size: .92rem; }
.r-line { padding: 6px 0; }
.r-row { display: flex; align-items: baseline; gap: 8px; }
.r-item { flex: 0 1 auto; }
.r-line small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; padding-right: 90px; }
.r-dots { flex: 1 1 auto; border-bottom: 2px dotted #A7AFA9; transform: translateY(-4px); min-width: 16px; }
.r-amt { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.r-foot { margin: 20px 0 0; padding-top: 14px; border-top: 1.5px dashed var(--muted); font-size: .86rem; color: var(--muted); }

/* About band */
.about-band { background: var(--paper-2); }
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.portrait img, .portrait-placeholder { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-m); }
.portrait-placeholder { background: var(--card) var(--guilloche); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.portrait-mark { width: 52%; opacity: .85; }
.about-page { align-items: start; }
.creds { margin: 24px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.creds div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.creds dt { font-weight: 700; } .creds dd { margin: 0; }

/* FAQ */
.faq-list { border-top: 1.5px solid var(--text); max-width: 880px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 650; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { margin: 0 0 20px; color: #2A2E37; }

/* Final CTA */
.final-cta { text-align: left; border-top: 1.5px solid var(--text); }

/* Inner pages */
.page-head { padding-bottom: 24px; }
.service-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: center; padding-block: 40px 56px; }
.service-illo { background: var(--card) var(--guilloche); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; }
.price-chip { display: inline-block; background: var(--card); border: 1px dashed var(--ink); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-s); font-size: .95rem; font-weight: 600; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; padding-bottom: 32px; }
.content-block { padding: 28px 0; border-top: 1px solid var(--line); }
.content-block:first-child { border-top: 1.5px solid var(--text); }
.content-block.note { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px 28px; margin-top: 12px; }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 30px; max-width: 64ch; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 13px; height: 7px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.content-side { position: sticky; top: 96px; display: grid; gap: 20px; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px; }
.side-card p { margin: 0 0 10px; } .side-card .h3 { font-size: 1.1rem; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mini-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.mini-list a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 600; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--card); }
.mini-list .illo { width: 64px; flex: none; }
.mini-list a:hover { border-color: var(--ink); color: var(--ink); }
.area-fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 22px 24px; }
.area-fact p { margin: 0 0 12px; }
.fact-label { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.article { max-width: 820px; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: .95rem; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1.5px solid #AEB8B0; border-radius: var(--radius-s); background: #fff; color: var(--text); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(46, 42, 133, .18); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #1E6B3A; } .form-status.err { color: #B3261E; }
.form-fine { margin: 0; color: var(--muted); font-size: .86rem; }

/* Footer */
.site-footer { background: var(--text); color: #D7DBE2; padding: 64px 0 120px; margin-top: 40px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-mark { width: 72px; height: 72px; color: var(--brass-soft); margin-bottom: 14px; }
.footer-h { color: #fff; font-size: 1rem; margin: 0 0 12px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .95rem; }
.footer-legal { border-top: 1px solid #343843; margin-top: 40px; padding-top: 20px; font-size: .88rem; color: #A9AFBA; }
.call-bar { display: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .price-grid, .about-grid, .map-grid, .service-hero, .content-grid, .contact-grid, .section-head { grid-template-columns: 1fr; }
  .doc { margin: 20px auto 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-side { position: static; }
  .service-illo { max-width: 360px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 12px; }
  .where-list { grid-template-columns: 1fr; }
  .where-item:nth-child(odd) a { border-right: 0; padding-right: 8px; }
  .where-item:nth-child(even) a { padding-left: 8px; }
  .call-bar { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(248, 250, 247, .96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  .call-bar .btn { padding: .8em .6em; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .where-item a { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; }
  .steps, .steps-compact, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .doc { padding: 32px 26px 30px; }
  .stamp-press { width: 140px; height: 140px; right: -14px; bottom: -34px; }
  .map-towns ul { columns: 1; }
  .creds div { grid-template-columns: 1fr; gap: 2px; }
  .logo-word { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .js .map-section .route { stroke-dasharray: 5 6; stroke-dashoffset: 0; }
}
@media print { .site-header, .call-bar, .site-footer, .cta-row { display: none; } }

/* ===== Creative pass: motion tied to the work ===== */
/* Desk scene in the hero: stacked sheets, a pen that signs, a stamp that lands */
.desk { position: relative; max-width: 440px; margin-left: auto; transition: transform .25s ease-out; transform-style: preserve-3d; }
.sheet { position: absolute; inset: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: 0 18px 30px -24px rgba(21, 23, 28, .4); }
.sheet-3 { transform: rotate(-6deg) translate(-26px, 14px); background: #E9EEE9; }
.sheet-2 { transform: rotate(-2.5deg) translate(-12px, 6px); }
.desk .doc { margin-left: 0; animation: thud .22s 2.12s ease-out; }
@keyframes thud { 40% { transform: rotate(2.2deg) translateY(3px) scale(.995); } 100% { transform: rotate(2.2deg); } }
.pen { opacity: 1; }
.js .pen { animation: pen-away .4s 1.95s ease-in forwards; }
@keyframes pen-away { to { opacity: 0; transform: translate(30px, -30px); } }
.hl-line { display: inline-block; }

/* Tape: a strip of notary tape listing where I go */
.tape { background: var(--ink); color: #fff; transform: rotate(-1.6deg); margin: -18px -12px 0; overflow: hidden; border-block: 2px solid var(--text); position: relative; z-index: 2; }
.tape-track { display: flex; align-items: center; gap: 26px; width: max-content; padding: 14px 0; animation: tape 38s linear infinite; }
.tape span { font: 800 1.15rem/1 var(--display); font-stretch: 118%; white-space: nowrap; }
.tape-star { width: 16px; height: 16px; fill: var(--brass-soft); flex: none; }
.tape:hover .tape-track { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }

/* Illustrations draw themselves in ink when they scroll into view */
.js [data-reveal] [data-draw] [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js [data-reveal].is-visible [data-draw] [pathLength] { animation: ink-draw 1.1s cubic-bezier(.5, .1, .2, 1) forwards; }
.js [data-reveal] [data-draw] g > [fill]:not([fill="none"]) { fill-opacity: 0; }
.js [data-reveal].is-visible [data-draw] g > [fill]:not([fill="none"]) { animation: ink-fill .6s .8s ease forwards; }
.js .where-list.is-visible .where-item:nth-child(2) [pathLength] { animation-delay: .12s; }
.js .where-list.is-visible .where-item:nth-child(3) [pathLength] { animation-delay: .24s; }
.js .where-list.is-visible .where-item:nth-child(4) [pathLength] { animation-delay: .36s; }
.js .where-list.is-visible .where-item:nth-child(5) [pathLength] { animation-delay: .48s; }
.js .where-list.is-visible .where-item:nth-child(6) [pathLength] { animation-delay: .6s; }
.js .where-list.is-visible .where-item:nth-child(7) [pathLength] { animation-delay: .72s; }
.js .where-list.is-visible .where-item:nth-child(8) [pathLength] { animation-delay: .84s; }
@keyframes ink-draw { to { stroke-dashoffset: 0; } }
@keyframes ink-fill { to { fill-opacity: 1; } }
.where-item a { transition: background-color .2s; }
.where-item a:hover { background: linear-gradient(90deg, var(--ink-wash), transparent 70%); }

/* Steps stamp in one after another */
.js .steps[data-reveal] li::before { transform: scale(1.6) rotate(-20deg); opacity: 0; }
.js .steps[data-reveal] li::after { transform: scaleX(0); transform-origin: left; }
.js .steps[data-reveal].is-visible li::before { animation: step-stamp .45s cubic-bezier(.2, .8, .3, 1.3) forwards; }
.js .steps[data-reveal].is-visible li::after { animation: step-line .5s ease forwards; }
.js .steps.is-visible li:nth-child(1)::before { animation-delay: .05s; } .js .steps.is-visible li:nth-child(1)::after { animation-delay: .35s; }
.js .steps.is-visible li:nth-child(2)::before { animation-delay: .7s; }  .js .steps.is-visible li:nth-child(2)::after { animation-delay: 1s; }
.js .steps.is-visible li:nth-child(3)::before { animation-delay: 1.35s; } .js .steps.is-visible li:nth-child(3)::after { animation-delay: 1.65s; }
.js .steps.is-visible li:nth-child(4)::before { animation-delay: 2s; }
@keyframes step-stamp { to { transform: none; opacity: 1; } }
@keyframes step-line { to { transform: scaleX(1); } }

/* Map: a home-base pulse, and a van that drives the routes */
.home-pulse { fill: none; stroke: var(--brass); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.van { opacity: 0; transition: opacity .3s; pointer-events: none; }
.van.on { opacity: 1; }
.van rect:first-child { fill: var(--ink); }
.van .van-window { fill: var(--brass-soft); }
.van circle { fill: var(--text); stroke: var(--card); stroke-width: 1.5; }
.route.active { opacity: 1; stroke-width: 3; stroke: var(--brass); }
.map-town.arrived circle { fill: var(--brass); }

/* The receipt prints out of a slot */
.printer { position: relative; padding-top: 10px; }
.printer-slot { height: 16px; margin: 0 -10px; background: var(--text); border-radius: 10px; box-shadow: inset 0 -5px 0 #2C303A; position: relative; z-index: 2; }
.printer .receipt { transform-origin: top center; margin-top: -6px; }
.js .printer .receipt { clip-path: inset(0 0 100% 0); transform: translateY(-40px) rotate(0); }
.js [data-reveal].is-visible .printer .receipt { animation: print 1.8s .2s steps(18, end) forwards; }
@keyframes print { to { clip-path: inset(0 0 -40px 0); transform: translateY(0) rotate(-1deg); } }

/* Buttons: ink presses in */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-ink::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform: translateY(101%); transition: transform .25s cubic-bezier(.3, .7, .3, 1); z-index: -1; }
.btn-ink:hover::after { transform: none; }
.btn-ink:hover { color: var(--text); border-color: var(--brass); background: var(--ink); }
.btn:active { transform: scale(.97); }
.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-paper:hover { background: #fff; color: var(--ink); }
.btn-line-light { color: #fff; border-color: rgba(255, 255, 255, .7); background: transparent; }
.btn-line-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* Final call band with a slowly turning stamp */
.final-cta { background: var(--ink); color: #fff; border: 0; padding-block: clamp(64px, 9vw, 120px); overflow: hidden; margin-top: 40px; }
.final-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.final-cta .display-sm { color: #fff; }
.final-cta p { color: rgba(255, 255, 255, .85); }
.final-stamp { width: clamp(160px, 22vw, 280px); color: var(--brass-soft); opacity: .9; animation: turn 60s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.final-cta + .site-footer, main:has(.final-cta:last-child) + .site-footer { margin-top: 0; }

/* Perforated divider between major bands */
.where::before { content: ""; display: block; height: 0; border-top: 2px dashed var(--line); margin-bottom: clamp(40px, 6vw, 72px); }

@media (max-width: 860px) {
  .final-inner { grid-template-columns: 1fr; }
  .final-stamp { width: 140px; }
  .desk { margin: 24px auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tape-track, .final-stamp, .home-pulse { animation: none !important; }
  .js [data-reveal] [data-draw] [pathLength] { stroke-dashoffset: 0; }
  .js [data-reveal] [data-draw] g > [fill]:not([fill="none"]) { fill-opacity: 1; }
  .js .printer .receipt { clip-path: none; transform: rotate(-1deg); }
  .js .steps[data-reveal] li::before, .js .steps[data-reveal] li::after { transform: none; opacity: 1; }
  .van { display: none; }
}
