/* ==========================================================================
   NORTHFACE CONSTRUCTION — shared design tokens + components
   Extracted from northfaceconstruction.com (captured 2026-07-24, raw source +
   CSS sweep). Minneapolis / Twin Cities / Elk River exterior remodeler:
   navy #122b75 + gold #edb32b on white with light-blue tints. Angled SVG
   slant dividers between bands, a blue multiply wash over CTA photos, and an
   uppercase .micro label above nearly every heading (the source's own page
   grammar). Type face: Plus Jakarta Sans (self-hosted on the source; free on
   Google Fonts — same family, no metric re-tuning).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');

:root {
  /* COLOR — brand. Navy + gold extracted verbatim; -deep/-soft derived. */
  --navy: #122b75;             /* primary — deep bands, footer, headings */
  --navy-2: #132c75;           /* rendered navy twin (gradient stop) */
  --navy-deep: #0e2158;        /* hover / pressed on navy */
  --blue: #5784e1;             /* mid blue */
  --blue-link: #366fe3;        /* links, gradient light stop */
  --blue-soft: rgba(87, 132, 225, .16);

  /* COLOR — gold accent (the primary button, .btn--gold) */
  --gold: #edb32b;
  --gold-deep: #cf9a1f;        /* hover / gold text on light */

  /* COLOR — ink */
  --ink: #222222;              /* body (extracted) */
  --ink-strong: #32373c;       /* headings / secondary ink (extracted) */
  --ink-soft: rgba(34, 34, 34, .74);
  --ink-muted: rgba(34, 34, 34, .56);
  --ink-quiet: rgba(34, 34, 34, .40);

  /* COLOR — grounds */
  --bg: #ffffff;
  --bg-pure: #ffffff;
  --bg-tint: #f1f8ff;          /* palest blue band */
  --bg-tint2: #e7f2ff;         /* soft blue panel */
  --bg-dark: #122b75;          /* navy inverted section */
  --bg-deepest: #0e2158;       /* footer ground */

  /* COLOR — on-dark text */
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, .74);

  /* COLOR — rules */
  --border: #e5e7eb;
  --border-mid: #d3dae6;

  /* TYPE — Plus Jakarta Sans (self-hosted original === free Google face) */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* TYPE — fluid scale (source: h1 2.75rem, h2 2.25rem, h3 1.875rem, .jumbo 44px) */
  --text-display: clamp(2.4rem, 4.6vw + 1rem, 3.4rem);
  --text-h1: clamp(2.1rem, 3.2vw + .9rem, 2.75rem);
  --text-h2: clamp(1.7rem, 2.2vw + .8rem, 2.25rem);
  --text-h3: clamp(1.3rem, 1.1vw + .85rem, 1.6rem);
  --text-body-lg: clamp(1.05rem, .4vw + .96rem, 1.18rem);
  --text-body: 1rem;
  --text-meta: .875rem;

  /* LAYOUT */
  --container: 1220px;
  --container-narrow: 860px;
  --gutter: 32px;
  --section: 92px;

  /* RADII — source uses 6/4px common, 18px cards, 999px pills */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* SHADOW */
  --shadow-card: 0 1px 2px rgba(18, 43, 117, .06), 0 12px 30px -14px rgba(18, 43, 117, .22);
  --shadow-card-hover: 0 2px 4px rgba(18, 43, 117, .08), 0 24px 46px -18px rgba(18, 43, 117, .32);
  --shadow-cta: 0 8px 22px -8px rgba(237, 179, 43, .55);
  --shadow-story: drop-shadow(0 5px 10px rgba(0, 0, 0, .2)); /* hero-story-cta */

  /* GRADIENT — the site's signature navy→blue diagonal fill (hero--basic,
     review avatars). Recolors automatically when a palette overrides the two
     stops. */
  --grad-navy: linear-gradient(116deg, var(--blue-link) 0%, var(--navy-2) 100%);
  /* the live homepage hero ground: linear-gradient(90deg, rgba(19,44,117,.95) 24%, rgba(54,111,227,.95) 100%) —
     tokenized to the extracted navy/blue pair so palette variants recolor it */
  --grad-hero: linear-gradient(90deg, var(--navy-2) 24%, var(--blue-link) 100%);
  --grad-scrim: linear-gradient(180deg, rgba(14, 33, 88, .12) 0%, rgba(14, 33, 88, .66) 100%);

  /* MOTION */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 150ms;
  --t-base: 280ms;
}

/* ==== base ============================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-link); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: var(--container-narrow); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-strong); line-height: 1.14; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 800; }
.display { font-size: var(--text-display); font-weight: 800; line-height: 1.08; text-wrap: balance; }
h1, .h1 { font-size: var(--text-h1); }
h2, .h2 { font-size: var(--text-h2); }
h3, .h3 { font-size: var(--text-h3); }

.lede { font-size: var(--text-body-lg); color: var(--ink-soft); max-width: 62ch; margin: 0 0 1.2em; }

/* THE ONE ALLOWED HEADING LABEL — .micro. The source puts an uppercase, letter-
   spaced micro label above nearly every heading as real page grammar (it is
   frequently the semantic h1/h2, styled small). Reproduced verbatim: uppercase,
   letter-spacing, muted ink. NO accent dash, NO stripe, NO mono font. */
.micro {
  display: block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue); /* source .micro is #5784e1 on light grounds */
  margin: 0 0 .7em;
}
.on-navy .micro, .hero--basic .micro, .hero--main .micro { color: var(--gold); }

.mt-sm { margin-top: .5rem; }
.mt-md { margin-top: 1rem; }
.mt-48 { margin-top: 48px; }

/* ==== buttons =========================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 800; font-size: .95rem;
  padding: 14px 28px; border-radius: var(--radius-pill);
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
/* .btn--gold is the source's primary CTA */
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-cta); }
.btn--gold:hover { background: var(--gold-deep); color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--border-mid); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost.on-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 10px 20px; font-size: .875rem; }

/* ==== nav (light ground — color logo lives on white) =================== */
.nav { background: var(--bg-pure); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 60; }
.nav > .container { display: flex; align-items: center; gap: 32px; min-height: 74px; }
.nav .brand-mark { display: flex; align-items: center; flex-shrink: 0; }
.nav .brand-mark img { height: 40px; width: auto; }
.nav .links { display: flex; gap: 24px; margin-right: auto; }
.nav .links a {
  color: var(--ink-strong); text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: color var(--t-fast) var(--ease);
}
.nav .links a:hover { color: var(--blue-link); }
.nav .actions { display: flex; align-items: center; gap: 18px; }
.nav .actions .phone { color: var(--navy); text-decoration: none; font-weight: 800; font-size: .95rem; }

/* ==== sections ========================================================== */
.section { padding: var(--section) 0; }
.section.tight { padding: 60px 0; }
.section.bg-tint { background: var(--bg-tint); }
.section.bg-tint2 { background: var(--bg-tint2); }
.section.on-navy { background: var(--bg-dark); }
.section.on-navy h1, .section.on-navy h2, .section.on-navy h3 { color: #fff; }
.section.on-navy .lede, .section.on-navy p { color: var(--on-dark-muted); }

/* SIGNATURE — angled white slant divider (hero-slant-white.svg). A white
   wedge rising bottom-left → top-right, the site's section-transition motif. */
.slant-bottom { position: relative; }
.slant-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 68px;
  background: var(--bg); clip-path: polygon(0 100%, 100% 0, 100% 101%); z-index: 3;
}
.slant-top { position: relative; }
.slant-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 68px;
  background: var(--bg); clip-path: polygon(0 -1%, 100% 0, 0 100%); z-index: 3;
}

/* ==== hero — gradient panel + right photo + inline quote form ========== */
/* Live construction (visual diff 2026-07-24): the hero ground is the 90°
   navy→blue gradient on the section itself; the photo is NOT a full-bleed
   background but a right-side panel (source: <picture class="hero-main-img
   bg pos-abs">), with the white slant closing the band. */
.hero--main {
  position: relative; background: var(--grad-hero); background-color: var(--navy-2); overflow: hidden;
  padding: 84px 0 96px; color: #fff;
}
.hero--main .hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; height: 100%; object-fit: cover; z-index: 0; }
.hero--main > .container { position: relative; z-index: 4; }
.hero--main h1, .hero--main h2 { color: #fff; }
.hero--main .lede { color: rgba(255,255,255,.9); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-copy h2 { max-width: 18ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 24px; padding: 0; list-style: none; }
.hero-badges li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: #fff; }
.hero-badges li::before { content: "✓"; color: var(--gold); font-weight: 800; }

/* SIGNATURE — blue+gold decorative dot-grid behind the hero quote form
   (dots-blue-yellow-version1.svg) */
.hero-form { position: relative; }
.hero-form::before {
  content: ""; position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px; z-index: 0;
  background-image: radial-gradient(var(--gold) 2px, transparent 2.2px), radial-gradient(var(--blue) 2px, transparent 2.2px);
  background-size: 20px 20px; background-position: 0 0, 10px 10px; opacity: .9;
}
.quote-card-form {
  position: relative; z-index: 2; background: var(--bg-pure); color: var(--ink);
  border-radius: var(--radius-lg); padding: 30px 30px 34px; box-shadow: var(--shadow-story);
}
.quote-card-form h3 { margin: 0 0 18px; color: var(--blue-link); /* live heading is blue */ }
.quote-card-form .fine { font-size: .78rem; color: var(--ink-muted); margin: 0 0 18px; }
.quote-card-form form { display: grid; gap: 14px; }
.quote-card-form label { display: block; font-size: .78rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 5px; }
.quote-card-form input, .quote-card-form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-pure); color: var(--ink); font: inherit; font-size: .95rem;
}
.quote-card-form input:focus, .quote-card-form select:focus { outline: 2px solid var(--blue-link); outline-offset: 1px; border-color: var(--blue-link); }
.quote-card-form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .78rem; color: var(--ink-muted); }
.quote-card-form .consent input { width: auto; margin-top: 3px; accent-color: var(--gold); }
/* live: navy social-ratings strip closing the quote card (FB 4.9 / BBB A+ / Google 5.0) */
.hero-form-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--navy); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 13px 20px; margin: 22px -30px -34px;
}
.hero-form-bottom .social__item { display: flex; align-items: center; gap: 8px; }
.hero-form-bottom .icon { height: 20px; width: auto; }
.hero-form-bottom .stars-sm { display: block; color: var(--gold); font-size: .58rem; letter-spacing: 1.5px; line-height: 1.2; }
.hero-form-bottom p { margin: 0; color: #fff; font-size: .72rem; font-weight: 700; white-space: nowrap; }

/* ==== hero — secondary image / video play button (hero--secondary) ===== */
.hero--secondary { background: var(--bg-tint); padding: 76px 0; position: relative; }
.hero--secondary .hero-grid { align-items: center; }
.video-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.video-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.video-frame .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: grid; place-items: center; transition: transform var(--t-base) var(--ease); color: var(--navy);
}
.video-frame:hover .play { transform: translate(-50%, -50%) scale(1.12); }
.video-frame .play::after { content: ""; width: 0; height: 0; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--navy); margin-left: 5px; }

/* ==== hero — basic navy→blue gradient interior hero (hero--basic) [#25] = */
.hero--basic { background: var(--grad-navy); background-color: var(--navy-2); color: #fff; padding: 132px 0 96px; text-align: center; }
.hero--basic h1 { color: #fff; }
.hero--basic .lede { color: rgba(255,255,255,.9); margin-left: auto; margin-right: auto; }
.hero--basic.bg-light { background: var(--bg-tint2); color: var(--ink); }
.hero--basic.bg-light h1 { color: var(--ink-strong); }
.hero--basic.bg-light .micro { color: var(--blue-link); }
.hero--basic.bg-light .lede { color: var(--ink-soft); }

/* ==== two-col image/text split ========================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.split .media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split.flip .media { order: 2; }
/* two-col-boxed — bordered variant */
.two-col-boxed { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; background: var(--bg-tint); }

/* ==== services grid (6 cards, overlay fade on hover) =================== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 22px; }
.svc-card {
  position: relative; border-radius: 8px; /* live card radius is 8px, not the 18px card token */ overflow: hidden; min-height: 230px;
  display: flex; align-items: flex-end; text-decoration: none; color: #fff; box-shadow: var(--shadow-card);
  background: var(--navy); /* solid dark base under the photo — contrast gate resolves painted grounds only */
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* live overlay: black bottom-up scrim, linear-gradient(0deg, rgba(0,0,0,.5) 0%, transparent 50%) */
.svc-card .overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 50%); transition: background var(--t-base) var(--ease); }
.svc-card:hover .overlay { background: linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.08) 55%); }
.svc-card .label { position: relative; z-index: 2; padding: 22px 24px; }
.svc-card .label h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.svc-card .label span { font-weight: 800; font-size: .85rem; color: var(--gold); }

/* ==== branded-location band (devotion + office cards) ================== */
.branded { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.office-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 18px; }
.office-card { background: var(--bg-pure); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.office-card h4 { margin: 0 0 6px; color: var(--navy); font-size: 1.05rem; }
.office-card p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.office-card a { color: var(--blue-link); text-decoration: none; font-weight: 700; }
.map-graphic { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); min-height: 300px; background: var(--grad-navy); display: grid; place-items: center; color: rgba(255,255,255,.9); }
.map-graphic img { width: 100%; height: 100%; object-fit: cover; }

/* ==== service-areas (city chips + map) ================================= */
.area-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.city-chips span { background: var(--bg-tint); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 6px 14px; font-size: .84rem; font-weight: 600; color: var(--navy); }
.service-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; box-shadow: var(--shadow-card); }
.service-map iframe, .service-map img { width: 100%; height: 100%; min-height: 340px; border: 0; object-fit: cover; }

/* ==== process steps ===================================================== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 22px; counter-reset: step; }
.steps .step { counter-increment: step; background: var(--bg-pure); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; position: relative; }
.steps .step::before { content: counter(step, decimal-leading-zero); font-weight: 800; font-size: .95rem; color: var(--gold-deep); letter-spacing: .06em; }
.steps .step h3 { margin: 10px 0 6px; font-size: 1.1rem; color: var(--navy); }
.steps .step p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* ==== featured projects carousel (scroll-snap) ======================== */
.proj-slider { display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 82vw); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; }
.proj-slider::-webkit-scrollbar { height: 8px; }
.proj-slider::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 99px; }
.proj-card { scroll-snap-align: start; background: var(--bg-pure); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; filter: var(--shadow-story); }
.proj-card .media { aspect-ratio: 16/11; overflow: hidden; }
.proj-card .media img { width: 100%; height: 100%; object-fit: cover; }
.proj-card .body { padding: 18px 22px 22px; }
.proj-card h3 { margin: 0 0 4px; font-size: 1.15rem; color: var(--navy); }
.proj-card .specs { margin: 0; font-size: .84rem; color: var(--ink-muted); font-weight: 600; }

/* ==== CTA banner (photo, blue multiply overlay) ======================= */
.cta-banner-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); /* solid base under photo + multiply wash */ }
.cta-banner-band img.cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: grayscale(.5); }
/* SIGNATURE — .cta-overlay-blue mix-blend-mode:multiply blue wash */
.cta-overlay-blue { position: absolute; inset: 0; z-index: 1; background: var(--navy); mix-blend-mode: multiply; }
.cta-banner-band .inner { position: relative; z-index: 2; padding: 60px 56px; color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-banner-band h2 { color: #fff; margin: 0; max-width: 20ch; }
.cta-banner-band p { color: rgba(255,255,255,.88); margin: 8px 0 0; font-weight: 600; }
/* compact variant */
.cta-banner-small { background: var(--grad-navy); background-color: var(--navy-2); /* gradients don't paint backgroundColor — solid base for the contrast walker */ border-radius: var(--radius-lg); padding: 40px 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; color: #fff; }
.cta-banner-small h3 { color: #fff; margin: 0; max-width: 24ch; }
.cta-banner-small p { color: rgba(255,255,255,.85); margin: 6px 0 0; }

/* ==== company-promise / values ======================================== */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 22px; }
.value-tile { background: var(--bg-tint); border-radius: var(--radius-lg); padding: 28px; }
.value-tile h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.15rem; }
.value-tile p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ==== FAQ accordion ==================================================== */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; color: var(--navy); padding: 18px 36px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--gold-deep); font-size: 1.5rem; font-weight: 400; transition: transform var(--t-fast) var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); max-width: 72ch; }

/* ==== recent-articles / featured resources (hover zoom) =============== */
.article-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.feat-block { display: block; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-pure); text-decoration: none; color: inherit; box-shadow: var(--shadow-card); transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.feat-block:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.feat-block .inner-image { aspect-ratio: 16/10; overflow: hidden; }
.feat-block .inner-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-base) var(--ease); }
.feat-block:hover .inner-image img { transform: scale(1.05); }
.feat-block .body { padding: 22px 24px 26px; }
.feat-block .cat { font-size: .72rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue-link); }
.feat-block h3 { margin: 8px 0 6px; font-size: 1.15rem; line-height: 1.35; color: var(--navy); }
.feat-block .body p { margin: 0 0 8px; font-size: .9rem; color: var(--ink-soft); }
.feat-block .date { font-size: .78rem; color: var(--ink-muted); }

/* ==== testimonial pull-quote ========================================== */
.pullquote { text-align: center; max-width: 46ch; margin: 0 auto; }
.pullquote .stars { color: var(--gold); letter-spacing: 4px; font-size: 1.1rem; }
.pullquote blockquote { font-family: var(--font-display); font-weight: 800; font-size: var(--text-h3); line-height: 1.35; color: var(--ink-strong); margin: 14px 0 16px; text-wrap: balance; }
.pullquote cite { font-style: normal; font-weight: 700; color: var(--blue-link); }

/* ==== review card grid (FaceWP, circular initials avatar) ============= */
.review-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.review-filter span { font-size: .85rem; font-weight: 700; padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border); color: var(--ink-soft); background: var(--bg-pure); }
.review-filter span.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.review--single { display: flex; gap: 18px; align-items: flex-start; }
.review--initials { flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; background: var(--grad-navy); background-color: var(--navy-2); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; letter-spacing: .04em; }
.card--reviews { background: var(--bg-pure); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-card); flex: 1; }
.card--reviews .title { margin: 0 0 6px; font-weight: 800; color: var(--navy); font-size: .95rem; }
.card--reviews .stars { color: var(--gold); letter-spacing: 2px; font-size: .85rem; }
.card--reviews blockquote { margin: 10px 0 0; font-size: .95rem; color: var(--ink); }

/* ==== tabbed materials content (CSS-only radio tabs) ================== */
.tabset { }
.tabset .tab-labels { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.tabset label { padding: 12px 22px; font-weight: 800; color: var(--ink-muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabset input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.tabset .tab-panel { display: none; }
.tabset input:nth-of-type(1):checked ~ .tab-labels label:nth-of-type(1),
.tabset input:nth-of-type(2):checked ~ .tab-labels label:nth-of-type(2),
.tabset input:nth-of-type(3):checked ~ .tab-labels label:nth-of-type(3),
.tabset input:nth-of-type(4):checked ~ .tab-labels label:nth-of-type(4) { color: var(--navy); border-bottom-color: var(--gold); }
.tabset input:nth-of-type(1):checked ~ .tab-panels .tab-panel:nth-of-type(1),
.tabset input:nth-of-type(2):checked ~ .tab-panels .tab-panel:nth-of-type(2),
.tabset input:nth-of-type(3):checked ~ .tab-panels .tab-panel:nth-of-type(3),
.tabset input:nth-of-type(4):checked ~ .tab-panels .tab-panel:nth-of-type(4) { display: block; }
.tab-panel .split { gap: 40px; }

/* ==== certification / partner logos strip (grayscale) ================= */
.logos-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 52px; }
.logos-strip .lg { height: 58px; display: grid; place-items: center; }
.logos-strip .lg span { font-weight: 800; letter-spacing: .04em; color: var(--ink-muted); filter: grayscale(1); opacity: .7; font-size: 1.05rem; }

/* ==== team members grid =============================================== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 24px; }
.team-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-pure); box-shadow: var(--shadow-card); }
.team-card .media { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-tint2); }
.team-card .media img { width: 100%; height: 100%; object-fit: cover; }
.team-card .body { padding: 18px 20px 20px; }
.team-card h3 { margin: 0; font-size: 1.1rem; color: var(--navy); }
.team-card .role { margin: 2px 0 0; font-size: .82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--blue-link); }

/* ==== careers listing ================================================= */
.career-list { display: grid; gap: 16px; }
.career-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 28px; background: var(--bg-pure); }
.career-row h3 { margin: 0; font-size: 1.15rem; color: var(--navy); }
.career-row p { margin: 4px 0 0; font-size: .9rem; color: var(--ink-soft); }

/* ==== financing block ================================================= */
.finance-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.finance-block .panel { background: var(--grad-navy); background-color: var(--navy-2); color: #fff; border-radius: var(--radius-lg); padding: 40px; }
.finance-block .panel h3 { color: #fff; }
.finance-block .panel ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.finance-block .panel li { padding-left: 26px; position: relative; color: rgba(255,255,255,.92); }
.finance-block .panel li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

/* ==== blog index featured article ==================================== */
.feat-art { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-pure); box-shadow: var(--shadow-card); }
.feat-art .media { min-height: 320px; overflow: hidden; }
.feat-art .media img { width: 100%; height: 100%; object-fit: cover; }
.feat-art .body { padding: 40px 44px; }
.feat-art h2 { color: var(--navy); }

/* ==== blog post grid ================================================= */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 24px; }

/* ==== rich-text content band (basic-content) ========================= */
.prose { max-width: 72ch; }
.prose p { color: var(--ink-soft); }
.prose h2, .prose h3 { color: var(--navy); }

/* ==== blog single article body (grayscale/overlay hero) ============== */
/* SIGNATURE — hero--blog-single: grayscale(1) + mix-blend-mode:overlay */
.hero--blog-single { position: relative; background: var(--navy); overflow: hidden; padding: 128px 0 80px; color: #fff; text-align: center; }
.hero--blog-single .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: grayscale(1); mix-blend-mode: overlay; }
.hero--blog-single > .container { position: relative; z-index: 2; }
.hero--blog-single h1 { color: #fff; max-width: 22ch; margin-left: auto; margin-right: auto; }

.blog-body { max-width: 720px; margin: 0 auto; }
.blog-body p { color: var(--ink-soft); }
.related-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }

/* ==== footer (navy, white logo) ====================================== */
.footer { background: var(--bg-deepest); color: var(--on-dark-muted); padding: 68px 0 34px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; }
.footer .brand-block img { height: 38px; margin-bottom: 16px; }
.footer .brand-block p { font-size: .9rem; max-width: 34ch; color: var(--on-dark-muted); }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer a { color: var(--on-dark-muted); text-decoration: none; display: block; padding: 4px 0; font-size: .92rem; }
.footer a:hover { color: var(--gold); }
.footer .legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: .82rem; }

/* ==== DS doc chrome =================================================== */
.ds-nav { background: var(--navy); padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; position: sticky; top: 0; z-index: 70; }
.ds-nav .lockup-text { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.ds-nav .lockup-text small { display: block; font-weight: 700; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.ds-nav .tabs { display: flex; gap: 6px; }
.ds-nav .tab { color: var(--on-dark-muted); text-decoration: none; font-size: .88rem; font-weight: 700; padding: 8px 14px; border-radius: var(--radius-pill); }
.ds-nav .tab:hover { color: #fff; }
.ds-nav .tab.active { background: var(--gold); color: var(--navy); }

.ds-hero { padding: 72px 0 48px; }
.ds-section { padding: 54px 0; border-top: 1px solid var(--border); }

/* ==== sections.html catalog chrome ==================================== */
.sx-header { background: var(--bg-tint); padding: 72px 0 48px; }
.sx-header .meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 28px; }
.sx-header .meta > div { font-size: .82rem; color: var(--ink-muted); }
.sx-header .meta strong { display: block; color: var(--navy); font-size: .98rem; }

.sx-index { border-bottom: 1px solid var(--border); background: var(--bg-pure); }
.sx-index .grid { max-width: var(--container); margin: 0 auto; padding: 20px var(--gutter); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 4px; }
.sx-index a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink-soft); font-size: .78rem; font-weight: 600; }
.sx-index a:hover { background: var(--bg-tint2); color: var(--navy); }
.sx-index a .num { color: var(--ink-quiet); }

.sx-pattern { border-bottom: 1px solid var(--border); }
.pattern-meta { max-width: var(--container); margin: 0 auto; padding: 40px var(--gutter) 18px; display: flex; gap: 28px; align-items: baseline; flex-wrap: wrap; }
.pattern-meta .id { font-size: .8rem; color: var(--ink-quiet); display: flex; gap: 10px; align-items: baseline; white-space: nowrap; font-weight: 600; }
.pattern-meta .id .num { font-weight: 800; color: var(--gold-deep); }
.pattern-meta .id .signature { background: var(--navy); color: var(--gold); font-size: .62rem; letter-spacing: .14em; padding: 3px 8px; border-radius: 4px; font-weight: 800; }
.pattern-meta .name { margin: 0; font-family: var(--font-display); font-weight: 800; color: var(--navy); }
.pattern-meta .purpose { margin: 2px 0 0; font-size: .88rem; color: var(--ink-muted); max-width: 68ch; }

.sx-demo { position: relative; border-top: 1px dashed var(--border-mid); }
.sx-demo .demo-label { position: absolute; top: 0; right: var(--gutter); transform: translateY(-50%); background: var(--bg-pure); border: 1px solid var(--border-mid); color: var(--ink-quiet); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-pill); z-index: 5; }
.sx-demo.no-pad { padding: 0; }
.sx-demo:not(.no-pad) { padding: 8px 0; }

/* ==== pages gallery ================================================== */
.pages-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.page-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-pure); box-shadow: var(--shadow-card); text-decoration: none; color: inherit; transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease); display: flex; flex-direction: column; }
.page-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.page-card .preview { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-tint); position: relative; }
.page-card .preview iframe { width: 200%; height: 200%; transform: scale(.5); transform-origin: 0 0; border: 0; pointer-events: none; }
.page-card .preview::after { content: ""; position: absolute; inset: 0; }
.page-card .body { padding: 20px 24px 24px; }
.page-card .body h3 { margin: 0 0 6px; color: var(--navy); }
.page-card .body p { margin: 0 0 10px; font-size: .92rem; color: var(--ink-soft); }
.page-card .page-cta { font-weight: 800; color: var(--blue-link); font-size: .9rem; }

/* ==== design-system.html chrome ===================================== */
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 16px; }
.swatch { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-pure); }
.swatch .chip-color { height: 72px; }
.swatch .meta { padding: 10px 12px; }
.swatch .meta .t { font-size: .74rem; color: var(--navy); font-weight: 800; }
.swatch .meta .v { font-size: .68rem; color: var(--ink-quiet); }

.type-spec { border-bottom: 1px solid var(--border); padding: 22px 0; display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: baseline; }
.type-spec .spec { font-size: .72rem; color: var(--ink-muted); line-height: 1.8; font-weight: 600; }

.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.asset-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-pure); }
.asset-card .thumb { aspect-ratio: 16/10; background: var(--bg-tint); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.asset-card .thumb.dark { background: var(--navy); }
.asset-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.asset-card .thumb img.contain { object-fit: contain; width: 72%; height: auto; }
.asset-card .meta { padding: 12px 14px; font-size: .7rem; color: var(--ink-muted); }
.asset-card .meta strong { display: block; color: var(--navy); font-size: .78rem; }

code.token { font-size: .8em; background: var(--bg-tint); border: 1px solid var(--border); border-radius: 4px; padding: 1px 7px; color: var(--blue-link); font-family: ui-monospace, Menlo, monospace; }

/* ==== responsive ==================================================== */
@media (max-width: 880px) {
  .hero-grid, .split, .split.flip, .branded, .area-grid, .finance-block, .feat-art { grid-template-columns: 1fr; gap: 32px; }
  .hero--main .hero-photo { display: none; } /* stacked layout sits on the gradient alone (live uses a separate mobile-hero picture) */
  .split.flip .media { order: 0; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pages-gallery { grid-template-columns: 1fr; }
  .type-spec { grid-template-columns: 1fr; gap: 8px; }
  .cta-banner-band .inner { padding: 40px 32px; }
  .two-col-boxed { padding: 28px; }
}
@media (max-width: 768px) {
  .nav .actions { display: none; }
}
/* narrower than the 880 block AND later in the file, so it wins the cascade
   at phone width — footer link columns go single-track */
@media (max-width: 560px) {
  .footer .cols { grid-template-columns: 1fr; gap: 28px; }
}
