/* ==========================================================================
   LV HOME REPAIRS — styles.css
   Mobile-first. No frameworks, no build step.
   Edit the color variables below to re-skin the whole site at once.
   ========================================================================== */

/* ------------------------------ 1. Tokens -------------------------------- */
:root {
  --ink:        #14181d;   /* charcoal base */
  --ink-2:      #1c232b;   /* raised charcoal */
  --ink-3:      #2a333d;   /* borders on dark */
  --accent:     #f59a23;   /* safety amber */
  --accent-2:   #ffb554;   /* amber hover */
  --accent-ink: #1a1206;   /* text on amber */
  --paper:      #ffffff;
  --paper-alt:  #f7f5f1;   /* warm off-white */
  --paper-3:    #efece6;
  --text:       #20272f;
  --muted:      #5b6472;
  --line:       #e2ddd5;
  --line-strong:#cbc4b8;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --pad: 20px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(20, 24, 29, .06), 0 2px 8px rgba(20, 24, 29, .05);
  --shadow-md: 0 8px 30px rgba(20, 24, 29, .10);
  --header-h: 66px;
}

/* ------------------------------ 2. Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.1;
  letter-spacing: -.022em;
  font-weight: 800;
  color: inherit;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 6.4vw, 3.85rem); }
h2 { font-size: clamp(1.6rem, 4.3vw, 2.5rem); }
h3 { font-size: 1.12rem; letter-spacing: -.012em; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

/* author display rules would otherwise beat the hidden attribute */
[hidden] { display: none !important; }

/* Two-tone focus ring: amber reads on the dark sections, the dark halo reads
   on white cards and links. */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(20, 24, 29, .85);
  border-radius: 4px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

.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;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

/* ------------------------------ 3. Layout -------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: 66px 0; scroll-margin-top: calc(var(--header-h) + 8px); }
.section-tight { padding: 54px 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--ink); color: #e9edf2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-lede { color: #b7c0cb; }

.section-head { max-width: 720px; margin-bottom: 34px; }
.section-lede {
  font-size: 1.03rem;
  color: var(--muted);
  max-width: 62ch;
}
.section-dark .eyebrow { color: var(--accent-2); }

.eyebrow {
  margin: 0 0 12px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #a3610d;
}

/* ------------------------------ 4. Buttons ------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 13px 20px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform .12s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn svg {
  width: 19px; height: 19px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.btn-accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); box-shadow: 0 6px 18px rgba(245, 154, 35, .24); }
.btn-accent:hover { --btn-bg: var(--accent-2); }

.btn-outline { border-color: currentColor; --btn-fg: inherit; }
.btn-outline:hover { background: rgba(0, 0, 0, .06); }
.section-dark .btn-outline:hover, .hero .btn-outline:hover { background: rgba(255, 255, 255, .12); }

.btn-sm { padding: 9px 14px; font-size: .87rem; }
.btn-lg { padding: 16px 24px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-instagram svg { fill: none; stroke: currentColor; }

/* ------------------------------ 5. Header -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(17, 21, 26, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  margin-right: auto;
  flex: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -.04em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand:hover .brand-mark { background: var(--accent-2); }
.brand:hover .brand-name { color: var(--accent-2); }
.brand-name { font-weight: 800; font-size: .98rem; letter-spacing: -.015em; color: #fff; }
.brand-loc { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9aa5b2; }

.primary-nav { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.header-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 10px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  font-weight: 700;
  font-size: .85rem;
  white-space: nowrap;
  transition: border-color .15s ease, background-color .15s ease;
}
.header-phone:hover { border-color: var(--accent); background: rgba(255, 255, 255, .06); }
.header-phone svg {
  width: 17px; height: 17px;
  flex: none;
  fill: none; stroke: var(--accent); stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.header-phone-label { display: flex; flex-direction: column; line-height: 1.1; }
.header-phone-hint {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9aa5b2;
  font-weight: 700;
}

.header-quote { display: none; }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: #fff;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: "";
  position: absolute; left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav panel */
@media (max-width: 899px) {
  .primary-nav {
    display: block;
    position: fixed;
    left: 0; right: 0;
    top: var(--header-h);
    background: #10151a;
    border-bottom: 1px solid var(--ink-3);
    padding: 8px var(--pad) 22px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .primary-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  /* The fixed Text/Call bar would otherwise cover the last menu item on a
     short phone screen while the menu is open. */
  body.nav-open .sticky-bar { display: none; }
  .primary-nav ul { display: grid; }
  .primary-nav a {
    display: block;
    padding: 15px 4px;
    font-size: 1.06rem;
    font-weight: 700;
    color: #eef2f6;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .primary-nav a:hover { color: var(--accent-2); }
  .primary-nav a[aria-current="page"] { color: var(--accent-2); }
  .primary-nav li:last-child a { border-bottom: 0; }
  .nav-quote-mobile { margin-top: 12px; }
  .nav-quote-mobile a {
    background: var(--accent);
    color: var(--accent-ink);
    border: 0;
    border-radius: 8px;
    text-align: center;
  }
  .nav-quote-mobile a:hover { color: var(--accent-ink); background: var(--accent-2); }
  .nav-quote-mobile a[aria-current="page"] { color: var(--accent-ink); background: var(--accent-2); }
}

/* Short phone screens: keep every menu item, including Free Quote, on screen. */
@media (max-width: 899px) and (max-height: 560px) {
  .primary-nav a { padding: 9px 4px; }
  .nav-quote-mobile { margin-top: 8px; }
}

@media (min-width: 900px) {
  :root { --header-h: 74px; }
  .header-inner { gap: 22px; }
  .primary-nav {
    display: block;
    margin-left: auto;
  }
  .primary-nav ul { display: flex; gap: 4px; }
  .primary-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 11px;
    font-size: .9rem;
    font-weight: 600;
    color: #cdd5de;
    text-decoration: none;
    border-radius: 6px;
    transition: color .15s ease, background-color .15s ease;
  }
  .primary-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
  .header-quote { display: inline-flex; }
  .primary-nav a[aria-current="page"] { color: #fff; background: rgba(245, 154, 35, .16); }
  .primary-nav a[aria-current="page"]:hover { color: #fff; background: rgba(245, 154, 35, .3); }
  .nav-quote-mobile { display: none; }
  .nav-toggle { display: none; }
  .header-phone { margin-left: 0; }
  .brand { margin-right: 0; }
}

@media (min-width: 900px) and (max-width: 1099px) {
  .header-inner { gap: 12px; }
  .primary-nav ul { gap: 1px; }
  .primary-nav a { padding: 9px 7px; font-size: .84rem; }
  .header-actions { gap: 6px; }
  .header-phone { padding: 6px 8px; font-size: .8rem; }
  .header-phone-hint { display: none; }
  .header-quote { padding: 8px 11px; font-size: .84rem; }
}

@media (min-width: 1080px) {
  .header-phone { padding: 8px 14px; font-size: .95rem; }
  .header-phone svg { width: 19px; height: 19px; }
}

@media (max-width: 560px) {
  .header-inner { gap: 6px; }
  .header-phone { padding: 5px 7px; font-size: .78rem; gap: 4px; }
  .header-phone svg { width: 14px; height: 14px; }
  .header-phone-hint { display: none; }
  .brand { gap: 7px; min-width: 0; }
  .brand-mark { width: 30px; height: 30px; font-size: .82rem; }
  .brand-name { font-size: .8rem; letter-spacing: -.02em; }
  .brand-loc { display: none; }
}

/* Very small phones (iPhone SE and older): phone becomes an icon-only
   button, still labeled for screen readers, so nothing is squeezed. */
@media (max-width: 340px) {
  .header-phone-label { display: none; }
  .header-phone { width: 44px; padding: 0; }
  .header-phone svg { width: 18px; height: 18px; }
}

/* ------------------------------ 6. Hero ---------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(72svh, 760px);
  padding: 26px 0 38px;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #1a2027;
  background-image:
    url("images/hero.jpg");
  background-image:
    image-set(url("images/hero.webp") type("image/webp"), url("images/hero.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center 40%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 15, 19, .72) 0%, rgba(12, 15, 19, .58) 34%, rgba(12, 15, 19, .92) 100%),
    radial-gradient(120% 90% at 15% 20%, rgba(12, 15, 19, .35), rgba(12, 15, 19, .05));
}

.hero-inner { position: relative; width: 100%; }

.hero-brand {
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.hero h1 {
  max-width: 17ch;
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero-tagline {
  font-size: clamp(1.06rem, 2.6vw, 1.3rem);
  font-weight: 600;
  color: #f3f6f9;
  max-width: 34ch;
  margin-bottom: 10px;
}
.hero-meta {
  font-size: .94rem;
  color: #c3ccd6;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.hero-actions .btn { flex: 1 1 190px; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: .88rem;
  font-weight: 600;
  color: #dfe6ee;
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: "";
  width: 7px; height: 7px;
  flex: none;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

@media (max-width: 899px) {
  /* Fill the first screen above the sticky bar, so the white start of the
     next section never shows as a strip under the hero. */
  .hero {
    align-items: center;
    min-height: clamp(560px, calc(100svh - var(--header-h) - 54px), 760px);
  }
}

@media (min-width: 900px) {
  .hero { align-items: center; min-height: 640px; padding: 80px 0 64px; }
  .hero h1 { max-width: 20ch; }
  .hero-actions .btn { flex: 0 0 auto; }
}

/* Desktop: more air, and keep the headline/actions in a readable column so the
   hero background still reads instead of the text sprawling across it. */
@media (min-width: 1024px) {
  .section { padding: 88px 0; }
  .section-tight { padding: 72px 0; }
  .hero { min-height: 560px; padding: 72px 0 64px; }
  .hero-inner { max-width: 760px; }
  .hero-actions { margin-bottom: 30px; }
}

@media (min-width: 1280px) {
  :root { --pad: 32px; }
}

/* ------------------------------ 8. Services ------------------------------ */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
/* Each card is a link to the quote form, so the whole tile is the target. */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.service-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.service-card h2 { color: var(--ink); }
.service-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 16px;
  border-radius: 9px;
  background: #fdf1de;
  color: #a35d05;
}
.service-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3, .service-card h2 { margin-bottom: 8px; font-size: 1.06rem; letter-spacing: -.012em; }
.service-card p { font-size: .93rem; color: var(--muted); }

.area-note {
  margin-top: 26px;
  padding: 16px 18px;
  background: var(--paper-alt);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: .95rem;
  color: var(--text);
}
.area-note strong { color: #11161c; }

@media (min-width: 620px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .service-card { padding: 26px 22px; }
}

/* ------------------------- 8b. How it works strip ------------------------ */
.how {
  padding: 26px 0;
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how-inner { display: grid; gap: 16px; }
.how-title { margin: 0; }
.how-steps {
  counter-reset: how-step;
  display: grid;
  gap: 14px;
}
.how-steps li {
  counter-increment: how-step;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.45;
}
.how-steps li::before {
  content: counter(how-step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
}
/* the strip sits between the services section and the dark CTA card */
.how + .wrap > .cta-band { margin-top: 26px; }

@media (min-width: 760px) {
  .how { padding: 30px 0; }
  .how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

@media (min-width: 1080px) {
  .how-inner { grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 32px; }
}

/* ------------------------------ 9. CTA band ------------------------------ */
.cta-band {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 8px 0 0;
  padding: 22px 24px;
  background: var(--ink);
  color: #dfe6ee;
  border-radius: var(--radius-lg);
  border: 1px solid #2b3540;
  border-left: 5px solid var(--accent);
  box-shadow: var(--shadow-sm);
}
.cta-band p { font-size: .98rem; max-width: 60ch; }
.cta-band strong { color: #fff; }
.cta-band .btn { flex: none; }
.section + .wrap > .cta-band { margin-top: 0; }
.cta-band-last { margin-bottom: 54px; }

@media (min-width: 760px) {
  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 26px;
  }
}

/* ------------------------------ 10. Gallery ------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 12px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: #222a33;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  color: #fff;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.gallery-item picture { display: block; }
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease, opacity .2s ease;
}
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item:focus-visible { outline-offset: 3px; }

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 14px 12px;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;
  background: linear-gradient(180deg, rgba(10, 13, 16, 0), rgba(10, 13, 16, .88));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.gallery-caption .gallery-place {
  font-weight: 500;
  font-size: .75rem;
  color: #b8c3ce;
  white-space: nowrap;
}
/* Before / after pair card */
.gallery-pair .pair-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #0d1116;
}
.gallery-pair .pair-half {
  position: relative;
  overflow: hidden;
}
.gallery-pair .pair-half picture { display: block; }
.gallery-pair .pair-half img {
  aspect-ratio: 3 / 4;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-pair:hover .pair-half img { transform: scale(1.04); }
.gallery-pair .pair-tag {
  position: absolute;
  left: 8px; top: 8px;
  padding: 4px 8px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 3px;
  background: rgba(12, 15, 19, .82);
  color: #e6ecf2;
}
.gallery-pair .pair-after .pair-tag { background: var(--accent); color: var(--accent-ink); }
/* Pairs put the caption below the photos so the work stays visible */
.gallery-pair .gallery-caption {
  position: static;
  padding: 10px 13px 12px;
  background: #1a2129;
  align-items: center;
}
.gallery-pair .gallery-caption > span:first-child { min-width: 0; }

/* Video card — portrait frame, since most clips are vertical reels */
.gallery-video .video-poster {
  position: relative;
  background: #10151b;
  overflow: hidden;
}
.gallery-video .video-poster img {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-video:hover .video-poster img { transform: scale(1.03); }
.gallery-video .gallery-caption { padding-top: 44px; }
.video-badge {
  position: absolute;
  right: 10px; top: 10px;
  padding: 4px 8px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(12, 15, 19, .8);
  color: #e6ecf2;
  border-radius: 4px;
}
.gallery-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  background: rgba(245, 154, 35, .94);
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}
.gallery-play svg { width: 22px; height: 22px; fill: var(--accent-ink); stroke: none; margin-left: 2px; }

.gallery-fallback { color: #c3ccd6; grid-column: 1 / -1; }

/* Shown instead of the grid while there are no real photos yet, and as the
   single card when Instagram cannot be embedded at all. */
.gallery-instagram {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: #1b222a;
  color: #eef3f8;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
a.gallery-instagram:hover,
a.gallery-instagram:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.gallery-instagram:focus-within { border-color: var(--accent); }
.gallery-instagram-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
}
.gallery-instagram-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.gallery-instagram-text { display: grid; gap: 3px; min-width: 0; }
.gallery-instagram-text strong { font-size: 1.02rem; }
.gallery-instagram-text span { color: #a9b4c0; font-size: .9rem; }
.gallery-instagram-arrow { margin-left: auto; color: var(--accent); font-size: 1.35rem; line-height: 1; }
/* The compact card carries its own Follow button, so the footer button can
   stay hidden instead of repeating the same link. */
.gallery-instagram-btn { flex: none; margin-left: auto; }
@media (max-width: 599px) {
  .gallery-instagram { flex-wrap: wrap; }
  .gallery-instagram-text { flex: 1 1 200px; }
  .gallery-instagram-btn { width: 100%; margin-left: 0; }
}
.gallery-fallback a { color: var(--accent-2); }

.work-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 26px;
}
.btn-instagram {
  border: 2px solid #3a4552;
  color: #fff;
  background: rgba(255, 255, 255, .04);
}
.btn-instagram:hover { border-color: var(--accent); color: var(--accent-2); }

/* Instagram post embeds (optional, from CONFIG.instagramPosts): one column on
   phones, two on tablets, three on a computer. Same max of six. */
.instagram-grid {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  justify-items: center;
}
/* #work's wrap is the measuring stick for the cards: container units let a
   card's height follow its own width instead of a pixel guess that only fits
   one screen size. */
#work > .wrap { container-type: inline-size; }

/* The build writes the row count for each column layout onto these two
   containers, and the space is reserved with the same formula as the cards,
   so the page is already the right height when the script fills the gallery
   in. --ig-h is one card (Instagram keeps a fixed header and footer around a
   4:5 media box: about 1.25 x the width + 205px, plus a little spare, and
   never wider than its 540px embed), --ig-gap is the grid gap, and Home adds
   the 24px under its cards. The script removes these properties whenever the
   cards are not what is shown (photos, no posts, or a blocked Instagram), so
   the reservation must never outlive the grid. */
/* The `js` class is added by a tiny inline script in the head, so a reader
   without JavaScript never sees space held for cards that cannot load. */
html.js #gallery[style*="--ig-rows-sm"],
html.js #home-work[style*="--ig-rows-sm"] {
  --ig-rows: var(--ig-rows-sm);
  --ig-h: min(calc(125cqw + 217px), 892px);
  --ig-gap: 16px;
  min-height: calc(
    var(--ig-rows) * (var(--ig-h) + var(--ig-gap)) - var(--ig-gap) + var(--ig-extra, 0px)
  );
}
html.js #home-work[style*="--ig-rows-sm"] { --ig-extra: 24px; padding-bottom: 24px; }
/* When the compact card stands in for Home's preview (no posts, or Instagram
   blocked) the reservation above is released with it, so give that card the
   gap the removed padding used to hold. */
#home-work > .gallery-instagram { margin-bottom: 24px; }
@media (min-width: 700px) {
  html.js #gallery[style*="--ig-rows-sm"],
  html.js #home-work[style*="--ig-rows-sm"] {
    --ig-rows: var(--ig-rows-md);
    --ig-h: min(calc(62.5cqw + 205.75px), 892px);
    --ig-gap: 18px;
  }
}
@media (min-width: 1120px) {
  html.js #gallery[style*="--ig-rows-sm"],
  html.js #home-work[style*="--ig-rows-sm"] {
    --ig-rows: var(--ig-rows-lg);
    --ig-h: min(calc(41.667cqw + 202px), 892px);
    --ig-gap: 18px;
  }
}

/* The card takes its height from --ig-h, the same value the container
   reserved, so it is already the right size before Instagram paints. */
.instagram-embed {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 540px;
  margin: 0;
  height: var(--ig-h, 640px);
  overflow: hidden;
}
/* Before Instagram's script swaps in its card, the card holds one link on
   white. Keep it readable instead of light grey on white. */
.instagram-embed .instagram-media a {
  display: block;
  padding: 24px;
  color: #7a4308;
  font-weight: 700;
  text-align: center;
}
/* Instagram's script replaces the link with its own iframe and sets its size.
   The card is already tall enough for it, so the script growing the frame
   cannot move anything outside the card. */
.instagram-embed iframe { max-width: 100%; border: 0; }
/* Fallback when that script cannot load: lazy iframes, filled to the card. */
.instagram-embed > iframe.instagram-fallback {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  background: #1b222a;
}

@media (min-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 14px; }
  .gallery-pair { grid-column: span 2; }
  .gallery-pair .pair-half img { aspect-ratio: 4 / 3; }
  .instagram-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (min-width: 1000px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery-pair { grid-column: span 2; }
  /* full-width banner row, like the CTA bands, rather than a stranded card */
  .gallery-instagram { grid-column: 1 / -1; }
}

/* Instagram cards are 326px minimum wide, so three only fit once the page
   inside the gutters is wider than 1014px. */
@media (min-width: 1120px) {
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ------------------------------ 11. Lightbox ----------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.lightbox[hidden] { display: none; }
.lightbox:focus { outline: none; }
/* Solid, not blurred: a full-screen backdrop-filter can stop the photo
   underneath from painting on some phone GPUs. */
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: #0a0d11;
}
.lightbox-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.lightbox-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #aab5c1;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.lightbox-stage {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  touch-action: pan-y;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: min(72vh, 760px);
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  background: #11161c;
}
.lightbox-stage video {
  width: auto;
  max-width: 100%;
  max-height: min(74vh, 780px);
  border-radius: 8px;
  background: #000;
  object-fit: contain; /* keeps 9:16 reels unstretched */
}
.lightbox-caption {
  margin: 0;
  text-align: center;
  color: #e6ecf3;
  font-size: .9rem;
  max-width: 60ch;
  min-height: 1.4em;
}
.lightbox-btn {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-radius: 50%;
  width: 42px; height: 42px;
  padding: 0;
  transition: background-color .15s ease, border-color .15s ease;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .14); border-color: var(--accent); }
.lightbox-btn svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.lightbox-close { border-radius: 8px; }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  background: rgba(14, 18, 23, .78);
}
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }

@media (min-width: 720px) {
  .lightbox { padding: 22px; }
  .lightbox-prev { left: -58px; }
  .lightbox-next { right: -58px; }
  .lightbox-stage img { max-height: 76vh; }
}

/* ------------------------------ 12. Quote form --------------------------- */
.quote-layout { display: grid; gap: 30px; }
.quote-intro > p { color: var(--muted); max-width: 46ch; }

.quote-steps {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.quote-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .94rem;
  font-weight: 600;
}
.quote-steps li span {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  flex: none;
  border-radius: 50%;
  background: #fdf1de;
  color: #a35d05;
  font-size: .82rem;
  font-weight: 800;
}
.quote-direct { display: flex; flex-wrap: wrap; gap: 10px; }

.quote-card {
  position: relative;
  padding: 22px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.quote-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 16px; }

.field label {
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: #323a44;
}
.req { color: #b0500a; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  font-size: 1rem;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 118px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6472' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 38px;
}
.field input::placeholder, .field textarea::placeholder { color: #5b6472; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  outline: 3px solid #8a5300;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(245, 154, 35, .18);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #c0392b; }

.field-hint { margin: 0; font-size: .78rem; color: var(--muted); }
/* Enlarged hit area without changing the line: 45px tall to tap. */
.field-hint a {
  display: inline-block;
  padding: 15px 4px;
  margin: -15px -4px;
  color: #a35d05;
  font-weight: 700;
}
.field-file input[type="file"] {
  padding: 9px;
  font-size: .86rem;
  background: var(--paper-alt);
  border-style: dashed;
}
.field-file input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 7px 11px;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  background: var(--ink-2);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-privacy { font-size: .76rem; color: var(--muted); margin: 0; text-align: center; }
.form-status {
  margin: 0;
  font-size: .88rem;
  font-weight: 600;
  color: #a33d13;
  text-align: center;
}
.form-status:empty { display: none; }

.form-success {
  text-align: center;
  padding: 22px 6px;
}
.form-success p { color: var(--muted); }
.success-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #e8f6ec;
}
.success-icon svg {
  width: 28px; height: 28px;
  fill: none; stroke: #1f7a3f; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

@media (min-width: 620px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .quote-card { padding: 28px 26px; }
}
@media (min-width: 960px) {
  .quote-layout { grid-template-columns: .88fr 1.12fr; gap: 40px; align-items: stretch; }
  .quote-intro {
    position: static;
    display: flex;
    flex-direction: column;
    padding: 32px;
    color: #e9edf2;
    background: var(--ink);
    border: 1px solid var(--ink);
    border-top: 4px solid var(--accent);
    border-radius: var(--radius-lg);
  }
  .quote-intro h1 { color: #fff; }
  .quote-intro .eyebrow { color: var(--accent-2); }
  .quote-intro > p { max-width: none; color: #b7c0cb; }
  .quote-steps {
    position: relative;
    flex: 1;
    align-content: space-between;
    gap: 0;
    margin: 22px 0;
    padding: 2px 0;
  }
  .quote-steps::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .22);
  }
  .quote-steps li { gap: 16px; padding: 12px 0; color: #fff; }
  .quote-steps li span {
    position: relative;
    z-index: 1;
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: 0 0 0 6px var(--ink);
  }
  .quote-direct {
    margin-top: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .18);
  }
  .quote-direct .btn-outline { color: #fff; }
  .quote-direct .btn-outline:hover { background: rgba(255, 255, 255, .14); }
}

/* ------------------------------ 13. Contact cards ------------------------ */
.contact-grid { display: grid; gap: 12px; }
.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.contact-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.contact-icon {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin: 0;
  border-radius: 9px;
  background: var(--ink);
  color: var(--accent);
}
.contact-icon svg {
  width: 21px; height: 21px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.contact-card h3, .contact-card h2 {
  grid-column: 1 / -1;
  margin: 14px 0 4px;
  font-size: 1.16rem;
  letter-spacing: -.012em;
}
.contact-value {
  grid-column: 1 / -1;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0;
}
.contact-value-email { word-break: break-word; font-size: .98rem; }
/* Only the Call card carries a note. It sits beside the icon so it costs no
   height: all four cards stay the same compact size with no empty band under
   the three that have no note. */
.contact-note {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  font-size: .8rem;
  line-height: 1.35;
  color: var(--muted);
}

@media (min-width: 620px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (min-width: 1100px) {
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ------------------------------ 14. Booking ------------------------------ */
.booking-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.booking-embed { min-height: 0; }
.booking-embed iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  background: #fff;
}
.booking-open {
  margin: 0;
  padding: 12px 18px;
  font-size: .8rem;
  text-align: center;
  color: var(--muted);
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
}
.booking-open a { color: #a35d05; font-weight: 700; }
/* ------------------------------ 16. About -------------------------------- */
.about-layout { display: grid; gap: 24px; }
.about-copy h2, .about-copy h1 { margin-bottom: 12px; }
.about-lede {
  font-size: 1rem;
  color: #c6d0da;
  max-width: 54ch;
  margin-bottom: 20px;
}
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin: 0;
}
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.35;
  color: #e4eaf1;
}
.about-points li::before {
  content: "";
  flex: none;
  width: 7px; height: 12px;
  margin-top: 2px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(42deg);
}
.about-photo { margin: 0; max-width: 320px; }
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: #232b34;
}
.about-photo figcaption { margin-top: 9px; font-size: .8rem; color: #9aa5b2; }

@media (min-width: 900px) {
  .about-layout { gap: 56px; }
  /* two columns only once a team photo has actually loaded */
  .about-layout.has-photo { grid-template-columns: 1.45fr .8fr; align-items: center; }
  .about-layout:not(.has-photo) .about-copy {
    max-width: none;
    display: block;
  }
  .about-layout:not(.has-photo) .about-copy h1 {
    max-width: 900px;
    font-size: clamp(3rem, 4.8vw, 4.5rem);
  }
  .about-layout:not(.has-photo) .about-lede {
    max-width: 62ch;
    font-size: 1.06rem;
    margin-bottom: 30px;
  }
  .about-layout:not(.has-photo) .about-points {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }
  .about-layout:not(.has-photo) .about-points li {
    align-items: center;
    min-height: 40px;
    font-size: 1.02rem;
  }
  .about-layout:not(.has-photo) .about-points li + li {
    padding-left: 32px;
    border-left: 1px solid rgba(255, 255, 255, .14);
  }
  .about-photo { justify-self: end; }
}

/* ------------------------------ 17. FAQ ---------------------------------- */
.faq-layout { display: grid; gap: 26px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
  position: relative;
  padding: 17px 48px 17px 18px;
  font-weight: 700;
  font-size: .99rem;
  letter-spacing: -.012em;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -7px;
  border-right: 2px solid #8b949f;
  border-bottom: 2px solid #8b949f;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item summary:hover { background: #fbfaf7; }
.faq-body { padding: 0 18px 18px; font-size: .94rem; color: var(--muted); max-width: 64ch; }
.faq-body p { margin-bottom: .7em; }
.faq-body strong { color: var(--text); }
.faq-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.faq-contact .btn { color: var(--ink); }

@media (min-width: 940px) {
  body[data-page="faq"] #faq { padding-top: 58px; padding-bottom: 64px; }
  .faq-layout {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 10px;
    align-items: start;
  }
  .faq-head {
    position: static;
    grid-column: 1;
    max-width: none;
    margin-bottom: 0;
  }
  /* The intro fills the first cell; the questions then flow two-up beneath it. */
  .faq-list { display: contents; }
}

/* ------------------------------ 18. Footer ------------------------------- */
.site-footer {
  background: var(--ink);
  color: #aab5c1;
  padding: 44px 0 26px;
  border-top: 1px solid #262f39;
}
.footer-grid {
  display: grid;
  gap: 26px;
  padding-bottom: 30px;
  border-bottom: 1px solid #262f39;
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand .brand-mark { width: 42px; height: 42px; }
.footer-name { color: #fff; font-weight: 800; font-size: 1.05rem; margin: 0 0 2px; letter-spacing: -.015em; }
.footer-loc { font-size: .86rem; line-height: 1.5; margin: 0; }
.footer-heading {
  margin: 0 0 10px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7f8b98;
}
.footer-col ul { display: grid; gap: 7px; }
.footer-col a {
  font-size: .9rem;
  text-decoration: none;
  color: #cfd8e1;
  transition: color .15s ease;
  word-break: break-word;
}
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 20px;
  font-size: .78rem;
  color: #7f8b98;
}
.footer-bottom p { margin: 0; }

@media (min-width: 760px) {
  .site-footer { padding-top: 54px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; }
}

/* About is dark from the hero through the footer. Keep the page canvas dark
   and let the main section absorb spare desktop height, so a tall viewport
   does not leave a strip below the footer. */
body[data-page="about"] { background: var(--ink); }
@media (min-width: 900px) {
  body[data-page="about"] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  body[data-page="about"] main { flex: 1; }
}

/* ------------------------------ 19. Sticky mobile bar -------------------- */
:root { --sticky-h: 54px; }
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  min-height: calc(var(--sticky-h) + env(safe-area-inset-bottom));
  background: #0d1116;
  border-top: 1px solid #2a333d;
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 8px;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.sticky-btn svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.sticky-text { background: var(--accent); color: var(--accent-ink); }
.sticky-call { background: #1a212a; color: #fff; }

@media (max-width: 899px) {
  body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }


  /* Phone tap targets: footer links get a full 44px row each.
     inline-block (not flex) so the space in "Text (323)…" survives. */
  .footer-col ul { gap: 0; }
  .footer-col a {
    display: inline-block;
    min-width: 44px;
    min-height: 44px;
    padding: 11px 0;
    line-height: 1.4;
  }
}
@media (min-width: 900px) {
  .sticky-bar { display: none; }
}

/* Components that set their own box-shadow would otherwise paint over the
   focus halo; keep the dark ring so the amber outline still reads on white. */
.btn-accent:focus-visible,
.contact-card:focus-visible,
.service-card:focus-visible,
.quote-card:focus-visible {
  box-shadow: 0 0 0 5px rgba(20, 24, 29, .85);
}

/* --------------------- 23. Multi-page additions --------------------------- */
/* Inner-page headings use the same scale as the section headings they
   replaced, so the design carries over from the one-page version. */
.page-head h1,
.about-copy h1,
.faq-head h1,
.quote-intro h1 {
  margin-bottom: .4em;
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  line-height: 1.08;
}
.section-dark h1 { color: #fff; }
.quote-intro h1 { margin-bottom: 14px; }

/* Home ends in charcoal: keep the work preview and footer close together
   instead of adding a long empty run before the footer. */
body[data-page="home"] #work.section { padding-top: 48px; padding-bottom: 28px; }
body[data-page="home"] #work .section-head { margin-bottom: 20px; }
body[data-page="home"] .site-footer { padding-top: 28px; }

/* Home services summary */
.service-summary {
  display: grid;
  gap: 10px;
  margin: 0;
}
.service-summary li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.3;
}
.service-summary li::before {
  content: "";
  width: 8px; height: 8px;
  flex: none;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}
.section-more { margin: 24px 0 0; }
.header-quote[aria-current="page"] { --btn-bg: var(--accent-2); }
.header-quote[aria-current="page"]:hover { --btn-bg: var(--accent); }
@media (min-width: 620px) {
  .service-summary { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .service-summary { grid-template-columns: repeat(3, 1fr); }
}

/* CTA bands that end a page should not sit flush on the footer */
main > .wrap:last-child .cta-band { margin-bottom: 54px; }

/* Thank-you page */
.form-success.thanks-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 44px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.thanks-card h1 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.08;
}
.thanks-card p { max-width: 46ch; margin-left: auto; margin-right: auto; }

/* ------------------------------ 20. Motion ------------------------------- */
/* No scroll-reveal: content must never depend on an animation to be visible. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------ 21. Print -------------------------------- */
@media print {
  .site-header, .sticky-bar, .lightbox, .cta-band, .nav-toggle { display: none !important; }
  body { padding-bottom: 0; color: #000; }
  .hero { min-height: auto; background: none; color: #000; padding: 20px 0; }
  .hero-media, .hero::after { display: none; }
  .section-dark, .site-footer { background: none; color: #000; }
}

/* ------------------------------ 22. 404 page ----------------------------- */
body.error-body {
  background: var(--ink);
  color: #eef3f8;
}
.error-main { padding: 64px 0 88px; }
.error-main .eyebrow { color: var(--accent-2); }
.error-main h1 {
  margin-bottom: .3em;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: #fff;
}
.error-lede {
  max-width: 56ch;
  margin: 0 0 28px;
  color: #b9c4d0;
  font-size: 1.02rem;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.error-textlink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.error-textlink:hover { color: #fff; }
@media (min-width: 900px) {
  .error-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100svh - var(--header-h) - 78px);
    padding: 64px 0;
  }
  .error-main .wrap { width: 100%; }
}

/* ---------------------- 24. Phone reading sizes -------------------------- */
/* Last in the file so it wins over the component sizes above. On phones the
   body copy never drops below 16px, list copy matches it, and the small print
   stays legible instead of becoming fine print. */
@media (max-width: 899px) {
  .hero-meta,
  .section-lede,
  .service-card p,
  .faq-body,
  .contact-note,
  .contact-value-email,
  .cta-band p,
  .area-note,
  .quote-intro > p,
  .about-lede,
  .booking-open,
  .gallery-fallback { font-size: 1rem; }
  .service-card p { line-height: 1.55; }
  .how-steps li,
  .quote-steps li,
  .hero-points li,
  .about-points li,
  .service-summary li { font-size: 1rem; }
  .hero-points { gap: 10px 18px; }
  .footer-col a { font-size: 1rem; line-height: 1.4; }
  .form-privacy,
  .field-hint,
  .footer-bottom { font-size: .82rem; }

  /* Keep a focused control clear of the fixed bar when the browser scrolls it
     into view, so the bar never sits over the field being typed in. */
  a, button, input, select, textarea, summary { scroll-margin-bottom: 70px; }
}

/* The confirmation message links (Text / call) only appear after a submit, so
   they get the same 44px phone target as every other control. */
.form-status a {
  color: #7a4308;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 899px) {
  .form-status a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 4px;
  }
}

/* Inline text links share the same hover treatment as the buttons. */
.field-hint a:hover,
.booking-open a:hover { color: #7a4308; text-decoration: underline; }
