/* Tahi Movers — stylesheet v3
   Black and deep red from the brief. Centred single-column rhythm, one spacing scale, Barlow family. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --black: #000000;
    --ink: #0e0e0e;
    --red: #7a0f14;
    --red-hi: #a3161d;
    --red-deep: #3a080b;
    --grey: #f1f1ef;
    --grey-2: #e4e4e1;
    --white: #ffffff;
    --text: #161616;
    --muted: #5a5a5a;
    --line: #dcdcd9;
    --line-dark: rgba(255,255,255,0.12);
    --max: 1280px;
    --narrow: 820px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --space: clamp(3.5rem, 8vw, 6rem);
    --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --body: 'Barlow', 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: 0.01em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h3 { font-size: 1.5rem; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--narrow); margin: 0 auto; }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }

/* focus + skip */
.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--red); color: var(--white); padding: 0.8rem 1.2rem; z-index: 10000; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; }
.header :focus-visible, .hero :focus-visible, .dark :focus-visible, .band :focus-visible { outline-color: var(--white); }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--black); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.header-in { max-width: var(--max); margin: 0 auto; padding: 0.6rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--white); }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 1.45rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1; }
.brand-name small { display: block; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; color: #b5b5b5; margin-top: 3px; }
.nav ul { display: flex; align-items: center; gap: 1.4rem; list-style: none; }
.nav a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.nav a:hover { color: #ffb3b6; }
.nav .call { background: var(--red); padding: 0.55rem 1rem; font-family: var(--head); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.03em; }
.nav .call:hover { background: var(--red-hi); color: var(--white); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,0.35); color: var(--white); font-family: var(--head); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.5rem 0.9rem; cursor: pointer; min-height: 44px; }
.nav ul.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); border-bottom: 1px solid var(--line-dark); padding: 0.4rem 0 1rem; }
.nav ul.open li { border-top: 1px solid var(--line-dark); }
.nav ul.open a { display: block; padding: 0.95rem var(--gutter); font-size: 1.1rem; text-align: center; }
.nav ul.open .call { margin: 0.8rem var(--gutter) 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0.8rem 1.8rem; font-family: var(--head); font-size: 1.3rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-hi); border-color: var(--red-hi); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-black { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-black:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.cta { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

/* ---------- Hero ---------- */
.hero { color: var(--white); padding: 7.5rem 0 0; text-align: center; background: var(--black) radial-gradient(ellipse 70% 55% at 50% 100%, rgba(122,15,20,0.55), transparent 70%); }
.hero-in { max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter) 3.5rem; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: clamp(180px, 30vw, 280px); margin-bottom: 1.75rem; }
.hero h1 { font-size: clamp(3rem, 9vw, 5rem); font-weight: 800; line-height: 0.92; margin-bottom: 1.1rem; }
.hero h1 span { display: block; }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #d8d8d8; max-width: 72ch; margin: 0 auto 1.8rem; }
.hero .lead b { color: var(--white); font-weight: 600; }
.hero-strip { background: var(--red-deep); border-top: 1px solid rgba(255,255,255,0.08); }
.hero-strip ul { max-width: var(--max); margin: 0 auto; padding: 0.9rem var(--gutter); list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1.2rem; font-family: var(--head); font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #f3dada; }
.hero-strip li { padding: 0 0.6rem; }
.hero-strip li + li { border-left: 1px solid rgba(255,255,255,0.25); }

/* Hero entrance: the single page-load moment */
.hero-logo, .hero .marquee, .hero h1, .hero .lead, .hero .cta { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; }
.hero-logo { animation-name: stamp; animation-duration: 0.6s; }
.hero .marquee { animation-delay: 0.08s; }
.hero h1 { animation-delay: 0.15s; }
.hero .lead { animation-delay: 0.3s; }
.hero .cta { animation-delay: 0.42s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.section-grey { background: var(--grey); }
.dark { background: var(--black); color: var(--white); }
.band { background: var(--red); color: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.75rem; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--red); margin: 0.9rem auto 0; }
.dark .section-head h2::after, .band .section-head h2::after { background: var(--white); opacity: 0.8; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin-top: 1rem; }
.dark .section-head p, .band .section-head p { color: rgba(255,255,255,0.82); }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.service { background: var(--grey); padding: 2rem 1.75rem 1.75rem; border-top: 4px solid var(--red); }
.service h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.service .sum { color: var(--muted); margin-bottom: 1rem; }
.service ul { list-style: none; }
.service li { padding: 0.28rem 0 0.28rem 1.2rem; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 7px; height: 7px; background: var(--red); }

/* About */
.about p { font-size: 1.12rem; margin-bottom: 1rem; }
.about p b { font-weight: 600; }
.callout { display: inline-block; border-left: 4px solid var(--red); background: var(--white); padding: 0.9rem 1.2rem; text-align: left; margin-top: 0.5rem; }

/* WINZ */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 2.25rem auto 2.25rem; text-align: center; }
.steps li { counter-increment: step; background: rgba(0,0,0,0.22); padding: 1.5rem 1.4rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--head); font-size: 2.4rem; font-weight: 700; line-height: 1; margin-bottom: 0.5rem; opacity: 0.85; }
.steps h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.steps p { color: rgba(255,255,255,0.85); font-size: 1rem; }
.band .lead { font-size: 1.12rem; max-width: 56ch; margin: 1rem auto 0; color: rgba(255,255,255,0.9); }

/* Towns marquee: sits in the hero under the logo, full width */
.marquee { overflow: hidden; white-space: nowrap; width: 100vw; margin: 0 0 1.75rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; animation: slide 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.town-list { list-style: none; display: inline-flex; padding-right: 2rem; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: clamp(1.4rem, 3.2vw, 2.2rem); line-height: 1.1; }
.town-list li { padding-right: 2rem; color: rgba(255,255,255,0.72); }
.town-list li.page { color: var(--white); }
.town-list li.page::after { content: ""; display: block; height: 3px; background: var(--red-hi); margin-top: 1px; }

/* Towns section */
.towns { overflow: hidden; }
@keyframes slide { to { transform: translateX(-50%); } }
.static { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.3rem; font-family: var(--head); font-size: 1.2rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #d0d0d0; }
.static a { color: var(--white); text-underline-offset: 4px; }
.static a:hover { color: #ffb3b6; }
.towns .tail { margin: 1.5rem auto 0; color: #b5b5b5; max-width: 52ch; }

/* Booking */
.booking .side { text-align: center; margin-bottom: 2rem; }
.booking .phone { display: inline-block; font-family: var(--head); font-size: 2.4rem; font-weight: 700; text-decoration: none; line-height: 1; margin: 0.4rem 0 0.2rem; }
.booking .phone:hover { color: var(--red); }
.booking .hours { color: var(--muted); font-size: 0.98rem; }
form { max-width: var(--narrow); margin: 0 auto; background: var(--grey); padding: 2.25rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
label, legend { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
input, textarea, select { width: 100%; padding: 0.8rem 0.9rem; border: 1px solid #b9b9b6; border-radius: 0; background: var(--white); font: inherit; font-size: 1rem; }
input:focus, textarea:focus, select:focus { outline: 3px solid var(--red-hi); outline-offset: 0; border-color: var(--red-hi); }
textarea { min-height: 100px; resize: vertical; }
fieldset { border: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.radios label { display: flex; align-items: center; gap: 0.45rem; font-weight: 500; margin: 0; }
.radios input { width: auto; accent-color: var(--red); }
.feedback { display: none; padding: 0.9rem 1rem; margin-bottom: 1rem; border-left: 4px solid; }
.feedback.error { display: block; background: #fbeaea; border-color: #b3261e; color: #7a1a14; }
.feedback.success { display: block; background: #e8f3ea; border-color: #2e7d32; color: #1d4f21; }
input.field-error, textarea.field-error { border-color: #b3261e; outline: 2px solid #b3261e; }
form .btn { width: 100%; margin-top: 0.4rem; }
.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 0.8rem; text-align: center; }

/* FAQ */
.faq { max-width: var(--narrow); margin: 0 auto; }
@media (min-width: 900px) { .faq { max-width: none; columns: 2; column-gap: 3rem; } .faq details { break-inside: avoid; border-bottom: 1px solid var(--grey-2); border-top: 0; } }
.faq details { border-top: 1px solid var(--grey-2); }
.faq details:last-child { border-bottom: 1px solid var(--grey-2); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.6rem 1.1rem 0; position: relative; font-family: var(--head); font-size: 1.4rem; font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%); font-family: var(--body); font-size: 1.8rem; font-weight: 300; color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 1.3rem; color: #333; max-width: 68ch; }
.faq .a a { color: var(--red); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; text-align: center; }
.contact-grid > div { padding: 1.75rem 1rem; border: 1px solid var(--line-dark); }
.contact-grid h3 { font-size: 1rem; color: #b5b5b5; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.contact-grid a { color: var(--white); text-decoration: none; font-family: var(--head); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; word-break: break-word; }
.contact-grid a:hover { color: #ffb3b6; }
.contact-grid p { color: #b5b5b5; font-size: 0.95rem; margin-top: 0.2rem; }

/* Town pages */
.crumb { font-size: 0.95rem; color: #b5b5b5; margin-bottom: 1.25rem; }
.crumb ol { list-style: none; display: flex; justify-content: center; gap: 0.5rem; }
.crumb li + li::before { content: "/"; margin-right: 0.5rem; color: #777; }
.crumb a { color: #ddd; text-decoration: none; }
.crumb a:hover { color: var(--white); }
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin: 2.4rem 0 0.8rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { margin-bottom: 1rem; color: #2a2a2a; }
.prose ul { margin: 0 0 1rem 1.2rem; color: #2a2a2a; }
.prose li { margin-bottom: 0.3rem; }
.prose a { color: var(--red); }
.answer { border-left: 4px solid var(--red); padding: 0.9rem 1.2rem; background: var(--grey); font-size: 1.12rem; margin-bottom: 2rem; }

/* Footer */
.footer { background: var(--black); color: #b5b5b5; padding: 3rem 0 2rem; border-top: 4px solid var(--red); text-align: center; }
.footer img.mark { width: 80px; margin: 0 auto 1rem; }
.footer .name { font-family: var(--head); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; color: var(--white); line-height: 1; }
.footer p { font-size: 0.95rem; margin: 0.5rem auto 0; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.4rem; margin: 1.2rem 0; }
.footer nav a { color: #ddd; text-decoration: none; font-size: 0.95rem; }
.footer nav a:hover { color: var(--white); text-decoration: underline; }
.footer .towns-nav { margin-top: 0; padding-top: 0.6rem; border-top: 1px solid var(--line-dark); max-width: 900px; margin-left: auto; margin-right: auto; }
.footer .towns-nav a { font-size: 0.9rem; color: #b5b5b5; }
.footer-credit { display: inline-flex; flex-direction: column; align-items: center; gap: 0.3rem; margin-top: 1.75rem; padding: 1rem 1.4rem; border: 1px solid var(--line-dark); text-decoration: none; color: #b5b5b5; }
.footer-credit:hover { border-color: #888; }
.footer-credit small { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-credit img { height: 24px; width: auto; }
.footer-credit span { font-size: 0.85rem; }
.footer-credit b { color: var(--white); font-weight: 600; font-size: 0.9rem; }

/* Wide screens: headline on one line, four service panels across */
@media (min-width: 900px) { .hero h1 span { display: inline; } .hero h1 span + span::before { content: ' '; } }
/* Wide screens: four service panels across */
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); } .service h3 { font-size: 1.5rem; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .steps { grid-template-columns: 1fr; max-width: 560px; }
    .contact-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 720px) {
    .nav ul { display: none; }
    .menu-btn { display: block; }
    .hero { padding-top: 6rem; }
    .hero-in { padding-bottom: 2.5rem; }
    .services { grid-template-columns: 1fr; }
    .row { grid-template-columns: 1fr; }
    form { padding: 1.5rem 1.1rem; }
    .btn { width: 100%; }
    .cta { flex-direction: column; align-items: stretch; }
    .faq summary { font-size: 1.2rem; }
    .marquee-track { animation-duration: 50s; }
    .hero-strip li + li { border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-logo, .hero .marquee, .hero h1, .hero .lead, .hero .cta { animation: none; }
    .marquee { white-space: normal; width: auto; -webkit-mask-image: none; mask-image: none; }
    .marquee-track { animation: none; display: block; }
    .marquee-track .town-list + .town-list { display: none; }
    .town-list { display: flex; flex-wrap: wrap; justify-content: center; }
    .btn, .nav .call, .footer-credit { transition: none; }
}
