@charset "UTF-8";
/* ==========================================================================
   TELINKS — site stylesheet
   Replaces Bootstrap 3.3.7 (146 KB) + the old style.css (10 KB).

   Everything visual is driven by the custom properties in :root. The old
   stylesheet hardcoded #1f386e eleven times and #c8080b eleven times; changing
   a brand colour now means editing one line.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  /* Brand — unchanged from the original design */
  --navy:        #1f386e;
  --navy-dark:   #16294f;
  --navy-light:  #2c4c8f;
  --red:         #c8080b;
  --red-dark:    #a20609;

  /* Surfaces & text */
  --bg:          #ffffff;
  --bg-muted:    #f5f6f8;
  --bg-dark:     var(--navy);
  --surface:     #ffffff;
  --text:        #2b2f38;
  --text-soft:   #5b616e;
  --text-invert: #ffffff;
  --text-invert-soft: rgba(255, 255, 255, .78);
  --border:      #e2e5ea;
  --border-dark: rgba(255, 255, 255, .18);

  /* Typography */
  --font-body:    "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Montserrat", var(--font-body);
  --fs-base:  1rem;
  --lh-body:  1.65;
  --lh-tight: 1.2;

  /* Spacing & shape */
  --space-section: clamp(3.5rem, 7vw, 6.5rem);
  --gap:      clamp(1.25rem, 3vw, 2.25rem);
  --radius:   10px;
  --radius-sm: 6px;
  --container: 1180px;
  --pad-x:    clamp(1rem, 4vw, 2rem);

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .10);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, .10);
  --shadow-lg: 0 18px 48px rgba(16, 24, 40, .16);

  --transition: 180ms ease;
}

/* Dark mode costs almost nothing once the design runs on tokens: only the
   neutral surfaces flip. The brand navy and red stay exactly as they are. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #12151b;
    --bg-muted:  #171b23;
    --surface:   #1b1f28;
    --text:      #e7e9ee;
    --text-soft: #a9b0bd;
    --border:    #2a2f3a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .45);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, .55);
  }
}

/* --------------------------------------------------------------- self-host */
/* Fonts are served from this domain. The old site loaded them from Google's
   CDN, which sent every visitor's IP address to a third party. */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/opensans-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/opensans-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;      /* replaces 14 KB of SmoothScroll.js */
  scroll-padding-top: 6rem;     /* so anchors clear the fixed header */
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* The `hidden` attribute must win over any component's own display value —
   .btn sets display:inline-flex, which would otherwise keep hidden buttons
   visible in the estimate dialog. */
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: var(--lh-tight); margin: 0 0 .6em; color: var(--text); }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 2px; transition: color var(--transition); }
a:hover { color: var(--red); }

/* The old stylesheet removed focus outlines entirely, which left keyboard users
   with no way to see where they were. They are back, and only for keyboards. */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 2px;
}

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

/* -------------------------------------------------------------- utilities */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }

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

.skip-link {
  position: absolute; left: .5rem; top: -4rem; z-index: 200;
  background: var(--red); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; color: #fff; }

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-heading); font-weight: 700; font-size: .875rem;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  padding: .9rem 1.6rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 1.05rem 2rem; font-size: .95rem; }

.btn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

.btn--outline { background: transparent; border-color: currentColor; color: #fff; }
.btn--outline:hover { background: #fff; border-color: #fff; color: var(--navy); }

.btn--ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.site-header__brand { display: flex; align-items: center; margin-right: auto; }
/* TODO [C1] — replace logo.png with an SVG.
   The logo is a 130x31 raster, so it is soft on high-density screens. Capping
   rather than forcing a height keeps it at native size, which is the least-bad
   option for a raster; with an SVG this can simply become `height: 40px` and
   look sharp everywhere. Nothing else needs to change: the img() helper reads
   dimensions from the manifest. */
.site-header__brand img { width: auto; height: auto; max-height: 34px; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.site-nav__list { display: flex; align-items: center; gap: clamp(.75rem, 1.8vw, 1.75rem); }
.site-nav__list a {
  font-family: var(--font-heading); font-weight: 700; font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: var(--navy); padding: .5rem 0; position: relative; white-space: nowrap;
}
@media (prefers-color-scheme: dark) { .site-nav__list a { color: var(--text); } }
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--red); transform: scaleX(0);
  transform-origin: left; transition: transform var(--transition);
}
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { color: var(--red); }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.lang-switch { display: flex; align-items: center; gap: .25rem; padding-left: 1rem; border-left: 1px solid var(--border); }
.lang-switch__link {
  display: block; padding: .3rem .5rem; border-radius: var(--radius-sm);
  font-size: .78rem; font-weight: 700; letter-spacing: .05em;
  text-decoration: none; color: var(--text-soft);
}
.lang-switch__link:hover { background: var(--bg-muted); color: var(--red); }
.lang-switch__link.is-current { background: var(--navy); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer; border-radius: var(--radius-sm);
}
.nav-toggle__bar { display: block; height: 2px; background: var(--navy); margin: 4px 0; transition: transform var(--transition), opacity var(--transition); }
@media (prefers-color-scheme: dark) { .nav-toggle__bar { background: var(--text); } }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: .5rem var(--pad-x) 1.25rem;
    max-height: calc(100dvh - 72px); overflow-y: auto;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a { display: block; padding: .95rem 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
  .site-nav__list a::after { display: none; }
  .lang-switch { padding: 1rem 0 0; border-left: 0; }
}

/* ------------------------------------------------------------------- hero */
.hero { position: relative; display: grid; place-items: center; min-height: min(88svh, 780px); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 38, .55) 0%, rgba(10, 18, 38, .70) 100%);
}
.hero__inner { position: relative; text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }

/* The old rule was font-size: 3.5vw — 67px on a desktop monitor but only 13px
   on a 375px phone, smaller than the body text. clamp() fixes both ends. */
.hero__title { color: #fff; font-size: clamp(2rem, 5.5vw, 4rem); margin-bottom: .35em; text-shadow: 0 2px 20px rgba(0, 0, 0, .4); }
.hero__tagline { color: rgba(255, 255, 255, .92); font-size: clamp(1.05rem, 2vw, 1.4rem); margin: 0 auto 2rem; max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .875rem; justify-content: center; }

/* ------------------------------------------------------------------- band */
.band { background: var(--navy); color: var(--text-invert-soft); padding-block: clamp(2rem, 4vw, 3rem); }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--gap); }
.band__title { color: #fff; margin-bottom: .35em; font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.band__text { margin: 0; max-width: 62ch; }

/* --------------------------------------------------------------- sections */
.section { padding-block: var(--space-section); }
.section--muted { background: var(--bg-muted); }
.section--dark { background: var(--navy); color: var(--text-invert-soft); }
.section--dark .section__title, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: #fff; }
.section--center { text-align: center; }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__title { position: relative; padding-bottom: .5em; margin-bottom: .5em; }
.section__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--red); }
.section--center .section__title::after { left: 50%; transform: translateX(-50%); }
.section__intro { color: var(--text-soft); font-size: 1.05rem; margin: 0; }
.section--dark .section__intro { color: var(--text-invert-soft); }
.section__more { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }
.section--center .section__intro { margin-inline: auto; max-width: 62ch; }
.home-contact__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }

.page-head { background: var(--bg-muted); padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--border); }
.page-head__title { margin-bottom: .35em; }
.page-head__intro { color: var(--text-soft); font-size: 1.05rem; max-width: 62ch; margin: 0; }

.breadcrumb { margin-bottom: 1.25rem; font-size: .85rem; color: var(--text-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumb a { color: var(--text-soft); }

/* ------------------------------------------------------------------ about */
.about { display: grid; grid-template-columns: 1fr; gap: var(--gap); align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 4rem); } }
.about__image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about__motto { font-weight: 600; color: var(--navy); }
@media (prefers-color-scheme: dark) { .about__motto { color: var(--text); } }
.about__why-title { margin-top: 2rem; }

.checklist { display: grid; gap: .6rem; }
@media (min-width: 620px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / .7rem no-repeat;
}

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--gap); margin-top: clamp(2.5rem, 5vw, 4rem); }
.stats__item { text-align: center; padding: 1.5rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stats__value { display: block; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.75rem, 3.5vw, 2.5rem); color: var(--navy); }
@media (prefers-color-scheme: dark) { .stats__value { color: #7ea0e0; } }
.stats__label { display: block; color: var(--text-soft); font-size: .9rem; }

/* ------------------------------------------------------------------ cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--gap); }
.card { display: flex; }
.card__link {
  display: flex; flex-direction: column; width: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-muted); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.card__link:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.15rem; margin-bottom: .5rem; }
.card__text { color: var(--text-soft); font-size: .95rem; flex: 1; }
.card__more { font-family: var(--font-heading); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.card__more::after { content: " →"; }

/* ---------------------------------------------------------------- gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--gap); }
.gallery__item { position: relative; }
.gallery__link {
  display: block; position: relative; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--bg-muted);
}
.gallery__image { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.gallery__link:hover .gallery__image { transform: scale(1.06); }
.gallery__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem;
  padding: 1.25rem; color: #fff; text-align: left;
  background: linear-gradient(180deg, rgba(31, 56, 110, 0) 35%, rgba(31, 56, 110, .92) 100%);
  opacity: 1; transition: background var(--transition);
}
.gallery__link:hover .gallery__overlay { background: linear-gradient(180deg, rgba(31, 56, 110, .35) 0%, rgba(31, 56, 110, .95) 100%); }
.gallery__title { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; line-height: 1.3; }
.gallery__scope { font-size: .85rem; color: rgba(255, 255, 255, .85); }
.gallery__count { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .75); }
.gallery__fb { display: inline-block; margin-top: .5rem; font-size: .85rem; font-weight: 600; }

/* --------------------------------------------------------------- articles */
.article { max-width: 820px; }
.article__title { margin-bottom: .3em; }
.article__lead { font-size: 1.15rem; color: var(--text-soft); margin-bottom: 2rem; }
.article__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.article__body { margin-top: 2rem; }
.article__body h2 { margin-top: 2rem; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 2rem; }
.prose__links { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--text-soft); }

.callout { margin-top: 2.5rem; padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--bg-muted); border-left: 4px solid var(--red); border-radius: var(--radius); }
.callout__title { margin-bottom: .4em; }
.callout__text { color: var(--text-soft); }
.callout__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.siblings { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.siblings__title { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-soft); }
.siblings ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }

.notice { padding: 1rem 1.25rem; background: var(--bg-muted); border-radius: var(--radius); color: var(--text-soft); }

.careers { display: grid; gap: var(--gap); }
@media (min-width: 980px) { .careers { grid-template-columns: 3fr 2fr; gap: clamp(2rem, 5vw, 4rem); } }
.careers__aside { align-self: start; padding: clamp(1.5rem, 3vw, 2rem); background: var(--bg-muted); border-radius: var(--radius); }
.careers__aside-title { font-size: 1.1rem; }
.careers__aside .checklist { grid-template-columns: 1fr; }
.careers__contact { margin: 1.5rem 0 0; }
.openings { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.openings__item { padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.openings__title { margin-bottom: .25em; }
.openings__meta { color: var(--text-soft); font-size: .9rem; margin-bottom: .75em; }

.error-code { font-family: var(--font-heading); font-weight: 700; font-size: clamp(4rem, 14vw, 8rem); color: var(--red); line-height: 1; margin: 0; }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; gap: var(--gap); }
@media (min-width: 980px) { .contact { grid-template-columns: 3fr 2fr; gap: clamp(2rem, 5vw, 4rem); } }
.contact__info-title { color: #fff; font-size: 1.2rem; padding-bottom: .5em; border-bottom: 1px solid var(--border-dark); }
.contact-list { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.contact-list__label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .55); margin-bottom: .15rem; }
.contact-list__value { color: #fff; text-decoration: none; }
.contact-list__value:hover { color: #fff; text-decoration: underline; }
.contact-list__value--strong { font-size: 1.2rem; font-weight: 600; font-family: var(--font-heading); }

/* Three inline SVGs instead of a 56 KB icon webfont loaded for three icons.
 *
 * TODO [D2] — the 2022 roadmap asked for red icons turning white on hover.
 * Not done deliberately: red #c8080b on the navy footer is about 1.9:1 contrast,
 * which fails WCAG AA and is hard to see. Implemented the other way round —
 * white icons taking a red fill on hover. To make it literal, swap the colours
 * in .social__link and .social__link:hover below. */
.social { display: flex; flex-wrap: wrap; gap: .5rem; }
.social__link {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid var(--border-dark); color: #fff;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.social__link:hover { background: var(--red); border-color: var(--red); color: #fff; }
.social__icon { width: 18px; height: 18px; fill: currentColor; }
.social--large .social__link { width: 46px; height: 46px; }

/* ------------------------------------------------------------------ forms */
.form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__group { margin-bottom: 1rem; }
.form__group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .35rem; }

.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form input[type="number"], .form textarea,
.estimate input[type="text"], .estimate input[type="email"], .estimate input[type="tel"],
.estimate input[type="number"], .estimate textarea {
  width: 100%; padding: .8rem .9rem; font: inherit; font-size: 1rem;
  color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.section--dark .form input, .section--dark .form textarea { color: #17324f; background: #fff; border-color: transparent; }
.form input:focus, .form textarea:focus,
.estimate input:focus, .estimate textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 8, 11, .18); outline: none;
}
.form textarea { resize: vertical; min-height: 8rem; }

.form__group--check { display: flex; gap: .6rem; align-items: flex-start; }
.form__group--check input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; accent-color: var(--red); flex: none; }
.form__group--check label { font-size: .85rem; font-weight: 400; margin: 0; }

.form__error { min-height: 1.1em; margin: .3rem 0 0; font-size: .8rem; color: #ff8a8d; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #ff8a8d; }

.form__submit { margin-top: .5rem; }
.form__submit[disabled] { opacity: .6; cursor: progress; }

.form__status { margin-top: 1rem; padding: 0; font-size: .95rem; }
.form__status:not(:empty) { padding: .85rem 1rem; border-radius: var(--radius-sm); }
.form__status.is-success { background: rgba(22, 160, 84, .14); color: #7ce0a8; border: 1px solid rgba(22, 160, 84, .4); }
.form__status.is-error   { background: rgba(200, 8, 11, .14);  color: #ff9a9c; border: 1px solid rgba(200, 8, 11, .4); }
.section:not(.section--dark) .form__status.is-success { color: #14713f; }
.section:not(.section--dark) .form__status.is-error   { color: var(--red-dark); }
.section:not(.section--dark) .form__error { color: var(--red-dark); }

/* ---------------------------------------------------------------- dialogs */
dialog { border: 0; padding: 0; color: var(--text); background: var(--surface); }
dialog::backdrop { background: rgba(9, 14, 26, .72); backdrop-filter: blur(3px); }

.estimate {
  width: min(640px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  margin: auto;
}
.estimate__form { display: flex; flex-direction: column; padding: clamp(1.25rem, 3vw, 2rem); overflow-y: auto; }
.estimate__head { display: flex; align-items: flex-start; gap: 1rem; }
.estimate__title { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin: 0; flex: 1; }
.estimate__close { background: none; border: 0; font-size: 1.9rem; line-height: 1; color: var(--text-soft); cursor: pointer; padding: 0 .25rem; }
.estimate__close:hover { color: var(--red); }
.estimate__intro { color: var(--text-soft); font-size: .92rem; margin: .5rem 0 1rem; }

.estimate__progress { margin-bottom: 1.25rem; }
.estimate__progress-bar { height: 4px; background: var(--border); border-radius: 999px; overflow: hidden; }
.estimate__progress-bar span { display: block; height: 100%; width: 0; background: var(--red); transition: width 250ms ease; }
.estimate__step-label { margin: .5rem 0 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-soft); }

.estimate__step { border: 0; padding: 0; margin: 0 0 1rem; }
.estimate__legend { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; padding: 0; margin-bottom: .9rem; }
.estimate__options { display: grid; gap: .5rem; }
@media (min-width: 520px) { .estimate__options { grid-template-columns: 1fr 1fr; } }

.estimate__radio { position: absolute; opacity: 0; pointer-events: none; }
.estimate__option {
  display: block; padding: .85rem 1rem; cursor: pointer;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: .95rem; transition: border-color var(--transition), background var(--transition);
}
.estimate__option:hover { border-color: var(--navy-light); }
.estimate__radio:checked + .estimate__option { border-color: var(--red); background: rgba(200, 8, 11, .07); font-weight: 600; }
.estimate__radio:focus-visible + .estimate__option { outline: 3px solid var(--red); outline-offset: 2px; }

.estimate__number { max-width: 8rem; }
.estimate__hint { font-size: .82rem; color: var(--text-soft); margin: .5rem 0 0; }

.estimate__result { padding: 1rem 1.25rem; margin-bottom: 1.25rem; background: var(--bg-muted); border-left: 4px solid var(--red); border-radius: var(--radius-sm); }
.estimate__result-label { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-soft); }
.estimate__result-value { margin: .2rem 0 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; color: var(--navy); }
@media (prefers-color-scheme: dark) { .estimate__result-value { color: #7ea0e0; } }
.estimate__disclaimer { font-size: .8rem; color: var(--text-soft); margin-top: 1rem; }

.estimate__actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; margin-top: .5rem; }
.estimate .form__error { color: var(--red-dark); }

.lightbox {
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  background: transparent; margin: auto;
}
.lightbox__figure { margin: 0; display: grid; gap: .75rem; justify-items: center; }
.lightbox__image { max-height: calc(100dvh - 8rem); width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__caption { color: #fff; font-size: .95rem; text-align: center; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); display: grid; gap: .5rem; justify-items: center; }
.lightbox__album {
  display: inline-block; padding: .5rem 1rem; border-radius: var(--radius-sm);
  background: var(--red); color: #fff; text-decoration: none;
  font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.lightbox__album:hover { background: var(--red-dark); color: #fff; }
.lightbox__close, .lightbox__nav {
  position: fixed; z-index: 2; display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .5); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
  transition: background var(--transition);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--red); }
.lightbox__close { top: 1rem; right: 1rem; font-size: 1.75rem; }
.lightbox__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav[hidden] { display: none; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--navy-dark); color: var(--text-invert-soft); padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.site-footer a { color: var(--text-invert-soft); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 720px)  { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }
/* The artwork is near-black on a transparent background, so brightness(0)
   flattens it to black and invert(1) lifts it to white — alpha is untouched, so
   the antialiased edges stay soft against the navy. This only works because the
   logo actually has transparency; the previous file was fully opaque, which is
   why the footer showed a solid white rectangle. */
.site-footer__brand img { height: auto; max-height: 32px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.site-footer__tagline { margin: .9rem 0 1.1rem; font-size: .92rem; }
.site-footer__title { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: .9rem; }
.site-footer__col ul { display: grid; gap: .45rem; font-size: .92rem; }
.site-footer__contact { display: grid; gap: .45rem; font-size: .92rem; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.25rem;
  border-top: 1px solid var(--border-dark); font-size: .85rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }

/* ------------------------------------------------------------------ print */
@media print {
  .site-header, .site-footer, .band, .hero__actions, .form, dialog { display: none !important; }
  body { color: #000; background: #fff; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
