/* ============================================================
   AIZ Pro — css/style.css
   ------------------------------------------------------------
   Type    Newsreader (display) · Inter (body) · IBM Plex Mono (labels)
   Colour  Navy #1b2f4e anchor · copper accent · warm paper alt
   Notes   Tokens are named by role, not by hue. Radii stay tight
           (2-4px on cards) — soft 14px corners everywhere is the
           single most template-looking thing a site can do.
   ============================================================ */

:root {
  /* --- brand ------------------------------------------------ */
  --navy-950: #0a1522;
  --navy-900: #11223a;
  --navy-800: #1b2f4e;   /* anchor */
  --navy-700: #26405f;
  --navy-600: #35506f;

  --copper-700: #96501f;
  --copper-600: #b4622e;
  --copper-500: #c87c46;
  --copper-100: #f6ece3;

  --blue-700: #204a86;
  --blue-600: #2b5ca8;
  --blue-100: #e5edf8;

  /* --- neutrals --------------------------------------------- */
  --ink:        #16202c;
  --ink-soft:   #4d5b6b;
  --ink-faint:  #78859a;
  --line:       #dde3ec;
  --line-soft:  #e9edf3;
  --line-strong:#c3ccdb;
  --paper:      #ffffff;
  --paper-cool: #f4f6fa;
  --paper-warm: #faf8f5;   /* warm alt — breaks the cold blue-grey default */

  /* --- roles ------------------------------------------------ */
  --action-primary:       var(--navy-800);
  --action-primary-hover: var(--navy-950);
  --action-accent:        var(--copper-600);
  --action-accent-hover:  var(--copper-700);
  --link:                 var(--blue-700);
  --focus:                var(--copper-600);

  /* --- type ------------------------------------------------- */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Helvetica, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-xs:   0.78rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.0625rem;
  --fs-lg:   1.1875rem;
  --fs-xl:   1.4rem;
  --fs-2xl:  clamp(1.65rem, 2.5vw, 2.05rem);
  --fs-3xl:  clamp(2rem, 3.3vw, 2.8rem);
  --fs-4xl:  clamp(2.5rem, 5vw, 4rem);

  /* --- space & shape ---------------------------------------- */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  --sp-tight: 60px;
  --sp-base:  92px;
  --sp-loose: 124px;

  --maxw: 1180px;
  --maxw-narrow: 720px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 60px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.68;
  font-size: var(--fs-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-xs); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 32px; }

/* ---------- typography ------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-800);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
  font-optical-sizing: auto;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
.h-hero { font-size: var(--fs-4xl); line-height: 1.06; letter-spacing: -0.022em; }
.h-lg   { font-size: var(--fs-3xl); }
.h-md   { font-size: var(--fs-xl); }

p { color: var(--ink-soft); }
p + p { margin-top: 15px; }
h1 + p, h2 + p, h3 + p, .h-lg + p, .h-hero + p { margin-top: 18px; }
.lede { font-size: var(--fs-lg); line-height: 1.6; color: var(--ink-soft); }

/* Mono kicker over a hairline rule — replaces the rounded pill eyebrow */
.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-600);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid currentColor;
  width: fit-content;
  max-width: 100%;
}

.section-header { max-width: 660px; margin-bottom: 52px; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-header.centered .eyebrow { margin-left: auto; margin-right: auto; }
.section-header p { margin-top: 16px; font-size: var(--fs-md); }

/* ---------- buttons ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--action-primary); color: #fff; }
.btn-primary:hover { background: var(--action-primary-hover); }


.btn-secondary { background: transparent; color: var(--navy-800); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--navy-800); background: var(--paper-cool); }

.btn-ghost {
  background: none; border: none; padding: 0;
  color: var(--link); font-weight: 600; font-size: var(--fs-sm);
}
.btn-ghost:hover { color: var(--copper-600); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* on dark grounds */
.on-dark .btn-primary { background: #fff; color: var(--navy-800); }
.on-dark .btn-primary:hover { background: var(--copper-100); }
.on-dark .btn-secondary { color: #fff; border-color: rgba(255,255,255,.35); }
.on-dark .btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- header ----------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; gap: 24px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  min-height: var(--header-h);
}
.logo { flex-shrink: 0; display: flex; align-items: center; gap: 13px; padding: 12px 0; }
.logo-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.95rem;
  line-height: 1; color: var(--navy-800); letter-spacing: .01em;
  border-bottom: 3px solid var(--copper-600); padding-bottom: 3px;
}
.logo-rule { width: 1px; height: 40px; background: var(--line-strong); }
.logo-text {
  display: flex; flex-direction: column;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-faint); line-height: 1.6; white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin-left: auto; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 13px; color: var(--ink);
  font-weight: 500; font-size: var(--fs-sm);
  border-radius: var(--r-sm); position: relative;
  white-space: nowrap;
}
.nav-links > li > a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 2px; background: var(--copper-600);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-links > li > a:hover::after { transform: scaleX(1); }
.nav-links > li > a[aria-current="page"] { color: var(--navy-800); font-weight: 600; }
.nav-links > li > a[aria-current="page"]::after { transform: scaleX(1); }
.caret { font-size: .62rem; color: var(--ink-faint); transition: transform .18s ease; }
.has-dropdown.open > a .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 260px; background: #fff;
  border: 1px solid var(--line); border-top: 2px solid var(--copper-600);
  border-radius: var(--r-sm);
  box-shadow: 0 18px 44px rgba(11,21,34,.14);
  padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 13px; font-size: var(--fs-sm); color: var(--ink); border-radius: var(--r-xs); }
.dropdown a:hover { background: var(--paper-cool); color: var(--navy-800); }

/* mega-menu (IT Services) */
.mega { width: min(760px, calc(100vw - 64px)); padding: 26px; left: 50%; transform: translate(-50%, 6px); }
.has-dropdown:hover > .mega,
.has-dropdown:focus-within > .mega,
.has-dropdown.open > .mega { transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.mega a {
  display: block; padding: 14px 15px; border-radius: var(--r-sm);
  border: 1px solid transparent;
}
.mega a:hover { background: var(--paper-cool); border-color: var(--line); }
.mega .mega-title { font-weight: 600; font-size: var(--fs-sm); color: var(--navy-800); margin-bottom: 3px; }
.mega .mega-desc { font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.5; }
.mega-foot {
  grid-column: 1 / -1; margin-top: 14px; padding-top: 16px;
  border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.mega-foot p { font-size: var(--fs-xs); margin: 0; }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta .btn { padding: 11px 20px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-800); transition: transform .22s ease, opacity .22s 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 (max-width: 1140px) {
  .logo-mark { font-size: 1.7rem; }
  .logo-rule { height: 36px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 12px 20px 26px; gap: 0; display: none;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    box-shadow: 0 20px 40px rgba(11,21,34,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { width: 100%; padding: 14px 8px; justify-content: space-between; }
  .nav-links > li > a::after { display: none; }
  .dropdown, .mega {
    position: static; width: auto; opacity: 1; visibility: hidden;
    transform: none; display: none; box-shadow: none; border: none;
    border-left: 2px solid var(--copper-600); border-radius: 0;
    margin: 0 0 10px 10px; padding: 4px 0 4px 8px;
  }
  .has-dropdown:hover > .mega,
  .has-dropdown:focus-within > .mega,
  .has-dropdown.open > .mega { transform: none; }
  .has-dropdown.open > .dropdown { display: block; visibility: visible; }
  .has-dropdown:hover > .dropdown { visibility: inherit; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega a { padding: 11px 10px; }
  .mega-foot { display: none; }
}

/* ---------- breadcrumb ------------------------------------- */
.breadcrumb { padding: 16px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .05em; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: rgba(255,255,255,.35); }
.breadcrumb a { color: rgba(255,255,255,.62); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: rgba(255,255,255,.9); }

/* ---------- sections & rhythm ------------------------------ */
main > section { padding: var(--sp-base) 0; }
section.tight  { padding: var(--sp-tight) 0; }
section.loose  { padding: var(--sp-loose) 0; }
.section-alt   { background: var(--paper-warm); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-cool  { background: var(--paper-cool); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* ---------- home hero (editorial, no photo split) ---------- */
.home-hero {
  padding: clamp(70px, 9vw, 118px) 0 0;
  background:
    radial-gradient(900px 420px at 78% -20%, var(--copper-100), transparent 62%),
    linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 88%);
  border-bottom: 1px solid var(--line);
}
.home-hero-body { max-width: 900px; }
.home-hero .h-hero { max-width: 17ch; }
.home-hero .lede { max-width: 56ch; margin-top: 26px; }

.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: clamp(56px, 7vw, 82px); border-top: 1px solid var(--line);
}
.hero-meta > div { padding: 24px 30px 30px 0; border-right: 1px solid var(--line); }
.hero-meta > div:last-child { border-right: none; }
.hero-meta dt {
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--copper-600); margin-bottom: 9px;
}
.hero-meta dd { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 820px) {
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta > div { border-right: none; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .hero-meta > div:last-child { border-bottom: none; }
}


/* ---------- page hero (interior pages) --------------------- */
.page-hero {
  background: var(--navy-800);
  padding: 0 0 var(--sp-tight) !important;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(680px 300px at 88% -10%, rgba(200,124,70,.20), transparent 70%),
    linear-gradient(180deg, transparent 55%, rgba(10,21,34,.4));
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-body { padding-top: 46px; max-width: 780px; }
.page-hero .eyebrow { color: var(--copper-500); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 44em; margin-top: 18px; font-size: var(--fs-md); }

/* ---------- sticky sub-nav --------------------------------- */
.subnav {
  position: sticky; top: var(--header-h); z-index: 150;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 4px;
  overflow-x: auto; scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  padding: 16px 14px; font-size: var(--fs-sm); font-weight: 500;
  color: var(--ink-soft); white-space: nowrap;
  border-bottom: 2px solid transparent; transition: color .18s, border-color .18s;
}
.subnav a:hover { color: var(--navy-800); }
.subnav a.is-active { color: var(--navy-800); font-weight: 600; border-bottom-color: var(--copper-600); }
.subnav .subnav-cta { margin-left: auto; padding-left: 20px; }

/* ---------- grids ------------------------------------------ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.split  { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-wide { grid-template-columns: 1.15fr .85fr; }
.split-narrow { grid-template-columns: .85fr 1.15fr; }
.align-start { align-items: start; }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .split, .split-wide, .split-narrow { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- cards ------------------------------------------ */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 28px 26px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--line-strong); box-shadow: 0 10px 30px rgba(11,21,34,.07); transform: translateY(-2px); }
.card h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base); margin-bottom: 9px; }
.card p { font-size: var(--fs-sm); }

/* number-led card: no icon badge, a mono index instead */
.card-num { border-top: 2px solid var(--navy-800); }
.card-num .idx {
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500;
  color: var(--copper-600); letter-spacing: .1em; display: block; margin-bottom: 14px;
}


/* ---------- feature row (alternating, no card chrome) ------ */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.feature-row + .feature-row { margin-top: var(--sp-base); }
.feature-row.flip .feature-media { order: -1; }
.feature-row h2, .feature-row h3 { font-size: var(--fs-2xl); font-family: var(--font-display); }
.feature-list { list-style: none; margin-top: 24px; }
.feature-list li {
  padding: 13px 0 13px 28px; border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--ink-soft); position: relative;
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list li::before {
  content: ""; position: absolute; left: 4px; top: 25px;
  width: 10px; height: 1px; background: var(--copper-600);
}
@media (max-width: 980px) {
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.flip .feature-media { order: 0; }
}

/* ---------- definition list (industries, capability lists) - */
.def-list { border-top: 1px solid var(--line); }
.def-list > div {
  display: grid; grid-template-columns: 200px 1fr; gap: 32px;
  padding: 24px 4px; border-bottom: 1px solid var(--line);
  transition: background .18s ease;
}
.def-list > div:hover { background: var(--paper-cool); }
.def-list dt { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base); color: var(--navy-800); display: flex; align-items: center; gap: 11px; }
.def-list dd { font-size: var(--fs-sm); color: var(--ink-soft); }
@media (max-width: 780px) {
  .def-list > div { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- stats ------------------------------------------ */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stat {
  padding: 34px 28px 30px; border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.7rem); color: var(--navy-800);
  line-height: 1; letter-spacing: -.03em; font-feature-settings: "tnum";
}
.stat .label { font-weight: 600; font-size: var(--fs-sm); color: var(--ink); margin: 12px 0 7px; }
.stat p { font-size: var(--fs-xs); line-height: 1.6; }
.stat-note { margin-top: 22px; font-size: var(--fs-xs); color: var(--ink-faint); font-style: italic; }
@media (max-width: 900px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(3) { padding-left: 0; }
}
@media (max-width: 520px) {
  .stat-band { grid-template-columns: 1fr; }
  .stat { border-right: none; padding-left: 0; }
}

/* ---------- logo wall -------------------------------------- */
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.logo-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 30px 18px; text-align: center;
  border-right: 1px solid var(--line); min-height: 116px;
  transition: background .18s ease;
}
.logo-cell:last-child { border-right: none; }
.logo-cell:hover { background: var(--paper-warm); }
.logo-cell .wordmark {
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 600;
  color: var(--navy-700); letter-spacing: -.01em; line-height: 1.1;
}
.logo-cell .kind { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.logo-cell img { max-height: 30px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .2s, opacity .2s; }
.logo-cell:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-cell { border-bottom: 1px solid var(--line); }
  .logo-cell:nth-child(2n) { border-right: none; }
}

/* ---------- vendor detail ---------------------------------- */
.vendor { display: grid; grid-template-columns: 240px 1fr; gap: 44px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; }
.vendor:first-of-type { border-top: 1px solid var(--line); }
.vendor-mark .wordmark { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--navy-800); line-height: 1.15; }
.vendor-mark .kind { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--copper-600); margin-top: 8px; display: block; }
.vendor-meta { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-faint); margin-top: 6px; }
.vendor-body p { font-size: var(--fs-sm); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-soft);
  border: 1px solid var(--line-strong); border-radius: var(--r-xs); padding: 5px 9px;
}
@media (max-width: 780px) { .vendor { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- tabs ------------------------------------------- */
.tabs { margin-top: 8px; }
.tablist { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tablist button {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500;
  color: var(--ink-soft); padding: 15px 20px; white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .18s, border-color .18s;
}
.tablist button:hover { color: var(--navy-800); }
.tablist button[aria-selected="true"] { color: var(--navy-800); font-weight: 600; border-bottom-color: var(--copper-600); }
.tabpanel { padding-top: 40px; }
.tabpanel[hidden] { display: none; }

/* ---------- accordion -------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 4px; font-family: var(--font-body);
  font-size: var(--fs-md); font-weight: 600; color: var(--navy-800);
  transition: color .18s;
}
.acc-trigger:hover { color: var(--copper-700); }
.acc-icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; background: var(--copper-600);
  transition: transform .22s ease, opacity .22s ease;
}
.acc-icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.acc-icon::after  { left: 6px; top: 0; width: 2px; height: 14px; }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: rotate(90deg); opacity: 0; }
.acc-panel { overflow: hidden; }
.acc-panel[hidden] { display: none; }
.acc-panel-inner { padding: 0 4px 26px; max-width: 62em; }
.acc-panel-inner p { font-size: var(--fs-sm); }

/* ---------- spec table ------------------------------------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 620px; }
.spec-table caption { text-align: left; padding: 18px 22px; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); border-bottom: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.spec-table thead th {
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint);
  background: var(--paper-cool); border-bottom: 1px solid var(--line);
}
.spec-table tbody th { font-weight: 600; color: var(--navy-800); font-size: var(--fs-sm); white-space: nowrap; }
.spec-table td { color: var(--ink-soft); }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table tbody tr:hover { background: var(--paper-warm); }
.spec-table .yes { color: var(--copper-700); font-family: var(--font-mono); }

/* ---------- timeline (horizontal process) ------------------ */
.timeline { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 13px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.tl-step { position: relative; padding: 0 26px 0 0; }
.tl-step::before {
  content: ""; position: relative; display: block;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--copper-600);
  margin: 8px 0 26px; z-index: 1;
}
.section-alt .tl-step::before { background: var(--paper-warm); }
.section-cool .tl-step::before { background: var(--paper-cool); }
.tl-step .tl-idx { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em; color: var(--copper-600); display: block; margin-bottom: 8px; }
.tl-step h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base); margin-bottom: 7px; }
.tl-step p { font-size: var(--fs-sm); }
@media (max-width: 900px) {
  .timeline { grid-auto-flow: row; }
  .timeline::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .tl-step { padding: 0 0 30px 32px; }
  .tl-step::before { position: absolute; left: 0; top: 6px; margin: 0; }
  .tl-step:last-child { padding-bottom: 0; }
}

/* ---------- architecture diagram --------------------------- */
.arch-diagram { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 34px; }
.arch-diagram svg { width: 100%; height: auto; }
.arch-caption { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-faint); margin-top: 20px; letter-spacing: .04em; }

/* ---------- callout / pull quote --------------------------- */
.callout {
  border-left: 2px solid var(--copper-600); padding: 4px 0 4px 26px;
  margin: 34px 0; max-width: 46em;
}
.callout p { font-family: var(--font-display); font-size: var(--fs-xl); line-height: 1.42; color: var(--navy-800); }
.callout cite { display: block; margin-top: 14px; font-family: var(--font-mono); font-size: var(--fs-xs); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }

.notice {
  background: var(--copper-100); border: 1px solid #ecd9c8;
  border-radius: var(--r-sm); padding: 20px 24px; margin-top: 28px;
}
.notice p { font-size: var(--fs-sm); color: var(--copper-700); margin: 0; }

/* ---------- photography ------------------------------------ */
.photo-frame { border-radius: var(--r-md); overflow: hidden; position: relative; background: var(--paper-cool); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo-frame.wide img { aspect-ratio: 16 / 9; }

/* ---------- leadership ------------------------------------- */
.leader { max-width: 64em; }
.leader h2, .leader h3 { font-size: var(--fs-xl); }
.leader .title { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--copper-600); margin: 8px 0 16px; }
.leader p { font-size: var(--fs-sm); }

.leader + .rule { margin: 44px 0; }
hr.rule { border: none; border-top: 1px solid var(--line); }

/* ---------- forms ------------------------------------------ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.form-group { margin-bottom: 22px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 9px; color: var(--ink); }
.form-group .req { color: var(--copper-600); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: var(--fs-sm);
  background: #fff; color: var(--ink); transition: border-color .16s, box-shadow .16s;
}
.form-group textarea { min-height: 148px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(27,47,78,.1);
}
.form-note { font-size: var(--fs-xs); color: var(--ink-faint); margin-top: 16px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- contact block ---------------------------------- */
.contact-block { border-top: 1px solid var(--line); }
.contact-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item .k { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 7px; }
.contact-item .v { font-size: var(--fs-md); color: var(--navy-800); font-weight: 500; }
.contact-item .v a { color: var(--navy-800); border-bottom: 1px solid var(--line-strong); }
.contact-item .v a:hover { color: var(--copper-700); border-color: var(--copper-600); }
.contact-item p { font-size: var(--fs-sm); margin-top: 6px; }

/* ---------- CTA band --------------------------------------- */
.cta-band { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 15% 120%, rgba(200,124,70,.22), transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); margin-top: 16px; max-width: 40em; }
.cta-band .btn-row { margin-top: 0; justify-content: flex-end; }
@media (max-width: 900px) {
  .cta-inner { grid-template-columns: 1fr; gap: 30px; }
  .cta-band .btn-row { justify-content: flex-start; }
}

/* ---------- footer ----------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.62); font-size: var(--fs-sm); padding: 68px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 52px; }
.footer-brand .logo-mark { color: #fff; border-bottom-color: var(--copper-500); }
.footer-brand .logo-text { color: rgba(255,255,255,.45); }
.footer-blurb { margin-top: 22px; max-width: 30em; font-size: var(--fs-sm); color: rgba(255,255,255,.55); }
.footer-col h2 { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: var(--fs-sm); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0 34px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 26px;
  font-size: var(--fs-xs); color: rgba(255,255,255,.42);
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: rgba(255,255,255,.42); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- motion ----------------------------------------- */
/* Gated on .has-js (set by main.js) so content is never hidden without a
   script running that can reveal it again. */
.has-js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.has-js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .07s; }
[data-reveal][data-delay="2"] { transition-delay: .14s; }
[data-reveal][data-delay="3"] { transition-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- utilities -------------------------------------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--navy-800); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-size: var(--fs-sm); font-weight: 600;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }
