/* Sai Agro Tel — redesign design system
   Palette: forest/teal, graphite, warm white; leaf green taken from the existing logo (#97c00b). */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-var-latin.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: optional;
}

:root {
  --forest-950: #0b2420;
  --forest-900: #10322c;
  --forest-800: #164238;
  --forest-700: #1e5747;
  --teal-700: #0b6b5d;
  --teal-800: #085246;
  --teal-100: #dcefe9;
  --teal-50: #eef7f3;
  --leaf: #97c00b;
  --leaf-soft: #e9f3c7;
  --ink: #1c2226;
  --ink-2: #3b454b;
  --ink-3: #424c53;
  --paper: #faf8f3;
  --paper-2: #f3efe6;
  --white: #ffffff;
  --line: #e2dccf;
  --line-strong: #cfc7b6;
  --danger: #b3261e;
  --danger-bg: #fdf0ee;
  --success: #17603f;
  --success-bg: #e8f4ec;
  --focus: #0b2420;

  --font: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --max: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --space-section: clamp(3.5rem, 7vw, 6rem);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-1: 0 1px 2px rgb(16 50 44 / .06), 0 2px 8px rgb(16 50 44 / .05);
  --shadow-2: 0 2px 4px rgb(16 50 44 / .06), 0 12px 32px rgb(16 50 44 / .10);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font);
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--teal-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-800); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.on-dark :focus-visible, .section--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--leaf); }
p, ul, ol, dl, figure { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: .35rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
strong { font-weight: 600; }

.visually-hidden {
  position: absolute !important; 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: 1rem; top: -100px; z-index: 100;
  background: var(--forest-950); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: .75rem; color: #fff; outline-color: var(--leaf); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0 0 .75rem; line-height: 1.15; letter-spacing: -.012em; color: var(--ink); font-weight: 650; }
h1 { font-size: clamp(2.05rem, 1.35rem + 2.9vw, 3.45rem); font-weight: 680; letter-spacing: -.02em; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.6vw, 2.45rem); }
h3 { font-size: clamp(1.18rem, 1.08rem + .45vw, 1.4rem); line-height: 1.25; }
h4 { font-size: 1.05rem; line-height: 1.3; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.section--dark .lede { color: #cfdcd6; }
.muted { color: var(--ink-3); }
.small { font-size: .95rem; }
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; max-width: 100%;
  font: 500 .8rem/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase;
  color: var(--teal-800); margin: 0 0 .9rem;
}
.eyebrow::before { content: ""; width: .55rem; height: .55rem; background: var(--leaf); border-radius: 1px; flex: none; }
.section--dark .eyebrow, .on-dark .eyebrow { color: #b9d77a; }
.section-head { max-width: 760px; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; max-width: none; }
.section-head--split > div { max-width: 720px; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--dark { background: var(--forest-950); color: #dbe6e1; }
.section--line { border-top: 1px solid var(--line); }
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.25fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.25fr; }
  .split--center { align-items: center; }
}
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.25rem; border-radius: var(--radius-sm);
  font: 600 1rem/1.2 var(--font); text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal-700); color: #fff; }
.btn--primary:hover { background: var(--teal-800); color: #fff; }
.btn--secondary { background: transparent; color: var(--forest-900); border-color: var(--forest-900); }
.btn--secondary:hover { background: var(--forest-900); color: #fff; }
.btn--light { background: #fff; color: var(--forest-950); }
.btn--light:hover { background: var(--leaf-soft); color: var(--forest-950); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .55); }
.btn--ghost-light:hover { background: rgb(255 255 255 / .1); color: #fff; border-color: #fff; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none;
  min-height: 44px;
}
.link-arrow svg { width: 1rem; height: 1rem; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; }
.section--dark .link-arrow, .on-dark .link-arrow { color: #cde68a; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgb(16 50 44 / .08); }
.header-inner { display: flex; align-items: center; gap: .75rem; min-height: var(--header-h); min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); flex: 1 1 auto; min-width: 0; min-height: 48px; }
.brand img { width: 80px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; color: var(--forest-950); }
.brand-sub { font: 500 .66rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: .2rem; }
.brand:hover .brand-name { color: var(--teal-700); }

.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.nav-list > li { position: relative; margin: 0; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .6rem; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .97rem; white-space: nowrap;
}
.nav-link:hover { background: var(--teal-50); color: var(--teal-800); text-decoration: none; }
.nav-link[aria-current="page"], .nav-list > li.is-current > .nav-link { color: var(--teal-700); box-shadow: inset 0 -2px 0 var(--leaf); border-radius: 0; }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 44px; margin-left: 0; margin-right: 0;
  background: none; border: 0; border-radius: var(--radius-sm); color: var(--ink-2); cursor: pointer; padding: 0;
}
.sub-toggle:hover { background: var(--teal-50); color: var(--teal-800); }
.sub-toggle svg { width: 16px; height: 16px; transition: transform .15s ease; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; z-index: 60;
  list-style: none; margin: 0; padding: .5rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-2); display: none;
}
.submenu.is-open { display: block; }
.submenu li { margin: 0; }
.submenu a {
  display: flex; flex-direction: column; padding: .6rem .75rem; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.3;
}
.submenu a span { font-weight: 400; font-size: .83rem; color: var(--ink-3); margin-top: .15rem; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--teal-50); color: var(--teal-800); }
.submenu .submenu-all { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .35rem; }

.header-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .35rem .5rem;
  color: var(--forest-900); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; border-radius: var(--radius-sm);
}
.header-phone svg { width: 18px; height: 18px; color: var(--teal-700); }
.header-phone:hover { background: var(--teal-50); text-decoration: none; }
.header-cta { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; }
.menu-toggle {
  display: none; align-items: center; gap: .4rem; min-height: 44px; min-width: 44px; padding: .4rem .7rem;
  background: var(--forest-950); color: #fff; border: 0; border-radius: var(--radius-sm); font: 600 .95rem var(--font); cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }
.header-call-icon { display: none; }

.brand-sub { display: none; }
@media (min-width: 1400px) { .site-header .container { width: min(100% - 2 * var(--gutter), 1320px); } }
@media (max-width: 1399px) {
  .header-phone .phone-text { display: none; }
}
@media (max-width: 1199px) {
  /* compact desktop: logo doubles as Home, phone stays in footer/menu */
  .nav-list > li:first-child, .header-phone { display: none; }
  .nav-link { padding: .4rem .45rem; font-size: .93rem; }
  .header-inner { gap: .75rem; }
}
@media (max-width: 1023px) {
  .nav, .header-cta, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-call-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--teal-700);
  }
  .header-call-icon svg { width: 20px; height: 20px; }
  .header-actions { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
}
@media (max-width: 520px) {
  .brand img { width: 56px; }
  .brand-name { font-size: .98rem; }
  .header-actions { gap: .35rem; }
  .menu-toggle { padding: .45rem; gap: 0; }
  /* keep the accessible name: hide the word visually, not from assistive tech */
  .menu-toggle .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--paper);
  overflow-y: auto; overscroll-behavior: contain; padding: 1rem var(--gutter) 2rem;
  border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { margin: 0; }
.mobile-menu .m-primary > li { border-bottom: 1px solid var(--line); }
.mobile-menu .m-primary > li > a { display: flex; align-items: center; min-height: 52px; font-weight: 650; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.mobile-menu .m-sub { padding: 0 0 .6rem .9rem; border-left: 2px solid var(--leaf); margin: -.2rem 0 .6rem .1rem; }
.mobile-menu .m-sub a { display: flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.mobile-menu a[aria-current="page"] { color: var(--teal-700); }
.mobile-menu .m-contact { margin-top: 1.5rem; display: grid; gap: .75rem; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--paper);
  background-image:
    linear-gradient(rgb(16 50 44 / .045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(16 50 44 / .045) 1px, transparent 1px);
  background-size: 32px 32px;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(transparent, var(--paper)); pointer-events: none;
}
.hero-inner, .hero-inner > *, .page-hero .split > * { min-width: 0; }
.hero h1, .hero .lede, .page-hero h1, .page-hero .lede { overflow-wrap: break-word; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 5vw, 3.5rem); padding-block: clamp(2rem, 4vw, 3.25rem) clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1.2fr .8fr; } }
.hero > .container { position: relative; z-index: 1; padding-block: clamp(2rem, 4vw, 3.25rem) clamp(2.5rem, 5vw, 4rem); }
.hero h1 { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.75rem); max-width: 22ch; }
.hero .pathways { margin-top: .5rem; }
@media (max-width: 480px) { .hero .btn-row .btn { width: 100%; } }
.hero .lede { margin-bottom: 1.75rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.hero-proof li { margin: 0; }
.hero-proof a { display: inline-flex; align-items: center; min-height: 44px; font: 500 .8rem/1 var(--mono); letter-spacing: .03em; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: .45rem .7rem; border-radius: 999px; text-decoration: none; }
.hero-proof a:hover { border-color: var(--teal-700); color: var(--teal-800); text-decoration: none; }
.leave-with { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.15rem 0 0; padding: 0; list-style: none; }
.leave-with li { margin: 0; font: 500 .78rem/1.3 var(--mono); letter-spacing: .03em; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: .45rem .65rem; border-radius: 999px; }
.proof-figure { margin: 0; background: #fff; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.proof-figure img { width: auto; max-width: 100%; height: auto; max-height: 440px; display: block; object-fit: contain; }
.proof-figure figcaption { padding: .85rem 1rem 1rem; font-size: .88rem; color: var(--ink-3); align-self: stretch; }

/* System stack diagram */
.stack-diagram {
  margin: 0; position: relative; color: #dbe6e1; background: var(--forest-950);
  border-radius: 14px; padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow-2);
  background-image:
    radial-gradient(circle at 85% 10%, rgb(151 192 11 / .14), transparent 45%),
    linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
}
.stack-diagram figcaption { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; font: 500 .74rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #9fb8ae; }
.stack-diagram figcaption strong { color: #fff; font-weight: 500; }
.stack-layers { list-style: none; margin: 0; padding: 0 0 0 1.75rem; position: relative; }
.stack-layers::before { content: ""; position: absolute; left: .45rem; top: .9rem; bottom: .9rem; width: 2px; background: linear-gradient(var(--leaf), #2f8f78); border-radius: 2px; }
.stack-layers::after {
  content: ""; position: absolute; left: calc(.45rem - 3px); top: .9rem; width: 8px; height: 8px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgb(151 192 11 / .35); animation: pulse-down 5s ease-in-out infinite;
}
@keyframes pulse-down { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(var(--travel, 300px)); opacity: 0; } }
.stack-layers li { position: relative; margin: 0; padding: .7rem .85rem; border: 1px solid rgb(255 255 255 / .12); border-radius: 8px; background: rgb(255 255 255 / .04); }
.stack-layers li + li { margin-top: .55rem; }
.stack-layers li::before { content: ""; position: absolute; left: calc(-1.75rem + .45rem - 5px); top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--forest-950); border: 2px solid var(--leaf); }
.layer-tag { display: block; font: 500 .7rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #b9d77a; }
.layer-title { display: block; font-weight: 600; color: #fff; font-size: 1rem; margin-top: .15rem; }
.layer-detail { display: block; font-size: .86rem; color: #a9c1b7; margin-top: .1rem; }
@media (max-width: 600px) {
  .layer-detail { display: none; }
  .stack-layers li { padding: .55rem .75rem; }
}
.stack-note { margin: 1rem 0 0; font-size: .86rem; color: #a9c1b7; display: flex; gap: .5rem; align-items: center; }
.stack-note svg { width: 16px; height: 16px; color: var(--leaf); flex: none; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem); box-shadow: var(--shadow-1);
}
.card h3 { margin-bottom: .5rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card--link { transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.card--link:hover { border-color: var(--teal-700); box-shadow: var(--shadow-2); }
.card--link:focus-within { border-color: var(--teal-700); }
.card .stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; margin-bottom: 1rem; border: 1px solid var(--teal-100); }
.card-icon svg { width: 26px; height: 26px; }
.card-foot { margin-top: auto; padding-top: .75rem; }
.card--flex { display: flex; flex-direction: column; }
.card--muted { background: var(--paper-2); box-shadow: none; }
.card--dark { background: var(--forest-900); border-color: var(--forest-800); color: #dbe6e1; }
.card--dark h3 { color: #fff; }

.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1rem; height: 1rem; border-radius: 3px;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230b6b5d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  border: 1px solid var(--teal-100);
}
.section--dark .ticks li::before, .on-dark .ticks li::before, .card--dark .ticks li::before {
  background-color: rgb(151 192 11 / .15); border-color: rgb(151 192 11 / .35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23c4e05a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ticks--compact li + li { margin-top: .2rem; }
.dash-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.dash-list li { padding-left: 1.1rem; position: relative; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: .55rem; height: 2px; background: var(--leaf); }

/* Pathway cards */
.pathways { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); }
@media (min-width: 900px) { .pathways { grid-template-columns: 1fr 1fr; } }
.pathway { display: flex; flex-direction: column; border-radius: 14px; padding: clamp(1.5rem, 3.5vw, 2.5rem); border: 1px solid var(--line); }
.pathway h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); margin-bottom: .6rem; }
.pathway--eng { background: var(--forest-950); color: #dbe6e1; border-color: var(--forest-900);
  background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px);
  background-size: 24px 24px; }
.pathway--eng h2 { color: #fff; }
.pathway--prod { background: #fff; }
.pathway .btn-row { margin-top: auto; padding-top: 1.25rem; }
.pathway-products { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: .5rem 0 1.5rem; }
.mini-product { display: flex; flex-direction: column; gap: .6rem; align-items: stretch; padding: .75rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); text-decoration: none; color: var(--ink); min-height: 76px; }
.mini-product img { width: 100%; height: 96px; object-fit: contain; background: #fff; border-radius: 6px; border: 1px solid var(--line); flex: none; }
.mini-product strong { display: block; font-size: 1rem; }
.mini-product span { display: block; font-size: .82rem; color: var(--ink-3); line-height: 1.35; }
.mini-product:hover { border-color: var(--teal-700); text-decoration: none; }
@media (max-width: 480px) { .pathway-products { grid-template-columns: 1fr; } }

/* Capability cards */
.cap-grid { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.cap-card { display: flex; flex-direction: column; }
.cap-card .dash-list { font-size: .96rem; color: var(--ink-2); }
.cap-card--cta { background: var(--teal-50); border-color: var(--teal-100); box-shadow: none; }

/* Product cards */
.product-card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; overflow: hidden; padding: 0; }
.product-card .product-media { background: #fff; border-bottom: 1px solid var(--line); height: clamp(220px, 26vw, 320px); display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.product-card .product-media img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.product-card .product-body { padding: clamp(1.25rem, 2.5vw, 1.75rem); display: flex; flex-direction: column; }
.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.tag { font: 500 .72rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: .4rem .55rem; border-radius: 4px; background: var(--teal-50); color: var(--teal-800); border: 1px solid var(--teal-100); }
.tag--leaf { background: var(--leaf-soft); color: #3d5200; border-color: #d6e89a; }

/* Evidence / timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid rgb(151 192 11 / .5); }
.timeline li { position: relative; padding: 0 0 1.5rem 1.5rem; margin: 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--forest-950); border: 2px solid var(--leaf); }
.timeline .when { display: block; font: 500 .8rem/1.2 var(--mono); letter-spacing: .08em; color: #b9d77a; text-transform: uppercase; margin-bottom: .25rem; }
.timeline strong { color: #fff; display: block; font-size: 1.05rem; }
.timeline p { margin: .25rem 0 0; color: #b8cbc3; font-size: .97rem; }
.proof-list { display: grid; gap: .75rem; list-style: none; padding: 0; margin: 0; }
.proof-list li { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .25rem .85rem; padding: .9rem 1rem; border: 1px solid rgb(255 255 255 / .12); border-radius: 8px; background: rgb(255 255 255 / .04); }
.proof-list svg { width: 22px; height: 22px; color: var(--leaf); grid-row: span 2; margin-top: .1rem; }
.proof-list strong { color: #fff; font-weight: 600; }
.proof-list span { color: #a9c1b7; font-size: .9rem; }

/* Process steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 1024px) { .steps--row { grid-template-columns: repeat(5, 1fr); } }
.step { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; counter-increment: step; display: flex; flex-direction: column; }
.step::before { content: counter(step, decimal-leading-zero); font: 500 .8rem/1 var(--mono); color: var(--teal-700); letter-spacing: .06em; display: block; margin-bottom: .6rem; }
.step h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.step p { font-size: 1rem; color: var(--ink-2); }
@media (min-width: 1024px) { .steps--row .checkpoint { min-height: 5.2rem; } }
.step .checkpoint { margin-top: auto; padding-top: .75rem; border-top: 1px dashed var(--line-strong); font-size: .86rem; color: var(--ink-2); }
.step .checkpoint b { display: block; font: 500 .7rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); margin-bottom: .15rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem .25rem; font-weight: 600; font-size: 1.06rem; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%230b6b5d' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal-800); }
.faq .faq-a { padding: 0 .25rem 1.15rem; color: var(--ink-2); max-width: 72ch; }
.faq .faq-a p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 2.5rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem);
  background-image: linear-gradient(rgb(16 50 44 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(16 50 44 / .04) 1px, transparent 1px);
  background-size: 32px 32px; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { margin-bottom: 1.5rem; }
.page-hero--product .split { align-items: center; }
.breadcrumbs { margin-bottom: 1.5rem; font-size: .9rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: .5rem; color: var(--ink-3); }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a { color: var(--ink-2); display: inline-flex; min-height: 24px; align-items: center; }
@media (pointer: coarse), (max-width: 767px) { .breadcrumbs a { min-height: 44px; } .breadcrumbs { margin-bottom: 1rem; } }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.facts div { padding: .85rem 1rem; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); margin-right: -1px; margin-bottom: -1px; }
.facts dt { font: 500 .7rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: .2rem 0 0; font-weight: 600; font-size: .98rem; }

.product-figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow-1); }
.product-figure img { margin-inline: auto; max-height: 460px; width: auto; }
.product-figure figcaption { margin-top: 1rem; font-size: .88rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: .75rem; }

/* Content blocks on service/product pages */
.block-grid { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.callout { border: 1px solid var(--teal-100); background: var(--teal-50); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.callout--leaf { background: var(--leaf-soft); border-color: #d6e89a; }
.callout p:last-child { margin-bottom: 0; }
.callout h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.note { font-size: .9rem; color: var(--ink-3); }

.compare-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; font-size: .97rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--forest-950); color: #fff; font-size: 1.05rem; }
.compare thead th:first-child { color: #b9d77a; font: 500 .75rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.compare tbody th { font: 500 .76rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); width: 24%; background: var(--paper); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .ask { color: var(--ink-3); font-style: italic; }
@media (max-width: 699px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border-bottom: 1px solid var(--line); }
  .compare tbody th { border-bottom: 0; padding-bottom: .25rem; width: 100%; }  /* beats the desktop 24% column */
  .compare td { border-bottom: 0; padding-top: .35rem; padding-bottom: .35rem; }
  .compare td::before { content: attr(data-label) ": "; font-weight: 650; color: var(--forest-900); }
  .compare tr td:last-child { padding-bottom: .9rem; }
}

.checklist { counter-reset: chk; list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checklist li { counter-increment: chk; margin: 0; display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; align-items: start; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.checklist li::before { content: counter(chk); width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--forest-950); color: #fff; font: 500 .85rem var(--mono); }
.checklist strong { display: block; }

.team-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 320px)); }
.team-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-card img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 25%; }
.team-card figcaption { padding: 1rem 1.15rem 1.15rem; }
.team-card strong { display: block; font-size: 1.08rem; }
.team-card span { font: 500 .78rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); }

.address-card address { font-style: normal; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.contact-list li { margin: 0; }
.contact-list a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--forest-900); }
.contact-list a:hover { text-decoration: underline; }
.contact-list svg { width: 18px; height: 18px; color: var(--teal-700); flex: none; }

/* ---------- Enquiry forms ---------- */
.enquiry-shell { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 1024px) { .enquiry-shell { grid-template-columns: 1.55fr 1fr; align-items: start; } }
.enquiry-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.25rem, 3.5vw, 2.25rem); box-shadow: var(--shadow-1); }
.switcher { border: 0; padding: 0; margin: 0 0 1.5rem; }
.switcher legend { font-weight: 650; margin-bottom: .6rem; padding: 0; font-size: 1rem; }
.switcher-options { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .35rem; background: var(--paper-2); border-radius: 10px; border: 1px solid var(--line); }
.switcher-options label {
  position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: .55rem .85rem; border-radius: 7px;
  cursor: pointer; font-weight: 600; line-height: 1.25; color: var(--ink-2);
}
.switcher-options label small { font-weight: 400; font-size: .8rem; color: var(--ink-3); }
.switcher-options input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switcher-options label:has(input:checked) { background: #fff; color: var(--forest-950); box-shadow: var(--shadow-1); outline: 2px solid var(--teal-700); }
.switcher-options label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 480px) { .switcher-options { grid-template-columns: 1fr; } }

.form-grid { display: grid; gap: 1.1rem 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field .req { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
.field .hint { font-size: .84rem; color: var(--ink-3); line-height: 1.45; margin: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .65rem .8rem; font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid #a99f8c; border-radius: var(--radius-sm);
}
.field textarea { min-height: 132px; resize: vertical; }
.field select { appearance: none; padding-right: 2.5rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231c2226' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .8rem center/14px no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--forest-800); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 0; border-color: var(--teal-700); }
.field [aria-invalid="true"] { border-color: var(--danger); background: var(--danger-bg); }
.field-error { display: none; color: var(--danger); font-size: .87rem; font-weight: 600; margin: 0; align-items: flex-start; gap: .35rem; }
.field-error.is-visible { display: flex; }
.field-error svg { width: 16px; height: 16px; flex: none; margin-top: .12rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.form-foot .note { margin: 0; max-width: 46ch; }
.form-summary { display: none; border: 1.5px solid var(--danger); background: var(--danger-bg); border-radius: var(--radius-sm); padding: .9rem 1rem; margin-bottom: 1.25rem; }
.form-summary.is-visible { display: block; }
.form-summary h3 { font-size: 1rem; color: var(--danger); margin: 0 0 .4rem; }
.form-summary ul { margin: 0; padding-left: 1.1rem; }
.form-summary a { color: var(--danger); font-weight: 600; }
.form-status { margin-top: 1rem; }
.form-status:empty { display: none; }
.status-box { border-radius: var(--radius-sm); padding: 1rem 1.1rem; display: flex; gap: .75rem; align-items: flex-start; }
.status-box svg { width: 22px; height: 22px; flex: none; margin-top: .1rem; }
.status-box p { margin: 0; }
.status-box p + p { margin-top: .35rem; }
.status-box--error { background: var(--danger-bg); border: 1.5px solid var(--danger); color: #5c140f; }
.status-box--error svg { color: var(--danger); }
.status-box--success { background: var(--success-bg); border: 1.5px solid var(--success); color: #0f3b27; }
.status-box--success svg { color: var(--success); }
.status-box--success h3 { margin: 0 0 .3rem; font-size: 1.15rem; color: #0f3b27; }
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-busy .btn .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
form[hidden], .enquiry-form[hidden] { display: none; }
/* Works without JavaScript: the checked enquiry type decides which form is shown */
[data-enquiry]:has(input[value="engineering"]:checked) form[data-type="product"],
[data-enquiry]:has(input[value="product"]:checked) form[data-type="engineering"] { display: none; }
.form-fields[hidden] { display: none; }

.direct-contact { display: grid; gap: 1rem; }
.direct-contact .card h3 { font-size: 1.05rem; margin-bottom: .35rem; }

/* ---------- Insights ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .9rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink-2); font: 600 .9rem var(--font); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--teal-700); color: var(--teal-800); text-decoration: none; }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--forest-950); border-color: var(--forest-950); color: #fff; }
.post-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.post-card { display: flex; flex-direction: column; }
.post-card h2, .post-card h3 { font-size: 1.18rem; line-height: 1.3; margin-bottom: .5rem; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--teal-700); text-decoration: underline; }
.post-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font: 500 .76rem/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .75rem; }
.post-card p { font-size: .96rem; color: var(--ink-2); }
.post-card .card-foot { margin-top: auto; }
.post-card[hidden] { display: none; }

.article-head { padding-block: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); background: var(--paper); }
.article-head h1 { font-size: clamp(1.9rem, 1.3rem + 2.3vw, 2.9rem); max-width: 24ch; }
.article-body { font-size: 1.08rem; line-height: 1.75; }
.article-body h2, .article-body h3, .article-body h4 { margin-top: 2.2rem; }
.article-body h2 { font-size: 1.6rem; }
.article-body h3 { font-size: 1.3rem; }
.article-body h4 { font-size: 1.12rem; }
.article-body p, .article-body li { color: #2a3237; }
.article-body ul, .article-body ol { margin-bottom: 1.25rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; }
.article-aside { margin-top: 3rem; }

/* ---------- Notices ---------- */
.draft-banner { background: #fff4d6; border-bottom: 1px solid #e8cf86; color: #4d3800; }
.draft-banner .container { padding-block: .9rem; display: flex; gap: .75rem; align-items: flex-start; }
.draft-banner svg { width: 22px; height: 22px; flex: none; color: #8a6100; margin-top: .1rem; }
.draft-banner p { margin: 0; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest-950); color: #dbe6e1; border-radius: 14px; padding: clamp(1.75rem, 4vw, 3rem); display: grid; gap: 1.5rem; align-items: center;
  background-image: radial-gradient(circle at 100% 0%, rgb(151 192 11 / .18), transparent 40%); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: #fff; font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); margin-bottom: .5rem; }
.cta-band p { margin: 0; color: #c2d4cc; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-950); color: #c2d4cc; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .96rem; }
.site-footer a { color: #e6efe9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
@media (min-width: 1200px) { .footer-grid { grid-template-columns: 1.35fr 1fr 1fr 1fr 1.35fr; } }
.footer-brand img { width: 112px; background: #fff; border-radius: 50%; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.footer-title { font: 500 .76rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #b9d77a; margin: 0 0 .9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-contact address { font-style: normal; line-height: 1.55; margin-bottom: 1rem; }
.footer-contact address b { display: block; color: #fff; font-weight: 600; margin-bottom: .15rem; }
.footer-contact .contact-list a { color: #fff; min-height: 36px; }
.footer-contact .contact-list svg { color: var(--leaf); }
.footer-bottom { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid rgb(255 255 255 / .12); padding-block: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; font-size: .88rem; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 32px; gap: .4rem; }
.footer-bottom svg { width: 16px; height: 16px; }
@media (max-width: 767px) {
  /* comfortable touch targets for stacked footer links */
  .footer-links a, .footer-contact .contact-list a, .footer-bottom a { min-height: 44px; }
}

/* ---------- Error page ---------- */
.error-page { text-align: center; padding-block: clamp(4rem, 10vw, 7rem); }
.error-page .code { font: 500 .9rem var(--mono); letter-spacing: .1em; color: var(--teal-700); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .stack-layers::after { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-menu, .site-footer, .enquiry-section, .skip-link { display: none !important; }
  body { background: #fff; }
  .section--dark, .pathway--eng, .stack-diagram { background: #fff !important; color: #000 !important; }
}

/* Audit round: diagrams inside content columns, spec tables, sticky side column */
.stack-diagram--inline { margin-top: 2rem; }
.stack-diagram--inline figcaption span { text-transform: none; letter-spacing: .02em; }
.sticky-side { align-self: start; }
@media (min-width: 960px) { .sticky-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.compare--spec tbody th { width: 34%; text-transform: none; letter-spacing: 0; font: 600 .95rem/1.4 var(--font); color: var(--ink); }
.compare--spec .ask { font-style: normal; color: #7a4b00; font-weight: 500; }
.compare--spec .ask::before { content: "● "; color: #c88a1a; }
@media (max-width: 699px) { .compare--spec tbody th { width: auto; } .compare--spec td::before { content: none; } }

/* Audit round 2 */
@media (min-width: 640px) and (max-width: 959px) { .cap-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.facts--tight { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.hero-products { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hero-product { display: flex; flex-direction: column; gap: .35rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-1); text-decoration: none; color: var(--ink); }
.hero-product img { width: 100%; height: 150px; object-fit: contain; }
.hero-product strong { font-size: 1.1rem; }
.hero-product span { font-size: .9rem; color: var(--ink-3); line-height: 1.4; }
.hero-product:hover { border-color: var(--teal-700); text-decoration: none; }
@media (max-width: 479px) { .hero-products { grid-template-columns: 1fr; } .hero-product img { height: 120px; } }
/* product pages: show the product image before the long fact list on small screens */
@media (max-width: 959px) { .page-hero--product .split > div:last-child { order: -1; } .page-hero--product .product-figure img { max-height: 280px; } }

/* ---------- Illustrative animations (all stop under prefers-reduced-motion via the global rule) ---------- */
.anim-figure { margin: 1.5rem 0 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1rem .75rem; box-shadow: var(--shadow-1); }
.anim-figure svg { width: 100%; height: auto; display: block; }
.anim-figure figcaption { font-size: .88rem; color: var(--ink-3); border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .6rem; }
.anim-figure .outline { fill: none; stroke: var(--forest-800); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.anim-figure .outline-fill { fill: var(--forest-800); }
.anim-figure .screen { fill: var(--teal-50); stroke: var(--teal-700); stroke-width: 1.5; }
.anim-figure .box { fill: var(--forest-950); stroke: var(--forest-800); stroke-width: 2; }
.anim-figure .valve { fill: var(--leaf-soft); stroke: var(--forest-800); stroke-width: 2; }
.anim-figure .trace { stroke: var(--teal-700); stroke-width: 2; fill: none; }
.anim-figure .pipe { fill: none; stroke: var(--line-strong); stroke-width: 10; stroke-linecap: round; }
.anim-figure .pipe-flow { fill: none; stroke: #4aa6d8; stroke-width: 4; stroke-linecap: round; }
.anim-figure .ground { fill: var(--line-strong); }
.anim-figure .wave { fill: none; stroke: var(--teal-700); stroke-width: 2.5; stroke-linecap: round; }
.anim-figure .led { fill: var(--leaf); }
.anim-figure .blade { stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.anim-figure .anim-drip { fill: #4aa6d8; }
.anim-figure .lbl { font: 600 15px var(--font); fill: var(--ink-2); }
.anim-figure .lbl-on-dark { font: 600 15px var(--font); fill: #fff; }
.hero-art { display: none; }
@media (min-width: 960px) { .hero-art { display: block; } .hero-art svg { width: 100%; max-width: 520px; height: auto; margin-inline: auto; display: block; } }
.hero-art .ctrace { fill: none; stroke: var(--line-strong); stroke-width: 3; stroke-linejoin: round; }
.hero-art .ctrace-flow { fill: none; stroke: var(--teal-700); stroke-width: 3; stroke-linejoin: round; }
.hero-art .chip { fill: var(--forest-950); stroke: var(--forest-800); stroke-width: 2; }
.hero-art .chip-mark { fill: var(--leaf); }
.hero-art .pin { stroke: var(--forest-800); stroke-width: 3; }
.hero-art .pad { fill: #fff; stroke: var(--forest-800); stroke-width: 2.5; }
.hero-art .pad-pulse { fill: var(--leaf); }
.anim-flow { stroke-dasharray: 7 9; animation: sat-flow 1.1s linear infinite; }
.anim-wave { animation: sat-wave 2.2s ease-out infinite; }
.anim-blink { animation: sat-blink 1.4s steps(1, end) infinite; }
.anim-spin { transform-box: fill-box; transform-origin: center; animation: sat-spin 2.6s linear infinite; }
.anim-drip { opacity: 0; animation: sat-drip 1.8s ease-in infinite; }
@keyframes sat-flow { to { stroke-dashoffset: -32; } }
@keyframes sat-wave { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sat-blink { 50% { opacity: .2; } }
@keyframes sat-spin { to { transform: rotate(360deg); } }
@keyframes sat-drip { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(44px); opacity: 0; } }
/* scroll reveal: only added by JS to blocks below the fold */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease var(--reveal-delay, 0ms), transform .55s ease var(--reveal-delay, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } .anim-drip { opacity: 1; } .anim-wave { opacity: .8; } }

/* Real engineering photographs */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; align-items: start; }
.work-fig { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-1); }
.work-fig img { width: 100%; height: 220px; object-fit: cover; display: block; background: var(--teal-50); }
.work-fig figcaption { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .85rem .85rem; font-size: .92rem; }
.work-fig figcaption span { color: var(--ink-3); font-size: .88rem; line-height: 1.4; }

/* Embedded design project cards */
.design-case { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.design-case figure { margin: 0; background: #0f1e3b; border-radius: 10px; padding: .75rem; display: flex; justify-content: center; }
.design-case figure img { max-width: 100%; height: auto; display: block; }
.design-case--wide { grid-template-columns: 1fr; }
.design-case--wide figure { order: 2; }
@media (max-width: 719px) { .design-case { grid-template-columns: 1fr; } }

/* ---------- Review-loop refinements (4 Nov 2026) ---------- */
/* Headings break into balanced lines instead of leaving one word on the last line. */
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

/* Home hero: headline beside real work photos (photos have a solid #0f1e3b background, so trays match it). */
.hero-top { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.hero-top .lede { margin-bottom: 0; }
.hero-work { display: none; }
@media (min-width: 1024px) {
  .hero-top { grid-template-columns: 1.1fr .9fr; }
  .hero-work { display: block; }
}
.hero-work-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.work-tile { margin: 0; background: #0f1e3b; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.work-tile img { width: 100%; height: 170px; object-fit: contain; padding: .6rem .5rem .2rem; display: block; }
.work-tile figcaption { font-size: .76rem; line-height: 1.3; color: #d3dcec; padding: .45rem .6rem .6rem; }
.hero-work p { margin: .65rem 0 0; font-size: .85rem; color: var(--ink-3); }

.photo-tray { background: #0f1e3b; border-radius: 10px; display: flex; justify-content: center; align-items: center; padding: clamp(1rem, 3vw, 1.75rem); }
.photo-tray img { max-width: 100%; height: auto; display: block; }
.proof-figure { background: none; align-items: stretch; }
.proof-figure .photo-tray { border: 1px solid rgb(255 255 255 / .12); min-height: 300px; }
.proof-figure figcaption { color: #a9bdb4; padding: .75rem 0 0; }
.product-figure .photo-tray img { max-height: 420px; width: auto; }

/* Service pages: work photos get their own full-width row on the photo colour. */
.section-work { margin-top: clamp(2rem, 4vw, 3rem); }
.section-work .work-gallery { margin-top: 0 !important; }
.work-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: stretch; }  /* fill the row */
.work-fig { display: flex; flex-direction: column; }
.work-fig img { object-fit: contain; background: #0f1e3b; padding: .6rem; }
.work-fig figcaption { flex: 1; }

.link-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .5rem; }
.link-list li { margin: 0; }

/* Products hero: a decision aid instead of repeating the product photos shown just below. */
.quick-pick { display: grid; gap: .6rem; }
.quick-pick-title { margin: 0 0 .1rem; font: 600 .78rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-800); }
.quick-pick-item { position: relative; display: grid; gap: .1rem; padding: .9rem 2.75rem .9rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1); }
.quick-pick-item:hover { border-color: var(--teal-700); text-decoration: none; }
.quick-pick-item strong { font-size: 1.08rem; }
.quick-pick-item > span:last-of-type { font-size: .88rem; color: var(--ink-3); }
.quick-pick-need { font-size: .8rem; color: var(--teal-800); font-weight: 500; }
.quick-pick-item svg { position: absolute; right: 1rem; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--teal-700); }
.quick-pick-item--alt { background: var(--teal-50); }

/* Contact: what happens after sending. */
.next-steps h3 { font-size: 1.15rem; margin-bottom: .75rem; }

/* Mobile: show only the parent level as a back link, so the trail never wraps with a stray separator. */
@media (max-width: 600px) {
  .breadcrumbs li { display: none; }
  .breadcrumbs li:nth-last-child(2) { display: flex; }
  .breadcrumbs li:nth-last-child(2)::before { content: "‹"; font-size: 1.15em; color: var(--ink-3); }
}

/* Mobile: product shortcuts side by side keep the home page shorter. */
@media (max-width: 480px) {
  .pathway-products { grid-template-columns: 1fr 1fr; }
  .mini-product img { height: 72px; }
}

/* Footer: wider service column so names wrap less; logo on a neat white badge. */
@media (min-width: 1200px) { .footer-grid { grid-template-columns: 1.15fr 1.45fr 1fr 1.15fr 1.3fr; } }
.footer-brand img { width: 132px; height: auto; border-radius: 10px; padding: .35rem .6rem; }

/* Review loop, round 2 */
.nowrap { white-space: nowrap; }
/* Eyebrow: keep the marker beside the first line when the label wraps. */
.eyebrow { flex-wrap: nowrap; align-items: flex-start; }
.eyebrow::before { margin-top: .32em; }

/* Tablet: work photos sit under the headline instead of disappearing. */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-work { display: block; }
  .hero-work-tiles { max-width: 560px; }
  .work-tile img { height: 150px; }
}

/* Services hub hero: engagement models. */
.engage-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.1rem, 2.5vw, 1.5rem); box-shadow: var(--shadow-1); }
.engage-panel dl { margin: .5rem 0 0; display: grid; gap: .25rem; }
.engage-panel dl > div { padding: .75rem 0; border-top: 1px solid var(--line); }
.engage-panel dl > div:first-child { border-top: 0; padding-top: .35rem; }
.engage-panel dt { font-weight: 600; color: var(--ink); }
.engage-panel dd { margin: .15rem 0 0; color: var(--ink-3); font-size: .93rem; }

/* About: milestones instead of repeating the CEO photo. */
.milestones { list-style: none; margin: 0; padding: 0 0 0 1.25rem; border-left: 2px solid var(--line); display: grid; gap: 1.35rem; }
.milestones li { position: relative; margin: 0; display: grid; gap: .15rem; }
.milestones li::before { content: ""; position: absolute; left: calc(-1.25rem - 7px); top: .3rem; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--teal-700); }
.milestones li:last-child::before { background: var(--leaf); border-color: var(--leaf); }
.tl-mark { font: 600 .8rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-800); }
.milestones strong { font-size: 1.08rem; color: var(--ink); }
.milestones li > span:last-child { color: var(--ink-3); }

.team-grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 479px) { .team-grid--pair { grid-template-columns: 1fr; } }
.cap-card--cta.card--flex .card-foot { margin-top: auto; }

/* Review loop, round 3 */
.submenu { min-width: 330px; }   /* service names fit on one line */
.pill-links { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-links li { margin: 0; }
.pill-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .95rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 500; text-decoration: none; }
.pill-links a:hover { border-color: var(--teal-700); color: var(--teal-800); text-decoration: none; }
.byline { margin: .75rem 0 0; font-size: .92rem; color: var(--ink-3); }
.jump-panel ol { list-style: none; margin: .5rem 0 0; padding: 0; counter-reset: jump; }
.jump-panel li { margin: 0; counter-increment: jump; border-top: 1px solid var(--line); }
.jump-panel li:first-child { border-top: 0; }
.jump-panel a { display: flex; gap: .75rem; align-items: center; min-height: 44px; padding: .45rem 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.jump-panel a::before { content: counter(jump, decimal-leading-zero); font: 600 .78rem/1 var(--mono); color: var(--teal-700); }
.jump-panel a:hover { color: var(--teal-800); text-decoration: underline; }

/* Round 4: shorter pages on phones, fewer repeated blocks */
@media (max-width: 639px) { .hide-sm { display: none; } }
@media (max-width: 959px) { .faq-side { display: none; } }

/* Home: the five stages as a compact strip; the full detail is on the services page. */
.process-strip .section-head { margin-bottom: 1.25rem; }
.process-strip h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 0; }
.stage-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; counter-reset: stage; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.stage-strip li { margin: 0; counter-increment: stage; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; display: grid; gap: .2rem; align-content: start; }
.stage-strip strong::before { content: counter(stage, decimal-leading-zero); display: block; margin-bottom: .3rem; font: 600 .74rem/1 var(--mono); letter-spacing: .06em; color: var(--teal-700); }
.stage-strip span { font-size: .86rem; color: var(--ink-3); line-height: 1.4; }
@media (max-width: 479px) { .stage-strip { grid-template-columns: 1fr 1fr; } .stage-strip li:last-child { grid-column: 1 / -1; } }

/* Enquiry aside: one card. */
.direct-contact-sub { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* Product form: optional site details. */
.form-more { margin-top: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.form-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .65rem; min-height: 52px; padding: .7rem 1rem; font-weight: 600; }
.form-more summary::-webkit-details-marker { display: none; }
.form-more summary::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%230b6b5d' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform .2s ease;
}
.form-more[open] summary::before { transform: rotate(45deg); }
.form-more summary > span { display: grid; gap: .1rem; }
.form-more summary small { font-weight: 400; font-size: .86rem; line-height: 1.4; color: var(--ink-3); }
.form-more summary:hover { color: var(--teal-800); }
.form-more > .form-grid { padding: .25rem 1rem 1.1rem; }

/* Phones: denser cards and steps, same content. */
@media (max-width: 639px) {
  .cap-grid, .feature-grid { gap: .75rem; }
  .cap-grid .cap-card, .feature-grid .card { display: grid; grid-template-columns: 40px 1fr; column-gap: .9rem; align-items: start; padding: 1rem 1.1rem; }
  .cap-grid .cap-card .card-icon, .feature-grid .card-icon { grid-row: span 3; width: 40px; height: 40px; margin: 0; }
  .cap-grid .cap-card .card-icon svg, .feature-grid .card-icon svg { width: 22px; height: 22px; }
  .cap-grid .cap-card > :not(.card-icon), .feature-grid .card > :not(.card-icon) { grid-column: 2; }
  .cap-grid .cap-card h2, .cap-grid .cap-card h3, .feature-grid h3 { font-size: 1.08rem !important; margin: 0 0 .3rem; }
  .cap-grid .cap-card p, .feature-grid p { margin: 0; font-size: .95rem; }
  .cap-grid .cap-card .dash-list { margin: .5rem 0 0; }
  .cap-grid .cap-card:not(.cap-card--cta) .card-foot { display: none; }
  .steps { gap: 0; }
  .step { border: 0; border-radius: 0; background: none; padding: .2rem 0 1.4rem 2.75rem; }
  .step::before { position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; margin: 0; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1.5px solid var(--teal-100); font-size: .72rem; letter-spacing: 0; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: calc(1rem - 1px); top: 2.15rem; bottom: .15rem; width: 2px; background: var(--teal-100); }
  .step h3 { margin-bottom: .25rem; }
  .step .checkpoint { padding-top: .4rem; margin-top: .5rem; }
  .step .checkpoint b { display: inline; margin-right: .4rem; }
  .post-grid--compact { gap: .75rem; }
  .post-grid--compact .post-card { padding: 1rem 1.1rem; }
  .post-grid--compact .post-card > p, .post-grid--compact .post-card .card-foot { display: none; }
  .post-grid--compact .post-card h3 { margin: .35rem 0 0; }
}
@media (min-width: 900px) { .split > .pathway-products .mini-product img { height: 150px; } .split > .pathway-products .mini-product strong { font-size: 1.08rem; } }

/* Round 5: independent review fixes */
.show-sm { display: none; }
@media (max-width: 639px) { .show-sm.flow-steps { display: grid; } }
.flow-steps { list-style: none; margin: 1.25rem 0 0; padding: 0; gap: .5rem; counter-reset: flow; }
.flow-steps li { margin: 0; counter-increment: flow; display: grid; grid-template-columns: 1.9rem 1fr; column-gap: .75rem; align-items: center; padding: .65rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; }
.flow-steps li::before { content: counter(flow); grid-row: span 2; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--teal-700); font: 600 .78rem/1 var(--mono); }
.flow-steps li span { font-weight: 400; font-size: .9rem; color: var(--ink-3); }

/* Enquiry aside repeats the footer contact details when it stacks under the form. */
@media (max-width: 1023px) { .enquiry-shell > .direct-contact { display: none; } }

/* Footer: products and company side by side on phones. */
.footer-pair { display: grid; gap: 1.5rem; align-content: start; }
@media (max-width: 639px) { .footer-pair { grid-template-columns: 1fr 1fr; } }

/* Project facts: no empty cell when three facts wrap into two columns. */
@media (max-width: 479px) {
  .facts--tight { grid-template-columns: 1fr 1fr; }
  .facts--tight > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Service pages: two or three article cards fill the row. */
.post-grid--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }

/* About: the list in two columns under the heading. */
.ticks--cols { columns: 2 320px; column-gap: 2.5rem; margin: 0; }
.ticks--cols li { break-inside: avoid; margin-bottom: .6rem; }

/* Services: "You have" is the key to each row, so it reads as text, not as a label. */
.compare--choose tbody th { font: 600 1rem/1.45 var(--font); letter-spacing: 0; text-transform: none; color: var(--ink); width: 34%; }
@media (max-width: 699px) { .compare--choose tbody th { width: 100%; } }

/* Company profile content (4 Nov 2026) */
.proof-strip { background: #fff; border-block: 1px solid var(--line); padding: clamp(1rem, 2.5vw, 1.5rem) 0; }
.proof-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.5rem; margin: 0; }
.proof-stats > div { padding-left: .9rem; border-left: 3px solid var(--leaf); }
.proof-stats dt { font: 500 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.proof-stats dd { margin: .2rem 0 0; font-weight: 700; font-size: clamp(1.02rem, 1.6vw, 1.25rem); line-height: 1.25; color: var(--ink); }
@media (max-width: 767px) { .proof-stats { grid-template-columns: 1fr 1fr; gap: 1rem .75rem; } }

.tech-groups { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.tech-group h3 { font-size: 1.05rem; margin-bottom: .65rem; }
.tech-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tech-tags li { margin: 0; padding: .3rem .65rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: .88rem; color: var(--ink-2); }

.design-files { margin-top: 2rem; }
.design-files h3 { margin: 0 0 .75rem; }
.design-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.design-fig { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.design-fig a { display: block; }
.design-fig img { display: block; width: 100%; height: auto; aspect-ratio: 876 / 532; object-fit: cover; border-bottom: 1px solid var(--line); }
.design-fig figcaption { padding: .55rem .75rem .65rem; display: grid; gap: .1rem; }
.design-fig strong { font-size: .93rem; }
.design-fig span { font-size: .8rem; line-height: 1.35; color: var(--ink-3); }
@media (max-width: 639px) { .design-grid { grid-template-columns: 1fr 1fr; } .design-fig:first-child { grid-column: 1 / -1; } }
