/* Clean Cut Electrics. One stylesheet for the whole site.
   Colours from the logo master file: blue #40ACE2, charcoal #3A3A3A.
   Headings: League Gothic, the free near-twin of the logo's condensed
   font, so the site matches the van and shirts (Chris 21 Oct; replaces
   Cormorant Garamond). Body: Libre Franklin. Both free (licences in
   /fonts/) and stored on the site, not loaded from Google. */

@font-face { font-family: "League Gothic"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/league-gothic-400.woff2) format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/libre-franklin-400.woff2) format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/fonts/libre-franklin-600.woff2) format("woff2"); }

:root {
  --blue: #40ace2;
  --charcoal: #3a3a3a;
  --ink: #2b2b2b;
  --soft: #f4f6f7;
  --line: #e2e6e8;
  --head: "League Gothic", "Arial Narrow", sans-serif;
  --body: "Libre Franklin", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 18px/1.6 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--charcoal); text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #000; }
.copy-email { cursor: pointer; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.copy-email.btn { text-decoration: none; }
/* "Copied", shown beside a phone number or email address for a moment after it's copied (contact-taps.js) */
.copied-note { display: inline-block; margin-left: 0.6rem; font-family: var(--body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; line-height: 1.2; text-transform: none; color: var(--blue); vertical-align: middle; }
.copied-note[hidden] { display: none; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1rem; }
.narrow > * { max-width: 42rem; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 0.6rem;
}
h1 { font-size: clamp(3.2rem, 9vw, 5.6rem); }
h2 { font-size: clamp(2.3rem, 5.5vw, 3.1rem); }
h2::after { content: ""; display: block; width: 3rem; height: 3px; background: var(--blue); margin-top: 0.5rem; }
h3 { font-size: 1.9rem; }
p, ul, ol { margin: 0 0 1rem; }
.lead { font-size: 1.2rem; }
/* A line of its own with a gap above: "For homes in ..." under an opening line, the after-hours line under the hours */
.area-line, .gap-line { display: block; margin-top: 1em; }
.small { font-size: 0.95rem; color: #555; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.9rem; padding-bottom: 0.9rem; flex-wrap: wrap; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 0.9rem; }
.brand a { display: block; line-height: 0; }
.brand img { width: 230px; }
.brand .motto { font-size: 0.95rem; color: #555; letter-spacing: 0.02em; white-space: nowrap; padding-left: 0.9rem; border-left: 2px solid var(--blue); line-height: 1.3; }
.head-contact { display: flex; align-items: center; gap: 0.8rem; }
.phone { font-weight: 700; font-size: 1.15rem; text-decoration: none; white-space: nowrap; }

.btn {
  display: inline-block;
  background: var(--charcoal);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  border: 2px solid var(--charcoal);
  white-space: nowrap;
}
.btn:hover { background: #000; color: #fff; }
.btn.line { background: #fff; color: var(--charcoal); border-color: var(--blue); }
.btn.line:hover { background: var(--soft); color: #000; }
/* Book online in the header (computers) and the bottom bar (phones): the logo's blue and charcoal, with a soft band of light drifting across every few seconds (Chris, 28 Oct 2026; made 30% more frequent the same day, then each pass slowed to about 3.7 seconds, with about a quarter of a second between passes) */
.head-contact .btn, .callbar .btn.line { position: relative; overflow: hidden; background: var(--blue); border-color: var(--blue); color: var(--charcoal); }
.head-contact .btn:hover, .callbar .btn.line:hover { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.head-contact .btn::after, .callbar .btn.line::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: translateX(-120%); animation: book-sheen 3.99s ease-in-out infinite; pointer-events: none;
}
@keyframes book-sheen { 0%, 3.8% { transform: translateX(-120%); } 97.5%, 100% { transform: translateX(200%); } }
@media (prefers-reduced-motion: reduce) { .head-contact .btn::after, .callbar .btn.line::after { animation: none; display: none; } }

.menu-wide ul { list-style: none; margin: 0; padding: 0 0 0.8rem; display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; }
.menu-wide a { text-decoration: none; font-weight: 600; font-size: 1rem; }
.menu-wide a:hover, .menu-wide a[aria-current] { text-decoration: underline; text-decoration-color: var(--blue); }
.menu-small { display: none; }

/* Sections */
section { padding: 2.8rem 0; }
section + section { border-top: 1px solid var(--line); }
section.soft { background: var(--soft); border-top: 0; }
.opening { padding: 3.2rem 0 2.8rem; }
.buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.4rem 0 1rem; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 1.4rem 0; }
.tile { display: block; text-decoration: none; border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 1.1rem 1.2rem; background: #fff; }
.tile h3 { margin-bottom: 0.3rem; }
.tile p { margin: 0; font-size: 1rem; color: #444; }
.tile:hover { border-color: var(--charcoal); border-top-color: var(--blue); }

/* Home page: "Is this you?" lines, each with a blue tick, so the reader nods along */
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.ticks li { position: relative; padding: 0.6rem 0 0.6rem 2.2rem; font-size: 1.15rem; color: var(--charcoal); }
.ticks li::before { content: ""; position: absolute; left: 0.3rem; top: 0.55rem; width: 0.5rem; height: 1.35rem; border: solid var(--blue); border-width: 0 0.22rem 0.22rem 0; transform: rotate(45deg); }
.signoff { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0; }
.signoff img { width: 7.5rem; height: 7.5rem; border-radius: 0.5rem; object-fit: cover; }
.signoff p { margin: 0; line-height: 1.35; }
.signoff strong { color: var(--charcoal); font-size: 1.1rem; }

/* Home page: the reasons to call, straight under the opening */
section.reasons-band { padding: 2rem 0; }
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem 1.6rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
@media (min-width: 60rem) { .reasons { grid-template-columns: repeat(4, 1fr); } }
.reasons li { border-top: 3px solid var(--blue); padding-top: 0.7rem; }
.reasons strong { display: block; font-family: var(--head); font-weight: 400; font-size: 1.9rem; line-height: 1.1; color: var(--charcoal); }
.reasons span { display: block; margin-top: 0.3rem; font-size: 0.95rem; color: #555; }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; margin: 1.4rem 0; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); padding: 1.2rem; font-size: 1rem; }
.review blockquote { margin: 0 0 0.8rem; }
.review figcaption { font-weight: 700; color: var(--charcoal); }
.review .stars { color: var(--blue); font-weight: 400; letter-spacing: 0.1em; }

.tiles.same img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
/* Two or three photos of the same thing butted together with no gap, one caption under the lot (Chris, 25 Oct 2026) */
.joined { margin: 1.4rem 0; }
.joined-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; border-radius: 3px; overflow: hidden; }
.joined-row img { display: block; width: 100%; height: 100%; max-height: none; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; }
.joined.tall .joined-row img { aspect-ratio: 3 / 4; }
/* A photo of something different in the same row, set slightly apart */
.joined-row img.apart { box-sizing: border-box; border-left: 8px solid #fff; }
/* Phones: the set-apart photo goes full width on top, the others side by side under it */
@media (max-width: 48rem) {
  .joined-row:has(.apart) { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .joined-row img.apart { grid-column: 1 / -1; order: -1; aspect-ratio: 4 / 3; border-left: 0; border-bottom: 8px solid #fff; }
}

.split { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 52rem) { .split { grid-template-columns: 1fr 1fr; } }
figure { margin: 0; }
figure img { max-height: 80vh; width: auto; margin: 0 auto; }
figure figcaption { font-size: 0.9rem; color: #555; margin-top: 0.4rem; }

.qa h3 { font-family: var(--body); font-size: 1.1rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; margin-top: 1.4rem; }
.callout { border-left: 4px solid var(--blue); padding: 0.4rem 0 0.4rem 1rem; margin: 1.2rem 0; }

/* Full-screen photo with the words over it */
.hero { position: relative; min-height: 82vh; display: flex; align-items: flex-end; color: #fff; background: #222; overflow: hidden; padding: 0; }
.hero > img, .hero > picture > img, .hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero > video { opacity: 0; transition: opacity 1.2s ease; }
.hero > video.on { opacity: 1; }
.hero > canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(18,18,18,.85) 0%, rgba(18,18,18,.6) 45%, rgba(18,18,18,.5) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 3rem; padding-bottom: 2.6rem; width: 100%; }
.hero h1 { color: #fff; }
.hero .lead { color: #f0f0f0; }
.hero .small { color: #d8d8d8; }
.hero .btn:hover { background: #000; border-color: #000; color: #fff; }
.hero .btn.line { background: transparent; border-color: #fff; color: #fff; }
.hero .btn.line:hover { background: #fff; color: #000; }
/* Every phone number and Book online pair: phone charcoal with white writing (the plain .btn), Book online blue with black writing, no shine (Chris, 28 Oct 2026) */
.buttons a.btn.line[href="/book/"] { background: var(--blue); border-color: var(--blue); color: #000; }
.buttons a.btn.line[href="/book/"]:hover { background: #fff; border-color: var(--blue); color: #000; }
/* About page: the team on the steps, darkened, behind the heading */
.hero.about-top { min-height: 70vh; }
.hero.about-top > img { object-position: 40% 12%; }
.hero.about-top::before { background: linear-gradient(to top, rgba(18,18,18,.8) 0%, rgba(18,18,18,.55) 40%, rgba(18,18,18,.45) 100%); }
@media (max-width: 40rem) { .hero.about-top { min-height: 55vh; } }

/* Photo panels you tap */
.cards { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin: 1.6rem 0 1rem; }
.card { position: relative; min-height: 16rem; display: flex; align-items: flex-end; overflow: hidden; border-radius: 4px; background: var(--charcoal); text-decoration: none; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(18,18,18,.94) 0%, rgba(18,18,18,.75) 38%, rgba(18,18,18,.05) 75%); }
.card .txt { position: relative; z-index: 2; padding: 1.1rem 1.2rem; }
.card h3 { color: #fff; margin: 0 0 0.2rem; }
.card p { color: #e6e6e6; margin: 0; font-size: 0.98rem; line-height: 1.45; }
.card:hover img { transform: scale(1.04); }
.card .go { color: var(--blue); font-weight: 700; }
/* Home page "What we do" on phones: two short cards a row, photo and name only, so all nine fit in far less scrolling (Chris, 25 Oct 2026) */
@media (max-width: 40rem) {
  .cards-phone-small { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .cards-phone-small .card { min-height: 9.5rem; }
  .cards-phone-small .card .txt { padding: 0.7rem 0.75rem; }
  .cards-phone-small .card h3 { font-size: 1.35rem; margin: 0; }
  .cards-phone-small .card p { display: none; }
  /* Powering your equipment left off on phones, so eight cards fill four rows evenly (Chris, 25 Oct 2026) */
  .cards-phone-small .hide-on-phone { display: none; }
}

/* A section over a faded photo */
.band-photo { position: relative; overflow: hidden; }
.band-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(255,255,255,.79); }
.band-photo > .wrap { position: relative; z-index: 2; }

/* Dark band */
.dark { background: var(--charcoal); color: #e8e8e8; border-top: 0; }
.dark h2 { color: #fff; }
.dark a { color: #fff; }

/* Contact page: phone and email, big, before the booking window */
.contact-big { padding: 0; min-height: 70vh; position: relative; overflow: hidden; }
.contact-big > .wrap { width: 100%; padding-top: 3rem; padding-bottom: 2.6rem; }
@media (max-width: 40rem) { .contact-big > .wrap { padding-bottom: 5.5rem; } }
/* Background: a phone ringing Clean Cut, darkened; the phone sits right, the text left over plain wall */
.contact-big > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 45%; }
.contact-big::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(18,18,18,.9) 0%, rgba(18,18,18,.78) 45%, rgba(18,18,18,.4) 100%); }
@media (max-width: 52rem) { .contact-big::before { background: rgba(18,18,18,.8); } }
.contact-big > .wrap { position: relative; z-index: 2; }
.contact-big h1 { color: #fff; }
.contact-big .contact-label { margin: 1.4rem 0 0; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.contact-big .contact-line { margin: 0.1rem 0 0; font-family: var(--head); font-size: clamp(2.6rem, 9vw, 4.4rem); line-height: 1.1; }
.contact-big .contact-line.email { font-size: clamp(1.7rem, 7.4vw, 3rem); }
.contact-big .contact-line a { text-decoration: none; }
.contact-big .contact-line a:hover { color: var(--blue); }
.contact-big .contact-hours { margin: 0.3rem 0 0; font-size: 1.15rem; }
/* /book/ shows the booking window first; /book/#contact adds the big Contact us panel on top */
/* A page opening over a darkened photo (How we work: fitting a switch plate; Our services: the kitchen with the tap); the subject sits right, the heading left */
/* Same height and words at the bottom, like the other photo banners (.hero with min-height 70vh) */
.photo-opening { position: relative; overflow: hidden; min-height: 70vh; display: flex; align-items: flex-end; padding: 0; }
.photo-opening > .wrap { width: 100%; padding-top: 3rem; padding-bottom: 2.6rem; }
@media (max-width: 40rem) { .photo-opening > .wrap { padding-bottom: 5.5rem; } }
/* Headings at the same height on Services, Suburbs, About and How we work (Chris, 25 Oct 2026): the words at the
   bottom of each photo get the same room (heading plus two lines), so a page with less under its heading doesn't sit lower */
.photo-opening > .wrap, .hero.about-top > .wrap, .hero[style*="70vh"] > .wrap { min-height: calc(11.7rem + 5.6rem); }
@media (max-width: 40rem) {
  .photo-opening > .wrap, .hero.about-top > .wrap, .hero[style*="70vh"] > .wrap { min-height: calc(11rem + 8.5rem); }
  /* Phones: one banner height, About's (any taller crops people off the team photo); beats the pages' own min-height:70vh */
  .photo-opening, .hero.about-top, .hero[style*="70vh"] { min-height: 55vh !important; }
}
/* Services, Suburbs and How we work: a shorter photo banner, so the page itself starts sooner (Chris, 25 Oct 2026) */
.banner-short > .wrap { min-height: calc(11.7rem + 5.6rem); }
section.banner-short { min-height: max(42vh, 22rem) !important; }
@media (max-width: 40rem) {
  .banner-short > .wrap { min-height: calc(11rem + 8.5rem); }
  section.banner-short { min-height: 0 !important; }
}
.photo-opening > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; }
.photo-opening::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(18,18,18,.9) 0%, rgba(18,18,18,.75) 45%, rgba(18,18,18,.35) 100%); }
@media (max-width: 52rem) { .photo-opening::before { background: rgba(18,18,18,.72); } }
/* Wide screens: the photo fills the right part only, so his face and hands both stay in view */
@media (min-width: 52.01rem) {
  .photo-opening > img { left: auto; width: 62%; object-position: 60% 55%; }
  .photo-opening::before { background: linear-gradient(to right, var(--charcoal) 0%, var(--charcoal) 38%, rgba(18,18,18,.82) 46%, rgba(18,18,18,.3) 100%); }
}
.photo-opening > .wrap { position: relative; z-index: 2; }
.photo-opening h1 { color: #fff; }
.photo-opening .lead { color: #f0f0f0; }
.contact-big { display: none; }
.contact-view .contact-big { display: flex; align-items: flex-end; }
/* Reviews: one row that swipes sideways, the next card peeking in so it's clear there's more */
.quotes-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.quotes-arrows { display: flex; gap: 0.5rem; }
.quotes-arrows button { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid var(--blue); background: none; color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.quotes-arrows button:hover { background: var(--blue); }
.quotes {
  display: flex; gap: 1.2rem; margin: 1.6rem 0; padding-bottom: 0.8rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--blue) transparent;
}
.quotes figure {
  margin: 0; flex: 0 0 85%; scroll-snap-align: start;
  background: rgba(255,255,255,0.06); border-radius: 6px; padding: 1.2rem 1.3rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
@media (min-width: 40rem) { .quotes figure { flex-basis: 46%; } }
@media (min-width: 60rem) { .quotes figure { flex-basis: 31%; } }
.quotes blockquote { margin: 0 0 0.8rem; font-size: 1.02rem; line-height: 1.6; }
.quotes blockquote::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 3.4rem; line-height: 1; color: var(--blue); height: 1.6rem; }
.quotes figcaption { font-weight: 700; color: #fff; }

/* A short story beside its photos */
.story { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 56rem) { .story { grid-template-columns: 5fr 7fr; gap: 2.6rem; } }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; }
.strip-note { font-size: 0.9rem; color: #666; margin-top: 0.5rem; }

section.flush { padding: 0; }
section.dark + section, section.hero + section { border-top: 0; }

/* Footer */
.site-foot { background: var(--charcoal); color: #eee; padding: 1.6rem 0 1rem; font-size: 0.95rem; }
.site-foot a { color: #fff; }
.site-foot .foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.site-foot .foot-brand p { margin: 0.4rem 0 0; }
.site-foot .foot-contact { margin: 0; text-align: right; }
.site-foot .foot-licence { color: #ccc; margin: 1.2rem 0 0; }
@media (max-width: 36rem) { .site-foot .foot-contact { text-align: left; } }
.site-foot .logo-box { background: #fff; display: inline-block; padding: 0.5rem 0.7rem; border-radius: 4px; }
.site-foot .logo-box img { width: 190px; }

/* Bottom bar on phones */
.callbar { display: none; }

@media (max-width: 48rem) {
  .menu-wide { display: none; }
  /* Phones: the menu button sits at the right of the logo row, and the menu drops down under it */
  .site-head { position: relative; }
  .head-row { flex-wrap: nowrap; padding-right: 3.2rem; }
  .menu-small { display: block; }
  .menu-small summary {
    position: absolute; top: 0; right: 0.4rem; height: calc(1.8rem + 36px); width: 3rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
    cursor: pointer; list-style: none; font-size: 0.72rem; font-weight: 700; line-height: 1; color: var(--charcoal);
  }
  .menu-small summary::-webkit-details-marker { display: none; }
  .menu-small summary::before { content: "\2630"; font-size: 1.6rem; line-height: 1; color: var(--blue); }
  .menu-small[open] summary::before { content: "\2715"; font-size: 1.35rem; padding: 0.1rem 0; }
  .menu-small ul { list-style: none; margin: 0; padding: 0 0 0.8rem; }
  .menu-small li a { display: block; padding: 0.5rem 0; text-decoration: none; font-weight: 600; border-top: 1px solid var(--line); }
  /* The header's Book online button is hidden on phones, so the menu ends with it in blue */
  .menu-small .menu-book a { color: var(--blue); font-weight: 700; }
  .head-contact .btn { display: none; }
  .brand img { width: 150px; }
  .brand { gap: 0.4rem; }
  .brand .motto { font-size: 0.8rem; padding-left: 0.4rem; }
  .head-row { gap: 0.5rem; }
  .head-contact { display: none; }
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    background: #fff; border-top: 1px solid var(--line); padding: 0.5rem; gap: 0.5rem;
  }
  .callbar a { flex: 1; text-align: center; }
  /* Room under the footer for the bottom bar, only on pages that have one (not book/) */
  body:has(.callbar) .site-foot { padding-bottom: 5rem; }
  .hero { min-height: 88vh; }
  .hero .wrap { padding-bottom: 5.5rem; }
  section { padding: 2.2rem 0; }
}

/* The booking window (/book/, book/book.js) */
.bk-tel { white-space: nowrap; }
.booking { margin-top: 1.4rem; border: 1px solid var(--line); border-top: 3px solid var(--blue); background: #fff; padding: 1.2rem 1.4rem 1.4rem; }
.booking [hidden] { display: none !important; }
/* The window with online bookings off: just the apology. */
.bk-closed .bk-msg { margin: 0; }
.bk-step { font-size: 0.85rem; color: #555; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.3rem; }
/* Progress across the top: blue for steps done, charcoal for this one, grey to come. */
.bk-progress { list-style: none; display: flex; gap: 0.3rem; padding: 0; margin: 0 0 1rem; }
.bk-progress li { flex: 1; padding-top: 0.45rem; border-top: 5px solid var(--line); font-size: 0.8rem; color: #777; text-align: center; }
.bk-progress li.done { border-top-color: var(--blue); color: var(--charcoal); }
.bk-progress li.now { border-top-color: var(--charcoal); color: var(--charcoal); font-weight: 700; }
@media (min-width: 36rem) { .booking .bk-step { display: none; } }
@media (max-width: 35.99rem) { .bk-progress li { font-size: 0; padding-top: 0; } }
.bk-sub { font-family: var(--body); font-size: 1.1rem; font-weight: 700; letter-spacing: 0; margin: 1.8rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.booking h2 { font-size: clamp(2.1rem, 5vw, 2.6rem); }
.booking h2:focus { outline: none; }
.booking label, .booking legend, .bk-label { display: block; font-weight: 600; font-size: 1rem; margin: 1.1rem 0 0.35rem; padding: 0; }
.booking .opt { font-weight: 400; color: #555; }
.booking input[type=text], .booking input[type=tel], .booking input[type=email], .booking textarea {
  display: block; width: 100%; font: inherit; color: var(--ink); background: #fff;
  padding: 0.6rem 0.75rem; border: 1px solid #b6bec2; border-radius: 4px;
}
.booking ::placeholder { color: #999; opacity: 1; }
.booking input:focus, .booking textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.bk-lookup { position: relative; }
.bk-lookup .bk-hint { margin: 0.35rem 0 0; color: #555; }
.bk-lookup-list { position: absolute; left: 0; right: 0; z-index: 5; list-style: none; margin: 0.2rem 0 0; padding: 0.25rem 0; background: #fff; border: 1px solid #b6bec2; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,0.12); max-height: 18rem; overflow-y: auto; }
.bk-lookup-list li { padding: 0.6rem 0.75rem; cursor: pointer; }
.bk-lookup-list li span { margin-left: 0.5rem; color: #555; }
.bk-lookup-list li:hover, .bk-lookup-list li[aria-selected=true] { background: var(--soft); }
#bk-postcode { max-width: 9rem; font-size: 1.35rem; letter-spacing: 0.12em; }
.booking button { font: inherit; cursor: pointer; }
.booking .btn { font-weight: 700; }
.booking .btn[disabled] { opacity: 0.55; cursor: default; }
.bk-nav { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.4rem 0 0.9rem; }
.bk-nav .bk-go { margin-left: auto; min-width: 9rem; }
.bk-msg { background: var(--soft); border-left: 4px solid var(--blue); padding: 0.6rem 0.9rem; margin: 1rem 0; font-weight: 600; color: var(--charcoal); }
/* Time screen: two tabs, a month calendar, and arrival windows as round tick-box lines (like Proximity's). */
.bk-tabs { display: flex; margin: 1rem 0 0.4rem; border: 2px solid var(--blue); border-radius: 4px; overflow: hidden; }
.bk-tabs button { flex: 1; padding: 0.6rem 0.5rem; font-size: 1rem; font-weight: 600; color: var(--charcoal); background: #fff; border: 0; }
.bk-tabs button + button { border-left: 2px solid var(--blue); }
.bk-tabs button[aria-pressed=true] { background: var(--blue); color: #10202a; }
.bk-slots { display: grid; gap: 0.5rem; }
.booking .bk-slot { display: flex; align-items: center; gap: 0.7rem; margin: 0; padding: 0.75rem 0.9rem; font-weight: 600; color: var(--charcoal); border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.bk-slot:hover { border-color: var(--charcoal); }
.bk-slot:has(input:checked) { border: 2px solid var(--blue); padding: calc(0.75rem - 1px) calc(0.9rem - 1px); background: var(--soft); }
.bk-slot input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--blue); flex: none; }
.bk-month { display: flex; align-items: center; gap: 0.6rem; margin: 1.1rem 0 0.6rem; }
.bk-month-name { flex: 1; margin: 0; text-align: center; font-size: 1.2rem; font-weight: 700; color: var(--charcoal); }
.booking .bk-month-go { width: 3.2rem; height: 3.2rem; font-size: 2.2rem; line-height: 1; padding: 0 0 0.2rem; color: var(--charcoal); background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.bk-month-go:hover:not(:disabled) { border-color: var(--charcoal); }
.bk-month-go:disabled { opacity: 0.35; cursor: default; }
.bk-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.35rem; text-align: center; }
.bk-wd { font-size: 0.8rem; color: #555; padding-bottom: 0.2rem; }
.bk-date { aspect-ratio: 1; max-height: 3rem; font-size: 1rem; font-weight: 600; color: var(--charcoal); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 0; }
.bk-date:hover:not(:disabled) { border-color: var(--charcoal); }
.bk-date:disabled { color: #aaa; background: var(--soft); border-color: var(--soft); text-decoration: line-through; cursor: default; }
.bk-date[aria-pressed=true] { background: var(--blue); border-color: var(--blue); color: #10202a; }
.bk-label.bk-day { font-weight: 400; }
.bk-hint.bk-pick { font-weight: 700; }
.bk-otw { margin: 0.8rem 0 0; }
.bk-locked { font-size: 1.25rem; margin: 0.7rem 0 0; }
.bk-locked .bk-edit { font-size: 1.1875rem; } /* 25% up on Change, with the line (Chris, 23 Oct) */
.bk-edit { background: none; border: 0; padding: 0 0.2rem; color: var(--charcoal); font-size: 0.95rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bk-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bk-hint { margin: 0 0 0.5rem; }
.bk-photos { list-style: none; padding: 0; margin: 0 0 0.6rem; }
.bk-photos li { display: flex; align-items: center; gap: 0.7rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.bk-photos img { width: 3.6rem; height: 3.6rem; object-fit: cover; border-radius: 3px; flex: none; }
.bk-photos span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-photos .bk-busy { color: #555; }
.booking .bk-add { display: inline-block; margin: 0.2rem 0 0; padding: 0.7rem 1.2rem; font-weight: 700; cursor: pointer; position: relative; }
.bk-add input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.bk-add:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.bk-radios { border: 0; padding: 0; margin: 1.2rem 0 0; }
.bk-radios label { display: flex; align-items: center; gap: 0.6rem; font-weight: 400; margin: 0; padding: 0.35rem 0; }
.bk-radios input[type=radio] { width: 1.15rem; height: 1.15rem; accent-color: var(--charcoal); margin: 0; }
.bk-radios input[type=text] { margin-top: 0.3rem; max-width: 24rem; }
.bk-review { margin: 1rem 0; }
.bk-review div { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: 0.2rem 0.8rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.bk-review dt { font-weight: 700; color: var(--charcoal); }
.bk-review dd { margin: 0; overflow-wrap: anywhere; }
.bk-fee { font-weight: 600; margin-top: 1.2rem; }
#bk-human { margin: 0.6rem 0 0; }
@media (max-width: 48rem) {
  .booking { padding: 1rem 1rem 1.2rem; }
  .bk-review div { grid-template-columns: 1fr auto; }
  .bk-review dt { grid-column: 1 / -1; font-size: 0.9rem; }
}
