:root{
  --ink:#0d1b24; --ink-2:#16303f; --paper:#f7f5f1; --paper-2:#ffffff;
  --line:#d9d3c9; --muted:#5d6b74; --accent:#c4531f; --accent-soft:#f2e3d8;
  --band:#2f7d8c; --band-soft:#dceaed;
  --max:1120px;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);
  font-size:17px;line-height:1.62;-webkit-font-smoothing:antialiased}
.wrap{max-width:var(--max);margin:0 auto;padding:0 28px}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

/* ---------- top bar ---------- */
header.top{position:sticky;top:0;z-index:50;background:rgba(247,245,241,.93);
  backdrop-filter:saturate(1.6) blur(8px);border-bottom:1px solid var(--line)}
.top .wrap{display:flex;align-items:center;gap:24px;height:62px}
.brand{font-family:var(--serif);font-size:19px;letter-spacing:.01em;color:var(--ink);font-weight:600}
.brand span{color:var(--accent)}
nav.links{margin-left:auto;display:flex;gap:22px;align-items:center;font-size:14.5px}
nav.links a{color:var(--ink-2)}
.lang{border:1px solid var(--line);border-radius:999px;padding:5px 13px;font-size:13.5px;
  color:var(--ink-2);background:var(--paper-2)}
.lang:hover{border-color:var(--accent);color:var(--accent);text-decoration:none}

/* ---------- hero ---------- */
.hero{padding:86px 0 66px;border-bottom:1px solid var(--line)}
.eyebrow{font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);
  font-weight:600;margin-bottom:20px}
h1{font-family:var(--serif);font-size:clamp(34px,5.4vw,58px);line-height:1.08;margin:0 0 22px;
  letter-spacing:-.015em;max-width:17ch}
h1 em{font-style:normal;color:var(--accent)}
.lead{font-size:21px;line-height:1.55;color:var(--ink-2);max-width:62ch;margin:0 0 30px}
.cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px}
.btn{display:inline-block;padding:13px 24px;border-radius:4px;font-size:15.5px;font-weight:600}
.btn-1{background:var(--ink);color:#fff}
.btn-1:hover{background:var(--accent);text-decoration:none}
.btn-2{border:1px solid var(--ink-2);color:var(--ink-2)}
.btn-2:hover{border-color:var(--accent);color:var(--accent);text-decoration:none}

/* ---------- sections ---------- */
section{padding:74px 0;border-bottom:1px solid var(--line)}
section.dark{background:var(--ink);color:#e8eef1;border-bottom:none}
section.dark h2,section.dark h3{color:#fff}
section.dark .muted{color:#9fb3bd}
section.dark a{color:#f0a476}
.kicker{font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);
  font-weight:600;margin-bottom:14px}
section.dark .kicker{color:#f0a476}
h2{font-family:var(--serif);font-size:clamp(27px,3.6vw,40px);line-height:1.15;margin:0 0 20px;
  letter-spacing:-.01em;max-width:22ch}
h3{font-size:19px;margin:34px 0 10px;letter-spacing:-.005em}
p{margin:0 0 17px;max-width:70ch}
.muted{color:var(--muted)}
.big{font-size:19.5px;line-height:1.6}

/* ---------- grids & cards ---------- */
.grid{display:grid;gap:26px;margin-top:34px}
.g2{grid-template-columns:repeat(2,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
.card{background:var(--paper-2);border:1px solid var(--line);border-radius:6px;padding:26px}
section.dark .card{background:#16303f;border-color:#27485a}
.card h3{margin-top:0;font-size:17.5px}
.card p{font-size:15.5px;margin-bottom:0;color:var(--muted)}
section.dark .card p{color:#a9bcc6}

.stat{font-family:var(--serif);font-size:38px;line-height:1;color:var(--accent);margin-bottom:8px}
section.dark .stat{color:#f0a476}
.stat small{font-size:16px;color:var(--muted);font-family:var(--sans);display:block;margin-top:9px;line-height:1.45}
section.dark .stat small{color:#a9bcc6}

/* ---------- table ---------- */
table{width:100%;border-collapse:collapse;margin:26px 0 8px;font-size:15px}
th,td{text-align:left;padding:13px 14px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600;
  border-bottom:1.5px solid var(--ink-2)}
tr.us td{background:var(--accent-soft);font-weight:600}
tr.us td:first-child{border-left:3px solid var(--accent)}
td.num{white-space:nowrap}

/* ---------- diagram ---------- */
figure{margin:38px 0 0}
figure svg{width:100%;height:auto;display:block;background:var(--paper-2);
  border:1px solid var(--line);border-radius:6px}
figcaption{font-size:14px;color:var(--muted);margin-top:12px;max-width:74ch}

/* ---------- callout ---------- */
.note{border-left:3px solid var(--accent);background:var(--paper-2);padding:22px 26px;
  border-radius:0 6px 6px 0;margin:30px 0}
.note p:last-child{margin-bottom:0}
section.dark .note{background:#16303f;border-left-color:#f0a476}

/* ---------- people ---------- */
.person{display:grid;grid-template-columns:132px 1fr;gap:26px;align-items:start;
  padding:30px 0;border-bottom:1px solid var(--line)}
.person:last-child{border-bottom:none}
.avatar{width:132px;height:132px;border-radius:6px;background:var(--ink-2);color:#fff;
  display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:46px}
.person h3{margin:0 0 4px;font-size:21px}
.role{font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);
  font-weight:600;margin-bottom:12px}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.tag{font-size:13px;border:1px solid var(--line);border-radius:999px;padding:4px 12px;color:var(--muted)}

/* ---------- ask ---------- */
.ask{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--line);
  border-radius:6px;overflow:hidden;margin-top:34px;background:var(--paper-2)}
.ask>div{padding:30px}
.ask>div:first-child{border-right:1px solid var(--line)}
.ask h3{margin-top:0}
.ask ul{margin:0;padding-left:20px}
.ask li{margin-bottom:9px;font-size:15.5px}

/* ---------- footer ---------- */
footer{padding:54px 0 70px;font-size:14.5px;color:var(--muted);background:var(--paper)}
footer .wrap{display:flex;gap:40px;flex-wrap:wrap;justify-content:space-between}
footer a{color:var(--ink-2)}

@media (max-width:900px){
  .g3,.g4{grid-template-columns:repeat(2,1fr)}
  .ask{grid-template-columns:1fr}
  .ask>div:first-child{border-right:none;border-bottom:1px solid var(--line)}
}
@media (max-width:640px){
  body{font-size:16px}
  .wrap{padding:0 18px}
  .hero{padding:52px 0 44px}
  section{padding:52px 0}
  .g2,.g3,.g4{grid-template-columns:1fr}
  .person{grid-template-columns:1fr;gap:16px}
  .avatar{width:84px;height:84px;font-size:32px}
  nav.links > a{display:none}
  table{font-size:14px}
  th,td{padding:10px 8px}
  /* On a phone the three-column tables are wider than the screen in any
     language with long words (Greek, Russian, German, Romanian). Let the
     cells wrap so the page never scrolls sideways. */
  td.num{white-space:normal}
  th,td{overflow-wrap:anywhere}
}

/* ---------- language picker (11 languages, no JavaScript) ---------- */
.langpick{position:relative;margin-left:2px}
.langpick summary{list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:999px;
  padding:5px 13px;font-size:13.5px;color:var(--ink-2);background:var(--paper-2);
  -webkit-user-select:none;user-select:none;white-space:nowrap}
.langpick summary::-webkit-details-marker{display:none}
.langpick summary::after{content:"\25BE";margin-left:7px;font-size:10px;color:var(--muted)}
.langpick summary:hover{border-color:var(--accent);color:var(--accent)}
.langpick[open] summary{border-color:var(--accent);color:var(--accent)}
/* 15 languages in one column would run off a short screen, so the menu is
   two columns on a normal viewport and scrolls when there is no room. */
.langpick-menu{position:absolute;right:0;top:calc(100% + 9px);z-index:60;padding:6px;
  background:var(--paper-2);border:1px solid var(--line);border-radius:6px;
  box-shadow:0 12px 34px rgba(13,27,36,.16);
  display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:1px 2px;
  max-height:calc(100vh - 96px);overflow-y:auto;overscroll-behavior:contain}
@media (max-width:520px){
  .langpick-menu{grid-template-columns:1fr;min-width:172px}
}
.langpick-item{display:block;padding:8px 12px;border-radius:4px;font-size:14.5px;
  color:var(--ink-2);white-space:nowrap}
a.langpick-item:hover{background:var(--band-soft);color:var(--ink);text-decoration:none}
.langpick-item.is-current{background:var(--accent-soft);color:var(--accent);font-weight:600}

/* ---------- footer language bar ---------- */
#languages{scroll-margin-top:86px}
footer .wrap.langbar{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:9px 18px;
  align-items:baseline;margin-top:34px;padding-top:24px;border-top:1px solid var(--line);
  font-size:14.5px}
.langbar-label{flex-basis:100%;color:var(--muted);margin-bottom:-3px}
.langbar a{color:var(--ink-2)}
.langbar .is-current{color:var(--accent);font-weight:600}

/* ---------- per-script typography ----------
   Thai and Devanagari stack marks above and below the line: at the Latin
   line-height they collide. Greek and Vietnamese need a little air too. */
html[lang="el"] body,html[lang="vi"] body{line-height:1.7}
html[lang="el"] h1,html[lang="vi"] h1{line-height:1.14}
html[lang="el"] h2,html[lang="vi"] h2{line-height:1.22}

html[lang="th"] body,html[lang="hi"] body{line-height:1.85}
html[lang="th"] h1,html[lang="hi"] h1{line-height:1.35}
html[lang="th"] h2,html[lang="hi"] h2,html[lang="th"] h3,html[lang="hi"] h3{line-height:1.45}
html[lang="th"] .lead,html[lang="hi"] .lead,
html[lang="th"] .big,html[lang="hi"] .big{line-height:1.8}
html[lang="th"] .stat small,html[lang="hi"] .stat small{line-height:1.6}
html[lang="th"] body{word-break:break-word;-webkit-line-break:loose;line-break:loose}

/* Chinese: no word spaces, so let it wrap anywhere and give it a font
   stack that actually exists on Chinese systems. */
html[lang="zh"] body{line-height:1.8;word-break:break-word;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB",
  "Microsoft YaHei","Noto Sans CJK SC","Segoe UI",sans-serif}
html[lang="zh"] h1{line-height:1.3;letter-spacing:0}
html[lang="zh"] h2{line-height:1.35;letter-spacing:0}
html[lang="zh"] h1,html[lang="zh"] h2,html[lang="zh"] .brand{font-family:inherit}
html[lang="zh"] td.num{white-space:normal}

/* Russian and Romanian words run long; keep headlines from overflowing. */
html[lang="ru"] h1,html[lang="ro"] h1{hyphens:auto;overflow-wrap:break-word}

/* ---------- full-bleed photo band under the hero ---------- */
.band{position:relative;margin:0;background:var(--ink);border-bottom:1px solid var(--line)}
.band img{display:block;width:100%;height:clamp(230px,32vw,420px);object-fit:cover}
.band figcaption{position:absolute;right:0;bottom:0;max-width:min(94%,660px);
  padding:9px 16px;font-size:13px;line-height:1.45;color:#e8eef1;
  background:rgba(13,27,36,.78);backdrop-filter:blur(3px);border-radius:5px 0 0 0}
.band .credit{color:#9fb3bd;white-space:nowrap}

/* ---------- documentary photo row ---------- */
.shots{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:34px}
.shot{margin:0}
.shot img{display:block;width:100%;height:232px;object-fit:cover;border-radius:6px;
  border:1px solid var(--line);background:var(--paper-2)}
.shot figcaption{margin-top:12px;font-size:14.5px;line-height:1.5;color:var(--muted)}
.shot .credit{display:block;margin-top:7px;font-size:12.5px;color:#8b98a1;letter-spacing:.01em}
@media (max-width:900px){
  .shots{grid-template-columns:1fr;gap:28px}
  .shot img{height:220px}
  .band figcaption{position:static;max-width:none;background:var(--ink);border-radius:0}
  .band .credit{white-space:normal}
}

/* ---------- click to enlarge ---------- */
.zoomable{cursor:zoom-in}
.zoomable:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
dialog.zoom{border:0;padding:0;background:transparent;max-width:96vw;max-height:96vh;
  color:#e8eef1;overflow:visible}
dialog.zoom::backdrop{background:rgba(9,18,24,.9)}
dialog.zoom img{display:block;max-width:94vw;max-height:80vh;width:auto;height:auto;
  border-radius:4px;background:var(--ink)}
.zoom-cap{margin:14px 2px 0;max-width:86ch;font-size:14.5px;line-height:1.55;color:#cfdae1}
.zoom-close{position:fixed;top:14px;right:16px;width:42px;height:42px;border-radius:50%;
  border:1px solid rgba(255,255,255,.34);background:rgba(13,27,36,.72);color:#fff;
  font-size:23px;line-height:1;cursor:pointer;padding:0}
.zoom-close:hover{background:var(--accent);border-color:var(--accent)}
@media (max-width:640px){
  dialog.zoom img{max-height:68vh}
  .zoom-cap{font-size:13.5px}
}

/* ---------- engineering drawings ---------- */
figure.dwg{margin:38px 0 0}
figure.dwg svg{width:100%;height:auto;display:block;background:var(--paper-2);
  border:1px solid var(--line);border-radius:6px}
figure.dwg figcaption{font-size:14.5px;color:var(--muted);margin-top:12px;max-width:74ch;line-height:1.55}
