@import url("fonts.css");

/* ============================================================
   Plumbing only. Nothing here is a design decision — no colour,
   no typeface, no layout. Each site writes its own visual system
   on top; this file only carries the things that must be right
   on every site and are invisible when they are.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* A sideways-scrollable page drags position:fixed elements out of view on
     phones. Clip rather than scroll. (clip, not hidden: hidden would make html
     a scroll container and break scroll-padding and sticky.) */
  overflow-x: clip;
}

body { margin: 0; }
/* Lock scrolling on the ROOT, not on body. html already has overflow-x:clip,
   so overflow:hidden on body turns body into its own scroll container — a
   position:sticky header then sticks to body and is thrown off-screen (with
   its close button) when the menu opens after scrolling. site.js puts
   .is-locked on <html> directly; a :has() selector was tried first and its
   style invalidation visibly lagged behind the menu opening. */
html.is-locked { overflow: hidden; }
/* [hidden] must win. A rule like `.gallery-more { display:flex }` outranks the
   browser's own `[hidden] { display:none }`, which left an empty "Show 0 more"
   button on screen whenever a gallery had nothing further to reveal. */
[hidden] { display: none !important; }

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
/* A <button> inherits the user agent's grey `buttonface` unless something says
   otherwise. An outline/ghost button that sets only border-color and color then
   renders as light-grey with (often white) text on it — invisible. Reset here;
   any variant that wants a fill sets one and wins on specificity. */
button { background: transparent; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reveal-on-scroll. The JS failsafe shows everything if the observer
   never runs, so content can never be stranded invisible. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease, ease), transform .7s var(--ease, ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .site-header, .lightbox, .skip-link, .gallery-more, .filters, .map-consent, .callbar { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}

/* =====================================================================
   Skiathos Sound Lights for Events
   The old site's look, rebuilt: black header and footer, the full-screen
   speaker photo, photo tiles with black label boxes, neon green buttons,
   pink contact button, Lobster display headings on Roboto / Ubuntu.
   WCAG 2.2 AA: every text colour below is checked against its background
   (ratios in comments). Sizes are rem so "Larger text" scales everything.
   ===================================================================== */
:root {
  --black: #000;
  --panel: #111;
  --line-dark: #2e2e2e;
  --on-dark: #fff;
  --on-dark-2: #bdbdbd;      /* 10.5:1 on #000, 9.4:1 on #111 */
  --pink: #ff1053;           /* accents on black: 5.45:1 */
  --pink-btn: #e0004d;       /* white text on it: 4.91:1 */
  --pink-btn-hover: #c40044; /* white text on it: 6.12:1 */
  --pink-ink: #c40044;       /* pink text on white: 6.12:1 */
  --green: #32ed2f;          /* black text on it: 13.3:1 */
  --green-hover: #6dff6b;
  --paper: #fff;
  --paper-2: #f3f3f5;
  --ink: #111;
  --text: #3d3d3d;           /* 11.1:1 on white, 10:1 on #f3f3f5 */
  --muted: #555;             /* 7.5:1 on white, 6.7:1 on #f3f3f5 */
  --field: #6b6b6b;          /* field borders: 5.3:1 on white (non-text needs 3:1) */
  --line: #dcdcdf;
  --ok: #1a7f18;             /* 5.1:1 on white */
  --script: "Lobster", "Ubuntu", cursive;
  --head: "Ubuntu", "Roboto", system-ui, sans-serif;
  --body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --header-h: 4.75rem;
  --radius: 12px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html { font-size: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
html.is-larger { font-size: 125%; }
body { font: 400 1.125rem/1.65 var(--body); color: var(--text); background: var(--black); }
main { background: var(--paper); }
main:focus { outline: none; }
.wrap { width: min(1200px, 100% - 2 * clamp(1.25rem, 4vw, 3rem)); margin-inline: auto; }
/* Keep text clear of the accessibility buttons on the left edge (44px). */
@media (min-width: 701px) { .wrap { width: min(1200px, 100% - 2 * max(3.5rem, 4vw)); } }
a[href^="tel:"] { white-space: nowrap; }
.ico { width: 1.25rem; height: 1.25rem; flex: none; }
a { color: var(--pink-ink); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: .005em; line-height: 1.15; text-wrap: balance; }
:lang(el) .script { font-family: var(--head); font-weight: 700; letter-spacing: -.01em; }
.section-title { font: 500 clamp(1.8rem, 3.2vw, 2.4rem)/1.2 var(--head); color: var(--ink); text-wrap: balance; }
.plain-list { list-style: none; }

/* Focus: a white ring inside a black ring, visible on any background. */
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 8px #000; }
input:focus-visible, textarea:focus-visible { outline-offset: 1px; }
.check:focus-within { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 8px #000; }
.check input:focus-visible { outline: none; box-shadow: none; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; padding: .75rem 1.25rem; background: #fff; color: #000; font-weight: 700; text-decoration: underline; border-radius: 6px; }
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .75rem 1.5rem; border: 2px solid transparent; border-radius: 6px; font: 700 1.0625rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn .ico { width: 1.15rem; height: 1.15rem; }
.btn-pink { background: var(--pink-btn); color: #fff; }
.btn-pink:hover { background: var(--pink-btn-hover); color: #fff; }
.btn-green { background: var(--green); color: #000; }
.btn-green:hover { background: var(--green-hover); color: #000; }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: #000; }

/* ---------- Accessibility tools (left edge, as on the old site) ---------- */
.a11y-tools { position: fixed; left: 0; top: 50%; z-index: 60; display: flex; flex-direction: column; gap: 4px; transform: translateY(-50%); }
.a11y-tools button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: #fff; color: #000; border: 2px solid #000; border-left: 0; border-radius: 0 8px 8px 0; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.a11y-tools button .ico { width: 22px; height: 22px; }
.a11y-tools button:hover { background: #e9e9e9; }
.a11y-tools button[aria-pressed="true"] { background: #000; color: #fff; border-color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--on-dark); border-bottom: 1px solid #1c1c1c; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; min-height: var(--header-h); padding-block: .5rem; }
.brand { display: block; padding: .25rem 0; }
.brand img { width: 180px; }
.header-tools { display: flex; align-items: center; gap: .25rem; }
.header-contact { margin-right: .5rem; padding-inline: 1.1rem; }
.header-contact[aria-current="page"] { box-shadow: inset 0 -3px 0 #fff; }
.icon-link { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 44px; min-height: 44px; padding: 0 .5rem; color: #fff; border-radius: 22px; text-decoration: none; font: 700 .9375rem/1 var(--body); }
.icon-link:hover { background: #262626; color: #fff; }
.icon-link .ico { width: 1.2rem; height: 1.2rem; }
.flag { width: 1.5rem; height: 1rem; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }

/* ---------- Home: hero ---------- */
.hero { position: relative; display: grid; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); background: #000; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 45%, rgba(0, 0, 0, 0) 100%); }
.scroll-cue { position: absolute; left: 50%; bottom: clamp(1.25rem, 4vh, 2.5rem); z-index: 2; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin-left: -1.75rem; color: #fff; background: rgba(0, 0, 0, .7); border: 2px solid #fff; border-radius: 50%; }
.scroll-cue .ico { width: 1.6rem; height: 1.6rem; }
.scroll-cue:hover { background: #000; color: var(--green); border-color: var(--green); }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue .ico { animation: nudge 2.4s var(--ease) 2; }   /* twice, then still (WCAG 2.2.2) */
  @keyframes nudge { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(4px); } }
}

/* ---------- Home: why choose us (black) ---------- */
.why { background: #000; color: var(--on-dark); padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem); }
.why:focus { outline: none; }
.why-intro { max-width: 52rem; margin: 0 auto; text-align: center; }
.why h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); color: #fff; }
.why h1::after { content: ""; display: block; width: 4.5rem; height: 4px; margin: 1.5rem auto 0; background: var(--pink); border-radius: 2px; }
.why .lead { margin-top: 1.5rem; font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.7; color: #e6e6e6; }  /* 16.5:1 */
.features { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.feature { padding: 2rem 1.75rem 2.25rem; background: var(--panel); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.feature-ico { width: 3rem; height: 3rem; padding: .7rem; margin-bottom: 1.25rem; color: var(--pink); border: 2px solid var(--pink); border-radius: 50%; stroke-width: 1.8; }
.feature h2 { margin-bottom: .75rem; font: 500 1.5rem/1.25 var(--head); color: #fff; }
.feature p { color: var(--on-dark-2); }

/* ---------- Home: photo tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #000; }
.tile { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(26rem, 72vh, 42rem); padding: clamp(1.5rem, 3vw, 2.5rem); overflow: hidden; }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .15) 55%, rgba(0, 0, 0, 0) 100%); }
.tile:hover img, .tile:focus-within img { transform: scale(1.04); }
.tile + .tile { border-left: 1px solid #000; }
.tile-body { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.tile-kicker { display: inline-block; margin: 0; padding: .3rem .7rem; background: #000; color: var(--on-dark-2); font: 500 1rem/1.35 var(--body); }
.tile h2 { padding: .35rem .75rem .45rem; background: #000; color: #fff; font: 700 clamp(1.6rem, 2.3vw, 2.1rem)/1.15 var(--body); }
.tile .btn { margin-top: 1rem; }

/* ---------- Home: local experts (white) ---------- */
.local { padding: clamp(4rem, 9vw, 6.5rem) 0; background: var(--paper); }
.local .script { max-width: 24ch; margin: 0 auto; font-size: clamp(2.2rem, 4.6vw, 3.4rem); color: var(--ink); text-align: center; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.local-card { padding: clamp(1.75rem, 3vw, 2.5rem); border: 1px solid var(--line); border-top: 4px solid var(--pink-btn); border-radius: var(--radius); }
.local-card h3 { margin-bottom: 1rem; font: 500 1.5rem/1.25 var(--head); color: var(--ink); }
.icon-list { list-style: none; }
.icon-list li { display: flex; align-items: center; gap: 1rem; padding: .95rem 0; border-top: 1px solid #ececef; font: 500 1.15rem/1.35 var(--body); color: var(--ink); }
.icon-list .ico { width: 1.75rem; height: 1.75rem; color: var(--pink-ink); stroke-width: 1.8; }

/* ---------- Home: reviews ---------- */
.reviews { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--paper-2); }
.reviews .section-title { text-align: center; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.review { position: relative; margin: 0; padding: 3.25rem 2.25rem 2rem; background: #fff; border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 30px rgba(0, 0, 0, .06); }
.quote-mark { position: absolute; top: .25rem; left: 1.75rem; font: 400 5rem/1 var(--script); color: var(--pink-ink); }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 1.2rem; line-height: 1.65; color: #2b2b2b; }
.review figcaption { margin-top: 1.25rem; font: 700 1.05rem/1.3 var(--body); color: var(--ink); }
.review figcaption::before { content: "— "; }

/* ---------- Home: call to action (black with stage-light glow) ---------- */
.cta { padding: clamp(4rem, 9vw, 6.5rem) 0; color: #fff; text-align: center;
  background:
    radial-gradient(50% 90% at 12% 0%, rgba(255, 16, 83, .28), rgba(255, 16, 83, 0) 70%),
    radial-gradient(45% 90% at 90% 100%, rgba(120, 60, 255, .3), rgba(120, 60, 255, 0) 70%),
    #000; }
.cta .script { font-size: clamp(2.3rem, 5vw, 3.6rem); color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }

/* ---------- Home: FAQ ---------- */
.faq { padding: clamp(4rem, 9vw, 6.5rem) 0; background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; padding: 1.25rem 0; border: 0; text-align: left; font: 600 1.2rem/1.4 var(--body); color: var(--ink); cursor: pointer; }
.faq-q:hover span { text-decoration: underline; text-underline-offset: .2em; }
.faq-ico { width: 2.25rem; height: 2.25rem; padding: .45rem; border: 2px solid var(--ink); border-radius: 50%; }
.faq-q[aria-expanded="true"] .faq-ico { background: var(--ink); color: #fff; }
.faq-q[aria-expanded="true"] .pm-v { display: none; }
.faq-a { padding: 0 3.75rem 1.5rem 0; }
.faq-a p { color: var(--text); }

/* ---------- Page head (contact, privacy) ---------- */
.page-head { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(20rem, 46vh, 28rem); padding: 3rem 0 3.5rem; background: #000; color: #fff; overflow: hidden; }
.page-head-img { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 64%; height: 100%; object-fit: cover; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #000 0%, #000 36%, rgba(0, 0, 0, .55) 58%, rgba(0, 0, 0, .1) 100%); }
.page-head-body { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.page-head h1 { padding: .3rem .8rem .45rem; background: #000; font: 400 clamp(2.6rem, 6vw, 4.2rem)/1.1 var(--script); color: #fff; }
:lang(el) .page-head h1 { font-family: var(--head); font-weight: 700; }
.page-lead { max-width: 34rem; margin-top: 1rem; padding: .5rem .8rem; background: #000; font-size: 1.15rem; color: #e6e6e6; }

/* ---------- Contact ---------- */
.contact { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-intro { margin: .5rem 0 2rem; color: var(--muted); }
.field { margin: 0 0 1.6rem; }
.field label, .field legend { display: block; margin-bottom: .2rem; font: 700 1.0625rem/1.4 var(--body); color: var(--ink); }
.req { color: var(--pink-ink); }
.hint { margin: 0 0 .5rem; font-size: 1rem; line-height: 1.5; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], textarea { display: block; width: 100%; padding: .75rem .9rem; font: 400 1.0625rem/1.4 var(--body); color: var(--ink); background: #fff; border: 2px solid var(--field); border-radius: 8px; }
textarea { min-height: 10rem; resize: vertical; }
input:hover, textarea:hover { border-color: var(--ink); }
[aria-invalid="true"] { border-color: var(--pink-ink) !important; background: #fff5f8 !important; }
.field-error { display: flex; align-items: flex-start; gap: .45rem; margin: .5rem 0 0; font-weight: 700; color: var(--pink-ink); }
.field-error .ico { margin-top: .2rem; }
fieldset.field { padding: 0; border: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: .6rem; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.field .check { display: flex; align-items: center; gap: .7rem; min-height: 3rem; margin: 0; padding: .55rem .9rem; border: 2px solid var(--line); border-radius: 8px; font: 500 1.0625rem/1.35 var(--body); color: var(--ink); cursor: pointer; }
.check:hover { border-color: var(--field); }
.check input { flex: none; width: 1.35rem; height: 1.35rem; margin: 0; accent-color: var(--pink-ink); }
.check:has(input:checked) { border-color: var(--pink-ink); background: #fff5f8; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; margin: 0 0 1.25rem; }
.privacy-note { font-size: 1rem; color: var(--muted); }
.btn-submit { margin-top: .5rem; min-width: 12rem; }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.form-status { min-height: 1.6em; margin-top: 1rem; font-weight: 700; }
.form-status[data-kind="error"] { color: var(--pink-ink); }
.form-status[data-kind="ok"] { color: var(--ok); }
.form-status[data-kind="busy"] { color: var(--muted); }

.contact-card { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: clamp(1.75rem, 3vw, 2.5rem); background: #000; color: #fff; border-radius: var(--radius); }
.contact-card h2 { margin-bottom: 1.25rem; font: 400 2.4rem/1.1 var(--script); color: #fff; }
:lang(el) .contact-card h2 { font-family: var(--head); font-weight: 700; font-size: 2rem; }
.contact-card a { color: #fff; }
.contact-card a:hover { color: var(--green); }
.with-icon { display: flex; align-items: flex-start; gap: .75rem; }
.with-icon .ico { margin-top: .25rem; color: var(--pink); }
.contact-card p { margin-bottom: .9rem; }
.social-list { margin: 1.25rem 0; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); }
.social-list li + li { margin-top: .5rem; }
.social-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.social-list .ico { margin-top: 0; }
.contact-note { padding-top: 1.25rem; border-top: 1px solid var(--line-dark); color: var(--on-dark-2); }

/* ---------- Privacy ---------- */
.prose-section { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.prose { max-width: 46rem; }
.prose h2 { margin: 2.25rem 0 .6rem; font: 500 1.6rem/1.25 var(--head); color: var(--ink); }
.prose h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(3.5rem, 7vw, 5rem) 0 0; background: #000; color: var(--on-dark-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 3.5rem); }
.footer-brand img { width: 200px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 26rem; }
.footer-col h2 { margin-bottom: 1rem; font: 500 1.2rem/1.3 var(--head); color: #fff; }
.footer-col p { margin-bottom: .75rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--green); }
.footer-col p a { text-decoration: underline; }
.footer-col .plain-list li + li { margin-top: .15rem; }
.footer-col .plain-list a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .with-icon .ico { color: var(--pink); }
.footer-col .plain-list .with-icon .ico { margin-top: 0; }
.colophon { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: 1.5rem 0 2rem; border-top: 1px solid var(--line-dark); font-size: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  html.is-larger .features { grid-template-columns: minmax(0, 1fr); max-width: 44rem; margin-inline: auto; }
}
@media (max-width: 1000px) {
  .features { grid-template-columns: minmax(0, 1fr); max-width: 40rem; margin-inline: auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 24rem; }
  .tile + .tile { border-left: 0; border-top: 1px solid #000; }
  .local-grid, .review-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card { position: static; }
  .page-head { display: block; padding: 0 0 2.5rem; min-height: 0; }
  .page-head-img { position: static; width: 100%; height: 13rem; }
  .page-head::after { inset: 0 0 auto; height: 13rem; background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 60%); }
  .page-head-body { margin-top: -2.5rem; }
}
@media (max-width: 700px) {
  :root { --header-h: 4rem; }
  .site-header { position: relative; }
  html { scroll-padding-top: 1rem; }
  .brand img { width: 140px; }
  .header-contact { margin-right: .25rem; padding: 0; min-width: 44px; min-height: 44px; }
  .header-contact .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-contact .ico { width: 1.25rem; height: 1.25rem; }
  .hero { min-height: 72vh; min-height: 72svh; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .faq-a { padding-right: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  /* Phones: the tools sit in the header next to the logo instead of floating over the text. */
  .a11y-tools { position: static; flex-direction: row; gap: .5rem; transform: none; }
  .a11y-tools button { border: 2px solid #fff; border-radius: 8px; box-shadow: none; }
  .header-tools { width: 100%; justify-content: space-between; padding-top: .25rem; border-top: 1px solid #1c1c1c; }
}
@media (max-width: 380px) {
  .icon-link { padding: 0 .35rem; }
}

/* =====================================================================
   High contrast (the "High contrast" button): black, white and yellow.
   ===================================================================== */
html.is-contrast, html.is-contrast body, html.is-contrast main { background: #000 !important; }
html.is-contrast *:not(svg):not(svg *) { background-color: #000 !important; color: #fff !important; border-color: #fff !important; text-shadow: none !important; box-shadow: none !important; }
html.is-contrast *::before, html.is-contrast *::after { background-image: none !important; }
html.is-contrast .hero::after { display: none; }
html.is-contrast .tile::after, html.is-contrast .page-head::after { background: rgba(0, 0, 0, .55) !important; }
html.is-contrast .cta { background-image: none !important; }
html.is-contrast a, html.is-contrast a *:not(svg):not(svg *), html.is-contrast button, html.is-contrast button *:not(svg):not(svg *) { color: #ff0 !important; }
html.is-contrast a svg, html.is-contrast button svg { color: #ff0 !important; }
html.is-contrast a { text-decoration: underline !important; }
html.is-contrast .btn, html.is-contrast .icon-link, html.is-contrast .scroll-cue, html.is-contrast .faq-ico,
html.is-contrast input, html.is-contrast textarea, html.is-contrast .check, html.is-contrast .a11y-tools button { border: 2px solid #ff0 !important; }
html.is-contrast .a11y-tools button[aria-pressed="true"], html.is-contrast .a11y-tools button[aria-pressed="true"] * { background-color: #ff0 !important; color: #000 !important; }
html.is-contrast .feature-ico, html.is-contrast .icon-list .ico, html.is-contrast .with-icon .ico, html.is-contrast .field-error .ico { color: #fff !important; border-color: #fff !important; }
html.is-contrast .req, html.is-contrast .field-error, html.is-contrast .form-status { color: #ff0 !important; }
html.is-contrast .why h1::after, html.is-contrast .local-card { border-top-color: #fff !important; }
html.is-contrast .why h1::after { background: #fff !important; }
html.is-contrast .faq-q[aria-expanded="true"] .faq-ico { background-color: #ff0 !important; color: #000 !important; }
html.is-contrast :focus-visible, html.is-contrast .check:focus-within { outline-color: #ff0 !important; box-shadow: 0 0 0 8px #000 !important; }
html.is-contrast .tile img, html.is-contrast .page-head-img { opacity: .6; }
