/* Hollowbrook Garage Doors: a sample site for a made-up business.
   Mobile first, symmetric grids. Its own palette: fire engine red, near-black, cool light grays. */

@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("assets/fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("assets/fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Its own palette, clearly not the studio's: fire engine red on near-black and cool light grays.
     Red for headings, links and buttons; near-black for the reviews band, the form and the footer.
     Every text color here was measured against every ground it sits on: 4.99:1 or better. */
  --ink: #18181A;           /* body text */
  --brand: #C8102E;         /* fire engine red: headings, links, the wordmark, icon circles */
  --dark: #111113;          /* footer, and the base under the hero photo */
  --band: #18181A;          /* the reviews band and the quote form */
  --accent: #C8102E;        /* buttons, card top borders, arrows (white text on it: 5.88:1) */
  --accent-hover: #A30D25;  /* white on it: 7.95:1 */
  --accent-ink: #B30E29;    /* red for kickers and small text on light grounds (5.91:1 or better) */
  --accent-soft: #FF9B9B;   /* quote marks, focus rings and small text on the dark grounds (8.79:1 or better) */
  --paper: #FFFFFF;
  --page: #F5F5F6;          /* cool off-white */
  --sand: #ECECEE;          /* cool light gray for tinted sections and tiles (red headings on it: 4.99:1) */
  --line: #DCDCE0;
  --muted: #55575D;         /* gray text: 6.12:1 on sand, 6.63:1 on page */
  --on-dark: #E9E9EB;       /* light text on the dark grounds */
  --on-dark-quiet: #BDBFC4; /* quieter light text on the dark grounds (9.64:1 or better) */
  --focus: #C8102E;
  --mark-house: #18181A;    /* header logo mark: the house */
  --mark-accent: #C8102E;   /* header logo mark: the door and the roof line */

  --font-display: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(24, 24, 26, 0.06), 0 10px 26px rgba(16, 16, 18, 0.10);
  --shadow-lg: 0 2px 6px rgba(24, 24, 26, 0.08), 0 22px 48px rgba(16, 16, 18, 0.18);
  --gutter: 16px;
  --section-pad: clamp(30px, 3.8vw, 56px);
  --grid-gap: 16px;

  /* Real heights get measured by script.js; these are the no-JS fallbacks. */
  --banner-h: 0px;
  --header-h: 0px;
  --callbar-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Keep anchor targets and keyboard focus clear of the sticky header and call bar. */
  scroll-padding-top: calc(var(--banner-h) + var(--header-h) + 12px);
  scroll-padding-bottom: calc(var(--callbar-h) + 16px + env(safe-area-inset-bottom));
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-top: var(--banner-h);
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

@media (min-width: 940px) {
  body { padding-bottom: 0; }
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.6rem); }
h3 { font-size: 1.3rem; }

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

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

a { color: var(--brand); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible,
.section--dark :focus-visible,
.quote-form :focus-visible,
.footer :focus-visible { outline-color: var(--accent-soft); }

/* The browser's own highlights in the page palette too, not the browser's default. */
:root { accent-color: var(--brand); -webkit-tap-highlight-color: rgba(200, 16, 46, 0.14); }
::selection { background: #F8C9CF; color: var(--ink); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}
.skip:focus {
  left: 8px;
  top: calc(var(--banner-h) + 8px);
}

.about-in > *,
.service-in > *,
.quote-in > *,
.opener > *,
.footer-in > * { min-width: 0; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: var(--banner-h);
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(24, 24, 26, 0.06);
}

.header-in {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding-block: 8px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
  min-width: 0;
}
.brand { gap: 10px; color: var(--brand); }
.brand-mark { display: block; flex: none; width: 42px; height: 42px; }
.brand-word { display: grid; line-height: 1; min-width: 0; }
.brand-word b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--brand);
}
.brand-word small {
  margin-top: 3px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
@media (max-width: 359px) {
  .brand-mark { width: 36px; height: 36px; }
  .brand-word b { font-size: 1.28rem; }
  .brand-word small { font-size: 0.6rem; letter-spacing: 0.2em; }
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 700 0.95rem/1 var(--font-body);
  cursor: pointer;
}
.menu-bars { display: grid; gap: 4px; }
.menu-bars i { display: block; width: 18px; height: 2px; background: currentColor; }

.nav { display: none; width: 100%; }
.nav.is-open { display: block; }
.nav ul {
  list-style: none;
  margin: 6px 0 4px;
  padding: 8px 0 0;
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--line);
}
.nav a {
  display: block;
  padding: 12px 6px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.nav a:hover { color: var(--accent-ink); }

.header .header-call { display: none; }

@media (min-width: 940px) {
  .header-in { flex-wrap: nowrap; gap: 10px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-word b { font-size: 1.62rem; }
  .menu-btn { display: none; }
  .nav { display: block; width: auto; min-width: 0; }
  .nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 2px;
    margin: 0;
    padding: 0;
    border-top: 0;
  }
  .nav a {
    padding: 8px 11px;
    border-radius: 7px;
    font-size: 0.95rem;
    min-height: 0;
  }
  .nav a:hover { background: var(--sand); }
  .header .header-call { display: inline-flex; margin-left: 6px; padding-inline: 18px; flex: none; }
}

@media (min-width: 1140px) {
  .nav a { padding: 8px 14px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1.15 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn--lg { min-height: 54px; padding: 12px 26px; font-size: 1.05rem; }
.btn--full { width: 100%; }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); color: #fff; }

.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--sand); color: var(--brand); }

.btn--plain {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--plain:hover { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: #fff; }
.btn--plain .ico {
  width: 1.5rem;
  height: 1.5rem;
  padding: 3px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);    /* the one-color Google mark (no yellow) */
}

/* ---------- Hero: centred, an example photograph behind it ---------- */

.hero {
  position: relative;
  isolation: isolate;
  background: var(--dark);
  color: #fff;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 45%;
  /* Nearly all the color taken out of the dusk photo, so the page's red is the only color up here. */
  filter: grayscale(0.85) contrast(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* A near-black scrim, darkest right behind the words, so the smallest hero text stays easy to read. */
  background:
    radial-gradient(ellipse 62% 58% at 50% 46%, rgba(16, 16, 18, 0.42) 0%, rgba(16, 16, 18, 0) 100%),
    linear-gradient(180deg, rgba(16, 16, 18, 0.8) 0%, rgba(16, 16, 18, 0.68) 40%, rgba(16, 16, 18, 0.66) 70%, rgba(16, 16, 18, 0.8) 100%);
}
.hero-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* extra room at the bottom for the action cards that sit over the photo */
  padding-block: clamp(44px, 6vw, 84px) clamp(88px, 9vw, 124px);
}
.hero h1 { color: #fff; max-width: 24ch; margin-inline: auto; }
.hero .lede { color: #FFFFFF; max-width: 46ch; margin-inline: auto; text-shadow: 0 1px 2px rgba(16, 16, 18, 0.45); }

.eyebrow {
  max-width: 100%;
  margin: 0 0 16px;
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.hero-cta .btn { flex: 0 1 260px; }
@media (min-width: 720px) { .hero-cta .btn { flex: 0 0 auto; } }

.lede { font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.22rem); color: var(--muted); }

/* ---------- Action cards: three tiles, lifted onto the hero ---------- */

.actions {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: clamp(-78px, -7vw, -56px) 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 780px) { .actions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); } }

.action {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "ico title go" "ico text go";
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  padding: 18px 18px;
  background: var(--paper);
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-lg);
  min-width: 0;
}
.action-ico {
  grid-area: ico;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--brand);
}
.action-ico .ico { width: 1.65rem; height: 1.65rem; fill: none; }
.action-title { grid-area: title; margin: 0; font-size: 1.32rem; }
.action-title a { color: var(--brand); text-decoration: none; }
.action p { grid-area: text; margin: 0; font-size: 1rem; color: var(--muted); }
.action-go { grid-area: go; width: 1.35rem; height: 1.35rem; color: var(--accent); fill: none; transition: transform 0.18s ease; }
.action:hover .action-go { transform: translateX(3px); }
.action:hover .action-title a { color: var(--accent-ink); }
/* The whole card is the link. */
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Tablet and small laptop: the icon and arrow share a row, so the words get the full width */
@media (min-width: 780px) and (max-width: 1099px) {
  .action {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "ico go" "title title" "text text";
    row-gap: 8px;
    align-items: start;
  }
  .action-ico { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .action-go { transition: none; }
  .action:hover .action-go { transform: none; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-pad); }
.section--tint { background: var(--sand); }
.section--dark { background: var(--band); color: #fff; }

.kicker {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.section-head > div { flex: 1 1 28rem; min-width: 0; }
.section-head h2 { margin-bottom: 0.25em; color: var(--brand); }
.section-head p { color: var(--muted); margin: 0; max-width: 36rem; text-wrap: balance; }
.section-head--plain { display: block; }
.section--dark .section-head h2 { color: #fff; }
.section--dark .section-head p { color: var(--on-dark); }

/* ---------- About ---------- */

.section#about { padding-top: clamp(36px, 4.6vw, 64px); }
.about-in { display: grid; gap: clamp(22px, 3.4vw, 44px); align-items: center; }
@media (min-width: 900px) { .about-in { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }

.about-copy h2 { color: var(--brand); }
.about-copy > p:last-child { color: var(--muted); }

.owner {
  margin: 4px 0 18px;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--accent);
}
.owner blockquote { margin: 0; }
.owner blockquote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.18rem, 1.05rem + 0.5vw, 1.4rem);
  line-height: 1.32;
  color: var(--brand);
}
.owner figcaption { margin-top: 8px; font-weight: 700; font-size: 0.93rem; color: var(--muted); }

.honors {
  padding: 22px 22px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.honors-label {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.glance {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  text-align: left;
}
.glance li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 2px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.glance li:last-child { padding-bottom: 2px; }
.glance .ico {
  width: 1.4rem;
  height: 1.4rem;
  padding: 4px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  fill: none;
}

/* ---------- Doors and openers ---------- */

.doors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) { .doors { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.door {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 0;
}
.door img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.door h3 { margin: 12px 14px 2px; color: var(--brand); }
.door p { margin: 0 14px 14px; font-size: 1rem; color: var(--muted); }

.doors-more { margin: 16px 0 0; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  font-weight: 700;
  color: var(--brand);
}
.link-more .ico { width: 1.1rem; height: 1.1rem; fill: none; color: var(--accent); }

.opener {
  position: relative;
  display: grid;
  margin-top: clamp(18px, 2.4vw, 26px);
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (min-width: 700px) { .opener { grid-template-columns: 260px minmax(0, 1fr); align-items: center; } }
.opener-shot { display: block; width: 100%; height: 100%; max-height: 200px; object-fit: cover; object-position: 18% 50%; }
@media (min-width: 700px) { .opener-shot { max-height: none; min-height: 190px; } }
.opener-copy { padding: 18px clamp(18px, 2.6vw, 28px); }
.opener-title { margin: 0 0 8px; font-size: 1.45rem; color: var(--brand); }
.opener-copy p { color: var(--muted); font-size: 1rem; }
.opener-foot { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 1rem; }
.opener-foot a { font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; min-height: 24px; }

/* ---------- Service ---------- */

.service-in { display: grid; gap: clamp(22px, 3.4vw, 44px); align-items: center; }
@media (min-width: 900px) { .service-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.service-copy h2 { color: var(--brand); }
.service-copy > p { color: var(--muted); }

.why {
  margin-top: 18px;
  background: var(--sand);
  border-radius: var(--radius-sm);
}
.why summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  min-height: 52px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.why summary::-webkit-details-marker { display: none; }
.why summary .ico { fill: none; color: var(--accent); transition: transform 0.18s ease; }
.why[open] summary .ico { transform: rotate(180deg); }
.why ol { margin: 0; padding: 0 16px 6px 40px; display: grid; gap: 5px; color: var(--ink); }
.why p { margin: 0; padding: 8px 16px 16px; }
.why p a { font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; min-height: 24px; }
@media (prefers-reduced-motion: reduce) { .why summary .ico { transition: none; } }

.calls {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 560px) { .calls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .calls { grid-template-columns: minmax(0, 1fr); } }
.calls li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
  /* "reprogramming" at 200% text is wider than a 320px phone's line. */
  overflow-wrap: anywhere;
}
.calls .ico {
  width: 1.5rem;
  height: 1.5rem;
  padding: 4px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  fill: none;
}

/* ---------- Reviews ---------- */

.quotes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.quote {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  min-width: 0;
}
.quote-mark { width: 1.6rem; height: 1.6rem; color: var(--accent-soft); }
.quote blockquote { margin: 0; flex: 1; }
.quote p { margin: 0; }
.quote blockquote p { color: #FFFFFF; font-size: 1.02rem; }
.quote .who {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--on-dark);
}

.review-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.review-note { margin: 12px 0 0; font-size: 1rem; color: var(--on-dark-quiet); }

/* ---------- Contact ---------- */

.section--quote { background: var(--page); }
.quote-in { display: grid; gap: clamp(24px, 3.6vw, 44px); align-items: start; }
@media (min-width: 940px) { .quote-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.quote-copy h2 { color: var(--brand); }
.quote-copy > p { color: var(--muted); }

.points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  /* At 200% text a phone has ~230px of line; let long lines break rather than scroll. */
  overflow-wrap: anywhere;
  font-weight: 600;
  color: var(--ink);
}
.points .ico { color: var(--accent); margin-top: 3px; fill: none; }
.points li:first-child .ico { fill: currentColor; }
.pt { flex: 1 1 0; min-width: 0; }
.pt small { display: block; font-weight: 400; font-size: 1rem; color: var(--muted); }
.points a { color: var(--ink); display: inline-flex; align-items: center; min-height: 24px; }

.fine {
  margin: 18px 0 0;
  padding: 12px 14px;
  background: var(--sand);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--muted);
}

.quote-form {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 2.8vw, 30px);
  background: var(--band);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.field { display: grid; gap: 4px; min-width: 0; }
.field-row { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 520px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field label { font-weight: 700; font-size: 0.93rem; color: #fff; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 13px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { border-color: var(--accent); }

.form-note { margin: 0; font-size: 1rem; color: var(--on-dark); text-align: center; }
.form-status {
  margin: 0;
  font-weight: 700;
  color: var(--accent-soft);
  text-align: center;
  display: none;
}
.form-status--on { display: block; }

/* ---------- Footer ---------- */

.footer {
  background: var(--dark);
  color: var(--on-dark);
  padding-block: clamp(30px, 3.8vw, 44px) 20px;
}
.footer-in {
  display: grid;
  gap: 26px 40px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.footer h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-quiet);
  margin: 0 0 12px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  grid-template-columns: minmax(0, 1fr);
}
.footer a { color: #fff; text-decoration: none; }
.footer ul a { display: inline-flex; align-items: center; min-height: 24px; }
.footer a:hover { text-decoration: underline; }
.footer-brand .brand { display: inline-flex; margin-bottom: 14px; }
.footer .brand-word b { color: #fff; }
.footer .brand-word small { color: var(--accent-soft); }
.footer-brand p { font-size: 1rem; max-width: 30ch; }

.footer-base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  font-size: 0.84rem;
}
/* the rule lines up with the text, not with the padded edge of the wrap */
.footer-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-base p { margin: 0; }
/* Sample disclosure: one quiet line. */
.footer-base .concept-note { color: var(--on-dark-quiet); font-size: 0.8125rem; }

/* ---------- Mobile call bar ---------- */

.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.callbar--static { position: static; }
/* Out of the way while the hero's own buttons are on screen */
.callbar { transition: transform 0.25s ease; }
.callbar--away:not(.callbar--static) { transform: translateY(110%); }
@media (prefers-reduced-motion: reduce) {
  .callbar { transition: none; }
}

@media (min-width: 940px) {
  .callbar { display: none; }
}

/* ---------- Sample bar: always on top, says what this is ---------- */

.sample-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  margin: 0;
  padding: 6px var(--gutter);
  background: var(--ink);
  color: #EDEDEF;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: center;
}
.sample-bar::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent);
  vertical-align: 0.08em;
}
.sample-bar a {
  margin-left: 6px;
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  white-space: nowrap;
}
.sample-bar a:hover { color: #FFFFFF; }
.sample-bar a:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; border-radius: 2px; }
/* No JS: the bar still takes its own room. */
.no-js body { padding-top: 32px; }
.no-js .header { top: 32px; }
@media (max-width: 379px) {   /* the bar takes two lines here */
  .no-js body { padding-top: 48px; }
  .no-js .header { top: 48px; }
}

/* ---------- Example photo badges ---------- */

.photo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(16, 16, 18, 0.8);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.photo-badge--hero {
  top: 12px;
  left: auto;
  right: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ---------- No JS ---------- */

.no-js .nav { display: block; width: 100%; }
.no-js .menu-btn { display: none; }

@media (min-width: 940px) {
  .no-js .nav { width: auto; }
}


/* ---------- Small fixes ---------- */

.nowrap { white-space: nowrap; }
.pt { text-wrap: pretty; }
/* the kicker keeps its color inside the service copy */
.service-copy > .kicker { color: var(--accent-ink); }
/* the logo mark reads on the dark footer */
.footer { --mark-house: #F2F2F3; --mark-accent: var(--accent); }
