/* ==========================================================================
   Steele Liu Engineers Inc. — styles.css
   Restrained, document-like. Navy and white. Serif headings, sans body.
   No frameworks, no build step.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ink & surface */
  --ink:        #16212e;   /* headings */
  --slate:      #414f60;   /* body copy */
  --muted:      #6a7889;   /* secondary copy */
  --line:       #d7dee6;
  --line-soft:  #e8edf2;
  --paper:      #ffffff;
  --paper-2:    #f5f7f9;
  --paper-3:    #e9eef3;

  /* Brand */
  --navy:       #1e3a5f;
  --navy-deep:  #14263d;
  --navy-mid:   #2c527f;
  --link:       #1a4a7a;
  --link-hover: #14263d;
  --wash:       #eef2f7;

  /* Type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI",
           Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --wrap: 1160px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --sect: clamp(3.5rem, 8vw, 6.5rem);

  --r: 2px;

  --ease: cubic-bezier(.25, .46, .45, .94);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@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(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.012em;
  margin: 0 0 .55em;
  text-wrap: balance;
}
h4 {
  font-family: var(--sans);
  color: var(--ink);
  font-weight: 650;
  font-size: 1.0625rem;
  line-height: 1.35;
  margin: 0 0 .4em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.3; }

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

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

strong { color: var(--ink); font-weight: 650; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

:focus-visible { outline: 2px solid var(--navy-mid); outline-offset: 3px; }

::selection { background: var(--navy); color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: 800px; }

.section { padding-block: var(--sect); }
.section--tight { padding-block: clamp(2.75rem, 5.5vw, 4rem); }
.section--alt { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }

.skip {
  position: absolute; left: 50%; top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--navy); color: #fff;
  padding: .7rem 1.2rem;
  font-size: .9rem; font-weight: 600; text-decoration: none;
  transition: top .18s var(--ease);
}
.skip:focus { top: 0; color: #fff; }

/* Section label — small caps, hairline rule */
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin: 0 0 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.eyebrow--plain { border-bottom: 0; padding-bottom: 0; }

.section-head { max-width: 60ch; margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem); }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section-head--center { margin-inline: auto; text-align: center; }

.lede {
  font-size: clamp(1.075rem, 1.7vw, 1.22rem);
  line-height: 1.58;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans);
  font-size: .95rem; font-weight: 650;
  padding: .8rem 1.5rem;
  border-radius: var(--r);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .16s var(--ease), color .16s var(--ease),
              border-color .16s var(--ease);
}
.btn svg { flex: none; }

.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn--onDark { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn--onDark:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

.btn--light { background: #fff; color: var(--navy-deep); }
.btn--light:hover { background: var(--paper-3); color: var(--navy-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 650; font-size: .95rem; text-decoration: none;
  color: var(--link);
}
.arrow:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  min-height: 80px;
}

.brand {
  display: inline-flex; align-items: center; gap: .75rem;
  text-decoration: none; color: var(--ink);
  min-width: 0; /* allow the label to shrink rather than push the nav wide */
}
.brand__mark { width: 32px; height: 32px; flex: none; color: var(--navy); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.14rem; font-weight: 600; letter-spacing: -.01em;
}
.brand__sub {
  font-size: .655rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); font-weight: 650;
}

.nav__links { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav__links li { margin: 0; }
.nav__links a {
  display: block;
  padding: .5rem .95rem;
  font-size: .965rem; font-weight: 550;
  color: var(--slate); text-decoration: none;
  transition: color .15s var(--ease);
}
.nav__links a:hover { color: var(--navy); }
.nav__links a[aria-current="page"] { color: var(--navy); font-weight: 700; }

.nav__cta { display: flex; align-items: center; gap: 1.1rem; flex: none; }
.nav__tel {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .95rem; font-weight: 650;
  color: var(--ink); text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.nav__tel:hover { color: var(--navy); }
.nav__tel svg { color: var(--navy-mid); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--r); cursor: pointer; color: var(--ink);
  flex: none;
}
.nav__toggle span {
  position: relative; display: block; width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform .2s var(--ease), background .1s var(--ease);
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform .2s var(--ease), top .16s var(--ease);
}
.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: 980px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }

  .nav__links {
    position: fixed; inset: 80px 0 auto 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .25rem var(--gut) 1.5rem;
    box-shadow: 0 16px 32px rgba(22,33,46,.09);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform .2s var(--ease), opacity .2s var(--ease);
    max-height: calc(100dvh - 80px); overflow-y: auto;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a {
    padding: .95rem .25rem; font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__links .nav__mobile-cta { padding-top: 1.25rem; border: 0; }
  .nav__links .nav__mobile-cta .btn { display: flex; width: 100%; }
}
/* Narrow phones: the two-line brand label is what pushes the header wide.
   Drop the descriptor and the telephone text, keep the name and the icons. */
@media (max-width: 620px) {
  .nav { gap: .75rem; min-height: 68px; }
  .nav__cta { gap: .35rem; }
  .nav__tel span { display: none; }
  .brand { gap: .55rem; }
  .brand__mark { width: 28px; height: 28px; }
  .brand__sub { display: none; }
  .brand__name { font-size: 1.05rem; }
  .nav__links { inset-block-start: 68px; max-height: calc(100dvh - 68px); }
}
@media (min-width: 981px) { .nav__mobile-cta { display: none; } }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 3.75rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}
.hero h1 { margin-bottom: .5em; }
.hero__lede { font-size: clamp(1.05rem, 1.75vw, 1.2rem); color: var(--slate); max-width: 52ch; }
.hero .btn-row { margin-top: 2rem; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 0;
  list-style: none; margin: 2.25rem 0 0; padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}
.hero__meta li {
  margin: 0;
  font-size: .82rem; letter-spacing: .04em;
  color: var(--muted);
  padding-right: 1rem; margin-right: 1rem;
  border-right: 1px solid var(--line);
}
.hero__meta li:last-child { border-right: 0; padding-right: 0; margin-right: 0; }

.hero__fig { margin: 0; position: relative; }
.hero__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__fig figcaption {
  font-size: .8rem; color: var(--muted);
  padding-top: .7rem; margin-top: .7rem;
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) { .hero__fig { display: none; } }

/* Keep the firm's principal commercial, industrial and energy work first. */
.practice-grid > :nth-child(1) { order: 4; }
.practice-grid > :nth-child(2) { order: 1; }
.practice-grid > :nth-child(3) { order: 2; }
.practice-grid > :nth-child(4) { order: 3; }

/* Service priority follows the firm's commercial and industrial focus. */
.services-content { display: flex; flex-direction: column; }
.services-section--commercial { order: 1; }
.services-section--industrial { order: 2; }
.services-section--energy { order: 3; }
.services-section--foundations { order: 4; }
.services-section--residential { order: 5; }
.services-section--review { order: 6; }

/* Technical figure panel — engineering diagram presented like a manual page */
.diagram {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1.35rem 1.5rem 1.5rem;
}
.diagram__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; flex-wrap: wrap;
  font-size: .78rem; letter-spacing: .05em; color: var(--muted);
  padding-bottom: .85rem; margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.diagram__head b { color: var(--navy); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.diagram svg { width: 100%; height: auto; }
.diagram figcaption {
  font-size: .8rem; color: var(--muted); line-height: 1.5;
  padding-top: .9rem; margin-top: .35rem;
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 640px) { .diagram { display: none; } }

/* --------------------------------------------------------------------------
   7. Stat strip
   -------------------------------------------------------------------------- */
.stats { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-block: clamp(2rem, 4vw, 2.75rem);
}
@media (min-width: 800px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stats__grid > div { padding: .9rem 1.5rem; border-left: 1px solid var(--line); }
.stats__grid > div:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 799px) {
  .stats__grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats__grid > div:nth-child(n+3) { padding-top: 1.75rem; }
}
.stat__n {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600; letter-spacing: -.02em;
  color: var(--navy); line-height: 1; margin-bottom: .55rem;
  font-variant-numeric: tabular-nums;
}
.stat__l { font-size: .875rem; color: var(--muted); line-height: 1.45; }

/* --------------------------------------------------------------------------
   8. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 940px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 899px) {
  .split .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--navy);
  border-radius: 0;
  padding: clamp(1.5rem, 2.4vw, 1.9rem);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .975rem; }
.card__icon { width: 34px; height: 34px; margin-bottom: 1.1rem; color: var(--navy-mid); }
.card__num {
  display: block;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--navy-mid); margin-bottom: .8rem;
}
.card__list {
  list-style: none; padding: 0; margin: 1.1rem 0 0;
  border-top: 1px solid var(--line-soft); padding-top: 1rem;
}
.card__list li {
  position: relative; padding-left: 1.05rem;
  font-size: .93rem; color: var(--muted); margin-bottom: .4rem;
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 5px; height: 1px; background: var(--navy-mid);
}
.card--plain { border-top-width: 1px; }
.card--dark {
  background: var(--navy); border-color: var(--navy); color: #c6d2e0;
}
.card--dark h3 { color: #fff; }
.card--dark p { color: #b3c2d4; }
.card--dark .card__num { color: #93a9c4; }
.card--dark .card__list li { color: #b3c2d4; }
.card--dark .card__list li::before { background: #93a9c4; }

/* Feature row */
.feature { display: flex; gap: 1rem; }
.feature__ico {
  flex: none; width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--navy-mid); border: 1px solid var(--line);
}
.feature__ico svg { width: 17px; height: 17px; }
.feature h4 { margin-bottom: .25rem; }
.feature p { font-size: .95rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   9. Split / media
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}
.split--top { align-items: start; }

/* A figure is image + caption stacked. It is a flex column with a transparent
   background and the caption pushed to the bottom, so when the grid stretches a
   tile to match a taller sibling — or a neighbour's caption wraps to two lines —
   the leftover space is page background, never an empty panel. */
.figure {
  position: relative; margin: 0;
  display: flex; flex-direction: column;
}
.figure img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  background: var(--paper-3);   /* shows only while the image is loading */
}
.figure--tall img { aspect-ratio: 3 / 4; }
/* The caption hugs its image. Any slack from a taller neighbour collects below
   it, where the transparent background makes it invisible. */
.figure figcaption {
  font-size: .82rem; color: var(--muted);
  padding-top: .65rem; margin-top: .65rem;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   10. Sector rows
   -------------------------------------------------------------------------- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 1.5rem; align-items: start;
  padding: clamp(1.5rem, 2.8vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
}
.row__n {
  font-size: .82rem; font-weight: 700; color: var(--navy-mid);
  padding-top: .35rem; font-variant-numeric: tabular-nums;
}
.row h3 { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.row p { margin: 0; color: var(--muted); font-size: .975rem; }
.row__tags {
  display: flex; flex-wrap: wrap; gap: .35rem .9rem;
  list-style: none; padding: 0; margin: .8rem 0 0;
}
.row__tags li { margin: 0; font-size: .82rem; color: var(--muted); }
.row__tags li::before { content: "· "; color: var(--line); }
@media (max-width: 820px) {
  .row { grid-template-columns: 2.5rem 1fr; }
  .row > :last-child { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   11. Projects
   -------------------------------------------------------------------------- */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 2rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.filter {
  font-family: var(--sans);
  font-size: .88rem; font-weight: 600;
  padding: .45rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper); color: var(--slate);
  cursor: pointer;
  transition: all .16s var(--ease);
}
.filter:hover { border-color: var(--navy-mid); color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter__c { font-size: .76rem; opacity: .65; margin-left: .3rem; font-variant-numeric: tabular-nums; }

.plist { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.plist li[data-cat="residential"] { order: 1; }
.plist li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .3rem 1.5rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
}
.plist li[hidden] { display: none; }
.p__name { color: var(--ink); font-weight: 650; font-size: 1.0125rem; }
.p__meta { grid-column: 1; font-size: .93rem; color: var(--muted); }
.p__yr {
  grid-row: 1 / span 2;
  font-size: .875rem; color: var(--muted);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.p__cat {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--navy-mid);
  margin-right: .55rem;
}
.plist__empty { padding: 3rem 0; text-align: center; color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr; gap: clamp(1.25rem, 2.4vw, 2rem); }
@media (min-width: 620px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 940px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Inside a gallery every tile shares one ratio so rows line up; portrait sources
   are centre-cropped by object-fit. This is deliberately more specific than
   .figure--tall so a stray tall figure in a gallery still lines up. */
.gallery .figure img { aspect-ratio: 4 / 3; }

/* Lead the project photography with commercial and industrial work. */
.project-gallery { display: flex; flex-direction: column; }
.project-gallery__label--commercial { order: 1; margin-top: 0 !important; }
.project-gallery__items--commercial { order: 2; }
.project-gallery__label--concrete { order: 3; }
.project-gallery__items--concrete { order: 4; }
.project-gallery__label--steel { order: 5; }
.project-gallery__items--steel { order: 6; }
.project-gallery__label--wood { order: 7; }
.project-gallery__items--wood { order: 8; }

/* --------------------------------------------------------------------------
   12. Timeline / credentials
   -------------------------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
}
.timeline li:first-child { border-top: 1px solid var(--line); }
.tl__yr {
  font-size: .875rem; color: var(--muted);
  font-variant-numeric: tabular-nums; padding-top: .12rem;
}
.tl__org { color: var(--ink); font-weight: 650; display: block; }
.tl__role { color: var(--muted); font-size: .94rem; }
@media (max-width: 620px) {
  .timeline li { grid-template-columns: 1fr; gap: .2rem; }
}

.dl {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
@media (min-width: 700px) { .dl { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.dl > div { padding: 1.15rem 0; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 700px) {
  .dl > div:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line-soft); }
  .dl > div:nth-child(odd) { padding-right: 2rem; }
}
.dl--single { grid-template-columns: 1fr !important; }
.dl--single > div { padding-left: 0 !important; padding-right: 0 !important; border-left: 0 !important; }
.dl dt {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy-mid); margin-bottom: .4rem;
}
.dl dd { margin: 0; color: var(--ink); font-size: .99rem; line-height: 1.5; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.chips li {
  margin: 0;
  font-size: .855rem; color: var(--slate);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: .34rem .7rem; background: var(--paper);
}

.label-sm {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy-mid);
  margin: 0 0 .9rem;
}

/* Pull quote */
.quote { margin: 0; border-left: 2px solid var(--navy); padding: .2rem 0 .2rem 1.5rem; }
.quote p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  line-height: 1.4; color: var(--ink); font-weight: 400; font-style: italic;
}
.quote footer { font-size: .84rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   13. CTA band
   -------------------------------------------------------------------------- */
.cta { background: var(--navy); color: #c6d2e0; }
.cta h2 { color: #fff; }
.cta__inner {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem; align-items: center;
}
@media (min-width: 860px) { .cta__inner { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.cta__inner p { color: #b3c2d4; font-size: 1.05rem; }
.cta__actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
@media (min-width: 860px) { .cta__actions { align-items: flex-end; } }
.cta__tel {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  color: #fff; text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.cta__tel:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); } }

.ccard { border-top: 1px solid var(--line); }
.ccard__item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
}
a.ccard__item:hover .ccard__v { color: var(--navy); }
.ccard__ico {
  flex: none; width: 30px; height: 30px; display: grid; place-items: center;
  color: var(--navy-mid); border: 1px solid var(--line);
}
.ccard__ico svg { width: 15px; height: 15px; }
.ccard__k {
  display: block;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .25rem;
}
.ccard__v { color: var(--ink); font-weight: 650; font-size: 1rem; line-height: 1.45; display: block; }
.ccard__note { font-size: .875rem; color: var(--muted); }

/* Form */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 540px) { .form__row { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.label { font-size: .875rem; font-weight: 650; color: var(--ink); }
.label span { color: var(--navy-mid); }
.hint { font-size: .83rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%;
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: .75rem .85rem;
  transition: border-color .14s var(--ease), box-shadow .14s var(--ease);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(44,82,127,.15);
}
.textarea { min-height: 150px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%236a7889' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
  padding-right: 2.4rem;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: .88rem; color: var(--muted); }
.form__status {
  padding: .8rem 1rem; border-radius: var(--r); font-size: .93rem;
  border: 1px solid var(--line); background: var(--paper-2);
}
.form__status[data-state="ok"]  { border-color: #b9d4bf; background: #f2f8f3; color: #245c36; }
.form__status[data-state="err"] { border-color: #ddb9b4; background: #fbf3f2; color: #8a3227; }
.form__status[hidden] { display: none; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-family: var(--serif);
  color: var(--ink); font-weight: 600; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .18s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details > div { padding-bottom: 1.35rem; color: var(--muted); max-width: 72ch; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: #9fb0c4;
  font-size: .94rem;
  padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem;
}
.footer__grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .footer__grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand__mark { color: #fff; }
.site-footer .brand__sub { color: #8fa2b8; }
.footer__blurb { max-width: 36ch; color: #9fb0c4; font-size: .93rem; }
.footer h4 {
  color: #fff; font-family: var(--sans);
  font-size: .74rem; letter-spacing: .11em; text-transform: uppercase;
  font-weight: 700; margin-bottom: .9rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .5rem; }
.footer a { color: #9fb0c4; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  padding-top: 1.5rem; font-size: .855rem; color: #7d90a8;
}
.footer__bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   16. Page header (interior pages)
   -------------------------------------------------------------------------- */
.pagehead {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2.25rem, 4.5vw, 3.25rem);
}
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  list-style: none; margin: 0 0 1.35rem; padding: 0;
  font-size: .82rem; color: var(--muted);
}
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .45rem; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.pagehead h1 { max-width: 22ch; }
.pagehead p { max-width: 62ch; font-size: 1.1rem; color: var(--muted); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   17. Prose
   -------------------------------------------------------------------------- */
.prose h2 { margin-top: 2.25em; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9em; }
.prose ul li { color: var(--slate); }

/* --------------------------------------------------------------------------
   18. Reveal (very restrained — opacity only)
   -------------------------------------------------------------------------- */
/* Gated on the .js class, which a snippet in <head> adds. With JavaScript off or
   broken the class is never set, the rule never applies, and the page renders
   fully visible instead of blank. */
.js [data-reveal] { opacity: 0; transition: opacity .5s var(--ease); }
.js [data-reveal].is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; } }

/* --------------------------------------------------------------------------
   19. Utilities
   -------------------------------------------------------------------------- */
.u-center { text-align: center; }
.u-mb-0 { margin-bottom: 0; }
.u-mt-2 { margin-top: 2rem; }
.u-mt-3 { margin-top: 3rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media print {
  .site-header, .cta, .site-footer, .filters, .btn-row { display: none !important; }
  body { color: #000; font-size: 11pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
