/* ==========================================================================
   Veteran Handyman, LLC — veteranhandyman.org
   One type system, one CTA vocabulary, palette drawn from the client's mark:
   roundel navy, stencil red, slate grey, warm Texas limestone neutrals.
   ========================================================================== */

:root {
  /* REPLACEABLE IMAGES
     This site references every photo directly with <img src="assets/...">.
     No image is set from CSS, so swapping a photo only means replacing the
     matching file in assets/ (see assets/manifest.json).                   */

  --navy:      #11395c;
  --navy-deep: #0b2740;
  --navy-soft: #1c5686;
  --red:       #c1121f;
  --red-deep:  #960e18;
  --ink:       #17212b;
  --body:      #46525e;
  --muted:     #5c6874;
  --paper:     #ffffff;
  --stone:     #f7f4ef;
  --stone-2:   #ece6dc;
  --line:      #e0d9cf;
  --line-soft: #efe9e1;
  --focus:     #ffb020;

  --radius:     6px;
  --radius-lg:  10px;
  --shadow-sm:  0 1px 2px rgba(17,57,92,.06), 0 2px 8px rgba(17,57,92,.05);
  --shadow-md:  0 6px 18px rgba(17,57,92,.10), 0 2px 6px rgba(17,57,92,.06);
  --shadow-lg:  0 18px 44px rgba(11,39,64,.16);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --step:      clamp(3.5rem, 7vw, 6.5rem);
  --step-half: clamp(2.25rem, 4.5vw, 3.75rem);
  --gutter:    clamp(1.15rem, 4vw, 2rem);
  --maxw:      1180px;
  --header-h:  80px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .55em; font-weight: 800; letter-spacing: -.018em; line-height: 1.12; }
h1 { font-size: clamp(2.05rem, 1.25rem + 3.2vw, 3.5rem); line-height: 1.04; letter-spacing: -.028em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); letter-spacing: -.012em; }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  border-radius: 3px;
}
/* On the dark bands a navy ring would vanish — switch to amber there. */
.page-head :focus-visible,
.band :focus-visible,
.site-footer :focus-visible,
.lightbox :focus-visible { outline-color: var(--focus); }

/* Sticky header must not hide anchored targets. */
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* ---------- helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 760px; }
.section { padding-block: var(--step); }
.section--tight { padding-block: var(--step-half); }
.section--stone { background: var(--stone); }
.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;
}
.eyebrow {
  display: block;
  font-size: .775rem; font-weight: 800; letter-spacing: .155em;
  text-transform: uppercase; color: var(--red); margin: 0 0 .85rem;
}
.eyebrow--light { color: #ffc9a3; }
.lede { font-size: clamp(1.075rem, 1rem + .4vw, 1.25rem); color: var(--body); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.rule {
  width: 58px; height: 4px; border: 0; margin: 0 0 1.4rem;
  background: linear-gradient(90deg, var(--red) 0 34%, var(--navy) 34% 66%, var(--red) 66%);
}
.section-head--center .rule { margin-inline: auto; }

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: .75rem; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--radius); font-weight: 700; text-decoration: none;
  transition: top .18s ease;
}
.skip:focus { top: .75rem; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.55rem;
  font: inherit; font-weight: 700; letter-spacing: .005em; line-height: 1.2;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease;
}
.btn svg { flex: none; width: 1.05em; height: 1.05em; fill: currentColor; }
.btn--primary { background: var(--red); color: #fff; border-color: var(--red); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: var(--stone-2); color: var(--navy-deep); transform: translateY(-2px); }
.btn--onnavy { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--onnavy:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn--sm { padding: .62rem 1.05rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--navy) 0 42%, var(--red) 42% 58%, var(--navy) 58%);
}
.header-bar {
  display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.5rem);
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; padding: .35rem .25rem; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.brand:focus-visible { outline-offset: 4px; }

.primary-nav { margin-left: auto; order: 2; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(.4rem, 1.4vw, 1.1rem); list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: block; padding: .6rem .55rem;
  font-size: .95rem; font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover { color: var(--red); border-bottom-color: var(--red); }
.primary-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--red); }

.header-cta { display: inline-flex; align-items: center; gap: .6rem; flex: none; order: 3; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle span { position: relative; display: block; width: 20px; height: 2px; background: var(--ink); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img { height: 42px; }
  .nav-toggle { display: inline-flex; order: 3; }
  .header-cta { margin-left: auto; order: 2; }
  .primary-nav {
    order: 4; flex-basis: 100%; margin-left: 0;
    display: none; border-top: 1px solid var(--line-soft); padding-block: .4rem .9rem;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a { padding: .85rem .25rem; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .primary-nav a[aria-current="page"] { border-bottom-color: var(--red); }
  .header-bar { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .header-cta .btn { padding: .6rem .8rem; font-size: .85rem; }
  .header-cta .btn .tel-label { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(70% 90% at 92% 8%, rgba(17,57,92,.09), transparent 62%),
    linear-gradient(180deg, var(--stone) 0%, #fff 62%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; gap: clamp(1.75rem, 4vw, 3.25rem);
  padding-block: clamp(2.25rem, 5vw, 4.5rem) clamp(2.75rem, 6vw, 5rem);
}
.hero-copy h1 { max-width: 18ch; }
.hero-copy .lede { max-width: 46ch; margin-bottom: 1.7rem; }
.hero-figure { margin: 0; }
/* Natural aspect ratio — the hero photo is never cropped, at any width. */
.hero-figure img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.hero-note { margin: 1rem 0 0; font-size: .92rem; color: var(--muted); }
.hero-note strong { color: var(--ink); }

.creds { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.9rem 0 0; padding: 0; }
.creds li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .8rem;
  font-size: .84rem; font-weight: 700; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.creds li::before {
  content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--red);
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.04fr .96fr; align-items: center; }
}

/* ---------- page banner (inner pages) ---------- */
.page-head { background: var(--navy); color: #fff; padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-head h1 { color: #fff; max-width: 18ch; }
.page-head p { color: #d3e1ee; max-width: 60ch; margin-bottom: 0; font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); }
.page-head .rule { background: linear-gradient(90deg, var(--red) 0 50%, #fff 50%); }
.crumbs { font-size: .84rem; color: #a9c2d6; margin: 0 0 1rem; }
.crumbs a { color: #d3e1ee; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.crumbs a:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- work / gallery cards ---------- */
.card-grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 560px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px)  { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.work-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cdc3b5; }
.work-card:focus-within { box-shadow: var(--shadow-md); }
.work-card__media { overflow: hidden; background: var(--stone-2); }
.work-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.work-card:hover .work-card__media img { transform: scale(1.045); }
.work-card__body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.work-card h3 { margin-bottom: .4rem; }
.work-card h3 a { color: inherit; text-decoration: none; }
.work-card h3 a::after { content: ""; position: absolute; inset: 0; }
.work-card h3 a:hover { color: var(--red); }
.work-card p { font-size: .96rem; margin-bottom: .9rem; }
.work-card__more {
  margin-top: auto; font-size: .86rem; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--red);
}
.work-card__more::after { content: " →"; }

/* ---------- split feature ---------- */
.split { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split__media--portrait {
  max-width: 380px; margin-inline: auto;
}
.split__media figcaption { margin-top: .7rem; font-size: .85rem; color: var(--muted); text-align: center; }

/* ---------- services ---------- */
.svc-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.1rem); box-shadow: var(--shadow-sm); height: 100%;
}
.svc-panel h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .35rem; }
.svc-panel > p { font-size: .97rem; }
.svc-list { display: grid; gap: .55rem .9rem; grid-template-columns: 1fr; list-style: none; margin: 1.2rem 0 0; padding: 0; }
@media (min-width: 520px) { .svc-list--two { grid-template-columns: 1fr 1fr; } }
.svc-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-weight: 600; color: var(--ink); font-size: .99rem; line-height: 1.45;
}
.svc-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: .16em; border-radius: 3px;
  background: var(--stone-2) center / 11px 11px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23c1121f' d='M6.2 12.6 2 8.4l1.5-1.5 2.7 2.7L12.5 3l1.5 1.5z'/%3E%3C/svg%3E");
}
.svc-note { margin: 1.1rem 0 0; font-size: .93rem; color: var(--muted); font-style: italic; }

/* ---------- trust strip ---------- */
.strip { background: var(--stone); border-block: 1px solid var(--line); }
.strip-grid { display: grid; gap: clamp(1.2rem, 3vw, 2rem); grid-template-columns: 1fr; padding-block: clamp(2rem, 4vw, 2.75rem); }
@media (min-width: 620px) { .strip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .strip-grid { grid-template-columns: repeat(4, 1fr); } }
.strip-item h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.strip-item p { font-size: .93rem; margin: 0; }
.strip-item__mark {
  width: 34px; height: 34px; margin-bottom: .7rem;
  color: var(--navy);
}
.strip-item__mark svg { width: 100%; height: 100%; fill: currentColor; }

/* ---------- photo gallery ---------- */
/* Masonry columns: every photo keeps its own aspect ratio — nothing is cropped. */
.shot-grid { --shot-gap: clamp(.7rem, 1.6vw, 1.1rem); column-count: 2; column-gap: var(--shot-gap); margin: 0; padding: 0; }
@media (min-width: 700px) { .shot-grid { column-count: 3; } }
@media (min-width: 1050px) { .shot-grid { column-count: 4; } }
.shot {
  margin: 0 0 var(--shot-gap); position: relative; display: block;
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
  background: var(--stone-2); border-radius: var(--radius); overflow: hidden;
}
.shot img { width: 100%; height: auto; transition: transform .4s ease, opacity .2s ease; }
.shot.is-clickable { cursor: zoom-in; }
.shot.is-clickable:hover img { transform: scale(1.05); }
.shot.is-clickable:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.shot.is-clickable::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(11,39,64,.28));
  opacity: 0; transition: opacity .25s ease;
}
.shot.is-clickable:hover::after, .shot.is-clickable:focus-visible::after { opacity: 1; }
.gallery-empty {
  margin: 1.5rem 0 0; padding: 1.5rem; text-align: center;
  background: var(--stone); border: 1px dashed var(--line); border-radius: var(--radius);
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: clamp(.75rem, 3vw, 2.5rem);
  background: rgba(8,24,38,.93);
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; gap: .85rem; }
.lightbox__fig img {
  max-width: 100%; max-height: 78vh; width: auto; margin-inline: auto;
  object-fit: contain; border-radius: var(--radius); background: #0b2740;
}
.lightbox__cap { color: #e6eef5; font-size: .95rem; text-align: center; max-width: 70ch; margin-inline: auto; }
.lightbox__btn {
  position: absolute; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); color: #fff;
}
.lightbox__btn:hover { background: rgba(255,255,255,.24); }
.lightbox__btn svg { width: 20px; height: 20px; fill: currentColor; }
.lightbox__close { top: clamp(.6rem, 2vw, 1.4rem); right: clamp(.6rem, 2vw, 1.4rem); }
.lightbox__prev { left: clamp(.4rem, 2vw, 1.6rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(.4rem, 2vw, 1.6rem); top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: clamp(.6rem, 2vw, 1.4rem); left: 50%; transform: translateX(-50%); color: #9fb6c8; font-size: .85rem; letter-spacing: .05em; }
body.is-locked { overflow: hidden; }

/* ---------- call band ---------- */
.band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 85% 0%, rgba(193,18,31,.28), transparent 60%);
}
.band .wrap { position: relative; }
.band h2 { color: #fff; }
.band p { color: #d3e1ee; }
.band-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center; padding-block: clamp(2.75rem, 5.5vw, 4.25rem); }
@media (min-width: 900px) { .band-grid { grid-template-columns: 1.35fr 1fr; } }
.band-grid > div:last-child { display: flex; flex-direction: column; gap: .85rem; }
@media (min-width: 900px) { .band-grid > div:last-child { align-items: flex-end; } }
.band-phone {
  display: inline-block; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); font-weight: 800;
  letter-spacing: -.02em; color: #fff; text-decoration: none;
}
.band-phone:hover { color: #ffd0a8; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.25rem); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.detail-list li { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: start; }
.detail-list .ico {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy);
}
.detail-list .ico svg { width: 19px; height: 19px; fill: currentColor; }
.detail-list dt, .detail-list .k {
  display: block; font-size: .74rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .12rem;
}
.detail-list .v { display: block; font-size: 1.05rem; font-weight: 700; color: var(--ink); font-style: normal; }
.detail-list .v a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--stone-2); }
.detail-list .v a:hover { color: var(--red); border-bottom-color: var(--red); }
.detail-list .sub { display: block; font-size: .9rem; font-weight: 400; color: var(--muted); }

.hours-block { margin-top: 2rem; }
.hours-table { width: 100%; border-collapse: collapse; margin: 0; }
.hours-table th, .hours-table td { padding: .55rem 0; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
.hours-table th { font-weight: 700; color: var(--ink); }
.hours-table td { color: var(--body); text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- form ---------- */
.form-card {
  background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.25rem);
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: .38rem; }
.field .req { color: var(--red); }
.field input, .field textarea {
  width: 100%; padding: .8rem .95rem; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid #9a9081; border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(17,57,92,.16);
}
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; }
.hp-field {
  position: absolute !important; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}
.cf-turnstile { margin-bottom: 1.15rem; min-height: 1px; }
.form-msg { margin: 1rem 0 0; padding: .95rem 1.1rem; border-radius: var(--radius); font-size: .97rem; }
.form-msg[hidden] { display: none; }
.form-msg--ok { background: #e8f4ec; border: 1px solid #b6d9c2; color: #1d5c33; }
.form-msg--err { background: #fdecec; border: 1px solid #f0bfbf; color: #8f1a1a; }
.form-msg a { color: inherit; }
.form-fine { font-size: .85rem; color: var(--muted); margin: .9rem 0 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #c5d5e3; padding-block: clamp(2.75rem, 5vw, 4rem) 0; }
.footer-grid { display: grid; gap: clamp(1.75rem, 4vw, 2.75rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 { color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.05rem; }
.site-footer p { font-size: .95rem; }
.site-footer a { color: #e4edf4; }
.site-footer a:hover { color: #fff; }
.footer-mark {
  display: inline-block; background: #fff; padding: .65rem .8rem;
  border-radius: var(--radius); margin-bottom: 1.1rem;
}
.footer-mark img { height: 52px; width: auto; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-list a { text-decoration: none; border-bottom: 1px solid transparent; }
.footer-list a:hover { border-bottom-color: currentColor; }
.footer-contact { font-style: normal; display: grid; gap: .75rem; font-size: .97rem; }
.footer-contact a { font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer-contact .k { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #7f9ab2; margin-bottom: .1rem; }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem); padding-block: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.13);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center;
}
.footer-bottom p { margin: 0; font-size: .83rem; color: #8ba4b9; }
[data-ss-credit] a { color: #a8bece; text-decoration: underline; }
[data-ss-credit] a:hover { color: #fff; }

/* ---------- print ---------- */
@media print {
  .site-header, .band, .lightbox, .btn-row, .nav-toggle { display: none !important; }
  body { color: #000; }
}
