@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/font-0.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/font-1.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/font-2.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/font-3.ttf) format('truetype');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/font-4.ttf) format('truetype');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/font-5.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/noto-naskh-arabic-0.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/noto-naskh-arabic-0.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/noto-sans-arabic-1.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/noto-sans-arabic-1.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/noto-sans-arabic-1.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Noto Sans Devanagari';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/noto-sans-devanagari-0.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
@font-face {
  font-family: 'Noto Sans Devanagari';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/noto-sans-devanagari-0.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
@font-face {
  font-family: 'Noto Sans Devanagari';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/noto-sans-devanagari-0.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
@font-face {
  font-family: 'Noto Serif Devanagari';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/noto-serif-devanagari-1.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
@font-face {
  font-family: 'Noto Serif Devanagari';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/noto-serif-devanagari-1.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}


/* Chartroom: warm chart paper, deep sea ink, a coral course line. */
:root {
  --paper: #f7f2e7;
  --paper-2: #efe8d7;
  --card: #fffaf0;
  --ink: #17302c;
  --ink-soft: #3b524c;
  --muted: #66766f;
  --line: #dcd4c0;
  --sea: #2f9aa0;
  --lagoon: #7fd6c9;
  --foam: #e4f4ee;
  --coral: #ec6c4b;
  --coral-deep: #c9502f;
  --sun: #f5c35a;
  --deep: #12302f;
  --green: #17302c;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4.6vw, 80px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header: 76px;
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .28s ease both fade-out; }
::view-transition-new(root) { animation: .42s var(--ease) both fade-in; }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes rise { from { opacity: .3; transform: translateY(22px); } to { opacity: 1; transform: none; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border-radius: 0; }
button:disabled { cursor: default; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
figure, h1, h2, h3, p, ol, ul { margin: 0; }
[hidden] { display: none !important; }
::selection { color: var(--paper); background: var(--sea); }
:focus-visible { outline: 2px solid var(--coral-deep); outline-offset: 4px; border-radius: 4px; }
.skip-link { position: fixed; inset-inline-start: 16px; top: -100px; z-index: 60; background: var(--ink); color: var(--paper); padding: 14px 18px; border-radius: 12px; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.shell { width: min(100% - var(--gutter) * 2, 1320px); margin-inline: auto; }

/* Type */
em { font-family: var(--serif); font-weight: 400; font-style: italic; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(54px, 7.6vw, 124px); line-height: .98; letter-spacing: -.065em; }
h1 em { letter-spacing: -.03em; color: var(--sea); }
h2 { font-size: clamp(34px, 4vw, 60px); line-height: 1.06; letter-spacing: -.05em; }
h2 em { letter-spacing: -.02em; color: var(--sea); }
p { font-size: 16px; line-height: 1.72; text-wrap: pretty; }
.eyebrow, .card-meta, .case-kicker, .case-meta > div > span, .stop-kicker, .bridge-leg, .story-number, .technical-number, .note-number { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; line-height: 1.7; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--coral); flex-shrink: 0; }
.status-dot { width: 7px; height: 7px; background: var(--coral); border-radius: 50%; box-shadow: 0 0 0 4px #ec6c4b2e; flex-shrink: 0; }
.eyebrow:has(.status-dot)::before { display: none; }
.eyebrow-place { margin-inline-start: 6px; padding-inline-start: 14px; border-inline-start: 1px solid var(--line); }
.media-caption { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.6; }

/* Links and buttons */
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 13.5px; font-weight: 500; padding-block: 6px; border-bottom: 1px solid currentColor; transition: color .2s; }
.text-link span { display: inline-block; transition: transform .25s var(--ease); }
.text-link:hover { color: var(--coral-deep); }
.text-link:hover span { transform: translate(3px, -3px); }
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500; letter-spacing: -.01em; transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn span { transition: transform .25s var(--ease); }
.btn:hover { background: var(--coral); border-color: var(--coral); transform: translateY(-2px); box-shadow: 0 10px 24px #ec6c4b40; }
.btn:hover span { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: none; }

/* Header: a floating chart-table strip */
.site-header { position: sticky; top: 12px; z-index: 40; width: min(100% - var(--gutter) * 2 + 28px, 1348px); min-height: 60px; margin: 12px auto 0; padding: 8px 10px 8px 16px; display: flex; align-items: center; gap: 18px; border-radius: 999px; }
/* The frosted strip is a pseudo-element so the header does not trap the full-screen mobile menu. */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; border: 1px solid #17302c1a; border-radius: inherit; background: #f9f5eccc; -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 8px 30px #17302c0f; pointer-events: none; }
.home .site-header { position: fixed; inset-inline: 0; }
.site-header .brand { display: flex; align-items: center; gap: 11px; margin-inline-end: auto; flex-shrink: 0; font-size: 14.5px; font-weight: 600; letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 32px; color: var(--ink); transition: transform .8s var(--ease); }
.brand:hover .brand-mark { transform: rotate(135deg); }
.site-header #primary-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.site-header #primary-nav > a { position: relative; font-size: 13px; font-weight: 500; padding: 10px 2px; }
.site-header #primary-nav > a:not(.resume-link)::after { content: ''; position: absolute; bottom: 5px; inset-inline: 2px; height: 1.5px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-header #primary-nav > a:hover::after, .site-header #primary-nav > a[aria-current]::after { transform: scaleX(1); }
.site-header #primary-nav > .resume-link { display: flex; gap: 12px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); transition: background .25s; }
.site-header #primary-nav > .resume-link:hover { background: var(--coral); }
.menu-toggle { display: none; }
.language-picker { position: relative; z-index: 45; flex-shrink: 0; }
.language-picker summary { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; cursor: pointer; list-style: none; font-size: 12px; white-space: nowrap; border-radius: 999px; }
.language-picker summary:hover { background: #17302c0d; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-chevron { color: var(--muted); }
.language-options { position: absolute; inset-inline-end: 0; top: calc(100% + 12px); width: 220px; max-height: min(460px, 75vh); overflow-y: auto; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px #17302c26; }
.language-options a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 10px 13px; border-radius: 11px; font-size: 14px; line-height: 1.4; }
.language-options a:hover, .language-options a[aria-current] { background: var(--foam); }
.language-options a[lang="ar"] { font-family: 'Noto Sans Arabic', sans-serif; }
.language-options a[lang="ko"] { font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
.language-options a[lang="hi"] { font-family: 'Noto Sans Devanagari', sans-serif; }
.language-options a:focus-visible { outline-offset: -3px; }
.source-language-note { margin-top: 18px; color: var(--muted); font-size: 12px; }

/* ------------------------------------------------------------ the voyage */
.voyage { position: relative; background: linear-gradient(#e9f4ee, #a8e2d6 46%, #6fcdc4); }
.voyage-canvas, .voyage-vignette, .voyage-bridges, .voyage-labels, .voyage-rail, .voyage-controls, .voyage-hint, .voyage-loader { display: none; }
/* Without the 3D scene, the stops read as an illustrated sequence. */
.voyage-stops { width: min(100% - var(--gutter) * 2, 1320px); margin-inline: auto; padding-block: calc(var(--header) + 60px) 80px; display: grid; gap: 28px; }
.stop { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(20px, 4vw, 60px); padding: clamp(18px, 2.4vw, 30px); background: #fffaf0d9; border: 1px solid #ffffffa6; border-radius: 32px; box-shadow: 0 20px 50px #17302c14; }
.stop-still { width: 100%; border-radius: 22px; aspect-ratio: 4 / 3; object-fit: cover; }
.stop-chart { grid-template-columns: 1fr; padding: clamp(26px, 4vw, 54px); }
.stop h1 { font-size: clamp(40px, 5.2vw, 84px); }
.stop h2 { font-size: clamp(30px, 3.3vw, 50px); }
.stop-lede { margin-top: 18px; max-width: 46ch; color: var(--ink-soft); font-size: 16px; }
.stop-aside { margin-top: 22px; max-width: 44ch; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.stop-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; color: var(--muted); }
.stop-kicker > span + span { padding-inline-start: 14px; border-inline-start: 1px solid var(--line); }
.stop-number { color: var(--coral-deep); font-size: 12px; }
.stop-number i { font-style: normal; color: var(--muted); margin-inline-start: 5px; }
.stop-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.voyage-enable { margin: 0 auto 60px; display: flex; }

.voyage.is-live { height: calc(var(--stops) * 135svh); background: #9fe0d5; }
.is-live .voyage-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: linear-gradient(#edf6ef 0, #bfe9dd 30%, #86d6cb 62%, #62c7c2); }
.is-live .voyage-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; }
.is-live.is-ready .voyage-canvas { opacity: 1; }
.is-live .voyage-vignette { display: block; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #f7f2e7e0 0, #f7f2e7b0 22%, #f7f2e700 52%), linear-gradient(#f7f2e7b3 0, #f7f2e700 20%), radial-gradient(120% 90% at 60% 50%, #0000 62%, #0e3b3a33); transition: opacity .9s; }
.is-live.is-sailing .voyage-vignette, .is-live.is-chart .voyage-vignette { opacity: .42; }
.is-live .voyage-stops { position: absolute; inset: 0; width: auto; margin: 0; padding: 0; display: block; pointer-events: none; }
.is-live .stop { position: absolute; inset-inline-start: var(--gutter); top: 50%; display: block; width: min(440px, 38vw); padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; opacity: 0; visibility: hidden; transform: translateY(calc(-50% + 34px)); transition: opacity .5s ease, transform .7s var(--ease), visibility 0s .5s; }
.is-live .stop.is-active { opacity: 1; visibility: visible; transform: translateY(-50%); pointer-events: auto; transition: opacity .7s ease .08s, transform .9s var(--ease) .08s, visibility 0s; }
.is-live .stop-still { display: none; }
.is-live .stop-card { padding: 30px 30px 32px; border: 1px solid #ffffffb3; border-radius: 28px; background: #fffaf0e6; -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 24px 70px #0f3a3833, inset 0 1px 0 #fff; }
.is-live .stop-intro { width: min(690px, 54vw); top: 52%; }
.is-live .stop-intro .stop-card { padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.is-live .stop-intro h1 { font-size: clamp(44px, 5.6vw, 92px); white-space: nowrap; }
.is-live .stop-intro h1 em { font-size: .95em; line-height: 1.12; color: #1c7f86; }
.is-live .stop-intro .stop-lede { font-size: 16.5px; max-width: 43ch; color: var(--ink); }
.is-live .stop-chart { inset-inline-start: 50%; top: auto; bottom: clamp(84px, 13vh, 140px); width: min(620px, calc(100% - 32px)); transform: translate(-50%, 34px); text-align: center; }
[dir="rtl"] .is-live .stop-chart { transform: translate(50%, 34px); }
.is-live .stop-chart.is-active { transform: translate(-50%, 0); }
[dir="rtl"] .is-live .stop-chart.is-active { transform: translate(50%, 0); }
.is-live .stop-chart .eyebrow, .is-live .stop-chart .stop-actions { justify-content: center; }
.is-live .stop-chart .stop-lede { margin-inline: auto; }
.is-live .stop-chart h2 { font-size: clamp(30px, 3.6vw, 52px); }

.is-live .voyage-bridges { display: block; position: absolute; inset-inline: 0; bottom: clamp(86px, 14vh, 150px); pointer-events: none; }
.bridge { position: absolute; inset-inline: 0; bottom: 0; width: fit-content; max-width: min(560px, calc(100% - 40px)); margin-inline: auto; display: flex; align-items: baseline; gap: 14px; padding: 14px 22px; border-radius: 18px; background: #12302fd9; color: var(--paper); font-size: 15px; line-height: 1.5; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: translateY(16px); transition: opacity .45s, transform .6s var(--ease); }
.bridge.is-active { opacity: 1; transform: none; }
.bridge-leg { color: var(--sun); flex-shrink: 0; }

.is-live .voyage-labels { display: block; position: absolute; inset: 0; pointer-events: none; }
.voyage-label { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fffaf0f2; box-shadow: 0 6px 20px #0f3a3826; font-size: 12.5px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .35s, background .2s, color .2s; will-change: transform; }
.voyage-label b { display: grid; place-items: center; min-width: 26px; height: 22px; padding-inline: 5px; border-radius: 999px; background: var(--coral); color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 600; }
.voyage-label.is-visible { opacity: 1; pointer-events: auto; }
.voyage-label:hover { background: var(--ink); color: var(--paper); }
.voyage-label::after { content: ''; position: absolute; top: 100%; left: 50%; width: 1px; height: 14px; background: #fffaf0cc; }

.is-live .voyage-rail { position: absolute; inset-inline-end: clamp(12px, 2vw, 28px); top: 50%; transform: translateY(-50%); display: grid; gap: 6px; padding: 12px 8px; border-radius: 999px; background: #fffaf099; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.voyage-rail a { position: relative; display: grid; place-items: center; width: 22px; height: 22px; }
.voyage-rail a::before { content: ''; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ink); transition: transform .3s var(--ease), background .3s, border-color .3s; }
.voyage-rail a[aria-current]::before { background: var(--coral); border-color: var(--coral); transform: scale(1.7); }
.voyage-rail a span { position: absolute; inset-inline-end: 34px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12px; white-space: nowrap; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.voyage-rail a:hover span, .voyage-rail a:focus-visible span { opacity: 1; transform: none; }

.is-live .voyage-controls { position: absolute; inset-inline: var(--gutter); bottom: clamp(18px, 3.4vh, 34px); display: flex; align-items: center; gap: 10px; }
.voyage-step { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #17302c40; background: #fffaf0cc; font-size: 18px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .25s, color .25s, transform .25s var(--ease); }
.voyage-step:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
[dir="rtl"] .voyage-step { transform: scaleX(-1); }
.voyage-sound { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 16px; border: 1px solid #17302c40; border-radius: 999px; background: #fffaf0cc; font-size: 12px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.voyage-sound::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.voyage-sound[aria-pressed="true"]::before { background: var(--coral); box-shadow: 0 0 0 4px #ec6c4b33; }
.voyage-sound[aria-pressed="true"] .sound-off, .voyage-sound[aria-pressed="false"] .sound-on { display: none; }
.voyage-skip { margin-inline-start: auto; padding: 12px 16px; border-radius: 999px; background: #fffaf0cc; font-size: 12px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.voyage-skip:hover { background: var(--ink); color: var(--paper); }
.is-live .voyage-hint { position: absolute; inset-inline: 0; bottom: clamp(28px, 4.6vh, 44px); width: fit-content; margin-inline: auto; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .5s; pointer-events: none; }
.is-live.is-ready[data-stop="harbor"]:not(.is-sailing) .voyage-hint { opacity: .85; }
.voyage-hint span { position: relative; width: 1px; height: 34px; background: #17302c40; overflow: hidden; }
.voyage-hint span::after { content: ''; position: absolute; inset: 0; background: var(--coral); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.is-live .voyage-loader { display: block; position: absolute; inset-inline: 0; top: 0; height: 3px; background: #17302c14; transition: opacity .6s .3s; }
.voyage-loader-bar { display: block; height: 100%; background: var(--coral); transform: scaleX(.06); transform-origin: left; transition: transform .6s var(--ease); }
[dir="rtl"] .voyage-loader-bar { transform-origin: right; }
.is-ready .voyage-loader { opacity: 0; }
.is-live .voyage-enable { display: none; }

/* ------------------------------------------------------------ shared sections */
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 44px; }
.section-heading .text-link { flex-shrink: 0; margin-bottom: 6px; }
.home-about { display: grid; grid-template-columns: .8fr 1.7fr; gap: 64px; padding-block: 110px 90px; }
.home-about h2 { font-size: clamp(32px, 3.6vw, 54px); }
.home-about p { max-width: 560px; margin-block: 24px 22px; color: var(--muted); font-size: 16px; }
.selected-section { padding-block: 40px 90px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; row-gap: 58px; }
.project-card[hidden] { display: none; }
.card-image { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: linear-gradient(#e9f4ee, #9fe0d5); isolation: isolate; }
.island-still { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease); }
.card-image:hover .island-still { transform: scale(1.045); }
.card-arrow { position: absolute; inset-inline-end: 18px; bottom: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--card); font-size: 20px; transition: transform .4s var(--ease), background .25s, color .25s; }
.card-image:hover .card-arrow { transform: rotate(45deg); background: var(--coral); color: #fff; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; color: var(--muted); }
.project-card h3 { margin-top: 8px; font-size: 28px; letter-spacing: -.04em; line-height: 1.16; }
.project-card h3 a { background: linear-gradient(var(--coral), var(--coral)) no-repeat 0 100% / 0 1.5px; transition: background-size .4s var(--ease); }
.project-card h3 a:hover { background-size: 100% 1.5px; }
.project-card > p { margin-top: 10px; max-width: 46ch; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.contact-strip { padding-block: 76px 96px; border-top: 1px solid var(--line); }
.contact-strip > p { margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.contact-strip > a:not(.text-link) { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: clamp(32px, 4.6vw, 68px); letter-spacing: -.05em; line-height: 1.1; }
.contact-strip > a > span { transition: transform .35s var(--ease), color .25s; }
.contact-strip > a:hover > span { transform: translate(6px, -6px); color: var(--coral); }
.profile-links { display: flex; flex-wrap: wrap; gap: 32px; }
.profile-links .text-link { font-size: 22px; letter-spacing: -.03em; }

/* Footer */
.site-footer { background: var(--deep); color: #e9efe6; padding: 54px var(--gutter) 30px; background-image: radial-gradient(60% 120% at 85% 0, #1d4a48, #0000 70%); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 40px; padding-bottom: 38px; border-bottom: 1px dashed #ffffff33; }
.footer-name { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.footer-name .brand-mark { width: 44px; height: 44px; color: #e9efe6; --paper: var(--deep); }
.footer-name small { display: block; margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 17px; font-weight: 400; color: var(--lagoon); }
.footer-nav, .footer-social { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13.5px; }
.footer-nav a:hover { color: var(--sun); }
.footer-social .text-link { font-size: 13px; gap: 8px; border-color: #ffffff4d; }
.footer-social .text-link:hover { color: var(--sun); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 22px; font-size: 11.5px; color: #a9c2ba; }

/* Page intros */
.page-intro { padding-block: 84px 48px; }
.page-intro.lost { min-height: 62svh; display: grid; align-content: center; }
.page-intro.lost > p { margin-top: 26px; color: var(--muted); }
.intro-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-top: 34px; }
.intro-bottom p { color: var(--muted); font-size: 16px; }
.work-section { padding-bottom: 90px; }
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px 38px; border-top: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 40px; padding: 8px 20px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 13px; transition: color .2s, background .2s, border-color .2s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
#filter-count { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); }

/* ------------------------------------------------------------ case studies */
.case-header { padding-top: 54px; }
.back-link { display: inline-block; margin-bottom: 46px; font-size: 12.5px; color: var(--muted); }
.back-link:hover { color: var(--coral-deep); }
.case-kicker { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; color: var(--muted); }
.case-kicker a { color: var(--coral-deep); border-bottom: 1px dashed currentColor; }
.case-header h1 { max-width: 14ch; font-size: clamp(50px, 6.8vw, 108px); }
.case-subtitle { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.1vw, 46px); letter-spacing: -.02em; line-height: 1.2; color: var(--sea); }
.case-meta { display: grid; grid-template-columns: .95fr 1.2fr 1.25fr; gap: 36px; margin-top: 42px; padding-block: 24px 30px; border-top: 1px solid var(--line); }
.case-meta > div > span { color: var(--muted); }
.case-meta p { margin-top: 6px; font-size: 13.5px; line-height: 1.6; }

.island-stage { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(22px, 3.4vw, 54px); align-items: center; margin-block: 16px 30px; }
.island-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 34px; overflow: hidden; background: radial-gradient(90% 80% at 50% 62%, #bfeee0 0, #dff3ea 46%, var(--paper-2) 78%); isolation: isolate; }
.island-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s ease; }
.island-canvas { display: none; position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 1s ease; }
.is-live .island-canvas { display: block; }
.is-live.is-ready .island-canvas { opacity: 1; }
.is-live.is-ready .island-poster { opacity: 0; pointer-events: none; }
.is-dragging .island-canvas { cursor: grabbing; }
.island-marker { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--mono); font-size: 13px; font-weight: 600; box-shadow: 0 6px 18px #0f3a384d; transition: background .25s, box-shadow .25s; will-change: transform; }
.island-marker::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid #ffffffcc; animation: ping 2.6s ease-out infinite; }
.island-marker[aria-pressed="true"] { background: var(--ink); box-shadow: 0 0 0 6px #ec6c4b59; }
@keyframes ping { 0% { transform: scale(.7); opacity: .9; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.island-hint, .island-reset { display: none; position: absolute; bottom: 16px; font-size: 11.5px; border-radius: 999px; background: #fffaf0d9; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.is-live.is-ready .island-hint { display: block; inset-inline-start: 16px; padding: 8px 14px; color: var(--ink-soft); transition: opacity .5s; }
.was-turned .island-hint { opacity: 0; }
.is-live.is-ready .island-reset { display: block; inset-inline-end: 16px; padding: 8px 14px; border: 1px solid #17302c26; }
.island-reset:hover { background: var(--ink); color: var(--paper); }
.island-guide h2 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.04em; }
.island-notes { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 8px; }
.island-note { width: 100%; display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border: 1px solid transparent; border-radius: 18px; background: transparent; text-align: start; transition: background .25s, border-color .25s; }
.island-note:hover, .island-note.is-active { background: var(--card); border-color: var(--line); }
.note-number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--coral); color: var(--coral-deep); font-size: 12px; transition: background .25s, color .25s; }
.island-note.is-active .note-number { background: var(--coral); color: #fff; }
.note-body strong { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -.015em; }
.note-body span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

.case-intro { display: grid; grid-template-columns: .8fr 1.7fr; gap: 64px; padding-block: 76px 64px; }
.case-intro > p { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.42; letter-spacing: -.03em; }
.case-intro .eyebrow { margin-top: 12px; }
.case-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.case-facts > div { padding: 26px 24px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.case-facts strong { display: block; font-family: var(--serif); font-size: clamp(38px, 4.4vw, 62px); font-weight: 400; line-height: 1.05; color: var(--sea); letter-spacing: -.02em; }
.case-facts span { display: block; margin-top: 12px; max-width: 24ch; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.case-story { max-width: 980px; padding-block: 40px 70px; }
.story-section { display: grid; grid-template-columns: 70px 1fr; gap: 30px; padding-top: 52px; }
.story-number { margin-top: 12px; color: var(--coral-deep); }
.story-section h2 { margin-bottom: 16px; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.04em; }
.story-section p { max-width: 68ch; color: var(--ink-soft); font-size: 16.5px; }
.technical-section { margin-block: 20px 70px; padding: clamp(28px, 4vw, 56px); border-radius: 34px; background: var(--deep); color: #eef3ea; background-image: radial-gradient(70% 90% at 100% 0, #1f514e, #0000 70%); }
.technical-heading { display: grid; grid-template-columns: .7fr 1.7fr; gap: 36px; align-items: start; }
.technical-heading .eyebrow { margin-top: 10px; color: #a9c8bf; }
.technical-heading h2 { max-width: 760px; font-size: clamp(30px, 3.4vw, 50px); }
.technical-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; list-style: none; padding: 0; margin: 44px 0 0; }
.technical-grid li { padding-top: 20px; border-top: 1px solid #ffffff2e; }
.technical-number { display: block; margin-bottom: 22px; color: var(--sun); }
.technical-grid h3 { margin-bottom: 14px; font-size: 22px; line-height: 1.2; letter-spacing: -.03em; }
.technical-grid p { font-size: 14px; line-height: 1.75; color: #c9d9d2; }
.technical-footnote { display: flex; justify-content: space-between; align-items: start; gap: 24px 40px; margin-top: 34px; padding-top: 24px; border-top: 1px dashed #ffffff33; }
.technical-footnote p { max-width: 70ch; font-size: 12.5px; color: #a9c8bf; }
.technical-footnote .text-link { max-width: 300px; flex-shrink: 0; font-size: 12.5px; }
.technical-footnote .text-link:hover { color: var(--sun); }
.limits-section { display: grid; grid-template-columns: .8fr 1.7fr; gap: 64px; padding-block: 10px 80px; }
.limits-section h2 { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.04em; }
.limits { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 10px; max-width: 760px; }
.limits li { position: relative; padding: 16px 20px 16px 50px; border: 1px dashed #17302c40; border-radius: 16px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.limits li::before { content: ''; position: absolute; inset-inline-start: 20px; top: 24px; width: 14px; height: 1.5px; background: var(--coral); }
[dir="rtl"] .limits li { padding: 16px 50px 16px 20px; }
.project-media, .architecture, .project-film { padding-block: 20px 76px; }
.video-player { position: relative; aspect-ratio: 16 / 9; background: #0b1512; overflow: hidden; border-radius: var(--radius); }
.video-player video { display: block; width: 100%; height: 100%; object-fit: contain; }
.wide-figure img, .wide-still { width: 100%; border-radius: var(--radius); }
.evidence-figure { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 56px; padding: clamp(26px, 4.6vw, 64px); border-radius: 34px; background: var(--foam); }
.project-media > .evidence-figure:first-child { margin-top: 0; }
.evidence-figure > img { width: 100%; max-width: 380px; margin: auto; border-radius: 18px; box-shadow: 0 18px 44px #17302c26; }
.evidence-figure h3 { margin-bottom: 18px; font-size: 34px; letter-spacing: -.04em; line-height: 1.1; }
.evidence-figure p { font-size: 15px; color: var(--ink-soft); }
.evidence-figure .media-caption { font-size: 12px; color: var(--muted); }
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; padding: 0; margin: 34px 0 0; counter-reset: none; }
.pipeline li { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.pipeline li > span { display: block; margin-bottom: 34px; font-family: var(--mono); font-size: 11px; color: var(--coral-deep); }
.pipeline strong { font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.pipeline p { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.research-notebook { padding-block: 20px 76px; }
.rig-study { display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; border-radius: 34px; background: var(--paper-2); }
.rig-study > img { width: 100%; }
.rig-study figcaption { padding: clamp(25px, 4vw, 64px); }
.rig-study h3 { margin-bottom: 22px; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -.05em; }
.rig-study p { max-width: 420px; font-size: 15px; }
.notebook-diagrams { margin-top: 48px; }
.research-diagram { margin-top: 32px; }
.diagram-image { display: block; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.diagram-image img { width: 100%; }
.research-diagram figcaption { display: grid; grid-template-columns: .8fr 1.2fr; gap: 14px 40px; padding-block: 24px 32px; }
.research-diagram h3 { font-size: 26px; letter-spacing: -.04em; line-height: 1.2; }
.research-diagram figcaption p { color: var(--muted); font-size: 14px; }
.research-diagram figcaption .text-link { grid-column: 2; justify-self: start; font-size: 12px; }
.diagram-details details { border-top: 1px solid var(--line); }
.diagram-details details:last-child { border-bottom: 1px solid var(--line); }
.diagram-details summary { cursor: pointer; padding: 24px 32px 24px 0; font-size: 21px; letter-spacing: -.025em; }
.diagram-details summary > span { display: inline-block; margin: 0 22px 0 8px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.diagram-details details[open] summary { color: var(--sea); }
.diagram-details .research-diagram { margin-top: 0; }
.connections-section { padding-block: 10px 80px; }
.connections { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.connection { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 14px 20px 14px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: transform .35s var(--ease), box-shadow .35s, border-color .25s; }
.connection:hover { transform: translateY(-4px); border-color: var(--coral); box-shadow: 0 18px 40px #17302c1a; }
.connection-still { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; }
.connection-body strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.connection-body span { display: block; margin-top: 5px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.connection-arrow { font-size: 20px; color: var(--coral-deep); transition: transform .3s var(--ease); }
.connection:hover .connection-arrow { transform: translateX(5px); }
[dir="rtl"] .connection-arrow, [dir="rtl"] .next-arrow, [dir="rtl"] .btn > span[aria-hidden] { display: inline-block; transform: scaleX(-1); }
.case-sources { display: grid; grid-template-columns: .8fr 1.7fr; gap: 64px; padding-block: 40px 64px; border-top: 1px solid var(--line); }
.case-sources p { max-width: 70ch; font-size: 13.5px; color: var(--muted); }
.source-links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 24px; }
.source-links:empty { display: none; }
.case-nav { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; padding-bottom: 90px; }
.case-nav-link { position: relative; display: block; padding: 28px 30px 30px; border: 1px solid var(--line); border-radius: 28px; background: var(--card); transition: background .3s, color .3s, transform .35s var(--ease); }
.case-nav-link strong { display: block; font-size: clamp(22px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; }
.case-nav-link.next { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.case-nav-link.next .eyebrow { color: #a9c8bf; }
.case-nav-link:hover { transform: translateY(-4px); }
.case-nav-link.next:hover { background: var(--coral); border-color: var(--coral); }
.next-arrow { position: absolute; inset-inline-end: 30px; bottom: 26px; font-size: 34px; }

/* ------------------------------------------------------------ about, contact */
.about-hero { display: grid; grid-template-columns: 1.4fr .8fr; gap: 9%; align-items: center; padding-block: 84px 90px; }
.about-hero h1 { font-size: clamp(60px, 7.6vw, 116px); }
.about-lede { margin-block: 30px 18px; max-width: 520px; font-size: 23px; letter-spacing: -.03em; line-height: 1.45; }
.about-hero p:not(.about-lede) { max-width: 500px; color: var(--muted); font-size: 15px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.about-tags span { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.portrait { align-self: start; }
.portrait img { width: 100%; max-height: 560px; object-fit: cover; object-position: 50% 35%; border-radius: 28px; }
.portrait figcaption { display: flex; justify-content: space-between; gap: 15px; margin-top: 13px; font-size: 11px; color: var(--muted); }
.about-statement { display: grid; grid-template-columns: .8fr 1.7fr; gap: 64px; padding-block: 76px; border-top: 1px solid var(--line); }
.about-statement p { max-width: 62ch; margin-top: 24px; font-size: 16px; color: var(--ink-soft); }
.about-harbor { margin-bottom: 30px; }
.about-harbor .wide-still { aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 58%; border-radius: 34px; }
.experience { padding-block: 76px; }
.timeline-row { display: grid; grid-template-columns: .5fr 1fr 1.25fr; gap: 36px; padding-block: 28px; border-top: 1px solid var(--line); transition: background .3s; }
.timeline-row > span { padding-top: 5px; font-family: var(--mono); font-size: 11.5px; color: var(--coral-deep); }
.timeline-row h3 { font-size: 22px; letter-spacing: -.035em; }
.timeline-row .role { display: block; margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.timeline-row > p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.timeline-link { display: inline-flex; gap: 8px; margin-inline-start: 6px; font-weight: 500; color: var(--coral-deep); border-bottom: 1px solid currentColor; white-space: nowrap; }
.about-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding-block: 60px 76px; border-top: 1px solid var(--line); }
.about-details h2 { margin-bottom: 24px; font-size: 38px; }
.about-details p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.honors { list-style: none; padding: 0; }
.honors li + li { margin-top: 22px; }
.honors strong { display: block; font-size: 16px; font-weight: 600; }
.honors span { display: block; margin-top: 5px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.contact-hero { padding-block: 84px 64px; }
.contact-hero > p { max-width: 440px; margin-top: 30px; color: var(--muted); font-size: 16px; }
.email-block { margin-top: 60px; padding: clamp(24px, 3.4vw, 44px); border-radius: 34px; background: var(--deep); color: var(--paper); background-image: radial-gradient(70% 120% at 100% 0, #1f514e, #0000 70%); }
.email-block .eyebrow { margin-bottom: 14px; color: #a9c8bf; }
.email-address { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: clamp(18px, 3.1vw, 46px); letter-spacing: -.04em; overflow-wrap: anywhere; direction: ltr; }
.email-address:hover { color: var(--sun); }
.copy-email { margin-top: 22px; padding: 9px 16px; border: 1px solid #ffffff40; border-radius: 999px; background: none; color: #dfe9e3; font-size: 12px; }
.copy-email:hover { background: var(--paper); color: var(--ink); }
.copy-status { display: inline-block; margin-inline-start: 15px; font-size: 12px; color: var(--sun); }
.contact-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding-block: 20px 96px; }
.contact-bottom h2 { margin-bottom: 18px; font-size: 40px; }
.contact-bottom p { color: var(--muted); font-size: 15px; }
.contact-profile { display: grid; grid-template-columns: 34px 1fr auto; gap: 16px; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease); }
.contact-profile:first-child { padding-top: 0; }
.contact-profile > span:first-child { font-family: var(--mono); font-size: 10.5px; color: var(--coral-deep); }
.contact-profile strong { font-size: 23px; font-weight: 500; letter-spacing: -.04em; }
.contact-profile:hover { padding-inline: 10px; color: var(--coral-deep); }

/* ------------------------------------------------------------ film */
.film-intro { display: grid; grid-template-columns: 1.3fr 1fr; column-gap: 64px; align-items: end; padding-block: 76px 48px; }
.film-intro > .eyebrow { grid-column: 1 / -1; }
.film-intro h1 { font-size: clamp(52px, 7vw, 104px); }
.film-intro > p { max-width: 440px; padding-bottom: 6px; color: var(--muted); }
.film-stage, .project-film { margin-bottom: 30px; }
.film-stage { margin-bottom: 80px; }
.film-player { min-width: 0; }
.film-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #080c13; border-radius: 26px; direction: ltr; box-shadow: 0 30px 70px #17302c2e; }
.film-player video::cue { font-family: sans-serif; background: rgb(0 0 0 / .85); color: white; }
.film-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 30px; padding-block: 20px 14px; }
.caption-control { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13.5px; }
.caption-control select { max-width: 100%; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: inherit; }
.film-language-note { max-width: 80ch; font-size: 12px; color: var(--muted); }
.film-chapters { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.film-chapters h2 { margin-bottom: 18px; font: 500 16px/1.6 var(--sans); letter-spacing: 0; }
.film-chapters ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; }
.film-chapters a { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; min-height: 68px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); font-size: 13.5px; line-height: 1.5; transition: border-color .2s, background .2s, transform .3s var(--ease); }
.film-chapters a[aria-current], .film-chapters a:hover { border-color: var(--sea); background: var(--foam); transform: translateY(-2px); }
.chapter-time, .film-transcript p > a { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 11.5px; color: var(--coral-deep); }
.film-transcript { margin-top: 28px; border-block: 1px solid var(--line); }
.film-transcript summary { cursor: pointer; padding-block: 20px; font-size: 14.5px; }
.film-transcript > div { max-width: 850px; padding-block: 4px 24px; }
.film-transcript p { display: grid; grid-template-columns: 48px 1fr; gap: 18px; margin-bottom: 18px; }
.film-transcript p > a { padding-top: 5px; text-decoration: underline; }
.film-error { margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.film-connections { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-block: 70px 100px; }
.film-connections h2 { margin-bottom: 24px; }
.film-connections p { max-width: 48ch; color: var(--muted); }
.film-project-links > a { display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; padding-block: 26px; border-top: 1px solid var(--line); transition: padding .35s var(--ease), color .2s; }
.film-project-links > a:hover { padding-inline: 10px; color: var(--coral-deep); }
.film-project-links > a > span:first-child { grid-column: 1 / -1; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.film-project-links strong { font-size: 22px; font-weight: 500; line-height: 1.4; letter-spacing: -.02em; }
.project-film .section-heading h2 { max-width: 19ch; font-size: clamp(28px, 3.6vw, 48px); }
.project-film > .media-caption { max-width: 90ch; margin-top: 20px; }

/* Sections ease in as they are scrolled to, where the browser supports it. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .project-card, .story-section, .case-facts > div, .technical-grid li, .timeline-row, .connection, .limits li, .pipeline li, .film-chapters li { animation: rise both var(--ease); animation-timeline: view(); animation-range: entry 0% entry 62%; }
  }
}

/* ------------------------------------------------------------ responsive */
@media (min-width: 901px) and (max-width: 1180px) {
  .site-header #primary-nav { gap: 14px; }
  .site-header { gap: 12px; }
}
@media (max-width: 1000px) {
  .technical-grid { grid-template-columns: 1fr; gap: 26px; }
  .technical-grid li { display: grid; grid-template-columns: 34px 1fr; gap: 10px 18px; }
  .technical-number { grid-row: span 2; margin: 5px 0 0; }
  .technical-grid h3 { margin-bottom: 0; }
  .technical-grid p { grid-column: 2; }
  .technical-footnote { flex-wrap: wrap; }
  .project-grid { gap: 46px 22px; }
  .home-about, .about-statement, .case-intro, .case-sources, .limits-section { gap: 34px; grid-template-columns: .7fr 1.7fr; }
  .island-stage { grid-template-columns: 1fr; }
  .island-notes { grid-template-columns: 1fr 1fr; }
  .evidence-figure { gap: 36px; }
  .timeline-row { grid-template-columns: .45fr 1fr 1.1fr; gap: 22px; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .is-live .stop { width: min(400px, 44vw); }
}
@media (max-width: 900px) {
  :root { --header: 68px; }
  .site-header { min-height: 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; padding: 6px 8px 6px 14px; border-radius: 28px; }
  .site-header .brand { grid-column: 1; }
  .site-header .language-picker { grid-column: 2; grid-row: 1; }
  .js .menu-toggle { grid-column: 3; grid-row: 1; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12.5px; }
  .js .menu-toggle > span { font-size: 20px; line-height: 1; }
  .site-header #primary-nav { grid-column: 1 / -1; width: 100%; flex-wrap: wrap; gap: 4px 18px; padding: 4px 6px 8px; }
  .js .site-header #primary-nav { display: none; }
  .js .site-header #primary-nav.is-open { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: stretch; justify-content: start; gap: 6px; width: auto; padding: 108px var(--gutter) 40px; background: var(--paper); overflow-y: auto; }
  .js .site-header #primary-nav.is-open > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 36px; letter-spacing: -.045em; }
  .js .site-header #primary-nav.is-open > a::after { display: none; }
  .js .site-header #primary-nav.is-open .resume-link { justify-content: space-between; margin-top: 24px; padding: 16px 22px; border: 0; font-size: 16px; letter-spacing: 0; }
  .language-options { inset-inline-end: -60px; width: 210px; }
  .film-intro { grid-template-columns: 1fr; gap: 24px; padding-block: 50px 32px; }
  .film-intro > .eyebrow { margin-bottom: 0; }
  .film-intro > p { max-width: 60ch; }
  .film-chapters ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film-connections { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  :root { --gutter: 20px; }
  p { font-size: 15.5px; }
  .eyebrow-place { display: none; }
  .stop { grid-template-columns: 1fr; border-radius: 26px; }
  .voyage-stops { padding-top: calc(var(--header) + 34px); }
  .is-live .stop, .is-live .stop-intro { inset-inline: 12px; top: auto; bottom: 86px; width: auto; transform: translateY(30px); }
  .is-live .stop.is-active { transform: none; }
  .is-live .stop-card { padding: 20px 20px 22px; border-radius: 24px; }
  .is-live .stop-intro .stop-card { padding: 20px 20px 22px; border: 1px solid #ffffffb3; background: #fffaf0e6; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 24px 70px #0f3a3833; }
  .is-live .stop-intro h1 { font-size: clamp(30px, 9.4vw, 46px); white-space: normal; }
  .is-live .stop h2 { font-size: 28px; }
  .is-live .stop-lede, .is-live .stop-intro .stop-lede { margin-top: 12px; font-size: 14.5px; line-height: 1.6; }
  .is-live .stop-aside { display: none; }
  .is-live .stop-actions { margin-top: 18px; gap: 10px 18px; }
  .is-live .stop-chart { inset-inline: 12px; bottom: 76px; transform: translateY(30px); }
  .is-live .stop-chart .stop-card { padding: 16px 18px 18px; }
  .is-live .stop-chart .eyebrow { display: none; }
  .is-live .stop-chart h2 { font-size: 26px; }
  .is-live .stop-chart .stop-lede { font-size: 13.5px; }
  .is-live .stop-chart .stop-actions .text-link { font-size: 12.5px; }
  [dir="rtl"] .is-live .stop-chart, [dir="rtl"] .is-live .stop-chart.is-active { transform: none; }
  .is-live .stop-chart.is-active { transform: none; }
  .is-live .voyage-vignette { background: linear-gradient(#f7f2e7cc 0, #f7f2e700 16%), linear-gradient(0deg, #0e3b3a40 0, #0e3b3a00 42%); }
  .is-live .voyage-rail { top: calc(var(--header) + 26px); transform: none; inset-inline-end: 10px; padding: 8px 5px; gap: 3px; }
  .voyage-rail a { width: 18px; height: 18px; }
  .voyage-rail a::before { width: 5px; height: 5px; }
  .voyage-rail a span { display: none; }
  .is-live .voyage-controls { inset-inline: 12px; bottom: 16px; gap: 8px; }
  .voyage-step { width: 44px; height: 44px; }
  .voyage-sound .sound-on, .voyage-sound .sound-off { font-size: 11px; }
  .voyage-skip { padding: 12px 14px; font-size: 11.5px; }
  .is-live .voyage-bridges { bottom: 84px; }
  .bridge { flex-direction: column; gap: 4px; font-size: 14px; }
  .is-live .voyage-hint { display: none; }
  .voyage-label { padding: 5px 11px 5px 6px; font-size: 11.5px; }
  .section-heading { margin-bottom: 28px; align-items: start; gap: 18px; }
  .section-heading .text-link { margin-top: 8px; font-size: 12px; gap: 8px; }
  .project-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-card h3 { font-size: 26px; }
  .home-about, .about-statement, .case-intro, .case-sources, .limits-section { grid-template-columns: 1fr; gap: 8px; padding-block: 50px; }
  .home-about h2 { font-size: 34px; }
  .selected-section { padding-block: 10px 60px; }
  .contact-strip { padding-block: 50px 60px; }
  .contact-strip > a:not(.text-link) { font-size: 34px; }
  .profile-links { gap: 18px; }
  .profile-links .text-link { font-size: 17px; gap: 10px; }
  .site-footer { padding-top: 40px; }
  .footer-top { flex-direction: column; align-items: start; }
  .page-intro { padding-block: 50px 30px; }
  .page-intro h1 { font-size: clamp(52px, 17vw, 72px); }
  .filter-bar { flex-wrap: wrap; padding-block: 20px 28px; }
  #filter-count { width: 100%; }
  .work-section { padding-bottom: 50px; }
  .case-header { padding-top: 30px; }
  .back-link { margin-bottom: 32px; }
  .case-header h1 { font-size: clamp(44px, 11.5vw, 72px); }
  .case-subtitle { font-size: 28px; }
  .case-meta { grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
  .case-meta > div:last-child { grid-column: 1 / -1; }
  .island-stage { margin-block: 6px 10px; }
  .island-frame { border-radius: 26px; aspect-ratio: 1 / 1; }
  .island-notes { grid-template-columns: 1fr; }
  .island-note { padding: 12px; }
  .case-intro > p { font-size: 22px; }
  .case-intro .eyebrow { margin-top: 0; }
  .case-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .case-facts > div { padding: 20px 16px 18px; }
  .case-facts strong { font-size: 36px; }
  .case-story { padding-block: 10px 44px; }
  .story-section { grid-template-columns: 1fr; gap: 6px; padding-top: 40px; }
  .story-number { margin-top: 0; }
  .story-section h2 { font-size: 27px; line-height: 1.14; }
  .story-section p { font-size: 15.5px; }
  .technical-section { width: calc(100% - 24px); margin-block: 10px 50px; padding: 26px 22px; border-radius: 26px; }
  .technical-heading { grid-template-columns: 1fr; gap: 0; }
  .technical-heading .eyebrow { margin-bottom: 14px; }
  .technical-heading h2 { font-size: 30px; }
  .technical-grid { margin-top: 30px; }
  .technical-grid li { display: block; }
  .technical-number { margin-bottom: 12px; }
  .technical-grid h3 { margin-bottom: 10px; }
  .technical-footnote { flex-direction: column; gap: 16px; }
  .technical-footnote .text-link { max-width: 100%; }
  .project-media, .architecture, .project-film, .research-notebook, .connections-section { padding-block: 10px 50px; }
  .evidence-figure { grid-template-columns: 1fr; gap: 28px; margin-top: 34px; padding: 24px; border-radius: 26px; }
  .evidence-figure > img { max-width: 260px; }
  .evidence-figure h3 { font-size: 30px; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline li > span { margin-bottom: 14px; }
  .rig-study { grid-template-columns: 1fr; border-radius: 26px; }
  .rig-study figcaption { padding: 26px; }
  .diagram-image { padding: 7px; }
  .research-diagram figcaption { grid-template-columns: 1fr; gap: 14px; padding-block: 20px 24px; }
  .research-diagram figcaption .text-link { grid-column: 1; }
  .diagram-details summary { padding-block: 20px; font-size: 18px; }
  .diagram-details summary > span { display: block; margin: 0 0 8px; }
  .connection { grid-template-columns: 72px 1fr auto; gap: 14px; }
  .connection-still { width: 72px; height: 72px; }
  .case-nav { grid-template-columns: 1fr; padding-bottom: 60px; }
  .case-nav-link { padding: 22px 24px 24px; }
  .next-arrow { font-size: 26px; inset-inline-end: 24px; bottom: 22px; }
  .about-hero { grid-template-columns: 1fr; gap: 40px; padding-block: 50px 60px; }
  .about-hero h1 { font-size: clamp(56px, 19vw, 80px); }
  .about-lede { font-size: 21px; }
  .portrait { width: 78%; max-width: 340px; margin-inline: auto; }
  .portrait img { height: 400px; }
  .about-harbor .wide-still { aspect-ratio: 4 / 3; border-radius: 26px; }
  .experience { padding-block: 50px; }
  .experience .section-heading { flex-direction: column; }
  .timeline-row { grid-template-columns: 1fr; gap: 8px; padding-block: 24px; }
  .about-details { grid-template-columns: 1fr; gap: 40px; padding-block: 44px; }
  .contact-hero { padding-block: 50px 40px; }
  .contact-hero h1 { font-size: clamp(50px, 13.5vw, 84px); }
  .email-block { margin-top: 40px; border-radius: 26px; }
  .email-address { font-size: clamp(15px, 4.4vw, 26px); gap: 10px; }
  .copy-status { display: block; margin: 12px 0 0; }
  .contact-bottom { grid-template-columns: 1fr; gap: 34px; padding-bottom: 60px; }
  .film-player video { border-radius: 18px; }
}
@media (max-width: 540px) {
  .film-chapters ol { grid-template-columns: 1fr; }
  .film-intro h1 { font-size: clamp(42px, 12vw, 64px); }
  .film-transcript p { grid-template-columns: 38px 1fr; gap: 12px; font-size: 14.5px; }
}
@media (max-width: 420px) {
  .site-header .brand > span:last-child { display: none; }
  .voyage-sound { display: none; }
}
@media (max-height: 620px) and (min-width: 701px) {
  .is-live .stop-intro h1 { font-size: clamp(36px, 4.6vw, 64px); }
  .is-live .stop-aside { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@media print {
  .site-header, .filter-bar, .site-footer, .video-player, .case-nav, .voyage-controls, .voyage-rail, .island-canvas, .island-marker { display: none !important; }
  body { background: white; color: black; }
  .shell { width: 100%; }
  .project-card, .story-section, .timeline-row { break-inside: avoid; }
}

/* ------------------------------------------------------------ languages */
/* Localized prose can be longer; let content, rather than fixed boxes, set height. */
html:not([lang="en"]) :is(h1, h2, h3, p, strong, .text-link, .case-meta, .role) { overflow-wrap: anywhere; }
html:not([lang="en"]) :is(.section-heading > *, .case-meta > *, .timeline-row > *, .technical-heading > *, .case-sources > *, .case-nav-link > *) { min-width: 0; }
html:not([lang="en"]) .is-live .stop-intro h1 { white-space: normal; font-size: clamp(36px, 4.5vw, 72px); line-height: 1.12; }
html:not([lang="en"]) .is-live .stop-intro h1 em { display: inline-block; font-size: 1.02em; }
html:not([lang="en"]) :is(.eyebrow, .card-meta, .case-kicker, .case-meta > div > span, .stop-kicker, .bridge-leg) { letter-spacing: .04em; }
html:not([lang="en"]) :is(.section-heading, .filter-bar) { flex-wrap: wrap; }
html:not([lang="en"]) .case-facts strong { font-size: clamp(30px, 3.6vw, 50px); }
html:not([lang="en"]) .case-facts > div { min-width: 0; }
html:not([lang="en"]) .case-header h1 { max-width: 18ch; }
html:not([lang="en"]) :is(.case-subtitle, .about-lede) { line-height: 1.45; }

/* Native CJK typefaces keep ideographs crisp; avoid synthetic cursive and tracking. */
html:lang(zh-Hans) { --sans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif; --serif: 'Songti SC', 'STSong', 'Noto Serif CJK SC', serif; }
html:lang(zh-Hant) { --sans: 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans CJK TC', sans-serif; --serif: 'Songti TC', 'Noto Serif CJK TC', serif; }
html:lang(ja) { --sans: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif; --serif: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif CJK JP', serif; }
html:lang(ko) { --sans: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; --serif: 'AppleMyungjo', 'Batang', 'Noto Serif KR', serif; }
html:lang(hi) { --sans: 'Noto Sans Devanagari', 'DM Sans', sans-serif; --serif: 'Noto Serif Devanagari', serif; }
html:lang(ar) { --sans: 'Noto Sans Arabic', 'DM Sans', sans-serif; --serif: 'Noto Naskh Arabic', serif; }
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(hi), html:lang(ar)) :is(em, .case-subtitle, .footer-name small) { font-style: normal; }
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(hi)) :is(h1, h2, h3, strong, em, .eyebrow, .card-meta, .case-kicker, .about-tags span, .stop-kicker) { letter-spacing: 0; line-height: 1.42; }
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(hi)) p { line-height: 1.9; }
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(hi)) .is-live .stop-intro h1 { font-size: clamp(34px, 4.4vw, 66px); line-height: 1.45; }
:is(html:lang(zh), html:lang(ja), html:lang(ko), html:lang(hi)) :is(.case-header h1, .about-hero h1, .contact-hero h1, .page-intro h1, .film-intro h1) { font-size: clamp(40px, 5.8vw, 86px); }
html:lang(ko) :is(h1, h2, h3, p, a, strong) { word-break: keep-all; }
html:lang(hi) .is-live .stop-intro h1 { line-height: 1.7; }
html:lang(hi) :is(.case-subtitle, .case-facts strong) { line-height: 1.6; }
/* Arabic reads right to left; media geometry, email addresses, and code stay LTR. */
html:lang(ar) * { letter-spacing: 0 !important; }
html:lang(ar) :is(h1, h2, h3, .case-facts strong) { line-height: 1.5; }
html:lang(ar) p { line-height: 1.95; }
html:lang(ar) .is-live .stop-intro h1 { font-size: clamp(34px, 4.4vw, 66px); line-height: 1.6; }
html:lang(ar) :is(.island-frame, .voyage-canvas, .email-address, .brand-mark, .stop-number, .chapter-time) { direction: ltr; unicode-bidi: isolate; }
html:lang(ar) .is-live .voyage-vignette { transform: scaleX(-1); }
html:lang(ar) .site-header #primary-nav > a:not(.resume-link)::after { transform-origin: right; }
@media (max-width: 700px) {
  html:not([lang="en"]) :is(.page-intro h1, .about-hero h1, .contact-hero h1, .film-intro h1) { font-size: clamp(38px, 10vw, 64px); }
  html:not([lang="en"]) .case-header h1 { font-size: clamp(32px, 8.6vw, 56px); }
  html:not([lang="en"]) .is-live .stop-intro h1 { font-size: clamp(26px, 7.4vw, 40px); line-height: 1.3; }
  html:lang(ar) .is-live .voyage-vignette { transform: none; }
}
