/* Layout: white, photo-led pages around one heavy interaction (the 3D Tour);
   1180px shell, 680px text measure, one 96px section rhythm. The site keeps a
   single light look on purpose, so there is no dark theme. */
:root {
  --blue: #0249a5;
  --blue-deep: #002877;
  --ink: #010c1e;
  --copy: #3d4a5c;
  --muted: #66748a;
  --line: #d7dfeb;
  --surface: #f2f5fa;
  --paper: #ffffff;
  --scene: #dfe5ea;
  --panel: #0a1628;
  --panel-ink: #e8f0fb;
  --panel-muted: #9fb3cf;
  --panel-line: rgba(143, 192, 255, .18);
  --sky: #8fc0ff;
  --font: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --shell: 1180px;
  --measure: 680px;
  --band: clamp(80px, 11vw, 144px);
  --dark: #050b16;
  --dark-ink: #f4f7fb;
  --dark-muted: #9aabc3;
  --head: 64px;
  color-scheme: light;
}

/* Japanese and Korean pages never fall back to the Chinese face: kana, Hangul and Japanese kanji
   come from the reader's own system fonts (no JP/KR web font is shipped yet). */
html[lang="ja"] { --font: Inter, "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, system-ui, sans-serif; }
html[lang="ko"] { --font: Inter, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }  /* anchors land below the sticky header */
body {
  margin: 0;
  background: var(--paper);
  color: var(--copy);
  font: 400 17px/1.65 var(--font);
  font-feature-settings: "tnum" 0;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

h1, h2, h3 {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.08; }
h2 { font-size: clamp(30px, 3.4vw, 44px); }
h3 { font-size: 21px; letter-spacing: -.01em; }
p { margin: 0; }

.shell {
  width: 100%;
  max-width: calc(var(--shell) + 48px);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 600px) {
  .shell {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font: 500 15px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.more {
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- status chips: three words only ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-sold { background: var(--blue); color: #fff; }
.chip-sold::before { background: #fff; }
.chip-wip { background: var(--paper); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.chip-plan { background: var(--paper); color: var(--muted); box-shadow: inset 0 0 0 1px var(--muted); }
.chip-none { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.chip-none::before { display: none; }

/* ---------- utility bar + header ---------- */
.util { background: var(--surface); font-size: 12.5px; color: var(--muted); }
.util .shell { display: flex; justify-content: flex-end; gap: 16px; min-height: 30px; align-items: center; }
.util a { text-decoration: none; }
.util a[aria-current] { color: var(--ink); font-weight: 500; }

.site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; gap: 36px; min-height: var(--head); }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex;
  align-items: center;
  height: var(--head);
  padding: 0 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 transparent;
}
.nav > li > a:hover, .nav > li > a[aria-current] { box-shadow: inset 0 -2px 0 var(--blue); }
.nav > li > a, .head-cta { white-space: nowrap; }
/* the longer en/ja/ko menu labels: tighter items on narrow desktops; Japanese folds to the menu button sooner */
@media (max-width: 1280px) {
  html:not([lang="zh-CN"]) .head-row { gap: 20px; }
  html:not([lang="zh-CN"]) .nav > li > a { padding: 0 8px; font-size: 14px; }
}
@media (max-width: 1100px) {
  html[lang="ja"] .nav, html[lang="ja"] .head-cta { display: none; }
  html[lang="ja"] .menu-btn { display: inline-flex; }
  html[lang="ja"] .site-head.is-open .nav {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  html[lang="ja"] .site-head.is-open .nav > li > a { height: 48px; }
  html[lang="ja"] .drop, html[lang="ja"] .mega { display: none !important; }
}
.drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(1, 12, 30, .08);
}
.nav > li:hover .drop, .nav > li:focus-within .drop { display: block; }
.drop a { display: block; padding: 8px 18px; font-size: 14.5px; color: var(--copy); text-decoration: none; }
.drop a:hover { background: var(--surface); color: var(--blue); }
.drop small { display: block; color: var(--muted); font-size: 12.5px; }
.head-cta { margin-left: auto; }
.menu-btn { display: none; margin-left: auto; }
@media (max-width: 960px) {
  .head-row { gap: 16px; }
  .nav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .site-head.is-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-head.is-open .nav > li > a { height: 48px; }
  .drop { display: none !important; }
}

.crumbs { font-size: 13px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 14px 0; list-style: none; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- sections ---------- */
.band { padding-block: var(--band); }
.band-surface { background: var(--surface); }
.band + .band:not(.band-surface) { border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 16px; margin-bottom: 56px; max-width: var(--measure); }
.sec-head p { font-size: 18px; }
.sec-head p { color: var(--copy); }
.sec-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.sec-row .sec-head { margin-bottom: 0; }

/* ---------- key figures ---------- */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; }
.nums > div { border-top: 1px solid var(--line); padding-top: 22px; min-width: 0; }
.nums dt { color: var(--muted); font-size: 14px; font-weight: 400; }
.nums dd { margin: 0; }
.num-v {
  display: block;
  color: var(--ink);
  font: 300 clamp(44px, 5.6vw, 76px)/1 Inter, var(--font);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  margin: 10px 0 12px;
}
.num-v small { font-size: .42em; font-weight: 500; letter-spacing: 0; margin-left: 4px; color: var(--copy); }
.num-c { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 4px; }
.target {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border: 1px solid var(--muted);
  border-radius: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  vertical-align: 2px;
}
@media (max-width: 820px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } }

/* ---------- media: real photos, renders and the shots still to take ---------- */
.media { position: relative; background: var(--surface); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-contain img { object-fit: contain; padding: 6%; }
.media-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--muted);
  font-size: 12px;
  border-radius: 2px;
}
.shot {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  background: repeating-linear-gradient(135deg, var(--surface) 0 12px, #e9eef5 12px 24px);
  border: 1px dashed #b9c5d6;
}
.shot b { color: var(--ink); font-weight: 600; font-size: 14px; }

/* ---------- cards ---------- */
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.cats.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.cat .media { margin-bottom: 6px; }
.cat .chips { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; }
.cat h3 { font-size: 18px; }
.cat p { font-size: 14.5px; line-height: 1.6; }
.cat:hover h3 { color: var(--blue); }
@media (max-width: 1100px) {
  .cats, .cats.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .cats, .cats.is-four { grid-template-columns: 1fr; gap: 16px; }
  .cat { grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: auto; column-gap: 16px; row-gap: 4px; align-items: start; }
  .cat .media { grid-row: span 3; margin: 0; }
  .cat .chips { display: none; }
}

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.duo article { display: grid; gap: 14px; align-content: start; min-width: 0; }
.duo h3 { font-size: 24px; }
.duo .pair { display: flex; gap: 32px; flex-wrap: wrap; padding: 6px 0; }
.duo .pair b { display: block; color: var(--ink); font: 600 30px/1.1 Inter, var(--font); font-variant-numeric: tabular-nums; }
.duo .pair span { font-size: 13px; color: var(--muted); }
.links { display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }

.quote { display: grid; gap: 16px; max-width: 860px; margin: 0 0 56px; }
.quote blockquote { margin: 0; color: var(--ink); font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; line-height: 1.5; }
.quote cite { font-style: normal; font-size: 14px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding-top: 26px; font-size: 15px; color: var(--ink); font-weight: 500; counter-increment: s; }
.steps li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.steps li::after {
  content: counter(s);
  position: absolute;
  top: -4px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--blue);
  color: var(--blue);
  font: 600 12px/20px Inter, var(--font);
  text-align: center;
}
.steps li:last-child::before { right: auto; width: 22px; }
.steps.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li > span { display: block; margin-top: 8px; padding-right: 24px; color: var(--copy); font-size: 15px; font-weight: 400; line-height: 1.6; }
@media (max-width: 720px) {
  .steps, .steps.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
}

.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-row h2 { margin-bottom: 8px; }

/* ---------- footer: the only dark block on a page ---------- */
.site-foot { background: var(--ink); color: #b4c2d6; font-size: 14px; padding-block: 64px 32px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-cols h3 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.foot-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { color: #fff; }
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px;
  color: #8796ac;
}
.foot-base a { text-decoration: none; }
.foot-icp { margin: 12px 0 0; font-size: 12.5px; color: #8796ac; }
.foot-icp a { text-decoration: none; }
.foot-icp a:hover, .foot-base a:hover { color: #fff; }
@media (max-width: 720px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- page parts ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; font-size: 15px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.steps-h { font-size: 17px; margin-bottom: 28px; }
.fine-gap { margin-top: 20px; }
.platforms-h { margin-top: 56px; margin-bottom: 18px; }
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.platforms > div { display: grid; gap: 10px; align-content: start; justify-items: start; min-width: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.platforms p { font-size: 15px; color: var(--ink); }
@media (max-width: 820px) { .platforms { grid-template-columns: 1fr; } }

.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.svc-copy { display: grid; gap: 14px; max-width: 520px; }
@media (max-width: 820px) { .svc { grid-template-columns: 1fr; gap: 24px; } }

.pct-hero { padding-block: 24px 0; }
.nb { display: inline-block; }
.pct-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.pct-hero-copy { display: grid; gap: 18px; }
.pct-hero-copy p { font-size: 18px; color: var(--copy); max-width: 30em; }
.pct-hero-copy .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.pct-hero-media { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .pct-hero-grid { grid-template-columns: 1fr; gap: 28px; } .pct-hero-media { order: -1; } }

.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.feat > div { display: grid; gap: 10px; align-content: start; max-width: var(--measure); min-width: 0; }
.feat h3 { font-size: 19px; }
@media (max-width: 760px) { .feat { grid-template-columns: 1fr; gap: 28px; } }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery figure { margin: 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.gallery .media { aspect-ratio: 16 / 10; }
.gallery figcaption { font-size: 14px; color: var(--copy); line-height: 1.6; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr; } }

.spec { background: var(--paper); border: 1px solid var(--line); }
.spec summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  padding: 0 20px;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.spec summary::-webkit-details-marker { display: none; }
.spec summary::after { content: "展开"; color: var(--blue); font-size: 14px; }
.spec[open] summary::after { content: "收起"; }
.spec[open] summary { border-bottom: 1px solid var(--line); }
.spec-scroll { overflow-x: auto; }
.spec table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { padding: 12px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec thead th { color: var(--muted); font-size: 13px; font-weight: 500; }
.spec tbody th { width: 170px; color: var(--ink); font-weight: 500; }
.spec td { color: var(--ink); }
.spec td:last-child { color: var(--muted); font-size: 14px; width: 30%; }
.spec-note { padding: 14px 20px; font-size: 13px; color: var(--muted); }


/* ======== second pass: larger type, fewer parts, one dark moment ======== */
.lang { margin-left: auto; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.lang a { color: inherit; text-decoration: none; }
.lang a:hover { color: var(--blue); }
.lang a[aria-current] { color: var(--ink); font-weight: 500; }
[data-hero="photo"] .site-head.can-over:not(.is-solid) .lang a[aria-current] { color: #fff; }
.head-cta { margin-left: 0; }
@media (max-width: 960px) { .lang { display: none; } }

/* the header floats over a dark photo hero until the page scrolls */
[data-hero="photo"] .site-head.can-over { position: fixed; left: 0; right: 0; }
[data-hero="photo"] .site-head.can-over:not(.is-solid) { background: transparent; border-bottom-color: transparent; }
[data-hero="photo"] .site-head.can-over:not(.is-solid) .nav > li > a,
[data-hero="photo"] .site-head.can-over:not(.is-solid) .lang { color: rgba(255, 255, 255, .88); }
[data-hero="photo"] .site-head.can-over:not(.is-solid) .brand img { filter: brightness(0) invert(1); }
[data-hero="photo"] .site-head.can-over:not(.is-solid) .menu-btn { border-color: rgba(255, 255, 255, .7); color: #fff; }
[data-hero="photo"] .site-head.can-over:not(.is-solid) .nav > li > a:hover { box-shadow: inset 0 -2px 0 #fff; }
.site-head { transition: background .25s, border-color .25s; }

.hero-photo {
  position: relative;
  min-height: clamp(560px, 86vh, 880px);
  display: grid;
  align-items: end;
  background: var(--dark);
  color: var(--dark-ink);
  overflow: hidden;
}
.hero-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  filter: saturate(.7) contrast(1.06) brightness(.82);
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 11, 22, .62) 0%, rgba(5, 11, 22, 0) 24%),
    linear-gradient(90deg, rgba(5, 11, 22, .94) 0%, rgba(5, 11, 22, .8) 36%, rgba(5, 11, 22, .3) 68%, rgba(5, 11, 22, .12) 100%),
    linear-gradient(0deg, rgba(5, 11, 22, .75) 0%, rgba(5, 11, 22, 0) 46%);
}
.hero-photo .shell { position: relative; z-index: 2; padding-block: 140px clamp(56px, 9vh, 96px); }
.hero-copy { display: grid; gap: 24px; max-width: 720px; }
.hero-copy h1 { color: #fff; }
.hero-copy p { color: rgba(244, 247, 251, .82); font-size: clamp(17px, 1.5vw, 20px); max-width: 34em; }
.hero-copy .btns { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--dark-ink); color: var(--blue); }
.link-light { color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; }
.link-light:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-cap { position: absolute; z-index: 2; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 20px; color: rgba(244, 247, 251, .55); font-size: 12px; }

/* products: big tiles, no chips, the whole tile is the link */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.tile { grid-column: span 2; display: grid; gap: 14px; align-content: start; color: inherit; text-decoration: none; min-width: 0; }
.tile.is-wide { grid-column: span 3; }
.tile .media { aspect-ratio: 4 / 3; background: var(--scene); }
.tile.is-wide .media { aspect-ratio: 16 / 10; }
.tile .media img { transition: transform .5s ease; }
.tile:hover .media img { transform: scale(1.03); }
.tile h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 22px; }
.tile h3::after { content: "→"; color: var(--blue); font-weight: 400; transition: transform .2s; }
.tile:hover h3::after { transform: translateX(4px); }
.tile p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.tiles.is-four .tile { grid-column: span 3; }
.photo-graded { filter: saturate(.8) contrast(1.04); }
.fine { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile.is-wide, .tiles.is-four .tile { grid-column: span 1; }
  .tile.is-wide .media { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* the hall, framed like a photograph */
.walk {
  position: relative;
  min-height: clamp(480px, 70vh, 760px);
  display: grid;
  align-items: end;
  background: var(--scene);
  overflow: hidden;
}
.walk > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.walk::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(5, 11, 22, .82) 0%, rgba(5, 11, 22, .35) 38%, rgba(5, 11, 22, 0) 62%);
}
.walk .shell { position: relative; z-index: 2; padding-block: 64px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.walk h2 { color: #fff; }
.walk p { color: rgba(244, 247, 251, .82); font-size: 18px; max-width: 32em; margin-top: 14px; }

/* one dark band: the flagship and its data */
.dark { background: var(--dark); color: var(--dark-muted); }
.dark h2, .dark h3 { color: #fff; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.is-flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split.is-flip .split-media { order: -1; }
.split-copy { display: grid; gap: 20px; min-width: 0; }
.split-copy > p { font-size: 18px; max-width: 30em; }
.figs { display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; padding: 12px 0 8px; margin: 0; }
.figs > div { min-width: 0; }
.figs dt { font-size: 13px; color: var(--muted); }
.figs dd { margin: 0; font: 300 clamp(32px, 3.2vw, 46px)/1.05 Inter, var(--font); white-space: nowrap; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.figs dd small { font-size: .4em; letter-spacing: 0; margin-left: 4px; color: var(--muted); font-weight: 400; }
.dark .figs dt { color: var(--dark-muted); }
.dark .figs dd { color: #fff; }
.dark .more { color: #8fc0ff; }
.split-media { min-width: 0; }
.split-media .media { aspect-ratio: 16 / 11; background: #0d1828; }
.screen { padding: 10px; background: #0d1828; border: 1px solid rgba(143, 192, 255, .16); }
.screen img { width: 100%; height: auto; }
.split-media figcaption { margin-top: 12px; font-size: 13px; color: var(--dark-muted); }
.band:not(.dark) .split-media figcaption { color: var(--muted); }
.split .media.is-white { background: #fff; }
@media (max-width: 900px) {
  .split, .split.is-flip { grid-template-columns: 1fr; }
  .split.is-flip .split-media { order: 0; }
}

.cta-big { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-big h2 { max-width: 16em; }
.cta-big p { margin-top: 12px; color: var(--muted); }

/* ======== third pass: mega menu, studio imagery, load motion ======== */
.nav > li.has-mega { position: static; }
.mega {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-block: 40px 48px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 56px rgba(1, 12, 30, .1);
}
.nav > li.has-mega:hover .mega, .nav > li.has-mega:focus-within .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px; }
.mega-intro h2 { font-size: 28px; }
.mega-intro p { color: var(--muted); font-size: 15px; margin: 12px 0 18px; }
.mega-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.mega-items.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 680px; }
.mega-items a { display: grid; gap: 6px; color: var(--ink); text-decoration: none; }
.mega-items img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #eef2f6; margin-bottom: 6px; }
.mega-items b { font-size: 15px; font-weight: 500; }
.mega-items small { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.mega-items a:hover b { color: var(--blue); }
@media (max-width: 960px) { .mega { display: none !important; } }

.tile .media, .unit .media { background: #eef2f6; }

.hero-photo > img { animation: heroPush 2.6s cubic-bezier(.2, .65, .25, 1) both; transform-origin: 62% 50%; }
.hero-copy > * { animation: heroRise 1s cubic-bezier(.2, .65, .25, 1) both; }
.hero-copy > :nth-child(2), .hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes heroPush { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes heroRise { from { transform: translateY(18px); } to { transform: none; } }

/* ---------- product page ---------- */
.pdp-hero { background: #eef2f6; overflow: hidden; }
.pdp-hero .crumbs { padding-top: 4px; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; min-height: clamp(520px, 72vh, 760px); padding-block: 24px 56px; }
.pdp-copy { display: grid; gap: 20px; position: relative; z-index: 1; }
.pdp-copy h1 { display: grid; gap: 10px; }
.pdp-model { font: 300 clamp(60px, 9vw, 128px)/.95 Inter, var(--font); letter-spacing: -.045em; }
.pdp-kind { font-size: clamp(24px, 2.6vw, 34px); font-weight: 400; color: var(--copy); letter-spacing: -.01em; }
.pdp-copy p { font-size: 18px; max-width: 28em; }
.pdp-copy .btns { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.pdp-media { position: relative; margin-right: calc(-1 * max(24px, env(safe-area-inset-right, 0px))); }
.pdp-media img { width: 100%; height: auto; }
.pdp-media .media-tag { left: auto; right: 24px; background: rgba(255, 255, 255, .7); }
@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; min-height: 0; }
  .pdp-media { order: -1; margin-right: 0; }
}

/* signal path and test sequence, drawn on the dark band */
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 72px; padding: 0; list-style: none; position: relative; }
.chain::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 6px;
  height: 1px;
  background: linear-gradient(90deg, rgba(143, 192, 255, .15), rgba(143, 192, 255, .7), rgba(143, 192, 255, .15));
}
.chain li { position: relative; padding: 32px 16px 0 0; display: grid; gap: 6px; min-width: 0; }
.chain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--dark);
  border: 1px solid #8fc0ff;
  box-shadow: 0 0 0 4px rgba(143, 192, 255, .12);
}
.chain b { color: #fff; font-size: 20px; font-weight: 500; }
.chain span { color: var(--dark-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.tests { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: rgba(143, 192, 255, .14); border: 1px solid rgba(143, 192, 255, .14); }
.tests li { background: var(--dark); padding: 28px 24px 32px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.tests .k { font: 300 44px/1 Inter, var(--font); color: #8fc0ff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tests b { color: #fff; font-size: 18px; font-weight: 500; }
.tests b small { display: block; color: var(--dark-muted); font: 400 13px/1.4 Inter, var(--font); margin-top: 2px; }
.tests p { color: var(--dark-muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) {
  .chain, .tests { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain { row-gap: 32px; }
  .chain::before { display: none; }
}
@media (max-width: 520px) { .tests { grid-template-columns: 1fr; } }

.gallery-edit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 24px; }
.gallery-edit figure { margin: 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.gallery-edit figure:first-child { grid-row: span 2; }
.gallery-edit figure:first-child .media { aspect-ratio: 4 / 3.3; }
.gallery-edit .media { aspect-ratio: 16 / 10; }
.gallery-edit figcaption { font-size: 14px; color: var(--copy); line-height: 1.6; }
@media (max-width: 860px) { .gallery-edit { grid-template-columns: 1fr; } .gallery-edit figure:first-child { grid-row: auto; } }


/* ======== fourth pass: templates for the full site ======== */
/* heroes: studio (light, product or category), dark photo, plain text */
.pdp-title { font: 400 clamp(48px, 6.4vw, 88px)/1 var(--font); letter-spacing: -.035em; color: var(--ink); }
.pdp-copy .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-photo.is-short { min-height: clamp(420px, 62vh, 640px); }
.hero-photo.is-short .shell { padding-block: 96px clamp(48px, 8vh, 80px); }
.plain-hero { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.plain-hero .shell { display: grid; gap: 18px; }
.plain-hero h1 { max-width: 16em; }
.plain-hero p { font-size: 19px; max-width: 36em; color: var(--copy); }
.plain-hero .meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

/* why it matters: heading left, two short paragraphs right */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.why .prose p { font-size: 18px; }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; } }

/* device rows on a category page */
.device-list { display: grid; border-top: 1px solid var(--line); }
.device { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: 40px; border-bottom: 1px solid var(--line); }
.device .media { aspect-ratio: 4 / 3; background: #eef2f6; }
.device-body { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.device-body h3 { font-size: clamp(24px, 2.4vw, 32px); }
.device-body > p { font-size: 17px; max-width: 34em; }
.device-body .figs { padding: 4px 0; }
.device-body .figs dd { font-size: clamp(28px, 2.6vw, 38px); }
@media (max-width: 820px) { .device { grid-template-columns: 1fr; } }

.research-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.research-list li { display: grid; grid-template-columns: auto minmax(0, 14em) minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.research-list b { color: var(--ink); font-weight: 500; }
.research-list b a { color: inherit; text-decoration: none; }
.research-list b a:hover { color: var(--blue); }
.research-list span:last-child { color: var(--muted); }
@media (max-width: 720px) { .research-list li { grid-template-columns: auto 1fr; } .research-list span:last-child { grid-column: 1 / -1; } }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.related a { display: grid; gap: 8px; align-content: start; padding: 24px; background: var(--paper); border: 1px solid var(--line); color: inherit; text-decoration: none; min-width: 0; }
.related a:hover { border-color: var(--blue); }
.related b { color: var(--ink); font-size: 18px; font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.related b::after { content: "→"; color: var(--blue); font-weight: 400; }
.related span { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 820px) { .related { grid-template-columns: 1fr; } }

/* long-form text */
.prose { max-width: var(--measure); min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { font-size: 17px; line-height: 1.8; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 2.2em; }
.prose h3 { font-size: 20px; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--blue); }
.wide { margin-block: 48px; max-width: 1000px; }
.wide figcaption, .dia figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: var(--measure); }
.callout { padding: 16px 20px; border-left: 2px solid var(--blue); background: var(--surface); color: var(--copy); font-size: 14.5px; line-height: 1.7; max-width: var(--measure); }
.callout.is-quiet { border-left-color: var(--line); color: var(--muted); }

/* diagrams: inline SVG drawn with the page's own tokens */
.dia { margin: 0; }
.dia svg { display: block; width: 100%; height: auto; max-width: 100%; }
.dia-scroll { overflow-x: auto; }
.dia-scroll svg { min-width: 640px; }
.dia text { font-family: var(--font); fill: var(--ink); }
.dia .muted { fill: var(--muted); }
.dia .line { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.dia .soft { stroke: var(--line); stroke-width: 1.5; fill: none; }
.dia .accent { stroke: var(--blue); stroke-width: 2; fill: none; }
.dia .box { fill: var(--paper); stroke: var(--line); stroke-width: 1.5; }
.dia .box-ours { fill: #e8f0fb; stroke: var(--blue); stroke-width: 1.5; }
.dia .fill-ours { fill: var(--blue); }
.dia .fill-soft { fill: #eef2f6; }
.dark .dia text { fill: #fff; }
.dark .dia .muted { fill: var(--dark-muted); }
.dark .dia .line { stroke: #8fc0ff; }
.dark .dia .box { fill: var(--dark); stroke: rgba(143, 192, 255, .35); }

/* glossary */
.terms { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 920px; }
.term { border-bottom: 1px solid var(--line); }
.term > summary { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 20px 0; cursor: pointer; list-style: none; }
.term > summary::-webkit-details-marker { display: none; }
.term > summary::after { content: "+"; color: var(--blue); font-size: 20px; line-height: 1; }
.term[open] > summary::after { content: "−"; }
.term > summary b { color: var(--ink); font-size: 18px; font-weight: 500; }
.term > summary span { color: var(--muted); font-size: 15px; }
.term > .prose { padding: 0 0 28px; }
.terms-h { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin: 48px 0 12px; }
@media (max-width: 720px) { .term > summary { grid-template-columns: 1fr auto; } .term > summary span { grid-column: 1 / -1; } .term > summary::after { grid-row: 1; grid-column: 2; } }

/* events */
.event-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.event-feature .media { aspect-ratio: 16 / 10; }
.event-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.event-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.event-card { display: grid; gap: 10px; align-content: start; color: inherit; text-decoration: none; min-width: 0; }
.event-card .media { aspect-ratio: 16 / 10; }
.event-card h3 { font-size: 19px; }
.event-card:hover h3 { color: var(--blue); }
@media (max-width: 900px) { .event-feature, .event-list { grid-template-columns: 1fr 1fr; } .event-feature { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .event-list { grid-template-columns: 1fr; } }

.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.photo-grid figure { margin: 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.photo-grid .media { aspect-ratio: 3 / 2; }
.photo-grid figure.is-wide { grid-column: span 2; }
.photo-grid figure.is-wide .media { aspect-ratio: auto; height: 100%; min-height: 240px; }
.photo-grid figcaption { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 760px) { .photo-grid { grid-template-columns: 1fr 1fr; } .photo-grid figure.is-wide { grid-column: span 2; } }

/* forms: real fields, nothing leaves the page */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; max-width: 920px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.is-wide { grid-column: 1 / -1; }
.field label, .field legend { color: var(--ink); font-size: 14.5px; font-weight: 500; }
.field small { color: var(--muted); font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #c3cedd;
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field fieldset { border: 0; margin: 0; padding: 0; display: flex; gap: 10px 20px; flex-wrap: wrap; }
.field fieldset label { display: inline-flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.field fieldset input { width: auto; min-height: 0; accent-color: var(--blue); }
.form-actions { grid-column: 1 / -1; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.form-done { grid-column: 1 / -1; padding: 16px 20px; background: #e8f3ee; color: #16704d; border-left: 2px solid #16704d; font-size: 15px; }
/* the live inquiry flow (inquiry.js): status line beside the button, hidden anti-bot field */
.form-status { flex: 1 1 280px; color: var(--copy); font-size: 15px; line-height: 1.55; }
.form-status:empty { display: none; }
.form-status.is-error { color: #a4262c; }
.form-status.is-success { padding: 12px 16px; background: #e8f3ee; color: #16704d; border-left: 2px solid #16704d; }
.form-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 720px) { .form { grid-template-columns: 1fr; } }

.downloads { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); max-width: 920px; }
.downloads li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.downloads b { color: var(--ink); font-weight: 500; }
.downloads span { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .downloads li { grid-template-columns: 1fr auto; } .downloads span { display: none; } }

.entities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.entities > div { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); min-width: 0; }
.entities b { color: var(--ink); font-weight: 500; font-size: 17px; }
@media (max-width: 720px) { .entities { grid-template-columns: 1fr; } }

.data-table-wrap { overflow-x: auto; max-width: 100%; }
.data-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.data-table.is-compact { min-width: 0; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { color: var(--muted); font-size: 13px; font-weight: 500; }
.data-table tbody th { color: var(--ink); font-weight: 500; }
.data-table td { color: var(--ink); font-variant-numeric: tabular-nums; }

/* small helpers */
.stack { display: grid; gap: 24px; }
.center-media { display: grid; place-items: center; }
.media.is-studio { background: #eef2f6; }
.media.is-white { background: #fff; }
