/* S.A.G. GLASS. Neovara's daylight sky and clear glass, white spec sheets, and one steel-blue line.
   Glass only where a layer floats over something to frost: the header over the page, the result sheet over the plot line,
   the play disc over a video still. Content on plain ground stays solid paper. */
/* IBM Plex Sans Thai (SIL Open Font License 1.1), self-hosted: Thai, Latin and Latin Extended at 400, 500 and 600. */
@font-face { font-family: 'IBM Plex Sans Thai'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-thai-400-thai.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'IBM Plex Sans Thai'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-thai-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans Thai'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plex-thai-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Thai'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plex-thai-500-thai.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'IBM Plex Sans Thai'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plex-thai-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans Thai'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plex-thai-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Thai'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plex-thai-600-thai.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'IBM Plex Sans Thai'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plex-thai-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans Thai'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/plex-thai-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --sky: #e4effa;
  --sky2: #f4f8fd;
  --paper: #fff;
  --ink: #0c1f33;
  --ink2: #2b3e53;
  --text: #0c1f33;
  --text-2: #4d5f73;
  --faint: #5f7084;
  --blue: #1458b8;
  --blue2: #0f3d78;
  --blue-soft: #d6e6f8;
  --mint: #0b7356;
  --line: rgba(15, 61, 120, .12);
  --line2: rgba(15, 61, 120, .2);
  --glass: rgba(255, 255, 255, .58);
  --glass-hi: rgba(255, 255, 255, .78);
  --glass-edge: rgba(255, 255, 255, .85);
  --blur: blur(18px) saturate(1.5);
  --shadow: 0 12px 28px rgba(18, 58, 108, .13), 0 2px 6px rgba(18, 58, 108, .06);
  --shadow-lift: 0 24px 60px rgba(18, 58, 108, .18), 0 4px 12px rgba(18, 58, 108, .08);
  --grid-line: rgba(20, 88, 184, .07);
  --err: #a8321f;
  --r: 12px;
  --r-lg: 24px;
  --gutter: max(20px, env(safe-area-inset-left));
  --bar-pad-l: 16px;
  --bar-pad-r: 6px;
  --display: 'IBM Plex Sans Thai', 'Noto Sans Thai', Tahoma, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --body: var(--display);
  color-scheme: light;
}
:lang(zh) { --display: 'IBM Plex Sans Thai', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Noto Sans SC', 'Source Han Sans SC', sans-serif; --body: var(--display); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; scrollbar-color: #b9cde3 var(--sky2); caret-color: var(--blue); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: linear-gradient(180deg, var(--sky) 0, var(--sky2) 900px, #fff 1600px) no-repeat, #fff; color: var(--text); font: 400 16px/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: rgba(20, 88, 184, .2); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--paper); padding: 10px 16px; z-index: 100; border-radius: 10px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
.ico { flex: none; }

/* glass: translucent white, hairline white edge, 1px top highlight, blue-tinted shadow */
.bar, .vid-ico, .totop, .nav-sub { backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1.3 var(--display); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.btn .ico { width: 16px; height: 16px; }
.btn.solid { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(20, 88, 184, .28); }
.btn.solid:hover { background: var(--blue2); transform: translateY(-1px); }
.btn.solid[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn.line, .btn.line-dark { background: var(--glass-hi); color: var(--ink); border-color: var(--glass-edge); box-shadow: 0 8px 20px rgba(18, 58, 108, .1); }
.btn.line:hover, .btn.line-dark:hover { background: #fff; transform: translateY(-1px); }
.btn.line.is-empty { cursor: default; background: transparent; border: 1px dashed var(--line2); box-shadow: none; color: var(--text-2); transform: none; }
.tlink { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font: 500 15px/1.4 var(--display); text-decoration: none; }
.tlink .ico { width: 16px; height: 16px; transition: transform .2s; }
.tlink:hover { color: var(--blue2); }
.tlink:hover .ico { transform: translateX(3px); }

/* floating glass bar */
.langs { display: flex; flex: none; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); font-size: 13px; }
.langs a { padding: 2px 10px; border-radius: 999px; min-height: 28px; text-decoration: none; color: var(--ink2); white-space: nowrap; }
.langs a:hover { color: var(--blue); }
.langs a[aria-current] { background: var(--blue); color: #fff; }
.bar { position: sticky; top: 10px; z-index: 40; width: calc(100% - 2 * var(--gutter)); max-width: calc(1280px - 2 * var(--gutter)); margin-inline: auto; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .9); }
.bar-in { display: flex; align-items: center; gap: 18px; min-height: 60px; max-width: none; padding-inline: var(--bar-pad-l) var(--bar-pad-r); }
.bar .bar-cta { min-height: 44px; font-size: 14px; }
.brand { text-decoration: none; display: flex; align-items: center; min-height: 44px; }
.wordmark { font: 600 19px/1 var(--display); letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.logo-img { max-height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; font: 400 15px/1.3 var(--display); color: var(--ink2); }
.nav > a, .nav-group > a { display: flex; align-items: center; min-height: 42px; padding: 6px 13px; text-decoration: none; border-radius: 999px; white-space: nowrap; transition: background-color .2s, color .2s; }
.nav > a:hover, .nav-group > a:hover { background: rgba(255, 255, 255, .85); color: var(--ink); }
.nav-group { position: relative; }
.nav-sub { display: none; position: absolute; left: 0; top: calc(100% + 8px); min-width: 320px; background: rgba(250, 252, 255, .94); border: 1px solid var(--glass-edge); border-radius: 18px; padding: 8px; box-shadow: var(--shadow-lift); }
.nav-group::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { display: block; }
.nav-sub a { display: block; padding: 10px 14px; text-decoration: none; border-radius: 12px; }
.nav-sub a:hover { background: var(--sky); color: var(--blue2); }
.nav-search { display: flex; align-items: center; margin-left: auto; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .7); }
.nav-search input { width: 120px; border: 0; background: transparent; font: 400 14px/1.3 var(--body); padding: 8px 4px 8px 16px; color: var(--text); min-width: 0; }
.nav-search input:focus { outline: none; }
.nav-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20, 88, 184, .18); background: #fff; }
.nav-search input::placeholder { color: var(--faint); }
.nav-search button { display: grid; place-items: center; width: 40px; height: 40px; background: none; border: 0; color: var(--blue); cursor: pointer; }
.nav-home { display: none !important; }
.burger { display: none; width: 44px; height: 44px; background: var(--glass-hi); border: 1px solid var(--glass-edge); border-radius: 999px; color: var(--ink); cursor: pointer; place-items: center; }

/* hero: the line takes the shape of the visitor's job */
.hero, .phead, .band, .quote, .prod-top { --grid: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-image: var(--grid); background-size: 80px 80px; background-position: center top; }
.hero { position: relative; color: var(--ink); padding-block: 56px 30px; overflow: clip; isolation: isolate; }
.hero::before { content: ''; position: absolute; z-index: -1; right: -10%; top: -20%; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.hero h1 { font-size: clamp(36px, min(4.8vw, 7.4vh), 64px); font-weight: 600; line-height: 1.18; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-copy > p { margin-top: 18px; max-width: 44ch; font-size: 18px; color: var(--ink2); }
.hero-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pick-h { font-size: 19px; font-weight: 500; margin-bottom: 14px; }
.pick-group { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding-block: 12px; border-top: 1px solid var(--line); }
.pick-l { font-size: 14px; color: var(--text-2); padding-top: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 5px 15px; border-radius: 999px; border: 1px solid var(--line2); background: var(--glass-hi); color: var(--ink2); font: 400 14px/1.3 var(--display); text-decoration: none; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.chip:hover { background: #fff; border-color: rgba(20, 88, 184, .4); }
.chip[aria-current] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(20, 88, 184, .26); }

.hero-stage { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: stretch; margin-top: 34px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); overflow: hidden; }
.plot { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 20px; }
.plot-axis { font-size: 13px; color: var(--text-2); margin-bottom: 10px; }
.plot-area {
  position: relative; flex: 1; min-height: 240px; border-radius: 14px;
  background-color: var(--sky2);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 61, 120, .06) 1px, transparent 1px);
  background-size: 100% 25%, 8.333% 100%;
}
.prod-trace .plot { padding: 0; }
.prod-trace .plot-area { background-color: rgba(255, 255, 255, .6); border: 1px solid var(--glass-edge); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.plot-max, .plot-min { position: absolute; left: 16px; font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.plot-max { top: 10px; }
.plot-min { bottom: 10px; }
.plot-max b, .plot-min b { color: var(--ink); font: 600 22px/1.1 var(--display); }
.plot-reveal { position: absolute; inset: 18px 0 18px 108px; }
.plot-reveal svg { width: 100%; height: 100%; display: block; overflow: visible; }
.plot-reveal path { fill: none; stroke: var(--blue); stroke-width: 3.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 4px 6px rgba(20, 88, 184, .25)); }
.plot-reveal.is-drawing { animation: trace 1.3s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes trace { from { clip-path: inset(-10px 100% -10px 0); } to { clip-path: inset(-10px -10px -10px 0); } }
.plot-note { font-size: 13px; color: var(--faint); margin-top: 12px; }

/* the answer half of the result panel: the model that fits the job drawn beside it */
.sheet { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 16px; align-content: center; padding: 20px; border-left: 1px solid var(--line); color: var(--text); text-decoration: none; transition: background-color .2s; }
.sheet:hover { background: var(--sky2); }
.sheet-img { display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.sheet-img img { width: 100%; height: 170px; object-fit: contain; }
.sheet-body { display: flex; flex-direction: column; min-width: 0; }
.sheet-title { font: 600 18px/1.3 var(--display); }
.sheet-model { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.sheet-stats { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.sheet-stats b { display: block; font: 600 17px/1.25 var(--display); color: var(--blue2); font-variant-numeric: tabular-nums; }
.sheet-stats small { display: block; font-size: 12px; line-height: 1.4; color: var(--text-2); }
.sheet-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; color: var(--blue); font: 500 14px/1.3 var(--display); }
.sheet:hover .sheet-go { color: var(--blue2); }
.sheet:hover .sheet-go .ico { transform: translateX(3px); }
.sheet-go .ico { width: 16px; height: 16px; transition: transform .2s; }

/* sections */
.sec { padding-block: clamp(64px, 8vw, 104px); }
.sec.tint { background: var(--sky2); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.25; letter-spacing: -.015em; }
.sec-head p { margin-top: 12px; color: var(--text-2); font-size: 17px; max-width: 62ch; }
.sec-more { margin-top: 28px; }
.empty { color: var(--text-2); margin-bottom: 18px; }

/* welders stand on a shared baseline, in one paper panel */
.machines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.machine { display: flex; flex-direction: column; padding: 22px 20px 20px; text-decoration: none; border-right: 1px solid var(--line); transition: background-color .2s; }
.machine:last-child { border-right: 0; }
.machine:hover { background: var(--sky2); }
.machine-img { display: block; height: 230px; margin-bottom: 14px; }
.machine-img { display: flex; justify-content: center; align-items: flex-end; }
/* sized by its own aspect ratio, so the browser picks a file as wide as the photo it actually shows */
.machine-img img { width: auto; max-width: 100%; height: 100%; object-fit: contain; object-position: bottom; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.machine:hover .machine-img img { transform: translateY(-4px); }
.machine > b { font: 600 17px/1.35 var(--display); margin-bottom: 8px; min-height: 2.7em; }
.machine-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding-block: 7px; border-top: 1px solid var(--line); }
.machine-row small { font-size: 13px; color: var(--text-2); }
.machine-row b { white-space: nowrap; font: 600 15px/1.3 var(--display); font-variant-numeric: tabular-nums; text-align: right; color: var(--blue2); }

/* product index */
.tests { background: var(--sky2); }
.index-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.index-col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px 24px 10px; }
.index-col h3, .cat-group h3, .cat-group h2 { font-size: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line2); }
.index-col h3 a, .cat-group h3 a, .cat-group h2 a { text-decoration: none; }
.index-col h3 a:hover, .cat-group h3 a:hover, .cat-group h2 a:hover { color: var(--blue); }
.prow { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 170px) 22px; align-items: center; gap: 14px; padding: 10px 8px; margin-inline: -8px; border-bottom: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: background-color .2s; }
.prow:last-child { border-bottom: 0; }
.prow:hover, .tests .prow:hover { background: var(--sky2); }
.prow-img { width: 60px; height: 60px; background: var(--paper); border-radius: 12px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.prow-img img { width: 100%; height: 100%; object-fit: contain; }
.prow b { display: block; font: 500 15.5px/1.35 var(--display); }
.prow small { display: block; font-size: 13px; line-height: 1.4; color: var(--text-2); }
.prow-stat b { color: var(--blue2); font-variant-numeric: tabular-nums; font-weight: 600; }
.prow-go { color: var(--faint); display: grid; place-items: center; transition: transform .2s, color .2s; }
.prow:hover .prow-go { color: var(--blue); transform: translateX(3px); }
.prow-go .ico { width: 18px; height: 18px; }

/* service route: the same line, from import to repair */
.band { background-color: var(--sky); color: var(--ink); padding-block: clamp(64px, 8vw, 100px); }
.band .sec-head p { color: var(--ink2); }
.route { --stops: 6; position: relative; display: grid; grid-template-columns: repeat(var(--stops), minmax(0, 1fr)); gap: 22px; padding-top: 32px; }
.route::before { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 3px; border-radius: 3px; background: var(--blue); transform-origin: left; }
.route li { position: relative; }
.route li::before { content: ''; position: absolute; left: 0; top: -31px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 4px 10px rgba(20, 88, 184, .25); }
.route li:last-child::before { border-color: var(--mint); }
.route h3 { font-size: 17px; margin-bottom: 6px; }
.route p { color: var(--ink2); font-size: 14.5px; line-height: 1.6; }
.route.is-run::before { animation: route 1.2s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes route { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* plant + video */
.plant-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
figure > img { border-radius: 22px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--sky); box-shadow: var(--shadow); }
figcaption { margin-top: 12px; font-size: 14px; color: var(--text-2); }
.vid figcaption b { display: block; color: var(--text); font: 600 15px/1.4 var(--display); }
.vid figcaption span { display: block; }
.vid figcaption a { color: var(--blue); }
.vid-play { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: var(--ink); cursor: pointer; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.vid-play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 31, 51, 0) 50%, rgba(12, 31, 51, .35)); }
.vid-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.vid-play:hover img { transform: scale(1.03); }
.vid-ico { position: absolute; z-index: 1; inset: 0; margin: auto; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .82); border: 1px solid var(--glass-edge); color: var(--blue); box-shadow: 0 10px 26px rgba(12, 31, 51, .3); transition: transform .2s, background-color .2s; --blur: blur(10px); }
.vid-play:hover .vid-ico { transform: scale(1.06); background: #fff; }
.vid-ico .ico { width: 30px; height: 30px; }
.vid-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; border-radius: 22px; background: var(--ink); }
.vid-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.shot-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.shot-grid figure { grid-column: span 2; }
.shot-grid figure:nth-child(-n+2) { grid-column: span 3; }
.plant-trio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }

.makers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.sec.tint .makers { margin-top: 0; }
.makers > li { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow); }
.makers dt { font-size: 14px; color: var(--text-2); margin-bottom: 4px; }
.makers b { display: block; font: 600 17px/1.4 var(--display); margin-bottom: 4px; }
.makers span { font-size: 15px; color: var(--text-2); }
.makers-note { margin-top: 18px; font-size: 14px; color: var(--text-2); max-width: 75ch; }

/* articles */
.reads { background: var(--sky2); }
.read-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.read { display: block; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.read:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.read b { display: block; font: 600 18px/1.4 var(--display); margin-bottom: 6px; }
.read:hover b { color: var(--blue); }
.read span { display: block; font-size: 15px; color: var(--text-2); }
.read-wrap { max-width: 860px; }
.read-wrap .read-list { grid-template-columns: minmax(0, 1fr); }

/* quote */
.quote { position: relative; background-color: var(--sky); overflow: clip; color: var(--ink); padding-block: clamp(64px, 8vw, 96px); }
.qgrid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.qside h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.25; letter-spacing: -.02em; }
.qside > p { margin-top: 14px; color: var(--ink2); font-size: 17px; max-width: 46ch; }
.direct { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cinfo { margin-top: 28px; border-top: 1px solid var(--line2); }
.cinfo > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding-block: 10px; border-bottom: 1px solid var(--line2); }
.cinfo dt { color: var(--text-2); font-size: 14px; }
.qform { position: relative; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lift); }
.qbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.qbody[hidden] { display: none; }
.wide { grid-column: 1 / -1; }
.lbl { display: block; font: 500 14px/1.4 var(--display); margin-bottom: 6px; color: var(--ink); }
input[type=text], input[type=email], select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line2); border-radius: var(--r); background: rgba(255, 255, 255, .85); color: var(--text); font: 400 16px/1.45 var(--body); transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:hover, select:hover, textarea:hover { border-color: rgba(15, 61, 120, .35); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20, 88, 184, .18); }
[aria-invalid] { border-color: var(--err) !important; }
.err { display: block; color: var(--err); font-size: 13px; margin-top: 4px; min-height: 0; }
.pdpa { font-size: 13px; color: var(--text-2); }
.hp { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.qdone h3 { font-size: 26px; margin-bottom: 6px; color: var(--mint); }
.qdone:focus { outline: none; }
.qdone dl { margin-block: 18px; border-top: 1px solid var(--line); }
.qdone dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
.qdone dt { color: var(--text-2); }

/* page head */
.phead { position: relative; overflow: clip; color: var(--ink); padding-block: 34px 52px; }
.phead h1 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; margin-top: 14px; }
.phead p { margin-top: 12px; color: var(--ink2); font-size: 18px; max-width: 62ch; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2); }
.crumbs a { min-height: 28px; display: inline-flex; align-items: center; color: var(--blue2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* catalogue */
.catalog { display: flex; flex-direction: column; gap: 64px; }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-bottom: 24px; }
.cat-head h2 { flex-basis: 100%; font-size: clamp(25px, 2.8vw, 34px); }
.cat-head h2 a { text-decoration: none; }
.cat-head p { color: var(--text-2); font-size: 15px; }
.cat-group { margin-bottom: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px 24px 10px; }
.dl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; color: var(--text-2); }
.dl a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: var(--blue); font-weight: 500; }
.dl .ico { width: 17px; height: 17px; }
.dl-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 14px; border-top: 1px solid var(--line); }
.dl-row b { font: 600 17px/1.4 var(--display); }

/* product page */
.prod-top { color: var(--ink); padding-block: 26px 48px; }
.prod-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 18px; align-items: start; }
.prod-main { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-lift); }
.prod-main img { width: 100%; height: clamp(280px, 34vw, 460px); object-fit: contain; aspect-ratio: auto; background: transparent; box-shadow: none; border-radius: 0; }
.prod-main figcaption { text-align: center; }
.prod-main figcaption:empty { display: none; }
.prod-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.prod-thumbs button { width: 70px; height: 70px; padding: 4px; border-radius: 14px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .2s; }
.prod-thumbs button:hover { border-color: var(--line2); }
.prod-thumbs button[aria-current] { border-color: var(--blue); }
.prod-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.prod-info h1 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.prod-model { font: 500 16px/1.4 var(--display); color: var(--blue2); margin-top: 6px; }
.prod-lead { margin-top: 16px; font-size: 17px; color: var(--ink2); max-width: 62ch; }
.prod-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 22px; margin-top: 24px; padding-block: 18px; border-block: 1px solid var(--line2); }
.prod-stats:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prod-stats dd { font: 600 25px/1.2 var(--display); color: var(--blue2); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.prod-stats dt { font-size: 13.5px; color: var(--text-2); margin-bottom: 2px; }
.prod-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.prod-maker { margin-top: 16px; font-size: 14px; color: var(--text-2); }
.prod-trace { color: var(--ink); padding-block: 0 8px; }
.prod-trace .plot-area { min-height: 170px; }
.prod-body { padding-block: 48px 80px; display: flex; flex-direction: column; gap: 48px; }
.prod-desc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; }
.prod-desc > :only-child { grid-column: 1 / -1; max-width: 75ch; }
.feats li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); }
.feats li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--blue); }
.spec-block { margin-bottom: 30px; }
.spec-block h2, .stds h2, .related h2 { font-size: 24px; margin-bottom: 14px; }
.table-scroll { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); scrollbar-width: thin; }
.spec { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
.spec th, .spec td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec td + td, .spec td[colspan] { border-left: 1px solid var(--line); }
.spec tbody tr:last-child > * { border-bottom: 0; }
.spec thead th { background: var(--sky); color: var(--blue2); font: 600 14px/1.35 var(--display); white-space: nowrap; border-bottom-color: var(--line2); }
.spec tbody th { background: var(--sky2); color: var(--ink2); font-weight: 500; min-width: 170px; }
.spec tbody tr:hover td { background: rgba(228, 239, 250, .45); }
.spec-note { font-size: 13.5px; color: var(--text-2); margin-top: 8px; }
.stds ul { display: flex; flex-wrap: wrap; gap: 8px; }
.stds li { padding: 5px 14px; background: var(--blue-soft); color: var(--blue2); border-radius: 999px; font: 500 14px/1.4 var(--display); }
.related .prow { margin-inline: 0; padding-inline: 8px; }
.related { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 24px 24px 10px; }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 26px; margin-top: 1.5em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose a { color: var(--blue); }
.prose blockquote { margin-left: 0; padding: 16px 20px; border-radius: 16px; background: var(--sky2); border: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
.do-list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 6px 24px; }
.do-list li { padding-block: 16px; border-bottom: 1px solid var(--line); }
.do-list li:last-child { border-bottom: 0; }
.do-list b { display: block; font: 600 18px/1.4 var(--display); margin-bottom: 3px; }
.do-list span { color: var(--text-2); font-size: 15px; }

/* footer */
.foot { background: #fff; border-top: 1px solid var(--line); color: var(--text-2); padding-block: 56px 28px; font-size: 15px; }
.foot .wordmark { margin-bottom: 12px; display: inline-block; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1.3fr .8fr 1fr; gap: 36px; }
.foot-legal { margin-bottom: 10px; color: var(--ink); }
.fh { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.fnav { display: flex; flex-direction: column; }
.fnav a { display: flex; align-items: center; min-height: 36px; text-decoration: none; }
.fnav a:hover { color: var(--blue); }
.foot-contact > div { display: grid; grid-template-columns: 54px minmax(0, 1fr); padding-block: 4px; }
.foot-contact dt { color: var(--faint); }
.legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; }

/* the line continues on every page */
.phead .wrap { position: relative; }
.phead h1, .phead > .wrap > p { max-width: 56%; }
.phead-line { position: absolute; right: var(--gutter); bottom: -6px; width: 38%; height: calc(100% - 40px); pointer-events: none; }
.phead-line path, .q-line path { fill: none; stroke: var(--blue); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.qside { position: relative; }
.q-line { display: block; width: calc(100% + 56px); height: 96px; margin-top: 30px; overflow: visible; }
.spec tbody th, .spec thead th:first-child { position: sticky; left: 0; z-index: 1; }
.spec thead th:first-child { background: var(--sky); }
.scroll-hint { display: none; font-size: 13.5px; color: var(--text-2); margin-bottom: 8px; }

.totop { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--glass-edge); background: var(--glass-hi); color: var(--blue); cursor: pointer; box-shadow: var(--shadow); --blur: blur(12px); }
.totop:hover { background: #fff; }
.totop[hidden] { display: none; }
.thumb-cta { display: none; }
.nav-pagination, .pagination { margin-top: 24px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 12px; text-decoration: none; background: var(--glass-hi); border: 1px solid var(--line); }
.page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* without blur the glass would read as grey; give it more white instead */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bar { background: rgba(255, 255, 255, .92); }
}
@media (prefers-reduced-transparency: reduce) {
  .bar, .nav-sub { background: rgba(255, 255, 255, .97); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (max-width: 1180px) {
  .nav-search input { width: 112px; }
  .nav > a, .nav-group > a { padding-inline: 9px; font-size: 14px; }
  .bar-in { gap: 12px; }
}
@media (max-width: 1060px) {
  .bar { border-radius: 26px; }
  .bar-in { position: relative; justify-content: space-between; }
  .burger { display: grid; }
  .bar-cta { margin-left: auto; }
  .nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; background: rgba(250, 252, 255, .97); border: 1px solid var(--glass-edge); border-radius: 22px; padding: 10px 14px 16px; box-shadow: var(--shadow-lift); max-height: calc(100vh - 130px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a, .nav-group > a { font-size: 16px; padding-inline: 10px; border-radius: 12px; }
  .nav-sub { display: block; position: static; box-shadow: none; border: 0; min-width: 0; padding: 0 0 4px 12px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-group::after { display: none; }
  .nav-search { margin: 8px 0 0; }
  .nav-search input { flex: 1; width: auto; font-size: 16px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-stage { grid-template-columns: minmax(0, 1fr); }
  .sheet { border-left: 0; border-top: 1px solid var(--line); }
  .plot-area { min-height: 220px; }
  .route { --stops: 3; row-gap: 56px; }
  .route::before { display: none; }
  .route.is-run li::after { transform-origin: left; animation: route 1s cubic-bezier(.16, 1, .3, 1) both; }
  .route.is-run li:nth-child(n+2)::after { animation-delay: .1s; }
  .phead h1, .phead > .wrap > p { max-width: none; }
  .phead-line { position: static; display: block; width: 100%; height: 64px; margin-top: 20px; }
  .phead { padding-bottom: 28px; }
  .q-line { width: 100%; height: 60px; }
  .route li::after { content: ''; position: absolute; left: 0; right: -22px; top: -24px; height: 3px; background: var(--blue); z-index: -1; }
  .route li { z-index: 0; }
  .route li:nth-child(3n)::after { right: 0; }
  .machines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .machine:nth-child(2n) { border-right: 0; }
  .machine:nth-child(n+3) { border-top: 1px solid var(--line); }
  .qgrid, .prod-grid, .about-grid, .prod-desc { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .index-cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .bar-cta { display: none; }
  .bar-in { min-height: 56px; }
  .hero { padding-top: 36px; }
  .hero-copy > p { font-size: 16px; }
  .pick-group { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pick-l { padding-top: 0; }
  .plot-reveal { left: 80px; }
  .plot-max, .plot-min { left: 12px; }
  .sheet { grid-template-columns: 104px minmax(0, 1fr); padding: 16px; }
  .plot { padding: 14px 14px 16px; }
  .sheet-img img { height: 140px; }
  .route { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding: 0 0 0 28px; }
  .route li { padding-block: 0 26px; }
  .route li::before { left: -28px; top: 4px; }
  .route li::after { content: ''; left: -21px; right: auto; top: 6px; bottom: -6px; width: 3px; height: auto; }
  .route li:last-child::after { display: none; }
  .route li:nth-child(3n)::after { right: auto; }
  .route.is-run li::after { transform-origin: top; animation-name: route-v; }
  @keyframes route-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  .scroll-hint { display: block; }
  .spec td { min-width: 112px; }
  .spec tbody th { min-width: 118px; max-width: 132px; box-shadow: 1px 0 0 var(--line), 6px 0 10px -6px rgba(18, 58, 108, .25); }
  .plant-grid, .vid-grid, .shot-grid, .plant-trio, .makers { grid-template-columns: minmax(0, 1fr); }
  .shot-grid figure, .shot-grid figure:nth-child(-n+2) { grid-column: auto; }
  .index-col, .cat-group, .related { padding-inline: 16px; }
  .prow { grid-template-columns: 52px minmax(0, 1fr) 20px; gap: 12px; }
  .prow-img { width: 52px; height: 52px; }
  .prow-stat { grid-column: 2; grid-row: 2; }
  .prow-go { grid-column: 3; grid-row: 1 / span 2; }
  .qbody { grid-template-columns: minmax(0, 1fr); }
  .field { grid-column: 1 / -1; }
  .qdone dl > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .machines { grid-template-columns: minmax(0, 1fr); }
  .machine { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; padding: 16px; border-right: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .machine:last-child { border-bottom: 0; }
  .machine:nth-child(n+3) { border-top: 0; }
  .plot-reveal path { stroke-width: 2.25; }
  .machine-img { grid-row: 1 / span 5; height: 170px; margin: 0; align-self: center; }
  .machine > b { min-height: 0; }
  .spec { font-size: 14px; }
  .spec tbody th { min-width: 130px; }
  .thumb-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 30; min-height: 50px; opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .25s, transform .35s cubic-bezier(.16, 1, .3, 1); }
  .thumb-cta.on { opacity: 1; pointer-events: auto; transform: none; }
  .totop { display: none; }
  .foot { padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:hover, .read:hover { transform: none; }
}
@media print {
  body { background: #fff; }
}

/* touch targets: every link a thumb can hit is at least 40px tall, without changing how it looks */
.tlink { min-height: 44px; }
.langs a { display: inline-flex; align-items: center; min-height: 32px; }
.index-col h3 a, .cat-group h3 a, .cat-group h2 a, .cat-head h2 a { display: inline-flex; align-items: center; min-height: 44px; }
.vid figcaption a, .legal a, .prose-links a { display: inline-flex; align-items: center; min-height: 40px; }
/* every item in the legal row sits on the same 40px line as its link */
.legal > * { display: inline-flex; align-items: center; min-height: 40px; }
@media (pointer: coarse) {
  .langs a { min-height: 40px; padding-inline: 12px; }
}

/* tablet: the stacked sheet is wide, so lay its values out in a row instead of a narrow column */
@media (min-width: 681px) and (max-width: 1060px) {
  .sheet { grid-template-columns: 170px minmax(0, 1fr); padding: 20px 24px; }
  .sheet-img img { height: 170px; }
  .sheet-stats { flex-direction: row; flex-wrap: wrap; gap: 10px 32px; margin-top: 14px; }
}
/* short landscape screens: a sticky bar would eat a third of the view, so it scrolls away */
@media (max-height: 520px) and (orientation: landscape) {
  .bar { position: relative; top: 0; }
  html { scroll-padding-top: 12px; }
  .hero .plot-area { min-height: 190px; }
}

/* desktop and tablet gutters match the floating bar, so its contents line up with the page */
@media (min-width: 681px) {
  :root { --gutter: max(32px, env(safe-area-inset-left)); --bar-pad-l: 22px; --bar-pad-r: 8px; }
}
@media (max-width: 1060px) {
  .nav-home { display: flex !important; }
}
.opt { font-weight: 400; color: var(--faint); }
.qdone-act { display: flex; flex-wrap: wrap; gap: 10px; }
.lost-search { margin: 28px 0 0; max-width: 420px; }
.lost-search input { width: 100%; flex: 1; font-size: 16px; min-height: 46px; }

/* one bar: brand, links and search, then language, phone and the quote button */
.bar-tel { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); color: var(--blue); }
.bar-tel:hover { background: #fff; }
.bar-tel .ico { width: 18px; height: 18px; }
.bar-cta { flex: none; }
.brand { flex: none; }
.nav { min-width: 0; }

/* when the full bar does not fit (narrow screens, longer English labels), it folds into the menu button;
   main.js measures this, the media query below is the fallback without script */
.bar.is-compact { border-radius: 26px; }
.bar.is-compact .bar-in { position: relative; }
.bar.is-compact .burger { display: grid; }
.bar.is-compact .langs { margin-left: auto; }
.bar.is-compact .nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; background: rgba(250, 252, 255, .97); border: 1px solid var(--glass-edge); border-radius: 22px; padding: 10px 14px 16px; box-shadow: var(--shadow-lift); max-height: calc(100vh - 130px); overflow-y: auto; }
.bar.is-compact .nav.open { display: flex; }
.bar.is-compact .nav > a, .bar.is-compact .nav-group > a { font-size: 16px; padding-inline: 10px; border-radius: 12px; }
.bar.is-compact .nav-sub { display: block; position: static; box-shadow: none; border: 0; min-width: 0; padding: 0 0 4px 12px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.bar.is-compact .nav-group::after { display: none; }
.bar.is-compact .nav-search { margin: 8px 0 0; }
.bar.is-compact .nav-search input { flex: 1; width: auto; font-size: 16px; }
.bar.is-compact .nav-home { display: flex !important; }
@media (max-width: 1060px) {
  .langs { margin-left: auto; }
  .bar-cta { margin-left: 0; }
}
@media (max-width: 400px) {
  .wordmark { font-size: 17px; letter-spacing: .03em; }
  .bar-in { gap: 8px; }
  .langs a { padding-inline: 9px; }
}
/* the narrowest phones keep the language switch inside the menu */
.nav-langs { display: none !important; }
@media (max-width: 360px) {
  .bar-langs { display: none; }
  .nav .nav-langs { display: flex !important; align-self: flex-start; margin: 12px 0 0; }
}
