/* Bodyfix Clinics. Hand-written; render.py never touches this file.
   The feel: Rob's wooden studio. Dark walls, the Bodyfix lime front and centre, taped-up photos,
   and our own nuts-and-bolts drawing tiled behind the inner pages.
   Colour rule: text on lime is always --black. Lime text only ever sits on the dark backgrounds. */

@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/bricolage-grotesque.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url(/fonts/space-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url(/fonts/space-mono-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(/fonts/source-sans-3.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(/fonts/source-sans-3-italic.woff2) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --bg: #121210;
  --panel: #1c1b18;
  --panel-2: #26251f;
  --line: #3d3b34;
  --text: #f2efe6;
  --muted: #c2bdac;
  --lime: #7ec624;
  --black: #121210;
  --paper: #efe8d6;
  --paper-ink: #1a1914;
  --forest: #1e4d0f;
  --tape: rgba(239, 232, 214, .62);
  --radius: 14px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --body: "Source Sans 3", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; color: var(--text); background: var(--bg) url(/img/parts.svg) 0 0 / 320px repeat;
  font: 400 1.125rem/1.65 var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--text); text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--black); }
/* on lime backgrounds the selection flips: black with lime text */
.band-forest ::selection, .price ::selection, .price::selection,
.pulls li:nth-child(2) .testimonial ::selection, .btn-ink::selection, .actionbar-book ::selection { background: var(--black); color: var(--lime); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; line-height: 1; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { width: 1.15em; height: 1.15em; flex: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; justify-content: center; }
.small { font-size: .98rem; color: var(--muted); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--black); padding: 12px 18px; border-radius: 10px; font: 700 1rem var(--mono); }
.skip:focus { top: 12px; color: var(--black); }
main:focus { outline: none; }
/* the nuts-and-bolts wall is for the inner pages; the home page stays cleaner */
body.home { background-image: none; }

/* small labels: mono, lime, with a nut in front */
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font: 700 .85rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--lime);
}
.kicker::before, .eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none; background: var(--lime);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}
.eyebrow { display: flex; margin-bottom: 10px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent; font: 600 1.05rem/1.1 var(--display);
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn-ink { background: var(--lime); color: var(--black); }
.btn-ink:hover { background: var(--text); color: var(--black); }
.btn-line { background: transparent; color: var(--text); border-color: var(--text); }
.btn-line:hover { border-color: var(--lime); color: var(--lime); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font: 600 1.05rem var(--display); }

/* header: the white logo straight on the dark bar, big enough to read */
.top { position: sticky; top: 0; z-index: 50; background: rgba(18, 18, 16, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(18, 18, 16, .82); backdrop-filter: blur(10px); } }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 104px; }
.brand { display: block; flex: none; padding: 8px 0; border-radius: 6px; }
.brand img { width: 200px; height: auto; }
.brand:focus-visible { outline-color: var(--text); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 999px; border: 0; background: none;
  font: 600 1rem/1.2 var(--display); color: var(--text); text-decoration: none; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--lime); background: var(--panel); }
.nav-link[aria-current="page"], .nav-link.is-current { color: var(--lime); box-shadow: inset 0 -2px 0 var(--lime); border-radius: 0; }
.sub-btn .i { transition: transform .15s; }
.sub-btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.has-sub { position: relative; }
.sub {
  display: none; position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: 560px;
  list-style: none; margin: 0; padding: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55); grid-template-columns: 1fr 1fr; gap: 4px;
}
.sub-btn[aria-expanded="true"] + .sub { display: grid; }
.sub a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--text); }
.sub a:hover, .sub a[aria-current="page"] { background: var(--panel-2); }
.sub strong { display: block; font: 700 1.25rem/1.1 var(--display); color: var(--lime); }
.sub span { display: block; font-size: .95rem; line-height: 1.4; color: var(--muted); margin-top: 4px; }
.nav-book { min-height: 46px; padding: 10px 20px; font-size: 1rem; }
.menu-btn { display: none; }

@media (max-width: 1100px) {
  .top-in { min-height: 84px; }
  .brand img { width: 160px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 48px; padding: 10px 18px; border: 2px solid var(--text);
    border-radius: 999px; background: transparent; color: var(--text); font: 600 1rem/1 var(--display); cursor: pointer;
  }
  .menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-menu { display: none; }
  .menu-btn[aria-expanded="true"] .i-close { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 84px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 24px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
  }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.1rem; border-radius: 10px; }
  .nav-link[aria-current="page"], .nav-link.is-current { border-radius: 10px; box-shadow: inset 4px 0 0 var(--lime); background: var(--panel); }
  .sub { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 8px 8px; grid-template-columns: 1fr; background: transparent; }
  .nav-book { width: 100%; min-height: 54px; }
}

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 22px 0 0; font: 400 .85rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--lime); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }

/* home hero: the real studio, taped up */
.hl { color: var(--lime); }
.lede { font-size: clamp(1.2rem, 1.9vw, 1.4rem); color: var(--muted); max-width: 36em; }
.hero { overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 32px 0 0; padding: 0; font-weight: 600; }
.hero-trust li, .ticks li { display: inline-flex; align-items: center; gap: 10px; }
.hero-trust .i, .ticks .i { color: var(--lime); width: 1.3em; height: 1.3em; }

.hero-media { position: relative; }
.studio { position: relative; margin: 0; background: var(--paper); padding: 12px; transform: rotate(2deg); box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.studio-img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.studio::before { content: ""; position: absolute; z-index: 2; top: -14px; left: 40%; width: 120px; height: 30px; background: var(--tape); transform: rotate(-4deg); }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; width: 100%; margin: 8px auto 0; }
}

/* inner page heroes */
.page-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); }
.page-hero-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero-media { transform: rotate(1.5deg); box-shadow: 0 30px 60px rgba(0, 0, 0, .55); border: 10px solid var(--paper); }
.page-hero-media img { width: 100%; max-height: 500px; object-fit: cover; }
.page-hero-short { padding-bottom: clamp(24px, 4vw, 40px); }
.page-hero-short .lede { margin-bottom: 0; }
.who { font: 600 1.05rem/1.3 var(--display); color: var(--lime); margin: 0; }
.price { display: inline-flex; gap: 12px; align-items: baseline; margin: 18px 0 0; padding: 10px 18px; background: var(--lime); color: var(--black); border-radius: 8px; font: 600 1rem/1.2 var(--display); }
.price strong { font: 700 1.7rem/1 var(--display); }
.round { border-radius: var(--radius); }
@media (max-width: 900px) { .page-hero-in { grid-template-columns: 1fr; } .page-hero-media { order: -1; } .page-hero-media img { max-height: 300px; } }

/* the figure from the logo's "x", big and lime, behind the contact page heading */

/* photos in their own colours; card photos ease in a little on hover */
.photo { position: relative; overflow: hidden; }
.photo img { transition: transform .4s ease; }
.card:hover .photo img, .card:focus-within .photo img { transform: scale(1.04); }

/* sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: rgba(28, 27, 24, .94); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.2rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.stack { display: grid; gap: 28px; }
.stack img, .split > div > img.round { border: 10px solid var(--paper); border-radius: 2px; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.stack img:nth-child(1) { transform: rotate(-1.5deg); }
.stack img:nth-child(2) { transform: rotate(1.2deg); }
.split > div > img.round { transform: rotate(-1.5deg); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* treatment cards, numbered like a tracklist */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px) rotate(-.4deg); border-color: var(--lime); }
.card:focus-within { outline: 3px solid var(--lime); outline-offset: 3px; }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.track { font: 700 .85rem/1 var(--mono); color: var(--lime); letter-spacing: .1em; margin-bottom: 10px; }
.card-body h2, .card-body h3 { font-size: 1.9rem; margin-bottom: 10px; }
.card-body p { color: var(--muted); margin-bottom: 18px; }
.card-link { color: var(--text); text-decoration: none; }
.card-link:hover { color: var(--text); }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card-link:focus-visible { outline: none; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 600 1rem/1 var(--display); color: var(--lime); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } .photo img { transition: none; transform: none !important; } }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* the proof band: a big lime poster */
.band { padding: clamp(56px, 8vw, 96px) 0; }
.band-forest { background: var(--lime); color: var(--black); border-block: 3px solid var(--black); }
.band-forest :focus-visible { outline-color: var(--black); }
.band-h { max-width: 900px; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.15; }
.band-h::before { content: "\201C"; display: block; font-size: 1.6em; line-height: .5; margin-bottom: 6px; }
.proof { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.proof li { border-top: 4px solid var(--black); padding-top: 16px; }
.proof strong { display: block; font: 700 clamp(2.4rem, 4vw, 3.2rem)/1 var(--display); margin-bottom: 8px; }
.proof span { font-weight: 600; }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .proof { grid-template-columns: 1fr; } }

/* closing call to action */
.band-book { background: rgba(10, 10, 9, .9); border-top: 1px solid var(--line); }
.band-cta { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 36px; align-items: center; }
.band-cta h2 { color: var(--lime); font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 10px; }
.band-cta p { margin: 0; font-size: 1.15rem; color: var(--muted); }
.cta-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 1.1rem; }
.cta-people span { display: inline-block; min-width: 5.5em; font-weight: 700; color: var(--muted); }
.cta-people .sms { margin-left: 10px; }
@media (max-width: 900px) { .band-cta { grid-template-columns: 1fr; } }

/* testimonials */
.testimonial { margin: 0; padding: clamp(24px, 4vw, 40px); background: var(--panel); border-radius: var(--radius); border: 1px solid var(--line); border-left: 5px solid var(--lime); }
.testimonial > .i { width: 44px; height: 44px; color: var(--lime); stroke-width: 2.5; margin-bottom: 10px; }
.testimonial blockquote { margin: 0; font-size: 1.18rem; }
.testimonial figcaption { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.t-name { font: 700 1.2rem/1.2 var(--display); }
.t-org { color: var(--muted); }

/* home: pull quotes as gig posters taped to the wall */
.pulls { list-style: none; margin: 0; padding: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.pulls li { display: flex; flex-direction: column; gap: 14px; }
.pulls .testimonial { position: relative; flex: 1; background: var(--paper); color: var(--paper-ink); border: 0; border-radius: 2px; box-shadow: 0 22px 44px rgba(0, 0, 0, .55); }
.pulls li:nth-child(1) .testimonial { transform: rotate(-2deg); }
.pulls li:nth-child(2) .testimonial { transform: rotate(1.4deg); background: var(--lime); }
.pulls li:nth-child(3) .testimonial { transform: rotate(-1deg); }
.pulls .testimonial::before { content: ""; position: absolute; top: -13px; left: 50%; width: 100px; height: 28px; margin-left: -50px; background: var(--tape); transform: rotate(-3deg); }
.pulls .testimonial > .i { color: var(--paper-ink); }
.pulls blockquote { font: 600 clamp(1.25rem, 1.8vw, 1.45rem)/1.3 var(--display); letter-spacing: -.01em; }
.pulls .t-name { font-size: 1.2rem; }
.pulls .t-org, .pulls .t-org a { color: var(--paper-ink); }
.pulls .t-org a { color: var(--forest); font-weight: 700; }
.pulls .testimonial :focus-visible { outline-color: var(--paper-ink); }
.t-more { font: 600 1rem/1.2 var(--display); padding-left: 4px; }
@media (max-width: 900px) { .pulls { grid-template-columns: 1fr; max-width: 560px; } }

/* people: polaroids */
.people { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.person-card { display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: start; padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.person-card h3 { font-size: 2rem; margin-bottom: 4px; }
.person-img, .person-photo { background: #f6f2e7; padding: 8px 8px 30px; box-shadow: 0 16px 32px rgba(0, 0, 0, .5); transform: rotate(-2.5deg); }
.person-img { width: 170px; aspect-ratio: 4 / 5.4; object-fit: cover; }
.people li:nth-child(2) .person-img { transform: rotate(2deg); }
.role { font-weight: 600; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { align-items: flex-start; line-height: 1.4; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .person-card { grid-template-columns: 1fr; } .person-img { width: 150px; } }

.person-in { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.person-media { display: grid; gap: 28px; position: sticky; top: 128px; }
.person-photo { width: 100%; max-width: 320px; aspect-ratio: 4 / 5.3; object-fit: cover; border-radius: 0; }
.person + .person { border-top: 1px solid var(--line); }
.person h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 6px; }
@media (max-width: 800px) { .person-in { grid-template-columns: 1fr; } .person-media { position: static; } .person-photo { max-width: 240px; } }

/* article and sidebar */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.2em; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.prose > :first-child, .prose h2:first-child { margin-top: 0; }
.prose img { margin: 28px 0; border: 10px solid var(--paper); transform: rotate(-1deg); }
.side { position: sticky; top: 128px; }
.side-card { padding: 26px; background: var(--panel); border: 1px solid var(--line); border-top: 5px solid var(--lime); border-radius: var(--radius); }
.side-card h2 { font-size: 1.9rem; }
.side-card h3 { font: 700 .85rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--lime); margin: 22px 0 8px; }
.side-card p { margin: 0; }
.side-list, .plain { list-style: none; margin: 0; padding: 0; }
.side-list { display: grid; gap: 6px; }
.side-list a { display: flex; gap: 10px; align-items: center; padding: 11px 13px; border-radius: 10px; font-weight: 600; text-decoration: none; color: var(--text); background: var(--bg); border: 1px solid var(--line); }
.side-list a .i { color: var(--lime); }
.side-list a:hover { border-color: var(--lime); color: var(--text); }
@media (max-width: 900px) { .with-side { grid-template-columns: 1fr; } .side { position: static; } }

.voice { margin: 0 0 32px; padding: 28px 30px; background: var(--panel); border: 1px solid var(--line); border-left: 5px solid var(--lime); border-radius: 0 var(--radius) var(--radius) 0; }
.voice-label { font: 700 .85rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--lime); }
.voice p:last-child { margin-bottom: 0; }
.callout { font: 700 clamp(1.6rem, 3vw, 2.3rem)/1.15 var(--display); color: var(--lime); margin: 36px 0; }

/* hours, address */
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 0; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.hours th { font-weight: 600; padding-right: 16px; }
.hours td { font: 700 .95rem var(--mono); }
.addr { display: flex; gap: 12px; align-items: flex-start; font-size: 1.15rem; line-height: 1.5; margin-bottom: 1em; }
.addr .i { color: var(--lime); margin-top: 4px; }
.w3w { margin: -.4em 0 1em; font: 700 1rem/1.4 var(--mono); }
.w3w a { color: var(--text); text-decoration: none; }
.w3w a:hover { text-decoration: underline; }
.w3w [aria-hidden] { color: var(--lime); margin-right: 2px; }
.map-link .w3w { margin: 0; }
.map-link { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.foot .w3w { margin: 8px 0 0; font-size: .9rem; }

/* map */
.map { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }
.map { position: relative; }
.map-zoom { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; gap: 1px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.map-zoom[hidden] { display: none; }
.map-zoom button { width: 44px; height: 44px; border: 0; background: #fff; color: #222; font: 600 1.5rem/1 var(--body); cursor: pointer; }
.map-zoom button:hover { background: #f0f0f0; }
.map-zoom button:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.map-held { display: grid; place-items: center; align-content: center; gap: 10px; height: 420px; padding: 24px; text-align: center; background: var(--panel) url(/img/parts.svg) 0 0 / 320px repeat; }
.map-held p { margin: 0; }

/* the cookie question: a card in the corner, above the phone action bar */
.consent { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(420px, calc(100vw - 32px)); padding: 20px 22px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--lime); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); }
.consent-title { font-size: 1.3rem; margin: 0 0 6px; }
.consent p { margin: 0 0 14px; font-size: 1rem; color: var(--muted); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent .btn { min-height: 46px; padding: 10px 20px; }
@media (max-width: 760px) { .consent { bottom: 84px; } }

.link-btn { padding: 0; border: 0; background: none; color: var(--lime); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--text); }
.foot .link-btn { color: var(--text); }
.table-scroll { overflow-x: auto; margin: 0 0 24px; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px dashed var(--line); }
.cookie-table thead th { font: 700 .85rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--lime); }
.cookie-table tbody th { font: 700 .95rem/1.4 var(--mono); white-space: nowrap; }
.map-link { margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); }
.map-link a { display: inline-flex; align-items: center; gap: 8px; font: 600 1rem var(--display); }

/* faq */
.faq { display: grid; gap: 12px; margin-bottom: 28px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.faq-item[open] { border-color: var(--lime); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; border-radius: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h2, .faq-item summary h3 { margin: 0; font: 700 1.2rem/1.3 var(--body); text-transform: none; letter-spacing: 0; }
.faq-item summary .i { color: var(--lime); transition: transform .15s; }
.faq-item[open] summary .i { transform: rotate(180deg); }
.faq-item summary:hover { background: var(--panel-2); }
.faq-a { padding: 0 22px 8px; color: var(--muted); }
.faq-a p { color: var(--text); }

/* videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.video-play { position: relative; display: block; aspect-ratio: 16 / 9; border: 8px solid var(--paper); overflow: hidden; background: var(--black); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.video-play img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6); transition: filter .2s; }
.video-play:hover img { filter: none; }
.video-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--lime); color: var(--black); box-shadow: 0 6px 20px rgba(0, 0, 0, .45); }
.video-btn .i { width: 30px; height: 30px; margin-left: 4px; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 8px solid var(--paper); }
.video-h { font-size: 1.8rem; margin: 22px 0 10px; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }

/* contact */

.form { display: grid; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 700; }
.req { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; font: inherit; color: var(--text); background: #0c0c0b;
  border: 1.5px solid #8a8678; border-radius: 10px;
}
/* our own chevron in place of the browser's arrow, set in from the edge like the text */
.field select {
  color-scheme: dark; appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 48px;
  background: #0c0c0b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ec624' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 20px 20px;
}
.field select:hover { border-color: var(--text); }

.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--lime); outline-offset: 0; border-color: var(--lime); }
.field [aria-invalid="true"] { border-color: #ff8a7a; }
.err { margin: 0; color: #ff9d8f; font-weight: 700; font-size: 1rem; }
.hint { margin: 0; color: var(--muted); font-size: 1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-done { margin: 8px 0 0; padding: 18px 20px; border-radius: 10px; background: var(--panel-2); border-left: 4px solid var(--lime); font: 600 1.2rem/1.4 var(--display); }
.form-done:focus { outline: none; }
.form-status:not(:empty) { padding: 14px 18px; border-radius: 10px; background: var(--panel-2); border-left: 4px solid var(--lime); font-weight: 600; }

/* footer */
.foot { background: rgba(8, 8, 7, .96); color: var(--muted); padding: 72px 0 0; border-top: 3px solid var(--lime); }
.foot a { color: var(--text); }
.foot a:hover { color: var(--lime); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.foot-brand > img:first-child { width: 190px; margin-bottom: 18px; }
.cnhc { display: inline-block; background: var(--text); padding: 6px; border-radius: 10px; margin-top: 8px; }
.cnhc img { width: 150px; }
.foot-h { font: 700 .85rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--lime); margin: 0 0 14px; }
.foot-h:not(:first-child) { margin-top: 30px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.foot-hours dd { margin: 0; color: var(--text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line); font: 400 .85rem/1.5 var(--mono); }
.foot-base p { margin: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* phone action bar */
.actionbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .actionbar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .5);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 64px; font: 600 .95rem/1.1 var(--display); color: var(--text); text-decoration: none; }
  .actionbar a .i { color: var(--lime); }
  .actionbar a + a { border-left: 1px solid var(--line); }
  .actionbar .actionbar-book { background: var(--lime); color: var(--black); }
  .actionbar .actionbar-book .i { color: var(--black); }
  .actionbar .actionbar-book:focus-visible { outline-color: var(--text); outline-offset: -4px; }
}

@media print {
  body { background: #fff; color: #000; }
  .top, .actionbar, .foot, .band-book, .map, .btns { display: none !important; }
  body { padding: 0; }
}

/* the contact page: the details and the form side by side, on one screen */
.contact { padding: clamp(20px, 3vh, 36px) 0 clamp(28px, 4vh, 48px); }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact h1 { font-size: clamp(2.2rem, 3.6vw, 3rem); margin-bottom: 14px; }
.contact-phone { display: inline-flex; align-items: center; gap: 12px; font: 800 clamp(1.7rem, 2.6vw, 2.2rem)/1.1 var(--display); color: var(--lime); text-decoration: none; }
.contact-phone .i { width: 28px; height: 28px; }
.contact-note { margin: 4px 0 14px; font-size: .95rem; color: var(--muted); }
.contact-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contact-people li { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.contact-name { font-weight: 700; min-width: 4.8em; }
.contact-num { color: var(--text); font-weight: 600; text-decoration: none; }
.contact-acts { display: flex; gap: 6px; margin-left: auto; }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: .9rem; gap: 6px; }
.btn-sm .i { width: 16px; height: 16px; }
.contact-where { display: grid; gap: 6px; justify-items: start; margin: 4px 0 12px; }
.contact-where .addr { margin: 0; font-size: 1.05rem; }
.contact-where .w3w { margin: 0 0 0 30px; }
.contact-hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; margin: 0; font-size: .95rem; }
.contact-hours dt { color: var(--muted); }
.contact-hours dd { margin: 0; font: 700 .9rem/1.6 var(--mono); }
.contact-form { padding: 22px 24px 18px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--lime); border-radius: var(--radius); }
.contact-form h2 { font-size: 1.6rem; margin-bottom: 4px; }
.contact-form .form { gap: 10px; margin-top: 8px; }
.contact-form .field { gap: 4px; }
.contact-form .field-row { gap: 12px; }
.contact-form .field input, .contact-form .field select, .contact-form .field textarea { min-height: 46px; padding: 9px 12px; }
.contact-form .field select { padding-right: 44px; }
.contact-form .small { margin: 0; font-size: .9rem; }
@media (max-width: 900px) { .contact-in { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-height: 820px) {
  .contact { padding-top: 14px; padding-bottom: 20px; }
  .contact h1 { font-size: 2.2rem; margin-bottom: 8px; }
  .contact-form { padding: 16px 22px 14px; }
  .contact-form h2 { font-size: 1.4rem; }
  .contact-form .field input, .contact-form .field select, .contact-form .field textarea { min-height: 42px; padding: 7px 12px; }
}
