/* Audiosee site styles. Right-to-left.
   Type and buttons follow topaudio.co.il; background: white panels on light grey (chosen by Shahal, 2026-09-22). */

:root {
  --page-bg: #e8e8e8;
  --bg: #ffffff;
  --soft-bg: #f4f4f4;
  --text: #171717;
  --muted: #525252;
  --subtle: #6b6b6b;
  --line: rgba(23, 23, 23, 0.1);
  --line-strong: rgba(23, 23, 23, 0.4);
  --button: #11496c;
  --button-hover: #0d3a56;
  --button-text: #ffffff;
  --focus: #0b61cd;
  --todo: #e0a93b;

  /* Accent colours from the Audiosee logo, used on graphics only (lines, icons, drawing), never on body text.
     --light-warm marks "light / power" moments: the lit keypad scene and the power layer of the floor plan. */
  --accent: #5c92c1;
  --brand-navy: #11496c;
  --light-warm: #e39b2d;
  --grid-line: rgba(23, 23, 23, 0.05);

  /* Dark panels */
  --dark-bg: #14293a;
  --dark-text: #f5f5f5;
  --dark-muted: #a3a3a3;
  --dark-subtle: #8f8f8f;
  --dark-line: rgba(255, 255, 255, 0.14);
  --dark-line-strong: rgba(255, 255, 255, 0.4);

  /* Topaudio uses Fedra Sans Hebrew (paid). Assistant is the closest free match. */
  --font: "Assistant", "Heebo", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --panel-gap: clamp(8px, 1.4vw, 20px);
  --panel-radius: clamp(16px, 2.4vw, 24px);
  --max: 1200px;
  --section-y: clamp(64px, 9vw, 128px);
  --header-h: 76px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font);
  font-size: calc(clamp(16px, 0.35vw + 15px, 18px) * var(--a11y-scale, 1));
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.025em; }
p { margin: 0; }

.container {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Accessibility controls (IS 5568). The site is accessible on its own; these are user preferences on top. */
html { font-size: calc(100% * var(--a11y-scale, 1)); }
html.a11y-font-1 { --a11y-scale: 1.12; }
html.a11y-font-2 { --a11y-scale: 1.25; }
html.a11y-font-3 { --a11y-scale: 1.4; }

html.a11y-contrast {
  --page-bg: #ffffff; --bg: #ffffff; --soft-bg: #ffffff;
  --text: #000000; --muted: #000000; --subtle: #1a1a1a;
  --line: rgba(0, 0, 0, 0.55); --line-strong: #000000;
  --accent: #0b3fa8; --brand-navy: #0b3fa8; --light-warm: #8a4b00;
  --button: #000000; --button-hover: #222222; --button-text: #ffffff;
  --dark-bg: #000000; --dark-text: #ffffff; --dark-muted: #ffffff; --dark-subtle: #ffffff;
  --dark-line: rgba(255, 255, 255, 0.7); --dark-line-strong: #ffffff;
  --grid-line: transparent;
}
html.a11y-contrast .hero::before,
html.a11y-contrast .hero::after { display: none; }
html.a11y-contrast main > section,
html.a11y-contrast .site-footer { border: 1px solid #000000; }

html.a11y-links a { text-decoration: underline; text-underline-offset: 3px; }

html.a11y-motion *,
html.a11y-motion *::before,
html.a11y-motion *::after { animation: none !important; transition: none !important; }
html.a11y-motion { scroll-behavior: auto; }
html.a11y-motion .reveal { opacity: 1 !important; transform: none !important; }

.a11y { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 90; }
.a11y-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--bg); color: var(--text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.a11y-toggle:hover { background: var(--soft-bg); }
.a11y-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.a11y-panel {
  position: absolute; inset-inline-end: 0; bottom: calc(100% + 10px); width: min(260px, calc(100vw - 32px));
  display: grid; gap: 8px; padding: 16px;
  max-height: calc(100vh - 110px); overflow-y: auto;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: calc(var(--radius) * 2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.a11y-panel[hidden] { display: none; }
.a11y-title { margin-bottom: 4px; font-weight: 600; }
.a11y-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-panel button {
  padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--bg); color: var(--text); font: inherit; font-size: 15px; cursor: pointer; text-align: center;
}
.a11y-panel button:hover { background: var(--soft-bg); }
.a11y-panel button[aria-pressed="true"] { background: var(--button); color: var(--button-text); border-color: var(--button); }
.a11y-panel a { font-size: 15px; text-align: center; }

@media print { .a11y { display: none; } }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -120px; z-index: 100;
  background: var(--button); color: var(--button-text); padding: 10px 16px;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Draft markers: remove .draft-bar and .todo before launch */
.draft-bar {
  background: #fffbeb; color: #92400e;
  border-bottom: 1px solid #fde68a;
  font-size: 14px; font-weight: 600; text-align: center;
  padding: 6px var(--gutter);
}
.todo {
  outline: 1.5px dashed var(--todo);
  outline-offset: 4px;
  border-radius: 2px;
  cursor: help;
}

/* Panels: every section is a rounded white panel on the grey page; dark panels redefine the colour variables */
main > section,
.site-footer {
  margin: 14px var(--panel-gap);
  border-radius: var(--panel-radius);
}
main > section { background: var(--bg); }
.section--dark,
.site-footer {
  --bg: var(--dark-bg);
  --text: var(--dark-text);
  --muted: var(--dark-muted);
  --subtle: var(--dark-subtle);
  --line: var(--dark-line);
  --line-strong: var(--dark-line-strong);
  --button: #ffffff;
  --button-hover: #e5e5e5;
  --button-text: #111111;
  --focus: #7fb2ff;
  --grid-line: rgba(255, 255, 255, 0.06);
  background: var(--bg);
  color: var(--text);
}

/* Shared pieces */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  font-size: 15px; font-weight: 600;
  color: var(--subtle);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 26px; border-radius: var(--radius); border: 1px solid transparent;
  font-size: 1rem; font-weight: 500; text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--button); color: var(--button-text); }
.btn-primary:hover { background: var(--button-hover); }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: var(--bg); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 3px; border-bottom: 1px solid currentColor;
  font-weight: 600; text-decoration: none;
}
.link-arrow::after { content: "←"; transition: transform 0.2s; }
.link-arrow:hover::after { transform: translateX(-4px); }

.checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: 12px; }
.checks li::before { content: ""; flex: none; width: 14px; height: 2px; margin-top: 0.8em; background: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(232, 232, 232, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; }
/* The logo file has a white background; multiply lets the header colour show through it */
.brand-logo { width: auto; height: 36px; mix-blend-mode: multiply; }
@media (max-width: 420px) { .brand-logo { height: 28px; } }
.site-nav ul { display: flex; gap: clamp(16px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 8px 0;
  font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--subtle); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.header-end { display: flex; align-items: center; gap: 12px; }
.header-phone {
  padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.2s, color 0.2s;
}
.header-phone:hover { background: var(--button); color: var(--button-text); }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: transparent; color: var(--text);
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 16px; height: 1.5px; background: currentColor; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; inset-inline: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; inset-inline: var(--panel-gap); top: 100%;
    background: var(--bg); border-radius: var(--panel-radius);
    box-shadow: 0 16px 40px rgba(15, 20, 30, 0.12);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 4px var(--gutter) 16px; }
  .site-nav li:last-child a { border-bottom: 0; }
  .site-nav a { padding: 14px 0; font-size: 19px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .header-phone { padding: 8px 10px; font-size: 15px; }
  .nav-toggle-label { display: none; }
}

/* Hero atmosphere: a faint drawing grid and a warm glow, shared by the home hero and inner page heroes */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 25% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at 25% 40%, #000 0%, transparent 75%);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  left: -18vw; top: -30vw;
  background: radial-gradient(circle, rgba(92, 146, 193, 0.18), transparent 62%);
}

/* Home hero */
.hero-grid {
  display: grid; grid-template-columns: 1.3fr 0.7fr; align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 72px);
}
.hero h1 {
  font-size: clamp(2.5rem, 3.6vw + 1.2rem, 4.4rem);
  line-height: 1.04;
  text-wrap: balance;
}
.hero-lede {
  max-width: 40em; margin-top: 26px;
  font-size: clamp(1.08rem, 0.5vw + 0.98rem, 1.25rem);
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 38px; }

.hero-visual { display: flex; justify-content: center; }
.keypad-art { width: min(100%, 340px); height: auto; overflow: visible; }
.kp-glow-stop-1 { stop-color: var(--light-warm); stop-opacity: 0.32; }
.kp-glow-stop-2 { stop-color: var(--light-warm); stop-opacity: 0; }
.kp-plate { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1.5; filter: drop-shadow(0 18px 28px rgba(10, 15, 25, 0.14)); }
.kp-btn rect { fill: transparent; stroke: var(--line-strong); stroke-width: 1.5; }
.kp-btn text { fill: var(--muted); font-family: var(--font); font-size: 19px; font-weight: 600; text-anchor: middle; }
.kp-btn:first-of-type rect { fill: var(--light-warm); stroke: var(--light-warm); }
.kp-btn:first-of-type text { fill: #1f1405; }

/* One short pass through the scenes (under 5 seconds, per the accessibility standard), ending on the first scene */
@media (prefers-reduced-motion: no-preference) {
  .kp-btn:not(:first-of-type) rect { animation: kp-flash 1.1s ease calc(var(--i) * 1.1s); }
  .kp-btn:not(:first-of-type) text { animation: kp-flash-text 1.1s ease calc(var(--i) * 1.1s); }
  .kp-btn:first-of-type rect { animation: kp-first 4.4s linear; }
  .kp-btn:first-of-type text { animation: kp-first-text 4.4s linear; }
  .kp-glow { animation: kp-glow-in 1.2s ease both; }
}
@keyframes kp-flash { 0%, 88% { fill: var(--light-warm); stroke: var(--light-warm); } 100% { fill: transparent; stroke: var(--line-strong); } }
@keyframes kp-flash-text { 0%, 88% { fill: #1f1405; } 100% { fill: var(--muted); } }
@keyframes kp-first { 0%, 22% { fill: var(--light-warm); stroke: var(--light-warm); } 25%, 97% { fill: transparent; stroke: var(--line-strong); } 100% { fill: var(--light-warm); stroke: var(--light-warm); } }
@keyframes kp-first-text { 0%, 22% { fill: #1f1405; } 25%, 97% { fill: var(--muted); } 100% { fill: #1f1405; } }
@keyframes kp-glow-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .keypad-art { width: min(70%, 260px); }
}

/* Inner page hero */
.page-hero { padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 104px); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.page-hero-media { margin: 0; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) * 2); }
.page-hero-media figcaption { margin-top: 10px; font-size: 14px; color: var(--subtle); }
.hero-brand-link { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.hero-brand-link:hover { color: var(--text); }
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: 1fr; } }
.page-hero h1 { max-width: 900px; font-size: clamp(2.3rem, 3.4vw + 1.1rem, 4.1rem); line-height: 1.05; text-wrap: balance; }
.page-hero .hero-lede { max-width: 42em; }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 30px; padding: 0; list-style: none;
  font-size: 15px; color: var(--subtle);
}
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: 0.6; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Facts */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0; border-top: 1px solid var(--line);
}
.fact {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px;
  padding-block: 26px 34px; padding-inline-end: 24px;
}
.fact + .fact { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.fact dd { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; font-size: clamp(1.45rem, 1.2vw + 1rem, 2.1rem); }
.fact dt { font-size: 15px; color: var(--muted); }

@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* Sections */
.section { padding-block: var(--section-y); }

.section-head {
  display: grid; grid-template-columns: 1fr 1fr; align-items: end;
  gap: 24px 72px; margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head h2 { font-size: clamp(2rem, 2.4vw + 1.1rem, 3.3rem); line-height: 1.08; text-wrap: balance; }
.section-head > p { max-width: 34em; color: var(--muted); }

@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Department gates */
.gates { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.gate {
  --gate-pad: clamp(28px, 4vw, 52px);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: var(--gate-pad);
  background: var(--soft-bg); border: 1px solid transparent; border-radius: calc(var(--radius) * 2);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.gate:hover { border-color: var(--line-strong); box-shadow: 0 16px 40px rgba(15, 20, 30, 0.08); transform: translateY(-2px); }
.gate:has(.gate-link:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.gate-media {
  width: calc(100% + 2 * var(--gate-pad)); max-width: none;
  margin: calc(-1 * var(--gate-pad)) calc(-1 * var(--gate-pad)) 28px;
  aspect-ratio: 16 / 9; object-fit: cover;
}
.gate-label { margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--subtle); }
.gate-title { margin-bottom: 14px; font-size: clamp(1.75rem, 1.6vw + 1.1rem, 2.5rem); line-height: 1.1; }
.gate-text { margin-bottom: 22px; color: var(--muted); }
.gate .checks { margin-bottom: 36px; }
.gate-link { margin-top: auto; }
.gate-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.gate-link:focus-visible { outline: none; }

@media (max-width: 760px) { .gates { grid-template-columns: 1fr; } }

/* Departments working together */
.together { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 88px); }
.together-text h2 { margin-bottom: 20px; font-size: clamp(2rem, 2.4vw + 1.1rem, 3.3rem); line-height: 1.08; text-wrap: balance; }
.together-text > p { max-width: 34em; color: var(--muted); }
.points { display: grid; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.points li { padding-block: 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.points strong { color: var(--text); font-weight: 600; }

@media (max-width: 960px) {
  .together { grid-template-columns: 1fr; }
  .together .plan { max-width: 560px; }
}

/* Floor plan drawing */
.plan { margin: 0; }
.plan svg { width: 100%; height: auto; overflow: visible; }
.plan .labels text { fill: var(--subtle); font-family: var(--font); font-size: 13px; text-anchor: middle; }
.plan .wall { fill: none; stroke: var(--text); stroke-width: 5; stroke-linecap: square; }
.plan .wall-inner { stroke-width: 3.5; }
.plan .door { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.plan .power { fill: none; stroke: var(--light-warm); stroke-width: 2.4; }
.plan .lv path { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-dasharray: 6 5; }
.plan .ctrl { fill: none; stroke: var(--text); stroke-width: 2.2; stroke-dasharray: 0.5 6; stroke-linecap: round; }
.plan .panel { fill: var(--line); stroke: var(--text); stroke-width: 2; }
.plan .port { fill: var(--text); }
.plan .sym-power circle, .plan .sym-power path { fill: var(--bg); stroke: var(--light-warm); stroke-width: 2; }
.plan .socket { fill: var(--light-warm); stroke: var(--bg); stroke-width: 2; }
.plan .sym-lv, .plan .sym-lv rect, .plan .sym-lv path { fill: var(--bg); stroke: var(--accent); stroke-width: 1.8; }
.plan .screen { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; }
.plan .sym-ctrl { fill: var(--bg); stroke: var(--text); stroke-width: 1.8; }

/* Clicking a legend button shows one layer and dims the others */
.plan .layer { transition: opacity 0.35s ease; }
.plan[data-focus="power"] .layer:not(.layer-power),
.plan[data-focus="lv"] .layer:not(.layer-lv),
.plan[data-focus="ctrl"] .layer:not(.layer-ctrl) { opacity: 0.12; }

.plan-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.plan-legend button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 99px;
  background: transparent; color: var(--text);
  font: inherit; font-size: 15px; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.plan-legend button:hover { border-color: var(--text); }
.plan-legend button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.plan-legend svg { width: 34px; height: 8px; }
.power-sample { stroke: var(--light-warm); stroke-width: 2.4; }
.lv-sample { stroke: var(--accent); stroke-width: 1.8; stroke-dasharray: 6 5; }
.ctrl-sample { stroke: currentColor; stroke-width: 2.2; stroke-dasharray: 0.5 6; stroke-linecap: round; }
.plan-note { min-height: 3.3em; margin-top: 14px; font-size: 15px; color: var(--muted); }

/* The drawing animates when it scrolls into view (only when scripts run and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .plan .power { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .plan .lv, .js .plan .ctrl, .js .plan .syms { opacity: 0; }
  .js .plan.is-visible .power { animation: plan-draw 1.6s cubic-bezier(0.6, 0.1, 0.2, 1) forwards; animation-delay: var(--d, 0s); }
  .js .plan.is-visible .lv,
  .js .plan.is-visible .ctrl,
  .js .plan.is-visible .syms { animation: plan-fade 0.9s ease forwards; animation-delay: var(--d, 1.2s); }
}
@keyframes plan-draw { to { stroke-dashoffset: 0; } }
@keyframes plan-fade { to { opacity: 1; } }

/* Sections fade in as they scroll into view */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal:nth-child(2) { transition-delay: 0.08s; }
  .js .reveal:nth-child(3) { transition-delay: 0.16s; }
  .js .reveal:nth-child(4) { transition-delay: 0.24s; }
}
@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* Rows on department pages */
.rows-section { padding-top: clamp(24px, 4vw, 48px); }
.row {
  display: grid; grid-template-columns: 1fr 1.35fr;
  gap: 20px clamp(32px, 6vw, 88px);
  padding-block: clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.row-icon { display: block; width: 44px; height: 44px; margin-bottom: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 16px; }
.brand-strip img { width: auto; height: 24px; }
.row-index { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 600; color: var(--subtle); font-variant-numeric: tabular-nums; }
.row-head h2 { font-size: clamp(1.8rem, 1.8vw + 1.1rem, 2.7rem); line-height: 1.1; text-wrap: balance; }
.row-body > p { margin-bottom: 22px; color: var(--muted); }
.row-media { margin: 0 0 24px; }
.row-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--radius) * 2); }
.row-media--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-media--pair img { aspect-ratio: 4 / 3; }
.row-media img.is-product { object-fit: contain; padding: 6%; background: #ffffff; border: 1px solid var(--line); }
.row-media figcaption { grid-column: 1 / -1; font-size: 14px; color: var(--subtle); }
.row-media-placeholder {
  display: grid; place-items: center; aspect-ratio: 16 / 9; margin-bottom: 24px; padding: 24px;
  background: var(--soft-bg); border-radius: calc(var(--radius) * 2);
  font-size: 15px; color: var(--subtle); text-align: center;
}

/* Field photos */
.field-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; height: clamp(320px, 38vw, 520px); }
.field-grid--pair { grid-template-columns: 1fr 1fr; height: clamp(220px, 26vw, 380px); }
.field-grid--tall { grid-template-columns: repeat(4, 1fr); height: auto; }
.field-grid--tall img { height: auto; aspect-ratio: 3 / 4; }
.field-grid figure { min-height: 0; margin: 0; }
.field-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) * 2); }
.field-caption { margin-top: 14px; font-size: 14px; color: var(--subtle); }

@media (max-width: 760px) {
  .field-grid { grid-template-columns: 1fr 1fr; height: auto; }
  .field-grid .field-main { grid-column: 1 / -1; }
  .field-grid img { height: auto; aspect-ratio: 3 / 4; }
  .field-grid .field-main img { aspect-ratio: 16 / 9; }
  .field-grid--pair { grid-template-columns: 1fr; }
  .field-grid--tall { grid-template-columns: 1fr 1fr; }
  .field-grid--pair img { aspect-ratio: 16 / 9; }
}

@media (max-width: 860px) { .row { grid-template-columns: 1fr; } }

.service-index, .step-index { font-size: 15px; font-weight: 600; color: var(--subtle); font-variant-numeric: tabular-nums; }

/* Text pages (accessibility, privacy) */
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 12px; font-size: clamp(1.45rem, 0.8vw + 1.2rem, 1.9rem); line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; color: var(--muted); }
.prose p a:not(.btn) { color: var(--text); }
.prose .checks { color: var(--muted); }
.prose-contact { margin-top: 18px; }
.prose-date { margin-top: 40px; font-size: 15px; color: var(--subtle); }
.not-found-links { margin-top: 26px; font-size: 1.1rem; }

/* Articles */
.page-hero--article h1 { font-size: clamp(2.1rem, 2.4vw + 1.2rem, 3.4rem); line-height: 1.1; }
.article-meta { margin-top: 20px; font-size: 15px; color: var(--subtle); }
.article-figure { margin: 0 0 8px; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--radius) * 2); }
.article-figure figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  margin-top: 10px; font-size: 14px; color: var(--subtle);
}
.article-figure--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.article-figure--pair img { aspect-ratio: 4 / 3; }
.article-figure--pair figcaption { grid-column: 1 / -1; }
.article-figure--tall img { aspect-ratio: 3 / 4; }
.article-body .checks { margin-bottom: 14px; }
.article-body .checks strong { font-weight: 600; color: var(--text); }
.article-table { width: 100%; max-width: 460px; margin: 6px 0 20px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.article-table caption { margin-bottom: 8px; font-size: 15px; color: var(--subtle); text-align: start; }
.article-table th, .article-table td { padding-block: 10px; padding-inline-end: 24px; border-bottom: 1px solid var(--line); text-align: start; }
.article-table th { font-size: 15px; font-weight: 600; color: var(--subtle); }
.article-table td { color: var(--muted); }
.article-table td:first-child { font-weight: 600; color: var(--text); }
.article-cta { margin-top: 48px; }
.article-cta p { margin-bottom: 0; }
.article-more { display: flex; flex-wrap: wrap; gap: 16px 36px; margin-top: 32px; }

.article-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px);
  margin: 0; padding: 0; list-style: none;
}
.article-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--soft-bg); border-radius: calc(var(--radius) * 2);
}
.article-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(22px, 3vw, 34px); }
.article-card-kicker { margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--subtle); }
.article-card h2 { margin-bottom: 10px; font-size: clamp(1.35rem, 0.7vw + 1.15rem, 1.75rem); line-height: 1.2; text-wrap: balance; }
.article-card h2 a { color: inherit; text-decoration: none; }
.article-card h2 a::after { content: ""; position: absolute; inset: 0; }
.article-card h2 a:hover { text-decoration: underline; }
.article-card-body > p:not(.article-card-kicker) { margin-bottom: 22px; color: var(--muted); }
.article-card .link-arrow { margin-top: auto; }
.article-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }

@media (max-width: 760px) { .article-list { grid-template-columns: 1fr; } }

.row-body > .row-more { margin: 26px 0 0; color: var(--text); }

/* Project notes */
.projects-note { margin-top: 32px; max-width: 40em; color: var(--muted); }

/* Audiences and principles */
.audiences {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px;
  margin: 0; padding: 0; list-style: none;
}
.audience { display: flex; flex-direction: column; align-items: flex-start; padding-top: 26px; border-top: 2px solid var(--text); }
.audience h3 { margin-bottom: 10px; font-size: clamp(1.4rem, 0.6vw + 1.2rem, 1.65rem); line-height: 1.2; }
.audience p { margin-bottom: 20px; color: var(--muted); }
.audience .link-arrow { margin-top: auto; }

@media (max-width: 860px) { .audiences { grid-template-columns: 1fr; } }

/* Split text and image */
.split {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center;
  gap: clamp(36px, 6vw, 88px);
}
.split-text h2 { margin-bottom: 22px; font-size: clamp(2rem, 2.4vw + 1.1rem, 3.3rem); line-height: 1.08; text-wrap: balance; }
.split-text > p { max-width: 34em; color: var(--muted); }
.split-text > p + p { margin-top: 14px; }
.split-text .checks { margin-top: 24px; }
.split-text .link-arrow { margin-top: 30px; }
.split-text .split-links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 30px; }
.split-text .split-links .link-arrow { margin-top: 0; }
.split-media { margin: 0; }
.split-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) * 2); }
.checks--wide { max-width: 900px; }
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 32px);
  margin: 0; padding: 0; list-style: none;
}
.product-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--bg); border-radius: calc(var(--radius) * 2); }
.product-card h3 { margin: 16px 0 6px; font-size: clamp(1.2rem, 0.5vw + 1.05rem, 1.45rem); }
.product-card p { color: var(--muted); font-size: 15px; }
.product-grid + .field-caption { margin-top: 20px; }
.download-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 20px 0 22px; }
.download-note { font-size: 14px; color: var(--subtle); }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }
.faq { margin-top: 8px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-weight: 400; color: var(--subtle); }
.faq-item[open] summary::after { content: "-"; }
.faq-item summary:hover { color: var(--accent); }
.faq-item > p { margin: 0 0 18px; color: var(--muted); }
.audiences--4 { grid-template-columns: repeat(2, 1fr); }
.steps-list { margin: 0 0 14px; padding-inline-start: 20px; color: var(--muted); }
.steps-list li { margin-bottom: 6px; }
.trademark-line { margin-top: 24px; font-size: 14px; color: var(--subtle); }
.media-strip--wide { margin: 36px 0 0; }
.media-strip--wide img { aspect-ratio: 4 / 3; border-radius: calc(var(--radius) * 2); }
.media-strip figcaption {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 6px 16px; font-size: 14px; color: var(--subtle);
}
.media-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
@media (max-width: 560px) {
  .media-strip { grid-template-columns: 1fr 1fr; }
  .media-strip img:nth-of-type(3) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .audiences--4 { grid-template-columns: 1fr; }
}
.media-strip img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.split-media figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
  margin-top: 12px; font-size: 14px; color: var(--subtle);
}

@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 36px;
  margin: 0; padding: 0; list-style: none;
}
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.step h3 { margin: 10px 0 8px; font-size: 1.4rem; line-height: 1.25; }
.step p { color: var(--muted); }

@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps--3 { grid-template-columns: 1fr; } }

/* Cross-link band */
.band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px 48px; padding: clamp(28px, 4vw, 52px);
  background: var(--soft-bg); border-radius: calc(var(--radius) * 2);
}
.band--brand { background: var(--dark-bg); color: var(--dark-text); }
.band--brand p { color: var(--dark-muted); }
.band--brand .eyebrow { color: var(--dark-subtle); }
.band--brand .eyebrow::before { background: var(--dark-text); }
.band--brand .btn-primary { background: #ffffff; color: #111111; }
.band--brand .btn-primary:hover { background: #e2e2e2; }
.parts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px);
  margin: 0; padding: 0; list-style: none;
}
.parts-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--bg); border: 1px solid var(--line); border-radius: calc(var(--radius) * 2); }
.parts-grid p { margin-top: 10px; font-size: 15px; font-weight: 600; text-align: center; }
.parts-grid + .field-caption { margin-top: 18px; }
@media (max-width: 860px) { .parts-grid { grid-template-columns: 1fr 1fr; } }

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 18px);
  margin: 0; padding: 0; list-style: none;
}
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) * 2); }
.gallery-grid + .field-caption { margin-top: 16px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }
.band h2 { margin-bottom: 10px; font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.3rem); line-height: 1.15; }
.band p { max-width: 40em; color: var(--muted); }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: end;
  gap: 48px clamp(40px, 7vw, 104px);
}
.contact h2 { font-size: clamp(2.2rem, 3vw + 1.1rem, 3.9rem); line-height: 1.05; text-wrap: balance; }
.contact-lede { margin: 20px 0 34px; max-width: 30em; color: var(--muted); font-size: 1.12rem; }
.contact-list { margin: 0; border-top: 1px solid var(--line); }
.contact-privacy { margin: 18px 0 0; max-width: 34em; font-size: 0.95rem; line-height: 1.6; color: var(--subtle); }
.contact-privacy a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.contact-privacy a:hover { color: var(--text); }
.contact-item {
  display: grid; grid-template-columns: 88px 1fr; align-items: baseline; gap: 16px;
  padding-block: 18px; border-bottom: 1px solid var(--line);
}
.contact-item dt { color: var(--muted); }
.contact-item dd { margin: 0; font-size: 1.2rem; font-weight: 500; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding-block: 28px; font-size: 15px; }
.site-footer p { color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
