/* Oliver Hume Brand Guidelines site
   Brand rules: Aeonik, Midnight-led palette, square corners, no gradients. */

@font-face { font-family: "Aeonik"; src: url("../fonts/Aeonik-regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Aeonik"; src: url("../fonts/Aeonik-regularitalic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Aeonik"; src: url("../fonts/Aeonik-medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Aeonik"; src: url("../fonts/Aeonik-mediumitalic.otf") format("opentype"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Aeonik"; src: url("../fonts/Aeonik-semibold.otf") format("opentype"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --midnight: #0d1520; --midnight-700: #283b50; --midnight-400: #98a4b3; --midnight-100: #e7e8e9;
  --white: #ffffff; --soft-grey: #f3f3f4;
  --mist: #b6c7ed; --mist-300: #c5d3f0; --mist-200: #dbe3f6; --mist-100: #f8f9fd; --mist-50: #fbfcfe;
  --lilac: #c7b5f1; --teal: #2fced5; --lime: #b3f00d; --maroon: #7a2b4b;
  --viz-3: #c7b5f2; --viz-4: #4e6fd8; --viz-7: #f46665;

  --bg: var(--white); --bg-subtle: var(--soft-grey); --ink: var(--midnight); --ink-2: var(--midnight-700);
  --line: var(--midnight-100); --link: var(--maroon);
  --font: "Aeonik", Arial, sans-serif;
  --side-w: 280px; --top-h: 64px; --gutter: clamp(16px, 4vw, 56px);
  --content-w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--top-h) + 24px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; letter-spacing: .01em; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:is(p, li, .text) a:where(:not(.btn, .link-arrow)) { color: var(--link); text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
/* Focus: Midnight ring with a white halo, so it shows on light and Midnight grounds */
:focus-visible { outline: 2px solid var(--midnight); outline-offset: 2px; box-shadow: 0 0 0 2px var(--white); }
::selection { background: var(--mist); color: var(--midnight); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Sidebar ---------- */
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--side-w); background: var(--white); border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 40; }
.sidebar__brand { height: var(--top-h); display: flex; align-items: center; padding: 0 24px; border-bottom: 1px solid var(--line); flex: none; }
.sidebar__brand img { width: 150px; }
.sidebar__search { margin: 16px 16px 8px; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border: 1px solid var(--line); background: var(--soft-grey); color: var(--ink-2); text-align: left; font-size: 14px; }
.sidebar__search:hover { border-color: var(--midnight-400); }
.sidebar__search span { flex: 1; }
kbd { font-family: var(--font); font-size: 12px; border: 1px solid var(--midnight-400); padding: 0 6px; line-height: 18px; color: var(--ink-2); background: var(--white); }
.nav { overflow-y: auto; flex: 1; padding: 8px 0 24px; overscroll-behavior: contain; }
.nav__group { padding: 8px 0; border-bottom: 1px solid var(--line); }
.nav__group:last-child { border-bottom: 0; }
.nav__label { display: block; padding: 10px 24px 6px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--midnight-700); }
.nav__item { display: block; }
.nav__link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 7px 24px 7px 24px; border: 0; background: none; text-decoration: none; font-size: 15px; text-align: left; color: var(--ink); }
.nav__link:hover { background: var(--soft-grey); }
.nav__link[aria-current="page"] { font-weight: 500; }
.nav__link[aria-current="page"]::before { content: ""; position: absolute; left: 0; width: 3px; height: 22px; background: var(--midnight); }
.nav__link { position: relative; }
.nav__chev { width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; opacity: .6; flex: none; }
.nav__item.is-open .nav__chev { transform: rotate(-135deg) translate(-2px, -2px); }
.nav__sub { list-style: none; margin: 0 0 6px; padding: 0; display: none; }
.nav__item.is-open .nav__sub { display: block; }
.nav__sub a { display: block; padding: 5px 24px 5px 40px; font-size: 14px; color: var(--midnight-700); text-decoration: none; }
.nav__sub a:hover { color: var(--ink); background: var(--soft-grey); }
.nav__sub a.is-active { color: var(--ink); font-weight: 500; }
.sidebar__foot { flex: none; padding: 14px 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--midnight-700); }
/* Midnight menu bar */
.sidebar { --side-line: rgba(255,255,255,.12); --side-hover: rgba(255,255,255,.08); background: var(--midnight); color: var(--white); border-right-color: var(--midnight); }
.sidebar__brand, .nav__group, .sidebar__foot { border-color: var(--side-line); }
.sidebar__search { background: var(--side-hover); border-color: var(--side-line); color: var(--midnight-400); }
.sidebar__search:hover { border-color: var(--midnight-400); color: var(--white); }
.sidebar kbd { background: transparent; border-color: var(--midnight-400); color: var(--midnight-400); }
.sidebar .nav__label { color: var(--midnight-400); }
.sidebar .nav__link { color: var(--white); }
.sidebar .nav__link:hover, .sidebar .nav__sub a:hover { background: var(--side-hover); color: var(--white); }
.sidebar .nav__link[aria-current="page"]::before { background: var(--mist); }
.sidebar .nav__sub a { color: var(--midnight-400); }
.sidebar .nav__sub a.is-active { color: var(--white); }
.sidebar__foot { color: var(--midnight-400); }
.sidebar :focus-visible { outline-color: var(--mist); }
.sidebar .nav { scrollbar-color: var(--midnight-700) transparent; }

/* ---------- Top bar ---------- */
.main { margin-left: var(--side-w); min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; height: var(--top-h); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); }
.topbar__title { font-size: 15px; font-weight: 500; text-align: center; }
.topbar__title span { color: var(--midnight-700); font-weight: 400; }
.topbar__actions { display: flex; gap: 8px; justify-content: flex-end; }
.menu-btn, .icon-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white); align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: var(--midnight); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }

.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--midnight); background: var(--midnight); color: var(--white); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--midnight-700); border-color: var(--midnight-700); }
.btn--ghost { background: transparent; color: var(--midnight); }
.btn--ghost:hover { background: var(--midnight); color: var(--white); }
.btn--mist { background: var(--mist); border-color: var(--mist); color: var(--midnight); }
.btn--mist:hover { background: var(--mist-300); border-color: var(--mist-300); }
.btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Pages ---------- */
.content { flex: 1; width: 100%; max-width: calc(var(--content-w) + 2 * var(--gutter)); margin: 0 auto; padding: var(--content-pt, 72px) var(--gutter) 96px; }
.page { display: none; }
.page.is-active { display: block; animation: pageIn .35s ease both; }
@keyframes pageIn { from { transform: translateY(8px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .page.is-active { animation: none; } * { scroll-behavior: auto !important; } }

.page-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-bottom: 56px; }
.page-head h1 { margin: 0; font-size: clamp(44px, 6vw, 76px); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.page-head .lede { margin: 6px 0 0; font-size: 20px; line-height: 1.4; letter-spacing: .01em; }
.page-num { display: block; font-size: 14px; font-weight: 500; color: var(--midnight-700); margin-bottom: 16px; letter-spacing: .04em; }

.section { padding: 56px 0 0; }
.section + .section { margin-top: 24px; border-top: 1px solid var(--line); }
.section > h2, .section-head h2 { margin: 0 0 24px; font-size: 34px; font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-head .text > :first-child { margin-top: 0; }
h3 { margin: 32px 0 12px; font-size: 20px; font-weight: 400; letter-spacing: .03em; line-height: 1.2; }
h4 { margin: 0 0 8px; font-size: 15px; font-weight: 500; }
.text { max-width: 68ch; }
.text p, .text li { font-size: 16px; line-height: 1.55; letter-spacing: .02em; }
.text p { margin: 0 0 14px; }
.text ul, .text ol { margin: 0 0 16px; padding-left: 20px; }
.text li { margin-bottom: 6px; }
.text li::marker { color: var(--midnight-400); }
.muted { color: var(--midnight-700); }
.small { font-size: 13px; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Figures */
.figure { margin: 32px 0 0; }
.figure__frame { background: var(--soft-grey); padding: clamp(16px, 3vw, 40px); display: flex; align-items: center; justify-content: center; }
.figure__frame--white { background: var(--white); border: 1px solid var(--line); }
.figure__frame--flush { padding: 0; }
.figure__frame img { width: 100%; height: auto; }
.figure figcaption { margin-top: 10px; font-size: 13px; color: var(--midnight-700); }
.zoomable { cursor: zoom-in; }

/* Card */
.card { border: 1px solid var(--line); background: var(--white); padding: 24px; }
.card--grey { background: var(--soft-grey); border-color: transparent; }
.card h3 { margin-top: 0; }

/* Do / Don't */
.rule-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rule-list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.45; }
.rule-list li::before { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; font-size: 12px; font-weight: 600; border-radius: 50%; }
.rule-list--do li::before { content: "✓"; background: var(--mist); color: var(--midnight); }
.rule-list--dont li::before { content: "✕"; background: var(--midnight); color: var(--white); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.tag--do { background: var(--mist); color: var(--midnight); }
.tag--dont { background: var(--midnight); color: var(--white); }

/* ---------- Home ---------- */
.hero { background: var(--midnight); color: var(--white); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; min-height: 420px; position: relative; overflow: hidden; }
.hero h1 { margin: 0; font-size: clamp(56px, 8vw, 112px); font-weight: 400; line-height: .95; letter-spacing: -.03em; }
.hero p { font-size: 20px; line-height: 1.4; max-width: 34ch; color: var(--white); }
.hero__meta { margin-top: auto; font-size: 13px; color: var(--midnight-400); }
.hero__left { display: flex; flex-direction: column; gap: 24px; }
.hero__shapes { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 0; align-self: stretch; }
.shape { background: var(--mist); }
.shape--circle { border-radius: 50%; aspect-ratio: 1; }
.shape--h { background: none; display: grid; grid-template-columns: 1fr 1fr; gap: 3%; }
.shape--h::before, .shape--h::after { content: ""; background: inherit; background: var(--c, var(--mist)); }
.hero__shapes { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); grid-template-rows: none; align-content: center; justify-self: end; width: min(100%, calc(150px * var(--cols, 2) + 120px)); }
.hero__shapes > * { aspect-ratio: 1; min-height: 0; }
.quick { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick a { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 160px; padding: 20px; background: var(--soft-grey); text-decoration: none; transition: background .2s; }
.quick a:hover { background: var(--mist-200); }
.quick strong { font-size: 20px; font-weight: 400; }
.quick span { font-size: 14px; color: var(--midnight-700); }
.quick .arrow { width: 32px; height: 32px; border-radius: 50%; background: var(--midnight); display: grid; place-items: center; align-self: flex-start; }
.quick .arrow::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: translateX(-1px) rotate(45deg); }

.chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.chapters a { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.chapters a:hover { background: var(--soft-grey); }
.chapters .n { font-size: 14px; font-weight: 500; color: var(--midnight-700); padding-left: 8px; }
.chapters .t { font-size: 24px; }
.chapters .d { font-size: 14px; color: var(--midnight-700); padding-right: 8px; }

/* ---------- Brand page ---------- */
.idea { background: var(--midnight); color: var(--white); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.idea > div:first-child { container-type: inline-size; }
.idea > div:first-child p { margin: 0; font-size: clamp(20px, 8.6cqw, 52px); text-wrap: balance; line-height: 1.02; letter-spacing: -.01em; color: var(--mist); }
.idea small { display: block; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--midnight-400); margin-bottom: 16px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); margin-top: 32px; }
.pillars > div { background: var(--white); padding: 24px; }
.pillars h3 { margin: 0 0 12px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--midnight-700); }
.pillars p { margin: 0; font-size: 20px; line-height: 1.35; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.values li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 22px; }
.values li:first-child { border-top: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 14px; background: var(--soft-grey); font-size: 15px; }

/* ---------- Logo ---------- */
.logo-card { border: 1px solid var(--line); display: flex; flex-direction: column; }
.logo-card__stage { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 15%; background: var(--white); transition: background .25s; }
.logo-card__stage.is-dark { background: var(--midnight); }
.logo-card__stage img { max-height: 100%; width: auto; }
.logo-card__stage .w-full { width: 100%; height: auto; }
.logo-card__body { padding: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.logo-card__body h3 { margin: 0; }
.logo-card__body p { margin: 0; font-size: 14px; color: var(--midnight-700); }
.logo-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.toggle { display: inline-flex; border: 1px solid var(--line); }
.toggle button { height: 32px; padding: 0 12px; border: 0; background: var(--white); font-size: 13px; }
.toggle button[aria-pressed="true"] { background: var(--midnight); color: var(--white); }
.usage-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.usage-cols .card h4 { margin-top: 16px; }
.usage-cols .card h4:first-of-type { margin-top: 0; }
.size-demo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.size-demo .card { display: flex; flex-direction: column; gap: 20px; }
.size-demo .stage { height: 120px; display: flex; align-items: center; justify-content: center; background: var(--soft-grey); }
.size-demo dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-size: 15px; }
.size-demo dt { color: var(--midnight-700); }
.size-demo dd { margin: 0; font-weight: 500; }
.donts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: dont; }
.donts li { list-style: none; }
.dont-tile { position: relative; aspect-ratio: 4 / 3; background: var(--soft-grey); display: grid; place-items: center; overflow: hidden; }
.dont-tile::after { content: ""; position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--midnight) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 8l8 8M16 8l-8 8' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 18px no-repeat; }
.dont-tile img { width: 46%; }
.donts p { margin: 10px 0 0; font-size: 14px; }

/* ---------- Typography ---------- */
.specimen { background: var(--soft-grey); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.specimen .big { font-size: clamp(64px, 10vw, 140px); line-height: .9; letter-spacing: -.02em; }
.specimen .aa { font-size: clamp(96px, 14vw, 200px); line-height: .8; text-align: right; }
.weights { margin-top: 2px; }
.weight { display: grid; grid-template-columns: 200px 1fr auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.weight__name { font-size: 15px; color: var(--midnight-700); }
.weight__sample { font-size: 26px; line-height: 1.25; overflow-wrap: anywhere; }
.type-tester { display: flex; gap: 12px; align-items: center; margin: 24px 0 8px; flex-wrap: wrap; }
.type-tester input[type=text] { flex: 1; min-width: 200px; height: 40px; padding: 0 12px; border: 1px solid var(--midnight-400); font: inherit; }
.type-tester input[type=range] { width: 160px; accent-color: var(--midnight); }
.scale { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); border: 1px solid var(--line); }
.scale__demo { padding: clamp(24px, 4vw, 48px); background: var(--white); }
.scale__rules { background: var(--soft-grey); padding: clamp(24px, 4vw, 48px) 24px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.scale__rules div { padding: 10px 0; border-bottom: 1px solid var(--midnight-100); }
.scale__rules b { display: block; font-weight: 500; font-size: 15px; }
.scale__rules .gap { color: var(--maroon); border-bottom-style: dashed; }
.sf-feature { font-weight: 500; text-transform: uppercase; font-size: 14px; letter-spacing: .02em; }
.sf-h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1; margin: 28px 0 0; letter-spacing: -.01em; }
.sf-h2 { font-size: clamp(22px, 2.5vw, 28px); line-height: 1; margin: 28px 0 0; }
.sf-body { font-size: clamp(16px, 1.7vw, 19.6px); line-height: 1.4; letter-spacing: .03em; margin: 40px 0 0; max-width: 40ch; }
.sf-fine { font-style: italic; font-size: 12px; margin: 16px 0 0; }
.lf-h2 { font-size: 34px; line-height: 1; margin: 0; }
.lf-h3 { font-size: 20px; letter-spacing: .03em; margin: 34px 0 0; }
.lf-body { font-size: 16px; line-height: 1.4; letter-spacing: .03em; margin: 48px 0 0; max-width: 60ch; }
.lf-body + .lf-body { margin-top: 22px; }
.align-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.align-tile { background: var(--soft-grey); padding: 28px; min-height: 220px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.align-tile .tag { position: absolute; top: 12px; right: 12px; }
.align-tile .h { font-size: 26px; line-height: 1.1; margin-top: 16px; }
.align-tile .b { font-size: 14px; }
.punct { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.punct .align-tile .h { font-size: clamp(28px, 3.4vw, 40px); }

/* ---------- Colour ---------- */
.swatches { display: grid; gap: 16px; }
.swatches--5 { grid-template-columns: repeat(5, 1fr); }
.swatches--3 { grid-template-columns: repeat(3, 1fr); }
.swatch { border: 1px solid var(--line); display: flex; flex-direction: column; text-align: left; background: var(--white); padding: 0; }
.swatch__chip { aspect-ratio: 1 / 1.05; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; font-size: 20px; }
.swatch__chip .pct { font-size: 13px; font-weight: 500; }
.swatch__meta { padding: 14px 16px; display: grid; gap: 2px; font-size: 13px; }
.swatch__meta button { all: unset; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
.swatch__meta button:hover b, .swatch__meta button:focus-visible b { text-decoration: underline; }
.swatch__meta button:focus-visible { outline: 2px solid var(--midnight); }
.swatch__meta span { color: var(--midnight-700); }
.swatch__meta b { font-weight: 500; }
.proportion { display: flex; height: 120px; margin-top: 8px; border: 1px solid var(--line); }
.proportion > div { display: flex; align-items: flex-end; padding: 10px; font-size: 13px; font-weight: 500; min-width: 0; }
.shades { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shade { display: flex; justify-content: space-between; align-items: flex-end; padding: 14px 16px; height: 64px; font-size: 13px; border: 0; width: 100%; text-align: left; }
.shade:first-child { height: 120px; font-size: 15px; }
.shade b { font-weight: 500; }
.shade:hover b { text-decoration: underline; }
.contrast { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contrast-tile { display: flex; flex-direction: column; gap: 10px; }
.contrast-tile .chip { aspect-ratio: 1 / 1.1; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.contrast-tile .chip .aa { font-size: 56px; line-height: 1; }
.contrast-tile .chip p { margin: 0; font-size: 14px; line-height: 1.35; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.badge i { font-style: normal; padding: 2px 8px; }
.badge--pass i { background: var(--mist-200); }
.badge--fail i { background: var(--midnight); color: var(--white); }
.badge span { color: var(--midnight-700); font-weight: 400; }
.contrast-tile .pair { font-size: 13px; color: var(--midnight-700); }
.expressive { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ex-tile { aspect-ratio: 1; padding: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14%; position: relative; }
.ex-tile i { width: 46%; aspect-ratio: 1; border-radius: 50%; }
.ex-tile span { position: absolute; bottom: 10px; left: 12px; font-size: 13px; background: var(--white); color: var(--midnight); padding: 2px 8px; }

/* ---------- Data viz ---------- */
.viz-seq { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.viz-seq button { border: 0; padding: 0; background: none; text-align: left; display: flex; flex-direction: column; justify-content: flex-start; align-self: start; }
.viz-seq .c { height: 96px; display: flex; align-items: flex-start; padding: 10px; font-size: 13px; font-weight: 500; }
.viz-seq .m { padding: 8px 0; font-size: 13px; }
.viz-seq .m b { display: block; font-weight: 500; }
.viz-seq .m span { color: var(--midnight-700); }
.viz-seq .ext .c { background-image: repeating-linear-gradient(135deg, transparent 0 8px, rgba(255,255,255,.25) 8px 10px); }
.chart-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chart-demo > div { padding: 24px; }
.chart-demo .dark { background: var(--midnight); color: var(--white); }
.chart-demo .light { background: var(--white); border: 1px solid var(--line); }
.chart-demo h4 { font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.bars { display: flex; align-items: flex-end; gap: 6%; height: 200px; border-bottom: 1px solid currentColor; padding: 0 4%; }
.bars span { flex: 1; transform-origin: bottom; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.page:not(.is-active) .bars span, .bars.is-pre span { transform: scaleY(0); }
.indicator { display: flex; height: 40px; }
.indicator span { flex: 1; display: flex; align-items: center; padding-left: 10px; font-size: 13px; font-weight: 500; color: var(--midnight); }

/* ---------- Shapes ---------- */
.shape-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; }
.shape-trio figure { margin: 0; }
.shape-trio .s { aspect-ratio: 1; background: var(--midnight-100); }
.shape-trio .s.circle { border-radius: 50%; }
.shape-trio .s.hb { background: none; display: grid; grid-template-columns: 1fr 1fr; gap: 3%; }
.shape-trio .s.hb::before, .shape-trio .s.hb::after { content: ""; background: var(--midnight-100); }
.shape-trio figcaption { margin-top: 12px; font-size: 14px; text-align: center; color: var(--midnight-700); }
.tile-demo { height: 280px; background-color: var(--midnight); background-image: url("../graphics/oh-brand-tile-soft-grey.svg"); background-size: 300px auto; background-repeat: repeat; }
.tile-demo--light { background-color: var(--white); border: 1px solid var(--line); background-image: url("../graphics/oh-brand-tile-midnight.svg"); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5vw; }
.bento > div { min-height: 140px; padding: 18px; display: flex; align-items: flex-end; font-size: 18px; }
.bento .w2 { grid-column: span 2; }
.bento .h2 { grid-row: span 2; }

/* ---------- Imagery ---------- */
.style-words { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.style-words ul { list-style: none; margin: 0; padding: 0; }
.style-words li { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; }
.style-words .not li { color: var(--midnight-700); text-decoration: line-through; text-decoration-thickness: 2px; }
.cat-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

/* ---------- Applications ---------- */
.app { padding: 48px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
.app:first-of-type { border-top: 0; }
.app h2 { margin: 0 0 16px; font-size: 28px; font-weight: 400; line-height: 1.1; }
.app h2 small { display: block; font-size: 14px; font-weight: 500; color: var(--midnight-700); margin-bottom: 10px; letter-spacing: .04em; }
.app .figure { margin: 0; }

/* ---------- Downloads ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dl-card { border: 1px solid var(--line); display: grid; grid-template-rows: 220px auto; }
.dl-card__preview { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 32px; background: var(--soft-grey); overflow: hidden; }
.dl-card__preview.dark { background: var(--midnight); color: var(--white); }
.dl-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.dl-card__body h3 { margin: 0; font-size: 22px; }
.dl-card__body p { margin: 0; font-size: 14px; color: var(--midnight-700); }
.dl-card__body .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.file-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.file-table th { text-align: left; font-weight: 500; color: var(--midnight-700); padding: 10px 12px; border-bottom: 1px solid var(--midnight-400); font-size: 13px; }
.file-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.file-table .pv { width: 96px; height: 48px; display: flex; align-items: center; justify-content: center; padding: 6px; }
.file-table .pv img { max-height: 36px; width: auto; }
.file-table .pv.dark { background: var(--midnight); }
.file-table .pv.light { background: var(--soft-grey); }
.file-table td:last-child { text-align: right; white-space: nowrap; }
.file-table a { color: var(--link); font-weight: 500; margin-left: 14px; }
.notice { border-left: 3px solid var(--maroon); background: var(--soft-grey); padding: 14px 18px; font-size: 14px; margin-top: 24px; }

/* ---------- Contact ---------- */
.contact { background: var(--midnight); color: var(--white); padding: clamp(32px, 6vw, 72px); display: grid; gap: 24px; }
.contact p { margin: 0; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; max-width: 30ch; }
.contact a.mail { font-size: clamp(22px, 3vw, 40px); color: var(--lime); text-underline-offset: 6px; overflow-wrap: anywhere; }

/* Prev / next */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 96px; }
.pager a { display: block; padding: 20px; border: 1px solid var(--line); text-decoration: none; }
.pager a:hover { border-color: var(--midnight); }
.pager small { display: block; font-size: 13px; color: var(--midnight-700); margin-bottom: 4px; }
.pager span { font-size: 20px; }
.pager .next { text-align: right; grid-column: 2; }

.site-foot { border-top: 1px solid var(--line); padding: 24px var(--gutter); font-size: 13px; color: var(--midnight-700); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Search ---------- */
.search { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; background: rgba(13, 21, 32, .55); }
.search.is-open { display: flex; }
.search__panel { width: min(680px, 100%); max-height: 75vh; background: var(--white); display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(13,21,32,.3); }
.search__field { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.search__field svg { width: 20px; height: 20px; flex: none; }
.search__field input { flex: 1; height: 60px; border: 0; outline: 0; font: inherit; font-size: 18px; background: transparent; min-width: 0; }
.search__results { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.search__results a { display: block; padding: 12px 14px; text-decoration: none; }
.search__results a:hover, .search__results a.is-sel { background: var(--soft-grey); }
.search__results .crumb { font-size: 12px; color: var(--midnight-700); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.search__results .ttl { display: block; font-size: 17px; margin: 2px 0; }
.search__results .snip { display: block; font-size: 14px; color: var(--midnight-700); line-height: 1.4; }
.search__results mark { background: var(--mist-200); color: var(--midnight); }
.search__empty { padding: 24px 16px; color: var(--midnight-700); font-size: 15px; }
.search__hint { padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--midnight-700); display: flex; gap: 16px; }
.search__suggest { padding: 8px 14px 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.search__suggest button { border: 1px solid var(--line); background: var(--white); padding: 6px 12px; font-size: 14px; }
.search__suggest button:hover { border-color: var(--midnight); }

/* Toast + lightbox */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--midnight); color: var(--white); padding: 12px 18px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 120; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(13,21,32,.92); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.scrim { display: none; }

/* ---------- Coded diagrams (graphics.js) ---------- */
.diagram { margin-top: 32px; }
.diagram h4 { margin-bottom: 4px; }
.diagram > p.small { margin: 0 0 8px; }
.diagram__stage { border: 1px solid var(--line); background: var(--white); padding: clamp(20px, 4vw, 48px); display: flex; justify-content: center; align-items: center; }
.diagram__stage > div { width: 100%; }
.grid .diagram { margin-top: 0; display: flex; flex-direction: column; }
.grid .diagram .diagram__stage { flex: 1; }
.lockup-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 16px; }
.lockup-grid > div { background: var(--white); padding: clamp(24px, 4vw, 48px) clamp(12px, 2vw, 24px); }
.pm-examples { margin-top: 24px; }
.pm-examples > div > div { max-width: 380px; margin-top: 24px; }
.pm-examples > div > div:first-of-type { margin-top: 12px; }
.pm-examples--stacked > div { border: 1px solid var(--line); padding: 32px; }
.pm-examples--stacked > div > svg { max-width: 240px; margin: 0 auto; }

.donut-wrap { width: 140px; margin: 28px auto 0; }
.chart-matrix { border: 1px solid var(--line); margin-top: 32px; }
.chart-matrix__head, .chart-matrix__row { display: grid; grid-template-columns: 90px repeat(3, minmax(0, 1fr)); gap: 24px; align-items: center; padding: 16px 20px; }
.chart-matrix__head { background: var(--soft-grey); font-size: 13px; font-weight: 500; }
.chart-matrix__row { border-top: 1px solid var(--line); }
.chart-matrix__row > span { font-size: 13px; color: var(--midnight-700); }
.donut-cell { width: 96px; justify-self: center; }
.indicator-demo { margin-top: 8px; }
.indicator { height: 48px; }
.indicator span { font-weight: 500; }
.status-table { width: 100%; max-width: 640px; border-collapse: collapse; font-size: 14px; }
.status-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.status-table td:nth-child(2) { width: 50%; }
.meter { height: 10px; background: var(--soft-grey); }
.meter i { display: block; height: 100%; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status b { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(13,21,32,.15); }

/* Dynamic module */
.dm-panel { background: var(--midnight); padding: clamp(24px, 6vw, 72px); }
.dm { container-type: inline-size; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
.dm-panel .dm { max-width: 760px; margin: 0 auto; }
.dm__cell { aspect-ratio: 1; min-width: 0; position: relative; }
.dm__sq { padding: 2.6cqw 2.4cqw; display: flex; flex-direction: column; justify-content: space-between; color: var(--midnight); }
.dm__stat { font-size: 5.2cqw; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.dm__cap { font-size: max(9px, 1.55cqw); line-height: 1.45; max-width: 22ch; }
.dm__circ img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transform: scale(1.015); }
.dm__h { display: grid; grid-template-columns: 1fr 1fr; gap: 3%; }
.dm__h::before, .dm__h::after { content: ""; background: var(--midnight-700); }
.dm__h--grey::before, .dm__h--grey::after { background: #b8bcc2; }
.dm--mini .dm__cap { font-size: max(7px, 1.4cqw); }

.app-hero { background: var(--midnight); color: var(--white); display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 48px); padding: clamp(24px, 4vw, 48px); align-items: start; }
.app-hero__copy p { margin: 0 0 24px; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.15; max-width: 14ch; }
.app-hero__btn { display: inline-flex; align-items: center; gap: 8px; background: var(--mist); color: var(--midnight); font-size: 13px; font-weight: 500; padding: 6px 12px 6px 6px; }
.app-hero__btn i { width: 20px; height: 20px; border-radius: 50%; background: var(--midnight); position: relative; }
.app-hero__btn i::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 5px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: rotate(45deg); }

/* Brand tile */
.tile-demo--grey { background-color: var(--white); border: 1px solid var(--line); background-image: url("../graphics/oh-brand-tile-soft-grey.svg"); }
.tile-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3%; padding: 24px; border: 1px solid var(--line); }
.tile-detail i { aspect-ratio: 1; display: block; }
.tile-detail .c { border-radius: 50%; background: var(--midnight); }
.tile-detail .h { background: linear-gradient(90deg, var(--midnight) 48.5%, transparent 48.5% 51.5%, var(--midnight) 51.5%); }
.tile-detail--grey .c { background: #e7e8e9; }
.tile-detail--grey .h { background: linear-gradient(90deg, #e7e8e9 48.5%, transparent 48.5% 51.5%, #e7e8e9 51.5%); }

/* Bento */
.bento-grid { container-type: inline-size; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 160px); gap: 3cqw; padding: 3cqw; border: 1px dashed var(--viz-4); }
.bento-grid .g { grid-row: 1 / span 2; background: rgba(78,111,216,.08); outline: 1px dashed rgba(78,111,216,.5); }
.bento-grid .g:nth-child(1) { grid-column: 1; } .bento-grid .g:nth-child(2) { grid-column: 2; } .bento-grid .g:nth-child(3) { grid-column: 3; } .bento-grid .g:nth-child(4) { grid-column: 4; }
.bento-grid .b { position: relative; z-index: 1; padding: 16px; display: flex; align-items: flex-end; font-size: 15px; }
.bento-live { container-type: inline-size; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "r s" "r b" "p b"; grid-template-rows: auto auto auto; gap: 3cqw; }
.bx { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 3cqw, 36px); text-decoration: none; color: var(--midnight); overflow: hidden; min-height: 240px; }
.bx h3 { margin: 0; font-size: clamp(22px, 2.6cqw, 30px); letter-spacing: 0; }
.bx p { margin: 0; font-size: 15px; line-height: 1.5; }
.bx__top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.bx__btn { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--white); position: relative; }
.bx__btn::after { content: ""; position: absolute; left: 13px; top: 14px; width: 7px; height: 7px; border-top: 1.5px solid var(--midnight); border-right: 1.5px solid var(--midnight); transform: rotate(45deg); }
.bx__btn--mist { background: var(--mist); }
.bx__btn--dark { background: var(--midnight); }
.bx__btn--dark::after { border-color: #fff; }
.bx--grey { background: #e8e9ea; }
.bx--mist { background: var(--mist); }
.bx--research { grid-area: r; }
.bx--research .dm { margin-top: auto; }
.bx--photo { padding: 0; justify-content: flex-end; color: var(--white); }
.bx--photo:nth-of-type(2) { grid-area: s; }
.bx--photo:nth-of-type(3) { grid-area: p; }
.bx--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bx--photo::before { content: ""; position: absolute; inset: 0; background: rgba(13,21,32,.28); z-index: 1; }
.bx--photo:hover img { transform: scale(1.03); }
.bx__bar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: clamp(20px, 3cqw, 36px); }
.bx--biz { grid-area: b; justify-content: space-between; gap: 32px; }
.bx__biz { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--mist); }
.bx__biz li { background: var(--mist-300); aspect-ratio: 1.25; display: grid; place-items: center; text-align: center; padding: 8px; font-size: clamp(12px, 1.4cqw, 15px); font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .swatches--5 { grid-template-columns: repeat(3, 1fr); }
  .viz-seq { grid-template-columns: repeat(4, 1fr); }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .usage-cols { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 900px) {
  :root { --side-w: 0px; }
  .sidebar { width: 300px; transform: translateX(-100%); transition: transform .25s ease; }
  body.nav-open .sidebar { transform: none; box-shadow: 0 0 40px rgba(13,21,32,.25); }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(13,21,32,.4); z-index: 35; }
  .menu-btn, .icon-btn { display: inline-flex; }
  .topbar { grid-template-columns: auto 1fr auto; gap: 12px; }
  .topbar__title { text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .page-head, .section-head, .idea, .hero, .specimen, .scale, .chart-demo { grid-template-columns: 1fr; }
  .page-head { gap: 20px; }
  .hero__shapes { max-width: calc(180px * var(--cols, 2)); }
  .grid--3, .grid--4, .pillars, .contrast, .expressive, .dl-grid { grid-template-columns: repeat(2, 1fr); }
  :root { --content-pt: 40px; }
}
@media (max-width: 600px) {
  .topbar .btn .label { display: none; }
  .grid--2, .grid--3, .grid--4, .pillars, .swatches--5, .swatches--3, .shades, .align-grid, .punct, .donts, .dl-grid, .style-words, .size-demo, .shape-trio { grid-template-columns: 1fr; }
  .contrast, .expressive { grid-template-columns: repeat(2, 1fr); }
  .viz-seq { grid-template-columns: repeat(2, 1fr); }
  .quick { grid-template-columns: 1fr; }
  .weight { grid-template-columns: 1fr; gap: 8px; }
  .chapters a { grid-template-columns: 40px 1fr; }
  .chapters .d { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .file-table .hide-sm { display: none; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: 1; }
  .shape-trio { max-width: 280px; }
  .lockup-grid, .pm-examples { grid-template-columns: 1fr; }
  .app-hero { grid-template-columns: 1fr; }
  .bento-live { grid-template-columns: 1fr; grid-template-areas: "r" "s" "b" "p"; }
  .bento-grid { grid-template-rows: repeat(2, 100px); }
  .bento-grid .b { font-size: 12px; padding: 8px; }
  .chart-matrix__head, .chart-matrix__row { grid-template-columns: 56px repeat(3, minmax(0, 1fr)); gap: 10px; padding: 12px; }
  .donut-cell { width: 64px; }
  .status-table td:nth-child(2) { width: 35%; }
}

/* =====================================================================
   VERSION 2: brand publication layer (Nov 2026)
   Uses existing tokens only. Square corners; circles only as brand shapes.
   ===================================================================== */

/* ---------- Accessibility helpers ---------- */
.skip-link { position: fixed; left: 16px; top: -120px; z-index: 200; background: var(--midnight); color: var(--white); padding: 12px 18px; font-size: 15px; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.5); background: transparent; color: var(--white); display: grid; place-items: center; }
.lightbox__close:hover { background: var(--midnight-700); }
.zoomable img { cursor: zoom-in; }
@media (prefers-reduced-motion: reduce) { .bx--photo img, .quick a, .chapters a { transition: none !important; } }

/* ---------- 70+ Years lock up (proportions measured from the guidelines page) ---------- */
.fig-stack { display: grid; gap: 24px; align-content: start; }
.fig-stack > .figure { margin: 0; }
.lockup70 { aspect-ratio: 1.69; display: flex; align-items: center; justify-content: center; }
.lockup70 img { width: 59.6%; height: auto; display: block; }

/* ---------- Full-bleed bands (background runs edge to edge, content stays on the grid) ---------- */
.bleed, .page-head, .hero, .section.band, .pager-band { box-shadow: 0 0 0 100vmax var(--bleed-bg, var(--soft-grey)); clip-path: inset(0 -100vmax); background: var(--bleed-bg, var(--soft-grey)); }

/* ---------- Chapter covers (built from .page-head by main.js) ---------- */
.page-head { --bleed-bg: var(--midnight); color: var(--white); margin: calc(-1 * var(--content-pt, 72px)) 0 clamp(56px, 7vw, 96px); padding: clamp(48px, 7vw, 104px) 0 clamp(48px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-head + .section.band { margin-top: calc(-1 * clamp(56px, 7vw, 96px)); }
.page-head h1 { font-size: clamp(48px, 6.4vw, 96px); line-height: .95; letter-spacing: -.03em; color: var(--white); }
.page-head .lede { margin: 32px 0 0; max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; color: var(--white); }
.cover__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: clamp(28px, 4vw, 48px); font-size: 12px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--midnight-400); }
.cover__num { color: var(--lime); margin-right: 8px; }
.cover__meta i { width: 32px; height: 1px; background: var(--midnight-700); }
.page-num { display: block; margin: 0 0 20px; font-size: clamp(80px, 11vw, 160px); font-weight: 400; line-height: .8; letter-spacing: -.04em; color: var(--mist); }
.proposed { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; background: var(--mist); color: var(--midnight); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.proposed::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--midnight); }
.cover__mod { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0; width: 100%; max-width: calc(440px * var(--cols, 3) / 3); justify-self: end; }
.cover__mod > span { aspect-ratio: 1; display: block; min-width: 0; overflow: hidden; }
.m-c { border-radius: 50%; overflow: hidden; }
.m-c img, .m-s img { display: block; width: 100%; height: 100%; object-fit: cover; }
.m-s { overflow: hidden; }
.m-h { display: grid !important; grid-template-columns: 1fr 1fr; gap: 3%; background: none !important; }
.m-h::before, .m-h::after { content: ""; background: var(--hc, var(--midnight-700)); }

/* Home cover */
.hero { --bleed-bg: var(--midnight); margin-top: calc(-1 * var(--content-pt, 72px)); padding: clamp(56px, 8vw, 120px) 0 clamp(48px, 6vw, 88px); min-height: min(76vh, 760px); grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero h1 { font-size: clamp(64px, 9vw, 136px); }
.hero__left { gap: 32px; }
.hero .btn--ghost:focus-visible { box-shadow: 0 0 0 2px var(--midnight); outline-color: var(--white); }
.quick { margin-top: 0; gap: 0; border-bottom: 1px solid var(--line); counter-reset: q; }
.quick a { background: none; min-height: 200px; padding: 28px 24px 28px 0; border-right: 1px solid var(--line); gap: 40px; }
.quick a + a { padding-left: 24px; }
.quick a:last-child { border-right: 0; }
.quick a:hover { background: var(--soft-grey); }
.quick strong { font-size: 24px; }
.quick a::before { counter-increment: q; content: counter(q) ".0"; font-size: 12px; font-weight: 500; letter-spacing: 3px; color: var(--midnight-700); }
.quick .arrow { order: 3; }

/* ---------- Sections: editorial grid and rhythm ---------- */
.section { padding-top: clamp(56px, 7vw, 96px); }
.section + .section { margin-top: 0; }
.section-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); margin-bottom: 40px; }
.section > h2, .section-head h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.02; letter-spacing: -.015em; }
.section.band { padding-bottom: clamp(56px, 7vw, 96px); margin-top: clamp(56px, 7vw, 96px); border-top: 0; }
.section.band + .section { border-top: 0; }
.band .card--grey, .band .chips span, .band .scale__rules, .band .align-tile, .band .figure__frame:not(.figure__frame--white), .band .dont-tile { background: var(--white); }
.band--dark { --bleed-bg: var(--midnight); color: var(--white); }
.band--dark .muted, .band--dark .small { color: var(--midnight-400); }
.band--dark .values li { border-color: rgba(255,255,255,.14); font-size: clamp(26px, 3vw, 40px); padding: 18px 0; }
.band--dark .values { counter-reset: v; }
.band--dark .values li::before { counter-increment: v; content: counter(v, decimal-leading-zero); display: inline-block; width: 64px; font-size: 14px; font-weight: 500; color: var(--mist); vertical-align: middle; }
/* Brand positioning statement list (Option 3, chosen 23 Nov 2026) */
.pos-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--midnight); }
.pos-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) 36px; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: clamp(20px, 2.3vw, 32px); line-height: 1.12; letter-spacing: -.01em; transition: color .2s, padding .2s; }
.pos-list li span { font-size: 13px; font-weight: 500; letter-spacing: 3px; color: var(--midnight-700); }
.pos-list li i { width: 28px; height: 28px; border-radius: 50%; background: var(--mist); justify-self: end; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s; }
.pos-list li:nth-child(odd) i { background: var(--lilac); }
.pos-list li:hover { color: var(--maroon); padding-left: 8px; }
.pos-list li:hover i { opacity: 1; transform: none; }
@media (max-width: 600px) { .pos-list li { grid-template-columns: 40px minmax(0, 1fr); } .pos-list li i { display: none; } }
@media (prefers-reduced-motion: reduce) { .pos-list li, .pos-list li i { transition: none; } }
/* Brand values accordion */
.values--acc { display: block; counter-reset: v; border-top: 1px solid rgba(255,255,255,.14); }
.values--acc details { border-bottom: 1px solid rgba(255,255,255,.14); }
.values--acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0; padding: 18px 56px 18px 0; position: relative; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.values--acc summary::-webkit-details-marker { display: none; }
.values--acc summary::before { counter-increment: v; content: counter(v, decimal-leading-zero); flex: none; width: 64px; font-size: 14px; font-weight: 500; color: var(--mist); }
.values--acc summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230d1520' stroke-width='1.8'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s; }
.values--acc details[open] summary::after { transform: rotate(45deg); }
.values--acc summary:hover { color: var(--mist); }
.values--acc summary:focus-visible { outline-color: var(--mist); }
.values__body { padding: 0 56px 24px 64px; max-width: 46ch; font-size: 17px; line-height: 1.5; color: var(--midnight-100); }
.values__body p { margin: 0 0 10px; }
.values__body strong { font-weight: 600; color: var(--white); }
@media (max-width: 600px) { .values--acc summary::before { width: 44px; } .values__body { padding-left: 44px; padding-right: 0; } }

/* Statement */
.statement { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -.015em; max-width: 22ch; margin: 0; }

/* ---------- Next chapter band ---------- */
.pager { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0; margin-top: clamp(80px, 10vw, 144px); border-top: 1px solid var(--midnight); }
.pager a { border: 0; padding: 24px 24px 24px 0; }
.pager a:hover { border: 0; }
.pager .prev span { font-size: 18px; }
.pager .prev:hover span { text-decoration: underline; text-underline-offset: 4px; }
.pager .next { grid-column: 2; text-align: left; background: var(--midnight); color: var(--white); padding: clamp(24px, 3vw, 40px); min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; position: relative; transition: background .2s; }
.pager .next:hover { background: var(--midnight-700); }
.pager .next small { color: var(--midnight-400); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.pager .next span { font-size: clamp(32px, 4vw, 56px); line-height: 1; letter-spacing: -.02em; padding-right: 72px; }
.pager .next::after { content: ""; position: absolute; right: clamp(24px, 3vw, 40px); bottom: clamp(24px, 3vw, 40px); width: 48px; height: 48px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%230d1520' stroke-width='1.8'/%3E%3C/svg%3E") center / 22px no-repeat; }

/* ---------- Read more ---------- */
.more[hidden] { display: none; }
.more-btn { display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 8px; padding: 6px 0; border: 0; border-bottom: 1px solid currentColor; background: none; font-size: 14px; font-weight: 500; }
.more-btn::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.more-btn[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-2px, -1px); }
.idea .more-btn, .band--dark .more-btn { color: var(--white); }

/* ---------- Do / Don't plates ---------- */
.plates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 32px; }
.plates--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plate { background: var(--white); display: flex; flex-direction: column; }
.plate__stage { aspect-ratio: 4 / 3; background: var(--soft-grey); display: grid; place-items: center; padding: 8%; position: relative; overflow: hidden; }
.plate__stage:has([data-viz]) { aspect-ratio: auto; }
.plate__cap { display: flex; gap: 12px; align-items: baseline; padding: 14px 16px 16px; font-size: 14px; line-height: 1.4; border-top: 1px solid var(--line); }
.plate__cap .tag { flex: none; }
.mini-page { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 14% 1fr 28%; gap: 4px; }
.mini-page > i { display: block; }

/* Colour proportion composition */
.prop-demo { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 64px; gap: 6px; margin-top: 24px; }
.prop-demo > div { padding: 12px; font-size: 13px; font-weight: 500; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; min-width: 0; }
.prop-demo .c { border-radius: 50%; aspect-ratio: 1; height: 100%; padding: 0; justify-self: center; }

/* ---------- Imagery ---------- */
.pcards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.pcard { display: flex; flex-direction: column; background: var(--soft-grey); }
.pcard__media { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: var(--midnight); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__media--circle { background: var(--mist-200); }
.pcard__media--circle img { width: 76%; height: 76%; border-radius: 50%; }
.pcard__media--bw img { filter: grayscale(1) contrast(1.08); }
.pcard__body { padding: 18px; }
.pcard__body h3 { margin: 0 0 8px; }
.pcard__body p { margin: 0; font-size: 14px; line-height: 1.5; }
.gallery { display: grid; gap: 40px; }
.gallery__row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 12px; align-items: stretch; }
.gallery__row figure { margin: 0; position: relative; overflow: hidden; background: var(--soft-grey); }
.gallery__row img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.gallery__row .circle { display: grid; place-items: center; background: var(--mist-200); }
.gallery__row .circle img { width: 86%; height: auto; aspect-ratio: 1; border-radius: 50%; }
.gallery__row:nth-child(even) { grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 6fr); }
.gallery__label { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--midnight); padding-top: 10px; margin-bottom: 12px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.overlay-demo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.overlay-demo figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; color: var(--white); }
.overlay-demo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlay-demo .ov { position: absolute; inset: 0; background: #000; mix-blend-mode: multiply; }
.overlay-demo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.overlay-demo figcaption b { display: block; font-size: clamp(20px, 2.2vw, 28px); font-weight: 400; line-height: 1.1; margin-bottom: 8px; }
.overlay-demo figcaption span { font-size: 13px; font-weight: 500; }

/* =====================================================================
   DIGITAL: UI components, property data viz and product examples
   ===================================================================== */
.spec-stage { border: 1px solid var(--line); background: var(--white); }
.spec-stage__bar { display: flex; justify-content: space-between; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--midnight-700); }
.spec-stage__body { padding: clamp(20px, 4vw, 48px); }
.spec-stage__body--grey { background: var(--soft-grey); }
.spec-stage__body--dark { background: var(--midnight); color: var(--white); }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 24px; margin: 16px 0 0; font-size: 14px; border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--midnight-700); }
.spec dd { margin: 0; font-weight: 500; text-align: right; }
.state-row { display: grid; grid-template-columns: 120px repeat(4, minmax(0, 1fr)); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.state-row:first-child { padding-top: 0; }
.state-row > span:first-child { font-size: 14px; font-weight: 500; }
.state-head { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--midnight-700); }
.btn.is-hover { background: var(--midnight-700); border-color: var(--midnight-700); }
.btn--ghost.is-hover { background: var(--midnight); color: var(--white); }
.btn--mist.is-hover { background: var(--mist-300); border-color: var(--mist-300); }
.btn.is-focus { outline: 2px solid var(--midnight); outline-offset: 2px; box-shadow: 0 0 0 2px var(--white); }
.btn[disabled], .btn.is-disabled { background: var(--soft-grey); border-color: var(--midnight-100); color: var(--midnight-700); cursor: not-allowed; }
.btn--lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn--light { background: var(--white); border-color: var(--white); color: var(--midnight); }
.btn--outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; text-decoration: none; }
.link-arrow i { width: 28px; height: 28px; border-radius: 50%; background: var(--midnight); position: relative; flex: none; }
.link-arrow i::after { content: ""; position: absolute; left: 9px; top: 10px; width: 6px; height: 6px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: rotate(45deg); }
.link-arrow--light i { background: var(--mist); }
.link-arrow--light i::after { border-color: var(--midnight); }
.link-arrow:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* Navigation specimens */
.ui-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 24px; height: 72px; background: var(--midnight); color: var(--white); }
.ui-nav img { width: 132px; }
.ui-nav__links { display: flex; gap: 28px; font-size: 15px; color: var(--midnight-400); height: 100%; }
.ui-nav__links span { display: flex; align-items: center; height: 100%; }
.ui-nav__links .is-on { color: var(--white); box-shadow: inset 0 -3px 0 var(--mist); }
.ui-nav--light { background: var(--white); color: var(--midnight); border-bottom: 1px solid var(--line); }
.ui-nav--light .ui-nav__links { color: var(--midnight-700); }
.ui-nav--light .ui-nav__links .is-on { color: var(--midnight); box-shadow: inset 0 -3px 0 var(--midnight); }
/* Circle button, as on oliverhume.com.au: chevron circle + square label block, 2.75em tall, 0.25em apart */
.cbtn { --h: 44px; display: inline-flex; align-items: stretch; gap: 4px; height: var(--h); text-decoration: none; font-size: 15px; font-weight: 500; color: var(--midnight); white-space: nowrap; vertical-align: middle; }
.cbtn__c { width: var(--h); height: var(--h); border-radius: 50%; flex: none; position: relative; background: var(--cb, var(--mist)); }
.cbtn__c::after { content: ""; position: absolute; left: calc(50% - 5px); top: calc(50% - 4px); width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.cbtn__l { display: flex; align-items: center; padding: 0 1.5em; background: var(--cb, var(--mist)); }
.cbtn--white { --cb: var(--white); }
/* Rectangular button: label block only, no circle */
.rbtn { display: inline-flex; align-items: center; height: 44px; padding: 0 1.5em; background: var(--mist); color: var(--midnight); font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; vertical-align: middle; }
.rbtn--dark { background: var(--midnight); color: var(--white); }
.rbtn--white { background: var(--white); }
.cbtn--dark { --cb: var(--midnight); color: var(--white); }
.cbtn--sm { --h: 36px; font-size: 14px; }
.cbtn--solo .cbtn__c { display: none; }
.cbtn.is-hover .cbtn__l { text-decoration: underline; text-underline-offset: 4px; }
.cbtn.is-focus { outline: 2px solid var(--white); outline-offset: 3px; }
.cbtn.is-disabled { --cb: var(--midnight-700); color: var(--midnight-400); cursor: not-allowed; }
.spec-stage__body--dark .state-row > span:first-child { color: var(--white); }
a.cbtn:hover .cbtn__l, button.cbtn:hover .cbtn__l { text-decoration: underline; text-underline-offset: 4px; }
button.cbtn { border: 0; padding: 0; background: none; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.cbtn-circle { width: 36px; height: 36px; border-radius: 50%; flex: none; position: relative; background: var(--cb, var(--white)); color: var(--midnight); display: inline-block; }
.cbtn-circle::after { content: ""; position: absolute; left: 13px; top: 14px; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.cbtn-circle--dark { --cb: var(--midnight); color: var(--white); }
/* Website navigation */
.ui-nav--site { height: 64px; gap: 20px; }
.ui-nav--site .ui-nav__links { color: var(--white); font-weight: 500; gap: 24px; font-size: 14px; }
.ui-nav__links .dd, .ui-dd + .dd { display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 6px; }
.ui-nav__util { display: flex; align-items: center; gap: 18px; font-size: 12px; color: var(--white); }
.ui-nav--site span { white-space: nowrap; }
@media (max-width: 1480px) { .ui-nav__util > span:not(.cbtn) { display: none; } }
.ui-dd { background: var(--white); color: var(--midnight); display: grid; padding: 8px 20px; max-width: 280px; }
.ui-dd span { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ui-dd span:last-child { border-bottom: 0; }
.ui-mbar { width: 300px; max-width: 100%; height: 66px; background: var(--midnight); display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 18px; }
.ui-mbar img { width: 130px; }
.ui-mbar__r { display: flex; align-items: center; gap: 16px; }
.ui-mbar__menu { width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-content: center; gap: 4px; }
.ui-mbar__menu i { display: block; width: 18px; height: 1.5px; background: var(--midnight); }
/* Numbered progress tabs */
.ui-ptabs { position: relative; min-height: 340px; color: var(--white); display: flex; flex-direction: column; justify-content: space-between; padding: 32px; overflow: hidden; }
.ui-ptabs > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ui-ptabs__ov { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.ui-ptabs > *:not(img):not(.ui-ptabs__ov) { position: relative; }
.ui-ptabs__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ui-ptabs__head b { font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; }
.ui-ptabs__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; font-size: 14px; }
.ui-ptabs__tabs span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; color: rgba(255,255,255,.7); }
.ui-ptabs__tabs .is-on { color: var(--white); }
.ui-ptabs__tabs em { font-style: normal; font-size: 12px; }
.ui-ptabs__tabs i { order: -1; flex-basis: 100%; height: 3px; background: rgba(255,255,255,.25); border-radius: 300px; overflow: hidden; margin-bottom: 8px; }
.ui-ptabs__tabs i b { display: block; height: 100%; background: var(--white); border-radius: 300px; }
.ui-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); font-size: 15px; }
.ui-tabs span { padding: 12px 0; color: var(--midnight-700); }
.ui-tabs .is-on { color: var(--midnight); box-shadow: inset 0 -2px 0 var(--midnight); font-weight: 500; }
.ui-crumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--midnight-700); }
.ui-crumb b { font-weight: 500; color: var(--midnight); }
.ui-pages { display: flex; gap: 4px; }
.ui-pages span { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 14px; }
.ui-pages .is-on { background: var(--midnight); color: var(--white); border-color: var(--midnight); }
.ui-mnav { width: 280px; max-width: 100%; border: 1px solid var(--line); background: var(--midnight); color: var(--white); }
.ui-mnav__top { height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ui-mnav__top img { width: 104px; }
.ui-mnav__x { width: 22px; height: 22px; position: relative; }
.ui-mnav__x::before, .ui-mnav__x::after { content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 1.5px; background: var(--white); transform: rotate(45deg); }
.ui-mnav__x::after { transform: rotate(-45deg); }
.ui-mnav ul { list-style: none; margin: 0; padding: 12px 18px 24px; }
.ui-mnav li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 22px; display: flex; justify-content: space-between; align-items: center; }
.ui-mnav li small { font-size: 12px; color: var(--midnight-400); }

/* Cards */
.ui-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ui-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); text-decoration: none; }
.ui-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft-grey); position: relative; }
.ui-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ui-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ui-card__body h3 { margin: 0; font-size: 22px; line-height: 1.15; letter-spacing: 0; }
.ui-card__body p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--midnight-700); }
.ui-card__foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); font-size: 14px; }
.ui-card__foot b { font-weight: 500; }
/* Caption / label, as on the website: 0.85em, Medium, uppercase, 3px tracking */
.feat { font-size: 12px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--midnight-700); }
.ui-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; background: var(--white); color: var(--midnight); }
.ui-card__media .ui-chip { position: absolute; left: 12px; top: 12px; }
.ui-chip--mist { background: var(--mist); }
.ui-chip--dark { background: var(--midnight); color: var(--white); }
.ui-chip--line { background: transparent; border: 1px solid var(--midnight-400); }
.ui-card--stat { background: var(--mist); border-color: var(--mist); justify-content: space-between; padding: 24px; aspect-ratio: 1; }
.ui-card--stat strong { font-size: clamp(40px, 5vw, 64px); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.ui-card--stat p { margin: 0; font-size: 15px; max-width: 24ch; }

/* Website cards */
.wcards { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.wcard { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; min-height: 300px; text-decoration: none; color: var(--midnight); overflow: hidden; }
.wcard h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: 0; }
.wcard p { margin: 0; font-size: 15px; line-height: 1.5; max-width: 36ch; }
.wcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.wcard--grey { background: var(--midnight-100); }
.wcard--mist { background: var(--mist); justify-content: flex-start; }
.wcard__mod { margin-top: auto; max-width: 260px; gap: 0; }
.wcard--photo { padding: 0; justify-content: flex-end; color: var(--white); }
.wcard--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wcard__fade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.5) 15%, rgba(0,0,0,0) 85%); }
.wcard__bar { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 28px; }
.wnews { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-top: 24px; }
.wnews__feat { min-height: 340px; }
.wdate { display: block; font-size: 12px; margin-bottom: 8px; }
.wnews__list { display: grid; gap: 0; align-content: start; }
.wnews__item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--midnight); }
.wnews__item:first-child { padding-top: 0; }
.wnews__item img { width: 96px; height: 96px; object-fit: cover; }
.wnews__item b { display: block; font-weight: 400; font-size: 17px; line-height: 1.3; margin-bottom: 10px; }
.wtags { display: flex; flex-wrap: wrap; gap: 6px; }
.wtag { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 300px; background: rgba(179,240,13,.2); font-size: 12px; font-weight: 500; color: var(--midnight); }
a.wcard:hover h3, a.wnews__item:hover b { text-decoration: underline; text-underline-offset: 4px; }
.ui-chip { border-radius: 300px; }

/* Tables */
.ui-table-wrap { overflow-x: auto; }
.ui-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; min-width: 560px; }
.ui-table caption { text-align: left; padding-bottom: 14px; }
.ui-table caption b { display: block; font-size: 20px; font-weight: 400; }
.ui-table caption span { font-size: 13px; color: var(--midnight-700); }
.ui-table th { text-align: left; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--midnight-700); padding: 10px 16px 10px 0; border-bottom: 1px solid var(--midnight); white-space: nowrap; }
.ui-table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ui-table .num { text-align: right; }
.ui-table tbody tr:hover { background: var(--mist-100); }
.ui-table tr.is-hl td { background: var(--mist-100); }
.ui-table tr.is-hl td:first-child { box-shadow: inset 3px 0 0 var(--midnight); padding-left: 12px; }
.ui-table tfoot td { font-size: 13px; color: var(--midnight-700); border-bottom: 0; padding-top: 12px; }
.chg { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.chg::before { content: ""; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; }
.chg--up::before { border-bottom: 7px solid currentColor; }
.chg--down::before { border-top: 7px solid currentColor; }
.spark { display: block; width: 96px; height: 28px; }
.sort { display: inline-block; margin-left: 6px; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; vertical-align: 1px; }

/* Forms */
.ui-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.ui-form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .lbl { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { height: 48px; padding: 0 14px; border: 1px solid var(--midnight-400); border-radius: 0; background: var(--white); color: var(--midnight); font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
.field textarea { height: 112px; padding: 12px 14px; resize: vertical; }
.field select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230d1520' stroke-width='1.5'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--midnight); }
.field input:focus, .field select:focus, .field textarea:focus, .field .is-focus { outline: 2px solid var(--midnight); outline-offset: 0; border-color: var(--midnight); box-shadow: none; }
.field .hint { font-size: 13px; color: var(--midnight-700); }
.field.is-error input { border-color: var(--maroon); box-shadow: inset 0 0 0 1px var(--maroon); }
.field .err { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 500; color: var(--maroon); }
.field .err::before { content: "!"; width: 18px; height: 18px; border-radius: 50%; background: var(--maroon); color: var(--white); display: grid; place-items: center; font-size: 12px; flex: none; }
.field input[disabled] { background: var(--soft-grey); border-color: var(--midnight-100); color: var(--midnight-700); }
.checks { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--midnight); background: var(--white); display: grid; place-items: center; flex: none; }
.check input[type=radio] { border-radius: 50%; }
.check input:checked { background: var(--midnight); }
.check input[type=checkbox]:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.check input[type=radio]:checked { background: var(--white); }
.check input[type=radio]:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--midnight); }

/* Website form on Midnight */
.oh-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5em; color: var(--white); }
.oh-row { display: grid; grid-template-columns: minmax(84px, 30%) 1fr; align-items: center; column-gap: 12px; min-height: 53px; border-bottom: 1px solid rgba(255,255,255,.15); }
.oh-row--full { grid-column: 1 / -1; }
.oh-row--top { align-items: start; }
.oh-row--top label { padding-top: 16px; }
.oh-row label { font-size: 14px; font-weight: 700; color: var(--mist); }
.oh-row input, .oh-row select, .oh-row textarea { width: 100%; height: 52px; border: 0; background: transparent; color: var(--white); font: inherit; font-size: 15px; padding: 0; border-radius: 0; -webkit-appearance: none; appearance: none; }
.oh-row textarea { height: 140px; padding-top: 16px; resize: vertical; }
.oh-row select { background: var(--midnight) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center / 12px no-repeat; }
.oh-row ::placeholder { color: var(--midnight-400); opacity: 1; }
.oh-row input:focus, .oh-row select:focus, .oh-row textarea:focus { outline: 2px solid var(--mist); outline-offset: 2px; box-shadow: none; }
.oh-row.is-error { border-bottom-color: var(--white); }
.oh-err { grid-column: 2; display: flex; gap: 8px; align-items: center; padding-bottom: 10px; font-size: 13px; color: var(--white); }
.oh-err::before { content: "!"; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--white); display: grid; place-items: center; font-size: 11px; font-weight: 500; flex: none; }
.oh-checks { display: grid; gap: 12px; padding: 28px 0 8px; }
.oh-check { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; cursor: pointer; }
.oh-check input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin: 0; border-radius: 50%; border: 1px solid var(--white); background: transparent; display: grid; place-items: center; flex: none; }
.oh-check input:checked::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--mist); }
.oh-submit { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; }

/* KPI */
.kpi-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--midnight); }
.kpi-strip--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { padding: 20px 20px 22px 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.kpi + .kpi { padding-left: 20px; border-left: 1px solid var(--line); }
.kpi strong { font-size: clamp(30px, 3.2vw, 44px); font-weight: 400; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi small { font-size: 13px; color: var(--midnight-700); }
.kpi small .chg { color: var(--midnight); margin-right: 4px; }
.kpi .spark { width: 100%; height: 32px; margin-top: 4px; }
.on-dark .kpi-strip, .kpi-strip.on-dark { border-top-color: rgba(255,255,255,.4); }
.on-dark .kpi + .kpi { border-left-color: rgba(255,255,255,.14); }
.on-dark .feat, .on-dark .kpi small { color: var(--midnight-400); }
.on-dark .kpi small .chg { color: var(--white); }
.kpi-tile { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; aspect-ratio: 1; }
.kpi-tile strong { font-size: clamp(36px, 4vw, 56px); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.kpi-tile p { margin: 0; font-size: 14px; line-height: 1.4; }

/* Responsive grid */
.grid-demo { position: relative; display: grid; gap: var(--g); grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); padding: 0 var(--m); height: 140px; background: var(--white); border: 1px solid var(--line); }
.grid-demo i { background: var(--mist-200); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; font-size: 11px; font-style: normal; color: var(--midnight-700); }
.grid-demos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr) minmax(0, .38fr); gap: 24px; align-items: end; }
.grid-demos figure { margin: 0; }
.grid-demos figcaption { margin-top: 10px; font-size: 14px; }
.grid-demos figcaption b { font-weight: 500; display: block; }
.span-demo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.span-demo > div { height: 56px; padding: 10px 12px; font-size: 12px; font-weight: 500; display: flex; align-items: flex-end; }

/* Data viz (digital.js renders into [data-viz]) */
.viz-card { border: 1px solid var(--line); background: var(--white); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.viz-card--dark { background: var(--midnight); border-color: var(--midnight); color: var(--white); }
.viz-card h3 { margin: 0; font-size: clamp(20px, 2vw, 24px); line-height: 1.15; letter-spacing: 0; }
.viz-card .sub { font-size: 13px; color: var(--midnight-700); margin: 0 0 16px; }
.viz-card--dark .sub, .viz-card--dark .src { color: var(--midnight-400); }
.viz-card .src { margin: 12px 0 0; font-size: 12px; color: var(--midnight-700); }
[data-viz] { width: 100%; min-height: 120px; }
[data-viz] svg { display: block; width: 100%; height: auto; overflow: visible; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 13px; }
.viz-legend li { display: inline-flex; align-items: center; gap: 8px; }
.viz-legend i { width: 12px; height: 12px; display: block; }
.viz-legend i.ln { height: 3px; width: 18px; }
.viz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.anatomy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.anatomy ol { list-style: none; margin: 0; padding: 0; counter-reset: a; border-top: 1px solid var(--midnight); }
.anatomy li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.anatomy li::before { counter-increment: a; content: counter(a); width: 24px; height: 24px; border-radius: 50%; background: var(--midnight); color: var(--white); display: grid; place-items: center; font-size: 12px; font-weight: 500; }
.anatomy li b { font-weight: 500; }
.anno { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--midnight); color: var(--white); font-size: 11px; font-weight: 500; letter-spacing: 0; margin-right: 10px; vertical-align: 3px; }

/* Product examples: device frames */
.frame { border: 1px solid var(--midnight-100); background: var(--white); overflow: hidden; }
.frame__bar { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--soft-grey); border-bottom: 1px solid var(--line); }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--midnight-100); }
.frame__bar span { margin-left: 12px; flex: 1; max-width: 360px; height: 22px; background: var(--white); font-size: 11px; color: var(--midnight-700); display: flex; align-items: center; padding: 0 10px; overflow: hidden; white-space: nowrap; }
.frame__screen { container-type: inline-size; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); justify-items: center; }
.phone { width: 100%; max-width: 300px; aspect-ratio: 9 / 19; border: 10px solid var(--midnight); background: var(--white); overflow: hidden; display: flex; flex-direction: column; container-type: inline-size; font-size: 13px; }
.phone__status { height: 28px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; font-size: 11px; font-weight: 500; }
.phone__body { flex: 1; overflow: hidden; display: flex; flex-direction: column; }

/* Mock: QMI report */
.mk-qmi__cover { background: var(--midnight); color: var(--white); padding: 6cqw 5cqw 5cqw; display: grid; grid-template-columns: 1.3fr 1fr; gap: 4cqw; align-items: end; }
.mk-qmi__cover h4 { margin: 2cqw 0 0; font-size: 6cqw; font-weight: 400; line-height: .95; letter-spacing: -.03em; }
.mk-qmi__cover p { margin: 2.4cqw 0 0; font-size: max(11px, 1.5cqw); line-height: 1.45; color: var(--white); max-width: 40ch; }
.mk-qmi__cover .feat { color: var(--midnight-400); font-size: max(9px, 1.1cqw); }
.mk-mod { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.mk-mod > span { aspect-ratio: 1; display: block; overflow: hidden; }
.mk-mod .sq { padding: 1.6cqw; display: flex; flex-direction: column; justify-content: space-between; color: var(--midnight); }
.mk-mod .sq b { font-size: 2.6cqw; font-weight: 400; line-height: 1; white-space: nowrap; }
.mk-mod .sq small { font-size: max(8px, 1cqw); line-height: 1.3; }
.mk-sec { padding: 4.5cqw 5cqw; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4cqw; border-top: 1px solid var(--line); }
.mk-sec h5 { margin: 0; font-size: 3.2cqw; font-weight: 400; line-height: 1.02; letter-spacing: -.01em; }
.mk-sec p { margin: 1.6cqw 0 0; font-size: max(11px, 1.3cqw); line-height: 1.55; color: var(--midnight-700); }
.mk-qmi .kpi strong { font-size: max(18px, 3cqw); }
.mk-qmi .kpi { padding-top: 1.6cqw; padding-bottom: 1.6cqw; }
.mk-qmi .kpi small, .mk-qmi .feat { font-size: max(9px, 1cqw); }

/* Mock: project landing */
.mk-land__hero { position: relative; min-height: 46cqw; color: var(--white); display: flex; flex-direction: column; justify-content: space-between; padding: 3cqw 5cqw 5cqw; overflow: hidden; }
.mk-land__hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-land__hero .ov { position: absolute; inset: 0; background: #000; opacity: .45; mix-blend-mode: multiply; }
.mk-land__hero > *:not(img):not(.ov) { position: relative; }
.mk-land__top { display: flex; justify-content: space-between; align-items: center; font-size: max(10px, 1.2cqw); }
.mk-land__top img { width: 14cqw; min-width: 90px; }
.mk-land__hero h4 { margin: 0; font-size: 7cqw; font-weight: 400; line-height: .95; letter-spacing: -.03em; max-width: 12ch; }
.mk-land__hero p { margin: 2cqw 0 0; font-size: max(11px, 1.6cqw); max-width: 36ch; }
.mk-land__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3cqw; padding: 4cqw 5cqw 5cqw; background: var(--soft-grey); }
.mk-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; }
.mk-bento > div { min-height: 16cqw; padding: 2cqw; display: flex; flex-direction: column; justify-content: flex-end; gap: .6cqw; position: relative; overflow: hidden; }
.mk-bento b { font-size: max(12px, 2cqw); font-weight: 400; line-height: 1.1; position: relative; }
.mk-bento small { font-size: max(9px, 1.1cqw); position: relative; }
.mk-bento img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-enq { background: var(--white); padding: 3cqw; display: flex; flex-direction: column; gap: 1.6cqw; }
.mk-enq h5 { margin: 0; font-size: max(14px, 2.4cqw); font-weight: 400; line-height: 1.1; }
.mk-enq .field input, .mk-enq .field select { height: max(30px, 4.6cqw); font-size: max(11px, 1.3cqw); }
.mk-enq .field label { font-size: max(10px, 1.15cqw); }
.mk-enq .btn { height: max(30px, 4.6cqw); font-size: max(11px, 1.3cqw); justify-content: center; }

/* Mock: phone screens */
.ph-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; }
.ph-top img { width: 92px; }
.ph-dots { width: 18px; height: 12px; display: grid; gap: 3px; }
.ph-dots i { height: 1.5px; background: currentColor; display: block; }
.ph-hero { background: var(--midnight); color: var(--white); padding: 18px 16px 20px; }
.ph-hero h5 { margin: 6px 0 0; font-size: 26px; font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.ph-hero .feat { color: var(--midnight-400); font-size: 10px; }
.ph-list { padding: 4px 16px; }
.ph-item { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.ph-item img { width: 56px; height: 56px; object-fit: cover; }
.ph-item .c { border-radius: 50%; }
.ph-item b { display: block; font-weight: 400; font-size: 15px; line-height: 1.2; }
.ph-item small { font-size: 11px; color: var(--midnight-700); }
.ph-tabbar { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); font-size: 10px; text-align: center; color: var(--midnight-700); }
.ph-tabbar span { padding: 10px 0 12px; }
.ph-tabbar .is-on { color: var(--midnight); font-weight: 500; box-shadow: inset 0 2px 0 var(--midnight); }
.ph-pad { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.ph-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ph-kpis div { background: var(--white); padding: 10px; }
.ph-kpis b { display: block; font-size: 20px; font-weight: 400; line-height: 1.1; margin-top: 4px; }
.ph-kpis small { font-size: 10px; color: var(--midnight-700); }

/* Mock: EDM */
.edm { max-width: 600px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); font-size: 15px; }
.edm__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 32px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--midnight-700); }
.edm__head img { width: 140px; }
.edm__lead { padding: 40px 32px 28px; }
.edm__lead h4 { margin: 10px 0 14px; font-size: 38px; font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.edm__lead p { margin: 0; line-height: 1.55; color: var(--midnight-700); }
.edm__img { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; padding: 0 32px; }
.edm__img img { width: 100%; height: 180px; object-fit: cover; }
.edm__img .c { display: grid; place-items: center; background: var(--mist); height: 180px; }
.edm__img .c img { width: 120px; height: 120px; border-radius: 50%; }
.edm__kpis { padding: 28px 32px; }
.edm__foot { background: var(--midnight); color: var(--midnight-400); padding: 28px 32px; font-size: 12px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; }
.edm__foot img { width: 32px; }

/* Website-aligned mock-up details */
.mk-enq { background: var(--midnight); color: var(--white); }
.mk-enq .oh-row { min-height: max(36px, 5cqw); grid-template-columns: 34% 1fr; }
.mk-enq .oh-row label { font-size: max(10px, 1.15cqw); }
.mk-enq .oh-row input, .mk-enq .oh-row select { height: max(34px, 4.6cqw); font-size: max(11px, 1.3cqw); }
.ph-row { display: grid; grid-template-columns: 70px 1fr; align-items: center; min-height: 40px; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 13px; }
.ph-row b { color: var(--mist); font-weight: 700; font-size: 12px; }

/* ---------- Version 2 responsive ---------- */
@media (max-width: 1100px) {
  .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-demos { grid-template-columns: 1fr 1fr; }
  .grid-demos figure:first-child { grid-column: 1 / -1; }
  .ui-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anatomy { grid-template-columns: 1fr; }
  .ui-nav__util > span:not(.cbtn) { display: none; }
  .overlay-demo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wcards { grid-template-columns: 1fr 1fr; }
  .wcards .wcard--grey { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .page-head { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .cover__mod { justify-self: start; max-width: calc(100px * var(--cols, 3)); }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__shapes { justify-self: start; }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .quick a:nth-child(2) { border-right: 0; }
  .quick a:nth-child(3) { padding-left: 0; }
  .quick a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .swatches--5, .swatches--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none !important; }
  .grid--3:has(> .logo-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 > .logo-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid--3 > .logo-card:last-child:nth-child(odd) .logo-card__stage { aspect-ratio: 8 / 3; padding: 6% 20%; }
  .viz-grid, .mk-land__body { grid-template-columns: 1fr; }
  .plates--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-strip .kpi:nth-child(3) { padding-left: 0; border-left: 0; }
  .kpi-strip .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
  .state-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .state-row > span:first-child { grid-column: 1 / -1; }
  .state-row.state-head { display: none; }
  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phones .phone:nth-child(3) { display: none; }
  .ui-nav--site .ui-nav__links { display: none; }
  .wnews { grid-template-columns: 1fr; }
  .oh-form { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .btn { max-width: 100%; white-space: normal; height: auto; min-height: 40px; padding-top: 8px; padding-bottom: 8px; line-height: 1.3; }
  .btn--sm { min-height: 32px; padding-top: 6px; padding-bottom: 6px; }
  .quick { grid-template-columns: 1fr; }
  .quick a, .quick a + a { padding-left: 0; border-right: 0; min-height: 0; flex-direction: row; align-items: center; gap: 16px; border-top: 1px solid var(--line); }
  .quick a::before { width: 24px; flex: none; }
  .quick a > div { flex: 1; }
  .quick .arrow { order: 3; flex: none; }
  .hero__shapes, .cover__mod { width: 100%; max-width: none; justify-self: stretch; }
  .swatches--5, .swatches--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatch__chip { aspect-ratio: 3 / 2; font-size: 17px; }
  .swatch__meta { padding: 10px 12px; font-size: 12px; }
  .grid--3:has(> .logo-card) { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: 1; grid-row: 1; min-height: 160px; }
  .pager .prev { grid-row: 2; }
  .plates, .plates--3, .overlay-demo, .ui-cards, .ui-form, .grid-demos, .viz-grid, .wcards { grid-template-columns: 1fr; }
  .wcards .wcard--grey { grid-column: auto; }
  .ui-ptabs { padding: 20px; min-height: 300px; }
  .ui-ptabs__tabs { grid-template-columns: 1fr; gap: 10px; }
  .ui-ptabs__tabs span:not(.is-on) { display: none; }
  .ui-nav__util svg { display: none; }
  .wnews__item { grid-template-columns: 72px 1fr; }
  .wnews__item img { width: 72px; height: 72px; }
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__row, .gallery__row:nth-child(even) { grid-template-columns: 1fr 1fr; }
  .gallery__row figure:first-child { grid-column: 1 / -1; }
  .gallery__row:nth-child(even) figure:last-child { grid-column: 1 / -1; grid-row: 1; }
  .ui-nav__links { display: none; }
  .ui-nav { padding: 0 16px; height: 60px; }
  .ui-card--stat { aspect-ratio: auto; min-height: 220px; }
  .span-demo > div { font-size: 10px; padding: 6px; }
  .prop-demo { grid-auto-rows: 44px; gap: 4px; }
  .prop-demo > div { font-size: 11px; padding: 6px; }
  .phones { grid-template-columns: 1fr; }
  .phones .phone:nth-child(n+2) { display: none; }
  .mk-qmi__cover, .mk-sec { grid-template-columns: 1fr; }
  .edm__lead, .edm__kpis { padding-left: 20px; padding-right: 20px; }
  .edm__img { padding: 0 20px; grid-template-columns: 1fr; }
  .edm__img .c { display: none; }
  .edm__lead h4 { font-size: 30px; }
  .edm__head, .edm__foot { padding-left: 20px; padding-right: 20px; }
}
