/* Coast to Dunes: the identity for korext.github.io, shared with tbrunoh.github.io.
   Lamu Tide leads (mark, links, buttons). Rift Basalt carries text. Mara Gold against Sahara Sand marks
   moments of warmth. Congo Canopy and Rift Basalt give depth. Clean white ground.
   Contrast on white: Tide 6.35, Canopy 9.08, Basalt 13.17, Stone 6.20. Mara Gold is 3.26, so it is used for
   shapes, rules and large display only; Gold Ink (5.53) is used when gold must be small text. */

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --tide: #006B69;  --tide-deep: #00524F; --tide-wash: #EDF5F4;
  --canopy: #364E3C;
  --gold: #BE823C;  --gold-ink: #8F5E24;
  --sand: #E8C69F;  --sand-wash: #FAF4EC;
  --basalt: #253239; --stone: #56636A;
  --white: #FFFFFF; --line: #E8E2D9; --line-strong: #D8CFC2;
  --serif: "Newsreader", ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(37, 50, 57, 0.04), 0 8px 24px rgba(37, 50, 57, 0.06);
  --shadow-lift: 0 2px 4px rgba(37, 50, 57, 0.05), 0 18px 40px rgba(37, 50, 57, 0.10);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: var(--white); color: var(--basalt);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--sand); color: var(--basalt); }
:focus-visible { outline: 2px solid var(--tide); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* Navigation: a quiet, translucent bar that stays in reach */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease);
}
.topbar.scrolled { border-bottom-color: var(--line); }
nav { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.mark { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; letter-spacing: -0.1px; }
.mark img { width: 34px; height: 34px; border-radius: 9px; }
.mark span { display: flex; flex-direction: column; line-height: 1.25; }
.mark small { font-weight: 450; font-size: 12px; color: var(--stone); letter-spacing: 0; }
.links { display: flex; gap: 28px; font-size: 14px; color: var(--stone); }
.links a { transition: color .2s var(--ease); }
.links a:hover, .links a[aria-current="page"] { color: var(--basalt); }
.crumbs { font-size: 13px; color: var(--stone); }
.crumbs a { color: var(--tide); text-decoration: underline; text-underline-offset: 2px; }
.crumbs a:hover { color: var(--tide-deep); }

/* Type */
.eyebrow {
  font-family: var(--sans); font-size: 12.5px; font-weight: 640; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tide); display: inline-flex; align-items: center; gap: 12px;
}
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; color: var(--basalt); font-optical-sizing: auto; }
h1 { font-size: clamp(48px, 7.4vw, 92px); line-height: 1.0; letter-spacing: -0.035em; margin: 20px 0 20px; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -0.025em; margin: 14px 0 16px; max-width: 880px; text-wrap: balance; }
h1.compact { font-size: clamp(44px, 5.6vw, 76px); }
h3 { font-size: 23px; line-height: 1.22; letter-spacing: -0.015em; }
h4, h3.minor { font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.6; letter-spacing: -0.1px; }
.role { font-size: clamp(19px, 2vw, 23px); color: var(--basalt); font-weight: 500; letter-spacing: -0.2px; text-wrap: balance; }
@media (min-width: 861px) { .role { white-space: nowrap; } }
.lede { margin-top: 18px; font-size: 19px; line-height: 1.6; color: var(--stone); max-width: 600px; text-wrap: pretty; }
.lede + .lede { margin-top: 14px; font-size: 17px; }
.intro { color: var(--stone); max-width: 740px; font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.intro + .intro { margin-top: 12px; }
.note { margin-top: 20px; font-size: 15px; color: var(--stone); max-width: 840px; }
.intro a, .note a, details a, .bio a, .meta a, .author a { color: var(--tide); text-decoration: underline; text-decoration-color: rgba(0, 107, 105, 0.35); text-underline-offset: 3px; transition: text-decoration-color .2s var(--ease); }
.intro a:hover, .note a:hover, details a:hover, .bio a:hover, .meta a:hover, .author a:hover { text-decoration-color: var(--tide); }

/* Buttons */
.cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 550; letter-spacing: -0.1px; border: 1px solid var(--line-strong); color: var(--basalt); background: var(--white);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { border-color: var(--tide); color: var(--tide); }
.btn.primary { background: var(--tide); border-color: var(--tide); color: var(--white); box-shadow: 0 1px 2px rgba(0, 82, 79, 0.25); }
.btn.primary:hover { background: var(--tide-deep); border-color: var(--tide-deep); color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 82, 79, 0.22); }
.btn:active { transform: translateY(0); }

/* Hero */
header.hero { padding: 80px 0 56px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.portrait { justify-self: end; position: relative; width: 320px; aspect-ratio: 1; }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow-lift); }
.portrait::before { content: ""; position: absolute; inset: auto -18px -18px auto; width: 62%; height: 62%; border-radius: 28px; background: var(--sand); z-index: -1; }
.portrait::after { content: ""; position: absolute; left: -18px; top: 28px; width: 4px; height: 96px; border-radius: 4px; background: var(--gold); }

/* Signature panels: the journey on the home page, the coverage map on ACE */
.panel { margin: 12px 0 0; border: 1px solid var(--line); border-radius: 28px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(37,50,57,.04), 0 24px 48px -32px rgba(37,50,57,.18); }
.panel + section { border-top: none; }
.journey picture, .journey img { display: block; width: 100%; height: auto; }
.journey figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px 36px 30px; border-top: 1px solid var(--line); }
.journey figcaption q { font-family: var(--serif); font-size: clamp(21px, 2.3vw, 27px); line-height: 1.3; letter-spacing: -0.01em; color: var(--basalt); quotes: none; max-width: 640px; }
.coverage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 48px; padding: 48px 56px; }
.coverage img { display: block; width: 100%; max-width: 440px; height: auto; justify-self: center; }
.coverage h2 { margin-top: 12px; }
.coverage p { color: var(--stone); max-width: 460px; }
.coverage p.cov-title { color: var(--basalt); }
.legend { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; font-size: 15px; color: var(--basalt); }
.legend li { display: flex; align-items: center; gap: 12px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--tide); flex: none; }
.legend i.sand { background: var(--sand); }
.contours { display: block; width: 100%; height: 56px; margin-bottom: 32px; }

/* Sections */
section { padding: 88px 0; border-top: 1px solid var(--line); }
section.warm { background: var(--sand-wash); border-top: none; margin: 0 -32px; padding-left: 32px; padding-right: 32px; border-radius: 32px; }
section.warm + section { border-top: none; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.grid.pair { grid-template-columns: repeat(2, 1fr); }
.grid > *, .two > *, .points > * { min-width: 0; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(37, 50, 57, 0.03);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.card h3 { margin: 16px 0 10px; }
.card p { color: var(--stone); font-size: 15.5px; line-height: 1.6; flex: 1; }
.card .go { margin-top: 22px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
a.card .go::after { content: "→"; transition: transform .25s var(--ease); }
a.card:hover .go::after { transform: translateX(3px); }
.go { color: var(--tide); }

/* Tags: a coloured dot and quiet mono text, legible at every size */
.tag { font-family: var(--sans); font-size: 11.5px; font-weight: 640; letter-spacing: 0.13em; text-transform: uppercase; color: var(--stone); display: inline-flex; align-items: center; gap: 10px; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.tag.t-tide::before { background: var(--tide); }
.tag.t-canopy::before { background: var(--canopy); }
.tag.t-gold::before { background: var(--gold); }
.t-tide { color: var(--tide); } .t-canopy { color: var(--canopy); } .t-gold { color: var(--gold-ink); }
.tag.t-tide, .tag.t-canopy, .tag.t-gold { color: var(--stone); }

/* Career */
.timeline { margin-top: 44px; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 10px; right: 10px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--sand) 45%, var(--tide)); border-radius: 2px; }
.step { padding-right: 20px; position: relative; }
.dot { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--tide); box-shadow: 0 0 0 5px var(--white); }
.step:first-child .dot { border-color: var(--gold); }
.step:last-child .dot { background: var(--tide); }
.step h4, .step h3.minor { margin-top: 20px; }
.step p { color: var(--stone); font-size: 14px; margin-top: 2px; }
.edu { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.edu > div { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--white); }
.edu h4, .edu h3.minor { font-size: 15px; }
.edu p { color: var(--stone); font-size: 13.5px; margin-top: 6px; line-height: 1.5; }
.edu .live { font-family: var(--sans); font-size: 11px; font-weight: 640; letter-spacing: 0.13em; color: var(--tide); margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; }
.edu .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.bio { margin-top: 36px; color: var(--basalt); max-width: 780px; font-size: 17px; line-height: 1.7; }

/* ACE page */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; left: 24px; bottom: 0; width: 28px; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold); }
.stat:nth-child(2)::after { background: var(--tide); } .stat:nth-child(3)::after { background: var(--canopy); } .stat:nth-child(4)::after { background: var(--sand); }
.stat b { display: block; font-family: var(--serif); font-size: 48px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: var(--basalt); }
.stat span { display: block; margin-top: 12px; font-size: 13.5px; color: var(--stone); line-height: 1.45; }
figure { margin-top: 44px; }
figure img { width: 100%; height: auto; }
figcaption { margin-top: 14px; font-size: 13.5px; color: var(--stone); }
.points { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.points div { border-left: 2px solid var(--gold); padding: 2px 0 2px 18px; }
.points div:nth-child(3n+2) { border-left-color: var(--tide); }
.points div:nth-child(3n) { border-left-color: var(--canopy); }
.points p { color: var(--stone); font-size: 14.5px; margin-top: 6px; }
.countries { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 10px; }
.countries li { list-style: none; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; display: flex; justify-content: space-between; gap: 10px; font-size: 15px; background: var(--white); transition: border-color .2s var(--ease); }
.countries li:hover { border-color: var(--line-strong); }
.countries li { align-items: baseline; }
.countries li span { font-family: var(--sans); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--tide); }
.services { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; counter-reset: svc; }
.services li { list-style: none; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; font-size: 15px; counter-increment: svc; display: flex; gap: 12px; align-items: baseline; background: var(--white); }
.services li::before { content: counter(svc, decimal-leading-zero); font-family: var(--sans); font-size: 12.5px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--gold-ink); }
pre { margin-top: 20px; background: var(--basalt); border-radius: 16px; padding: 20px 22px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #E9EEF0; }
pre .c { color: #9DB0B5; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.faq { margin-top: 36px; max-width: 880px; }
details { border-top: 1px solid var(--line); padding: 22px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 17.5px; letter-spacing: -0.15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: linear-gradient(var(--tide), var(--tide)) center / 11px 1.5px no-repeat, linear-gradient(var(--tide), var(--tide)) center / 1.5px 11px no-repeat;
  transition: transform .3s var(--ease), background-color .2s var(--ease); }
details[open] summary::after { transform: rotate(45deg); background-color: var(--tide-wash); }
details p { color: var(--stone); margin-top: 12px; font-size: 16px; line-height: 1.65; max-width: 780px; }

/* Writing */
section.hub { padding: 64px 0 96px; border-top: none; }
.hub h1 { font-size: clamp(44px, 6.4vw, 76px); }
.hub .intro { font-size: 19px; max-width: 680px; }
.posts { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; background: var(--white); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.post time { font-family: var(--sans); font-size: 11.5px; font-weight: 640; letter-spacing: 0.13em; color: var(--stone); text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.post time::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tide); }
.post:nth-child(2) time::before { background: var(--gold); }
.post h2 { font-size: 27px; line-height: 1.2; margin: 16px 0 10px; }
.post p { color: var(--stone); font-size: 15.5px; flex: 1; }
.post .go { margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--tide); }
.post .go::after { content: " →"; }

article { max-width: 720px; margin: 0 auto; padding: 56px 0 96px; }
article header { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
article h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.06; margin: 18px 0 20px; }
.dek { font-family: var(--serif); font-size: 23px; line-height: 1.45; color: var(--stone); font-weight: 400; letter-spacing: -0.005em; }
.meta { margin-top: 22px; font-size: 14px; color: var(--stone); }
.meta a { color: var(--tide); }
.body { padding-top: 8px; }
.body p, .body li { font-size: 18.5px; color: var(--basalt); line-height: 1.75; }
.body p { margin-top: 24px; }
.body h2 { font-size: 30px; margin-top: 56px; line-height: 1.2; }
.body ul, .body ol { margin-top: 20px; padding-left: 22px; }
.body li { margin-top: 12px; padding-left: 4px; }
.body li::marker { color: var(--gold); }
.body a { color: var(--tide); text-decoration: underline; text-decoration-color: rgba(0, 107, 105, 0.35); text-underline-offset: 3px; transition: text-decoration-color .2s var(--ease); }
.body a:hover { text-decoration-color: var(--tide); }
.table { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tide); font-weight: 600; background: var(--sand-wash); }
tr:last-child td { border-bottom: none; }
td { color: var(--basalt); line-height: 1.55; }
.author { margin-top: 64px; padding: 24px; border-radius: var(--radius); display: flex; gap: 18px; align-items: center; background: var(--sand-wash); }
.author img { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.author p { font-size: 15px; color: var(--stone); }
.author b { color: var(--basalt); }
.sources { margin-top: 44px; }
.sources h2 { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tide); font-weight: 640; margin-top: 0; }
.sources ol { margin-top: 14px; padding-left: 20px; }
.sources li { font-size: 14px; color: var(--stone); margin-top: 8px; line-height: 1.55; }
.sources a { color: var(--basalt); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.sources a:hover { text-decoration-color: var(--tide); }
.next { margin-top: 44px; font-size: 15px; color: var(--stone); }
.next a { color: var(--tide); }

/* Footer */
footer { padding: 40px 0 64px; color: var(--stone); font-size: 14px; }
footer .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer .who { display: flex; flex-direction: column; gap: 4px; }
footer .aka { font-size: 12px; color: var(--stone); }
footer .links { flex-wrap: wrap; gap: 22px; }

/* Arrival: content rises gently on first view */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .8s var(--ease) both; }
  .rise.d1 { animation-delay: .06s; } .rise.d2 { animation-delay: .12s; } .rise.d3 { animation-delay: .18s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .edu { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 22px; }
  nav { height: 64px; }
  header.hero { grid-template-columns: 1fr; padding: 32px 0 40px; gap: 36px; }
  .portrait { justify-self: start; width: 196px; order: -1; }
  .portrait::before { inset: auto -12px -12px auto; }
  .portrait::after { display: none; }
  .grid, .grid.pair, .edu, .points, .two, .posts { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline::before { top: 10px; bottom: 10px; left: 9px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold), var(--sand) 45%, var(--tide)); }
  .step { padding-left: 40px; padding-right: 0; }
  .dot { position: absolute; left: 0; top: 0; }
  .step h4, .step h3.minor { margin-top: 0; }
  section { padding: 72px 0; }
  section.warm { margin: 0 -22px; padding-left: 22px; padding-right: 22px; border-radius: 24px; }
  .panel { border-radius: 20px; }
  .journey figcaption { padding: 18px 20px 22px; }
  .coverage { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .coverage img { max-width: 300px; }
  nav { height: auto; flex-wrap: wrap; row-gap: 10px; padding: 14px 0 12px; }
  .mark small { display: none; }
  nav .links { width: 100%; gap: 20px; overflow-x: auto; scrollbar-width: none; font-size: 14px; white-space: nowrap;
    padding-right: 28px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  nav .links::-webkit-scrollbar { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print {
  .topbar { position: static; } .contours, .cta { display: none; }
  body { font-size: 12pt; } a { text-decoration: underline; }
}
.cov-title { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; letter-spacing: -0.02em; color: var(--basalt); margin: 14px 0 14px; text-wrap: balance; }

/* Korext additions */
.mark img { border-radius: 9px; }
.hero-art { justify-self: end; width: 100%; max-width: 520px; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--white); }
.hero-art img { width: 100%; height: auto; }
.stats.four { grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
.stats.four .stat b { font-size: 44px; }
.std { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.std > * { min-width: 0; }
.std .card.home { background: var(--tide-wash); border-color: #CFE3E0; }
.nw { white-space: nowrap; }
.stats.four + section { border-top: none; padding-top: 80px; }
.std .card h3 { font-family: var(--mono); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 14px 0 8px; }
.std .card p { font-size: 15px; }
.cmd { margin-top: 18px; display: flex; align-items: center; gap: 8px; background: var(--basalt); border-radius: 12px; padding: 10px 10px 10px 14px; }
.cmd code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 12.8px; color: #E9EEF0; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd button { flex: none; font: 600 12px var(--sans); color: var(--basalt); background: var(--sand-wash); border: 0; border-radius: 8px; padding: 6px 10px; cursor: pointer; transition: background-color .2s var(--ease); }
.cmd button:hover { background: var(--sand); }
.std .more { margin-top: 16px; display: flex; gap: 18px; font-size: 14px; font-weight: 600; }
.std .more a { color: var(--tide); text-decoration: underline; text-decoration-color: rgba(0, 107, 105, 0.35); text-underline-offset: 3px; }
.std .more a:hover { text-decoration-color: var(--tide); }
.surfaces { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.surfaces li { list-style: none; }
.surfaces a { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--white); transition: border-color .2s var(--ease), transform .25s var(--ease); }
.surfaces a:hover { border-color: var(--tide); transform: translateY(-2px); }
.surfaces b { font-size: 15.5px; color: var(--basalt); }
.surfaces span { font-size: 13.5px; color: var(--stone); }
.surfaces span::after { content: " →"; color: var(--tide); }
.lic { margin-top: 36px; }
.founder { margin-top: 40px; padding: 24px; border-radius: var(--radius); display: flex; gap: 18px; align-items: center; background: var(--sand-wash); }
.founder img { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.founder p { font-size: 15px; color: var(--stone); }
.founder b { color: var(--basalt); }
.founder a { color: var(--tide); text-decoration: underline; text-underline-offset: 2px; }
code.inline { font-family: var(--mono); font-size: 0.92em; background: var(--sand-wash); border-radius: 6px; padding: 1px 6px; }
@media (max-width: 860px) {
  .hero-art { justify-self: stretch; max-width: none; }
  .stats.four { grid-template-columns: 1fr 1fr; }
  .std { grid-template-columns: 1fr; }
}
@media (min-width: 861px) { header.hero { grid-template-columns: 1.1fr 1fr; } }
.hero h1.statement { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.stat span.nw { display: inline; margin: 0; font-size: inherit; }
code.inline { white-space: nowrap; }
@media (max-width: 860px) { .cmd code { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; } }
@media (max-width: 640px) { .lic th, .lic td { padding: 12px; font-size: 14px; } }
