/* lappenbusch.com – design system (derived from lappenbusch.ch: navy/red, Jost headings, Inter body) */
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-var.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-var.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --navy: #182a3a;
  --navy-900: #0f1d29;
  --navy-700: #213a50;
  --navy-300: #8fa3b6;
  --navy-100: #e3e9ef;
  --red: #e3202e;
  --red-600: #c51824;
  --red-50: #fdecee;
  --teal: #0f6b5c;
  --teal-50: #e3f2ef;
  --ink: #182a3a;
  --text: #34475a;
  --muted: #56687b;
  --line: #dfe5eb;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --on-dark: #c9d4df;

  --f-head: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgba(15, 29, 41, .05), 0 10px 28px rgba(15, 29, 41, .08);
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-600); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.28rem; line-height: 1.25; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); font-weight: 600; }
code { font-family: var(--f-mono); font-size: .88em; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 5px; padding: .05em .35em; color: var(--ink); white-space: nowrap; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 17px; height: 17px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 800px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(12px); } }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { font-family: var(--f-head); font-weight: 600; font-size: 1.45rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: baseline; line-height: 1; margin-right: auto; white-space: nowrap; }
.logo__dot { width: .2em; height: .2em; border-radius: 50%; background: var(--red); margin-left: .07em; }
.logo--light { color: #fff; }
.nav ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { display: inline-block; padding: 9px 13px; border-radius: 999px; font: 500 .96rem/1 var(--f-body); color: var(--ink); text-decoration: none; }
.nav a:hover { background: var(--bg-alt); }
.nav a[aria-current="page"] { background: var(--navy-100); }
.nav .nav__cta { background: var(--red); color: #fff; margin-left: 6px; }
.nav .nav__cta:hover, .nav .nav__cta[aria-current="page"] { background: var(--red-600); color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 1rem/1 var(--f-body); padding: 14px 22px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s; }
.btn:hover { background: var(--navy-700); }
.btn--primary { background: var(--red); }
.btn--primary:hover { background: var(--red-600); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--light:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: clamp(36px, 5vw, 56px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark a { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { font-size: 1.08rem; }
.eyebrow { font: 600 .78rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red-600); margin: 0 0 14px; }
.section--dark .eyebrow { color: #ff9aa2; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--text); }
.muted { color: var(--muted); }
.mt { margin-top: 2em; }
address, .sg-address { font-style: normal; }
.sg-address { color: var(--ink); margin: 0 0 1em; line-height: 1.55; }
ul + h3, .chips + h3, .creds + h2 { margin-top: 1.5em; }
.small { font-size: .9rem; }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .88rem; color: var(--muted); }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--navy-300); }
.breadcrumb a { color: var(--muted); }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 760px; }
.dot { color: var(--red); }

/* Home hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.hero h1 span { display: block; }
.hero h1 .hl { color: var(--red-600); }
.hero__photo { position: relative; }
.hero__photo img { border-radius: var(--r-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; width: 100%; background: var(--bg-alt); }
.hero__photo figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.places { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.places li { margin: 0; font: 600 .8rem/1 var(--f-body); letter-spacing: .04em; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.places li.is-sg { border-color: var(--red); color: var(--red-600); }

/* Open-to box */
.open { border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--r); padding: 22px 24px; background: #fff; margin: 28px 0 0; }
.open h2 { font-size: 1.25rem; margin-bottom: 10px; }
.open ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; }
.open li { margin: 0; display: flex; gap: 10px; align-items: baseline; }
.open li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; transform: translateY(-2px); }

/* ---------- Cards / lists ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.section--alt .card { border-color: #e1e7ed; }
.card h3 { margin-bottom: 8px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--navy); color: #fff; margin-bottom: 14px; }
.card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.card--link:hover { border-color: var(--navy-300); box-shadow: var(--shadow); }
.card--link .link-arrow { margin-top: auto; padding-top: 12px; color: var(--red-600); }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: .5em; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.chips li { margin: 0; font-size: .84rem; padding: 5px 11px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink); }
.section--alt .chips li { background: #fff; }

/* Skill matrix (home) */
.skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.skills > div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.skills h3 { font-size: 1.12rem; margin-bottom: 8px; }
.skills h3 a { color: var(--ink); text-decoration: none; }
.skills h3 a:hover { color: var(--red-600); text-decoration: underline; }
.skills p { margin: 0; font-size: .95rem; }

/* Method line */
.method { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; list-style: none; padding: 0; margin: 0; }
.method li { margin: 0; position: relative; display: flex; }
.method li span { flex: 1; padding: 14px 16px; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--r-sm); background: #fff; font-size: .93rem; line-height: 1.4; }
.method li:last-child span { border-top-color: var(--teal); }
.method li span strong { display: block; font-family: var(--f-head); font-size: 1.05rem; margin-bottom: 2px; }
.method li + li::before { content: "→"; position: absolute; left: -20px; top: 50%; transform: translateY(-50%); color: var(--red-600); font-weight: 600; }

/* ---------- Products / work ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.product:first-of-type { border-top: 0; padding-top: 0; }
.product--flip .shot { order: 2; }
.product h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.product__meta { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.shot { margin: 0; }
.shot__frame { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd7df; }
.shot__bar em { font-style: normal; margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot figcaption { font-size: .86rem; color: var(--muted); margin-top: 10px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.gallery--4 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.6fr) minmax(0, .62fr); align-items: start; }

.mini-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mini-products .card { padding: 0; overflow: hidden; }
.mini-products img { border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.mini-products .card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.mini-products h3 { font-size: 1.15rem; margin-bottom: 6px; }
.mini-products p { font-size: .94rem; }

/* ---------- Time-zone bridge ---------- */
.tz { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); color: var(--text); }
.tz__clocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.tz__clock { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.tz__clock.is-sg { border-color: var(--red); }
.tz__city { font-weight: 600; color: var(--ink); font-size: .95rem; margin: 0; }
.tz__time { font: 600 clamp(1.6rem, 3vw, 2.1rem)/1.1 var(--f-head); color: var(--ink); margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.tz__zone { font-size: .82rem; color: var(--muted); margin: 0; }
.tz__status { display: inline-block; font-size: .78rem; font-weight: 600; margin-top: 8px; padding: 3px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); }
.tz__status.is-open { background: var(--teal-50); color: var(--teal); }
.tz__chart { position: relative; margin: 6px 0 8px; }
.tz__row { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 12px; margin-bottom: 10px; }
.tz__label { font-size: .86rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.tz__label small { display: block; font-weight: 400; color: var(--muted); }
.tz__track { position: relative; height: 28px; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--bg-alt) 0 calc(100% / 24 - 1px), #e7ecf0 calc(100% / 24 - 1px) calc(100% / 24)); }
.tz__bar { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: var(--navy); }
.tz__bar--sg { background: var(--red); }
.tz__bar--ov { background: var(--teal); }
.tz__now { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--ink); }
.tz__axis { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; font-size: .74rem; color: var(--muted); }
.tz__ticks { position: relative; height: 16px; }
.tz__ticks span { position: absolute; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.tz__ticks span:first-child { transform: none; }
.tz__ticks span:last-child { transform: translateX(-100%); }
.tz__summary { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.tz__summary p { margin: 0 0 .5em; }
.tz__summary p:last-child { margin: 0; }
.tz__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.tz__legend li { margin: 0; display: flex; align-items: center; gap: 6px; }
.tz__legend i { width: 14px; height: 10px; border-radius: 3px; background: var(--navy); }
.tz__legend i.sg { background: var(--red); }
.tz__legend i.ov { background: var(--teal); }

/* ---------- Domain check ---------- */
.dcheck { background: var(--navy); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 36px); }
.dcheck h2, .dcheck h3, .dcheck strong { color: #fff; }
.dcheck .eyebrow { color: #ff9aa2; }
.area .dcheck h3, .dcheck h3 { font: 600 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--f-head); text-transform: none; letter-spacing: -.01em; color: #fff; margin: 0 0 .5em; }
.dcheck form { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 12px; }
.dcheck label { display: block; color: #fff; font-weight: 600; font-size: .92rem; width: 100%; }
.dcheck input { flex: 1 1 240px; min-width: 0; font: 400 1.05rem/1.2 var(--f-mono); padding: 14px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); background: var(--navy-900); color: #fff; }
.dcheck input::placeholder { color: #8fa3b6; }
.dcheck input:focus-visible { outline: 3px solid #ff9aa2; outline-offset: 2px; border-color: #fff; }
.dcheck .note { font-size: .85rem; color: #aebdcb; margin: 0; }
.dcheck .note a { color: #fff; }
.dcheck__look { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.dcheck__look li { margin: 0; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-sm); font-size: .86rem; line-height: 1.4; }
.dcheck__look strong { display: block; font-family: var(--f-mono); font-size: .9rem; }

/* ---------- Expertise ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: thin; }
.subnav li { margin: 0; flex: none; }
.subnav a { display: inline-block; padding: 7px 12px; border-radius: 999px; font-size: .9rem; color: var(--ink); text-decoration: none; border: 1px solid var(--line); }
.subnav a:hover { border-color: var(--ink); }
.area { padding: clamp(44px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.area:last-of-type { border-bottom: 0; }
.area__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.area h2 { display: flex; align-items: center; gap: 14px; }
.area h2 .card__icon { margin: 0; flex: none; }
.area h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--f-body); font-weight: 600; margin-top: 4px; }
.callout { border-left: 4px solid var(--teal); background: var(--teal-50); border-radius: 0 var(--r) var(--r) 0; padding: 16px 20px; margin: 16px 0; }
.callout p:last-child { margin: 0; }

/* ---------- About / CV ---------- */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 24px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); }
.timeline li:first-child::before { border-color: var(--red); background: var(--red); }
.timeline time { display: block; font: 600 .86rem/1.4 var(--f-body); color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline strong { display: block; font-family: var(--f-head); font-size: 1.12rem; }
.timeline p { margin: 4px 0 0; font-size: .95rem; }
.creds { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.creds li { margin: 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.creds li small { display: block; color: var(--muted); font-size: .84rem; }
.photo { border-radius: var(--r-lg); width: 100%; }
.locations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.locations address { font-style: normal; }
.flag { display: inline-block; font: 700 .72rem/1 var(--f-body); letter-spacing: .08em; padding: 5px 8px; border-radius: 5px; background: var(--navy); color: #fff; margin-bottom: 10px; }
.flag--sg { background: var(--red-600); }

.cv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.cv { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); font-size: .95rem; line-height: 1.5; }
.cv__head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; padding-bottom: 18px; border-bottom: 2px solid var(--navy); margin-bottom: 18px; }
.cv__head img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.cv__head h1 { font-size: 2rem; margin: 0 0 2px; }
.cv__role { font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.cv__contact { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; font-size: .86rem; }
.cv__contact li { margin: 0; }
.cv__cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; }
.cv h2 { font-size: .82rem; font-family: var(--f-body); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-600); margin: 18px 0 8px; }
.cv h2:first-child { margin-top: 0; }
.cv p { margin: 0 0 .6em; }
.cv ul { margin: 0 0 .6em; padding-left: 1.1em; }
.cv li { margin-bottom: .2em; }
.cv__job { margin-bottom: 10px; }
.cv__job strong { display: block; }
.cv__job span { display: block; color: var(--muted); font-size: .86rem; }
.cv .chips li { font-size: .78rem; padding: 3px 9px; }
.cv ul.chips, .cv ul.cv__contact { padding-left: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.contact-line .icon { color: var(--red-600); margin-top: 3px; }
.contact-line strong { display: block; }
.big-mail { font: 600 clamp(1.3rem, 3vw, 1.9rem)/1.2 var(--f-head); color: var(--ink); text-decoration: none; word-break: break-word; }
.big-mail:hover { color: var(--red-600); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--on-dark); padding: clamp(44px, 6vw, 72px) 0; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: 0; }
.cta-band a:not(.btn) { color: #fff; }

/* ---------- Prose / legal ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b4c2cf; padding: 52px 0 28px; font-size: .94rem; }
.site-footer a { color: #e6edf3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__title { font: 700 .76rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #8fa3b6; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 7px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; font-size: .86rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a { margin-left: 14px; }

/* ---------- 404 ---------- */
.notfound { padding: clamp(60px, 10vw, 120px) 0; }


/* ---------- Case studies ---------- */
.case-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; list-style: none; padding: 0; margin: 0; counter-reset: ci; border-top: 1px solid var(--line); }
.case-index li { margin: 0; border-bottom: 1px solid var(--line); counter-increment: ci; }
.case-index a { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 4px 10px; padding: 14px 0; color: var(--ink); text-decoration: none; }
.case-index a::before { content: counter(ci, decimal-leading-zero); font: 600 .9rem/1.6 var(--f-mono); color: var(--red-600); grid-row: span 2; }
.case-index strong { font-family: var(--f-head); font-size: 1.08rem; }
.case-index span { font-size: .92rem; color: var(--muted); grid-column: 2; }
.case-index a:hover strong { color: var(--red-600); text-decoration: underline; }

.case { padding: clamp(44px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.case:last-of-type { border-bottom: 0; }
.case--feature { background: var(--bg-alt); }
.case__head { max-width: 820px; margin-bottom: clamp(20px, 3vw, 32px); }
.case__head h2 { margin-bottom: .35em; }
.case__tag { font: 600 .78rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red-600); margin: 0 0 12px; }
.case__tag b { font-family: var(--f-mono); letter-spacing: 0; margin-right: 8px; color: var(--ink); }
.case__head p { margin: 0; }
.pbp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin: 0; }
.pbp > div { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--r-sm); padding: 20px 22px; }
.pbp > div:first-child { border-top-color: var(--red); }
.pbp > div:last-child { border-top-color: var(--teal); }
.pbp dt { font: 600 .78rem/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.pbp dd { margin: 0; font-size: .96rem; }
.pbp dd p:last-child, .pbp dd ul:last-child { margin-bottom: 0; }
.pbp .ticks li { margin-bottom: .4em; }
.case__foot { margin: 18px 0 0; font-size: .9rem; color: var(--muted); }
.case__foot a { font-weight: 600; }

/* Control plane architecture (HTML/CSS, no images) */
.arch { margin: clamp(28px, 4vw, 44px) 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 32px); }
.arch__title { font: 600 .78rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.arch__lane { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; list-style: none; padding: 0; margin: 0; }
.arch__lane > li { margin: 0; position: relative; }
.arch__lane > li + li::before { content: "→"; position: absolute; left: -26px; top: 26px; color: var(--red-600); font-weight: 700; font-size: 1.1rem; }
.arch__node { border: 1.5px solid var(--navy); border-radius: var(--r); padding: 14px 16px; background: #fff; height: 100%; }
.arch__node strong { display: block; font-family: var(--f-head); font-size: 1.08rem; line-height: 1.2; margin-bottom: 4px; }
.arch__node span { display: block; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.arch__node--ext { border-style: dashed; background: var(--bg-alt); }
.arch__node--key { border-color: var(--red); }
.arch__node--store { border-color: var(--teal); background: var(--teal-50); }
.arch__under { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; margin-top: 22px; }
.arch__under > div { position: relative; }
.arch__under > div::before { content: "↕"; position: absolute; left: 50%; top: -22px; transform: translateX(-50%); color: var(--red-600); font-weight: 700; line-height: 1; }
.arch__under .arch__gap::before { content: none; }
.arch__flow { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; counter-reset: af; border-top: 1px solid var(--line); padding-top: 18px; }
.arch__flow li { margin: 0; counter-increment: af; position: relative; padding-left: 2.4em; font-size: .9rem; line-height: 1.5; }
.arch__flow li::before { content: counter(af); position: absolute; left: 0; top: .1em; display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--navy); color: #fff; font: 600 .78rem/1 var(--f-body); }
.arch__flow code { white-space: nowrap; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0 0 clamp(24px, 3vw, 32px); }
.facts li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; font-size: .9rem; line-height: 1.4; }
.facts strong { display: block; font-family: var(--f-head); font-size: 1.05rem; margin-bottom: 2px; }
.proof-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* ---------- Singapore: personal motivation ---------- */
.motive { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 28px); }
.motive__item { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 28px); background: #fff; }
.motive__item h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.motive__item p:last-child { margin-bottom: 0; }
.motive__item--lead { grid-column: 1 / -1; border-left: 4px solid var(--red); }
.motive__item--lead h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.motive__item--lead p { font-size: 1.06rem; max-width: 820px; }
@media (max-width: 860px) { .motive { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Insights (articles) ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.insight-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.insight-card p { font-size: .94rem; }
.insight-card__meta { margin-top: auto; font-size: .84rem; color: var(--muted); padding-top: 8px; }
.article-meta { font-size: .92rem; color: var(--muted); margin: 0; }
.article { padding: clamp(36px, 5vw, 64px) 0; }
.prose { font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose :not(pre) > code { white-space: normal; overflow-wrap: anywhere; }
.prose pre, .snippet pre { background: var(--navy-900); color: #e6edf3; border-radius: var(--r-sm); padding: 16px 18px; overflow-x: auto; font: 400 .86rem/1.55 var(--f-mono); margin: 0 0 1.4em; max-width: 100%; }
.prose pre code, .snippet pre code { background: none; border: 0; padding: 0; color: inherit; white-space: pre; font-size: inherit; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--r-sm); }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--bg-alt); color: var(--ink); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }
.note-box { border-left: 4px solid var(--red); background: var(--red-50); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 14px 18px; margin: 0 0 1.4em; }
.note-box p:last-child { margin: 0; }
.checklist { list-style: none; padding: 18px 20px !important; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-alt); }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border: 2px solid var(--teal); border-radius: 4px; background: #fff; }
.related { border-top: 1px solid var(--line); margin-top: 2.4em; padding-top: 1.4em; }
.related h2 { font-size: 1.2rem; margin-top: 0; }
.hub-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.hub-links li { margin: 0; }
.hub-links a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .92rem; }
.hub-links a:hover, .hub-links a[aria-current="page"] { border-color: var(--ink); }

/* ---------- Training ---------- */
.training { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.training:first-of-type { border-top: 0; padding-top: 0; }
.training__head { max-width: 780px; }
.training__head h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.training__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 20px; }
.training__facts div { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px; background: #fff; }
.training__facts dt { font: 600 .74rem/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.training__facts dd { margin: 4px 0 0; color: var(--ink); font-size: .95rem; }
.training__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); }
.training__body h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--f-body); }

/* ---------- Toolbox ---------- */
.snippet { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.snippet:first-of-type { border-top: 0; }
.snippet h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.snippet__meta { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; }
.snippet__meta li { margin: 0; font-size: .82rem; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink); overflow-wrap: anywhere; }
.snippet__meta li.perm { background: var(--teal-50); border-color: #bfded8; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dcheck__look { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .site-header__inner { flex-wrap: wrap; gap: 6px 12px; padding-top: 12px; padding-bottom: 10px; min-height: 0; }
  .nav ul { margin-left: -10px; }
  .nav { width: 100%; }
  .nav ul { gap: 2px 0; }
  .nav a { padding: 8px 10px; font-size: .92rem; }
  .nav .nav__cta { margin-left: 4px; }
  .subnav { top: 0; position: static; }
  .hero__grid, .split, .product, .area__grid, .contact-grid, .cv__cols, .cta-band__inner, .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__photo { max-width: 360px; }
  .product--flip .shot { order: 0; }
  .grid--3, .locations { grid-template-columns: minmax(0, 1fr); }
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method li + li::before { content: none; }
  .gallery, .gallery--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tz__row, .tz__axis { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .mini-products, .skills { grid-template-columns: minmax(0, 1fr); }
  .skills > div { padding-right: 0; }
  .tz__clocks { grid-template-columns: minmax(0, 1fr); }
  .tz__ticks .minor { display: none; }
  .hero__photo { max-width: 280px; }
  .tz__clock { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; }
  .tz__clock .tz__time { grid-row: span 2; text-align: right; }
  .tz__status { grid-column: 1 / -1; justify-self: start; }
  .dcheck__look { grid-template-columns: minmax(0, 1fr); }
  .method { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .method li + li::before { content: "↓"; left: 50%; top: -20px; transform: translateX(-50%); }
  .cv__head { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .cv__head img { width: 64px; height: 64px; }
  .cv__head h1 { font-size: 1.5rem; }
  .btn { white-space: normal; }
  .footer__bottom a { margin: 0 14px 0 0; }
}
@media (max-width: 1000px) {
  .arch__lane, .arch__under { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 34px; }
  .arch__lane > li:nth-child(3)::before { content: "↓"; left: 50%; top: -26px; transform: translateX(-50%); }
  .arch__flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .pbp, .case-index, .proof-links { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .arch__lane, .arch__under, .arch__flow, .facts { grid-template-columns: minmax(0, 1fr); }
  .arch__lane > li + li::before { content: "↓"; left: 50%; top: -26px; transform: translateX(-50%); }
  .arch__under { gap: 14px; }
  .arch__under > div::before { content: none; }
  .arch__under .arch__gap { display: none; }
}
@media (max-width: 1000px) { .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .training__body, .training__facts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .insight-grid { grid-template-columns: minmax(0, 1fr); } .prose pre, .snippet pre { font-size: .8rem; padding: 14px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Print (CV and every other page) ---------- */
@media print {
  @page { size: A4; margin: 12mm 13mm; }
  body { font-size: 10pt; color: #1d2d3c; background: #fff; }
  .site-header, .site-footer, .cta-band, .skip, .breadcrumb, .cv-actions, .no-print, .subnav { display: none !important; }
  .page-hero { padding: 0 0 12px; border: 0; }
  .section { padding: 0; }
  .container { max-width: none; padding: 0; }
  a { color: inherit; text-decoration: none; }
  .cv { border: 0; box-shadow: none; padding: 0; font-size: 9.2pt; line-height: 1.38; }
  .cv__head { grid-template-columns: 22mm minmax(0, 1fr); gap: 5mm; padding-bottom: 3mm; margin-bottom: 3mm; }
  .cv__head img { width: 22mm; height: 22mm; }
  .cv__head h1 { font-size: 19pt; }
  .cv__cols { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 7mm; }
  .cv h2 { font-size: 8pt; margin: 3.2mm 0 1.4mm; }
  .cv__job { margin-bottom: 1.6mm; }
  .cv .chips li { font-size: 8pt; padding: 1px 6px; background: #fff; }
  .cv ul { margin-bottom: 1mm; }
  .cv-print-hint { display: none; }
  .cv__job span, .cv__contact, .cv__role { font-size: 8.6pt; }
  .cv__job span { display: block; }
}

/* ---------- Singapore hero ---------- */
.sg-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.sg-hero__photo { margin: 0; }
.sg-hero__photo img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 70% 30%; background: var(--navy); }
.sg-hero .btn-row { margin-top: 8px; }
@media (max-width: 860px) { .sg-hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Proof v2: case cards, picker, lessons, verify, matrix ---------- */
.case__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: end; margin-bottom: clamp(20px, 3vw, 28px); }
.case__top .case__head { margin: 0; max-width: none; }
.case__problem { font-size: 1.08rem; color: var(--text); margin: 0; }
.case__metric { margin: 0; border-left: 4px solid var(--red); padding: 4px 0 4px 18px; }
.case__metric strong { display: block; font: 600 clamp(1.6rem, 3.2vw, 2.4rem)/1.1 var(--f-head); color: var(--ink); letter-spacing: -.01em; margin-bottom: 6px; }
.case__metric span { display: block; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.case--product .case__metric { border-left-color: var(--teal); }
.pbp .ticks { margin: 0; }
.lessons { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.lessons li { margin: 0; padding: 12px 16px; border: 1px dashed var(--red-600); border-radius: var(--r-sm); background: #fff; font-size: .95rem; }
.notes { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.notes summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--ink); list-style-position: inside; }
.notes summary:hover { color: var(--red-600); }
.notes[open] summary { border-bottom: 1px solid var(--line); }
.notes__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); padding: 18px; font-size: .95rem; }
.notes__body h3 { font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--f-body); }
.notes .case__foot { padding: 0 18px 16px; margin: 0; }
.gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.pipeline { margin: clamp(24px, 3vw, 36px) 0 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); }
.pipeline__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 22px; counter-reset: ps; }
.pipeline__steps li { margin: 0; position: relative; counter-increment: ps; border: 1.5px solid var(--navy); border-radius: var(--r-sm); padding: 12px; background: #fff; font-size: .84rem; line-height: 1.4; }
.pipeline__steps li::before { content: counter(ps); display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--navy); color: #fff; font: 600 .74rem/1 var(--f-body); margin-bottom: 6px; }
.pipeline__steps li + li::after { content: "\2192"; position: absolute; left: -18px; top: 50%; transform: translateY(-50%); color: var(--red-600); font-weight: 700; }
.pipeline__steps strong { display: block; font-family: var(--f-head); font-size: .98rem; margin-bottom: 2px; }
.pipeline__steps span { color: var(--muted); }
.pipeline__steps .is-local { border-color: var(--teal); background: var(--teal-50); }
.pipeline__steps .is-ai { border-style: dashed; border-color: var(--red-600); }
.pipeline__steps .is-check { border-color: var(--teal); }

.picker { display: grid; gap: 18px; }
.picker__q { font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.picker__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.picker__list li { margin: 0; }
.picker__list a { display: block; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink); text-decoration: none; background: #fff; font-weight: 500; }
.picker__list a:hover { border-color: var(--ink); }
.picker__list a[aria-current="true"] { border-color: var(--red); background: var(--red-50); box-shadow: inset 4px 0 0 var(--red); }
.picker__answers { display: grid; gap: 12px; }
.picker__answer { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; background: #fff; }
.picker__answer h3 { font-size: 1.15rem; }
.picker__answer p:last-child { margin: 0; }
.picker__metric { font-size: .92rem; color: var(--muted); }
.picker__metric span { display: block; font: 600 1.35rem/1.2 var(--f-head); color: var(--ink); margin-bottom: 2px; }
.picker.is-enhanced { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; gap: clamp(18px, 3vw, 40px); }
.picker.is-enhanced .picker__answer { border-color: var(--navy); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px); }
.picker.is-enhanced .picker__answers { position: sticky; top: calc(var(--header-h) + 16px); }

.day-one-teaser { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.day-one-teaser li { margin: 0; }
.day-one-teaser a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; text-decoration: none; color: var(--ink); }
.day-one-teaser a:hover { border-color: var(--ink); }
.day-one-teaser strong { font-family: var(--f-head); font-size: 1.08rem; }
.day-one-teaser span { margin-top: auto; display: inline-flex; align-items: center; gap: .35em; color: var(--red-600); font-weight: 600; font-size: .92rem; }
.teaser-metric { font: 600 1.3rem/1.2 var(--f-head); color: var(--teal); margin: 0 0 8px; }
.proof-links--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.verify { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.verify li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.verify h3 { font-size: 1.12rem; }
.verify .link-arrow { margin-right: 14px; }

.matrix-wrap { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.matrix { width: 100%; border-collapse: collapse; font-size: .92rem; }
.matrix caption { text-align: left; padding: 12px 16px; color: var(--muted); font-size: .86rem; caption-side: top; }
.matrix th, .matrix td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: center; }
.matrix thead th { background: var(--bg-alt); color: var(--ink); font-weight: 600; font-size: .82rem; }
.matrix th[scope="row"] { text-align: left; font-weight: 500; }
.matrix th[scope="row"] a { color: var(--ink); text-decoration: none; }
.matrix th[scope="row"] a:hover { color: var(--red-600); text-decoration: underline; }
.matrix thead th:first-child { text-align: left; }
.matrix__dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); }

@media (max-width: 1100px) {
  .pipeline__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pipeline__steps li:nth-child(5)::after { content: none; }
}
@media (max-width: 860px) {
  .case__top, .notes__body, .verify, .gallery--2, .proof-links--2, .day-one-teaser { grid-template-columns: minmax(0, 1fr); }
  .picker.is-enhanced { grid-template-columns: minmax(0, 1fr); }
  .picker.is-enhanced .picker__answers { position: static; }
  .pipeline__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline__steps li + li::after { content: none; }
  /* Matrix: one card per case, only the skills it proves */
  .matrix, .matrix tbody, .matrix tr, .matrix th, .matrix td { display: block; }
  .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .matrix caption { display: block; width: auto; }
  .matrix tr { padding: 12px 14px; border-top: 1px solid var(--line); }
  .matrix th[scope="row"] { border: 0; padding: 0 0 8px; }
  .matrix td { display: inline-block; border: 0; padding: 0; margin: 0 6px 6px 0; }
  .matrix td.is-no { display: none; }
  .matrix td.is-yes::before { content: attr(data-label); display: inline-block; font-size: .8rem; padding: 3px 10px; border-radius: 999px; background: var(--teal-50); color: var(--teal); border: 1px solid #bfded8; }
  .matrix td.is-yes .matrix__dot { display: none; }
}
@media (max-width: 560px) {
  .pipeline__steps { grid-template-columns: minmax(0, 1fr); }
}

/* generated by build.mjs: time-zone bar positions in half hours */
.tz .l-0{left:0.0000%}.tz .w-0{width:0.0000%}
.tz .l-1{left:2.0833%}.tz .w-1{width:2.0833%}
.tz .l-2{left:4.1667%}.tz .w-2{width:4.1667%}
.tz .l-3{left:6.2500%}.tz .w-3{width:6.2500%}
.tz .l-4{left:8.3333%}.tz .w-4{width:8.3333%}
.tz .l-5{left:10.4167%}.tz .w-5{width:10.4167%}
.tz .l-6{left:12.5000%}.tz .w-6{width:12.5000%}
.tz .l-7{left:14.5833%}.tz .w-7{width:14.5833%}
.tz .l-8{left:16.6667%}.tz .w-8{width:16.6667%}
.tz .l-9{left:18.7500%}.tz .w-9{width:18.7500%}
.tz .l-10{left:20.8333%}.tz .w-10{width:20.8333%}
.tz .l-11{left:22.9167%}.tz .w-11{width:22.9167%}
.tz .l-12{left:25.0000%}.tz .w-12{width:25.0000%}
.tz .l-13{left:27.0833%}.tz .w-13{width:27.0833%}
.tz .l-14{left:29.1667%}.tz .w-14{width:29.1667%}
.tz .l-15{left:31.2500%}.tz .w-15{width:31.2500%}
.tz .l-16{left:33.3333%}.tz .w-16{width:33.3333%}
.tz .l-17{left:35.4167%}.tz .w-17{width:35.4167%}
.tz .l-18{left:37.5000%}.tz .w-18{width:37.5000%}
.tz .l-19{left:39.5833%}.tz .w-19{width:39.5833%}
.tz .l-20{left:41.6667%}.tz .w-20{width:41.6667%}
.tz .l-21{left:43.7500%}.tz .w-21{width:43.7500%}
.tz .l-22{left:45.8333%}.tz .w-22{width:45.8333%}
.tz .l-23{left:47.9167%}.tz .w-23{width:47.9167%}
.tz .l-24{left:50.0000%}.tz .w-24{width:50.0000%}
.tz .l-25{left:52.0833%}.tz .w-25{width:52.0833%}
.tz .l-26{left:54.1667%}.tz .w-26{width:54.1667%}
.tz .l-27{left:56.2500%}.tz .w-27{width:56.2500%}
.tz .l-28{left:58.3333%}.tz .w-28{width:58.3333%}
.tz .l-29{left:60.4167%}.tz .w-29{width:60.4167%}
.tz .l-30{left:62.5000%}.tz .w-30{width:62.5000%}
.tz .l-31{left:64.5833%}.tz .w-31{width:64.5833%}
.tz .l-32{left:66.6667%}.tz .w-32{width:66.6667%}
.tz .l-33{left:68.7500%}.tz .w-33{width:68.7500%}
.tz .l-34{left:70.8333%}.tz .w-34{width:70.8333%}
.tz .l-35{left:72.9167%}.tz .w-35{width:72.9167%}
.tz .l-36{left:75.0000%}.tz .w-36{width:75.0000%}
.tz .l-37{left:77.0833%}.tz .w-37{width:77.0833%}
.tz .l-38{left:79.1667%}.tz .w-38{width:79.1667%}
.tz .l-39{left:81.2500%}.tz .w-39{width:81.2500%}
.tz .l-40{left:83.3333%}.tz .w-40{width:83.3333%}
.tz .l-41{left:85.4167%}.tz .w-41{width:85.4167%}
.tz .l-42{left:87.5000%}.tz .w-42{width:87.5000%}
.tz .l-43{left:89.5833%}.tz .w-43{width:89.5833%}
.tz .l-44{left:91.6667%}.tz .w-44{width:91.6667%}
.tz .l-45{left:93.7500%}.tz .w-45{width:93.7500%}
.tz .l-46{left:95.8333%}.tz .w-46{width:95.8333%}
.tz .l-47{left:97.9167%}.tz .w-47{width:97.9167%}
.tz .l-48{left:100.0000%}.tz .w-48{width:100.0000%}
