@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/inter-tight-latin-var.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-latin-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500.woff2") format("woff2"); }
#ko-technical {
  --ko-navy: #102d4a;
  --ko-blue: #155d91;
  --ko-cyan: #21c4de;
  --ko-cta: #bf0008; /* contact red shared with the theme's header/footer contact buttons; white text 6.52:1 */
  --ko-white: #fff;
  --ko-pale: #f5f8f9;
  --ko-ink: #16262e;
  --ko-muted: #526570;
  --ko-line: #dce6e9;
  --ko-on-navy-muted: #bcc4cc;
  --ko-on-navy-line: rgb(255 255 255 / .16);
  --ko-ease: cubic-bezier(.2, .7, .2, 1);
  --ko-sticky-top: 0px;
  --ko-proof-overlap: 96px; /* how far the stat cards rise over the bottom of the hero photo */
  color: var(--ko-ink);
  background: var(--ko-white);
  font-family: "Inter Tight", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
#ko-technical, #ko-technical * { box-sizing: border-box; }
#ko-technical h1, #ko-technical h2, #ko-technical h3, #ko-technical p, #ko-technical dl, #ko-technical figure, #ko-technical ol { margin: 0; }
#ko-technical a { color: inherit; text-decoration: none; }
#ko-technical a:focus-visible { outline: 3px solid var(--ko-blue); outline-offset: 4px; }
#ko-technical .ko-hero a:focus-visible,
#ko-technical .ko-process a:focus-visible,
#ko-technical .ko-contact a:focus-visible { outline-color: var(--ko-cyan); }
#ko-technical .ko-shell { width: min(100% - 64px, 1260px); margin-inline: auto; }
#ko-technical .ko-mono { font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; }
#ko-technical .ko-kicker,
#ko-technical .ko-context,
#ko-technical .ko-pathway-num,
#ko-technical .ko-pathway-type,
#ko-technical .ko-diagram-index,
#ko-technical .ko-schematic-title,
#ko-technical .ko-step-index,
#ko-technical .ko-directory-count,
#ko-technical .ko-directory-nav a,
#ko-technical .ko-map-label {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#ko-technical h1, #ko-technical h2, #ko-technical h3 { font-family: "Inter Tight", Arial, Helvetica, sans-serif; }
#ko-technical h1 { font-size: clamp(52px, 6.8vw, 112px); font-weight: 700; line-height: .96; letter-spacing: -.02em; text-wrap: balance; }
#ko-technical h2 { font-size: clamp(38px, 4.6vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
#ko-technical .ko-section, #ko-technical .ko-contact { padding-block: clamp(88px, 11vw, 160px); }

/* ---------- Hero ---------- */
#ko-technical .ko-hero { --ko-hero-scrim: .76; position: relative; background: var(--ko-navy); color: var(--ko-white); overflow: hidden; }
#ko-technical .ko-hero-media { position: absolute; inset: 0; z-index: 0; }
#ko-technical .ko-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
#ko-technical .ko-hero-media::after { content: ""; position: absolute; inset: 0; background: var(--ko-navy); opacity: var(--ko-hero-scrim); }
#ko-technical .ko-hero-layout { position: relative; z-index: 1; min-height: clamp(560px, 88vh, 860px); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(72px, 9vw, 128px) calc(clamp(72px, 9vw, 128px) + var(--ko-proof-overlap)); }
#ko-technical .ko-context { color: var(--ko-white); font-weight: 500; } /* white, not cyan: small cyan text over the photo fell below 4.5:1 */
#ko-technical .ko-context span { padding-inline: 10px; color: var(--ko-on-navy-muted); }
#ko-technical .ko-hero h1 { margin-top: 24px; max-width: 20ch; }
#ko-technical .ko-hero h1 em {
  position: relative;
  color: var(--ko-cyan);
  font-style: normal;
  font-weight: inherit; /* the WordPress theme resets em to font-weight: normal */
}
#ko-technical .ko-hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.06em;
  height: 3px;
  background: var(--ko-cyan);
  transform: scaleX(0);
  transform-origin: left;
}
/* Browser translation (motion.js adds the classes): the tight English leading and the underline placed from the font box
   collide in other scripts, so loosen the lines and let the underline follow the baseline instead */
/* The drawn underline cannot follow a line break, so the English highlight stays on one line (translations may be longer, so they may wrap) */
#ko-technical:not(.ko-translated) .ko-hero h1 em { white-space: nowrap; }
#ko-technical.ko-translated .ko-hero h1 { max-width: none; line-height: 1.2; letter-spacing: 0; }
#ko-technical.ko-translated .ko-hero h1 em { text-decoration-line: underline; text-decoration-color: var(--ko-cyan); text-decoration-thickness: 3px; text-underline-offset: .16em; text-decoration-skip-ink: none; }
#ko-technical.ko-translated .ko-hero h1 em::after { display: none; }
/* Japanese, Chinese, Korean: full-width glyphs need a smaller size and looser lines; auto-phrase keeps Japanese phrases whole */
#ko-technical.ko-translated-cjk .ko-hero h1 { font-size: clamp(36px, 5vw, 80px); line-height: 1.3; word-break: auto-phrase; }
#ko-technical .ko-hero-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 3vw, 40px);
  align-items: end;
  margin-top: 32px;
}
#ko-technical .ko-lead { grid-column: 1 / 8; color: var(--ko-white); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.65; }
#ko-technical .ko-actions { grid-column: 9 / 13; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 28px; }
#ko-technical .ko-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
#ko-technical .ko-button span { display: inline-block; transition: transform .2s ease; }
#ko-technical .ko-button:hover span { transform: translate(3px, -3px); }
#ko-technical .ko-button:active { transform: translateY(1px); }
#ko-technical .ko-button-primary { color: var(--ko-white); background: var(--ko-cta); }
#ko-technical .ko-button-primary:hover { color: var(--ko-cta); background: var(--ko-white); }
#ko-technical .ko-text-link { color: var(--ko-white); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
#ko-technical .ko-text-link span { display: inline-block; margin-left: 8px; text-decoration: none; transition: transform .2s ease; }
#ko-technical .ko-text-link:hover span { transform: translateY(3px); }

/* Flow diagram: its own white band between About and Contact; colors run through --ko-flow-* so the band can be recolored in one place */
#ko-technical .ko-flow {
  --ko-flow-ink: var(--ko-navy);
  --ko-flow-accent: var(--ko-blue);
  --ko-flow-clean: var(--ko-blue);
  --ko-flow-ground: var(--ko-muted);
  --ko-flow-hair: var(--ko-muted);
  --ko-flow-title: var(--ko-blue);
  --ko-flow-name: var(--ko-navy);
  --ko-flow-text: var(--ko-muted);
  --ko-pw-fill: var(--ko-pale);
  background: var(--ko-white);
}
#ko-technical .ko-schematic { margin: 0; }
#ko-technical .ko-schematic-title { color: var(--ko-flow-title); font-weight: 500; }
#ko-technical .ko-schematic-diagram { display: block; width: 100%; height: auto; margin-top: 18px; color: var(--ko-flow-ink); }
#ko-technical .ko-schematic .ko-pw-hair { stroke: var(--ko-flow-hair); }
#ko-technical .ko-schematic .ko-pw-gauge { transform-origin: 600px 96px; }
#ko-technical .ko-schematic .ko-marker line { stroke: var(--ko-flow-accent); stroke-width: 1.5; stroke-linecap: round; }
#ko-technical .ko-schematic .ko-marker-ring { fill: none; stroke: var(--ko-flow-accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
#ko-technical .ko-schematic .ko-marker-dot { fill: var(--ko-flow-accent); }
#ko-technical .ko-schematic .ko-particle-odor { fill: var(--ko-flow-accent); }
#ko-technical .ko-schematic .ko-particle-clean { fill: none; stroke: var(--ko-flow-clean); }

#ko-technical .ko-schematic-legend {
  margin-top: 30px;
  padding-left: 12%;
  display: grid;
  grid-template-columns: 22fr 21fr 45fr;
  list-style: none;
  padding-block: 0;
}
#ko-technical .ko-schematic-legend li { position: relative; padding-left: 16px; }
#ko-technical .ko-schematic-legend li::before { content: ""; position: absolute; left: 0; top: 3px; width: 1px; height: 16px; background: var(--ko-flow-accent); }
#ko-technical .ko-diagram-index { display: block; color: var(--ko-flow-accent); font-weight: 500; }
#ko-technical .ko-diagram-name { display: block; margin-top: 8px; color: var(--ko-flow-name); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
#ko-technical .ko-diagram-detail { display: block; margin-top: 7px; color: var(--ko-flow-text); font-size: 13px; text-transform: none; letter-spacing: normal; font-family: "Inter Tight", Arial, Helvetica, sans-serif; }
#ko-technical .ko-schematic figcaption { margin-top: 26px; color: var(--ko-flow-text); font-size: 13px; line-height: 1.5; }

/* Draw when scrolled into view (motion.js adds .is-in); without JS or with reduced motion the finished diagram shows */
@keyframes ko-fade-in { to { opacity: 1; } }
@keyframes ko-marker-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
#ko-technical.ko-motion .ko-schematic .ko-marker, #ko-technical.ko-motion .ko-schematic .ko-particles { opacity: 0; }
#ko-technical.ko-motion .ko-schematic.is-in .ko-marker { animation: ko-fade-in 700ms var(--ko-ease) 1600ms forwards; }
#ko-technical.ko-motion .ko-schematic.is-in .ko-particles { animation: ko-fade-in 700ms var(--ko-ease) 1900ms forwards; }
#ko-technical.ko-motion .ko-schematic.is-in .ko-marker-ring { animation: ko-marker-pulse 2.4s ease-out calc(1900ms + var(--rd, 0s)) infinite; }

/* Hero entrance (pure CSS) */
#ko-technical .ko-context,
#ko-technical .ko-hero h1,
#ko-technical .ko-hero-row .ko-lead,
#ko-technical .ko-hero-row .ko-actions { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes ko-fade-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes ko-underline-in { to { transform: scaleX(1); } }
  @keyframes ko-hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
  #ko-technical .ko-hero-media img { animation: ko-hero-zoom 14s var(--ko-ease) both; }
  #ko-technical .ko-context { animation: ko-fade-up 900ms var(--ko-ease) 0ms both; }
  #ko-technical .ko-hero h1 { animation: ko-fade-up 900ms var(--ko-ease) 80ms both; }
  #ko-technical .ko-hero-row .ko-lead { animation: ko-fade-up 900ms var(--ko-ease) 220ms both; }
  #ko-technical .ko-hero-row .ko-actions { animation: ko-fade-up 900ms var(--ko-ease) 320ms both; }
  #ko-technical .ko-hero h1 em::after { animation: ko-underline-in 600ms var(--ko-ease) 1100ms both; }
}

/* ---------- Proof band: wide photo with overlapping stat cards ---------- */
#ko-technical .ko-proof { padding-block: 0 clamp(8px, 2vw, 24px); background: var(--ko-white); } /* small bottom: the next white section adds its own top padding */
#ko-technical .ko-proof-list { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: min(100% - 64px, 1120px); margin: calc(-1 * var(--ko-proof-overlap)) auto 0; counter-reset: ko-proof; }
#ko-technical .ko-proof-list > div { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; background: var(--ko-white); border: 1px solid var(--ko-line); counter-increment: ko-proof; }
/* Card index (01–04) generated with a counter so the dl stays valid (only dt/dd inside each group) */
#ko-technical .ko-proof-list > div::before { content: counter(ko-proof, decimal-leading-zero); order: 1; color: var(--ko-blue); font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; font-size: 12px; font-weight: 500; letter-spacing: .08em; }
#ko-technical .ko-proof-list > div::after { content: ""; position: absolute; top: -1px; left: 24px; right: 24px; height: 3px; background: var(--ko-blue); transform-origin: left; transition: transform 900ms var(--ko-ease) calc(var(--ko-i, 0) * 70ms + 250ms); }
#ko-technical .ko-proof-figure { order: 2; margin: 12px 0 0; color: var(--ko-navy); font-size: clamp(32px, 3.1vw, 46px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
#ko-technical .ko-proof-unit { color: var(--ko-blue); }
#ko-technical .ko-proof-list dt { order: 3; margin-top: 10px; color: var(--ko-navy); font-size: 15px; font-weight: 700; line-height: 1.35; }
#ko-technical .ko-proof-desc { order: 4; margin: 8px 0 0; color: var(--ko-muted); font-size: 14px; line-height: 1.55; }

/* ---------- Pathways ---------- */
#ko-technical .ko-section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .6fr); align-items: end; gap: 70px; margin-bottom: 48px; }
#ko-technical .ko-section-heading h2 { margin-top: 18px; color: var(--ko-navy); max-width: 740px; }
#ko-technical .ko-section-heading > p { max-width: 365px; padding-bottom: 6px; color: var(--ko-muted); font-size: 16px; line-height: 1.65; }
#ko-technical .ko-kicker { color: var(--ko-blue); font-weight: 500; }

/* Cards share row tracks (subgrid) so the icons sit at the same height even when a heading wraps */
#ko-technical .ko-pathway-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 248px auto auto; column-gap: 32px; row-gap: 0; border-top: 1px solid var(--ko-line); }
#ko-technical .ko-pathway {
  position: relative;
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  padding: 28px 0 8px;
  border-top: 1px solid var(--ko-line);
  margin-top: -1px;
}
#ko-technical .ko-pathway::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ko-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ko-ease);
}
#ko-technical .ko-pathway:hover::before, #ko-technical .ko-pathway:focus-visible::before { transform: scaleX(1); }
#ko-technical .ko-pathway-top { display: flex; align-items: center; gap: 12px; }
#ko-technical .ko-pathway-num { color: var(--ko-ink); font-weight: 500; }
#ko-technical .ko-pathway-type { color: var(--ko-blue); font-weight: 500; }
#ko-technical .ko-pathway-icon { display: block; width: 100%; max-width: 272px; height: 170px; align-self: center; justify-self: center; overflow: visible; }
#ko-technical .ko-pathway-main { align-self: end; padding-top: 24px; color: var(--ko-navy); font-size: clamp(26px, 2.3vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
#ko-technical .ko-pathway-end { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; color: var(--ko-blue); font-size: 14px; font-weight: 700; }
#ko-technical .ko-pathway-end span { display: inline-block; transition: transform .2s ease; }
#ko-technical .ko-pathway:hover .ko-pathway-end span { transform: translateY(4px); }

/* Line art: equipment bodies take a flat fill, hairlines carry detail, outlines draw in when the parent is revealed, then the loops run */
#ko-technical .ko-pw-fill { fill: var(--ko-pw-fill, var(--ko-pale)); }
#ko-technical .ko-pw-hair { fill: none; stroke: var(--ko-muted); stroke-width: 1; }
@keyframes ko-pw-draw { 0% { stroke-dashoffset: 1; fill-opacity: 0; } 70% { fill-opacity: 0; } 100% { stroke-dashoffset: 0; fill-opacity: 1; } }
@keyframes ko-pw-fade { from { opacity: 0; } to { opacity: 1; } }
#ko-technical.ko-motion .ko-pw-draw { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
#ko-technical.ko-motion .is-in .ko-pw-draw { animation: ko-pw-draw 1100ms var(--ko-ease) calc(var(--ko-i, 0) * 90ms + 250ms + var(--d, 0) * 110ms) forwards; }
#ko-technical.ko-motion .ko-pw-late { opacity: 0; }
#ko-technical.ko-motion .is-in .ko-pw-late { animation: ko-pw-fade 600ms var(--ko-ease) calc(var(--ko-i, 0) * 90ms + 1100ms) both; }

/* 01 Treatment: odor particles in, clean particles out, pressure gauge needle */
@keyframes ko-pw-drift { 0% { transform: translateX(-14px); opacity: 0; } 25%, 75% { opacity: 1; } 100% { transform: translateX(18px); opacity: 0; } }
@keyframes ko-pw-wobble { from { transform: rotate(-20deg); } to { transform: rotate(16deg); } }
#ko-technical.ko-motion .is-in .ko-pw-in circle, #ko-technical.ko-motion .is-in .ko-pw-out circle { animation: ko-pw-drift 2.4s linear var(--pd, 0s) infinite; }
#ko-technical .ko-pw-gauge { transform-box: view-box; transform-origin: 160px 26px; }
#ko-technical.ko-motion .is-in .ko-pw-gauge { animation: ko-pw-wobble 1.4s ease-in-out infinite alternate; }

/* 02 Measurement: one animated value drives the needle and the level segments */
@property --ko-pw-p { syntax: '<number>'; inherits: true; initial-value: 0; }
@keyframes ko-pw-meter { from { --ko-pw-p: .08; } to { --ko-pw-p: .95; } }
@keyframes ko-pw-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .2; } }
@keyframes ko-pw-link { to { stroke-dashoffset: -14; } }
@keyframes ko-pw-intake { 0% { transform: translateX(-8px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(16px); opacity: 0; } }
#ko-technical .ko-pw-meter { --ko-pw-p: .72; }
#ko-technical.ko-motion .is-in .ko-pw-meter { animation: ko-pw-meter 2.6s ease-in-out calc(var(--ko-i, 0) * 90ms + 1200ms) infinite alternate both; }
#ko-technical .ko-pw-needle { transform-box: view-box; transform-origin: 160px 86px; transform: rotate(calc(-62deg + var(--ko-pw-p) * 118deg)); }
#ko-technical .ko-pw-segs rect { opacity: clamp(.16, calc(var(--ko-pw-p) * 8 - var(--i)), 1); }
#ko-technical.ko-motion .is-in .ko-pw-led { animation: ko-pw-blink 1.2s linear infinite; }
#ko-technical.ko-motion .is-in .ko-pw-link { animation: ko-pw-link 1s linear infinite; }
#ko-technical.ko-motion .is-in .ko-pw-intake circle { animation: ko-pw-intake 2s ease-in var(--pd, 0s) infinite; }

/* 03 Investigation: lens scans, key atoms pulse, result bars rise, sample settles */
@keyframes ko-glass-scan { from { transform: translate(-4px, -3px); } to { transform: translate(5px, 4px); } }
@keyframes ko-dots-pulse { from { transform: scale(1); } to { transform: scale(1.35); } }
@keyframes ko-pw-bar { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
@keyframes ko-pw-float { from { transform: translateY(3px); } to { transform: translateY(-3px); } }
#ko-technical .ko-pw-glass, #ko-technical .ko-pw-key, #ko-technical .ko-pw-bag circle { transform-box: fill-box; transform-origin: center; }
#ko-technical .ko-pw-bars rect { transform-box: fill-box; transform-origin: bottom; }
#ko-technical.ko-motion .is-in .ko-pw-glass { animation: ko-glass-scan 2.4s ease-in-out calc(var(--ko-i, 0) * 90ms + 1200ms) infinite alternate both; }
#ko-technical.ko-motion .is-in .ko-pw-key { animation: ko-dots-pulse 1.2s ease-in-out infinite alternate; }
#ko-technical.ko-motion .is-in .ko-pw-bars rect { animation: ko-pw-bar 2.4s ease-in-out var(--pd, 0s) infinite alternate both; }
#ko-technical.ko-motion .is-in .ko-pw-bag circle { animation: ko-pw-float 1.8s ease-in-out var(--pd, 0s) infinite alternate; }

/* ---------- Method ---------- */
#ko-technical .ko-method { background: var(--ko-pale); }
#ko-technical .ko-method-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(48px, 7vw, 120px); }
#ko-technical .ko-method-intro { align-self: start; position: sticky; top: calc(var(--ko-sticky-top) + 48px); }
#ko-technical .ko-method-heading h2 { max-width: 630px; margin-top: 18px; color: var(--ko-navy); }
#ko-technical .ko-map { position: relative; margin-top: 24px; aspect-ratio: 640 / 336; }
#ko-technical .ko-map svg { display: block; width: 100%; height: 100%; }
#ko-technical .ko-map { --ko-pw-fill: var(--ko-white); }
#ko-technical .ko-map .ko-pw-gauge { transform-origin: 345px 213px; }
#ko-technical .ko-map-flow { color: var(--ko-blue); }
#ko-technical .ko-hot { transform-box: fill-box; transform-origin: center; transition: opacity 500ms var(--ko-ease), transform 500ms var(--ko-ease); }
#ko-technical .ko-hot-ring { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes ko-hot-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
  #ko-technical .ko-hot-ring { animation: ko-hot-pulse 2s ease-out infinite; }
}
#ko-technical .ko-map-label { position: absolute; top: 86%; transform: translateX(-50%); white-space: nowrap; color: var(--ko-navy); font-weight: 500; }

#ko-technical .ko-method-content > p:first-child { color: var(--ko-ink); font-size: 19px; line-height: 1.72; }
#ko-technical .ko-condition-list { margin-top: 40px; border-top: 1px solid var(--ko-line); }
#ko-technical .ko-condition-list > div { position: relative; min-height: 48vh; padding-block: 40px; border-top: 1px solid var(--ko-line); }
#ko-technical .ko-condition-list > div:first-child { border-top: none; }
#ko-technical .ko-step-index { display: block; margin-bottom: 14px; color: var(--ko-blue); font-weight: 500; }
#ko-technical .ko-condition-list dt { color: var(--ko-navy); font-size: clamp(30px, 3vw, 44px); font-weight: 700; letter-spacing: -.03em; }
#ko-technical .ko-condition-list dd { margin: 12px 0 0; color: var(--ko-muted); font-size: 18px; line-height: 1.6; max-width: 46ch; }
#ko-technical .ko-method-note { margin-top: 30px; color: var(--ko-muted); font-size: 13px; }

/* ---------- Process ---------- */
#ko-technical .ko-process { background: var(--ko-navy); color: var(--ko-white); }
#ko-technical .ko-process .ko-kicker { color: var(--ko-cyan); }
#ko-technical .ko-process .ko-section-heading h2 { color: var(--ko-white); }
#ko-technical .ko-process .ko-section-heading > p { color: var(--ko-on-navy-muted); }
#ko-technical .ko-process-list { --ko-gap: clamp(20px, 2.5vw, 36px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--ko-gap); margin: 0; padding: 0; list-style: none; }
#ko-technical .ko-process-list li { position: relative; padding-top: 72px; }
#ko-technical .ko-process-node {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ko-cyan);
  border-radius: 50%;
  background: var(--ko-navy);
  color: var(--ko-cyan);
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-size: 13px;
  font-weight: 500;
  transition: transform 500ms var(--ko-ease), opacity 500ms var(--ko-ease);
}
#ko-technical .ko-process-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 50px;
  right: calc(4px - var(--ko-gap));
  height: 2px;
  background: var(--ko-cyan);
  transform-origin: left;
  transition: transform 450ms var(--ko-ease);
}
#ko-technical .ko-process-list li:nth-child(1) .ko-process-node { transition-delay: 0ms; }
#ko-technical .ko-process-list li:nth-child(2) .ko-process-node { transition-delay: 420ms; }
#ko-technical .ko-process-list li:nth-child(3) .ko-process-node { transition-delay: 840ms; }
#ko-technical .ko-process-list li:nth-child(4) .ko-process-node { transition-delay: 1260ms; }
#ko-technical .ko-process-list li:nth-child(5) .ko-process-node { transition-delay: 1680ms; }
#ko-technical .ko-process-list li:nth-child(1)::after { transition-delay: 150ms; }
#ko-technical .ko-process-list li:nth-child(2)::after { transition-delay: 570ms; }
#ko-technical .ko-process-list li:nth-child(3)::after { transition-delay: 990ms; }
#ko-technical .ko-process-list li:nth-child(4)::after { transition-delay: 1410ms; }
#ko-technical.ko-motion .ko-process-list:not(.is-in) li::after { transform: scaleX(0); }
#ko-technical.ko-motion .ko-process-list:not(.is-in) .ko-process-node { transform: scale(.6); opacity: 0; }
#ko-technical .ko-process-list li h3 { color: var(--ko-white); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
#ko-technical .ko-process-list li p { margin-top: 10px; color: var(--ko-on-navy-muted); font-size: 15px; line-height: 1.6; }
#ko-technical .ko-process-note { margin-top: 48px; color: var(--ko-on-navy-muted); font-size: 13px; }

/* ---------- Directory ---------- */
#ko-technical .ko-directory-nav {
  position: sticky;
  top: var(--ko-sticky-top);
  z-index: 5;
  display: flex !important; /* the WordPress theme sets nav { display: block !important } */
  gap: clamp(20px, 3vw, 40px);
  padding-top: 18px;
  background: var(--ko-white);
  border-bottom: 1px solid var(--ko-navy);
}
#ko-technical .ko-directory-nav + .ko-directory-group { border-top: 0; }
#ko-technical .ko-directory-nav a { position: relative; padding-bottom: 16px; color: var(--ko-muted); font-weight: 600; text-transform: none; letter-spacing: normal; font-size: 15px; font-family: "Inter Tight", Arial, Helvetica, sans-serif; white-space: nowrap; transition: color .2s ease; }
#ko-technical .ko-directory-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ko-blue); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ko-ease); }
#ko-technical .ko-directory-nav a[aria-current="location"] { color: var(--ko-navy); }
#ko-technical .ko-directory-nav a[aria-current="location"]::after { transform: scaleX(1); }
#ko-technical .ko-directory-count { margin-left: 8px; font-weight: 500; text-transform: none; letter-spacing: .04em; }

#ko-technical .ko-directory-group { padding-block: 42px 70px; border-top: 1px solid var(--ko-navy); }
#ko-technical .ko-directory-group[id] { scroll-margin-top: calc(var(--ko-sticky-top) + 96px); }
#ko-technical .ko-directory-group + .ko-directory-group { border-color: var(--ko-line); }
#ko-technical .ko-directory-group h3 { margin-bottom: 26px; color: var(--ko-navy); font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.02em; }
#ko-technical .ko-group-note { margin: -14px 0 26px; max-width: 60ch; color: var(--ko-muted); font-size: 16px; line-height: 1.6; }

#ko-technical .ko-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 14px; min-width: 0; }
#ko-technical .ko-tile { display: block; min-width: 0; color: var(--ko-ink); }
#ko-technical .ko-tile:focus-visible { outline-offset: 5px; }
#ko-technical .ko-tile-photo { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
#ko-technical .ko-tile-visual { display: block; min-height: 0; overflow: hidden; background: var(--ko-pale); }
#ko-technical .ko-tile-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: scale 1400ms var(--ko-ease); }
#ko-technical .ko-tile-zeogaia img { transform: scale(1.2); }
#ko-technical .ko-tile-neo img { object-fit: contain; transform: scale(1.06); }
#ko-technical .ko-tile-polfa img { transform: scale(1.12); }
#ko-technical .ko-tile-limos img { transform: scale(1.03); }
#ko-technical .ko-tile-carbon img, #ko-technical .ko-tile-ozonizer img { object-fit: contain; }
#ko-technical .ko-tile-panel { display: grid; gap: 5px; padding: 11px 0 0; color: var(--ko-ink); transition: color 300ms ease, background-color 300ms ease; }
#ko-technical .ko-tile-panel strong { color: var(--ko-navy); font-size: 16px; line-height: 1.25; transition: color 300ms ease; }
#ko-technical .ko-tile-panel > span:not(.ko-tile-action) { font-size: 14px; line-height: 1.4; transition: color 300ms ease; }
#ko-technical .ko-tile-action { display: inline-flex; gap: 8px; margin-top: 3px; color: var(--ko-blue); font-size: 12px; font-weight: 700; text-transform: none; letter-spacing: normal; font-family: "Inter Tight", Arial, Helvetica, sans-serif; transition: color 300ms ease; }
#ko-technical .ko-tile-action span { display: inline-block; transition: transform .2s ease; }
@media (hover: hover) {
  #ko-technical .ko-tile:hover .ko-tile-visual img { scale: 1.04; transition: scale 700ms var(--ko-ease); }
  #ko-technical .ko-tile:hover .ko-tile-action span { transform: translate(3px, -3px); }
  #ko-technical .ko-tile-text:hover { background: var(--ko-navy); }
  #ko-technical .ko-tile-text:hover .ko-tile-panel strong,
  #ko-technical .ko-tile-text:hover .ko-tile-panel > span:not(.ko-tile-action) { color: var(--ko-white); }
  #ko-technical .ko-tile-text:hover .ko-tile-action { color: var(--ko-cyan); }
  #ko-technical .ko-tile-text:hover .ko-tile-panel > span.ko-tile-spec { color: var(--ko-on-navy-muted); }
}

#ko-technical .ko-tile-neo { grid-column: 6 / span 4; grid-row: 1 / span 2; }
#ko-technical .ko-tile-zeogaia { grid-column: 1 / span 5; grid-row: 1 / span 3; }
#ko-technical .ko-tile-zeogaia .ko-tile-panel strong { font-size: 20px; }
#ko-technical .ko-tile-systems { grid-column: 6 / -1; grid-row: 5 / span 2; }
#ko-technical .ko-tile-carbon { grid-column: 6 / span 4; grid-row: 3 / span 2; }
#ko-technical .ko-tile-ozonizer { grid-column: 10 / -1; grid-row: 3 / span 2; }
#ko-technical .ko-tile-microgel { grid-column: 1 / span 5; grid-row: 4 / span 3; }
#ko-technical .ko-tile-kitchen { grid-column: 10 / -1; grid-row: 1 / span 2; }
#ko-technical .ko-tile-levion { grid-column: 1 / -1; grid-row: 7; }
#ko-technical .ko-tile-text { background: var(--ko-pale); transition: background-color 300ms ease; }
#ko-technical .ko-tile-text .ko-tile-panel { display: flex; flex-direction: column; justify-content: center; width: 100%; height: 100%; padding: 24px 28px; }
#ko-technical .ko-tile-text .ko-tile-panel strong { font-size: clamp(20px, 2vw, 27px); line-height: 1.15; }
#ko-technical .ko-tile-text .ko-tile-panel > span:not(.ko-tile-action) { font-size: 15px; }
#ko-technical .ko-tile-polfa { grid-column: 1 / span 4; grid-row: 1 / span 3; }
#ko-technical .ko-tile-limos { grid-column: 5 / span 5; grid-row: 1 / span 3; }
#ko-technical .ko-tile-sensor { grid-column: 10 / -1; grid-row: 1 / span 3; }
#ko-technical .ko-gallery-services { grid-template-rows: 350px 430px; grid-auto-rows: auto; }
#ko-technical .ko-tile-assessment { grid-column: 1 / span 5; grid-row: 1; }
#ko-technical .ko-tile-index { grid-column: 6 / -1; grid-row: 1; }
#ko-technical .ko-tile-analysis { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); align-items: stretch; }
#ko-technical .ko-tile-analysis .ko-tile-panel { display: flex; flex-direction: column; justify-content: center; padding: 36px 42px; background: var(--ko-pale); }
#ko-technical .ko-tile-analysis .ko-tile-panel strong { font-size: clamp(25px, 2.7vw, 38px); line-height: 1.12; }
#ko-technical .ko-tile-analysis .ko-tile-panel > span:not(.ko-tile-action) { margin-top: 12px; font-size: 16px; }
#ko-technical .ko-tile-analysis .ko-tile-action { margin-top: 22px; font-size: 13px; }
#ko-technical .ko-tile-analysis img { object-position: center 45%; }
/* Spec line: selector is deliberately as specific as the generic tile-panel span rules above, and sits after them */
#ko-technical .ko-tile .ko-tile-panel > span.ko-tile-spec { color: var(--ko-muted); font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; font-size: 11px; line-height: 1.5; letter-spacing: .04em; text-transform: none; transition: color 300ms ease; }

/* ---------- About ---------- */
#ko-technical .ko-about { background: var(--ko-pale); }
#ko-technical .ko-about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
#ko-technical .ko-about-intro { position: sticky; top: calc(var(--ko-sticky-top) + 48px); }
#ko-technical .ko-about h2 { max-width: 640px; margin-top: 18px; color: var(--ko-navy); }
#ko-technical .ko-about-lead { max-width: 56ch; margin-top: 28px; color: var(--ko-ink); font-size: 19px; line-height: 1.7; }
#ko-technical .ko-about-facts { margin-top: 40px; border-top: 1px solid var(--ko-line); }
#ko-technical .ko-about-facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--ko-line); }
#ko-technical .ko-about-facts dt { padding-top: 3px; color: var(--ko-muted); font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
#ko-technical .ko-about-facts dd { margin: 0; color: var(--ko-navy); font-size: 16px; }

#ko-technical .ko-timeline { margin: 0; padding: 0; list-style: none; }
#ko-technical .ko-timeline li { position: relative; padding: 0 0 40px 44px; }
#ko-technical .ko-timeline li::after { content: ""; position: absolute; top: 4px; left: 0; box-sizing: border-box; width: 14px; height: 14px; border: 2px solid var(--ko-blue); border-radius: 50%; background: var(--ko-pale); }
#ko-technical .ko-timeline li:not(:last-child)::before { content: ""; position: absolute; top: 22px; bottom: -4px; left: 6px; width: 2px; background: var(--ko-blue); transform-origin: top; transition: transform 700ms var(--ko-ease) 200ms; }
#ko-technical.ko-motion .ko-timeline li:not(.is-in)::before { transform: scaleY(0); }
#ko-technical .ko-timeline-year { display: block; color: var(--ko-blue); font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; font-size: 13px; font-weight: 500; letter-spacing: .08em; }
#ko-technical .ko-timeline p { margin-top: 6px; color: var(--ko-navy); font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; line-height: 1.35; }

#ko-technical .ko-credentials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); margin-top: clamp(64px, 8vw, 112px); }
#ko-technical .ko-credential { padding: 28px 28px 32px; border-top: 3px solid var(--ko-navy); background: var(--ko-white); }
#ko-technical .ko-credential h3 { color: var(--ko-navy); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
#ko-technical .ko-credential p { margin-top: 12px; color: var(--ko-muted); font-size: 15px; line-height: 1.6; }
#ko-technical .ko-country-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
#ko-technical .ko-country-list li { padding: 6px 12px; border: 1px solid var(--ko-line); color: var(--ko-navy); font-size: 14px; font-weight: 600; }
#ko-technical .ko-research-list { display: grid; gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
#ko-technical .ko-research-list li { color: var(--ko-ink); font-size: 15px; line-height: 1.55; }
#ko-technical .ko-research-list li span { display: block; margin-bottom: 4px; color: var(--ko-blue); font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; font-size: 12px; letter-spacing: .08em; }

/* ---------- Contact ---------- */
#ko-technical .ko-contact { --ko-contact-scrim: .88; position: relative; background: var(--ko-navy); overflow: hidden; }
/* Coastal plant photo under a dense navy scrim behind the heading column only: it bleeds to the section's top, bottom and left
   edges and stops halfway across the column gap, so the buttons sit on plain navy (sets Contact apart from the theme footer) */
#ko-technical .ko-contact-intro { position: relative; align-self: stretch; }
#ko-technical .ko-contact-intro > [data-ko-reveal] { position: relative; z-index: 1; }
#ko-technical .ko-contact-media { position: absolute; top: calc(-1 * clamp(88px, 11vw, 160px)); bottom: calc(-1 * clamp(88px, 11vw, 160px)); left: -100vw; right: calc(var(--ko-contact-gap) / -2); z-index: 0; }
#ko-technical .ko-contact-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
#ko-technical .ko-contact-media::after { content: ""; position: absolute; inset: 0; background: var(--ko-navy); opacity: var(--ko-contact-scrim); }
#ko-technical .ko-contact-layout { --ko-contact-gap: 90px; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .65fr); gap: var(--ko-contact-gap); align-items: start; }
#ko-technical .ko-contact .ko-kicker { color: var(--ko-cyan); }
#ko-technical .ko-contact h2 { max-width: 750px; margin-top: 18px; color: var(--ko-white); font-size: clamp(48px, 6.4vw, 104px); }
#ko-technical .ko-contact-layout > div:last-child { padding-top: 34px; }
#ko-technical .ko-contact-layout p:not(.ko-kicker) { color: var(--ko-white); font-size: 17px; line-height: 1.7; }
#ko-technical .ko-button-light { margin-top: 30px; color: var(--ko-white); background: var(--ko-cta); }
#ko-technical .ko-button-light:hover { color: var(--ko-cta); background: var(--ko-white); }
/* Contact buttons stack at equal width (the wider label sets the width) */
#ko-technical .ko-contact-actions { display: inline-grid; gap: 12px; margin-top: 30px; }
#ko-technical .ko-contact-actions .ko-button { margin-top: 0; }
#ko-technical .ko-button-outline { color: var(--ko-white); background: transparent; border: 1px solid var(--ko-white); }
#ko-technical .ko-button-outline:hover { color: var(--ko-navy); background: var(--ko-white); }
#ko-technical .ko-button-outline:hover span { transform: translateY(3px); }
#ko-technical .ko-contact-layout p.ko-contact-partner { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ko-on-navy-line); color: var(--ko-on-navy-muted); font-size: 15px; line-height: 1.6; }
#ko-technical .ko-contact-partner a { color: var(--ko-cyan); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Scroll reveal (JS-driven) ---------- */
#ko-technical.ko-motion [data-ko-reveal] { transition: opacity 800ms var(--ko-ease), transform 800ms var(--ko-ease); transition-delay: calc(var(--ko-i, 0) * 70ms); }
#ko-technical.ko-motion [data-ko-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
#ko-technical.ko-motion [data-ko-reveal].is-in { opacity: 1; transform: translateY(0); }

#ko-technical.ko-motion .ko-tile[data-ko-reveal] { transition: none; opacity: 1; transform: none; }
#ko-technical.ko-motion .ko-tile[data-ko-reveal]:not(.is-in) .ko-tile-visual { clip-path: inset(100% 0 0 0); }
#ko-technical.ko-motion .ko-tile[data-ko-reveal].is-in .ko-tile-visual { clip-path: inset(0 0 0 0); }
#ko-technical .ko-tile-visual { transition: clip-path 1000ms var(--ko-ease); transition-delay: calc(var(--ko-i, 0) * 70ms); }
#ko-technical.ko-motion .ko-tile[data-ko-reveal]:not(.is-in) .ko-tile-visual img { scale: 1.12; }
#ko-technical.ko-motion .ko-tile[data-ko-reveal]:not(.is-in) .ko-tile-panel { opacity: 0; transform: translateY(16px); }
#ko-technical.ko-motion .ko-tile[data-ko-reveal].is-in .ko-tile-panel { opacity: 1; transform: translateY(0); }
#ko-technical .ko-tile-panel { transition: opacity 700ms var(--ko-ease), transform 700ms var(--ko-ease); transition-delay: calc(var(--ko-i, 0) * 70ms + 150ms); }

/* Proof band: photo opens from an inset frame and settles; card top bars draw in */
#ko-technical.ko-motion .ko-proof-list > div:not(.is-in)::after { transform: scaleX(0); }

/* Method scroll-linked state */
#ko-technical.ko-motion .ko-method[data-active] .ko-hot { opacity: .28; transform: scale(.9); }
#ko-technical.ko-motion .ko-method[data-active="investigate"] .ko-hot[data-step="investigate"],
#ko-technical.ko-motion .ko-method[data-active="treat"] .ko-hot[data-step="treat"],
#ko-technical.ko-motion .ko-method[data-active="measure"] .ko-hot[data-step="measure"] { opacity: 1; transform: scale(1); }
#ko-technical.ko-motion .ko-method[data-active] .ko-hot-ring { animation-play-state: paused; }
#ko-technical.ko-motion .ko-method[data-active="investigate"] .ko-hot[data-step="investigate"] .ko-hot-ring,
#ko-technical.ko-motion .ko-method[data-active="treat"] .ko-hot[data-step="treat"] .ko-hot-ring,
#ko-technical.ko-motion .ko-method[data-active="measure"] .ko-hot[data-step="measure"] .ko-hot-ring { animation-play-state: running; }

#ko-technical.ko-motion .ko-method[data-active] .ko-condition-list > div { opacity: .38; transition: opacity 500ms var(--ko-ease); }
#ko-technical.ko-motion .ko-method[data-active="investigate"] .ko-condition-list > div[data-step="investigate"],
#ko-technical.ko-motion .ko-method[data-active="treat"] .ko-condition-list > div[data-step="treat"],
#ko-technical.ko-motion .ko-method[data-active="measure"] .ko-condition-list > div[data-step="measure"] { opacity: 1; }

#ko-technical.ko-motion .ko-method[data-active] .ko-map-label { color: var(--ko-muted); transition: color 300ms ease; }
#ko-technical.ko-motion .ko-method[data-active="investigate"] .ko-map-label[data-step="investigate"],
#ko-technical.ko-motion .ko-method[data-active="treat"] .ko-map-label[data-step="treat"],
#ko-technical.ko-motion .ko-method[data-active="measure"] .ko-map-label[data-step="measure"] { color: var(--ko-blue); }

/* svg loop pause */
#ko-technical svg.is-paused * { animation-play-state: paused; }

/* ---------- Breakpoints ---------- */
@media (max-width: 980px) {
  #ko-technical .ko-schematic-diagram [stroke-width="2"] { stroke-width: 2.6; }
  #ko-technical .ko-schematic-diagram [stroke-width="1.6"] { stroke-width: 2.1; }
  #ko-technical .ko-schematic .ko-pw-hair { stroke-width: 1.3; }
  #ko-technical .ko-hero-row { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  #ko-technical .ko-lead, #ko-technical .ko-actions { grid-column: 1 / -1; }
  #ko-technical .ko-actions { justify-content: flex-start; }
  #ko-technical .ko-schematic-legend { padding-left: 0; grid-template-columns: 1fr; row-gap: 22px; }
  #ko-technical .ko-section-heading { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  #ko-technical .ko-pathway-list { grid-template-columns: 1fr; grid-template-rows: none; gap: 0; }
  #ko-technical .ko-pathway { grid-row: auto; grid-template-columns: 1fr 280px; grid-template-rows: auto auto auto; column-gap: 20px; align-items: start; padding: 26px 0; }
  #ko-technical .ko-pathway-top { grid-column: 1; }
  #ko-technical .ko-pathway-icon { grid-column: 2; grid-row: 1 / 4; height: 140px; align-self: center; justify-self: center; }
  #ko-technical .ko-pathway-main { grid-column: 1; align-self: start; margin-top: 16px; padding-top: 0; }
  #ko-technical .ko-pathway-end { grid-column: 1; margin-top: 12px; }
  #ko-technical .ko-method-layout { grid-template-columns: 1fr; gap: 50px; }
  #ko-technical .ko-method-intro { position: static; }
  #ko-technical .ko-map { margin-top: 32px; max-width: 560px; }
  #ko-technical .ko-condition-list > div { min-height: 0; }
  #ko-technical .ko-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  #ko-technical .ko-gallery-services { grid-template-rows: none; }
  #ko-technical .ko-gallery .ko-tile { grid-column: auto; grid-row: auto; min-height: 320px; }
  #ko-technical .ko-gallery .ko-tile-zeogaia { min-height: 390px; }
  #ko-technical .ko-gallery .ko-tile-systems { grid-column: 1 / -1; min-height: 160px; }
  #ko-technical .ko-gallery .ko-tile-text.ko-tile-levion { grid-column: 1 / -1; min-height: 160px; }
  #ko-technical .ko-gallery .ko-tile-text:not(.ko-tile-systems) { min-height: 200px; }
  #ko-technical .ko-gallery-instruments .ko-tile-photo { min-height: 430px; }
  #ko-technical .ko-tile-zeogaia img { transform: scale(1.08); }
  #ko-technical .ko-gallery .ko-tile-analysis { grid-column: 1 / -1; min-height: 420px; }
  #ko-technical .ko-contact-layout { --ko-contact-gap: 50px; }
  #ko-technical { --ko-proof-overlap: 64px; }
  #ko-technical .ko-proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #ko-technical .ko-process-list { grid-template-columns: 1fr; gap: 0; }
  #ko-technical .ko-process-list li { padding: 0 0 36px 72px; }
  #ko-technical .ko-process-list li:not(:last-child)::after { top: 50px; bottom: 4px; left: 22px; right: auto; width: 2px; height: auto; transform-origin: top; }
  #ko-technical.ko-motion .ko-process-list:not(.is-in) li::after { transform: scaleY(0); }
  #ko-technical .ko-about-layout { grid-template-columns: 1fr; gap: 56px; }
  #ko-technical .ko-about-intro { position: static; }
  #ko-technical .ko-credentials { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  #ko-technical .ko-shell { width: min(100% - 36px, 1260px); }
  #ko-technical .ko-schematic-diagram [stroke-width="2"] { stroke-width: 4; }
  #ko-technical .ko-schematic-diagram [stroke-width="1.8"], #ko-technical .ko-schematic-diagram [stroke-width="1.6"] { stroke-width: 3.2; }
  #ko-technical .ko-schematic-diagram [stroke-width="1.4"], #ko-technical .ko-schematic-diagram [stroke-width="1.2"] { stroke-width: 2.6; }
  #ko-technical .ko-schematic .ko-pw-hair { stroke-width: 2; }
  #ko-technical .ko-map [stroke-width="2"] { stroke-width: 2.6; }
  #ko-technical .ko-map .ko-pw-hair { stroke-width: 1.5; }
  #ko-technical .ko-schematic .ko-particles circle { r: 9px; }
  #ko-technical .ko-schematic-legend li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; padding-left: 16px; }
  #ko-technical .ko-diagram-index { grid-row: 1 / 3; align-self: start; }
  #ko-technical .ko-diagram-name { grid-column: 2; margin-top: 0; }
  #ko-technical .ko-diagram-detail { grid-column: 2; }
  #ko-technical .ko-section, #ko-technical .ko-contact { padding-block: 72px 80px; }
  #ko-technical .ko-hero-layout { padding-block: 55px calc(50px + var(--ko-proof-overlap)); }
  #ko-technical .ko-actions { align-items: stretch; gap: 22px; }
  #ko-technical .ko-actions .ko-button, #ko-technical .ko-actions .ko-text-link { width: 100%; justify-content: space-between; }
  #ko-technical .ko-section-heading { margin-bottom: 35px; }
  #ko-technical .ko-section-heading > p { max-width: 550px; }
  #ko-technical .ko-pathway { grid-template-columns: 1fr; }
  #ko-technical .ko-pathway-icon { grid-column: 1; grid-row: auto; height: 136px; margin-top: 14px; }
  #ko-technical .ko-directory-nav { overflow-x: auto; white-space: nowrap; gap: 24px; }
  #ko-technical .ko-directory-group { padding-block: 32px 46px; }
  #ko-technical .ko-directory-group h3 { margin-bottom: 20px; }
  #ko-technical .ko-gallery { grid-template-columns: 1fr; gap: 13px; }
  #ko-technical .ko-gallery .ko-tile { grid-column: 1; min-height: 320px; }
  #ko-technical .ko-gallery .ko-tile-zeogaia { min-height: 370px; }
  #ko-technical .ko-gallery .ko-tile-text, #ko-technical .ko-gallery .ko-tile-text:not(.ko-tile-systems) { min-height: 155px; }
  #ko-technical .ko-gallery .ko-tile-analysis { display: grid; grid-template-columns: 1fr; grid-template-rows: 240px auto; min-height: 0; }
  #ko-technical .ko-tile-analysis .ko-tile-panel { padding: 24px 22px; }
  #ko-technical .ko-tile-analysis .ko-tile-panel strong { font-size: 27px; }
  #ko-technical .ko-gallery-instruments .ko-tile-visual img { object-fit: contain; }
  #ko-technical .ko-contact-layout { --ko-contact-gap: 56px; grid-template-columns: 1fr; }
  /* Stacked: the photo spans the full width behind the heading and ends halfway to the text below */
  #ko-technical .ko-contact-intro { align-self: auto; }
  #ko-technical .ko-contact-media { top: -72px; bottom: calc(var(--ko-contact-gap) / -2); right: -100vw; }
  #ko-technical .ko-contact-actions { display: grid; }
  #ko-technical .ko-contact-layout > div:last-child { padding-top: 0; }
  #ko-technical .ko-about-facts > div { grid-template-columns: 1fr; gap: 4px; }
  #ko-technical .ko-credential { padding: 22px; }
}
@media (max-width: 560px) {
  #ko-technical { --ko-proof-overlap: 48px; }
  #ko-technical .ko-hero h1 { font-size: clamp(40px, 12.2vw, 52px); } /* "measured data" fits one line down to 320px */
  #ko-technical .ko-proof-list { grid-template-columns: 1fr; width: calc(100% - 24px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  #ko-technical, #ko-technical * { animation: none !important; transition: none !important; }
  #ko-technical .ko-context,
  #ko-technical .ko-hero h1,
  #ko-technical .ko-hero-row .ko-lead,
  #ko-technical .ko-hero-row .ko-actions { opacity: 1; transform: translateY(0); }
  #ko-technical .ko-hero h1 em::after { transform: scaleX(1); }
  #ko-technical.ko-motion [data-ko-reveal] { opacity: 1; transform: translateY(0); }
  #ko-technical.ko-motion .ko-tile[data-ko-reveal] .ko-tile-visual { clip-path: inset(0 0 0 0); }
  #ko-technical.ko-motion .ko-tile[data-ko-reveal] .ko-tile-visual img { scale: 1; }
  #ko-technical.ko-motion .ko-tile[data-ko-reveal] .ko-tile-panel { opacity: 1; transform: translateY(0); }
}

/* ---------- WordPress theme overrides (this archive only) ---------- */
body.term-kalmor-technical-services .wrapper { width: auto; margin: 0; padding: 0; }
body.term-kalmor-technical-services .bread_bg { margin-bottom: 0; }
body.term-kalmor-technical-services .foot_cv { display: none; } /* the theme's Japanese CTA band repeats the English Contact section just above */
#ko-technical h1, #ko-technical h2, #ko-technical h3 { padding: 0; border: 0; background: none; color: inherit; }
body.h_fixed #ko-technical { --ko-sticky-top: 128px; }
@media (max-width: 640px) { body.h_fixed #ko-technical { --ko-sticky-top: 56px; } }
