/* ==========================================================================
   TOP NOTCH FABRICATION — shared design system
   Industrial-modern, credibility-first.
   Charcoal / steel-gray structure on generous white space.
   ONE committed accent: DEEP STEEL BLUE (#1f4e79). No orange.
   Built by CottLabs. Mobile-first. WCAG AA.
   ========================================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root{
  /* Steel / charcoal structure */
  --ink:#14171a;            /* near-black charcoal — primary text */
  --steel-900:#1c2126;      /* darkest steel — dark sections, footer */
  --steel-800:#262c33;      /* photo-slot placeholder fill */
  --steel-700:#323942;      /* placeholder fill 2 / borders on dark */
  --steel-600:#4a525c;      /* muted text on dark */
  --steel-500:#697785;      /* mid steel — secondary text */
  --steel-400:#97a2ad;      /* hairline / muted on light */
  --steel-300:#c4ccd3;      /* borders */
  --steel-200:#dde2e7;      /* subtle borders / dividers */
  --steel-100:#eef1f4;      /* tinted surface */
  --steel-50:#f6f8f9;       /* section alt background */
  --white:#ffffff;

  /* Committed accent — DEEP STEEL BLUE */
  --accent:#1f4e79;         /* primary deep steel blue */
  --accent-700:#163a5c;     /* darker — hover / pressed */
  --accent-600:#1a4368;     /* darker mid */
  --accent-400:#3f6e9c;     /* lighter steel blue */
  --accent-tint:#e9f0f6;    /* very light blue wash for surfaces */
  --accent-ink:#ffffff;     /* text on accent — AA (white on #1f4e79 = 7.0:1) */

  /* Feedback */
  --error:#b42318;
  --error-tint:#fdeceb;
  --ok:#216e4e;

  /* Semantic surfaces (light theme is the canvas) */
  --bg:var(--white);
  --bg-alt:var(--steel-50);
  --surface:var(--white);
  --text:var(--ink);
  --text-muted:var(--steel-500);
  --border:var(--steel-200);
  --border-strong:var(--steel-300);

  /* Type */
  --font-display:'Oswald','Arial Narrow',system-ui,sans-serif;
  --font-body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;

  /* Spacing scale */
  --sp-1:.25rem; --sp-2:.5rem; --sp-3:.75rem; --sp-4:1rem; --sp-5:1.5rem;
  --sp-6:2rem; --sp-7:3rem; --sp-8:4rem; --sp-9:6rem; --sp-10:8rem;

  /* Structure */
  --maxw:1200px;
  --gutter:1.25rem;
  --radius:4px;            /* heavy, squared, industrial */
  --radius-sm:2px;
  --nav-h:72px;

  --shadow-sm:0 1px 2px rgba(20,23,26,.06), 0 1px 3px rgba(20,23,26,.08);
  --shadow-md:0 4px 14px rgba(20,23,26,.10);
  --shadow-lg:0 18px 48px rgba(20,23,26,.16);

  --ease:cubic-bezier(.2,.6,.2,1);
}

@media (min-width:768px){
  :root{ --gutter:2rem; }
}

/* ---------- RESET ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  font-size:1rem;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

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

a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-700)}

ul,ol{list-style:none}

/* ---------- ACCESSIBILITY ---------- */
:focus-visible{
  outline:3px solid var(--accent-400);
  outline-offset:3px;
  border-radius:var(--radius-sm);
}
/* keep focus visible on dark backgrounds too */
.is-dark :focus-visible,
.hero :focus-visible,
.page-head :focus-visible,
.section--dark :focus-visible,
.cta-band :focus-visible,
.footer :focus-visible{ outline-color:#7fa6cc; }

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:200;
  background:var(--accent);color:var(--accent-ink);
  padding:.75rem 1.25rem;font-weight:600;border-radius:0 0 var(--radius) 0;
}
.skip-link:focus{left:0}

.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;
}

/* ---------- TYPOGRAPHY ---------- */
h1,h2,h3,h4,.display{
  font-family:var(--font-display);
  font-weight:700;
  line-height:1.05;
  letter-spacing:.01em;
  text-transform:uppercase;
  color:var(--ink);
}
h1,.h1{font-size:clamp(2.4rem,6vw,4.5rem)}
h2,.h2{font-size:clamp(1.9rem,4vw,3rem)}
h3,.h3{font-size:clamp(1.3rem,2.4vw,1.75rem)}
h4,.h4{font-size:1.125rem;letter-spacing:.04em}
p{max-width:68ch}
.lead{font-size:clamp(1.05rem,1.6vw,1.3rem);color:var(--text-muted);line-height:1.55}

.eyebrow{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:var(--font-display);font-weight:600;
  font-size:.8rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--accent);margin-bottom:1rem;
}
.eyebrow::before{content:"";width:2rem;height:2px;background:var(--accent);flex:0 0 auto}
.is-dark .eyebrow,.footer .eyebrow{color:var(--accent-400)}
.is-dark .eyebrow::before,.footer .eyebrow::before{background:var(--accent-400)}

.text-muted{color:var(--text-muted)}
.accent{color:var(--accent)}

/* ---------- LAYOUT PRIMITIVES ---------- */
.container{
  width:100%;max-width:var(--maxw);
  margin-inline:auto;
  padding-inline:var(--gutter);
}
.container--narrow{max-width:820px}

.section{padding-block:clamp(3.5rem,8vw,7rem)}
.section--tight{padding-block:clamp(2.5rem,5vw,4rem)}
.section--alt{background:var(--bg-alt)}
.section--tint{background:var(--accent-tint)}
.section--dark{background:var(--steel-900);color:#e7ecf0}
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4{color:#fff}
.section--dark .text-muted,.section--dark .lead{color:#9fb0bd}

.section-head{max-width:60ch;margin-bottom:clamp(2rem,4vw,3.25rem)}
.section-head.is-center{margin-inline:auto;text-align:center}
.section-head.is-center .eyebrow{justify-content:center}
.section-head p{margin-top:.9rem}

/* steel rule divider */
.rule{height:1px;background:var(--border);border:0;margin-block:var(--sp-6)}
.rule--accent{height:3px;width:64px;background:var(--accent);margin:0 0 1.5rem}

/* ---------- NAV ---------- */
.nav{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--border);
}
.nav__inner{
  display:flex;align-items:center;justify-content:space-between;
  height:var(--nav-h);
}
.nav__brand{
  display:flex;align-items:center;gap:.7rem;
  font-family:var(--font-display);font-weight:700;
  font-size:1.15rem;line-height:1.05;letter-spacing:.04em;
  text-transform:uppercase;color:var(--ink);
}
.nav__brand:hover{color:var(--ink)}
.nav__mark{
  width:38px;height:38px;flex:0 0 auto;
  display:grid;place-items:center;
  background:var(--accent);color:#fff;
  font-family:var(--font-display);font-weight:700;font-size:1rem;
  border-radius:var(--radius-sm);letter-spacing:.02em;
}
.nav__brand small{display:block;font-family:var(--font-body);font-weight:500;
  font-size:.62rem;letter-spacing:.18em;color:var(--text-muted);margin-top:1px}

.nav__menu{display:none}
.nav__links{display:flex;align-items:center;gap:.25rem}
.nav__links a{
  font-family:var(--font-display);font-weight:500;
  font-size:.92rem;letter-spacing:.05em;text-transform:uppercase;
  color:var(--steel-600);padding:.55rem .7rem;border-radius:var(--radius-sm);
  transition:color .15s var(--ease);white-space:nowrap;
}
.nav__links a:hover{color:var(--ink)}
.nav__links a[aria-current="page"]{color:var(--accent);box-shadow:inset 0 -2px 0 var(--accent)}
.nav__cta{margin-left:.5rem}

.nav__toggle{
  display:inline-flex;flex-direction:column;justify-content:center;gap:5px;
  width:46px;height:46px;padding:0 11px;
  background:transparent;border:1px solid var(--border-strong);
  border-radius:var(--radius-sm);cursor:pointer;
}
.nav__toggle span{display:block;height:2px;background:var(--ink);transition:transform .2s var(--ease),opacity .2s var(--ease)}
.nav__toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav__toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav__toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media (prefers-reduced-motion:reduce){
  .nav__toggle span{transition:none}
}

/* mobile drawer */
.nav__panel{
  display:none;
  border-top:1px solid var(--border);
  background:var(--white);
}
.nav__panel.is-open{display:block}
.nav__panel .nav__links{flex-direction:column;align-items:stretch;gap:0;padding:.5rem 0 1rem}
.nav__panel .nav__links a{padding:.85rem var(--gutter);font-size:1.05rem;border-radius:0}
.nav__panel .nav__links a[aria-current="page"]{box-shadow:inset 3px 0 0 var(--accent)}
.nav__panel .btn{margin:.75rem var(--gutter) 0;display:flex}

@media (min-width:1080px){
  .nav__menu{display:flex;align-items:center}
  .nav__toggle{display:none}
  .nav__panel{display:none !important}
}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  font-family:var(--font-display);font-weight:600;
  font-size:.95rem;letter-spacing:.04em;text-transform:uppercase;
  padding:.85rem 1.6rem;border-radius:var(--radius);
  border:2px solid transparent;cursor:pointer;
  transition:background .15s var(--ease),border-color .15s var(--ease),color .15s var(--ease),transform .15s var(--ease);
  text-align:center;line-height:1.1;
}
.btn--primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.btn--primary:hover{background:var(--accent-700);border-color:var(--accent-700);color:#fff}
.btn--ghost{background:transparent;color:var(--accent);border-color:var(--border-strong)}
.btn--ghost:hover{border-color:var(--accent);color:var(--accent-700)}
.btn--lg{padding:1.05rem 2rem;font-size:1.05rem}
.btn--block{display:flex;width:100%}

/* ghost button on dark backgrounds */
.is-dark .btn--ghost,.section--dark .btn--ghost,.hero .btn--ghost,.page-head .btn--ghost,.footer .btn--ghost{color:#fff;border-color:rgba(255,255,255,.35)}
.is-dark .btn--ghost:hover,.section--dark .btn--ghost:hover,.hero .btn--ghost:hover,.page-head .btn--ghost:hover,.footer .btn--ghost:hover{border-color:#fff;color:#fff;background:rgba(255,255,255,.08)}

@media (prefers-reduced-motion:no-preference){
  .btn:active{transform:translateY(1px)}
}

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

/* ---------- BADGES ---------- */
.badge{
  display:inline-flex;align-items:center;gap:.4rem;
  font-family:var(--font-display);font-weight:600;
  font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;
  padding:.35rem .65rem;border-radius:var(--radius-sm);
  background:var(--steel-100);color:var(--steel-600);
  border:1px solid var(--border);
}
.badge--accent{background:var(--accent-tint);color:var(--accent-700);border-color:#cfe0ee}
.badge--solid{background:var(--accent);color:#fff;border-color:var(--accent)}
.badge--dark{background:var(--steel-800);color:#cdd6de;border-color:var(--steel-700)}

/* ---------- HERO ---------- */
.hero{position:relative;background:var(--steel-900);color:#fff;overflow:hidden}
.hero__inner{
  position:relative;z-index:2;
  display:grid;gap:2rem;align-items:center;
  padding-block:clamp(3rem,9vw,6.5rem);
}
.hero h1{color:#fff;max-width:16ch}
.hero h1 em{font-style:normal;color:var(--accent-400)}
.hero__lead{color:#aebccb;max-width:52ch;margin-top:1.25rem;font-size:clamp(1.05rem,1.6vw,1.3rem)}
.hero .btn-row{margin-top:2rem}
.hero__media{position:relative}
/* subtle structural grid texture behind hero copy */
.hero__grid{
  position:absolute;inset:0;z-index:1;opacity:.5;pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 85%);
          mask-image:linear-gradient(180deg,#000,transparent 85%);
}
.hero__accent-bar{height:4px;width:84px;background:var(--accent-400);margin-bottom:1.5rem}

@media (min-width:880px){
  .hero__inner{grid-template-columns:1.05fr .95fr;gap:3rem}
}

/* ---------- TRUSTBAR (stat row) ---------- */
.trustbar{
  background:var(--steel-900);
  border-top:1px solid var(--steel-700);
  color:#fff;
}
.trustbar__inner{
  display:grid;grid-template-columns:repeat(2,1fr);
  gap:1px;background:var(--steel-700);
}
.trustbar__item{
  background:var(--steel-900);
  padding:1.5rem var(--gutter);text-align:center;
}
.trustbar__item .stat__num{color:#fff}
.trustbar__item .stat__label{color:#9fb0bd}
@media (min-width:768px){
  .trustbar__inner{grid-template-columns:repeat(4,1fr)}
}

/* ---------- STAT BLOCKS ---------- */
.stat{text-align:left}
.stat__num{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(2.2rem,4.5vw,3.4rem);line-height:1;
  color:var(--ink);letter-spacing:.01em;
}
.stat__num .accent{color:var(--accent)}
.stat__label{
  margin-top:.5rem;font-size:.8rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--text-muted);
  font-family:var(--font-display);font-weight:500;
}
.stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.75rem}
@media (min-width:768px){ .stat-grid{grid-template-columns:repeat(4,1fr)} }

/* ---------- PHOTO SLOT (labeled placeholder, never a broken image) ---------- */
.photo-slot{
  position:relative;
  display:flex;align-items:center;justify-content:center;
  background:
    repeating-linear-gradient(135deg,var(--steel-800) 0 22px,var(--steel-700) 22px 44px);
  color:#aab4bd;border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--steel-700);
  min-height:200px;
}
.photo-slot::before{
  /* corner registration marks for a "spec / blueprint" feel */
  content:"";position:absolute;inset:10px;
  border:1px dashed rgba(255,255,255,.16);border-radius:2px;pointer-events:none;
}
.photo-slot__label{
  position:relative;z-index:1;
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:var(--font-display);font-weight:500;
  font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;
  color:#c2cbd3;text-align:center;padding:.5rem 1rem;
  background:rgba(20,23,26,.55);border-radius:var(--radius-sm);
  max-width:90%;
}
.photo-slot__label::before{
  content:"";width:14px;height:14px;flex:0 0 auto;
  border:2px solid currentColor;border-radius:2px;opacity:.7;
}
/* aspect modifiers */
.photo-slot.is-16x9{aspect-ratio:16/9}
.photo-slot.is-4x3{aspect-ratio:4/3}
.photo-slot.is-1x1{aspect-ratio:1/1}
.photo-slot.is-21x9{aspect-ratio:21/9}
.photo-slot.is-3x4{aspect-ratio:3/4}

/* ---------- CARDS ---------- */
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.75rem;
  transition:border-color .18s var(--ease),box-shadow .18s var(--ease),transform .18s var(--ease);
  height:100%;
}
.card--pad-lg{padding:2.25rem}
.card:where(.is-hover):hover,
a.card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md)}
.card h3{font-size:1.25rem;margin-bottom:.5rem}
.card p{color:var(--text-muted);font-size:.97rem}
.card__icon{
  width:52px;height:52px;display:grid;place-items:center;
  background:var(--accent-tint);color:var(--accent);
  border-radius:var(--radius);margin-bottom:1.1rem;
  font-size:1.4rem;border:1px solid #d6e3ef;
}
.card__num{
  font-family:var(--font-display);font-weight:700;font-size:1.5rem;
  color:var(--accent);line-height:1;margin-bottom:.75rem;
}

/* generic responsive grids */
.grid{display:grid;gap:1.25rem}
.grid--2{grid-template-columns:1fr}
.grid--3{grid-template-columns:1fr}
.grid--4{grid-template-columns:1fr}
@media (min-width:600px){
  .grid--2{grid-template-columns:repeat(2,1fr)}
  .grid--3{grid-template-columns:repeat(2,1fr)}
  .grid--4{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:980px){
  .grid--3{grid-template-columns:repeat(3,1fr)}
  .grid--4{grid-template-columns:repeat(4,1fr)}
}

/* CAPABILITY card — left accent bar, heavy */
.capability{
  position:relative;padding-left:2.25rem;
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.75rem 1.75rem 1.75rem 2.25rem;height:100%;
  transition:border-color .18s var(--ease),box-shadow .18s var(--ease);
}
.capability::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--accent);border-radius:var(--radius) 0 0 var(--radius)}
.capability:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md)}
.capability h3{font-size:1.2rem;margin-bottom:.5rem}
.capability p{color:var(--text-muted);font-size:.95rem}
.capability ul{margin-top:.85rem;display:flex;flex-direction:column;gap:.5rem}
.capability ul li{position:relative;padding-left:1.4rem;font-size:.92rem;color:var(--steel-600)}
.capability ul li::before{content:"";position:absolute;left:0;top:.5rem;width:8px;height:8px;background:var(--accent);border-radius:1px}

/* INDUSTRY card — image-led tile */
.industry{
  position:relative;display:block;overflow:hidden;
  border:1px solid var(--border);border-radius:var(--radius);
  background:var(--surface);height:100%;
  transition:border-color .18s var(--ease),box-shadow .18s var(--ease),transform .18s var(--ease);
}
.industry:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md)}
.industry .photo-slot{border:0;border-radius:0;min-height:0}
.industry__body{padding:1.4rem 1.5rem}
.industry__body h3{font-size:1.15rem;margin-bottom:.4rem}
.industry__body p{color:var(--text-muted);font-size:.92rem}

/* PROJECT card — case-study tile */
.project{
  display:flex;flex-direction:column;overflow:hidden;height:100%;
  border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);
  transition:border-color .18s var(--ease),box-shadow .18s var(--ease),transform .18s var(--ease);
}
.project:hover{border-color:var(--border-strong);box-shadow:var(--shadow-lg)}
.project .photo-slot{border:0;border-radius:0;min-height:0}
.project__body{padding:1.5rem;display:flex;flex-direction:column;gap:.6rem;flex:1}
.project__meta{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.project__body h3{font-size:1.25rem}
.project__body p{color:var(--text-muted);font-size:.95rem}
.project__specs{margin-top:auto;padding-top:1rem;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;gap:1.25rem}
.project__specs dt{font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);font-family:var(--font-display);font-weight:500}
.project__specs dd{font-size:.95rem;font-weight:600;color:var(--ink)}

@media (prefers-reduced-motion:no-preference){
  .industry:hover,.project:hover{transform:translateY(-3px)}
}

/* checklist (proof / why-us bullets) */
.checklist{display:flex;flex-direction:column;gap:1rem}
.checklist li{display:flex;gap:.85rem;align-items:flex-start}
.checklist li::before{
  content:"";flex:0 0 auto;width:24px;height:24px;margin-top:1px;
  background:var(--accent);border-radius:var(--radius-sm);
  -webkit-mask:no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
          mask:no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}
.checklist li b{display:block;color:var(--ink);font-weight:600}
.checklist li span{color:var(--text-muted);font-size:.95rem}

/* two-column split (text + media) */
.split{display:grid;gap:2rem;align-items:center}
@media (min-width:880px){
  .split{grid-template-columns:1fr 1fr;gap:3.5rem}
  .split--media-first .split__media{order:-1}
}

/* ---------- RFQ FORM ---------- */
.rfq{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);padding:clamp(1.5rem,3vw,2.25rem);
  box-shadow:var(--shadow-sm);
}
.rfq__title{font-size:1.4rem;margin-bottom:.4rem}
.rfq__intro{color:var(--text-muted);font-size:.95rem;margin-bottom:1.5rem}
.field{margin-bottom:1.1rem}
.field > label{
  display:block;font-family:var(--font-display);font-weight:500;
  font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;
  color:var(--steel-600);margin-bottom:.4rem;
}
.field .req{color:var(--error);margin-left:.15rem}
.field input,.field select,.field textarea{
  width:100%;font-family:inherit;font-size:1rem;color:var(--ink);
  background:var(--white);border:1px solid var(--border-strong);
  border-radius:var(--radius);padding:.8rem .9rem;
  transition:border-color .15s var(--ease),box-shadow .15s var(--ease);
}
.field input::placeholder,.field textarea::placeholder{color:var(--steel-400)}
.field textarea{resize:vertical;min-height:120px}
.field input:hover,.field select:hover,.field textarea:hover{border-color:var(--steel-400)}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--accent);
  box-shadow:0 0 0 3px var(--accent-tint);
}
.field--row{display:grid;gap:1.1rem}
@media (min-width:560px){ .field--row{grid-template-columns:1fr 1fr} }

/* error states */
.field.has-error input,.field.has-error select,.field.has-error textarea{
  border-color:var(--error);background:var(--error-tint);
}
.field.has-error input:focus,.field.has-error select:focus,.field.has-error textarea:focus{
  box-shadow:0 0 0 3px rgba(180,35,24,.15);
}
.field__error{
  display:none;margin-top:.4rem;font-size:.82rem;color:var(--error);font-weight:500;
}
.field.has-error .field__error{display:block}

.form-note{font-size:.82rem;color:var(--text-muted);margin-top:.5rem}
.form-success{
  display:none;padding:1rem 1.1rem;border-radius:var(--radius);
  background:#e8f3ed;border:1px solid #b7dcc8;color:var(--ok);
  font-weight:500;margin-bottom:1.25rem;
}
.form-success.is-visible{display:block}

/* ---------- CONTACT INFO ROWS ---------- */
.info-list{display:flex;flex-direction:column;gap:.25rem}
.info-row{display:flex;gap:1rem;align-items:flex-start;padding:1rem 0;border-bottom:1px solid var(--border)}
.info-row:last-child{border-bottom:0}
.info-row__icon{flex:0 0 auto;width:40px;height:40px;display:grid;place-items:center;
  background:var(--accent-tint);color:var(--accent);border-radius:var(--radius);font-size:1.1rem}
.info-row__label{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);font-family:var(--font-display);font-weight:500}
.info-row__value{font-size:1.05rem;font-weight:500;color:var(--ink);margin-top:.1rem}
.info-row__value a{color:var(--ink)}
.info-row__value a:hover{color:var(--accent)}

/* ---------- CTA BAND ---------- */
.cta-band{background:var(--accent);color:#fff}
.cta-band .container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem;padding-block:clamp(2.5rem,5vw,3.75rem)}
.cta-band h2{color:#fff;max-width:20ch}
.cta-band p{color:#d6e3ef;margin-top:.5rem}
.cta-band .btn--primary{background:#fff;color:var(--accent-700);border-color:#fff}
.cta-band .btn--primary:hover{background:var(--accent-tint);border-color:var(--accent-tint);color:var(--accent-700)}
.cta-band .btn--ghost{color:#fff;border-color:rgba(255,255,255,.45)}
.cta-band .btn--ghost:hover{border-color:#fff;background:rgba(255,255,255,.12);color:#fff}

/* ---------- BREADCRUMB / PAGE HEADER ---------- */
.page-head{background:var(--steel-900);color:#fff;position:relative;overflow:hidden}
.page-head__inner{position:relative;z-index:2;padding-block:clamp(2.5rem,6vw,4.5rem)}
.page-head h1{color:#fff;max-width:18ch}
.page-head p{color:#9fb0bd;margin-top:1rem;max-width:56ch;font-size:clamp(1rem,1.5vw,1.2rem)}
.page-head .hero__grid{opacity:.45}
.breadcrumb{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;font-size:.82rem;color:#8fa0ae;margin-bottom:1.25rem;letter-spacing:.04em}
.breadcrumb a{color:#b9c6d2}
.breadcrumb a:hover{color:#fff}
.breadcrumb span[aria-current]{color:#fff}
.breadcrumb .sep{opacity:.5}

/* ---------- FILL (client-specific placeholder cue) ---------- */
.fill{
  position:relative;
  display:inline;
  padding:.05em .45em .05em .35em;
  background:rgba(31,78,121,.06);
  outline:1px dashed var(--accent-400);
  outline-offset:1px;
  border-radius:var(--radius-sm);
  color:var(--accent-700);
  font-style:normal;
  white-space:normal;
}
.fill::before{
  content:"FILL";
  font-family:var(--font-display);font-weight:600;
  font-size:.58em;letter-spacing:.12em;
  vertical-align:.25em;
  color:#fff;background:var(--accent);
  padding:.1em .35em;border-radius:2px;margin-right:.4em;
  position:relative;top:-.1em;
}
/* block-level fill (for whole rows / stat numbers / list items) */
.fill--block{display:block}
.fill--inline-tight::before{margin-right:.3em}
/* fill sitting on dark backgrounds */
.is-dark .fill,.section--dark .fill,.hero .fill,.page-head .fill,.footer .fill{
  background:rgba(127,166,204,.16);outline-color:#7fa6cc;color:#dbe6f0;
}

/* ---------- REVEAL ANIMATION (gated in JS + media query) ---------- */
@media (prefers-reduced-motion:no-preference){
  .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
  .reveal.is-visible{opacity:1;transform:none}
  .reveal[data-delay="1"]{transition-delay:.08s}
  .reveal[data-delay="2"]{transition-delay:.16s}
  .reveal[data-delay="3"]{transition-delay:.24s}
}

/* ---------- FOOTER ---------- */
.footer{background:var(--steel-900);color:#c2cbd3;padding-block:clamp(3rem,6vw,4.5rem) 1.75rem}
.footer a{color:#c2cbd3}
.footer a:hover{color:#fff}
.footer__grid{display:grid;gap:2.25rem;grid-template-columns:1fr}
@media (min-width:680px){ .footer__grid{grid-template-columns:1.4fr 1fr 1fr} }
@media (min-width:980px){ .footer__grid{grid-template-columns:1.6fr 1fr 1fr 1.1fr} }
.footer__brand{display:flex;align-items:center;gap:.7rem;font-family:var(--font-display);font-weight:700;font-size:1.15rem;text-transform:uppercase;letter-spacing:.04em;color:#fff;margin-bottom:1rem}
.footer__brand:hover{color:#fff}
.footer__about{color:#9fb0bd;font-size:.95rem;max-width:36ch}
.footer__col h4{color:#fff;font-size:.82rem;letter-spacing:.12em;margin-bottom:1rem}
.footer__col a{display:block;padding:.3rem 0;font-size:.95rem}
.footer__contact .info-row__value,.footer__contact{color:#c2cbd3}
.footer__contact p{margin:.3rem 0;font-size:.95rem;color:#9fb0bd}
.footer__contact strong{color:#fff;font-weight:600;display:block;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;font-family:var(--font-display)}
.footer__bottom{
  margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--steel-700);
  display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between;
  font-size:.82rem;color:#8696a4;
}
.footer__bottom a{color:#aebccb}

/* ---------- UTILITIES ---------- */
.flow > * + *{margin-top:1rem}
.flow-lg > * + *{margin-top:1.5rem}
.mt-0{margin-top:0}.mt-4{margin-top:1rem}.mt-6{margin-top:2rem}.mt-8{margin-top:4rem}
.mb-0{margin-bottom:0}
.text-center{text-align:center}
.max-60{max-width:60ch}.max-50{max-width:50ch}
.hide-mobile{display:none}
@media (min-width:768px){ .hide-mobile{display:initial} .hide-desktop{display:none} }


/* ---- Projects filter (added s9.70) ---- */
.filterbar{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 2rem}
.filter-chip{font-family:var(--font-body);font-size:.9rem;font-weight:500;padding:.5rem 1.1rem;border:1px solid var(--border-strong);background:var(--white);color:var(--text);border-radius:999px;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.filter-chip:hover{border-color:var(--accent);color:var(--accent)}
.filter-chip.is-active{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.filter-chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.filter-empty{margin-top:1.5rem;color:var(--text-muted)}
[hidden]{display:none !important}
