/* site.css — shared structural styles for both directions.
   Layout/typography are scoped to .dir; color comes entirely from CSS
   variables set by .theme-a (corporate blue) or .theme-b (brand red+yellow). */

/* ───────────────────────── THEMES ───────────────────────── */
.dir.theme-a {
  --ink: #0B2440;          /* dark sections + text */
  --blue: #1668CF;         /* primary / highlights */
  --blue-d: #0E4AA0;
  --primary-rgb: 22,104,207;
  --cta: #1668CF;          /* CTA buttons */
  --cta-d: #0E4AA0;
  --cta-rgb: 22,104,207;
  --tint: #EEF3FA;
  --paper: #F6F8FB;
  --muted: #5A6573;
  --line: rgba(11,36,64,.10);
  --line-2: rgba(11,36,64,.16);
  --eyebrow-bar: var(--blue);       /* eyebrow dash on light */
  --ondark-text: #6FA8F0;           /* eyebrow text on dark */
  --ondark-bar: #6FA8F0;            /* eyebrow dash on dark */
  --panel-grad: #123A66;
  --quote-mid: #0E315A;
  --pcode-bg: var(--ink);
  --pcode-fg: #fff;
  --emph: var(--blue);              /* highlight words + stats */
}
.dir.theme-b {
  /* Blue stays primary + highlights. Red = CTA buttons. Yellow = lines only
     (eyebrow dashes, header keyline) + product-code chips. */
  --ink: #0B2440;
  --blue: #1668CF;         /* primary / highlights — BLUE */
  --blue-d: #0E4AA0;
  --primary-rgb: 22,104,207;
  --accent-2: #F5B301;     /* Flowtork yellow */
  --cta: #D11F2B;          /* Flowtork red — CTA buttons */
  --cta-d: #A8121F;
  --cta-rgb: 209,31,43;
  --tint: #EEF3FA;
  --paper: #F6F8FB;
  --muted: #5A6573;
  --line: rgba(11,36,64,.10);
  --line-2: rgba(11,36,64,.16);
  --eyebrow-bar: var(--accent-2);   /* yellow dash on light */
  --ondark-text: #6FA8F0;           /* eyebrow text on dark stays blue */
  --ondark-bar: var(--accent-2);    /* yellow dash on dark */
  --panel-grad: #123A66;
  --quote-mid: #0E315A;
  --pcode-bg: var(--accent-2);      /* yellow product-code chip */
  --pcode-fg: #0B2440;
  --emph: var(--blue);              /* highlight words + stats stay BLUE */
}

/* ───────────────────────── BASE ───────────────────────── */
.dir {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.dir h1, .dir h2, .dir h3, .dir .display { font-family: "Archivo", sans-serif; }
.dir .wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.dir .mono { font-family: "IBM Plex Mono", monospace; }
.dir .eyebrow {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
  display: inline-flex; align-items: center; gap: 9px;
}
.dir .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--eyebrow-bar); }

/* utility bar */
.dir .util { background: var(--ink); color: rgba(255,255,255,.72); font-size: 12.5px; }
.dir .util .wrap { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.dir .util .u-left { display: flex; gap: 22px; }
.dir .util .u-left span { display: inline-flex; align-items: center; gap: 7px; }
.dir .util b { color: #fff; font-weight: 600; }
.dir .util .u-right { display: flex; gap: 18px; font-family: "IBM Plex Mono", monospace; letter-spacing: .03em; }

/* header / nav */
.dir .hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.dir.theme-b .hd { box-shadow: inset 0 -3px 0 var(--accent-2); border-bottom-color: transparent; }
.dir .hd .wrap { display: flex; align-items: center; height: 76px; gap: 32px; }
.dir .nav { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.dir .nav a:not(.btn) { font-size: 14.5px; font-weight: 500; color: var(--ink); padding: 6px 0; position: relative; white-space: nowrap; }
.dir .nav > a:not(.btn)::after, .dir .nav-drop-t::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--blue); transition: right .22s; }
.dir .nav > a:not(.btn):hover::after, .dir .nav-drop:hover .nav-drop-t::after { right: 0; }

/* products dropdown */
.dir .nav-drop { position: relative; }
.dir .nav-drop-t { position: relative; display: flex; align-items: center; gap: 5px; font-size: 14.5px; font-weight: 500; color: var(--ink); padding: 6px 0; cursor: pointer; }
.dir .nav-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); background: #fff; border-radius: 12px;
  box-shadow: 0 16px 44px rgba(11,36,64,.18), inset 0 0 0 1px var(--line); padding: 8px; min-width: 320px; z-index: 60;
  opacity: 0; visibility: hidden; transition: opacity .16s, transform .16s; }
.dir .nav-drop:hover .nav-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.dir .nav-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.dir .nav-menu a:hover { background: var(--tint); color: var(--blue); }
.dir .nm-code { font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 600; letter-spacing: .06em; background: var(--accent-2, #F5B301); color: #0B2440; padding: 3px 6px; border-radius: 4px; min-width: 36px; text-align: center; flex: 0 0 auto; }

/* mobile menu */
.dir .hd-logo { display: flex; align-items: center; }
.dir .hd-burger { display: none; margin-left: auto; background: transparent; border: 0; color: var(--ink); padding: 6px; }
.dir .hd-drawer { position: fixed; inset: 0; background: rgba(11,36,64,.45); z-index: 200; display: flex; justify-content: flex-end; animation: ftfade .18s ease; }
@keyframes ftfade { from { opacity: 0; } to { opacity: 1; } }
.dir .hd-panel { width: min(86vw, 360px); background: #fff; height: 100%; padding: 18px 18px 28px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; box-shadow: -20px 0 60px rgba(0,0,0,.25); }
.dir .hd-panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dir .hd-close { background: transparent; border: 0; color: var(--ink); padding: 6px; }
.dir .dl-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 15px 6px; font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); background: transparent; width: 100%; text-align: left; font-family: inherit; cursor: pointer; }
.dir .dl-acc svg { transition: transform .18s; }
.dir .dl-acc.on svg { transform: rotate(180deg); }
.dir .dl-sub { display: flex; flex-direction: column; padding: 4px 0 8px; }
.dir .dl-sub a { display: flex; align-items: center; gap: 10px; padding: 11px 8px 11px 12px; font-size: 14.5px; color: var(--muted); }
.dir .dl-sub a:hover { color: var(--blue); }
.dir .dl-cta { margin-top: 18px; justify-content: center; border-bottom: 0; }
@media (max-width: 1000px) {
  .dir .hd-burger { display: flex; }
}

/* ── sub-page header band ── */
.dir .page-head { position: relative; border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 420px at 90% -20%, rgba(var(--primary-rgb),.08), transparent 60%), linear-gradient(180deg, #fff, var(--paper)); }
.dir .page-head .wrap { padding: 48px 32px 56px; }
.dir .crumb { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; gap: 9px; align-items: center; }
.dir .crumb a:hover { color: var(--blue); }
.dir .crumb .sep { opacity: .45; }
.dir .crumb .here { color: var(--blue); }
.dir .page-head h1 { font-size: clamp(34px, 4.2vw, 54px); font-weight: 800; letter-spacing: -.02em; line-height: 1.04; margin-top: 18px; }
.dir .page-head .ph-lead { color: var(--muted); font-size: 17.5px; margin-top: 18px; max-width: 46em; }
.dir .page-head .ph-brands { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; align-items: center; }
.dir .page-head .ph-brands .pbl { font-size: 12.5px; color: var(--muted); margin-right: 4px; }

/* ── valve type grid (reuses pcard look, no image) ── */
.dir .tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dir .tcard { position: relative; border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.dir .tcard:hover { box-shadow: inset 0 0 0 1px var(--blue), 0 20px 44px rgba(11,36,64,.12); transform: translateY(-3px); }
/* ── product page: brand lede band ── */
.dir .brandlede { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: center;
  background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 38px 40px; }
.dir .brandlede .bl-logo { display: flex; align-items: center; justify-content: center; padding-right: 50px; border-right: 1px solid var(--line); }
.dir .brandlede .bl-logo img { max-width: 190px; max-height: 70px; width: auto; height: auto; object-fit: contain; }
.dir .brandlede .bl-tag { font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.dir .brandlede p { color: var(--muted); font-size: 16px; line-height: 1.65; margin-top: 12px; max-width: 50em; }
.dir .brandlede .bl-cert { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.dir .brandlede .bl-cert img { height: 46px; width: auto; }
.dir .brandlede .bl-cert span { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.dir .subhead { margin: 56px 0 30px; display: flex; align-items: center; gap: 16px; }
.dir .subhead h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.018em; white-space: nowrap; }
.dir .subhead .sh-rule { flex: 1; height: 1px; background: var(--line); }
.dir .subhead .sh-count { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
@media (max-width: 1000px) {
  .dir .brandlede { grid-template-columns: 1fr; gap: 24px; padding: 30px; }
  .dir .brandlede .bl-logo { justify-content: flex-start; padding-right: 0; padding-bottom: 24px; border-right: 0; border-bottom: 1px solid var(--line); }
}

.dir .tcard .timg { aspect-ratio: 16/10; position: relative; }
.dir .tcard .timg.photo { aspect-ratio: auto; height: 212px; background: linear-gradient(180deg, #fff, var(--paper)); display: flex; align-items: center; justify-content: center; padding: 18px; overflow: hidden; }
.dir .tcard .timg.photo img { height: 152px; width: auto; max-width: 90%; object-fit: contain; transition: transform .4s cubic-bezier(.3,.7,.4,1); }
.dir .tcard:hover .timg.photo img { transform: scale(1.09); }
.dir .tcard .tcode { position: absolute; top: 12px; left: 12px; font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 600; letter-spacing: .08em; background: var(--pcode-bg); color: var(--pcode-fg); padding: 4px 9px; border-radius: 4px; }
.dir .tcard .tbody { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.dir .tcard h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; min-height: 2.35em; }
.dir .tcard p { font-size: 13.5px; color: var(--muted); margin-top: 9px; min-height: 3.4em; }
.dir .tcard .tlink { margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 7px; }
.dir .tcard:hover .tlink .arr { transform: translateX(3px); }

/* ── product spotlight rows (text-rich category) ── */
.dir .specrow { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.dir .specrow.reverse .spec-media { order: 2; }
.dir .spec-media { background: linear-gradient(180deg, #fff, var(--paper)); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 30px; display: flex; align-items: center; justify-content: center; }
.dir .spec-media img { max-width: 100%; max-height: 320px; width: auto; object-fit: contain; }
.dir .spec-lead { font-size: 17px; line-height: 1.62; color: var(--ink); font-weight: 500; }
.dir .spec-steps { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.dir .spec-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; }
.dir .spec-steps .ss-n { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-family: "IBM Plex Mono", monospace; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.dir .spec-steps strong, .dir .spec-feats strong { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -.005em; }
.dir .spec-steps p, .dir .spec-feats p { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.55; }
.dir .spec-feats { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.dir .spec-feats li { padding-left: 18px; border-left: 2px solid var(--blue); }
.dir .spec-diagram { margin: 40px 0 0; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 34px 34px 22px; text-align: center; }
.dir .spec-diagram img { max-width: 520px; width: 100%; height: auto; display: block; margin-inline: auto; image-rendering: -webkit-optimize-contrast; }
.dir .spec-diagram figcaption { font-size: 13.5px; color: var(--muted); margin-top: 16px; max-width: 60ch; margin-inline: auto; line-height: 1.55; }
@media (max-width: 900px) {
  .dir .specrow { grid-template-columns: 1fr; gap: 28px; }
  .dir .specrow.reverse .spec-media { order: 0; }
}

/* ── marine loading arms: photo-header feature cards ── */
.dir .mla-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dir .mla-grid.two { grid-template-columns: repeat(2, 1fr); }
.dir .mla-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.dir .mla-card:hover { box-shadow: inset 0 0 0 1px var(--blue), 0 20px 44px rgba(11,36,64,.10); transform: translateY(-3px); }
.dir .mla-card .mla-photo { height: 230px; overflow: hidden; background: var(--ink); }
.dir .mla-card .mla-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.dir .mla-card:hover .mla-photo img { transform: scale(1.05); }
.dir .mla-card .mla-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.dir .mla-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.dir .mla-card .mla-lead { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 12px; }
.dir .mla-card .mla-feats { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.dir .mla-card .mla-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.45; }
.dir .mla-card .mla-feats .ck { color: var(--blue); flex: 0 0 auto; margin-top: 1px; }
@media (max-width: 860px) {
  .dir .mla-grid, .dir .mla-grid.two { grid-template-columns: 1fr; }
}

/* ── brand detail rows ── */
.dir .vbrands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dir .vbrand { padding: 28px 26px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.dir .vbrand .vb-name { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 23px; letter-spacing: .01em; }
.dir .vbrand .vb-tag { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-top: 4px; }
.dir .vbrand p { color: var(--muted); margin-top: 14px; font-size: 14.5px; line-height: 1.6; }

/* ── about: values + timeline ── */
.dir .vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dir .valcard { padding: 28px 26px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.dir .valcard .vc-ic { width: 46px; height: 46px; border-radius: 10px; background: var(--tint); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.dir .valcard h3 { font-size: 18px; font-weight: 700; margin-top: 18px; }
.dir .valcard p { color: var(--muted); margin-top: 9px; font-size: 14px; }
.dir .tline { border-top: 1px solid var(--line); margin-top: 10px; }
.dir .tline .trow { display: grid; grid-template-columns: 150px 1fr; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.dir .tline .ty { font-family: "Archivo", sans-serif; font-size: 30px; font-weight: 800; color: var(--emph); line-height: 1; }
.dir .tline .tt h3 { font-size: 19px; font-weight: 700; }
.dir .tline .tt p { color: var(--muted); margin-top: 8px; font-size: 15px; max-width: 44em; }

/* ── about: vision / mission ── */
.dir .vm { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.dir .vmcard { padding: 40px 38px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.dir .vmcard .vm-ic { width: 46px; height: 46px; border-radius: 10px; background: var(--tint); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.dir .vmcard h3 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.dir .vmcard p { color: var(--muted); margin-top: 14px; font-size: 15.5px; line-height: 1.65; }
.dir .vmcard .vm-emph { margin-top: 20px; font-weight: 700; font-size: 15.5px; color: var(--ink); padding-top: 18px; border-top: 1px solid var(--line); }
.dir .vmcard.dark { background: linear-gradient(160deg, var(--ink), var(--panel-grad)); }
.dir .vmcard.dark h3 { color: #fff; }
.dir .vmcard.dark p { color: rgba(255,255,255,.74); }
.dir .vmcard.dark .vm-ic { background: rgba(255,255,255,.10); color: var(--ondark-text); }
.dir .vmcard.dark .vm-emph { color: #fff; border-top-color: rgba(255,255,255,.16); }

/* ── about: industries we cater for (chip cloud) ── */
.dir .indwrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.dir .indwrap h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.018em; margin-top: 14px; line-height: 1.1; }
.dir .indwrap .ind-lead { color: var(--muted); margin-top: 18px; font-size: 16px; max-width: 30em; }
.dir .indchips { display: flex; flex-wrap: wrap; gap: 12px; }
.dir .indchip { display: inline-flex; align-items: center; gap: 10px; font-family: "Archivo", sans-serif; font-weight: 600; font-size: 15px;
  color: var(--ink); padding: 12px 18px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .18s, transform .18s; }
.dir .indchip:hover { box-shadow: inset 0 0 0 1px var(--blue); transform: translateY(-2px); }
.dir .indchip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2, var(--blue)); flex: 0 0 auto; }

/* ── about: clients logo grid ── */
.dir .clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.dir .clients .clogo { aspect-ratio: 3/2; display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); padding: 18px 20px;
  transition: box-shadow .2s, transform .2s; }
.dir .clients .clogo:hover { box-shadow: inset 0 0 0 1px var(--blue), 0 14px 30px rgba(11,36,64,.10); transform: translateY(-2px); }
.dir .clients .clogo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; }
.dir .clients .clogo:hover img { filter: none; opacity: 1; }
.dir.logos-color .clients .clogo img { filter: none; opacity: 1; }
@media (max-width: 1000px) {
  .dir .vm, .dir .indwrap { grid-template-columns: 1fr; gap: 28px; }
  .dir .clients { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .dir .clients { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .dir .tgrid, .dir .vbrands, .dir .vals { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .dir .tgrid, .dir .vbrands, .dir .vals { grid-template-columns: 1fr; }
  .dir .tline .trow { grid-template-columns: 1fr; gap: 6px; }
  .dir .page-head .wrap { padding: 36px 20px 44px; }
}
.dir .nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--blue); transition: right .22s; }
.dir .nav a:hover::after { right: 0; }
.dir .btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px;
  padding: var(--btn-py, 12px) var(--btn-px, 22px); border-radius: var(--btn-radius, 6px); border: 0; transition: transform .12s, box-shadow .18s, background .18s;
}
.dir .btn-primary { background: var(--cta); color: #fff; box-shadow: 0 6px 18px rgba(var(--cta-rgb),.28); }
.dir .btn-primary:hover { background: var(--cta-d); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(var(--cta-rgb),.34); }
.dir .btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.dir .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.dir .btn-light { background: #fff; color: var(--ink); }
.dir .btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.dir .btn .arr { transition: transform .18s; }
.dir .btn:hover .arr { transform: translateX(3px); }

/* hero */
.dir .hero { position: relative; background:
  radial-gradient(1100px 520px at 88% -10%, rgba(var(--primary-rgb),.10), transparent 60%),
  linear-gradient(180deg, #fff, var(--paper)); overflow: hidden; }
.dir .hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-top: 76px; padding-bottom: 76px; }
.dir .hero h1 { font-size: clamp(38px, 4.4vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; margin: 22px 0 0; }
.dir .hero h1 em { font-style: normal; color: var(--emph); }
.dir .hero .lead { font-size: 18px; color: var(--muted); margin-top: 22px; max-width: 30em; }
.dir .hero .cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.dir .hero .trust { display: flex; gap: 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.dir .hero .trust .t b { font-family: "Archivo", sans-serif; font-size: 28px; font-weight: 800; display: block; line-height: 1; }
.dir .hero .trust .t span { font-size: 12.5px; color: var(--muted); }
.dir .hero .visual { position: relative; aspect-ratio: 4/3.4; border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(11,36,64,.18); }
.dir .hero .vbadge { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.95);
  border-radius: 8px; padding: 12px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.14); display: flex; gap: 12px; align-items: center; }
.dir .hero .vbadge .dot { width: 9px; height: 9px; border-radius: 50%; background: #1FAE5A; box-shadow: 0 0 0 4px rgba(31,174,90,.16); }
.dir .hero .vbadge .vt { font-size: 13px; font-weight: 600; }
.dir .hero .vbadge .vs { font-size: 11.5px; color: var(--muted); }

/* brand strip */
.dir .brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.dir .brands .wrap { padding: 28px 32px; display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.dir .brands .blab { font-size: 12.5px; color: var(--muted); font-weight: 500; flex: 0 0 auto; max-width: 180px; }
.dir .brands .row { display: flex; gap: 14px; flex-wrap: wrap; flex: 1; }
.dir .brand-chip {
  font-family: "Archivo", sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .02em;
  color: var(--ink); padding: 9px 16px; border-radius: 6px; background: var(--tint);
  box-shadow: inset 0 0 0 1px var(--line); transition: color .18s, box-shadow .18s; opacity: .85; white-space: nowrap;
}
.dir .brand-chip:hover { color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); opacity: 1; }
.dir .brands .row { row-gap: 22px; column-gap: 30px; align-items: center; }
.dir .brand-logo { display: inline-flex; align-items: center; height: 34px; transition: transform .2s cubic-bezier(.3,.7,.4,1); }
.dir .brand-logo img { max-height: 100%; max-width: 150px; width: auto; height: auto; object-fit: contain;
  transition: filter .2s; }
.dir .brand-logo:hover { transform: translateY(-3px) scale(1.04); }
.dir .brand-logo:hover img { filter: drop-shadow(0 6px 12px rgba(11,36,64,.18)); }

/* section scaffolding */
.dir section { padding: 86px 0; }
.dir .shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 46px; flex-wrap: wrap; }
.dir .shead h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.018em; line-height: 1.08; margin-top: 14px; max-width: 16em; }
.dir .shead p { color: var(--muted); max-width: 30em; font-size: 15.5px; }

/* products */
.dir .pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dir .pcard {
  position: relative; border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column;
}
.dir .pcard:hover { box-shadow: inset 0 0 0 1px var(--blue), 0 20px 44px rgba(11,36,64,.12); transform: translateY(-3px); }
.dir .pcard .pimg { aspect-ratio: 16/10; position: relative; }
.dir .pcard .pcode { position: absolute; top: 12px; left: 12px; font-family: "IBM Plex Mono", monospace;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; background: var(--pcode-bg); color: var(--pcode-fg); padding: 4px 9px; border-radius: 4px; }
.dir .pcard .pbody { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.dir .pcard h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.dir .pcard .pdesc { font-size: 14px; color: var(--muted); margin-top: 9px; flex: 1; }
.dir .pcard .pbrands { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 16px; }
.dir .pcard .pbrands span { font-size: 11.5px; font-weight: 600; color: var(--blue-d); background: var(--tint); padding: 4px 9px; border-radius: 999px; }
.dir .pcard .plink { margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 7px; }
.dir .pcard:hover .plink .arr { transform: translateX(3px); }
.dir .pcard .arr { transition: transform .18s; }
.dir .pcard.cta-card { background: linear-gradient(160deg, var(--ink), var(--panel-grad)); color: #fff; box-shadow: none; justify-content: center; padding: 40px 36px; }
.dir .pcard.cta-card h3 { color: #fff; font-size: 27px; font-weight: 800; letter-spacing: -.015em; }
.dir .pcard.cta-card p { color: rgba(255,255,255,.72); font-size: 14.5px; line-height: 1.6; margin-top: 12px; }
.dir .pcard.cta-card .btn { margin-top: 26px; align-self: flex-start; }

/* services */
.dir .services { background: var(--ink); color: #fff; }
.dir .services .eyebrow { color: var(--ondark-text); }
.dir .services .eyebrow::before { background: var(--ondark-bar); }
.dir .services .shead h2 { color: #fff; }
.dir .services .shead p { color: rgba(255,255,255,.68); }
.dir .sgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.dir .scell { padding: 30px 22px; border-right: 1px solid rgba(255,255,255,.14); }
.dir .scell:last-child { border-right: 0; }
.dir .scell .sn { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--ondark-text); letter-spacing: .1em; }
.dir .scell h3 { font-size: 20px; font-weight: 700; margin-top: 18px; }
.dir .scell p { font-size: 14px; color: rgba(255,255,255,.66); margin-top: 10px; }

/* why / stats */
.dir .why .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.dir .why .vis { aspect-ratio: 1/.9; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 56px rgba(11,36,64,.14); }
.dir .why h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.018em; margin-top: 14px; line-height: 1.1; }
.dir .why p { color: var(--muted); margin-top: 18px; font-size: 16px; }
.dir .statrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 34px; }
.dir .statrow .st b { font-family: "Archivo", sans-serif; font-size: 34px; font-weight: 800; color: var(--emph); display: block; line-height: 1; }
.dir .statrow .st span { font-size: 13px; color: var(--muted); margin-top: 7px; display: block; }

/* industries */
.dir .industries { background: var(--paper); }
.dir .igrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dir .icard { background: #fff; border-radius: 10px; padding: 26px 22px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.dir .icard:hover { box-shadow: inset 0 0 0 1px var(--blue); }
.dir .icard .ic { width: 44px; height: 44px; border-radius: 9px; background: var(--tint); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.dir .icard h3 { font-size: 17px; font-weight: 700; margin-top: 18px; }
.dir .icard p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* quote + downloads */
.dir .quote { background: linear-gradient(155deg, var(--ink) 0%, var(--quote-mid) 60%, var(--blue-d) 140%); color: #fff; }
.dir .quote .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.dir .quote .eyebrow { color: var(--ondark-text); }
.dir .quote .eyebrow::before { background: var(--ondark-bar); }
.dir .quote h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.02em; margin-top: 16px; line-height: 1.06; }
.dir .quote .qlead { color: rgba(255,255,255,.74); margin-top: 18px; font-size: 16px; max-width: 30em; }
.dir .quote .dls { margin-top: 34px; display: flex; flex-direction: column; gap: 10px; }
.dir .quote .dl { display: flex; align-items: center; gap: 13px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  padding: 14px 16px; border-radius: 8px; transition: background .18s; }
.dir .quote .dl:hover { background: rgba(255,255,255,.12); }
.dir .quote .dl .dlt { font-weight: 600; font-size: 14.5px; }
.dir .quote .dl .dls2 { font-size: 11.5px; color: rgba(255,255,255,.55); font-family: "IBM Plex Mono", monospace; margin-left: auto; }
.dir .form { background: #fff; border-radius: 14px; padding: 30px; box-shadow: 0 30px 70px rgba(0,0,0,.28); }
.dir .form h3 { color: var(--ink); font-size: 20px; font-weight: 700; }
.dir .form .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.dir .form .full { grid-column: 1 / -1; }
.dir .ft-field { width: 100%; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 7px; padding: 12px 14px;
  font: inherit; font-size: 14px; color: var(--ink); background: #fff; transition: box-shadow .15s; }
.dir .ft-field::placeholder { color: #9AA3B0; }
.dir .ft-field:hover { box-shadow: inset 0 0 0 1px var(--blue); }
.dir textarea.ft-field { resize: vertical; min-height: 96px; }
.dir .form .flbl { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; display: block; }
.dir .form .btn { width: 100%; justify-content: center; margin-top: 18px; }
.dir .form .fnote { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }
.dir .ft-field.is-err { box-shadow: inset 0 0 0 1.5px #D64545; background: #FEF5F5; }
.dir .form-done { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 360px; }
.dir .form-done h3 { font-size: 22px; }
.dir .form-done p { color: var(--muted); font-size: 15px; max-width: 26em; }
.dir .done-mark { width: 64px; height: 64px; border-radius: 50%; background: #E7F6EE; color: #1FAE5A; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }

/* footer */
.dir .ft { background: var(--ink); color: rgba(255,255,255,.66); padding: 64px 0 0; }
.dir .ft .top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.dir .ft h4 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.dir .ft .fcol p { font-size: 14px; line-height: 1.7; }
.dir .ft .fcol a { display: block; font-size: 14px; padding: 5px 0; transition: color .15s; }
.dir .ft .fcol a:hover { color: #fff; }
.dir .ft .fdesc { font-size: 14px; line-height: 1.7; margin-top: 18px; max-width: 30em; }
.dir .ft .bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 12.5px; flex-wrap: wrap; gap: 12px; }
.dir .ft .bottom .mono { color: rgba(255,255,255,.5); }

/* responsive */
@media (max-width: 1000px) {
  .dir .nav { display: none; }
  .dir .hero .wrap, .dir .why .wrap, .dir .quote .wrap { grid-template-columns: 1fr; gap: 40px; }
  .dir .pgrid { grid-template-columns: repeat(2, 1fr); }
  .dir .sgrid, .dir .igrid, .dir .statrow { grid-template-columns: repeat(2, 1fr); }
  .dir .scell { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); padding: 24px 0; }
  .dir .ft .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .dir .pgrid, .dir .sgrid, .dir .igrid, .dir .statrow, .dir .form .fgrid, .dir .ft .top { grid-template-columns: 1fr; }
  .dir .util .u-left { display: none; }
  .dir .wrap { padding: 0 20px; }
}
