/* Q&A Food Solutions: the one stylesheet.
   Direction B's page structure in direction A's world: navy laminate,
   white label stock, printed rules and ruled fields, Archivo throughout. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour */
  --color-navy: #0a2754;           /* laminate: hero, page heads, dark bands */
  --color-navy-deep: #061a3a;      /* laminate shading, utility bar, footer */
  --color-blue: #005eeb;           /* logo blue: accents, caret, accent-color */
  --color-blue-deep: #004cc0;      /* logo deep blue: links, label strips, step numbers */
  --color-tint: #adcbf9;           /* logo light droplet */
  --color-paper: #eef4fd;          /* page ground */
  --color-tint-ground: #dfeafc;    /* alternate section ground */
  --color-label: #ffffff;          /* label stock */
  --color-ink: #0b1f3a;            /* print ink, body text, rules */
  --color-ink-soft: #3a4c66;       /* secondary text */
  --color-ink-faint: #5b6b82;      /* placeholders, optional tags */
  --color-on-navy: #ffffff;
  --color-on-navy-soft: #dbe6fb;   /* secondary text on navy */
  --color-coral: #f06a50;          /* the seal: primary action only, navy text on it */
  --color-coral-hover: #f47d66;
  --color-coral-tint: #fbdad3;     /* the coral at 25% on white: hover grounds, ink text stays */
  --color-error: #b42318;

  /* Type */
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --step-hero: clamp(2.5rem, 1.5rem + 3.4vw, 4.4rem);
  --step-h1: clamp(2.2rem, 1.5rem + 2.3vw, 3.5rem);
  --step-h2: clamp(1.85rem, 1.35rem + 1.7vw, 2.75rem);
  --step-lead: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
  --step-body: 1.0625rem;
  --step-caption: 0.75rem;

  /* Space and shape */
  --gutter: clamp(1rem, 3.5vw, 2.5rem);
  --container: 76rem;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --rule-w: 1.5px;
  --rule: var(--rule-w) solid var(--color-ink);
  --hairline: 1px solid rgb(11 31 58 / 0.14);
  --radius-label: 4px;
  --radius-window: 16px;
  --shadow-float: 0 2px 4px rgb(0 0 0 / 0.12), 0 18px 36px -16px rgb(0 0 0 / 0.35);  /* floating menus, popped links */
  --shadow-card: 0 1px 2px rgb(11 31 58 / 0.08), 0 14px 28px -16px rgb(11 31 58 / 0.35);  /* floating cards */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);  /* hover scales: eases in and out, no jump */
  --header-h: 4.5rem;
  --laminate: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  accent-color: var(--color-blue);
  caret-color: var(--color-blue);
  scrollbar-color: var(--color-blue-deep) var(--color-paper);
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-body);
  line-height: 1.55;
  color: var(--color-ink);
  background: var(--color-paper);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-stretch: 100%; text-wrap: balance; }
p { margin: 0 0 1rem; }
a { color: var(--color-blue-deep); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
::selection { background: var(--color-tint); color: var(--color-ink); }
:focus-visible { outline: 3px solid var(--focus, var(--color-blue-deep)); outline-offset: 2px; }
.hero, .page-head, .section--navy, .site-footer, .utility { --focus: #fff; }
.label { --focus: var(--color-blue-deep); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon--sm { width: 0.95em; height: 0.95em; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 60;
  padding: 0.6rem 1rem; background: #fff; color: var(--color-ink); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section--tint { background: var(--color-tint-ground); }
.section--navy { background: var(--laminate); color: var(--color-on-navy); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
h2 {
  margin: 0 0 0.75rem;
  font-size: var(--step-h2);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.section-head p { margin: 0; font-size: var(--step-lead); color: var(--color-ink-soft); max-width: 60ch; }
.section--navy .section-head p { color: var(--color-on-navy-soft); }

/* Printed captions: field labels, spec captions, legends */
.caption, .field label, .spec dt, .docket legend {
  font-size: var(--step-caption); font-weight: 650; font-stretch: 82%;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-ink-soft);
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 750; line-height: 1.2; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  border: 0; border-radius: var(--radius-label);
  padding: 0.6rem 1rem;
  transition: transform 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.btn--seal {
  background: var(--color-coral); color: var(--color-ink);
  box-shadow: 0 1px 2px rgb(11 31 58 / 0.3), 0 8px 16px -8px rgb(6 26 58 / 0.6);
}
.btn--seal:hover { background: var(--color-coral-hover); }
.btn--seal:active { transform: translateY(1px) scale(0.99); }
.btn--lg { padding: 0.9rem 1.35rem; font-size: 1.05rem; }
.btn .icon, .more .icon { transition: transform 0.25s var(--ease-out); }
.btn:hover .icon, .more:hover .icon { transform: translateX(3px); }

.more { font-weight: 700; }
.more .icon { display: inline-block; margin-left: 0.4rem; vertical-align: -0.22em; }
.nowrap { white-space: nowrap; }
.link-light { color: var(--color-on-navy); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* ---------- Label stock and ruled grids ----------
   Ruled grids draw their printed rules as the gaps between white cells. */
.label {
  background: var(--color-label); color: var(--color-ink);
  border: var(--rule); border-radius: var(--radius-label);
  overflow: hidden;
}
.ruled { display: grid; gap: var(--rule-w); background: var(--color-ink); }
.ruled > * { background: var(--color-label); }
/* Floating cards (home functions, industries overview): separate labels on a soft shadow */
.schedule, .fn-grid, .fn-index { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.schedule > li, .fn-grid > li, .fn-index > article { overflow: hidden; background: var(--color-label); border: var(--rule); border-radius: var(--radius-label); box-shadow: var(--shadow-card); }
.label__head { padding: 0.6rem 1.25rem; background: var(--color-blue-deep); border-bottom: var(--rule); }
.label__head img { width: auto; height: 24px; }

/* ---------- Utility bar ---------- */
.utility { background: var(--color-navy-deep); color: var(--color-on-navy-soft); font-size: 0.875rem; }
.utility__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 0.5rem; }
.utility p { margin: 0; }
.utility__contact { display: flex; gap: 1.5rem; }
.utility a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--color-on-navy); text-decoration: none; font-weight: 550; font-variant-numeric: tabular-nums; }
.utility a:hover { text-decoration: underline; }

/* ---------- Header and nav ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--color-label); border-bottom: var(--hairline); }
.nav-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand img { width: clamp(170px, 15vw, 210px); transform-origin: left center; transition: transform 0.3s var(--ease-smooth); }
.brand:hover img { transform: scale(1.08); }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 1.9rem); }
.nav-links a, .dropdown summary { color: var(--color-ink); text-decoration: none; font-weight: 650; }
.nav-links a:hover, .dropdown summary:hover { color: var(--color-blue-deep); text-decoration: underline; }
.nav-links a[aria-current="page"], .dropdown summary.is-current { text-decoration: underline; text-decoration-color: var(--color-blue-deep); text-decoration-thickness: 3px; text-underline-offset: 0.45em; }
.nav-links .btn, .nav-links .btn:hover { color: var(--color-ink); text-decoration: none; }
.dropdown { position: relative; }
.dropdown summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary .icon { transition: transform 0.25s var(--ease-out); }
.dropdown[open] summary .icon { transform: rotate(180deg); }
.dropdown__menu {
  position: absolute; top: calc(100% + 1.35rem); left: -1rem; z-index: 50;
  min-width: 16.5rem; list-style: none; margin: 0; padding: 0.35rem 0;
  background: var(--color-label); border: var(--rule); border-radius: var(--radius-label); box-shadow: var(--shadow-float);
}
.dropdown__menu li + li { border-top: var(--hairline); }
.nav-links .dropdown__menu a { display: block; padding: 0.55rem 1rem; font-weight: 500; text-decoration: none; }
.nav-links .dropdown__menu a:hover { background: var(--color-paper); }
.nav-links .dropdown__menu a[aria-current="page"] { font-weight: 700; background: var(--color-paper); text-decoration: none; }
.menu-toggle { display: none; }

/* ---------- Home hero: full-width photograph on the navy laminate ---------- */
.hero {
  --ground: var(--laminate);
  position: relative; display: grid; align-items: center;
  min-height: clamp(30rem, 72vh, 42rem); overflow: hidden;
  color: var(--color-on-navy); background: var(--ground);
}
/* The photo is lightened onto the navy, so its black studio ground becomes the laminate */
.hero__media {
  position: absolute; inset: 0 0 0 auto; width: 64%;
  background: var(--ground);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%);
  mask-image: linear-gradient(90deg, transparent 0, #000 32%);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; mix-blend-mode: lighten; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(6 26 58 / 0.82) 0%, rgb(6 26 58 / 0.45) 40%, rgb(6 26 58 / 0) 62%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 7vw, 5rem); }
.hero h1 {
  margin: 0 0 1.25rem; max-width: 17ch;
  font-size: var(--step-hero); line-height: 1.02; font-weight: 800; letter-spacing: -0.028em;
}
.hero__sub { max-width: 38ch; font-size: var(--step-lead); color: var(--color-on-navy-soft); margin-bottom: 2rem; }

/* ---------- Spec panels: the label's facts, one per cell ---------- */
.spec { margin: 0; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.spec > div { padding: 1.1rem 1.25rem 1.2rem; }
.spec dd { margin: 0.25rem 0 0; font-weight: 750; font-size: 1.15rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.spec dd + dd { margin-top: 0.15rem; font-weight: 450; font-size: 0.95rem; color: var(--color-ink-soft); }

/* The proof band sits under the hero as its own strip of label stock */
.proof { background: var(--color-label); border-bottom: var(--rule); }
.proof__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); }
.proof__cap { display: grid; place-items: center; padding: 0 1.1rem; background: var(--color-blue-deep); }
.proof__cap img { width: 30px; height: auto; }
.proof .spec { gap: 0; background: none; }
.proof .spec > div { background: none; border-left: var(--rule); transition: background-color 0.2s; }
.proof .spec > div:first-child { border-left: 0; }
.proof .spec > div:hover { background: var(--color-coral-tint); }
.proof .spec dt { font-size: 1rem; }

/* Stacked spec card: the industry's label, set on the page head */
.spec-card .spec { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }
.spec-card .spec > div { display: grid; grid-template-columns: minmax(7.5rem, 0.75fr) minmax(0, 1.6fr); gap: 1rem; align-items: baseline; padding: 0.85rem 1.25rem; }
.spec-card .spec dd { margin: 0; font-size: 1.05rem; }

/* ---------- Page heads (inner pages) ---------- */
.page-head {
  color: var(--color-on-navy);
  background: var(--laminate);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.page-head__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-head--plain .page-head__inner { grid-template-columns: minmax(0, 1fr); }
.page-head h1 { margin: 0 0 1rem; max-width: 20ch; font-size: var(--step-h1); line-height: 1.04; font-weight: 800; letter-spacing: -0.025em; }
.page-head__sub { max-width: 52ch; margin-bottom: 1.75rem; font-size: var(--step-lead); color: var(--color-on-navy-soft); }
.page-head__sub:last-child { margin-bottom: 0; }
.page-head__sub a { color: var(--color-on-navy); font-weight: 700; }

.crumbs ol { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.92rem; color: var(--color-on-navy-soft); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; }
.crumbs a { color: var(--color-on-navy); font-weight: 600; }

/* Clear window: the pouch film over a photograph */
.window { position: relative; display: block; margin: 0; overflow: hidden; border-radius: var(--radius-window); background: var(--color-tint); }
.window img { width: 100%; height: 100%; object-fit: cover; }
.window::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.6), inset 0 12px 26px rgb(255 255 255 / 0.16);
  background: linear-gradient(115deg, rgb(255 255 255 / 0.26) 0%, rgb(255 255 255 / 0) 24%, rgb(255 255 255 / 0) 68%, rgb(255 255 255 / 0.12) 80%, rgb(255 255 255 / 0) 88%);
}
.page-head .window img { aspect-ratio: 4 / 3; }

/* ---------- Industry tiles (home), and the product cards that share their grid ---------- */
.industries, .cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.industry a {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--color-label); color: inherit; text-decoration: none;
  border: var(--rule); border-radius: var(--radius-label);
  transition: background-color 0.2s;
}
.industry__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-bottom: var(--rule); }
.industry__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-smooth); will-change: transform; }
.industry a:hover { background: var(--color-coral-tint); }
.industry a:hover .industry__img img { transform: scale(1.04); }
.industry__name { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.85rem 1rem 0.2rem; font-size: 1.15rem; font-weight: 750; line-height: 1.2; }
.industry__name .icon { color: var(--color-blue-deep); transition: transform 0.25s var(--ease-out); }
.industry a:hover .industry__name .icon { transform: translateX(3px); }
.industry__note { padding: 0 1rem 1rem; font-size: 0.95rem; color: var(--color-ink-soft); }
.industry--lead { grid-column: span 2; grid-row: span 2; }
.industry--lead .industry__img { aspect-ratio: auto; flex: 1; min-height: 15rem; }
.industry--lead .industry__name, .cards > .app--lead h3 { font-size: 1.5rem; }
.industry--lead .industry__note { font-size: 1.02rem; max-width: 52ch; }
.industry--wide { grid-column: span 2; }
.industry--wide a, .cards > .app--wide { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); grid-template-rows: auto 1fr; }
.industry--wide .industry__img { grid-row: 1 / span 2; aspect-ratio: 4 / 3; border-bottom: 0; border-right: var(--rule); }
.app--wide .app__img { grid-row: 1 / span 2; aspect-ratio: auto; border-bottom: 0; border-right: var(--rule); }
.cards > .app { background: var(--color-label); border: var(--rule); border-radius: var(--radius-label); overflow: hidden; }
/* Feature grid (dairy, sauces): the lead card at two thirds with one card beside it, the rest below in halves */
.cards--feature { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards--feature > .app { grid-column: span 3; }
.cards--feature > .app--lead { grid-column: span 4; }
.cards--feature > .app--lead + .app { grid-column: span 2; }
.cards--feature > .app:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* The first row's two cards share an image row and a text row, so their photos end on one line */
.cards--feature > .app--lead, .cards--feature > .app--lead + .app { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.app--lead .app__img { aspect-ratio: 16 / 9; }
.app--lead + .app .app__img { aspect-ratio: auto; }
.cards + .panel-foot { padding: 1.5rem 0 0; border-top: 0; }

/* ---------- Split: intro column beside a ruled panel ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split__intro p { font-size: var(--step-lead); color: var(--color-ink-soft); }
.split__intro .window { margin-top: 1.75rem; }
.split__intro .window img { aspect-ratio: 4 / 3; }

/* Feature: one product's properties beside its photograph */
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); }
.feature__text > p { max-width: 52ch; margin-bottom: 1.75rem; font-size: var(--step-lead); color: var(--color-ink-soft); }
.feature__media { min-height: 22rem; }

/* Function index (home) */
.fn-grid { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fn-grid a { display: flex; flex-direction: column; gap: 0.25rem; height: 100%; padding: 1.05rem 1.25rem 1.15rem; color: inherit; text-decoration: none; transition: background-color 0.2s; }
.fn-grid strong { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; font-size: 1.06rem; font-weight: 750; }
.fn-grid strong .icon { color: var(--color-blue-deep); transition: transform 0.25s var(--ease-out); }
.fn-grid span { font-size: 0.95rem; color: var(--color-ink-soft); }
/* About supply: alternate cells in light blue to break up the white; the coral wash on hover */
.props--alt > div:nth-child(odd) { background: var(--color-tint-ground); }
.props--alt > div { transition: background-color 0.2s; }
.fn-grid a:hover, .props--alt > div:hover { background: var(--color-coral-tint); }
.fn-grid a:hover strong { text-decoration: underline; text-decoration-thickness: 1.5px; }
.fn-grid a:hover strong .icon { transform: translateX(3px); }

/* Properties panel: one function or fact per ruled cell */
.props { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.props--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.props > div { padding: 1.15rem 1.35rem 1.25rem; }
.props dt { font-size: 1.12rem; font-weight: 750; line-height: 1.3; }
.props dd { margin: 0.35rem 0 0; color: var(--color-ink-soft); }
.props > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.props--3 > div:last-child:nth-child(odd) { grid-column: auto; }
.props--stack { grid-template-columns: minmax(0, 1fr); }
/* The property names print white on a navy column; the descriptions stay on white */
.props--stack > div { display: grid; grid-template-columns: minmax(9rem, 0.75fr) minmax(0, 1.6fr); padding: 0; }
.props--stack dt, .props--stack dd { padding: 1.15rem 1.35rem 1.25rem; }
.props--stack dt { background: var(--color-navy); color: var(--color-on-navy); }
.props--stack dd { margin: 0; }

/* ---------- Trial steps ---------- */
.steps { --steps-gap: clamp(1.25rem, 2.5vw, 2rem); list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--steps-gap); }
.steps li { position: relative; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 1.5rem; left: calc(3rem + 0.75rem); right: calc(0.75rem - var(--steps-gap));
  border-top: 2px dashed rgb(11 31 58 / 0.45);
}
.steps__n {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--color-label); border: var(--rule); color: var(--color-blue-deep); font-size: 1.2rem; font-weight: 800;
}
.steps h3 { margin: 1.1rem 0 0.4rem; font-size: 1.25rem; font-weight: 750; }
.steps p { margin: 0; max-width: 32ch; color: var(--color-ink-soft); }
.steps__cta { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }
/* On the laminate the numbers print white, as on direction A's trial band */
.section--navy .steps li:not(:last-child)::after { border-top-color: rgb(255 255 255 / 0.45); }
.section--navy .steps__n { border-color: var(--color-label); }
.section--navy .steps p { color: var(--color-on-navy-soft); }
.hero .btn--seal, .page-head .btn--seal, .section--navy .btn--seal { box-shadow: none; }

/* ---------- Why Q&A: navy band, owner-run ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.why__text p { font-size: var(--step-lead); color: var(--color-ink-soft); max-width: 52ch; }
.direct { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; margin-top: 1.75rem; }
.direct a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.15rem; font-weight: 750; text-decoration: none; font-variant-numeric: tabular-nums; }
.direct a:hover { text-decoration: underline; }
.section--navy .direct a { color: var(--color-on-navy); }
.why__img img { aspect-ratio: 3 / 2; }
.reasons { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reasons > div { padding: 1.1rem 1.25rem 1.2rem; }
.reasons dt { font-weight: 750; line-height: 1.3; }
.reasons dd { margin: 0.35rem 0 0; font-size: 0.95rem; color: var(--color-ink-soft); }

/* ---------- Applications panel: one ruled column per product ---------- */
.apps { list-style: none; margin: 0; padding: 0; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.app { display: flex; flex-direction: column; }
.app__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-bottom: var(--rule); }
.app__img img { width: 100%; height: 100%; object-fit: cover; }
.app__body { display: flex; flex-direction: column; gap: 0.75rem; flex: 1; padding: 1.1rem 1.25rem 1.35rem; }
.app h3 { margin: 0; font-size: 1.25rem; font-weight: 750; line-height: 1.2; }
.app__body > p { margin: 0; color: var(--color-ink-soft); }
.ticks { list-style: none; margin: 0; padding: 0.8rem 0 0; border-top: var(--hairline); display: grid; gap: 0.55rem; }
.ticks li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.97rem; line-height: 1.4; }
.ticks .icon { width: 1.05em; height: 1.05em; margin-top: 0.15em; color: var(--color-blue-deep); }
.app__note { margin: auto 0 0; padding-top: 0.5rem; font-size: 0.9rem; color: var(--color-ink-soft); }
.panel-foot { margin: 0; padding: 1rem 1.25rem; border-top: var(--rule); }

/* ---------- Industries overview: a ruled schedule, one row per industry ---------- */
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule > li { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr) minmax(0, 1.15fr); }
.schedule__img { display: block; overflow: hidden; border-right: var(--rule); }
.schedule__img img { width: 100%; height: 100%; min-height: 12rem; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.5s var(--ease-smooth); will-change: transform; }
.schedule > li:hover .schedule__img img { transform: scale(1.04); }
.schedule__body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 1.35rem 1.5rem; }
.schedule h3 { margin: 0; font-size: 1.45rem; font-weight: 750; line-height: 1.15; }
.schedule h3 a { color: inherit; text-decoration: none; }
.schedule h3 a:hover { color: var(--color-blue-deep); text-decoration: underline; }
.schedule__body p { margin: 0; color: var(--color-ink-soft); }
.schedule__body .more { margin-top: auto; padding-top: 0.4rem; }
.schedule__fns { padding: 1.35rem 1.5rem; border-left: var(--hairline); background: var(--color-tint-ground); }
.schedule__body:last-child { grid-column: 2 / -1; }
.schedule__fns .caption { margin: 0 0 0.6rem; }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tags a {
  display: inline-block; padding: 0.25rem 0.6rem; border: 1px solid rgb(11 31 58 / 0.4); border-radius: 3px;
  font-size: 0.9rem; font-weight: 600; color: var(--color-ink); text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.tags a:hover { border-color: var(--color-blue-deep); color: var(--color-blue-deep); background: var(--color-paper); }

/* Function index (industries page): eight ruled entries, each a link target */
.fn-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fn-index > article { padding: 1.4rem 1.5rem 1.5rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); transition: background-color 0.4s var(--ease-out); }
.fn-index h3 { margin: 0 0 0.5rem; font-size: 1.22rem; font-weight: 750; line-height: 1.2; }
.fn-index p { margin: 0 0 1rem; color: var(--color-ink-soft); }
.fn-index .caption { margin: 0 0 0.5rem; }
.fn-index > article:target { background: var(--color-paper); }
.fn-index > article:target h3 { color: var(--color-blue-deep); }
.fn-index > article:hover { background: var(--color-coral-tint); }
.fn-index .tags a { padding: 0.4rem 0.8rem; font-size: 1rem; background: var(--color-coral); border-color: var(--color-coral); }
.fn-index .tags a:hover { background: var(--color-tint); border-color: var(--color-tint); color: var(--color-ink); }

/* Link grid: related industries, 404 */
.link-grid { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.link-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Visible overflow so a hovered link can pop out over its rules */
.link-grid { overflow: visible; }
.link-grid a { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; height: 100%; padding: 1rem 1.25rem; font-weight: 700; color: var(--color-ink); text-decoration: none; --z-delay: 0.3s; transition: background-color 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), border-radius 0.3s var(--ease-smooth), z-index 0s var(--z-delay); }
.link-grid a .icon { color: var(--color-blue-deep); transition: transform 0.25s var(--ease-out); }
.link-grid a:hover {
  --z-delay: 0s; z-index: 1; background: var(--color-coral-tint); border-radius: var(--radius-label);
  transform: scale(1.04); box-shadow: 0 0 0 var(--rule-w) var(--color-ink), var(--shadow-float);
}
.link-grid a:hover .icon { transform: translateX(3px); }
.index-card .link-grid { grid-template-columns: minmax(0, 1fr); }
.index-card .link-grid a { padding: 0.7rem 1.25rem; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story__text p { font-size: var(--step-lead); color: var(--color-ink-soft); max-width: 60ch; }
.story__text p:first-of-type { color: var(--color-ink); }
.quote blockquote { margin: 0; padding: 1.5rem 1.5rem 1rem; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); font-weight: 750; line-height: 1.3; letter-spacing: -0.015em; }
.quote figcaption { padding: 0 1.5rem 1.35rem; color: var(--color-ink-soft); }

/* ---------- Prose (privacy policy) ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin: 2.75rem 0 0.75rem; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose .cols { columns: 3 11rem; column-gap: 2rem; }
.prose .cols li { margin-bottom: 0.15rem; break-inside: avoid; }
.prose .contact-card { margin-bottom: 1.5rem; }
.prose__foot { margin-top: 2.5rem; color: var(--color-ink-soft); }

/* ---------- Enquiry docket ---------- */
.enquiry { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.enquiry__intro > p { font-size: var(--step-lead); color: var(--color-ink-soft); }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.contact-list li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.contact-list .icon { color: var(--color-blue-deep); }
.contact-list a { font-weight: 750; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-list a:hover { text-decoration: underline; }

/* Contact page: the details printed as a label */
.contact-card .spec > div { grid-template-columns: minmax(5.5rem, 0.5fr) minmax(0, 1.6fr); }
.contact-card .spec dd { font-weight: 600; font-size: 1rem; line-height: 1.45; }
.contact-card .spec dd a { font-weight: 750; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-card .spec dd a:hover { text-decoration: underline; }
.contact-card .spec dd .more { margin-top: 0.35rem; font-size: 0.95rem; text-decoration: underline; }
.enquiry__intro .contact-card { margin-top: 1.5rem; }

.docket__type { margin: 0; padding: 1rem 1.25rem 1.1rem; border: 0; border-bottom: var(--rule); display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; }
.docket__type legend { float: left; width: 100%; margin: 0 0 0.6rem; padding: 0; }
.choice { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; cursor: pointer; }
.choice input { width: 1.1rem; height: 1.1rem; margin: 0; }
.docket__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.8rem 1rem 0.95rem; transition: background-color 0.2s; }
.field:focus-within { background: var(--color-paper); }
.field--full { grid-column: 1 / -1; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 500; font-stretch: 100%; color: var(--color-ink-faint); margin-left: 0.25rem; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--color-ink);
  background: transparent; border: 0; border-bottom: var(--rule-w) solid var(--color-ink-faint);
  border-radius: 0; padding: 0.35rem 0;
}
textarea { resize: vertical; min-height: 6rem; }
select {
  appearance: none; padding-right: 1.5rem; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%230b1f3a' d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") right 0.1rem center / 1rem no-repeat;
}
::placeholder { color: var(--color-ink-faint); opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--color-blue-deep); outline-offset: 3px; border-bottom-color: var(--color-blue-deep); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-bottom-color: var(--color-error); }
/* Honeypot: off-screen, so only bots fill it in */
.hp { position: absolute; left: -10000px; }
.docket__consent { margin: 0; padding: 0.9rem 1.25rem; border-top: var(--rule); font-size: 0.9rem; color: var(--color-ink-soft); }
.docket__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem; padding: 1.1rem 1.25rem 1.25rem; border-top: var(--hairline); }
.docket__submit p { margin: 0; color: var(--color-ink-soft); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--laminate); color: var(--color-on-navy); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 0.7fr); gap: 2rem clamp(2rem, 4vw, 3.5rem); }
.footer a { color: var(--color-on-navy); }
.footer__brand img { width: 200px; margin-bottom: 1rem; }
.footer__brand p { color: var(--color-on-navy-soft); max-width: 40ch; margin: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; align-content: start; }
.footer__contact li { display: flex; gap: 0.6rem; color: var(--color-on-navy-soft); }
.footer__contact .icon { margin-top: 0.2em; color: var(--color-on-navy); }
.footer__contact a { font-variant-numeric: tabular-nums; }
.footer__links a { font-weight: 600; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.25); color: var(--color-on-navy-soft); font-size: 0.9rem; }

/* ---------- One authored moment per page ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* Home: the photograph settles onto the laminate */
  .hero__media img { animation: settle 1.8s var(--ease-out) both; }
  @keyframes settle { from { transform: scale(1.07); } }
  /* Inner pages: the label is applied to the laminate, as in direction A */
  .page-head .spec-card, .page-head .window { animation: label-applied 1.1s var(--ease-out) both; }
  @keyframes label-applied {
    from { transform: translateY(16px) rotate(-0.8deg); }
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .apps--4 { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .schedule > li { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); }
  .schedule__fns { grid-column: 2; border-left: 0; border-top: var(--hairline); padding-top: 1rem; }
  .schedule__img { grid-row: span 2; }
}
@media (max-width: 960px) {
  .utility__inner > p:first-child { display: none; }
  .utility__inner { justify-content: flex-end; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.8rem;
    font: inherit; font-weight: 650; color: var(--color-ink); background: none;
    border: var(--rule); border-radius: var(--radius-label); cursor: pointer;
  }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem;
    background: var(--color-label); border: var(--rule); border-radius: var(--radius-label); box-shadow: var(--shadow-float);
  }
  .menu-toggle[aria-expanded="true"] + .nav-links { display: flex; }
  .nav-links a, .dropdown summary { display: flex; padding: 0.75rem; }
  .dropdown__menu { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 0 0.75rem; }
  .nav-links .btn { margin-top: 0.5rem; justify-content: center; }

  .hero__media { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero::after { background: linear-gradient(90deg, rgb(6 26 58 / 0.88) 0%, rgb(6 26 58 / 0.7) 60%, rgb(6 26 58 / 0.35) 100%); }
  .spec { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .proof__inner { grid-template-columns: minmax(0, 1fr); }
  .proof__cap { place-items: center start; padding: 0.5rem 1.25rem; }
  .proof__cap img { width: 26px; }
  .proof .spec > div:nth-child(odd) { border-left: 0; }
  .proof .spec > div:nth-child(n+3) { border-top: var(--rule); }
  .page-head__inner, .split, .feature, .why, .enquiry, .story { grid-template-columns: minmax(0, 1fr); }
  .feature__media { min-height: 0; }
  .feature__media img { aspect-ratio: 4 / 3; }
  .index-card { display: none; }
  .page-head .spec-card, .page-head .window { max-width: 36rem; }
  .industries, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry--lead { grid-row: span 1; }
  .industry--lead .industry__img { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .cards--feature { grid-template-columns: minmax(0, 1fr); }
  .cards--feature > .app, .cards--feature > .app--lead + .app, .cards--feature > .app:last-child:nth-child(odd) { grid-column: auto; }
  .app--lead + .app .app__img { aspect-ratio: 16 / 9; }
  .steps { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .steps--3 { grid-template-columns: minmax(0, 1fr); }
  .steps li::after { display: none; }
  .reasons, .link-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apps { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apps > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .apps > li:last-child:nth-child(odd) .app__img { aspect-ratio: 16 / 7; }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .utility__contact a:last-child { display: none; }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero::after { display: none; }
  .hero__inner { order: -1; padding-block: 2.25rem 2rem; }
  .hero__media { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; background: none; }
  .hero__media img { object-position: center; }
  .actions .btn { width: 100%; }
  .spec-card .spec > div, .contact-card .spec > div, .props--stack > div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .schedule__body:last-child { grid-column: auto; }
  .industries, .cards, .fn-grid, .props, .props--3, .docket__grid, .reasons, .apps, .fn-index, .link-grid, .link-grid--4, .steps { grid-template-columns: minmax(0, 1fr); }
  .industry--lead, .industry--wide { grid-column: span 1; }
  .industry--wide a, .cards > .app--wide { display: flex; }
  .industry__img, .industry--wide .industry__img, .app--wide .app__img { aspect-ratio: 16 / 9; border-right: 0; border-bottom: var(--rule); }
  .apps > li:last-child:nth-child(odd) .app__img { aspect-ratio: 4 / 3; }
  .schedule > li { grid-template-columns: minmax(0, 1fr); }
  .schedule__img { grid-row: auto; border-right: 0; border-bottom: var(--rule); }
  .schedule__img img { aspect-ratio: 16 / 9; min-height: 0; }
  .schedule__fns { grid-column: auto; padding: 1rem 1.25rem 1.25rem; border-top: 0; }
  .schedule__body { padding: 1.15rem 1.25rem 1rem; }
  .docket__submit .btn { width: 100%; }
  .footer { grid-template-columns: minmax(0, 1fr); }
  .footer__legal { flex-direction: column; }
}
