/* Si-Linq site, iteration 3: direction A "The Link". Clean structure, refined but clearly present motion.
   Shared by all pages. Pages are generated by tools/build_site.py.
   Structure comes from type, spacing and images, not from borders and boxes. */

/* Archivo, self-hosted (2026-11-27; was Google Fonts: GDPR and one less render-blocking third party).
   Variable font: weight 100-900, width 62-125%. Latin is preloaded in the page head. Licence: SIL OFL. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand tokens (confirmed 2026-11-10, see CLAUDE.md) */
  --color-brand:        #0063BC;
  --color-brand-dark:   #003D73;
  --color-surface:      #FFFFFF;
  --color-surface-tint: #E8F0F9;
  --color-ink:          #1A1A1A;
  --color-ink-muted:    #595959;
  --color-accent:       #E8590C; /* non-text marks only */
  --color-line:         #C9D6E4;

  /* Type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.25rem + 0.8vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.4rem + 1.6vw, 2.625rem);
  --step-hero: clamp(2.5rem, 1.5rem + 3.2vw, 4rem);

  /* Space (4/8 scale) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 144px;

  --radius: 12px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  /* Motion: one language for the whole site (CLAUDE.md, Motion) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;     /* hover, press, colour */
  --dur-reveal: 800ms;   /* text and blocks entering */
  --dur-img: 1200ms;     /* image reveal */
  --stagger: 90ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure, address, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: var(--color-brand); text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--color-brand-dark); }
:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--color-brand-dark); color: #fff; padding: var(--s-2) var(--s-4); border-radius: 6px; }
.skip-link:focus { top: var(--s-4); color: #fff; }
.scroll-sentinel { position: absolute; top: 0; height: 8px; width: 1px; }
.muted { color: var(--color-ink-muted); }

/* ---------- Images ---------- */
.photo { position: relative; overflow: hidden; background: var(--color-surface-tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-rect { border-radius: var(--radius); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 48px; padding: var(--s-3) var(--s-5);
  border-radius: 999px; border: 0;
  font-weight: 600; font-size: var(--step-0); line-height: 1.2; white-space: nowrap; text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--color-brand); color: #fff; }
.btn-primary:hover { background: var(--color-brand-dark); color: #fff; }
.btn-light { background: #fff; color: var(--color-brand-dark); }
.btn-light:hover { background: var(--color-surface-tint); color: var(--color-brand-dark); }

/* Arrow link: underline grows from the left, arrow nudges */
.link-arrow {
  display: inline-flex; align-items: baseline; gap: 0.4em;
  font-weight: 600; text-decoration: none; color: var(--color-brand);
  background: linear-gradient(currentColor, currentColor) left bottom / 0% 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size 320ms var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.link-arrow::after { content: "\2192"; display: inline-block; transition: translate 320ms var(--ease-out); }
.link-arrow:hover, a:hover > .link-arrow { background-size: 100% 1.5px; }
.link-arrow:hover::after { translate: 4px 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  transition: box-shadow 300ms var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(0, 61, 115, 0.08), 0 8px 24px -16px rgba(0, 61, 115, 0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 76px; }
.brand { display: flex; align-items: center; gap: var(--s-4); text-decoration: none; color: var(--color-ink-muted); }
.brand img { width: 150px; height: auto; }
.brand-tagline { font-size: var(--step--1); line-height: 1.25; max-width: 14ch; padding-left: var(--s-4); border-left: 1px solid var(--color-line); }
.site-nav ul { display: flex; gap: var(--s-6); }
.site-nav ul a {
  display: block; padding-block: var(--s-2);
  color: var(--color-ink); text-decoration: none; font-weight: 500;
  background: linear-gradient(var(--color-brand), var(--color-brand)) left bottom / 0% 2px no-repeat;
  transition: color var(--dur-fast) var(--ease-out), background-size 320ms var(--ease-out);
}
.site-nav ul a:hover { color: var(--color-brand); background-size: 100% 2px; }
.site-nav ul a[aria-current] { color: var(--color-brand); font-weight: 650; background-size: 100% 2px; }
.menu-toggle { display: none; }

@media (max-width: 700px) {
  .brand-tagline { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 76px; padding: var(--s-2) var(--s-4);
    font: 600 var(--step--1) var(--font); background: var(--color-brand-dark); color: #fff;
    border: 0; border-radius: 999px; cursor: pointer; transition: transform var(--dur-fast) var(--ease-out);
  }
  .menu-toggle:active { transform: scale(0.97); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; padding: var(--s-2) var(--gutter) var(--s-6);
    box-shadow: 0 16px 24px -16px rgba(0, 61, 115, 0.25);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding-block: var(--s-3); font-size: var(--step-1); background: none; }
}

/* ---------- Section rhythm ---------- */
.section { padding-block: var(--s-10); }
.section-tint { background: var(--color-surface-tint); }
.section-head { max-width: 640px; margin-bottom: var(--s-8); }
.section-head h2, .h2 {
  font-size: var(--step-3); font-stretch: 112%; font-weight: 650; line-height: 1.1; letter-spacing: -0.015em;
  color: var(--color-brand-dark); margin-bottom: var(--s-4);
}
.section-head p { color: var(--color-ink-muted); font-size: var(--step-1); line-height: 1.5; max-width: 46ch; }
.num {
  display: flex; align-items: center; gap: var(--s-3);
  font-size: var(--step--1); font-weight: 650; font-stretch: 125%; letter-spacing: 0.04em; line-height: 1;
  color: var(--color-brand); margin-bottom: var(--s-3);
}
.num::after { content: ""; width: 32px; border-top: 2px solid currentColor; }
.statement { font-size: var(--step-2); font-weight: 500; line-height: 1.4; color: var(--color-brand-dark); max-width: 40ch; }
@media (max-width: 900px) { .section { padding-block: var(--s-9); } }

/* ---------- Home hero ---------- */
.hero { padding-block: var(--s-8) var(--s-9); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: var(--s-7); }
.hero-title {
  font-size: clamp(2.5rem, 1.5rem + 2.6vw, 3.4rem); font-stretch: 100%; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--color-brand-dark);
}
.hero-sub { margin-top: var(--s-5); font-size: var(--step-2); font-weight: 500; line-height: 1.3; color: var(--color-brand); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin-top: var(--s-7); }
.hero-photos { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 460px; justify-self: end; }
.hero-img { position: absolute; border-radius: 50%; aspect-ratio: 1; box-shadow: 0 0 0 6px #fff; }
.hero-img-1 { width: 62%; left: 0; top: 0; }
.hero-img-2 { width: 46%; right: 0; top: 30%; z-index: 1; }
.hero-img-3 { width: 36%; left: 22%; bottom: 0; z-index: 2; }
@media (max-width: 900px) {
  .hero { padding-block: var(--s-7) var(--s-8); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-photos { justify-self: center; max-width: 380px; }
}

/* ---------- Intro (Home) ---------- */
.intro { padding-block: var(--s-9) var(--s-10); }
.intro-statement { font-size: var(--step-3); font-stretch: 104%; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: var(--color-brand-dark); max-width: 26ch; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s-8); align-items: start; }
.intro-text { color: var(--color-ink-muted); font-size: var(--step-1); line-height: 1.55; max-width: 44ch; margin-top: var(--s-6); }
.intro .facts { margin: 0; flex-direction: column; gap: var(--s-6); padding-top: var(--s-2); }
.facts { display: flex; flex-wrap: wrap; gap: var(--s-6) var(--s-8); margin-block: var(--s-7) var(--s-6); }
.facts > div { display: flex; flex-direction: column-reverse; gap: var(--s-2); }
.facts dt { color: var(--color-ink-muted); font-size: var(--step--1); }
.facts dd { white-space: nowrap; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); font-stretch: 125%; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--color-brand); }
@media (max-width: 900px) { .intro-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); } }
@media (max-width: 560px) {
  .facts { display: grid; gap: var(--s-4); }
  .facts > div { flex-direction: row; justify-content: space-between; align-items: baseline; gap: var(--s-4); }
  .facts dd { font-size: var(--step-2); }
}

/* ---------- The link: producers -> Si-Linq -> customers (Home) ----------
   Si-Linq's globe mark is the centre; one line runs from producers through it to customers,
   drawn by scroll position where the browser supports scroll-driven animation. */
.link { padding-block: var(--s-10); background: var(--color-surface-tint); }
.link-stage {
  --mark: 200px; --gap: 48px;
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--mark) minmax(0, 1fr);
  column-gap: var(--gap);
  view-timeline-name: --link;
}
.link-line { position: absolute; top: calc(var(--mark) / 2 - 1.5px); left: 8px; right: 8px; height: 3px; background: rgba(0, 99, 188, 0.15); border-radius: 2px; }
.link-line-fill { position: absolute; inset: 0; background: var(--color-brand); border-radius: inherit; transform-origin: left center; }
.link-dot { position: absolute; top: calc(var(--mark) / 2 - 8px); left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--color-brand); box-shadow: 0 0 0 6px var(--color-surface-tint); }
.link-side { position: relative; padding-top: calc(var(--mark) / 2 + var(--s-7)); }
.link-customers .link-dot { left: auto; right: 0; }
.link-side h3 { font-size: var(--step-2); font-stretch: 112%; font-weight: 650; line-height: 1.15; color: var(--color-brand-dark); margin-bottom: var(--s-5); }
.points { display: grid; gap: var(--s-5); margin-bottom: var(--s-6); }
.points dt { font-weight: 650; color: var(--color-ink); margin-bottom: var(--s-1); }
.points dd { color: var(--color-ink-muted); max-width: 40ch; }
.link-mark { position: relative; z-index: 1; width: var(--mark); height: var(--mark); border-radius: 50%; background: var(--color-surface-tint); padding: 18px; }
.link-mark img { width: 100%; height: 100%; }

/* Scroll-driven: line fills as the section scrolls through the viewport; the mark turns in when the line reaches it */
@keyframes line-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes line-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes mark-in { 0%, 45% { opacity: 0; scale: 0.6; rotate: -70deg; } 100% { opacity: 1; scale: 1; rotate: 0deg; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .link-line-fill { animation: line-x linear both; animation-timeline: --link; animation-range: cover 5% cover 38%; }
    .link-mark { animation: mark-in linear both; animation-timeline: --link; animation-range: cover 5% cover 38%; }
  }
  /* Fallback without scroll timelines: draw once when the section comes into view */
  @supports not (animation-timeline: view()) {
    .reveal-on .link-line-fill { transition: transform 1400ms var(--ease-in-out) 200ms; }
    .reveal-on .link-mark { transition: opacity 600ms var(--ease-out) 800ms, scale 900ms var(--ease-out) 800ms, rotate 900ms var(--ease-out) 800ms; }
    .reveal-on .link-stage:not(.is-in) .link-line-fill { transform: scaleX(0); }
    .reveal-on .link-stage:not(.is-in) .link-mark { opacity: 0; scale: 0.6; rotate: -70deg; }
  }
}
/* Stacked (tablet and phone): producers, the mark as a small divider, customers. Text runs full width.
   No long line: a vertical rail took a third of the width, and a half-filled scroll line read as a bug.
   The mark turns in once when it enters view and always ends fully opaque (not tied to scroll position). */
@media (max-width: 900px) {
  .link { padding-block: var(--s-9); }
  .link .section-head { margin-bottom: var(--s-7); }
  .link-stage { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-7); }
  .link-line, .link-dot { display: none; }
  .link-side { padding: 0; }
  .link-side .points { margin-bottom: var(--s-5); }
  .link-mark {
    order: 2; width: auto; height: auto; padding: 0; background: none;
    display: flex; align-items: center; justify-content: center; gap: var(--s-4);
  }
  .link-mark::before, .link-mark::after { content: ""; width: 40px; height: 2px; border-radius: 2px; background: var(--color-brand); }
  .link-mark img { width: 56px; height: 56px; }
  .link-producers { order: 1; } .link-customers { order: 3; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .link-mark { animation: none !important; opacity: 1 !important; scale: 1 !important; rotate: 0deg !important; }
  .link-mark::before { transform-origin: right center; }
  .link-mark::after { transform-origin: left center; }
  .reveal-on .link-mark img { transition: opacity 500ms var(--ease-out), scale 800ms var(--ease-out), rotate 800ms var(--ease-out); }
  .reveal-on .link-mark::before, .reveal-on .link-mark::after { transition: scale 700ms var(--ease-out) 150ms; }
  .reveal-on .link-mark:not(.is-in) img { opacity: 0; scale: 0.7; rotate: -60deg; }
  .reveal-on .link-mark:not(.is-in)::before, .reveal-on .link-mark:not(.is-in)::after { scale: 0 1; }
}

/* ---------- Product families (Home): asymmetric tiles ---------- */
.families { padding-block: var(--s-10); }
.tiles { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8) var(--s-7); }
.tile { position: relative; }
.tile-b { margin-top: var(--s-10); }
.tile-c { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: center; }
.tile-img { border-radius: var(--radius); aspect-ratio: 3 / 2; }
.tile-b .tile-img { aspect-ratio: 1 / 1; }
.tile-body { padding-top: var(--s-5); }
.tile-c .tile-body { padding-top: 0; }
.tile h3 { font-size: var(--step-2); font-stretch: 112%; font-weight: 650; line-height: 1.15; margin-bottom: var(--s-2); }
.tile h3 a { color: var(--color-brand-dark); text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; } /* whole tile clickable */
.tile-line { margin-top: var(--s-3); color: var(--color-ink-muted); font-size: var(--step--1); max-width: 52ch; }
.tile .link-arrow { margin-top: var(--s-4); }
.tile:hover .link-arrow { background-size: 100% 1.5px; }
.tile:hover .link-arrow::after { translate: 4px 0; }
.tile:hover h3 a { color: var(--color-brand); }
@media (max-width: 900px) {
  .tiles { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
  .tile-b { margin-top: 0; }
  .tile-b .tile-img { aspect-ratio: 3 / 2; }
  .tile-c { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tile-c .tile-body { padding-top: var(--s-5); }
}

/* ---------- Contact band (Home) ---------- */
.contact-band { background: var(--color-brand-dark); color: #fff; padding-block: var(--s-10); position: relative; overflow: hidden; }
.contact-band::before {
  content: ""; position: absolute; right: -12%; top: -30%; width: 60vw; max-width: 760px; aspect-ratio: 1;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.10); box-shadow: inset 0 0 0 80px rgba(255, 255, 255, 0.03); pointer-events: none;
}
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: center; }
.contact-band h2 { font-size: var(--step-3); font-stretch: 112%; font-weight: 650; line-height: 1.1; letter-spacing: -0.015em; margin-bottom: var(--s-4); }
.contact-copy p { color: #d5e3f2; margin-bottom: var(--s-6); max-width: 44ch; font-size: var(--step-1); }
.contact-band a { color: #fff; }
.contact-band a:hover { color: #d5e3f2; }
.contact-band .btn-light { color: var(--color-brand-dark); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.person-name { font-weight: 650; font-size: var(--step-1); }
.person-role { color: #d5e3f2; margin-bottom: var(--s-3); }
.person a { overflow-wrap: anywhere; }
.people-light .person-role { color: var(--color-ink-muted); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); } }
@media (max-width: 560px) { .people { grid-template-columns: minmax(0, 1fr); } }

.cta { background: var(--color-surface-tint); padding-block: var(--s-9); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5) var(--s-7); }
.cta p { font-size: var(--step-2); font-weight: 500; line-height: 1.3; color: var(--color-brand-dark); max-width: 30ch; }

/* ---------- Inner pages ---------- */
.page-hero { padding-block: var(--s-9) var(--s-8); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); align-items: center; }
.has-aside .page-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.page-hero-img { aspect-ratio: 4 / 3; }
.eyebrow { font-size: var(--step--1); font-weight: 600; color: var(--color-ink-muted); margin-bottom: var(--s-4); }
.eyebrow a { color: var(--color-ink-muted); text-decoration: none; }
.eyebrow a:hover { color: var(--color-brand); text-decoration: underline; }
.page-title { font-size: var(--step-hero); font-stretch: 108%; font-weight: 700; line-height: 1.04; letter-spacing: -0.028em; color: var(--color-brand-dark); max-width: 18ch; }
.page-lead { margin-top: var(--s-5); font-size: var(--step-1); line-height: 1.5; max-width: 46ch; color: var(--color-ink); }
.label { font-size: var(--step--1); font-weight: 650; color: var(--color-ink-muted); margin-bottom: var(--s-3); }
@media (max-width: 900px) { .has-aside .page-hero-grid { grid-template-columns: minmax(0, 1fr); } .page-hero { padding-block: var(--s-8) var(--s-7); } }

/* Sub-navigation (product pages) */
.subnav ul { display: flex; gap: 0 var(--s-6); overflow-x: auto; scrollbar-width: none; box-shadow: inset 0 -1px 0 var(--color-line); }
.subnav li { flex: none; }
.subnav a {
  display: block; padding: var(--s-4) 0; color: var(--color-ink-muted); text-decoration: none; font-size: var(--step--1); font-weight: 500;
  background: linear-gradient(var(--color-brand), var(--color-brand)) left bottom / 0% 2px no-repeat;
  transition: color var(--dur-fast) var(--ease-out), background-size 320ms var(--ease-out);
}
.subnav a:hover { color: var(--color-brand); background-size: 100% 2px; }
.subnav a[aria-current="page"] { color: var(--color-brand-dark); font-weight: 650; background-size: 100% 2px; }

/* Products overview: one row per family, image anchored top left */
.rows-section { padding-top: var(--s-6); }
.rows { display: grid; gap: var(--s-10); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
.row-img-link { display: block; }
.row-img { aspect-ratio: 4 / 3; }
.row h2 { font-size: var(--step-3); font-stretch: 112%; font-weight: 650; line-height: 1.1; margin-bottom: var(--s-3); }
.row h2 a { color: var(--color-brand-dark); text-decoration: none; }
.row h2 a:hover { color: var(--color-brand); }
.row-desc { font-size: var(--step-1); line-height: 1.5; color: var(--color-ink); }
.row-for, .aside-for { margin-top: var(--s-4); color: var(--color-ink-muted); }
.row-for span, .aside-for span { display: block; font-size: var(--step--1); font-weight: 650; color: var(--color-brand); }
.row-list { margin-block: var(--s-6); }
.list-sub { font-weight: 650; color: var(--color-brand-dark); margin: var(--s-6) 0 var(--s-3); }
.list-sub:first-child { margin-top: 0; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-6); }
.cols li { font-weight: 500; }
.cols li span { display: block; font-weight: 400; font-size: var(--step--1); color: var(--color-ink-muted); }
@media (max-width: 900px) { .row { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } .rows { gap: var(--s-9); } .row-img { aspect-ratio: 3 / 2; } }
@media (max-width: 560px) { .cols { grid-template-columns: minmax(0, 1fr); } }

/* Customers + suppliers (Products overview) */
.partners-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-9); align-items: start; }
.partner { display: grid; gap: var(--s-4); align-content: start; }
.partner .h2 { margin-bottom: 0; }
.partner p { max-width: 52ch; }
.partner-suppliers { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--s-6); }
.partner-suppliers > div { display: grid; gap: var(--s-4); align-content: start; }
.partner-img { aspect-ratio: 3 / 4; }
@media (max-width: 900px) {
  .partners-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
  .partner-suppliers { grid-template-columns: minmax(0, 1fr); }
  .partner-img { aspect-ratio: 3 / 2; max-width: 520px; }
}

/* Product family pages */
.product-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s-9); align-items: start; padding-block: var(--s-8) var(--s-9); }
.product-aside { position: sticky; top: 108px; display: grid; gap: var(--s-4); }
.product-aside .photo { aspect-ratio: 4 / 3; }
.aside-note { color: var(--color-ink-muted); font-size: var(--step--1); }
.spec-title { font-size: var(--step-2); font-stretch: 112%; font-weight: 650; color: var(--color-brand-dark); margin-bottom: var(--s-5); }
.spec-title:not(:first-child) { margin-top: var(--s-9); }
.spec { display: grid; gap: var(--s-6); }
.spec-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-2) var(--s-6); align-items: start; }
.spec-name { font-weight: 650; font-size: var(--step-1); font-stretch: 105%; line-height: 1.3; color: var(--color-ink); grid-column: 1; }
.spec-codes { grid-column: 1; display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); }
.spec-codes li { font-weight: 650; font-stretch: 115%; font-size: var(--step--1); letter-spacing: 0.02em; color: var(--color-brand); }
.spec-note { grid-column: 2; grid-row: 1 / span 2; color: var(--color-ink-muted); }
.spec-row.is-sub { margin-left: var(--s-5); padding-left: var(--s-5); box-shadow: inset 2px 0 0 var(--color-brand); }
.spec-row.is-sub .spec-name { color: var(--color-brand-dark); font-stretch: 120%; }
.spec-intro { color: var(--color-ink); margin-bottom: calc(-1 * var(--s-2)); }
.pager { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-5); padding-block: var(--s-6) var(--s-9); }
.pager a { display: grid; gap: var(--s-1); font-weight: 650; font-size: var(--step-1); text-decoration: none; color: var(--color-brand-dark); transition: color var(--dur-fast) var(--ease-out), translate 320ms var(--ease-out); }
.pager a span { font-size: var(--step--1); font-weight: 500; color: var(--color-ink-muted); }
.pager-next { text-align: right; }
.pager-prev:hover { color: var(--color-brand); translate: -4px 0; }
.pager-next:hover { color: var(--color-brand); translate: 4px 0; }
@media (max-width: 900px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); padding-block: var(--s-7); }
  .product-aside { position: static; }
  .product-aside .photo { max-width: 520px; }
  .spec-row { grid-template-columns: minmax(0, 1fr); }
  .spec-note { grid-column: 1; grid-row: auto; }
}

/* Profile */
.values-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-9); align-items: center; }
.values-lead { color: var(--color-ink-muted); font-size: var(--step-1); margin-bottom: var(--s-7); }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--s-6); }
.value h3 { display: flex; align-items: center; gap: var(--s-3); font-size: var(--step-1); font-stretch: 112%; font-weight: 650; color: var(--color-brand-dark); margin-bottom: var(--s-2); }
.value h3::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--color-brand); }
.value p { color: var(--color-ink-muted); }
.values-img { aspect-ratio: 4 / 3; }
.team-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
.section .facts { gap: var(--s-6) var(--s-9); }
.section .link-arrow { margin-top: var(--s-2); }
.nf-links { display: grid; gap: var(--s-4); font-size: var(--step-1); }
.nf-links .link-arrow { margin-top: 0; }
@media (max-width: 900px) {
  .values-grid, .team-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
  .values-img { aspect-ratio: 3 / 2; max-width: 520px; }
}
@media (max-width: 560px) { .values { grid-template-columns: minmax(0, 1fr); } }

/* Contact page */
.contact-page { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-9); padding-block: var(--s-6) var(--s-10); }
.contact-people .person-name { font-size: var(--step-2); font-stretch: 108%; }
.contact-side { display: grid; gap: var(--s-7); align-content: start; }
.contact-side p + p { margin-top: var(--s-2); }
.contact-big { font-size: var(--step-1); font-weight: 500; }
@media (max-width: 900px) { .contact-page { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-surface-tint); padding-block: var(--s-9) var(--s-6); font-size: var(--step--1); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--s-7); padding-bottom: var(--s-8); }
.footer-brand img { width: 170px; margin-bottom: var(--s-3); }
.footer-brand p { color: var(--color-ink-muted); }
.footer-title { font-size: var(--step-0); font-weight: 650; color: var(--color-brand-dark); margin-bottom: var(--s-3); }
.site-footer address, .site-footer p { margin-bottom: var(--s-3); }
.site-footer ul li { margin-bottom: var(--s-2); }
.site-footer a { color: var(--color-ink); }
.site-footer a:hover { color: var(--color-brand); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--color-line); color: var(--color-ink-muted); }
.footer-legal p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Phones and touch (mobile pass 2026-11-26) ----------
   Tap targets at least 44px, a tighter section rhythm on phones, emails never split at the hyphen. */
.nobr { white-space: nowrap; }
.skip-link { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 900px) {
  /* Stacked phone and email links (people, footer, legal): each gets its own 44px row */
  .person a, .site-footer a, .eyebrow a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .site-footer ul li { margin-bottom: 0; }
  .site-footer address { margin-bottom: var(--s-2); }
  .site-footer p { margin-bottom: var(--s-2); }
  .person-role { margin-bottom: var(--s-1); }
  /* Links with free space around them: a larger invisible hit area, layout unchanged */
  .link-arrow, .row h2 a, .contact-side a { position: relative; }
  .link-arrow::before, .row h2 a::before, .contact-side a::before { content: ""; position: absolute; inset: -9px -6px; }
  .contact-side a::before { inset: -13px -6px; }
  /* Family pages: the CTA band right below already says "for the full range, email ..." */
  .aside-note { display: none; }
}
@media (max-width: 700px) {
  /* 144px bands read as empty screens on a phone */
  .section, .families, .contact-band, .link { padding-block: var(--s-8); }
  .intro { padding-block: var(--s-8); }
  .hero { padding-block: var(--s-6) var(--s-8); }
  .cta { padding-block: var(--s-8); }
  .section-head { margin-bottom: var(--s-7); }
  .page-hero { padding-block: var(--s-7) var(--s-6); }
  .rows { gap: var(--s-8); }
  .statement { font-size: var(--step-1); line-height: 1.45; }
  /* The product sub-nav scrolls sideways: fade the right edge so the cut-off item reads as "more" */
  .subnav ul { padding-right: var(--s-7); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
}

/* ==========================================================================
   MOTION (only without reduced motion). One easing family, short stagger.
   - data-reveal: block fades and rises 28px when it enters the viewport.
   - data-reveal-img: image opens from an inset clip and settles from 1.18 to 1.08 scale.
   - .drift: image moves +-4% vertically while it crosses the viewport (scroll-driven).
   - Hero: the three circles open in sequence on load and drift at different speeds on scroll.
   - Hover: images in product tiles and rows zoom slightly; links grow an underline.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Hidden start states apply ONLY when the script has confirmed it can reveal (html.reveal-on).
     Without that class, for example when JavaScript fails or an old cached script runs, everything shows. */
  .reveal-on [data-reveal] {
    transition: opacity var(--dur-reveal) var(--ease-out), translate var(--dur-reveal) var(--ease-out);
    transition-delay: calc(var(--i, 0) * var(--stagger));
  }
  .reveal-on [data-reveal]:not(.is-in) { opacity: 0; translate: 0 28px; }

  .reveal-on [data-reveal-img] {
    transition: clip-path var(--dur-img) var(--ease-out);
    transition-delay: calc(var(--i, 0) * 120ms);
  }
  .reveal-on [data-reveal-img]:not(.is-in) { clip-path: inset(12% 12% 12% 12% round var(--radius)); }
  .reveal-on .hero-img[data-reveal-img]:not(.is-in) { clip-path: circle(0% at 50% 50%); }
  .reveal-on .hero-img[data-reveal-img].is-in { clip-path: circle(50% at 50% 50%); }
  .reveal-on [data-reveal-img] img { transition: scale 1600ms var(--ease-out); transition-delay: inherit; }
  .reveal-on [data-reveal-img]:not(.is-in) img { scale: 1.18; }
  [data-reveal-img] img { scale: 1.08; } /* room for the drift; same with or without the script */

  /* hover: product tiles and rows */
  .tile:hover [data-reveal-img] img,
  .row:hover [data-reveal-img] img { scale: 1.13; transition: scale 900ms var(--ease-out); transition-delay: 0s; }

  @supports (animation-timeline: view()) {
    .drift img { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes drift { from { translate: 0 -4%; } to { translate: 0 4%; } }
    /* hero depth: the circles move up at different speeds as the page scrolls */
    .hero-img { animation: float linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero-img-1 { --float: -24px; }
    .hero-img-2 { --float: -64px; }
    .hero-img-3 { --float: -110px; }
    @keyframes float { to { translate: 0 var(--float); } }
  }
}

/* Print: always show everything */
@media print {
  [data-reveal], [data-reveal-img] { opacity: 1 !important; translate: none !important; clip-path: none !important; }
}

/* Reduced motion: everything static and visible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
