/* matthyeobkim.com
   White page, one typeface, three colours. Images carry everything. No animation. */

:root {
  --paper: #ffffff;
  --ink: #111111;
  --grey: #77777a;
  --plate: #f3f3f2;   /* backing behind images while they load */
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 3vw, 40px);
  --gap: clamp(6px, 0.8vw, 12px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--grey); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, p, ul, dl, figure { margin: 0; padding: 0; font-weight: 400; }
ul { list-style: none; }

/* ---------- Header and footer ---------- */
.top, .foot {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px;
  padding: 22px var(--gutter);
}
.top .name { font-weight: 500; }
.top .name span { font-weight: 400; color: var(--grey); margin-left: 8px; }
.top nav { display: flex; gap: clamp(16px, 2.4vw, 28px); }
.top nav a { color: var(--grey); }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); }
.foot { margin-top: clamp(56px, 8vw, 120px); color: var(--grey); font-size: 14px; }
.foot a + a { margin-left: 20px; }

/* ---------- Home: image wall ---------- */
.wall {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px) var(--gap);
  padding: 0 var(--gap);
}
.tile { display: block; }
.frame { background: var(--plate); aspect-ratio: 4 / 3; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.logo { display: grid; place-items: center; }
.frame.logo img { width: 34%; height: auto; object-fit: contain; }
.cap { display: block; padding: 10px 2px 0; font-size: 16px; }
.cap em { font-style: normal; color: var(--grey); margin-left: 10px; }

/* ---------- Project page ---------- */
/* Left column (title + description) stays put; right column of images scrolls. */
.case {
  display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px); align-items: start;
  padding: clamp(12px, 2vw, 28px) var(--gutter) 0;
}
.casehead { position: sticky; top: clamp(16px, 2vw, 28px); }
.casehead h1 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.04; font-weight: 500; letter-spacing: -0.03em; }
.lede { margin-top: 12px; font-size: 14px; line-height: 1.5; }
.meta { margin: 22px 0 0; display: grid; gap: 10px; font-size: 13px; line-height: 1.4; }
.meta dt { color: var(--grey); }
.meta dd { margin: 0; }

.plates { display: grid; gap: var(--gap); }
.plates figure img { width: 100%; background: var(--plate); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.pair img { aspect-ratio: 5 / 4; height: 100%; object-fit: cover; }
.pair.fit img { object-fit: contain; background: var(--paper); }
.pair figcaption { grid-column: 1 / -1; }
figcaption { padding: 8px 0 14px; max-width: 62ch; font-size: 14px; color: var(--grey); }
.text { max-width: 62ch; padding: clamp(28px, 5vw, 64px) 0 clamp(20px, 3vw, 40px); font-size: 17px; line-height: 1.45; }
.say {
  max-width: 20ch; padding: clamp(40px, 8vw, 110px) 0 0;
  font-size: clamp(26px, 3.6vw, 46px); line-height: 1.12; font-weight: 500; letter-spacing: -0.025em; text-wrap: balance;
}
.cta { text-decoration: underline; text-underline-offset: 4px; }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(48px, 7vw, 100px); font-size: 14px; }

/* ---------- About ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px);
  padding: clamp(16px, 3vw, 40px) var(--gutter) 0; align-items: start;
}
.portrait img { width: 100%; background: var(--plate); }
.bio { max-width: 640px; }
.bio h1 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.bio > p { margin-top: 16px; }
.bio h2 { margin-top: 36px; margin-bottom: 6px; font-size: 14px; color: var(--grey); }
.table li { display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: 16px; padding: 3px 0; }
.table li span:last-child { color: var(--grey); font-variant-numeric: tabular-nums; text-align: right; }
.table.two li { grid-template-columns: 90px 1fr; }
.table.two li span:first-child { color: var(--grey); }
.table.two li span:last-child { color: var(--ink); text-align: left; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; }
  .casehead { position: static; padding-bottom: 8px; }
}
@media (max-width: 720px) {
  .wall { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 300px; }
  .table li { grid-template-columns: 1fr auto; }
  .table li span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--grey); }
  .table.two li { grid-template-columns: 90px 1fr; }
  .table.two li span:nth-child(2) { grid-column: auto; grid-row: auto; color: var(--ink); }
}

/* Text inside the scrolling image column is centred. */
.plates .text, .plates .say, .plates figcaption { margin-left: auto; margin-right: auto; text-align: center; }

/* Left column text wraps earlier, leaving clear space before the images. */
@media (min-width: 901px) { .casehead { padding-right: 44px; } }

/* Kinetic Vision: "Experience in" list, centred at the top of the image column. */
.caps { padding: clamp(20px, 3vw, 44px) 0 clamp(44px, 6vw, 84px); text-align: center; }
.caps h2 { font-size: 13px; color: var(--grey); margin-bottom: 14px; }
.caps ul {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 8px clamp(40px, 5vw, 72px);
  max-width: 820px; margin: 0 auto;
  font-size: 19px; line-height: 1.35; font-weight: 500; letter-spacing: -0.015em;
}

/* Section text under its image: subtitle over title on the left, description to the right. Left-aligned. */
.sect {
  display: flex; align-items: flex-start; gap: clamp(24px, 4vw, 64px);
  padding: clamp(10px, 1.2vw, 16px) 0 clamp(20px, 2.6vw, 36px); text-align: left;
}
.sect > div { flex: 0 0 clamp(230px, 30%, 300px); }
.sect .kicker { font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--grey); }
.sect h2 { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.sect .desc { flex: 1; line-height: 1.45; }
@media (max-width: 720px) { .sect { display: block; } .sect .desc { margin-top: 8px; } }
/* Empty frame standing in for a video that has not been added yet. */
.placeholder { aspect-ratio: 16 / 9; background: var(--plate); display: grid; place-items: center; color: var(--grey); font-size: 13px; }

/* Kinetic Vision page only: images smaller and centred in the column. */
.case-kinetic-vision .plates figure img,
.case-kinetic-vision .placeholder { width: 78%; margin: 0 auto; }
.case-kinetic-vision .sect { width: 78%; margin: 0 auto; padding-bottom: clamp(44px, 6vw, 88px); }
.case-kinetic-vision .sect > div { flex-basis: 230px; }
@media (max-width: 720px) { .case-kinetic-vision .sect { width: 100%; } }

/* Kinetic Vision: logo on the left, "ID Works." and the confidentiality note to its right; the pair is centred. */
.intro-kv {
  display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center;
  column-gap: clamp(24px, 3vw, 44px); text-align: left;
  padding: clamp(8px, 2vw, 28px) 0 clamp(28px, 4vw, 56px);
}
.intro-kv img { grid-row: 1 / span 2; width: clamp(110px, 12vw, 160px); }
.intro-kv h2 { align-self: end; font-size: clamp(20px, 2vw, 26px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.intro-kv p { align-self: start; margin-top: 8px; line-height: 1.5; }
@media (max-width: 720px) { .intro-kv { grid-template-columns: 1fr; text-align: center; } .intro-kv img { grid-row: auto; margin: 0 auto 12px; } }
@media (max-width: 720px) { .caps ul { grid-template-columns: repeat(2, auto); column-gap: 28px; } }

/* Example layout page: labelled empty frames showing which image goes where. */
.ph { background: var(--plate); display: grid; place-items: center; text-align: center; color: var(--grey); font-size: 13px; padding: 12px; }
.ph b { display: block; font-weight: 500; font-size: 15px; color: var(--ink); }
.phrow { display: grid; gap: var(--gap); }
.phrow.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.phrow.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.phrow figcaption { grid-column: 1 / -1; }
@media (max-width: 720px) { .phrow.n2, .phrow.n3 { grid-template-columns: 1fr; } }
.say + figure { margin-top: clamp(28px, 4vw, 56px); }

/* Blank space between groups of images (intro, research, process, final design, app).
   Change --group-gap to make the breaks bigger or smaller. */
:root { --group-gap: 160px; }
.group-gap { height: var(--group-gap); }
@media (max-width: 720px) { :root { --group-gap: 90px; } }

/* Three images in a row with a short caption under each; three short captions under one wide image. */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.trio img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--plate); }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); font-size: 14px; color: var(--grey); padding-bottom: 6px; }
.cols3 p { max-width: 30ch; }
@media (max-width: 720px) { .cols3 { grid-template-columns: 1fr; } }

/* Extra shapes for side-by-side images: portrait and square. */
.pair.tall img { aspect-ratio: 4 / 5; }
.pair.square img { aspect-ratio: 1 / 1; }
.cols3.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 40px; padding-top: 6px; }
.cols3.n4 p { max-width: 46ch; }

/* Annotated board: an image with short notes placed around it, kept in fixed proportion so it scales as one piece. */
.board { container-type: inline-size; }
.board-in { position: relative; aspect-ratio: 1440 / 1003; background: var(--plate); overflow: hidden; font-size: clamp(8px, 1.12cqw, 15px); line-height: 1.35; }
.board-img { position: absolute; left: 24.17%; top: 9.87%; width: 51.6%; height: 86.04%; overflow: hidden; }
.board-img img { position: absolute; left: -6.9%; top: -4.73%; width: 113.79%; height: 106.45%; max-width: none; background: none; }
.board-in p { position: absolute; margin: 0; }
.board-in p.card { font-weight: 600; background: var(--paper); padding: 2.2% 1.6% 2.4% 2%; margin: -2.2% 0 0 -2%; box-sizing: content-box; }
@media (max-width: 720px) {
  .board-in { aspect-ratio: auto; overflow: visible; background: none; font-size: 14px; display: grid; gap: 10px; }
  .board-img, .board-img img, .board-in p { position: static; width: 100% !important; height: auto; }
  .board-in p.card { margin: 0; padding: 0; background: none; }
}

/* Centred project name that opens the final-design group. */
.opener { text-align: center; padding: 0 0 clamp(20px, 3vw, 44px); font-size: clamp(34px, 5vw, 64px); line-height: 1; font-weight: 600; letter-spacing: -0.03em; }

/* Research grid: a 3 x 2 grid of equal, cropped images with labels on the left; title and text on the right. */
.rgrid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 4vw, 56px) 0; }
.rrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.rrow + .rrow { margin-top: var(--gap); }
.rrow figure { display: flex; flex-direction: column; }
.rrow img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--plate); }
.rrow figcaption { max-width: none; padding: 8px 0; text-align: center; font-size: 13px; color: var(--ink); }
.rrow.above figcaption { order: -1; }
.rgrid-text h2 { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.rgrid-text p { margin-top: 8px; line-height: 1.45; }
@media (max-width: 720px) { .rgrid { grid-template-columns: 1fr; } }
.rgrid-text .kicker { font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--grey); }

/* Images shown on a backdrop (black, or a background image). */
.stage { display: grid; justify-items: center; align-content: center; gap: clamp(16px, 2.4vw, 36px); padding: clamp(40px, 7vw, 110px) 6%; }
.stage img { height: auto; max-width: 100%; background: none; }

/* Backdrop scene: images placed by percentage on a dark or image backdrop, faded in on scroll */
.scene { position: relative; overflow: hidden; }
.scene img { position: absolute; max-width: none; height: auto; object-fit: cover; background: none; }
.js .scene .fade { opacity: 0; transition: opacity 1s ease; }
.js .scene.in .fade { opacity: 1; }

/* Image zoomed past its own side margins */
.plates figure.crop > div { overflow: hidden; }
.plates figure.crop img { width: var(--z); max-width: none; margin-left: calc((100% - var(--z)) / 2); }

/* Section text centred under a backdrop scene, with a little air above and below */
.sect.center { display: block; text-align: center; padding: clamp(28px, 4vw, 56px) 0 clamp(20px, 3vw, 40px); }
.sect.center .desc { max-width: 56ch; margin: 10px auto 0; }

/* 2 x 2 of product images on very light grey tiles (white image backgrounds blend into the tile) */
.quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.quad .tile { aspect-ratio: 4 / 3; overflow: hidden; background: #f6f6f5; }
.plates .quad figure img { width: 100%; height: 100%; object-fit: cover; background: none; mix-blend-mode: multiply; }
.quad figure { position: relative; }
.quad figcaption { position: absolute; left: clamp(10px, 1.4vw, 18px); bottom: clamp(8px, 1.2vw, 14px); max-width: none; padding: 0; margin: 0; text-align: left; font-size: 13px; color: var(--ink); }
@media (max-width: 600px) { .quad { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .sect.center h2 { white-space: nowrap; } }
.rgrid.side { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.rgrid.side figure { margin: 0; }

/* Home icon: stays at the bottom left of the window on every project page */
.home { position: fixed; left: var(--gutter); bottom: clamp(16px, 2vw, 28px); z-index: 20; display: block; line-height: 0; color: var(--ink); }
.home:hover { color: var(--grey); }
@media (max-width: 900px) { .home { padding: 8px; margin: -8px; background: rgba(255, 255, 255, 0.85); border-radius: 50%; } }

/* CMF reference: five columns, two reference images over a square swatch, label beneath */
.cmf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); width: 72%; margin: 0 auto; }
.cmf figure { display: grid; gap: var(--gap); margin: 0; }
.plates .cmf figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.plates .cmf figure img:nth-of-type(3) { aspect-ratio: 1 / 1; }
.cmf figcaption { max-width: none; margin: 0; padding: 2px 0 0; text-align: left; font-size: 13px; color: var(--ink); }
@media (max-width: 720px) { .cmf { width: 100%; } }

/* Smaller gap, section pulled up toward the image above, two images at one height */
.group-gap.small { height: calc(var(--group-gap) / 2); }
.sect.tight { margin-top: calc(var(--gap) * -2); padding-top: 0; }
.duo { display: grid; gap: var(--gap); margin: 0 auto; align-items: start; }
.plates .duo img { width: 100%; height: auto; object-fit: cover; }
@media (max-width: 720px) { .duo { width: 100% !important; } }

/* Image on a block of its own background colour */
.bgimg { overflow: hidden; }
.plates .bgimg img { width: 100%; background: none; }

/* Centred section whose title may wrap */
.sect.center.wrap h2 { white-space: normal; max-width: 30ch; margin: 0 auto; text-wrap: balance; }
.sect.center.wrap > div:only-child { margin: 0 auto; }
/* Two images, each with its own caption */
.twocap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); width: 72%; margin: 0 auto; }
.plates .twocap img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.twocap figcaption { padding: 8px 0 0; color: var(--ink); font-size: 13px; }
/* Tool on the left, numbered steps on the right */
.steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(20px, 3vw, 44px); align-items: center; padding: 8px 0; }
.steps-main img { width: 100%; background: none; }
.steps-main.rot { aspect-ratio: 722 / 1500; position: relative; width: 78%; margin: 0 auto; }
.steps-main.rot img { position: absolute; width: calc(100% * 1500 / 722); max-width: none; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(90deg) scale(1.35); }
.steps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px var(--gap); }
.step.wide { grid-column: 1 / -1; }
.step-imgs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--gap); }
.plates .step-imgs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.step.wide .step-imgs img { aspect-ratio: 5 / 4; }
.step figcaption { max-width: none; margin: 0; padding: 8px 0 0; text-align: left; font-size: 13px; line-height: 1.4; color: var(--ink); }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } .twocap { width: 100%; } }
/* Banner: images and white text placed on a background image */
.banner { position: relative; overflow: hidden; container-type: inline-size; background-size: cover; background-position: center; }
.banner img { position: absolute; max-width: none; height: auto; object-fit: cover; background: none !important; }
.banner p { position: absolute; margin: 0; transform: translateX(-50%); white-space: nowrap; color: #fff; font-weight: 700; letter-spacing: 0.1em; line-height: 1; }
.banner .rule { position: absolute; height: 2px; background: #fff; }
/* Numbered list beside an image */
.plist { margin: 0; display: grid; gap: 4px; font-size: 14px; line-height: 1.45; }
.plist dt { font-weight: 600; font-size: 16px; margin-top: 10px; }
.plist dt:first-child { margin-top: 0; }
.plist dd { margin: 0; color: var(--ink); }

/* Numbered markers on an image, matching a numbered list */
.marked { position: relative; }
.num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; }
.marked .num { position: absolute; transform: translate(-50%, -50%); }
.plist dt .num { margin-right: 8px; vertical-align: 2px; }
/* Up/down arrows at the left end of an image */
.arrowbox { position: relative; }
.arrowbox .arrows { position: absolute; left: -3.5%; top: -55%; width: 2.6%; height: 210%; overflow: visible; }

/* Title as a black highlight with white italic text */
.sect.mark h2 span { background: var(--ink); color: #fff; font-style: italic; padding: 0.05em 0.35em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Smaller one-line title */
.sect.center.small h2 { font-size: clamp(15px, 1.3vw, 17px); font-weight: 600; letter-spacing: -0.01em; }

/* RULE: text set beside an image keeps a short measure, so the description never runs
   wider than its title block. Full-width text under a full-width image is handled separately. */
.rgrid-text p, .plist dd { max-width: 32ch; text-wrap: pretty; }

/* Light grey panel behind an image + its text, full column width */
.rgrid.panel { background: #f6f6f5; padding: clamp(24px, 3.5vw, 48px); }
.rgrid.panel .marked img { background: none; }
/* Centred line of text, optional bold lead; "tight" sits close to the image above */
.note { max-width: 56ch; margin: 0 auto; padding: clamp(14px, 2vw, 24px) 0 clamp(20px, 3vw, 40px); text-align: center; line-height: 1.45; text-wrap: balance; }
.note b { font-weight: 600; }
.note.tight { padding-top: 4px; }

/* RULE: text directly under an image always sits the same distance from it, and every
   text block leaves the same space before whatever comes next.
   --t-top    image -> its text (added to the grid gap)
   --t-bottom text -> next image/block
   Applies to captions, side-by-side titles + descriptions (.sect) and centred lines (.note).
   Text that follows another text block (e.g. a title after a caption) sits at --t-top too. */
:root { --t-top: 6px; --t-bottom: clamp(28px, 3.4vw, 48px); }
.plates > figure > figcaption { padding: var(--t-top) 0 var(--t-bottom); }
.plates > .sect:not(.center) { padding: var(--t-top) 0 var(--t-bottom); margin-top: 0; }
.plates > .note, .plates > .note.tight { padding: var(--t-top) 0 var(--t-bottom); }
.plates > figure:has(> figcaption) + .sect:not(.center),
.plates > figure:has(> figcaption) + .note { margin-top: calc(var(--t-bottom) * -1); }
.case-kinetic-vision .plates > .sect:not(.center) { padding-bottom: clamp(44px, 6vw, 88px); }

/* "How they used to work" boards: smaller footprint, centred */
.steps { width: 72%; margin: 0 auto; }
@media (max-width: 720px) { .steps { width: 100%; } }
.plates > .steps + .sect { width: 72%; margin-left: auto; margin-right: auto; }
@media (max-width: 720px) { .plates > .steps + .sect { width: 100%; } }

/* Orange highlight with white bold text (as on the live page) */
span.hl { background: #ff6800; color: #fff; font-weight: 600; padding: 0.1em 0.4em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.banner { background-color: #fff; }
/* Icon rows (Remedycle) */
.trio[style*="--ar"] img { aspect-ratio: var(--ar); }
.icons { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap); width: 82%; margin: 0 auto; text-align: center; }
.icons.n2 { --n: 2; width: 60%; } .icons.n4 { --n: 4; width: 100%; } .icons.n5 { --n: 5; width: 100%; }
.icons figure { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; }
.icons img { height: 72px; width: auto; max-width: 100%; object-fit: contain; }
.icons.wide img { height: 90px; }
.icons b { font-size: 14px; font-weight: 600; }
.icons b.big { font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -0.01em; color: #1f5fae; }
.icons p { font-size: 13px; color: var(--grey); max-width: 28ch; margin: 0; line-height: 1.45; }
.icons.flow img { height: 64px; }
@media (max-width: 720px) { .icons { width: 100% !important; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Main image with drawings + label placed over its right side (A75 details); grey plate runs the full column width */
.stack { margin: 0; background: var(--plate); }
.stack > div { position: relative; margin: 0 auto; }
.plates .stack img { width: 100%; object-fit: cover; display: block; background: transparent; }
.plates .stack img.over { position: absolute; height: auto; aspect-ratio: auto; mix-blend-mode: multiply; }
.stack .tag { position: absolute; background: var(--ink); color: #fff; font-weight: 700; font-size: clamp(48px, 6vw, 92px); line-height: 1; padding: 0.1em 0.28em; letter-spacing: -0.01em; }
@media (max-width: 720px) { .stack { width: 100% !important; } }
.plates .twocap[style*="--ar"] img { aspect-ratio: var(--ar); object-fit: contain; }

/* RULE: text beside a title starts level with the title's first line (not the kicker, not the last line) */
.sect > div:has(> .kicker) + .desc { padding-top: calc(13px * 1.3 + 2px); }
.sect .desc { margin-top: 0.2em; }
/* Two-column board (A75 philosophy) */
.philo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); margin: 0 auto; align-items: stretch; }
.philo .pleft, .philo .pright { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(24px, 4vw, 56px); }
.philo .pimgs { display: flex; flex-direction: column; gap: 10px; }
.philo .prow { display: flex; gap: 10px; align-items: flex-end; }
.philo .prow img { min-width: 0; width: 100%; object-fit: cover; }
.philo .pright img { width: 100%; object-fit: cover; }
.philo .kicker { font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--grey); }
.philo h2 { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.philo .ptext p:last-child { margin-top: 10px; line-height: 1.45; max-width: 36ch; }
@media (max-width: 720px) { .philo { grid-template-columns: 1fr; width: 100% !important; } }
.stack > .sect { margin: 0 auto; padding: clamp(18px, 2.4vw, 32px) 0 clamp(28px, 3.4vw, 48px); }
/* Photo with text laid over it (A75 access points) */
.overlay { position: relative; container-type: inline-size; margin: 0; }
.overlay .otext { position: absolute; }
.overlay .otext h2 { font-size: clamp(15px, 2.2cqw, 26px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.overlay .otext p { margin-top: 0.6em; font-size: clamp(12px, 1.3cqw, 16px); line-height: 1.45; max-width: 32ch; }
@media (max-width: 720px) { .overlay .otext { position: static; width: auto !important; padding-top: 10px; } }
/* Spec card (A75 details): chair left, label + drawings + text right, even padding on the grey plate */
.spec { margin: 0; background: var(--plate); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 5vw, 64px) clamp(28px, 6vw, 80px); }
.plates .spec img { background: transparent; }
.spec-main { width: 100%; object-fit: contain; display: block; }
.spec-side { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.spec .tag { align-self: flex-start; background: var(--ink); color: #fff; font-weight: 700; font-size: clamp(36px, 5vw, 72px); line-height: 1; padding: 0.08em 0.22em 0.12em; letter-spacing: -0.01em; }
.spec-dw { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); align-items: end; }
.plates .spec-dw img { width: 100%; display: block; mix-blend-mode: multiply; }
.spec-text .kicker { font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--grey); }
.spec-text h2 { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.spec-text p:last-child { margin-top: 12px; line-height: 1.45; max-width: 34ch; }
@media (max-width: 720px) { .spec { grid-template-columns: 1fr; } }
.spec-text .tag { display: inline-block; margin-bottom: clamp(14px, 1.6vw, 22px); }
.spec { column-gap: clamp(40px, 8vw, 112px); }
.spec-dw { width: 78%; }
.loop video { width: 100%; display: block; background: var(--plate); }
/* ---------- Home: short introduction above the wall ---------- */
.hello { padding: clamp(24px, 4vw, 64px) var(--gutter) clamp(36px, 5vw, 80px); }
.hello h1 { font-size: clamp(26px, 3.4vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; max-width: 24ch; text-wrap: balance; }
.hello p { margin-top: clamp(14px, 1.6vw, 22px); max-width: 58ch; line-height: 1.5; color: var(--grey); }
.hello .hello-links { color: var(--ink); font-size: 14px; }
.hello-links a { text-decoration: underline; text-underline-offset: 3px; }
.hello-links a + a { margin-left: 22px; }
/* Board: a page region copied 1:1 from the old site, scaled with the column */
.board { position: relative; width: 100%; container-type: inline-size; overflow: hidden; }
.board > * { position: absolute; }
.board > img { object-fit: cover; z-index: 2; background: transparent !important; }
.board > .bx { z-index: 1; display: block; }
.board > .tx { z-index: 4; }
.board .ln { display: block; letter-spacing: normal; }
.board .mk { padding: 0 0.15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* Home thumbnail: product cut-out centred on the grey plate (Charge & Play) */
.frame.product { position: relative; }
.frame.product img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.sect.mark.plain h2 span { font-style: normal; }
/* RULE: no lone word on the last line of any small text. "pretty" lets the browser rebalance the
   last lines of a paragraph; centred captions and short labels are balanced line for line. */
p, figcaption, dd, li, .desc, .t, .kicker { text-wrap: pretty; }
figcaption, .twocap figcaption, .quad figcaption, .trio figcaption, .icons p, .cols3 p, .sect h2 { text-wrap: balance; }
dd, h2, .desc, .board .ln { text-wrap: balance; }
.cols3.aligned { gap: 0; }
.cols3.aligned p { max-width: none; padding-right: 12px; grid-row: 1; }
@media (max-width: 720px) { .cols3.aligned { grid-template-columns: 1fr !important; gap: 8px; } .cols3.aligned p { grid-column: 1 !important; grid-row: auto; } }
.cols3.aligned p { text-wrap: balance; padding-right: 4px; }
