/*
 * 中国建筑 · 印尼 — style foundation. The rules live in docs/design-language.md.
 * One matte paper, measured from the reference video at #E4E4EC. Cards share the
 * paper colour and stand up through light alone: an outer edge light on the upper
 * left, a soft shadow on the lower right, no outlines. Depth carries state: the
 * current item is raised, the rest lie flat. One accent, CSCEC blue (#005BAC /
 * #004084 evoke CSCEC; they are not official VI values). Motion is finite: shells
 * emboss in place, their content follows, then everything rests.
 */
:root {
  color-scheme: light;
  --bg: #e4e4ec;
  --text: #18344f;
  /* Both keep at least 4.5:1 on the paper for small text. */
  --muted: #4a6178;
  --blue-soft-text: #31638f;
  --line: #cfd0dc;
  --blue: #005bac;
  --blue-dark: #004084;
  --blue-light: #deecf9;
  /* CSCEC emblem blue: CMYK C100 M30 Y0 K0 in CSCEC's reports, #0081CC on its own website. */
  --emblem: #0081cc;
  /* The masthead is the official blue, starting at #0081CC on the lit (left) side where the text
   * sits and deepening slightly toward the shaded side. White on #0081CC is 4.2:1: large text
   * passes AA, small text falls just short, so masthead text stays pure white. */
  --masthead-fill: linear-gradient(120deg, #0081cc, #007bc4 58%, #0072b6);
  --masthead-shadow: 0 7px 20px rgba(0,72,128,.24);
  --radius: 23px;
  --shell: 1320px;
  --gutter: clamp(16px, 3vw, 38px);
  --card-face: #e4e4ec;
  /* Measured on the video: edge light about +15 lightness spreading 15–18 px, shadow about
   * −20 at the edge fading within ~20 px, at a capture scale of roughly 0.6. */
  --edge-light: -1px -1px 1px 1px rgba(255,255,255,.9),
                -7px -7px 12px 2px rgba(255,255,255,.62),
                -12px -12px 26px rgba(255,255,255,.30);
  --shadow: var(--edge-light), 12px 14px 28px rgba(140,143,168,.42), 3px 4px 8px rgba(140,143,168,.22);
  --shadow-small: -4px -4px 10px rgba(255,255,255,.8), 5px 6px 12px rgba(140,143,168,.36);
  --edge-light-small: -1px -1px 1px rgba(255,255,255,1),
                      -6px -6px 9px rgba(255,255,255,.85),
                      -9px -9px 18px rgba(255,255,255,.38);
  --control-face: linear-gradient(145deg, #ececf2, #dfdfe8);
  --control-raised: var(--edge-light-small), 4px 5px 8px rgba(130,133,160,.32);
  --control-compact: -1px -1px 1px rgba(255,255,255,1),
                     -3px -3px 9px rgba(255,255,255,.75),
                     2px 3px 4px rgba(130,133,160,.28);
  --control-inset: inset 3px 3px 6px rgba(130,133,160,.32),
                   inset -3px -3px 6px rgba(255,255,255,.9),
                   0 1px 0 rgba(255,255,255,.45);
  --primary-raised: var(--edge-light-small), 5px 7px 12px rgba(0,72,140,.30);
  --primary-inset: inset 3px 3px 7px rgba(0,32,71,.48), inset -2px -2px 5px rgba(63,155,234,.50);
  --inset: inset 3px 3px 7px rgba(140,143,168,.30),
           inset -3px -3px 7px rgba(255,255,255,.80);
  --press-depth: 2px;
  --hover-lift: -1px;
  /* Shells rise out of the paper on this curve: a soft start, then a long settle. */
  --rise: cubic-bezier(.3, 0, .2, 1);
  /* Things that travel (the carousel's pictures and its pill) speed up, then slow down. */
  --glide: cubic-bezier(.65, 0, .35, 1);
  /* Things that arrive (the masthead's parts) leave quickly and settle softly. */
  --settle: cubic-bezier(.2, .8, .2, 1);
  /* Project types on the timeline map. Checked as a set against the paper with the data-viz
   * palette validator (every pair, colour-blind and normal vision: worst ΔE 9.2 and 17.6);
   * factories, the most numerous, wear the accent blue. */
  --type-factory: #005bac;
  --type-high-rise: #eb6834;
  --type-residential: #1baf7a;
  --type-data-centre: #7c3aed;
  --type-infrastructure: #be185d;
  /* Commercial and public buildings, the sixth kind (2026-11-10): a bronze that the palette check
   * (dataviz validate_palette.js) passes against the other five for lightness, chroma and normal
   * vision; for colour-blind eyes it stays apart from the infrastructure magenta only in the 6–8
   * band, which the names on every dot and in the legend make up for. */
  --type-commercial: #94600f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
               "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
/* A stable gutter keeps the masthead's width identical with and without a scrollbar. */
html { min-width: 320px; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* A column, so the footer rests on the bottom edge even when a page is short. */
body { display: flex; flex-direction: column; margin: 0; min-height: 100vh; overflow-x: clip; background: var(--bg); }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:not(:disabled), summary, label[for] { cursor: pointer; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(0,91,172,.62); outline-offset: 4px; }
.masthead :focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--shell)); margin-inline: auto; }

/* Blue masthead with rounded lower corners; controls inside it switch to blue faces. It lies above
 * the page, so its sub-menus cover whatever they hang over. */
.masthead {
  position: relative;
  z-index: 20;
  padding-top: clamp(18px, 2.2vw, 30px);
  border-radius: 0 0 28px 28px;
  background: var(--masthead-fill);
  box-shadow: var(--masthead-shadow);
  color: #fff;
  --control-face: linear-gradient(145deg, #0c8ad1, #0077be);
  --control-raised: -2px -2px 6px rgba(170,222,255,.22), 4px 5px 9px rgba(0,48,96,.34);
  --control-compact: -1px -1px 3px rgba(170,222,255,.24), 2px 3px 6px rgba(0,48,96,.32);
  --control-inset: inset 3px 3px 6px rgba(0,44,90,.40), inset -2px -2px 5px rgba(120,200,250,.26);
}
/* Laid out as in the mock-up: the company lockup, the navigation right after it, the language
 * switch at the far end. */
.topbar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; padding-bottom: 25px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; color: inherit; text-decoration: none; border-radius: 14px; }
/* The tile face is a layer of its own so it can appear around a mark that is already in place. */
.brand-mark { position: relative; display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; color: #fff; }
/* The tile is the emblem's own blue square, so it stays square. */
.brand-mark::before { content: ""; position: absolute; inset: 0; background: var(--emblem); box-shadow: var(--control-raised); }
.brand-mark svg { position: relative; width: 100%; height: 100%; }
/* Company lockup, as in the mock-up: the Chinese name over the registered English name, both set to
 * the same width. The Chinese name scales down to fit narrow screens (17.6 em is its width), where
 * the English line becomes the short name. */
.brand-text { display: grid; gap: 4px; min-width: 0; }
.brand-title { font-size: clamp(10px, (100vw - 2 * var(--gutter) - 112px) / 17.6, 18px); font-weight: 700; line-height: 1.15; letter-spacing: .02em; white-space: nowrap; text-align: justify; text-align-last: justify; }
.brand-kicker { font-size: 8px; font-weight: 650; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; text-align: justify; text-align-last: justify; }

/* Main navigation: a recessed track in the masthead, where the current section is raised and the
 * others lie flat, as in the reference's navigation. */
.site-panel { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 16px; }
.nav-track { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 14px; background: rgba(0,56,110,.26); box-shadow: var(--control-inset); }
.nav-item { position: relative; }
.nav-link { display: grid; place-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid transparent; border-radius: 10px; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: transform 140ms ease, box-shadow 140ms ease; }
/* Six items since the Home button (dea, 2026-11-12): on the narrowest screens that still show the
 * menu in the bar, the links draw closer so that the Indonesian names leave the lockup its room. */
@media (min-width: 1120px) and (max-width: 1279.98px) {
  .topbar { column-gap: 20px; }
  .nav-link { padding-inline: 10px; }
}
.nav-link[aria-current="page"] { color: #00539b; background: linear-gradient(145deg, #f7fbff, #dceafa); border-color: rgba(235,247,255,.7); box-shadow: -1px -1px 3px rgba(164,215,255,.16), 2px 3px 6px rgba(0,40,88,.32); }
/* Sub-menus sit on light cards: paper text, paper faces and a blue focus ring. */
.nav-card a { display: block; padding: 9px 14px; border: 1px solid transparent; border-radius: 10px; color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: box-shadow 140ms ease; }
.masthead .nav-card :focus-visible { outline-color: rgba(0,91,172,.62); }
.menu-button { display: none; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(190,228,255,.22); border-radius: 50%; background: var(--control-face); box-shadow: var(--control-raised); color: #fff; transition: transform 140ms ease, box-shadow 140ms ease; }
.menu-button svg { width: 20px; height: 20px; }
.menu-button .icon-close, .menu-button[aria-expanded="true"] .icon-menu { display: none; }
.menu-button[aria-expanded="true"] .icon-close { display: block; }
.menu-button[aria-expanded="true"] { box-shadow: var(--control-inset); }

/* Wide screens: each sub-menu hangs from its button, after the reference's label cards (inferred,
 * docs/design-language.md §7). Opening, the connector grows, the card unfolds down from it, then
 * its words appear, 270 ms in all; closing runs backwards: the words go, the card folds up into
 * the connector and the connector draws back into the button, 160 ms (the user asked for twice the
 * first pace, 2026-11-06). Moving to another section folds the open card away before the next one
 * unfolds (the user's request; site.js keeps the order and sets .is-open); leaving the navigation
 * folds it after 200 ms, so the pointer can cross to the card. Escape dismisses it. Without the
 * script, hover and focus open the cards directly. */
@media (min-width: 1120px) {
  .nav-menu { position: absolute; z-index: 30; top: 100%; left: 50%; translate: -50% 0; padding-top: 18px; visibility: hidden; transition: visibility 0s 160ms; }
  .nav-menu::before { content: ""; position: absolute; top: 3px; left: calc(50% - .75px); width: 1.5px; height: 15px; border-radius: 1px; background: rgba(255,255,255,.9); transform-origin: top; scale: 1 0; transition: scale 50ms ease-in 110ms; }
  .nav-card { display: grid; gap: 2px; min-width: 168px; padding: 7px; border: 1px solid rgba(255,255,255,.65); border-radius: 16px; background: rgba(233,233,240,.94); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 0 0 rgba(0,40,88,0), 0 0 0 rgba(0,40,88,0); transform-origin: 50% 0; opacity: 0; scale: 1 .7; translate: 0 -8px; transition: opacity 70ms ease-in 50ms, scale 85ms ease-in 35ms, translate 85ms ease-in 35ms, box-shadow 70ms ease-in 35ms; }
  .nav-card > li { opacity: 0; transition: opacity 40ms ease-in; }
  :is(.js .nav-item.is-open, html:not(.js) .nav-item:is(:hover, :focus-within)):not(.is-dismissed) .nav-menu { visibility: visible; transition: visibility 0s; }
  :is(.js .nav-item.is-open, html:not(.js) .nav-item:is(:hover, :focus-within)):not(.is-dismissed) .nav-menu::before { scale: 1 1; transition: scale 80ms ease-out; }
  :is(.js .nav-item.is-open, html:not(.js) .nav-item:is(:hover, :focus-within)):not(.is-dismissed) .nav-card { opacity: 1; scale: 1 1; translate: 0 0; box-shadow: 0 16px 30px rgba(0,40,88,.30), 0 3px 8px rgba(0,40,88,.18); transition: opacity 80ms ease-out 60ms, scale 150ms var(--settle) 60ms, translate 150ms var(--settle) 60ms, box-shadow 160ms var(--rise) 60ms; }
  :is(.js .nav-item.is-open, html:not(.js) .nav-item:is(:hover, :focus-within)):not(.is-dismissed) .nav-card > li { opacity: 1; transition: opacity 120ms ease-out 150ms; }
  .nav-item.is-dismissed :is(.nav-menu, .nav-menu::before, .nav-card, .nav-card > li) { transition: none; }
}

/* The language switch is written twice: in the navigation's row for wide screens, in the bar for
 * narrow ones. */
.topbar-lang { display: none; }

/* Dock the same navigation, preserving its original slot so the page never jumps. */
html { scroll-padding-top: 84px; }
.masthead .topbar.is-floating {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  width: auto;
  flex-wrap: nowrap;
  gap: 14px;
  padding: max(12px, env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) 12px max(var(--gutter), env(safe-area-inset-left));
  border-radius: 0 0 20px 20px;
  background: var(--masthead-fill);
  box-shadow: var(--masthead-shadow);
}
.masthead .topbar.is-floating .brand { position: relative; flex: 0 0 auto; }
.topbar.is-floating .brand-mark { flex-basis: 36px; width: 36px; height: 36px; }
.masthead .topbar.has-floated :is(.brand-text, .nav-track, .nav-item, .segmented, .menu-button) { animation: none; }
.topbar.is-floating .brand-text {
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  width: var(--brand-text-width);
  translate: 0 -50%;
  transform: translateX(-16px);
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 1120px) {
  .masthead .topbar.is-floating {
    gap: 28px;
    padding: 8px max(var(--gutter), calc((100% - var(--shell)) / 2));
    border-radius: 0 0 16px 16px;
  }
  .topbar.is-floating .site-panel { min-width: 0; gap: 24px; }
  .topbar.is-floating .site-nav { margin-inline: auto; }
  .topbar.is-floating .site-panel > .segmented { flex: none; }
}

/* Narrow screens: the navigation folds into a light card under the menu button. It rises like a
 * sub-menu and its contents follow; sub-items are listed under their section. The language switch
 * stays in the bar, beside the menu button (the user's request, 2026-11-06). */
@media (max-width: 1119.98px) {
  .topbar.is-floating .site-panel {
    right: var(--gutter);
    width: min(360px, calc(100% - 2 * var(--gutter)));
    max-height: calc(100dvh - max(12px, env(safe-area-inset-top)) - 72px);
  }
  .topbar { gap: 12px 14px; }
  .topbar-lang { display: flex; flex: none; margin-left: auto; }
  .site-panel > .segmented { display: none; }
  /* The lockup leaves room for the switch and the menu button. */
  .masthead .brand-title { font-size: clamp(10px, (100vw - 2 * var(--gutter) - 302px) / 17.6, 18px); }
  .menu-button { display: grid; }
  .site-panel { position: absolute; z-index: 40; top: calc(100% - 10px); right: 0; display: grid; justify-content: stretch; gap: 14px; width: min(360px, 100%); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; padding: 14px; border: 1px solid rgba(255,255,255,.65); border-radius: 20px; background: rgba(233,233,240,.96); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); color: var(--text); box-shadow: 0 0 0 rgba(0,40,88,0), 0 0 0 rgba(0,40,88,0); visibility: hidden; opacity: 0; transition: opacity 160ms ease-in, box-shadow 160ms ease-in, visibility 0s 160ms; }
  .site-panel.is-open { visibility: visible; opacity: 1; box-shadow: 0 18px 36px rgba(0,40,88,.30), 0 4px 10px rgba(0,40,88,.18); transition: opacity 200ms ease-out, box-shadow 320ms var(--rise), visibility 0s; }
  .site-panel.is-open > * { animation: content-in 280ms ease-out 140ms backwards; }
  .masthead .site-panel :focus-visible { outline-color: rgba(0,91,172,.62); }
  .nav-track { display: grid; gap: 2px; padding: 0; background: none; box-shadow: none; }
  .nav-link { justify-items: start; min-height: 44px; padding: 10px 14px; color: var(--text); font-size: 15px; }
  .nav-link[aria-current="page"] { color: var(--blue); background: linear-gradient(145deg, #ececf2, #dfdfe8); border-color: rgba(255,255,255,.4); box-shadow: var(--edge-light-small), 4px 5px 8px rgba(130,133,160,.32); }
  .nav-card { display: grid; padding: 0 0 6px 14px; }
  .nav-card a { padding: 8px 14px; color: var(--muted); font-weight: 500; }
}
.masthead-hero { max-width: 760px; padding: 4px 0 clamp(34px, 4.2vw, 54px); }
/* Off the homepage the masthead's empty blue leads home, as the lockup does (the user's request,
 * 2026-11-06; site.js follows the click). The heading's lines hug their words, so the words keep
 * the text cursor and stay selectable; the controls keep their own. */
.masthead-hero > * { width: fit-content; }
.masthead[data-home-link] { cursor: pointer; }
.masthead[data-home-link] :is(.masthead-hero > *, .nav-track, .segmented) { cursor: auto; }
@media (max-width: 1119.98px) { .masthead[data-home-link] .site-panel { cursor: auto; } }
.masthead-hero h1 { margin-top: 12px; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.2; font-weight: 650; letter-spacing: .02em; text-wrap: balance; }
.masthead-lead { max-width: 36em; margin-top: 14px; color: #fff; font-size: 15px; line-height: 1.9; }
/* Prototype-only actions at the end of a page, such as replaying the opening sequence. */
.page-actions { display: flex; justify-content: flex-end; margin-top: 40px; }

.card {
  position: relative;
  min-width: 0;
  padding: 27px;
  background: var(--card-face);
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
/* Nested cards and controls have half the relief depth of their parent shell. */
.card, .dialog-card {
  --edge-light-small: -.5px -.5px .5px rgba(255,255,255,1),
                      -3px -3px 4.5px rgba(255,255,255,.85),
                      -4.5px -4.5px 9px rgba(255,255,255,.38);
  --control-raised: var(--edge-light-small), 2px 2.5px 4px rgba(130,133,160,.32);
  --control-compact: -.5px -.5px .5px rgba(255,255,255,1),
                     -1.5px -1.5px 4.5px rgba(255,255,255,.75),
                     1px 1.5px 2px rgba(130,133,160,.28);
  --control-inset: inset 1.5px 1.5px 3px rgba(130,133,160,.32),
                   inset -1.5px -1.5px 3px rgba(255,255,255,.9),
                   0 .5px 0 rgba(255,255,255,.45);
  --primary-raised: var(--edge-light-small), 2.5px 3.5px 6px rgba(0,72,140,.30);
  --primary-inset: inset 1.5px 1.5px 3.5px rgba(0,32,71,.48), inset -1px -1px 2.5px rgba(63,155,234,.50);
  --inset: inset 1.5px 1.5px 3.5px rgba(140,143,168,.30),
           inset -1.5px -1.5px 3.5px rgba(255,255,255,.80);
  --press-depth: 1px;
  --hover-lift: -.5px;
}
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.masthead .eyebrow { color: #fff; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid rgba(0,91,172,.1); border-radius: 8px; color: var(--blue-soft-text); background: rgba(222,234,246,.8); font-size: 10px; line-height: 1.2; font-weight: 650; letter-spacing: .04em; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 13px 19px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.35);
  background: var(--control-face);
  box-shadow: var(--control-raised);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  /* Faces switch at once (selection is immediate in the reference); only depth eases. */
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.button.primary { background: linear-gradient(145deg, #0867bb, #0053a3); border-color: rgba(0,91,172,.6); color: #fff; box-shadow: var(--primary-raised); }
.button.ghost { color: var(--muted); }
.button.small { min-height: 44px; padding: 9px 13px; border-radius: 11px; font-size: 12px; }
.button.icon { width: 44px; min-width: 44px; min-height: 44px; padding: 8px; }
.masthead .button { color: #fff; border-color: rgba(190,228,255,.22); }
.masthead .button.light { color: #00539b; background: linear-gradient(145deg, #f7fbff, #dceafa); border-color: rgba(235,247,255,.70); box-shadow: -2px -2px 6px rgba(164,215,255,.14), 3px 4px 9px rgba(0,40,88,.32); }

/* A recessed track; as in the reference's navigation, the current item is raised and the
 * others lie flat in the track. */
.segmented { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: 14px; background: rgba(214,214,226,.5); box-shadow: var(--inset); }
.segmented > button, .segmented > a { display: inline-grid; place-items: center; min-height: 38px; min-width: 49px; padding: 8px 12px; border: 1px solid transparent; border-radius: 10px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 600; text-decoration: none; transition: transform 140ms ease, box-shadow 140ms ease; }
.segmented > [aria-pressed="true"], .segmented > [aria-current="true"] { color: var(--blue); background: var(--control-face); border-color: rgba(255,255,255,.4); box-shadow: var(--control-raised); }
.masthead .segmented { background: rgba(0,56,110,.26); box-shadow: var(--control-inset); }
.masthead .segmented > button, .masthead .segmented > a { color: #fff; }
.masthead .segmented > [aria-pressed="true"], .masthead .segmented > [aria-current="true"] { color: #00539b; background: linear-gradient(145deg, #f7fbff, #dceafa); border-color: rgba(235,247,255,.7); box-shadow: -1px -1px 3px rgba(164,215,255,.16), 2px 3px 6px rgba(0,40,88,.32); }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label { font-size: 13px; font-weight: 600; }
.input { display: block; width: 100%; min-width: 0; min-height: 52px; padding: 12px 14px; border: 1px solid transparent; border-radius: 12px; background: rgba(218,218,228,.6); box-shadow: var(--inset); font-size: 15px; line-height: 1.45; transition: border-color 160ms ease, box-shadow 160ms ease; }
.input::placeholder { color: #747a90; opacity: 1; }
.input:focus { border-color: rgba(0,91,172,.6); outline: 2px solid rgba(0,91,172,.13); outline-offset: 2px; }
.hint { color: var(--muted); font-size: 11px; line-height: 1.75; }

dialog { max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: visible; border: 0; background: transparent; color: var(--text); }
dialog::backdrop { background: rgba(210,210,222,.72); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.dialog-card { width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 30px; border: 1px solid rgba(255,255,255,.7); border-radius: 24px; background: linear-gradient(135deg, #f1f1f6, #e6e6ee); box-shadow: -12px -12px 32px rgba(255,255,255,.6), 15px 18px 42px rgba(120,123,150,.32); }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 30px; width: max-content; max-width: calc(100vw - 36px); padding: 14px 22px; border: 1px solid rgba(255,255,255,.7); border-radius: 14px; background: #ececf2; box-shadow: var(--shadow-small); color: var(--blue-dark); font-size: 14px; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 6px); transition: opacity 160ms ease, visibility 0s 160ms, transform 160ms ease; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }

/* Page sections. */
.page-body { padding: clamp(32px, 4vw, 52px) 0 96px; }
.section + .section { margin-top: clamp(48px, 6vw, 80px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 40px; margin-bottom: 24px; }
.section-head h2 { margin-top: 9px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.3; font-weight: 650; letter-spacing: .02em; text-wrap: balance; }
.section-head > p { max-width: 30em; color: var(--muted); font-size: 14px; line-height: 1.85; }
@media (min-width: 901px) {
  :lang(zh) #certifications > .section-head > p { max-width: none; }
}
.badge i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge.ongoing { color: var(--blue-dark); background: rgba(219,234,249,.9); border-color: rgba(0,91,172,.18); }
.badge.completed { color: var(--muted); background: rgba(214,214,226,.75); border-color: rgba(74,97,120,.14); }
/* In preparation: signed, not yet begun; only an outline. */
.badge.preparation { color: var(--muted); background: transparent; border: 1px dashed rgba(74,97,120,.38); }
.placeholder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.placeholder-card { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 220px; }
.placeholder-card h2 { font-size: 20px; font-weight: 650; letter-spacing: .02em; }

/* Home, after the client mock-up: the headline over the carousel (on the paper rather than over the
 * picture), then featured projects and the five lines of business as raised cards. */
.hero-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; margin-bottom: 26px; }
.hero-head h1 { margin-top: 10px; font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.15; letter-spacing: .01em; text-wrap: balance; }
.hero-subtitle { margin-top: 8px; color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.hero-lead { max-width: 36em; margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.button svg { flex: none; width: 18px; height: 18px; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.project-grid > li, .business-grid > li { display: grid; }
.project-card { display: flex; flex-direction: column; gap: 16px; padding: 12px 12px 20px; color: var(--text); text-decoration: none; transition: transform 140ms ease, box-shadow 140ms ease; }
/* The picture sits in a frame pressed into the card. */
.project-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 15px; background: #d9dae3; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-media--placeholder { display: grid; place-items: center; }
.project-placeholder-mark { display: block; width: 38%; max-width: 104px; aspect-ratio: 1; color: #fff; background: var(--emblem); }
.project-placeholder-mark svg { display: block; width: 100%; height: 100%; }
.project-card > .badge { align-self: flex-start; }
.project-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 2px 3px 7px rgba(60,64,92,.28), inset -2px -2px 6px rgba(255,255,255,.45); pointer-events: none; }
.project-meta { display: grid; gap: 6px; padding: 0 8px; }
.project-name { font-size: 18px; font-weight: 650; line-height: 1.35; }
.project-all { align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; }
.project-all-disc { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(0,91,172,.6); border-radius: 50%; background: linear-gradient(145deg, #0867bb, #0053a3); box-shadow: var(--primary-raised); color: #fff; transition: transform 140ms ease; }
.project-all-disc svg { width: 26px; height: 26px; }
.project-all-label { font-size: 16px; font-weight: 650; }
.business-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.business-card { display: grid; align-content: center; justify-items: center; gap: 16px; min-height: 184px; padding: 26px 14px; color: var(--text); text-align: center; text-decoration: none; transition: transform 140ms ease, box-shadow 140ms ease; }
.business-icon { width: 58px; height: 58px; color: #2f4a68; transition: color 140ms ease; }
.business-card span { font-size: 15px; font-weight: 600; line-height: 1.4; }

/* Pages with a side track, after the mock-up: the projects page's categories (with how many
 * projects each holds) or the About page's parts sit in a recessed track on the left, the current
 * one raised; the content is on the right. */
.side-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.side-nav { position: sticky; top: 84px; display: grid; gap: 4px; padding: 6px; border-radius: 16px; background: rgba(214,214,226,.5); box-shadow: var(--inset); }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 14px; border: 1px solid transparent; border-radius: 11px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; transition: transform 140ms ease, box-shadow 140ms ease; }
.side-nav a[aria-current="true"] { color: var(--blue); background: var(--control-face); border-color: rgba(255,255,255,.4); box-shadow: var(--control-raised); }
.category-count { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .7; }
.project-grid.is-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* The rest of the company's project list, without pictures yet (2026-11-10): compact text cards
 * under their own heading, each led by a groove in its kind's colour, then its status. The
 * heading goes when no card under it is shown, and so does the picture grid; with no picture card
 * left above, the heading is not needed either. */
.more-projects { margin-top: clamp(28px, 4vw, 44px); }
.more-projects:not(:has(li:not([hidden]))) { display: none; }
.project-grid:not(:has(li:not([hidden]))) { display: none; }
.project-grid:not(:has(li:not([hidden]))) + .more-projects { margin-top: 0; }
.project-grid:not(:has(li:not([hidden]))) + .more-projects .more-head { display: none; }
.more-head { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; color: var(--muted); font-size: 14px; font-weight: 650; letter-spacing: .06em; }
.more-head::after { content: ""; flex: 1; height: 2px; border-radius: 2px; box-shadow: inset 0 1px 1px rgba(108,112,146,.32), 0 1px 0 rgba(255,255,255,.85); }
.project-text-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.project-text-grid > li { display: grid; }
.card.project-text { position: relative; display: grid; align-content: space-between; justify-items: start; gap: 12px; min-height: 112px; padding: 14px 16px 14px 24px; color: var(--text); text-decoration: none; transition: transform 140ms ease, box-shadow 140ms ease; }
.project-text::before { content: ""; position: absolute; left: 11px; top: 16px; bottom: 16px; width: 4px; border-radius: 4px; background: var(--c); box-shadow: inset .5px 1px 1px rgba(20,24,48,.35), .5px .5px 0 rgba(255,255,255,.7); }
.project-text .project-meta { gap: 5px; padding: 0; }
.project-text .project-name { font-size: 15px; line-height: 1.4; }
/* Where a project is, on the page of one without a picture (templates/location-map.mjs): the
 * project map's relief cut to a window around it, in the frame the picture would take, with a pin
 * in its kind's colour that sends out its ring twice, and its town on a small raised label. */
.locator { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.locator > .locator-stage { --zoom: 1; position: absolute; inset: 0; display: block; min-width: 0; aspect-ratio: auto; }
.locator .map-name { font-size: 9px; }
.locator-pin { position: absolute; z-index: 2; width: 22px; height: 22px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff, #e6e6ee 72%); box-shadow: -1px -1px 2px rgba(255,255,255,.8), 2px 3px 6px rgba(40,44,72,.34); }
.locator-pin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--c); box-shadow: inset .5px .5px 1px rgba(20,24,48,.4); }
.locator-pin::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--c); border-radius: 50%; opacity: 0; pointer-events: none; animation: pin-ring 1400ms ease-out 700ms 2; }
.locator-place { position: absolute; z-index: 2; translate: 18px -50%; padding: 3px 9px; border: 1px solid rgba(255,255,255,.55); border-radius: 8px; background: var(--control-face); box-shadow: var(--control-compact); color: var(--text); font-size: 12px; font-weight: 650; line-height: 16px; white-space: nowrap; pointer-events: none; }
/* A filtered-out card washes back into the paper before the list changes. */
.reveal.is-leaving { opacity: 0; transition: opacity 160ms ease-in; }

/* Project map (homepage and projects page): the sea is a well pressed into the card and Indonesia
 * rises out of it in the paper's own light; neighbours lie flat on the sea floor, the equator is
 * printed on it. Greater Jakarta is outlined in blue: it, or its card, zooms the map in on the
 * city, where its coast sharpens and the boundaries between its cities come in, pressed into the
 * land; a click on the open map, or the way back, zooms out. Each
 * place's project names sit on a raised card, hung on a leader that leaves the dot at 45° and
 * runs level, as the carousel's hotspot connectors do; hovering a name brings up the project's
 * picture on a frosted card. Leader strokes are in map units: --u is one pixel at the narrowest
 * width the map is drawn; the zooming layers keep their strokes in pixels instead. */
.project-map { margin-bottom: clamp(28px, 4vw, 44px); padding: 14px; }
.section .project-map { margin-bottom: 0; }
.map-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 8px 32px; padding: 8px 10px 16px; }
.map-head h2 { margin: 2px 0 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; }
.map-pane { position: relative; margin: 0; overflow: hidden; border-radius: 17px; background: #d9dae3; }
.map-pane::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 3px 4px 9px rgba(60,64,92,.24), inset -3px -3px 8px rgba(255,255,255,.55); pointer-events: none; }
.map-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.map-scroll::-webkit-scrollbar { display: none; }
.map-stage { position: relative; min-width: 690px; aspect-ratio: var(--ar); --zoom: 0; }
.project-map:not([data-view="overview"]) .map-stage { cursor: zoom-out; }
.map-stage > svg, .map-marks { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-base { overflow: hidden; pointer-events: none; }
.map-marks { overflow: visible; }
.map-neighbours { fill: #dfdfe7; }
.map-equator { stroke: rgba(74,97,120,.32); stroke-width: 1px; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
/* Land rises like a card: an edge light up and to the left, a short shadow down and to the right.
 * Zooming in, the region's finer coast takes over from the country's (once it has loaded); only the
 * region zoomed in on shows its finer land, boundaries and islands abroad (js/project-map.js). */
.map-land { filter: drop-shadow(-1px -1px .5px rgba(255,255,255,.95)) drop-shadow(-2px -2px 3px rgba(255,255,255,.45)) drop-shadow(2px 3px 2.5px rgba(108,112,146,.42)); }
.map-land path { fill: var(--bg); }
.map-land-fine { opacity: clamp(0, (var(--zoom) - .5) * 3.4, 1); }
.has-detail .map-land-coarse { opacity: calc(1 - clamp(0, (var(--zoom) - .6) * 3.4, 1)); }
.project-map :is(.map-land-fine, .map-borders, .map-abroad):not(.is-on) { display: none; }
.map-abroad { opacity: clamp(0, (var(--zoom) - .5) * 3.4, 1); }
.map-lines path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
/* The boundaries between cities are grooves pressed into the land: a dark line with a light one
 * just under it, like the dividers elsewhere on the site. */
.map-lines { filter: drop-shadow(0 1px 0 rgba(255,255,255,.8)); }
.map-borders { stroke: rgba(108,112,146,.55); stroke-width: 1px; opacity: clamp(0, (var(--zoom) - .66) * 2.95, 1); }
/* A region's outline: the way in on the overview, the region's edge once zoomed in. */
.map-lines .map-metro { fill: rgba(0,129,204,.14); stroke: var(--emblem); stroke-width: 1.5px; cursor: zoom-in; pointer-events: visiblePainted; transition: fill 160ms ease, stroke-width 160ms ease; }
.map-lines .map-metro-pulse { stroke: var(--emblem); stroke-width: 1px; opacity: 0; }
.map-lines .map-metro.is-hinting { fill: rgba(0,129,204,.26); stroke-width: 2.2px; }
.project-map[data-zoomed] .map-metro { fill: none; stroke-opacity: .55; pointer-events: none; cursor: auto; }
/* Each view's dots, leaders, cards and names: shown when the view has settled, washed out while
 * the map flies between views. */
.map-layer { position: absolute; inset: 0; pointer-events: none; transition: opacity 240ms ease-out; }
.map-layer :is(.map-card, .map-zoom) { pointer-events: auto; }
.map-layer:not(.is-current) { opacity: 0; visibility: hidden; transition: opacity 160ms ease-in, visibility 0s 160ms; }
.map-leader { fill: none; stroke: #7d839e; stroke-width: var(--u); stroke-linejoin: round; transition: stroke 140ms ease, stroke-width 140ms ease, opacity 200ms ease; }
.map-leader.is-active { stroke: var(--blue); stroke-width: calc(var(--u) * 1.6); }
.map-name { position: absolute; translate: -50% -50%; color: rgba(74,97,120,.62); font-size: 10px; font-weight: 650; letter-spacing: .18em; line-height: 1; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.map-name.sea { color: rgba(49,99,143,.5); font-style: italic; letter-spacing: .14em; }
.map-name.equator { translate: none; color: rgba(74,97,120,.55); letter-spacing: .08em; }
.map-dot { position: absolute; z-index: 1; width: 12px; height: 12px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff, #e6e6ee 72%); box-shadow: -1px -1px 2px rgba(255,255,255,.8), 1.5px 2px 4px rgba(40,44,72,.32); transition: opacity 200ms ease; }
.map-dot::after { content: ""; position: absolute; inset: 3.5px; border-radius: 50%; background: var(--blue); box-shadow: inset .5px .5px 1px rgba(0,30,70,.45); }
/* One raised card per place, listing its projects; the name pointed at lights up in its row. */
.map-card { position: absolute; z-index: 2; display: grid; padding: 1px; border: 1px solid rgba(255,255,255,.5); border-radius: 9px; background: var(--control-face); box-shadow: var(--control-compact); translate: 0 -50%; transition: box-shadow 140ms ease, transform 140ms ease, opacity 200ms ease; }
.map-card[data-side="left"] { translate: -100% -50%; }
.map-card[data-cols="2"] { grid-template-rows: repeat(var(--rows), auto); grid-auto-flow: column; }
.map-card:has(.is-active, :focus-visible) { z-index: 4; transform: translateY(var(--hover-lift)); box-shadow: var(--control-raised); }
.map-label { display: block; padding: 2px 8px; border-radius: 7px; color: var(--text); font-size: 12px; font-weight: 600; line-height: 16px; white-space: nowrap; text-decoration: none; transition: color 140ms ease, background-color 140ms ease, opacity 200ms ease; }
.map-label:is(.is-active, :focus-visible) { color: var(--blue); background-color: rgba(255,255,255,.62); }
.map-label:focus-visible { outline-width: 2px; outline-offset: 1px; }
.map-area { border-color: rgba(0,91,172,.18); background: rgba(222,236,249,.9); box-shadow: none; }
.map-area .map-label { color: var(--blue-dark); }
.map-zoom { width: 100%; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 650; text-align: left; cursor: zoom-in; }
.map-hint { display: flex; align-items: center; gap: 4px; padding-top: 0; color: var(--blue-soft-text); font-size: 11px; font-weight: 600; }
.map-hint svg { width: 13px; height: 13px; }
.map-area:has(.map-zoom:hover), .map-area.is-hinting { box-shadow: var(--control-compact); transform: translateY(var(--hover-lift)); }
/* The map's name, and zoomed in the way back, stay in the top corners even when the map scrolls. */
.map-caption { position: absolute; top: 12px; right: 12px; z-index: 5; margin: 0; padding: 4px 10px; border-radius: 8px; background: rgba(228,228,236,.72); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 16px; pointer-events: none; }
.map-back { position: absolute; top: 12px; left: 12px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border: 1px solid rgba(255,255,255,.5); border-radius: 10px; background: var(--control-face); box-shadow: var(--control-raised); color: var(--text); font: inherit; font-size: 12px; font-weight: 650; line-height: 18px; cursor: pointer; transition: transform 140ms ease, box-shadow 140ms ease; animation: content-in 240ms ease-out backwards; }
.map-back svg { width: 15px; height: 15px; }
.map-back[hidden] { display: none; }
@media (max-width: 760px) {
  /* These controls stay readable while the map pans below them. */
  .project-map .map-pane { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .project-map .map-scroll { grid-area: 2 / 1 / 3 / -1; min-width: 0; }
  .project-map .map-caption { position: static; grid-area: 1 / 2; margin: 8px 10px 8px 0; }
  .project-map .map-back { position: static; grid-area: 1 / 1; justify-self: start; margin: 6px 8px 6px 10px; }
}
/* The categories dim the projects of other kinds; a card with none left dims as a whole. */
.project-map .is-muted { opacity: .2; }
.project-map .map-card.is-muted .is-muted { opacity: 1; }
/* The picture card: its shell appears once the leader has turned blue, then its contents; moving
 * to another name, it glides there and its contents change in place. */
.map-pop { position: absolute; top: 0; left: 0; z-index: 10; display: grid; gap: 9px; width: 216px; padding: 8px 8px 12px; border: 1px solid rgba(255,255,255,.65); border-radius: 14px; background: rgba(233,233,240,.86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: -3px -3px 10px rgba(255,255,255,.3), 10px 14px 28px rgba(28,32,60,.26); color: var(--text); text-decoration: none; transform: translate(var(--px, 0), var(--py, 0)); opacity: 0; visibility: hidden; transition: opacity 160ms ease-in, visibility 0s 160ms; }
.map-pop.is-open { opacity: 1; visibility: visible; transition: opacity 200ms ease-out 80ms, visibility 0s, transform 300ms var(--rise); }
.map-pop.is-placing { transition: none; }
.map-pop > * { opacity: 0; transition: opacity 120ms ease-in; }
.map-pop.is-open:not(.is-swapping) > * { opacity: 1; transition: opacity 260ms ease-out 180ms; }
.map-pop.is-moving:not(.is-swapping) > * { transition-delay: 0ms; }
.map-pop-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 9px; background: #d9dae3; }
.map-pop-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 2px 3px 6px rgba(60,64,92,.26), inset -2px -2px 5px rgba(255,255,255,.4); }
.map-pop-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 260ms ease-out; }
.map-pop-media img.is-loaded { opacity: 1; }
/* A project without a picture: its place and name alone. */
.map-pop.no-media { width: auto; min-width: 150px; max-width: 240px; padding-top: 10px; }
.map-pop.no-media .map-pop-media { display: none; }
.map-pop-text { display: grid; gap: 2px; padding: 0 4px; }
.map-pop-name { font-size: 14px; font-weight: 650; line-height: 1.4; }

/* A project's page: the facts on a card, rows parted by pressed grooves; the main picture in a
 * recessed frame; the gallery under them. */
/* The way back to all projects: a raised card with the blue disc of the homepage's "view all"
 * card, pointing back, so it is found at a glance; it rises half as high as a page card. */
.card.back-card { display: inline-flex; align-items: center; gap: 14px; margin-bottom: clamp(22px, 2.8vw, 32px); padding: 8px 24px 8px 8px; border-radius: 999px; color: var(--text); font-size: 15px; font-weight: 650; text-decoration: none; box-shadow: -.5px -.5px .5px .5px rgba(255,255,255,.9), -3.5px -3.5px 6px 1px rgba(255,255,255,.62), -6px -6px 13px rgba(255,255,255,.30), 6px 7px 14px rgba(140,143,168,.42), 1.5px 2px 4px rgba(140,143,168,.22); transition: transform 140ms ease, box-shadow 140ms ease; }
.back-card .project-all-disc { width: 44px; height: 44px; }
.back-card .project-all-disc svg { width: 20px; height: 20px; }
.project-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.spec-list { margin: 14px 0 0; }
.spec-list > div { display: grid; grid-template-columns: minmax(6em, 2fr) minmax(0, 3fr); gap: 16px; padding: 14px 0; border-top: 1px solid rgba(130,133,160,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.spec-list > div:first-child { border-top: 0; box-shadow: none; }
.spec-list dt { color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.6; }
.spec-list dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.6; }
.project-figure { margin: 0; padding: 12px; }
.project-frame { position: relative; display: block; overflow: hidden; border-radius: 15px; background: #d9dae3; }
.project-frame img { width: 100%; height: auto; }
.project-frame::after, .lightbox-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 2px 3px 7px rgba(60,64,92,.28), inset -2px -2px 6px rgba(255,255,255,.45); pointer-events: none; }
.project-figure figcaption { margin-top: 10px; padding: 0 6px; color: var(--muted); font-size: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.gallery-item { display: block; padding: 10px; transition: transform 140ms ease, box-shadow 140ms ease; }
/* The larger picture opens in a card over the frosted page; pictures change in place. */
.lightbox-card { width: min(1200px, calc(100vw - 32px)); padding: 14px; }
.lightbox-frame { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 15px; background: #d9dae3; }
.lightbox-frame img { width: 100%; max-height: calc(100dvh - 150px); object-fit: contain; transition: opacity 240ms ease-out; }
.lightbox-frame img.is-leaving { opacity: 0; transition: opacity 160ms ease-in; }
.lightbox-bar { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.lightbox-caption { flex: 1; min-width: 0; color: var(--muted); font-size: 13px; text-align: center; }

/* About Us, after the mock-up: the introduction beside the company's figures, parted by a pressed
 * groove (a dark line with a light one beside it), the figures parted the same way; the team in
 * recessed frames that open larger; the certificates as seals in relief (a raised rim around a
 * pressed well, like the reference's discs) over the scope they cover. */
.about-part { display: grid; gap: 24px; scroll-margin-top: 24px; }
.about-part + .about-part { margin-top: clamp(48px, 6vw, 80px); }
.about-part > .section-head { margin-bottom: 0; }
.about-part > .section-head:not(:first-child) { margin-top: clamp(12px, 2vw, 24px); }
.section-head h3 { margin-top: 9px; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.3; font-weight: 650; letter-spacing: .02em; }
/* The text keeps a reading measure; the figures take the rest of the card. */
.about-intro { display: grid; grid-template-columns: minmax(0, 36em) minmax(190px, 1fr); padding: clamp(26px, 3vw, 40px); }
.about-text { display: grid; align-content: start; gap: 16px; padding-right: clamp(24px, 3.4vw, 48px); }
.about-text p { max-width: 68ch; font-size: 15px; line-height: 1.95; }
.about-text p:first-child { font-size: 17px; font-weight: 600; line-height: 1.85; }
.about-text .button { justify-self: start; margin-top: 8px; }
.about-figures { display: grid; align-content: start; margin: 0; padding-left: clamp(24px, 3vw, 40px); border-left: 1px solid rgba(130,133,160,.28); box-shadow: inset 1px 0 0 rgba(255,255,255,.7); }
.about-figures > div { display: grid; gap: 4px; padding: 20px 0; border-top: 1px solid rgba(130,133,160,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.about-figures > div:first-child { padding-top: 2px; border-top: 0; box-shadow: none; }
.about-figures > div:last-child { padding-bottom: 2px; }
.about-figures dt { color: var(--muted); font-size: 13px; font-weight: 600; }
.about-figures dd { margin: 0; }
.figure-value { display: flex; align-items: baseline; gap: 6px; }
.figure-value strong { font-size: clamp(34px, 3.4vw, 44px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.figure-value span { color: var(--muted); font-size: 13px; font-weight: 600; }
.figure-note { color: var(--muted); font-size: 12px; line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.team-grid > li { display: grid; }
.team-item { display: grid; align-content: start; gap: 12px; padding: 10px 10px 14px; color: var(--text); text-decoration: none; }
.project-media.team-frame { aspect-ratio: 16 / 10; }
.team-caption { padding: 0 6px; font-size: 14px; font-weight: 600; line-height: 1.5; transition: color 140ms ease; }
.cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
/* Four certificates side by side need the full width; narrower, two by two. */
@media (max-width: 1279.98px) { .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cert-card { display: grid; justify-items: center; align-content: start; padding: 30px 20px 28px; text-align: center; }
.cert-text { display: grid; gap: 6px; }
.cert-seal { display: grid; place-items: center; width: 108px; height: 108px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: radial-gradient(circle at 34% 30%, #f6f6f9, #e3e3eb 72%); box-shadow: var(--control-raised); }
.cert-seal > span { display: grid; place-items: center; align-content: center; gap: 5px; width: 80px; height: 80px; border-radius: 50%; background: rgba(214,214,226,.55); box-shadow: var(--inset); }
.cert-seal small { padding-left: .26em; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .26em; line-height: 1; }
.cert-seal strong { font-size: 21px; font-weight: 650; line-height: 1; font-variant-numeric: tabular-nums; }
.cert-card h3 { font-size: 19px; font-weight: 650; letter-spacing: .01em; }
.cert-system { font-size: 14px; font-weight: 600; line-height: 1.5; }
.cert-en { color: var(--muted); font-size: 12px; line-height: 1.5; }
.cert-scope { display: grid; grid-template-columns: minmax(7em, 180px) minmax(0, 1fr); gap: 8px 32px; padding: 22px 27px; }
.cert-scope h3 { font-size: 14px; font-weight: 650; line-height: 1.9; }
.cert-scope p { color: var(--muted); font-size: 14px; line-height: 1.9; }

/* Blog: the posts as cards like the project cards, their pictures 16:10 with a play mark when the
 * post has a video; a post's page lays its text beside the cover, then the video and the photos.
 * While the posts (or other data) are placeholders, a dashed tag says so. */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-grid > li { display: grid; }
.post-card { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 20px; color: var(--text); text-decoration: none; transition: transform 140ms ease, box-shadow 140ms ease; }
.project-media.post-media { aspect-ratio: 16 / 10; }
.post-play { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(233,233,240,.9); box-shadow: 0 2px 6px rgba(20,24,50,.3); color: var(--blue); }
.post-play svg { width: 15px; height: 15px; translate: 1px 0; }
.post-meta { display: grid; gap: 7px; padding: 0 8px; }
.post-title { font-size: 17px; font-weight: 650; line-height: 1.45; transition: color 140ms ease; }
.post-excerpt { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.7; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.demo-tag { width: fit-content; margin: 0 0 22px; padding: 4px 10px; border: 1px dashed rgba(0,91,172,.4); border-radius: 8px; background: rgba(228,228,236,.82); color: var(--blue-soft-text); font-size: 11px; font-weight: 650; line-height: 16px; letter-spacing: .03em; }
.post-page { max-width: 920px; margin-inline: auto; }
.post-page > .project-figure { margin-bottom: 24px; }
.post-page > .section { margin-top: clamp(44px, 5vw, 64px); }
.post-text { display: grid; align-content: start; gap: 14px; padding: clamp(24px, 3vw, 36px); }
.post-text > p:not(.eyebrow) { max-width: 68ch; }
.post-text > p:not(.eyebrow) { font-size: 15px; line-height: 1.95; }
.post-text > p:nth-child(2) { font-size: 17px; font-weight: 600; line-height: 1.85; }
/* A subheading in a post (a name and a role in the FGDP stories, 2026-11-12). */
.post-text > h3 { margin-top: 10px; font-size: 17px; font-weight: 650; line-height: 1.5; }
.post-video { padding: 12px; }
.video-frame video { display: block; width: 100%; height: auto; background: #1d2333; }

/* About Us: the project timeline, "a moving, interactive slide" (the user's idea, 2026-11-06). The
 * project map's Indonesia over a time axis; the playhead runs from 2017 to today while each
 * project's dot rises as its start date comes and its picture card pops out on a leader, then folds
 * back; at the end all rests, and a dot brings its card back when pointed at (timeline-map.js). */
.timeline-map { padding: 14px; }
/* Plain dots in the colour of their project's type (the user's request), with a legend under the
 * map, since some of the colours are pale against the paper. */
.timeline-dot { position: absolute; z-index: 1; width: 5px; height: 5px; translate: -50% -50%; border-radius: 50%; background: var(--c, var(--blue)); box-shadow: 0 1px 2px rgba(20,24,50,.28); transition: opacity 240ms ease-out, scale 360ms var(--settle); }
.timeline-dot::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--c, var(--emblem)); border-radius: 50%; opacity: 0; pointer-events: none; }
/* Dots halved (the user, 2026-11-11: "这个小圆点可以再缩小一半试试"); a clear ring keeps the old
 * 10 px to tap. */
.timeline-dot::after { content: ""; position: absolute; inset: -2.5px; border-radius: 50%; }
.timeline-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 12px 8px 2px; color: var(--muted); font-size: 12px; font-weight: 600; }
.timeline-legend li { display: flex; align-items: center; gap: 7px; }
.timeline-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.timeline-dot.is-new::before { animation: pin-ring 1100ms ease-out; }
.timeline-dot.is-active { z-index: 3; scale: 1.4; }
.is-armed .timeline-dot:not(.is-lit) { opacity: 0; scale: .3; }
.timeline-lines { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.timeline-leader { fill: none; stroke: var(--blue); stroke-width: 1.3; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 140ms ease-in; }
.is-pointing .timeline-leader { stroke-dashoffset: 0; transition: stroke-dashoffset 200ms ease-out; }
.timeline-pop { z-index: 7; }
/* The time axis under the map, in place of a clock in the sea (the user's choice, 2026-11-06): a
 * groove pressed into the card with the year ticks under it, and a grey mark for each project at
 * its start month that takes its type's colour once the playhead has passed. The playhead is a
 * raised disc with a blue core, the year and month above it; the groove is tinted up to it. A press
 * or a drag anywhere on the axis moves the playhead there, and the story goes on from there once
 * released (timeline-map.js). */
.timeline-axis { margin-top: 14px; padding: 24px 22px 0; -webkit-user-select: none; user-select: none; }
.axis-rail { position: relative; height: 24px; border-radius: 12px; cursor: pointer; touch-action: pan-y; }
.axis-groove { position: absolute; inset: 8px 0 auto; height: 8px; overflow: hidden; border-radius: 4px; background: rgba(214,214,226,.55); box-shadow: var(--inset); }
.axis-fill { position: absolute; inset: 0; background: rgba(0,91,172,.16); transform-origin: left center; }
.axis-mark { position: absolute; top: 12px; width: 6px; height: 6px; translate: -50% -50%; border-radius: 50%; background: #b5b8c7; transition: background-color 240ms ease-out; }
.axis-mark.is-lit { background: var(--c); }
.axis-mark.is-new { animation: mark-pop 420ms var(--settle); }
@keyframes mark-pop { from { scale: 2.4; } }
.axis-head { position: absolute; z-index: 1; top: 12px; width: 18px; height: 18px; translate: -50% -50%; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: radial-gradient(circle at 34% 30%, #f6f6f9, #e3e3eb 72%); box-shadow: var(--control-raised); pointer-events: none; transition: scale 140ms ease; }
.axis-head::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--blue); }
.axis-label { position: absolute; left: 50%; bottom: calc(100% + 6px); translate: -50% 0; color: var(--text); font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.is-scrubbing .axis-rail { cursor: grabbing; }
.is-scrubbing .axis-head { scale: 1.15; }
.axis-years { position: relative; height: 18px; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.axis-years li { position: absolute; top: 4px; translate: -50% 0; }
.axis-years li::before { content: ""; position: absolute; left: 50%; top: -10px; width: 1px; height: 5px; background: rgba(130,133,160,.5); }
/* While the dates are demo data, a dashed tag in the corner says so (the user asked for it). */
/* It sits in the map card, over the map's top left corner (the card's padding plus 12 px). */
.timeline-demo { position: absolute; top: 26px; left: 26px; z-index: 5; max-width: calc(100% - 130px); margin: 0; pointer-events: none; }
.timeline-replay { position: absolute; top: 12px; right: 12px; z-index: 5; padding: 6px 12px; border: 1px solid rgba(255,255,255,.5); border-radius: 10px; background: var(--control-face); box-shadow: var(--control-raised); color: var(--text); font: inherit; font-size: 12px; font-weight: 650; line-height: 18px; transition: transform 140ms ease, box-shadow 140ms ease; animation: content-in 240ms ease-out backwards; }

/* Contact Us, after the mock-up's head-office card, on the paper: its rows parted by pressed
 * grooves, the address with a button that copies it; beside it the city around the head office in
 * relief (the project map's sea, land and grooves), the office's pin hung on a label card. */
/* The two cards share one height and their headings one line (the user's request, 2026-11-06). */
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.contact-card h2 { margin-top: 9px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.3; font-weight: 650; letter-spacing: .02em; }
.contact-list > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.contact-list address { display: grid; font-style: normal; }
.contact-list dd a { color: var(--blue); text-decoration: none; }
.copy-button { margin-top: 12px; color: var(--muted); }
.copy-button svg { width: 16px; height: 16px; }
.copy-button .icon-check, .copy-button.is-done .icon-copy { display: none; }
.copy-button.is-done .icon-check { display: block; }
.copy-button.is-done { color: var(--blue); }
.copy-button.is-done > * { animation: content-in 200ms ease-out; }
.office-map { display: flex; flex-direction: column; padding: 14px; }
.office-map .map-head { padding: 13px 13px 18px; }
.office-map .map-head h2 { margin-top: 9px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.3; }
/* Beside the card the map fills the height they share, cropped around the office as the carousel
 * crops its pictures; on narrow screens it keeps its own shape and scrolls sideways (contact.js). */
.office-map .map-pane { flex: 1; min-height: 320px; container-type: size; }
.office-map .map-scroll { position: absolute; inset: 0; overflow: clip; }
.office-stage { --zoom: 1; position: absolute; left: calc(var(--fx) * 1%); top: calc(var(--fy) * 1%); width: max(100cqw, 100cqh * var(--ar)); min-width: 0; translate: calc(var(--fx) * -1%) calc(var(--fy) * -1%); }
/* Main roads stand up from the land as pale ridges, unlike the boundaries pressed into it, one kind
 * of ridge thinner by rank: motorways, trunk roads, primary roads (the user's requests, 2026-11-06). */
.map-roads { filter: drop-shadow(.4px .8px .4px rgba(108,112,146,.6)); }
.map-roads path { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map-roads .motorway { stroke-width: 2.4px; }
.map-roads .trunk { stroke-width: 1.6px; }
.map-roads .primary { stroke-width: 1px; }
/* The names on land lie over the roads; a halo of the land's own colour keeps them clear. */
.office-map :is(.map-name:not(.sea), .office-place) { text-shadow: 0 0 2px var(--bg), 0 0 3px var(--bg), 0 0 5px var(--bg); }
.office-leader { fill: none; stroke: var(--blue); stroke-width: 1.2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.office-place { position: absolute; display: flex; align-items: center; gap: 6px; translate: -3.5px -50%; color: rgba(74,97,120,.72); font-size: 10px; font-weight: 650; letter-spacing: .04em; line-height: 1; white-space: nowrap; pointer-events: none; }
.office-place i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #a3a8bd; box-shadow: inset .5px .5px 1px rgba(30,34,60,.3); }
.office-pin { position: absolute; z-index: 2; width: 22px; height: 22px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #fff, #e6e6ee 72%); box-shadow: -1px -1px 2px rgba(255,255,255,.8), 2px 3px 6px rgba(40,44,72,.34); }
.office-pin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--blue); box-shadow: inset .5px .5px 1px rgba(0,30,70,.45); }
/* Rings the pin sends out as the map comes in, like Greater Jakarta's on the project map. */
.office-pin::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--emblem); border-radius: 50%; opacity: 0; pointer-events: none; }
.office-label { position: absolute; z-index: 3; display: grid; gap: 1px; margin: 0; padding: 6px 12px 7px; border: 1px solid rgba(255,255,255,.55); border-radius: 10px; background: var(--control-face); box-shadow: var(--control-raised); translate: -100% -50%; white-space: nowrap; }
.office-label strong { color: var(--blue); font-size: 12px; font-weight: 700; line-height: 16px; }
.office-label span { color: var(--muted); font-size: 11px; font-weight: 600; line-height: 15px; }

/* Hiring (人才招聘, the user's choices, 2026-11-06): three points numbered by seals like the
 * certificates', the photos in recessed frames, then the positions as cards that open in place,
 * one at a time (a group of <details>). A position's row turns the chevron in its disc; the body
 * glides open, below a pressed groove, to the duties, the requirements and the button that writes
 * the application email. */
.point-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card.point-card { display: grid; align-content: start; gap: 10px; padding: 26px 26px 28px; }
.cert-seal.point-seal { width: 76px; height: 76px; margin-bottom: 8px; }
.point-seal > span { width: 54px; height: 54px; }
.point-seal strong { font-size: 18px; }
.point-card h3 { font-size: 19px; font-weight: 650; line-height: 1.4; letter-spacing: .01em; }
.point-card p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.team-grid.hiring-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
/* The hiring page after dea's suggestion (2026-11-11): her words about working here in a card of
 * their own, the company's four values two by two (each with its number seal, its name in English
 * and Chinese, its motto and its text), and, while the positions come from HR's sheet, a line in
 * the list's place until they arrive (jobs-sheet.js). */
.card.hiring-intro { padding: clamp(26px, 3vw, 40px); }
.hiring-intro .about-text { padding-right: 0; }
.point-grid.values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.point-card .value-motto { color: var(--text); font-size: 15px; font-weight: 600; line-height: 1.6; }
/* A value's name and motto stand beside its number, so the card stays low (dea, 2026-11-13). */
.value-head { display: flex; align-items: center; gap: 20px; }
.value-head .cert-seal.point-seal { flex: none; margin: 0; }
.value-head > div { display: grid; gap: 2px; }
.job-sheet-status { padding: 2px 4px 16px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.job-sheet-status[hidden] { display: none; }
.job-list { display: grid; gap: 14px; }
.job-list > li { display: grid; }
.card.job-card { padding: 0; interpolate-size: allow-keywords; }
.job-card > summary { display: flex; align-items: center; gap: 20px; padding: 20px 20px 20px 26px; border-radius: inherit; cursor: pointer; list-style: none; }
.job-card > summary::-webkit-details-marker { display: none; }
.job-card[open] > summary { border-end-start-radius: 0; border-end-end-radius: 0; }
.job-head { display: grid; flex: 1; gap: 6px; min-width: 0; }
.job-title { font-size: 18px; font-weight: 650; line-height: 1.4; transition: color 140ms ease; }
.job-meta { color: var(--muted); font-size: 13px; line-height: 1.6; }
/* The chevron turns, not the disc, so the disc's light stays where it is. */
.job-toggle svg { rotate: 90deg; transition: rotate 360ms var(--glide); }
.job-card[open] .job-toggle svg { rotate: -90deg; }
/* Where the browser can, the body glides to its height on the chevron's curve; elsewhere it opens
 * at once. */
.job-card::details-content { block-size: 0; overflow-y: clip; transition: block-size 360ms var(--glide), content-visibility 360ms allow-discrete; }
.job-card[open]::details-content { block-size: auto; }
.job-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; margin: 0 26px; padding: 22px 0 26px; border-top: 1px solid rgba(130,133,160,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.job-body h3 { color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: .02em; }
.job-body ul { display: grid; gap: 6px; margin-top: 10px; }
.job-body li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.8; }
.job-body li::before { content: ""; position: absolute; left: 2px; top: calc(.9em - 2.5px); width: 5px; height: 5px; border-radius: 50%; background: var(--blue); opacity: .6; }
.job-apply { grid-column: 1 / -1; justify-self: start; }
.card.how-card { display: grid; gap: 8px; margin-top: 22px; padding: 24px 26px; }
.how-card h3 { font-size: 17px; font-weight: 650; }
.how-card p { max-width: 60ch; color: var(--muted); font-size: 14px; line-height: 1.85; }
.how-email { justify-self: start; margin-top: 4px; color: var(--blue); font-size: 16px; font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }

/* Footer: the page's base, pressed into the paper, a tray whose rounded upper corners answer the
 * masthead's. The company's nameplate and its sections; the head office and its hours; below a
 * pressed groove, the certificates and the copyright. */
.site-footer { margin-top: auto; padding: clamp(26px, 3vw, 36px) 0 20px; border-radius: 28px 28px 0 0; background: #dddde7; box-shadow: inset 5px 8px 16px rgba(130,133,160,.32), inset -5px -4px 12px rgba(255,255,255,.7), 0 -1px 0 rgba(255,255,255,.8); }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 48px; }
/* The nameplate: the emblem and both names rise from the tray as one card (the emblem itself lies
 * flat on it), at half a control's height, so it stays quiet. */
.footer-brand { --plate-raised: -.5px -.5px .5px rgba(255,255,255,1), -3px -3px 4.5px rgba(255,255,255,.85), -4.5px -4.5px 9px rgba(255,255,255,.38), 2px 2.5px 4px rgba(130,133,160,.32);
  padding: 12px 20px 12px 12px; border: 1px solid rgba(255,255,255,.5); border-radius: 16px; background: var(--card-face); box-shadow: var(--plate-raised); color: var(--blue); transition: transform 140ms ease, box-shadow 140ms ease; }
.footer-brand .brand-mark::before { box-shadow: none; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
.footer-nav a { display: block; padding: 8px 12px; border: 1px solid transparent; border-radius: 10px; color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform 140ms ease, box-shadow 140ms ease; }
/* Head office, contact and hours side by side, each at most two lines, keep the footer thin. */
.footer-info { display: grid; grid-template-columns: minmax(0, 1fr) max-content auto max-content; gap: 16px clamp(16px, 2.2vw, 32px); align-items: start; margin-top: 20px; }
.footer-info .eyebrow { margin-bottom: 6px; }
.footer-lines { color: var(--muted); font-size: 13px; font-style: normal; line-height: 1.7; }
address.footer-lines { display: grid; }
.footer-social { display: flex; gap: 10px; align-self: center; }
.footer-hours { justify-self: end; }
.footer-social-link { color: var(--blue); }
.button.footer-social-link { padding: 5px; }
.footer-social-link .icon { width: 32px; height: 32px; flex: none; }
.footer-lines a { justify-self: start; color: var(--text); font-weight: 600; text-decoration: none; }
.office-status { margin-left: 8px; vertical-align: 1px; }
/* The groove is a dark line with a light one under it. */
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 32px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(130,133,160,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.65); }
.iso-list { display: flex; flex-wrap: wrap; gap: 10px; }
.iso-badge { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 12px; background: var(--control-face); box-shadow: var(--control-raised); color: var(--muted); font-size: 11px; text-decoration: none; transition: transform 140ms ease, box-shadow 140ms ease; }
.iso-badge strong { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.copyright { color: var(--muted); font-size: 12px; }
/* On pages with a map, the base maps' credit sits under the copyright. */
.footer-legal { display: grid; gap: 4px; justify-items: end; margin-left: auto; text-align: right; }
.map-credit { color: var(--muted); font-size: 11px; }
/* Feedback (pages/feedback.mjs, 2026-11-13): the quiet link at the foot of the Contact page, the
   form on a card in reading width, and a receipt: the suggestion, then each reply with its
   screenshots side by side, before and after. */
.footer-feedback { color: var(--muted); font-size: 11px; }
.footer-feedback a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.feedback-layout { display: grid; gap: clamp(20px, 3vw, 32px); max-width: 860px; margin-inline: auto; }
.card.feedback-card { padding: clamp(22px, 3.4vw, 40px); }
.feedback-intro { margin-bottom: 24px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.feedback-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field-label { font-size: 14px; font-weight: 650; }
.field-hint { color: var(--muted); font-size: 12px; line-height: 1.5; }
.feedback-form textarea.input { min-height: 150px; resize: vertical; }
.feedback-form select.input { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.file-input { padding: 12px; font-size: 13px; }
.feedback-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.feedback-thumbs:empty { display: none; }
.feedback-thumbs li { position: relative; }
.feedback-thumbs img { display: block; width: 96px; height: 72px; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow-small); }
.feedback-thumb-remove { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: #3b4a5c; color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.feedback-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.feedback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 6px; }
.feedback-actions .button[disabled] { opacity: .6; pointer-events: none; }
.feedback-status { color: var(--muted); font-size: 14px; line-height: 1.6; }
.feedback-status.is-error { color: #a3263b; }
.feedback-done { display: grid; gap: 12px; }
.feedback-done h3 { font-size: 20px; }
.feedback-done p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.feedback-link a { color: var(--blue); font-size: 13px; word-break: break-all; }
.feedback-done-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.card.feedback-mine { padding: 22px clamp(22px, 3.4vw, 40px); }
.feedback-mine-title { margin-bottom: 12px; font-size: 15px; }
.feedback-mine ul { display: grid; gap: 4px; }
.feedback-mine a { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid rgba(130,133,160,.22); color: var(--text); font-size: 14px; text-decoration: none; }
.feedback-mine a:hover { color: var(--blue); }
.feedback-mine-meta { color: var(--muted); font-size: 12px; }
.feedback-receipt { display: grid; gap: 18px; justify-items: start; }
.feedback-receipt > div { display: grid; gap: 18px; width: 100%; }
.feedback-receipt-title { font-size: clamp(22px, 2.6vw, 28px); }
.card.feedback-item { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); }
.feedback-message { font-size: 15px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.feedback-shots img { display: block; width: 100%; border-radius: 10px; box-shadow: var(--shadow-small); }
.feedback-pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feedback-pairs figure { display: grid; gap: 6px; align-content: start; }
.feedback-pairs figcaption { color: var(--muted); font-size: 12px; font-weight: 650; }
.feedback-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding-top: 12px; border-top: 1px solid rgba(130,133,160,.22); color: var(--muted); font-size: 13px; }
.feedback-meta dd { margin: 0; color: var(--text); }
.feedback-reply { border-left: 4px solid var(--blue); }
.feedback-reply-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.badge.feedback-state.done { color: #1f6b45; background: rgba(214,238,224,.9); border-color: rgba(31,107,69,.2); }
.badge.feedback-state.later, .badge.feedback-state.question { color: #8a5200; background: rgba(250,236,214,.9); border-color: rgba(138,82,0,.2); }
.card.feedback-board { display: grid; gap: 16px; padding: clamp(22px, 3.4vw, 40px); }
.feedback-board-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 20px; }
.feedback-board-head h2 { font-size: clamp(20px, 2.2vw, 24px); }
.feedback-board-head p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.segmented > [aria-selected="true"] { color: var(--blue); background: var(--control-face); border-color: rgba(255,255,255,.4); box-shadow: var(--control-raised); }
.feedback-unlock-row { display: flex; gap: 10px; }
.feedback-unlock-row .input { min-height: 44px; }
.feedback-list { display: grid; }
.feedback-row { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid rgba(130,133,160,.22); color: var(--text); text-decoration: none; }
.feedback-row:hover .feedback-row-text { color: var(--blue); }
.feedback-row-meta { color: var(--muted); font-size: 12px; }
.feedback-row-text { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.feedback-row-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.feedback-row-foot:empty { display: none; }
.feedback-empty { padding: 14px 0; border-top: 1px solid rgba(130,133,160,.22); color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .feedback-pairs { grid-template-columns: minmax(0, 1fr); } }

/* The footer's language switch (2026-11-11), above the copyright, as compact as the ISO badges. */
.footer-lang { margin-bottom: 8px; }
.footer-lang .segmented > a { min-width: 44px; min-height: 32px; padding: 4px 10px; font-size: 12px; }
.map-credit a { color: inherit; }

/* Project showcase: renderings in a recessed frame. Slides change in place: the old image washes
 * back into the paper (160 ms), the frame stays, the next image emerges (280 ms). Hotspots appear
 * like the reference's satellite discs and their cards like its label cards; hover behaviour is
 * inferred (docs/design-language.md §7). */
.showcase { padding: 14px; }
.showcase-body { position: relative; }
.stage { position: relative; overflow: hidden; aspect-ratio: 21 / 9; border-radius: 17px; background: #d9dae3; container-type: size; isolation: isolate; touch-action: pan-y; }
.stage::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; box-shadow: inset 3px 4px 9px rgba(60,64,92,.28), inset -3px -3px 8px rgba(255,255,255,.5); pointer-events: none; }
/* The pictures sit side by side on a track that glides to the current one, in step with the raised
 * pill under the thumbnails (the user's request, 2026-11-06): one ease-in-out curve, longer the
 * further it goes (showcase.js sets --glide-ms). Each slide crops its own picture. */
.slides { position: absolute; inset: 0; display: flex; translate: calc(var(--index, 0) * -100%) 0; transition: translate var(--glide-ms, 650ms) var(--glide); }
.slide { position: relative; flex: 0 0 100%; overflow: hidden; }
/* Covers the frame like object-fit: cover, with the hotspots riding on the same box. The focus
 * point (--fx, --fy, in per cent) stays in view when the frame crops the picture, and the slow
 * push-in grows from it. */
.slide-media { position: absolute; left: calc(var(--fx, 50) * 1%); top: calc(var(--fy, 50) * 1%); width: max(100cqw, 100cqh * var(--ar)); aspect-ratio: var(--ar); translate: calc(var(--fx, 50) * -1%) calc(var(--fy, 50) * -1%); transform-origin: calc(var(--fx, 50) * 1%) calc(var(--fy, 50) * 1%); }
.slide-media img { display: block; width: 100%; height: 100%; max-width: none; }
/* A picture shown whole (`fit: 'whole'` in src/content.mjs, 2026-11-11): at the frame's height,
 * centred, over a blurred and enlarged copy of itself that fills the frame's sides. */
.slide.is-whole .slide-media { width: min(100cqw, 100cqh * var(--ar)); box-shadow: 0 0 36px rgba(20,24,50,.28); }
.slide-backdrop { position: absolute; inset: -8%; filter: blur(26px) saturate(1.05); }
.slide-backdrop img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* A picture with a `band` (src/content.mjs): in the wide frame those rows of it, between
 * --band-top and --band-bottom per cent of its height, fill the frame, stretched across; in the
 * narrower frames it covers as usual. */
@container (min-aspect-ratio: 2 / 1) {
  .slide.is-band .slide-media { left: 0; top: 0; width: 100cqw; height: 100cqh; aspect-ratio: auto; translate: none; overflow: hidden; }
  .slide.is-band .slide-media img { position: absolute; left: 0; top: calc(-100% * var(--band-top) / (var(--band-bottom) - var(--band-top))); width: 100%; height: calc(100% * 100 / (var(--band-bottom) - var(--band-top))); }
}
/* Pausing is one variable, written into each animation shorthand so a more specific shorthand
 * cannot reset it. */
.showcase { --play: running; }
.showcase.is-paused, .showcase:not(.is-playing), .slide.is-leaving { --play: paused; }
/* The current image drifts closer while shown: the section's one continuously moving element. */
.showcase.is-in .slide.is-current .slide-media, .slide.is-leaving .slide-media { animation: push-in var(--slide-ms) linear forwards var(--play); }
@keyframes push-in { from { scale: 1; } to { scale: 1.04; } }

.hotspots { position: absolute; inset: 0; }
.hotspot-wrap { position: absolute; z-index: 1; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); }
.hotspot-wrap:is(:hover, :focus-within, .is-open) { z-index: 3; }
.hotspot { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #ffffff, #e8e8ef 72%); box-shadow: -2px -2px 5px rgba(255,255,255,.75), 3px 4px 10px rgba(40,44,72,.28); transition: transform 140ms ease, box-shadow 140ms ease; }
.hotspot::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--blue); box-shadow: inset 1px 1px 2px rgba(0,30,70,.45); }
.hotspot-wrap:is(:hover, :focus-within, .is-open) .hotspot { transform: scale(1.12); box-shadow: -3px -3px 7px rgba(255,255,255,.8), 5px 7px 14px rgba(40,44,72,.32); }
/* Discs emboss one after another once the image is in, on entrance or after a slide change;
 * their blue centres follow. */
.showcase.is-in .slide.is-current .hotspot { animation: shell-in 220ms ease-out backwards; animation-delay: calc(var(--at, 0ms) + 640ms + var(--k) * 100ms); }
.showcase.is-in .slide.is-current .hotspot::after { animation: content-in 240ms ease-out backwards; animation-delay: calc(var(--at, 0ms) + 920ms + var(--k) * 100ms); }
/* Entrance in parts: after the card has risen, its frame sinks in and its controls rise, then the
 * image, labels and icons appear. These match once, so later state changes never replay them. */
.showcase.reveal.is-in > * { animation: none; }
.showcase.reveal.is-in:not(.no-anim) :is(.stage, .thumbs) { animation: sink 320ms var(--rise) var(--inner-at) backwards; }
.showcase.reveal.is-in:not(.no-anim) .stage::after { animation: emboss 320ms var(--rise) var(--inner-at) backwards; }
.showcase.reveal.is-in:not(.no-anim) :is(.disc-button, .thumb, .thumb-indicator) { animation: rise-in 320ms var(--rise) var(--inner-at) backwards; }
.showcase.reveal.is-in:not(.no-anim) :is(.slides, .overviews, .disc-button > svg, .thumb > :not(.thumb-progress)) { animation: content-in 280ms ease-out var(--content-at) backwards; }
.hotspot-line { position: absolute; left: -80px; top: -60px; width: 160px; height: 120px; overflow: visible; pointer-events: none; filter: drop-shadow(0 1px 1.5px rgba(20,24,50,.45)); }
.hotspot-line path { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 140ms ease-in 200ms; }
.hotspot-card { position: absolute; width: max-content; max-width: min(250px, 42cqw); padding: 13px 15px 14px; border: 1px solid rgba(255,255,255,.65); border-radius: 14px; background: rgba(233,233,240,.86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: -3px -3px 10px rgba(255,255,255,.3), 10px 14px 28px rgba(28,32,60,.26); text-align: left; translate: 0 -50%; opacity: 0; visibility: hidden; transition: opacity 160ms ease-in 200ms, visibility 0s 360ms; }
[data-side="right"] > .hotspot-card { left: 58px; }
[data-side="left"] > .hotspot-card { right: 58px; }
[data-v="up"] > .hotspot-card { top: -28px; }
[data-v="down"] > .hotspot-card { top: 28px; }
.hotspot-card > * { opacity: 0; transition: opacity 120ms ease-in 200ms; }
/* Open: the connector grows, then the card's shell, then its words. Closing waits 200 ms so the
 * pointer can travel along the connector to the card, which keeps it open while hovered. */
.hotspot-wrap:is(:hover, :focus-within, .is-open) .hotspot-line path { stroke-dashoffset: 0; transition: stroke-dashoffset 180ms ease-out; }
.hotspot-wrap:is(:hover, :focus-within, .is-open) .hotspot-card { opacity: 1; visibility: visible; transition: opacity 200ms ease-out 140ms, visibility 0s; }
.hotspot-wrap:is(:hover, :focus-within, .is-open) .hotspot-card > * { opacity: 1; transition: opacity 280ms ease-out 300ms; }
.hotspot-wrap.is-dismissed .hotspot-card, .hotspot-wrap.is-dismissed .hotspot-card > * { opacity: 0; visibility: hidden; transition: none; }
.hotspot-wrap.is-dismissed .hotspot-line path { stroke-dashoffset: 1; transition: none; }
.hotspot-kicker { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.hotspot-title { margin-top: 3px; font-size: 15px; font-weight: 650; line-height: 1.4; }
.hotspot-figure { margin-top: 5px; color: var(--blue-dark); font-size: 19px; font-weight: 400; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hotspot-text { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.7; }

.overviews { position: absolute; left: 18px; bottom: 18px; z-index: 5; display: grid; width: min(390px, calc(100% - 36px)); pointer-events: none; }
.overview { grid-area: 1 / 1; align-self: end; padding: 15px 18px 14px; border: 1px solid rgba(255,255,255,.65); border-radius: 16px; background: rgba(233,233,240,.88); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: -3px -3px 10px rgba(255,255,255,.3), 10px 14px 28px rgba(28,32,60,.24); opacity: 0; visibility: hidden; transition: opacity 160ms ease-in, visibility 0s 160ms; }
.overview > * { opacity: 0; transition: opacity 120ms ease-in; }
.showcase-body:is(:hover, :focus-within) .overview.is-current { opacity: 1; visibility: visible; transition: opacity 200ms ease-out 120ms, visibility 0s; }
.showcase-body:is(:hover, :focus-within) .overview.is-current > * { opacity: 1; transition: opacity 280ms ease-out 280ms; }
.overview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.overview h3 { margin-top: 6px; font-size: 18px; font-weight: 650; line-height: 1.4; }
.overview-figures { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; }
.overview-figures li { display: flex; align-items: baseline; gap: 5px; }
.overview-figures strong { font-size: 26px; font-weight: 350; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.overview-figures span { color: var(--muted); font-size: 11px; }
.overview-note { margin-top: 10px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }

.showcase-bar { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.disc-button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: var(--control-face); box-shadow: var(--control-raised); color: var(--muted); transition: transform 140ms ease, box-shadow 140ms ease; }
.disc-button svg { width: 18px; height: 18px; }
[data-pause] .icon-play, [data-pause][aria-pressed="true"] .icon-pause { display: none; }
[data-pause][aria-pressed="true"] .icon-play { display: block; }
.thumbs { position: relative; display: flex; flex: 1; gap: 4px; min-width: 0; padding: 5px; border-radius: 15px; background: rgba(214,214,226,.5); box-shadow: var(--inset); overflow-x: auto; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; flex: 1 0 auto; min-height: 42px; padding: 8px 14px 10px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; transition: transform 140ms ease, box-shadow 140ms ease; }
.thumb-no { font-size: 11px; font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.thumb[aria-current="true"] { color: var(--blue); background: var(--control-face); border-color: rgba(255,255,255,.4); box-shadow: var(--control-raised); }
/* With showcase.js the current thumbnail's raised face is a pill of its own, gliding to the next
 * thumbnail on the pictures' curve; the names change colour on the way. Its width follows the
 * thumbnail's, but it is out of the flow, so nothing else moves. */
.thumb-indicator { position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--iw, 0); border: 1px solid rgba(255,255,255,.4); border-radius: 11px; background: var(--control-face); box-shadow: var(--control-raised); translate: var(--ix, 0) 0; pointer-events: none; transition: translate var(--glide-ms, 650ms) var(--glide), width var(--glide-ms, 650ms) var(--glide); }
.has-glide .thumb { transition: transform 140ms ease, box-shadow 140ms ease, color calc(var(--glide-ms, 650ms) / 2) ease; }
.has-glide .thumb[aria-current="true"] { background: transparent; border-color: transparent; box-shadow: none; }
/* Autoplay progress lives in the current thumbnail; its animation is also the autoplay timer. */
.thumb-progress { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(0,91,172,.12); opacity: 0; }
.thumb-progress i { position: absolute; inset: 0; background: var(--blue); transform-origin: left center; scale: 0 1; }
.showcase.is-playing .thumb[aria-current="true"] .thumb-progress { opacity: 1; }
.showcase.is-in.is-playing .thumb[aria-current="true"] .thumb-progress i { animation: progress var(--slide-ms) linear forwards var(--play); }
@keyframes progress { from { scale: 0 1; } to { scale: 1 1; } }
@media (hover: hover) and (pointer: fine) {
  .disc-button:hover { color: var(--text); transform: translateY(var(--hover-lift)); }
  .thumb:not([aria-current="true"]):hover { color: var(--text); background: var(--control-face); box-shadow: var(--control-compact); }
}
.disc-button:active, .thumb:active { transform: translateY(var(--press-depth)); box-shadow: var(--control-inset); transition-duration: 80ms; }
/* Touch screens have no hover: the overview sits under the image and stays visible. */
@media (hover: none) {
  .overviews { position: static; width: auto; margin-top: 12px; pointer-events: auto; }
  .overview { padding: 2px 6px; border: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .overview.is-current, .overview.is-current > * { opacity: 1; visibility: visible; }
}
@media (max-width: 900px) {
  .footer-info { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-address, .footer-hours { grid-column: 1 / -1; }
  .footer-hours { justify-self: start; }
  .footer-contact { min-width: 0; }
  .footer-contact a { overflow-wrap: anywhere; }
  .stage { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .showcase { padding: 10px; }
  .stage { aspect-ratio: 4 / 3; border-radius: 14px; }
  /* Numbers only: every thumbnail shares the track, so the current one is always in view. */
  .thumb { flex: 1 1 0; min-width: 0; padding-inline: 4px; }
  .thumb-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .overview-figures strong { font-size: 22px; }
}

/* Entrance, after the reference's page change: a shell rises out of the paper in place. Its face
 * is the paper, so rising means its edge light and shadow grow from nothing (a quick fade read as
 * popping in). Inner wells and controls follow, then the content. Cards that enter together rise
 * 100 ms apart in reading order; site.js sets --i. */
@keyframes emboss { from { box-shadow: none; } }
@keyframes sink { from { background-color: transparent; box-shadow: none; } }
@keyframes rise-in { from { opacity: 0; box-shadow: none; } }
@keyframes shell-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes content-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes local-in { from { opacity: .16; } to { opacity: 1; } }
@keyframes dialog-in { from { opacity: 0; transform: scale(.995); } to { opacity: 1; transform: scale(1); } }
.reveal { --at: calc(var(--i, 0) * 100ms); --inner-at: calc(var(--at) + 200ms); --content-at: calc(var(--at) + 360ms); }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.is-in) { box-shadow: none; }
  .js .reveal:not(.is-in) > * { opacity: 0; }
}
.reveal.is-in { animation: emboss 480ms var(--rise) var(--at) backwards; }
.reveal.is-in > * { animation: content-in 280ms ease-out var(--content-at) backwards; }
/* Filters reuse the relief at interaction speed: 160 ms out, then at most 240 ms in. */
.reveal.is-local-update { --at: min(calc(var(--i, 0) * 20ms), 40ms); --content-at: calc(var(--at) + 40ms); }
.reveal.is-local-update.is-in { animation-duration: 200ms; }
.reveal.is-local-update.is-in > * { animation-duration: 160ms; }
/* The footer is pressed in rather than raised: its well darkens and its inner shadow grows. */
.site-footer.reveal.is-in { animation-name: sink; }
/* Its nameplate rises from the tray as the words come in. */
.site-footer.reveal.is-in:not(.no-anim) .footer-brand { animation: emboss 360ms var(--rise) var(--content-at) backwards; }
/* The project map: as the card rises its well sinks in, then the land lifts out of the sea; dots,
 * leaders and names follow from west to east, and Greater Jakarta's outline sends out two rings
 * to say it can be opened. (Zoomed views enter through project-map.js.) */
@keyframes land-rise { from { filter: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes metro-pulse { from { stroke-width: 1px; opacity: .75; } to { stroke-width: 22px; opacity: 0; } }
.project-map.reveal.is-in > :is(.map-pane, .map-pop) { animation: none; }
.project-map.reveal.is-in:not(.no-anim) .map-pane { animation: sink 320ms var(--rise) var(--inner-at) backwards; }
.project-map.reveal.is-in:not(.no-anim) .map-pane::after { animation: emboss 320ms var(--rise) var(--inner-at) backwards; }
.project-map.reveal.is-in:not(.no-anim) .map-land { animation: land-rise 520ms var(--rise) calc(var(--inner-at) + 120ms) backwards; }
.project-map.reveal.is-in:not(.no-anim) :is(.map-neighbours, .map-name, .map-caption, .map-metro) { animation: content-in 280ms ease-out var(--content-at) backwards; }
.project-map.reveal.is-in:not(.no-anim) .map-metro-pulse { animation: metro-pulse 1400ms ease-out calc(var(--content-at) + 900ms) 2; }
.project-map.reveal.is-in:not(.no-anim) .map-dot { animation: shell-in 220ms ease-out calc(var(--content-at) + 120ms) backwards; }
.project-map.reveal.is-in:not(.no-anim) .map-leader { stroke-dasharray: 1; animation: draw 300ms ease-out calc(var(--content-at) + 200ms + var(--k) * 40ms) backwards; }
.project-map.reveal.is-in:not(.no-anim) .map-card { animation: content-in 260ms ease-out calc(var(--content-at) + 360ms + var(--k) * 40ms) backwards; }
/* A certificate's seal, after the reference's discs: once its card has risen, the rim rises and its
 * well sinks in, then the standard's number appears. The hiring page's numbered points do the same. */
:is(.cert-card, .point-card).reveal.is-in:not(.no-anim) > .cert-seal, .point-card.reveal.is-in:not(.no-anim) .value-head > .cert-seal { animation: rise-in 320ms var(--rise) var(--inner-at) backwards; }
:is(.cert-card, .point-card).reveal.is-in:not(.no-anim) .cert-seal > span { animation: sink 320ms var(--rise) calc(var(--inner-at) + 80ms) backwards; }
:is(.cert-card, .point-card).reveal.is-in:not(.no-anim) .cert-seal > span > * { animation: content-in 280ms ease-out var(--content-at) backwards; }
/* The head office's map comes in like the project map: the well sinks in, the land lifts out of the
 * sea, the names follow; the pin rises, its leader draws out to the label card, and the pin sends
 * out two rings to say this is the place, then rests. */
@keyframes pin-ring { from { scale: 1; opacity: .75; } to { scale: 3.4; opacity: 0; } }
:is(.office-map, .timeline-map).reveal.is-in:not(.no-anim) .map-pane { animation: sink 320ms var(--rise) var(--inner-at) backwards; }
:is(.office-map, .timeline-map).reveal.is-in:not(.no-anim) .map-pane::after { animation: emboss 320ms var(--rise) var(--inner-at) backwards; }
:is(.office-map, .timeline-map).reveal.is-in:not(.no-anim) .map-land { animation: land-rise 520ms var(--rise) calc(var(--inner-at) + 120ms) backwards; }
.timeline-map.reveal.is-in:not(.no-anim) :is(.map-neighbours, .map-equator) { animation: content-in 280ms ease-out var(--content-at) backwards; }
.office-map.reveal.is-in:not(.no-anim) :is(.map-lines, .map-roads, .map-name, .office-place) { animation: content-in 280ms ease-out var(--content-at) backwards; }
.office-map.reveal.is-in:not(.no-anim) .office-pin { animation: shell-in 220ms ease-out calc(var(--content-at) + 120ms) backwards; }
.office-map.reveal.is-in:not(.no-anim) .office-leader { stroke-dasharray: 1; animation: draw 300ms ease-out calc(var(--content-at) + 200ms) backwards; }
.office-map.reveal.is-in:not(.no-anim) .office-label { animation: content-in 260ms ease-out calc(var(--content-at) + 360ms) backwards; }
.office-map.reveal.is-in:not(.no-anim) .office-pin::before { animation: pin-ring 1400ms ease-out calc(var(--content-at) + 900ms) 2; }
@media (prefers-reduced-motion: no-preference) { .js .site-footer.reveal:not(.is-in) { background-color: transparent; } }
.list-enter { animation: local-in 200ms ease-out both; }
dialog[open] .dialog-card { animation: dialog-in 200ms ease-out backwards; }
dialog.lightbox[open]::backdrop { animation: content-in 200ms ease-out both; }
dialog.lightbox.is-closing .dialog-card, dialog.lightbox.is-closing::backdrop { animation: vt-out 160ms ease-in both; }
/* Masthead, on load or the moment the opening sequence hands over (the user asked for moving
 * entrances here, 2026-11-06): the brand tile rises around the mark, which is already in place;
 * the company name unfolds out of it; the navigation's track opens from the left and its sections
 * rise into it one by one; the language switch slides in from the far end; then the page's
 * heading rises line by line. One ease-out curve throughout, then all rests. At 0.9 s it went
 * unnoticed after the opening sequence, so the user asked for two seconds (2026-11-06): --enter-k
 * stretches every duration and delay alike, the masthead's own parts ending at about 2 s (a
 * page's heading, which follows them, at about 2.4 s). */
@keyframes unfold { from { opacity: 0; translate: -14px 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; translate: 0 0; clip-path: inset(0 0 0 0); } }
@keyframes track-open { from { clip-path: inset(0 100% 0 0 round 14px); box-shadow: none; } to { clip-path: inset(0 0 0 0 round 14px); } }
@keyframes rise-up { from { opacity: 0; translate: 0 10px; } }
@keyframes slide-from-end { from { opacity: 0; translate: 18px 0; } }
.masthead { --enter-k: 2.2; }
/* Internal links remain brisk even when cross-document view transitions are unavailable. */
.quick-enter:not(.intro-on) .masthead { --enter-k: .35; }
.masthead .brand-mark::before { animation: emboss calc(360ms * var(--enter-k)) var(--rise) backwards; }
.masthead .brand-text { animation: unfold calc(620ms * var(--enter-k)) var(--settle) calc(80ms * var(--enter-k)) backwards; }
.masthead .menu-button { animation: slide-from-end calc(420ms * var(--enter-k)) var(--settle) calc(200ms * var(--enter-k)) backwards; }
@media (max-width: 1119.98px) {
  .masthead .topbar-lang .segmented { animation: slide-from-end calc(420ms * var(--enter-k)) var(--settle) calc(260ms * var(--enter-k)) backwards; }
}
@media (min-width: 1120px) {
  .masthead .nav-track { animation: track-open calc(560ms * var(--enter-k)) var(--settle) calc(200ms * var(--enter-k)) backwards; }
  .masthead .nav-item { animation: rise-up calc(360ms * var(--enter-k)) var(--settle) calc((320ms + var(--n, 0) * 50ms) * var(--enter-k)) backwards; }
  .masthead .site-panel > .segmented { animation: slide-from-end calc(520ms * var(--enter-k)) var(--settle) calc(380ms * var(--enter-k)) backwards; }
}
.masthead-hero > * { animation: rise-up calc(520ms * var(--enter-k)) var(--settle) backwards; }
.masthead-hero > :nth-child(1) { animation-delay: calc(420ms * var(--enter-k)); }
.masthead-hero > :nth-child(2) { animation-delay: calc(500ms * var(--enter-k)); }
.masthead-hero > :nth-child(3) { animation-delay: calc(580ms * var(--enter-k)); }

/* Language switch: a cross-document view transition. Shells are identical in every language, so
 * they cross-fade in place or glide to their new size; words leave at once and the new ones emerge,
 * as in a local update. Images keep their size and anchor while their group resizes, so nothing
 * stretches. Browsers without support simply navigate. */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: 260ms; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(*), ::view-transition-new(*) { height: 100%; object-fit: none; object-position: left top; }
::view-transition-old(root), ::view-transition-old(*.box) { animation: vt-out 260ms ease both; }
::view-transition-new(root), ::view-transition-new(*.box) { animation: vt-in 260ms ease both; }
::view-transition-old(*.text) { animation: vt-out 120ms ease-in both; }
::view-transition-new(*.text) { animation: vt-in 240ms ease-out 100ms both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
/* Arriving through the transition, what is already on screen does not play its entrance again. */
.no-enter .brand-mark::before, .no-enter .masthead .brand-text, .no-enter .masthead :is(.nav-track, .nav-item, .segmented),
.no-enter .masthead .menu-button, .no-enter .masthead-hero > *, .no-anim, .no-anim > *, .no-anim .hotspot, .no-anim .hotspot::after { animation: none !important; }
.is-instant :is(.slides, .thumb-indicator, .thumb, .overview, .overview > *) { transition: none !important; }

@media (hover: hover) and (pointer: fine) {
  .button:hover { border-color: rgba(0,91,172,.24); transform: translateY(var(--hover-lift)); }
  .button.primary:hover { background: linear-gradient(145deg, #0564b9, #004c96); }
  .button.ghost:hover { color: var(--text); }
  /* On the official blue a lighter face would cost the white text contrast, so masthead
   * controls only rise toward the light on hover. */
  .masthead .button:not(.light):hover { border-color: rgba(214,238,255,.42); box-shadow: -2px -2px 7px rgba(170,222,255,.30), 5px 7px 12px rgba(0,48,96,.38); }
  .masthead .button.light:hover { color: #004482; background: linear-gradient(145deg, #fff, #e6f1fc); }
  .segmented > :not([aria-pressed="true"]):not([aria-current="true"]):hover { color: var(--text); background: var(--control-face); box-shadow: var(--control-compact); }
  .masthead .segmented > :not([aria-pressed="true"]):not([aria-current="true"]):hover { color: #fff; }
  /* A section's button stays raised while its sub-menu is open. */
  .nav-item:hover > .nav-link:not([aria-current="page"]) { background: var(--control-face); box-shadow: var(--control-compact); }
  .menu-button:hover { transform: translateY(var(--hover-lift)); }
  .nav-card a:hover { color: var(--blue); background: linear-gradient(145deg, #f3f3f7, #e4e4ec); border-color: rgba(255,255,255,.6); box-shadow: -1px -1px 2px rgba(255,255,255,.9), 2px 3px 5px rgba(120,123,150,.25); }
  .footer-nav a:hover { color: var(--blue); background: var(--control-face); border-color: rgba(255,255,255,.4); box-shadow: var(--control-compact); }
  .footer-brand:hover { transform: translateY(var(--hover-lift)); }
  .side-nav a:not([aria-current="true"]):hover { color: var(--text); background: var(--control-face); box-shadow: var(--control-compact); }
  /* Cards that open something rise a little toward the light. */
  .project-card:hover, .project-text:hover, .business-card:hover, .gallery-item:hover, .post-card:hover { transform: translateY(-2px); }
  .project-text:hover .project-name, .project-card:hover .project-name, .business-card:hover span, .business-card:hover .business-icon, .team-item:hover .team-caption, .post-card:hover .post-title { color: var(--blue); }
  .project-all:hover .project-all-disc { transform: translateX(3px); }
  .back-card:hover { color: var(--blue); transform: translateY(-2px); }
  .timeline-replay:hover { transform: translateY(var(--hover-lift)); }
  .timeline-map:not(.is-playing) .timeline-stage { cursor: default; }
  .back-card:hover .project-all-disc { transform: translateX(-3px); }
  .footer-lines a:hover, .contact-list dd a:hover, .how-email:hover { color: var(--blue); text-decoration: underline; }
  .iso-badge:hover { transform: translateY(var(--hover-lift)); }
  .job-card > summary:hover .job-title { color: var(--blue); }
  .job-card > summary:hover .job-toggle { color: var(--text); transform: translateY(var(--hover-lift)); }
}
/* In the light panel of narrow screens, hover uses the paper's faces. */
@media (max-width: 1119.98px) and (hover: hover) and (pointer: fine) {
  .nav-item:hover > .nav-link:not([aria-current="page"]) { color: var(--text); background: linear-gradient(145deg, #ececf2, #dfdfe8); box-shadow: -1px -1px 1px #fff, -3px -3px 9px rgba(255,255,255,.75), 2px 3px 4px rgba(130,133,160,.28); }
}
/* Every action is a raised little card. Pressing reverses the lighting; shadows never change
 * the hit box. */
.button:active, .segmented > :active, .nav-link:active, .menu-button:active, .footer-nav a:active, .iso-badge:active, .footer-brand:active, .timeline-replay:active {
  transform: translateY(var(--press-depth));
  box-shadow: var(--control-inset);
  transition-duration: 80ms;
}
.button:not(.primary):not(.light):active, .segmented > :active, .footer-nav a:active, .iso-badge:active { background: linear-gradient(145deg, #dcdce5, #ebebf1); }
.masthead .button:not(.light):active, .masthead .segmented > :active, .nav-link:not([aria-current="page"]):active { background: #006fb2; }
.nav-card a:active { box-shadow: inset 2px 2px 4px rgba(130,133,160,.32), inset -2px -2px 4px rgba(255,255,255,.9); }
.project-card:active, .project-text:active, .business-card:active, .gallery-item:active, .back-card:active, .post-card:active { transform: translateY(1px); box-shadow: var(--shadow-small); transition-duration: 80ms; }
.side-nav a:active { transform: translateY(var(--press-depth)); background: linear-gradient(145deg, #dcdce5, #ebebf1); box-shadow: var(--control-inset); transition-duration: 80ms; }
.job-card > summary:active .job-toggle { transform: translateY(var(--press-depth)); box-shadow: var(--control-inset); transition-duration: 80ms; }
@media (max-width: 1119.98px) {
  .site-panel .nav-link:active { background: linear-gradient(145deg, #dcdce5, #ebebf1); box-shadow: inset 3px 3px 6px rgba(130,133,160,.32), inset -3px -3px 6px rgba(255,255,255,.9); }
}
.masthead .button.light:active, .masthead .segmented > [aria-current="true"]:active { color: #004482; background: #dceafa; box-shadow: inset 2px 2px 5px rgba(27,76,121,.24), inset -2px -2px 5px rgba(255,255,255,.8); }
.button.primary:active { background: linear-gradient(145deg, #004a93, #0867bb); box-shadow: var(--primary-inset); }

@media (max-width: 1119.98px) {
  .project-grid, .project-grid.is-list, .project-text-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .business-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* The company's figures move under its introduction, side by side, parted by grooves. */
  .about-intro { grid-template-columns: minmax(0, 1fr); }
  .about-text { padding-right: 0; }
  .about-figures { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; padding: 22px 0 0; border-left: 0; border-top: 1px solid rgba(130,133,160,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
  .about-figures > div, .about-figures > div:first-child, .about-figures > div:last-child { padding: 0 20px; border-top: 0; border-left: 1px solid rgba(130,133,160,.28); box-shadow: inset 1px 0 0 rgba(255,255,255,.7); }
  .about-figures > div:first-child { padding-left: 0; border-left: 0; box-shadow: none; }
}
@media (max-width: 900px) {
  /* The side track becomes a row above the content, scrolling sideways if it must. */
  .side-layout { grid-template-columns: minmax(0, 1fr); }
  /* The side track becomes a row above the content, wrapping onto a second line rather than hiding
   * categories past the edge. */
  .side-nav { position: static; display: flex; flex-wrap: wrap; }
  .side-nav a { flex: none; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .office-map .map-pane { flex: none; min-height: 0; container-type: normal; }
  .office-map .map-scroll { position: static; overflow-x: auto; }
  .office-stage { position: relative; left: auto; top: auto; width: auto; translate: none; }
  .footer-legal { justify-items: start; margin-left: 0; text-align: left; }
  .project-detail { grid-template-columns: minmax(0, 1fr); }
  .project-figure { order: -1; }
  .placeholder-grid { grid-template-columns: minmax(0, 1fr); }
  .placeholder-card { min-height: 160px; }
  /* The values stack. */
  .point-grid, .point-grid.values-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card.point-card { padding: 20px 22px; }
}
/* Phones and small tablets: the lockup has the first row to itself, the Chinese name whole on one
 * line over the full English name, both one width as on wide screens; the language switch and the
 * menu button share the row under it, on the right (the user's requests, 2026-11-06). Up to 700 px
 * the names would otherwise run into the switch. The English name runs 36.4 times its size, the
 * Chinese 17.6 times; the emblem and its gap take 62 px. */
@media (max-width: 700px) {
  .topbar { flex-wrap: wrap; row-gap: 10px; }
  .masthead .brand { flex: 1 0 100%; }
  .topbar-lang { order: 1; }
  .menu-button { order: 2; }
  .masthead .brand-title { font-size: clamp(10px, (100vw - 2 * var(--gutter) - 62px) / 17.6, 18px); }
  .masthead .brand-kicker { font-size: clamp(6px, (100vw - 2 * var(--gutter) - 62px) / 36.4, 8px); }
}
@media (max-width: 560px) {
  .topbar { gap: 12px; }
  .brand { gap: 10px; }
  .brand-mark { flex-basis: 40px; width: 40px; height: 40px; }
  /* With the smaller emblem both names, the full English one too, get the row less 50 px in the
   * masthead (see the 700 px rules) and less 84 px on the footer's nameplate, whose padding and
   * border take the rest. */
  .masthead .brand-title { font-size: clamp(10px, (100vw - 2 * var(--gutter) - 50px) / 17.6, 18px); }
  .masthead .brand-kicker { font-size: clamp(6px, (100vw - 2 * var(--gutter) - 50px) / 36.4, 8px); }
  /* The footer's plate has its own padding, and phones set the English name wider than Windows
   * does (dea, 2026-11-12: on an iPhone it ran past the plate), so it leaves room to spare. */
  .footer-brand .brand-title { font-size: clamp(10px, (100vw - 2 * var(--gutter) - 104px) / 18.2, 18px); }
  .footer-brand .brand-kicker { font-size: clamp(6px, (100vw - 2 * var(--gutter) - 104px) / 39, 8px); }
  .footer-brand { max-width: 100%; }
  .footer-brand .brand-text { min-width: 0; }
  .topbar-lang .segmented > a { min-width: 42px; min-height: 32px; padding: 4px 10px; font-size: 12px; }
  .card { padding: 22px 18px; }
  .project-map { padding: 10px; }
  .map-head { padding: 8px 6px 12px; }
  .site-footer { border-radius: 22px 22px 0 0; }
  .footer-nav { width: 100%; }
  .footer-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { gap: 14px; }
  .project-text-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .card.project-text { min-height: 0; padding: 12px 14px 12px 22px; }
  .project-card { gap: 12px; padding: 8px 8px 14px; }
  .project-meta { padding: 0 4px; }
  .project-name { font-size: 15px; }
  .project-all-disc { width: 52px; height: 52px; }
  .project-all-label { font-size: 14px; }
  .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .business-card { min-height: 150px; }
  /* The figures stack again, parted by level grooves; each certificate lies on its side. */
  .about-figures { grid-template-columns: minmax(0, 1fr); padding-top: 4px; }
  .about-figures > div, .about-figures > div:first-child, .about-figures > div:last-child { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(130,133,160,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
  .about-figures > div:first-child { border-top: 0; box-shadow: none; }
  .team-grid, .cert-grid, .post-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cert-card { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; gap: 18px; padding: 20px 18px; text-align: left; }
  .cert-text { gap: 3px; }
  .cert-seal { width: 88px; height: 88px; margin: 0; }
  .cert-seal > span { width: 64px; height: 64px; gap: 4px; }
  .cert-seal strong { font-size: 17px; }
  .cert-scope { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
  /* The head office's map keeps a readable size and scrolls sideways, centred on the office. */
  .office-map { padding: 10px; }
  .office-stage { min-width: 560px; }
  .team-grid.hiring-photos { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  /* Every other year keeps its tick but not its number. */
  .timeline-axis { padding-inline: 16px; }
  .axis-years li:nth-child(even) { color: transparent; }
  /* The timeline map scrolls sideways and follows the story (timeline-map.js); the project's card
   * takes its own place under the map instead of covering it, and the demo tag goes over the map. */
  .timeline-map .timeline-demo { position: static; max-width: none; margin: 0 0 10px; }
  .timeline-map .timeline-pop { --docked: 1; position: relative; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 12px; width: auto; min-height: 94px; margin-top: 10px; transform: none; box-shadow: -2px -2px 6px rgba(255,255,255,.6), 4px 6px 14px rgba(28,32,60,.18); transition: opacity 200ms ease-out, background-color 200ms ease-out, box-shadow 320ms var(--rise); }
  /* With no project shown, its place is a pressed well with a hint; a project's card rises out of it. */
  .timeline-map .timeline-pop:not(.is-open) { visibility: visible; opacity: 1; border-color: transparent; background-color: rgba(214,214,226,.45); box-shadow: var(--inset); pointer-events: none; }
  .timeline-map .timeline-pop:not(.is-open)::before { content: attr(data-hint); position: absolute; inset: 0; display: grid; place-items: center; padding: 0 16px; color: var(--muted); font-size: 12.5px; text-align: center; }
  .timeline-map .timeline-lines { display: none; }
  /* A map wider than its frame fades at the sides, so it reads as going on. */
  :is(.project-map, .timeline-map) .map-scroll { -webkit-mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent); }
  .cert-seal.point-seal { width: 64px; height: 64px; }
  .point-seal > span { width: 46px; height: 46px; }
  .point-seal strong { font-size: 16px; }
  .card.point-card { padding: 18px; }
  .job-card > summary { gap: 14px; padding: 16px 14px 16px 18px; }
  .job-title { font-size: 16px; }
  .job-body { grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 0 18px; padding: 18px 0 22px; }
  .card.how-card { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .button:hover, .button:active, .segmented > :hover, .segmented > :active, .nav-link:active, .menu-button:hover, .menu-button:active,
  .footer-nav a:active, .iso-badge:hover, .iso-badge:active, .footer-brand:hover, .footer-brand:active, .project-card:hover, .project-card:active, .project-text:hover, .project-text:active,
  .gallery-item:hover, .gallery-item:active, .side-nav a:active,
  .business-card:hover, .business-card:active, .project-all:hover .project-all-disc,
  .back-card:hover, .back-card:active, .back-card:hover .project-all-disc, .post-card:hover, .post-card:active,
  .job-card > summary:hover .job-toggle, .job-card > summary:active .job-toggle { transform: none; }
  .job-card::details-content, .job-toggle svg { transition: none !important; }
}

/* Weekly visitor ordinal, alongside the header language selector. */
.header-language { display:flex; align-items:center; gap:12px; flex:none; }
.weekly-visitor { display:grid; align-content:center; gap:2px; width:138px; flex:none; color:rgba(255,255,255,.88); font-size:11px; line-height:1.35; text-align:center; white-space:nowrap; visibility:hidden; }
.weekly-visitor.is-ready { visibility:visible; }
.weekly-visitor strong { color:#fff; font-size:12px; font-weight:650; font-variant-numeric:tabular-nums; }
@media (min-width:1120px) and (max-width:1399.98px) {
  .topbar:not(.is-floating) { column-gap:16px; }
  .topbar:not(.is-floating) .brand-title { font-size:clamp(11px,1.05vw,15px); }
  .topbar:not(.is-floating) .brand-kicker { font-size:6px; }
  .site-panel { gap:10px; }
  .nav-link { padding-inline:8px; font-size:12px; }
  .header-language { gap:6px; }
  .header-language .segmented > a { min-width:36px; padding-inline:8px; }
}
@media (max-width:1119.98px) { .site-panel > .header-language { display:none; } }
@media (max-width:480px) {
  .topbar-lang { flex:1; margin-left:0; justify-content:flex-end; }
  .header-language { width:100%; justify-content:space-between; gap:6px; }
  .weekly-visitor { width:122px; font-size:10px; }
  .weekly-visitor strong { font-size:10px; }
  .topbar-lang .segmented > a { min-width:36px; padding-inline:7px; }
}

@media (max-width:360px) { .weekly-visitor { width:106px; font-size:9px; } .weekly-visitor strong { font-size:9px; } .topbar-lang .segmented > a { min-width:30px; padding-inline:5px; } }
html[lang="id"] .weekly-visitor strong { font-size:10px; }

/* Preserve every person in the hiring group photographs. */
.hiring-photos .project-media.team-frame { aspect-ratio: 3 / 2; }
.hiring-photos .team-frame img { object-fit: contain; }
.team-grid.hiring-photos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hiring-photos > li { grid-column: span 2; }
@media (max-width: 560px) {
  .team-grid.hiring-photos { grid-template-columns: minmax(0, 1fr); }
  .hiring-photos > li { grid-column: auto; }
}
