/* Hometown Site Co business site. Shares tokens with the questionnaire (base.css). */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--sheet); padding: 0.5rem 0.8rem; border-radius: 8px; }
h1 { font-size: clamp(2.25rem, 6.2vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; font-weight: 850; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); letter-spacing: -0.018em; margin-bottom: 0.9rem; }
h3, .h3 { font-size: 1.2rem; margin-bottom: 0.35rem; letter-spacing: -0.01em; }
p + p { margin-top: 0.8rem; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--ink-2); max-width: 40rem; margin-top: 1.1rem; }
.small { color: var(--muted); font-size: 0.95rem; margin-top: 0.9rem; }
.btn.big { min-height: 54px; padding: 0 1.5rem; font-size: 1.08rem; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(244, 245, 241, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.head-row { display: flex; align-items: center; gap: 1.25rem; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; font-weight: 850; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.brand.light { color: #fff; }
.nav-wide { display: flex; gap: 1.1rem; margin-left: auto; }
.nav-wide a, .nav-small nav a { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.nav-wide a:hover, .nav-wide a[aria-current='page'] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }
.head-cta { min-height: 44px; font-size: 0.98rem; }
.nav-small { display: none; position: relative; }
.nav-small summary { list-style: none; cursor: pointer; font-weight: 700; padding: 0.55rem 0.9rem; border: 1.5px solid var(--ink); border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-small summary::-webkit-details-marker { display: none; }
.nav-small nav { position: absolute; right: 0; top: calc(100% + 8px); background: var(--sheet); border: 1px solid var(--line); border-radius: 14px; padding: 0.5rem; display: grid; min-width: 15rem; box-shadow: 0 16px 40px rgba(23, 42, 58, 0.16); }
.nav-small nav a { padding: 0.75rem 0.85rem; border-radius: 8px; }
.nav-small nav a:last-child { background: var(--ink); color: #fff; margin-top: 0.3rem; text-align: center; }
@media (max-width: 920px) { .nav-wide, .head-cta { display: none; } .nav-small { display: block; margin-left: auto; } }

/* hero */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* the phone: the one bold thing on the page */
.phone { margin: 0 auto; width: min(320px, 86vw); }
.phone-screen { position: relative; aspect-ratio: 9 / 18.5; border-radius: 44px; background: linear-gradient(160deg, #24435C 0%, #172A3A 55%, #0F1F2B 100%); border: 10px solid #0E1A24; box-shadow: 0 30px 70px rgba(23, 42, 58, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.06); padding: 3.2rem 0.85rem 1rem; overflow: hidden; }
.phone-screen::before { content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 34%; height: 24px; border-radius: 14px; background: #0E1A24; }
.phone-time { color: #fff; text-align: center; font-weight: 300; font-size: 3.4rem; letter-spacing: -0.03em; line-height: 1; margin-bottom: 1.5rem; font-variant-numeric: tabular-nums; }
.notes { display: grid; gap: 0.55rem; }
.note-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 0.5rem; background: rgba(255, 255, 255, 0.9); border-radius: 16px; padding: 0.7rem 0.8rem; color: var(--ink); font-size: 0.86rem; line-height: 1.3; animation: slide-in 600ms cubic-bezier(.2, .8, .2, 1) both; }
.note-card b { font-size: 0.9rem; }
.note-card span { grid-column: 1 / -1; color: var(--ink-2); }
.note-card i { grid-row: 1; grid-column: 2; font-style: normal; color: var(--muted); font-size: 0.78rem; }
.note-card:first-child { box-shadow: inset 4px 0 0 var(--marker); }
.note-card:nth-child(1) { animation-delay: 1300ms; }
.note-card:nth-child(2) { animation-delay: 700ms; }
.note-card:nth-child(3) { animation-delay: 200ms; }
@keyframes slide-in { from { opacity: 0; transform: translateY(-14px) scale(0.98); } to { opacity: 1; transform: none; } }
.phone figcaption { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 0.8rem; }

/* bands */
.band { padding: clamp(2.75rem, 6vw, 4.5rem) 0; }
.band.alt { background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 0.5rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.steps { list-style: none; counter-reset: s; margin: 0.5rem 0 1.75rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--marker); font-weight: 800; margin-bottom: 0.7rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.65rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before { content: ''; position: absolute; left: 0.15rem; top: 0.35em; width: 0.6rem; height: 0.95rem; border: solid var(--ok); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.tiles { list-style: none; padding: 0; margin: 0.5rem 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.75rem 2rem; }
.tiles li { padding-left: 1rem; border-left: 3px solid var(--marker); }
.tiles p { color: var(--ink-2); }
.about-row { display: flex; gap: 1.75rem; align-items: center; }
.avatar { flex: none; width: 112px; height: 112px; border-radius: 50%; background: var(--ink); color: var(--marker); display: grid; place-items: center; font-size: 3rem; font-weight: 850; }
.avatar.big { width: 150px; height: 150px; font-size: 4rem; }
@media (max-width: 560px) { .about-row { flex-direction: column; align-items: flex-start; } }
.faq { display: grid; gap: 0.6rem; margin-bottom: 1.25rem; max-width: 52rem; }
.faq details { background: var(--sheet); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.1rem; }
.band.alt .faq details { background: var(--paper); }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: '\2013'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding-bottom: 1rem; color: var(--ink-2); max-width: 44rem; }
.towns { list-style: none; padding: 0; margin: 0; columns: 3 12rem; column-gap: 2rem; }
.towns li { padding: 0.35rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.cta-band { background: var(--ink); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.82); }
.cta-row { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-band .btn { background: var(--marker); border-color: var(--marker); color: var(--ink); }
.cta-band .btn.secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; margin: 1.8rem 0 0.5rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: 0.5rem; }

/* contact form */
.contact { display: grid; gap: 1rem; max-width: 32rem; }
.f { display: grid; gap: 0.35rem; }
.f label { font-weight: 650; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--err); min-height: 1.2em; }
.contact-side h2 { font-size: 1.3rem; margin-top: 0.25rem; }
.contact-side h2 + p { margin-bottom: 1.5rem; }

/* footer */
.site-foot { background: var(--ink); color: rgba(255, 255, 255, 0.85); padding: 3rem 0 2rem; padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
.site-foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-grid .brand { margin-bottom: 0.75rem; }
.site-foot .fine { margin-top: 2rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.phone-screen { aspect-ratio: 9 / 15.5; }
@media (max-width: 860px) { .phone { width: min(270px, 74vw); } .phone-time { font-size: 2.8rem; margin-bottom: 1.1rem; } }
