/* ==========================================================================
   NK General Contracting — site stylesheet
   Palette and gold accent carried forward from the Yellow Business theme
   (#F3B007), rebuilt on semantic markup for WCAG 2.2 AA.
   Author note: see HANDOFF.md §Design for the token rationale.
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --ink:        #16191d;   /* near-black: dark bands, body text            */
  --ink-2:      #232830;   /* raised surface on dark                       */
  --ink-3:      #313842;   /* hairline on dark                             */
  --gold:       #f3b007;   /* theme accent — graphics + dark-bg text only  */
  --gold-deep:  #8a6100;   /* AA-safe gold for text on light (5.4:1)       */
  --gold-soft:  #fbeeca;   /* gold wash                                    */
  --bone:       #f6f3ee;   /* warm off-white page tint                     */
  --paper:      #ffffff;
  --slate:      #545d6b;   /* secondary text on light (6.2:1)              */
  --line:       #e2ded6;   /* warm hairline on light                       */
  --line-2:     #cec8bd;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-util:    "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  --wrap: 1200px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);
  --sp-section: clamp(3.6rem, 8vw, 7rem);
  --radius: 3px;
  --shadow: 0 1px 2px rgba(22,25,29,.06), 0 8px 24px -12px rgba(22,25,29,.18);
  --focus: 3px solid var(--ink);
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* keeps in-page targets clear of the sticky header */
  scroll-padding-top: 7.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--gold-deep); }

:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
/* on dark bands the ink ring is invisible — flip it */
.band-dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible { outline-color: var(--gold); }

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

/* 3. Typography --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.65rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.15em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(1.1rem, 1.9vw, 1.28rem); line-height: 1.55; color: var(--slate); }
.band-dark .lede { color: #cfd4dc; }

/* Signature device: a roof-pitch tick borrowed from the NK monogram,
   used once at the head of each section. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-util);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 26px; height: 11px;
  background: var(--gold);
  clip-path: polygon(0 100%, 46% 0, 52% 0, 100% 100%, 100% 100%, 88% 100%, 49% 22%, 12% 100%);
}
.band-dark .eyebrow, .site-footer .eyebrow { color: #a8b1bd; }
.eyebrow-center { justify-content: center; }

/* 4. Layout ------------------------------------------------------------- */
.wrap { width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - (var(--gut) * 2), 780px); margin-inline: auto; }
.section { padding-block: var(--sp-section); }
.section-tight { padding-block: clamp(2.6rem, 5vw, 4rem); }
.band-bone { background: var(--bone); }
.band-dark { background: var(--ink); color: #e9ebee; }
.band-dark h2, .band-dark h3 { color: #fff; }

.stack-lg > * + * { margin-top: clamp(2.5rem, 5vw, 4rem); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--slate); }
.band-dark .section-head p { color: #c4cad3; }

/* 5. Skip link ---------------------------------------------------------- */
.skip-link {
  position: absolute; left: .75rem; top: -100%;
  z-index: 200;
  background: var(--ink); color: #fff;
  padding: .85rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: top .12s var(--ease);
}
.skip-link:focus { top: .75rem; color: #fff; }

/* 6. Header / navigation ------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 4.75rem;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; padding: .35rem 0; }
.brand img { width: 42px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.18rem; letter-spacing: -.01em; color: var(--ink);
}
.brand-sub {
  font-family: var(--font-util); font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate); margin-top: .22rem;
}

.nav-list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block;
  padding: .7rem .7rem;
  font-weight: 600; font-size: 1rem;
  text-decoration: none; color: var(--ink);
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--gold-deep); border-bottom-color: var(--line-2); }
.nav-list a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-tel {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  text-decoration: none; padding: .55rem .5rem; white-space: nowrap;
}
.header-tel svg { width: 17px; height: 17px; fill: var(--gold-deep); }

.nav-toggle {
  display: none;
  align-items: center; gap: .5rem;
  min-height: 44px; padding: .5rem .8rem;
  background: var(--ink); color: #fff;
  border: 0; border-radius: var(--radius);
  font-family: var(--font-util); font-size: 1.05rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; stroke: #fff; }

@media (max-width: 1120px) { .header-tel span:not(.visually-hidden) { display: none; } }
@media (max-width: 950px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .5rem var(--gut) 1.25rem;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: .95rem .25rem; border-bottom: 1px solid var(--line); }
  .nav-list a[aria-current="page"] { border-bottom-color: var(--gold); }
  .nav-cta-mobile { margin-top: 1rem; display: block; }
}
@media (min-width: 951px) { .site-nav .nav-cta-mobile { display: none; } }
@media (max-width: 700px) {
  /* The quote CTA lives inside the mobile menu at this width; keeping a second
     copy in the header pushed the layout past 320px and broke reflow.
     Note the descendant selector: plain .header-cta loses to .btn's
     display:inline-flex, which is declared later in this file. */
  .header-actions .header-cta { display: none; }
}
@media (max-width: 560px) {
  .brand-sub { display: none; }
  .brand img { width: 34px; }
  .brand-name { font-size: 1.02rem; }
  .header-inner { gap: .5rem; min-height: 4.25rem; }
  .nav-toggle { padding: .5rem .6rem; }
}
@media (max-width: 360px) {
  .brand-name { font-size: .95rem; }
  .header-tel { padding: .55rem .3rem; }
}

/* 7. Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px;
  padding: .8rem 1.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: .01em;
  text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-primary:hover { background: #d99c04; border-color: #d99c04; color: var(--ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.band-dark .btn-secondary, .hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.band-dark .btn-secondary:hover, .hero .btn-secondary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { min-height: 42px; padding: .55rem 1.05rem; font-size: .95rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 600;
  color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.link-arrow:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.link-arrow svg { width: 15px; height: 15px; fill: currentColor; }

/* 8. Hero --------------------------------------------------------------- */
.hero { position: relative; background: var(--ink); color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(15,17,20,.94) 0%, rgba(15,17,20,.86) 38%, rgba(15,17,20,.42) 68%, rgba(15,17,20,.30) 100%);
}
.hero-inner { padding-block: clamp(4rem, 12vw, 8.5rem); }
.hero-copy { max-width: min(46rem, 100%); }
.hero h1 { max-width: 15ch; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { color: #dfe3e8; font-size: clamp(1.06rem, 1.8vw, 1.22rem); }
.hero .btn-group { margin-top: 2rem; }
.hero .eyebrow { color: #d7dce2; }

/* 9. Trust strip -------------------------------------------------------- */
.trust {
  display: grid; gap: 0;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item { padding: clamp(1.4rem, 3vw, 2.1rem) clamp(1rem, 2.5vw, 1.9rem); border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; }
.trust-item h3 { font-size: 1.06rem; margin-bottom: .35em; }
.trust-item p { font-size: .96rem; color: var(--slate); margin: 0; }
.trust-num {
  font-family: var(--font-util); font-weight: 600; font-size: .95rem;
  letter-spacing: .16em; color: var(--gold-deep); display: block; margin-bottom: .5rem;
}
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(odd) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); } }

/* 10. Split (image / text) ---------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius); }
.split-reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-reverse .split-media { order: 0; }
}

/* framed photo treatment — gold pitch corner, used sparingly */
.framed { position: relative; }
.framed::before {
  content: ""; position: absolute; left: -14px; top: -14px;
  width: 76px; height: 76px;
  border-left: 5px solid var(--gold); border-top: 5px solid var(--gold);
  z-index: 1;
}
@media (max-width: 860px) { .framed::before { left: -8px; top: -8px; width: 52px; height: 52px; } }

/* 11. Service cards ----------------------------------------------------- */
.cards { display: grid; gap: clamp(1.25rem, 2.5vw, 1.9rem); grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .cards, .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .cards, .cards-3 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bone); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .45em; }
.card-body p { font-size: .98rem; color: var(--slate); margin-bottom: 1.1rem; }
.card-body .link-arrow { margin-top: auto; align-self: flex-start; }

/* 12. Service blocks (Services page) ------------------------------------ */
.svc { scroll-margin-top: 7.5rem; }
.svc-list { list-style: none; margin: 1.25rem 0 1.6rem; padding: 0; display: grid; gap: .55rem; }
.svc-list li { position: relative; padding-left: 1.6rem; color: var(--slate); }
.svc-list li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 14px; height: 6px; background: var(--gold);
  clip-path: polygon(0 100%, 46% 0, 54% 0, 100% 100%, 86% 100%, 50% 26%, 14% 100%);
}
/* typographic block used where no representative photo exists */
.spec-block { border: 1px solid var(--line); border-left: 5px solid var(--gold); background: var(--bone); padding: clamp(1.5rem, 3.5vw, 2.4rem); border-radius: var(--radius); }
.spec-meta { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line-2); font-family: var(--font-util); text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; color: var(--slate); }

/* 13. Process steps ----------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 3.6rem 1fr; gap: 1.1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.band-dark .steps li { border-color: var(--ink-3); }
.step-n { font-family: var(--font-util); font-weight: 600; font-size: 1.5rem; letter-spacing: .06em; color: var(--gold-deep); line-height: 1.2; }
.band-dark .step-n { color: var(--gold); }
.steps h3 { font-size: 1.12rem; margin-bottom: .3em; }
.steps p { font-size: .98rem; color: var(--slate); margin: 0; }
.band-dark .steps p { color: #c4cad3; }

/* 14. Projects ---------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.filter-btn {
  min-height: 44px; padding: .55rem 1.1rem;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 100px;
  font-family: var(--font-util); font-weight: 600; font-size: 1.02rem;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-btn[aria-pressed="true"]::after { content: " ✓"; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.2vw, 1.6rem); list-style: none; margin: 0; padding: 0; }
@media (max-width: 950px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .project-grid { grid-template-columns: 1fr; } }
.project-grid li[hidden] { display: none; }

.project-card { text-decoration: none; color: inherit; position: relative; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); text-align: left; cursor: pointer; overflow: hidden; display: block; }
.project-card:hover { border-color: var(--ink); }
.project-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bone); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.project-card:hover .project-thumb img { transform: scale(1.035); }
.project-info { padding: 1rem 1.15rem 1.15rem; }
.project-info h3 { font-size: 1.08rem; margin-bottom: .3em; }
.project-cat { font-family: var(--font-util); font-weight: 600; text-transform: uppercase; letter-spacing: .13em; font-size: .92rem; color: var(--gold-deep); }
.project-open { display: inline-flex; align-items: center; gap: .35rem; margin-top: .6rem; font-weight: 600; font-size: .95rem; color: var(--slate); }
.project-open svg { width: 14px; height: 14px; fill: currentColor; }

/* dialog */
.project-dialog { width: min(94vw, 1000px); max-width: 94vw; padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); }
.project-dialog::backdrop { background: rgba(12,14,17,.82); }
.dialog-media { background: var(--ink); }
.dialog-media img { width: 100%; max-height: 62vh; object-fit: contain; margin-inline: auto; }
.dialog-body { padding: 1.25rem clamp(1.1rem, 3vw, 2rem) 1.5rem; }
.dialog-body h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); margin-bottom: .3em; }
.dialog-body p { font-size: 1rem; color: var(--slate); }
.dialog-note { font-size: .9rem; color: var(--slate); border-top: 1px solid var(--line); padding-top: .9rem; margin-top: 1rem; }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem clamp(1.1rem, 3vw, 2rem); border-top: 1px solid var(--line); background: var(--bone); }
.dialog-nav { display: flex; gap: .5rem; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 44px; min-height: 44px; padding: .5rem .9rem; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 14px; height: 14px; fill: currentColor; }
.dialog-count { font-family: var(--font-util); letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; color: var(--slate); }

/* 15. Testimonial ------------------------------------------------------- */
.quote { border-left: 5px solid var(--gold); padding-left: clamp(1.25rem, 3vw, 2.25rem); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 3vw, 2.05rem); line-height: 1.32; letter-spacing: -.01em; }
.quote figcaption { margin-top: 1.25rem; font-family: var(--font-util); text-transform: uppercase; letter-spacing: .14em; font-size: 1rem; color: var(--slate); }
.band-dark .quote figcaption { color: #b6bec8; }
.quote-name { color: var(--gold-deep); font-weight: 600; }
.band-dark .quote-name { color: var(--gold); }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 780px) { .principles { grid-template-columns: 1fr; } }
.principle { border-top: 3px solid var(--gold); padding-top: 1.1rem; }
.principle h3 { font-size: 1.12rem; }
.principle p { color: var(--slate); font-size: .99rem; margin: 0; }

/* 16. FAQ --------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.15rem .25rem; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-util); font-size: 1.6rem; line-height: 1; color: var(--gold-deep); }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--gold-deep); }
.faq-answer { padding: 0 .25rem 1.3rem; color: var(--slate); }
.faq-answer p { margin-bottom: .8em; }

/* 17. Forms ------------------------------------------------------------- */
.form-shell { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.35rem, 3.5vw, 2.5rem); scroll-margin-top: 7.5rem; }
.field { margin-bottom: 1.35rem; }
.field label { display: block; font-weight: 600; margin-bottom: .38rem; }
.req { color: var(--gold-deep); font-weight: 700; }
.hint { display: block; font-size: .92rem; color: var(--slate); margin-bottom: .45rem; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .85rem;
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2); border-radius: var(--radius);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: var(--focus); outline-offset: 1px; border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.field-error input, .field-error select, .field-error textarea { border-color: #a3121b; border-width: 2px; background: #fdf6f6; }
.error-msg { display: none; align-items: center; gap: .4rem; margin-top: .4rem; color: #a3121b; font-weight: 600; font-size: .95rem; }
.error-msg::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #a3121b; color: #fff; font-size: .78rem; }
.field-error .error-msg { display: flex; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start; }
.consent input { width: 22px; height: 22px; min-height: 22px; margin: .18rem 0 0; accent-color: var(--ink); }
.consent label { font-weight: 400; font-size: .98rem; margin: 0; }

.form-status { margin-bottom: 1.25rem; padding: 1rem 1.15rem; border-radius: var(--radius); font-weight: 600; }
.form-status:empty { display: none; padding: 0; margin: 0; }
.form-status.is-error { background: #fdf1f1; border: 1px solid #a3121b; color: #7d0d15; }
.form-status.is-ok { background: #eef7ef; border: 1px solid #1c6b2c; color: #14501f; }
.privacy-note { font-size: .93rem; color: var(--slate); margin-top: 1.1rem; }

/* 18. Contact rails ----------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--bone); }
.info-card + .info-card { margin-top: 1.25rem; }
.info-card h2, .info-card h3 { font-size: 1.15rem; }
.tel-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.5vw, 1.95rem); text-decoration: none; display: inline-block; margin: .2rem 0 .5rem; letter-spacing: -.01em; }
.tel-big:hover { color: var(--gold-deep); }
.social-row { display: flex; gap: .6rem; margin-top: 1rem; }
.social-row a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); }
.social-row a:hover { border-color: var(--ink); background: var(--ink); }
.social-row svg { width: 20px; height: 20px; fill: var(--ink); }
.social-row a:hover svg { fill: #fff; }

/* 19. CTA band ---------------------------------------------------------- */
.cta-band { position: relative; background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
.cta-band .cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-band .cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,17,20,.95) 0%, rgba(15,17,20,.88) 45%, rgba(15,17,20,.62) 100%); }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: #d5dae1; max-width: 52ch; }
.cta-inner { padding-block: clamp(3rem, 7vw, 5rem); }

/* 20. Footer ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #c8ced7; padding-top: clamp(2.75rem, 6vw, 4rem); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.75rem, 4vw, 3.5rem); padding-bottom: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; } }
.footer-logo { width: 260px; max-width: 80%; margin-bottom: 1.1rem; }
.site-footer h2 { font-size: 1rem; font-family: var(--font-util); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: #fff; margin-bottom: 1rem; }
.site-footer p { font-size: .97rem; color: #b3bbc5; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.footer-links a { display: inline-block; padding: .38rem 0; color: #dde1e7; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--gold); text-decoration: underline; }
.footer-tel { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: #fff; text-decoration: none; display: inline-block; margin-bottom: .8rem; }
.footer-tel:hover { color: var(--gold); }
.site-footer .social-row a { border-color: var(--ink-3); background: transparent; }
.site-footer .social-row svg { fill: #dde1e7; }
.site-footer .social-row a:hover { background: var(--gold); border-color: var(--gold); }
.site-footer .social-row a:hover svg { fill: var(--ink); }
.footer-bottom { border-top: 1px solid var(--ink-3); padding-block: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .92rem; color: #98a1ad; }

/* 21. Read-aloud toolbar ------------------------------------------------ */
.reader { position: fixed; right: .9rem; bottom: .9rem; z-index: 90; font-family: var(--font-body); }
.reader[hidden] { display: none; }
.reader-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 48px; padding: .6rem 1.05rem;
  background: var(--ink); color: #fff;
  border: 2px solid var(--gold); border-radius: 100px;
  font-family: var(--font-util); font-weight: 600; font-size: 1.05rem;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 6px 22px -6px rgba(0,0,0,.5);
}
.reader-toggle svg { width: 19px; height: 19px; fill: var(--gold); }
.reader-panel {
  display: none;
  position: absolute; right: 0; bottom: calc(100% + .6rem);
  width: min(19rem, calc(100vw - 1.8rem));
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 18px 44px -14px rgba(0,0,0,.45);
  padding: 1rem;
}
.reader.is-open .reader-panel { display: block; }
.reader-panel h2 { font-size: 1rem; font-family: var(--font-util); text-transform: uppercase; letter-spacing: .14em; margin-bottom: .3rem; }
.reader-panel > p { font-size: .9rem; color: var(--slate); margin-bottom: .85rem; }
.reader-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.reader-buttons .icon-btn { width: 100%; }
.reader-buttons .icon-btn.wide { grid-column: 1 / -1; }
.reader-status { margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--slate); min-height: 1.4em; }
.reader-close { position: absolute; top: .4rem; right: .4rem; min-width: 36px; min-height: 36px; border: 0; background: transparent; font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--slate); border-radius: var(--radius); }
.reader-close:hover { color: var(--ink); }
@media print { .reader { display: none; } }

/* 22. Utilities --------------------------------------------------------- */
.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;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.note-small { font-size: .9rem; color: var(--slate); }

.page-banner { position: relative; background: var(--ink); color: #fff; isolation: isolate; }
.page-banner .hero-media img { object-position: 60% 52%; }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(96deg, rgba(15,17,20,.95) 0%, rgba(15,17,20,.86) 48%, rgba(15,17,20,.55) 100%); }
.page-banner-inner { padding-block: clamp(3rem, 8vw, 5.25rem); }
.page-banner h1 { color: #fff; margin-bottom: .35em; }
.page-banner p { color: #d8dde3; max-width: 56ch; }
.page-banner .eyebrow { color: #d7dce2; }

/* 23. Motion ------------------------------------------------------------ */
@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;
  }
  .project-card:hover .project-thumb img { transform: none; }
}

/* 24. Forced colours / print -------------------------------------------- */
@media (forced-colors: active) {
  .btn, .filter-btn, .icon-btn, .nav-toggle { border: 2px solid ButtonText; }
  .eyebrow::before, .svc-list li::before { background: CanvasText; }
}
@media print {
  .site-header, .site-footer, .btn-group, .filters { display: none; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .hero::after, .cta-band::after { display: none; }
}
