/*
  Apex Circle — Multilingual Production Website V3.0
  Design system: quiet confidence, editorial clarity, private-community trust.
  No third-party CSS or font dependencies.
*/

:root {
  --paper: #f6f3ed;
  --paper-strong: #ece7dd;
  --paper-soft: #fbfaf7;
  --ink: #111111;
  --ink-soft: #242321;
  --muted: #6b675f;
  --line: rgba(17, 17, 17, 0.16);
  --line-strong: rgba(17, 17, 17, 0.32);
  --white: #ffffff;
  --black: #0f0f0f;
  --positive: #17613a;
  --danger: #8a2f28;
  --max: 1320px;
  --reading: 760px;
  --serif: "Bodoni 72", Didot, "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 24px 80px rgba(17, 17, 17, 0.08);
  --header-h: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
fieldset { border: 0; padding: 0; margin: 0; }
summary { cursor: pointer; }
::selection { background: var(--ink); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -120px;
  z-index: 2000;
  padding: .78rem 1.05rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}
.container-narrow {
  width: min(calc(100% - 48px), var(--reading));
  margin-inline: auto;
}

.section { padding: clamp(82px, 10vw, 150px) 0; }
.section-tight { padding: clamp(56px, 7vw, 104px) 0; }
.section-flush { padding: 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.eyebrow {
  margin: 0 0 1.2rem;
  font-size: .74rem;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--muted);
}
.display,
.h1,
.h2,
.h3,
.h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}
.display {
  font-size: clamp(3.65rem, 8.4vw, 8.2rem);
  line-height: .89;
  letter-spacing: -.06em;
}
.h1 {
  font-size: clamp(3.25rem, 7.1vw, 7.1rem);
  line-height: .92;
  letter-spacing: -.052em;
}
.h2 {
  font-size: clamp(2.45rem, 5.1vw, 5.2rem);
  line-height: .97;
  letter-spacing: -.045em;
}
.h3 {
  font-size: clamp(1.75rem, 2.9vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.h4 {
  font-size: 1.42rem;
  line-height: 1.12;
  letter-spacing: -.015em;
}
.lead {
  margin: 1.6rem 0 0;
  max-width: var(--reading);
  font-size: clamp(1.08rem, 1.55vw, 1.34rem);
  line-height: 1.72;
  color: #37342f;
}
.body-large {
  font-size: clamp(1.12rem, 1.6vw, 1.38rem);
  line-height: 1.75;
  color: #37342f;
}
.muted { color: var(--muted); }
.kicker { font-weight: 700; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: .16rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .82rem 1.28rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: .88rem;
  letter-spacing: .01em;
  font-weight: 720;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #2a2927; }
.btn-light { background: var(--paper-soft); }
.btn-light:hover { background: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.42); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-small { min-height: 42px; padding: .62rem 1rem; font-size: .82rem; }
.icon-arrow { width: 1.05em; height: 1.05em; }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(38px, 7vw, 110px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: grid; gap: 1.25rem; }
.stack-lg { display: grid; gap: 2rem; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 500;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(246, 243, 237, .94);
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(17,17,17,.04);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 190px;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  position: relative;
  z-index: 2;
}
.brand img { width: 142px; }
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.85rem, 1.55vw, 1.7rem);
  font-size: .82rem;
  font-weight: 720;
  white-space: nowrap;
}
.desktop-nav a { position: relative; padding: .4rem 0; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .1rem;
  height: 1px;
  background: currentColor;
  transition: right .25s var(--ease);
}
.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after { right: 0; }
.header-cta { display: flex; justify-content: flex-end; }

/* Native details mobile navigation: closed by default, preventing raw links over the logo. */
.mobile-menu { display: none !important; position: relative; }
.mobile-menu > summary {
  list-style: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(246,243,237,.92);
}
.mobile-menu > summary::-webkit-details-marker { display: none; }
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: .25s var(--ease);
}
.menu-icon::before,
.menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.mobile-menu[open] .menu-icon { background: transparent; }
.mobile-menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.mobile-menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.mobile-panel {
  position: fixed;
  inset: var(--header-h) 0 0;
  padding: 22px 24px 40px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow: auto;
}
.mobile-panel nav { display: grid; }
.mobile-panel nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.1;
}
.mobile-panel nav a::after { content: "↗"; font-family: var(--sans); font-size: .82rem; color: var(--muted); }
.mobile-panel .actions { margin-top: 1.5rem; }

/* Home intro */
.intro-gate {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  background: #000;
  opacity: 1;
  visibility: visible;
  transition: opacity .75s var(--ease), visibility .75s;
}
.intro-gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-gate video { width: 100%; height: 100%; object-fit: cover; }
.intro-controls {
  position: absolute;
  right: clamp(18px, 3vw, 44px);
  bottom: clamp(18px, 3vw, 40px);
  display: flex;
  gap: .65rem;
}
.intro-control {
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  padding: .64rem 1rem;
  background: rgba(0,0,0,.32);
  color: var(--white);
  font-size: .82rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Hero */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(148px, 16vh, 190px) 0 66px;
  position: relative;
  overflow: clip;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(17,17,17,.11);
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: min(61vw, 820px);
  aspect-ratio: 1;
  right: -13vw;
  top: 13%;
  animation: orbit 14s ease-in-out infinite alternate;
}
.hero::after {
  width: min(37vw, 510px);
  aspect-ratio: 1;
  right: 3vw;
  top: 27%;
  animation: orbit 11s 1s ease-in-out infinite alternate-reverse;
}
@keyframes orbit { to { transform: translate3d(-20px, 24px, 0) scale(1.025); } }
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr);
  gap: clamp(38px, 5vw, 78px);
  align-items: end;
}
.hero-copy { max-width: 980px; }
.hero-copy .lead { max-width: 760px; }
.hero-facts {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.4rem, 3vw, 2.4rem);
  align-self: end;
}
.hero-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.12rem 0;
  border-bottom: 1px solid var(--line);
}
.hero-fact strong { font-family: var(--serif); font-size: 2.15rem; font-weight: 400; line-height: 1; }
.hero-fact span { max-width: 180px; text-align: right; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 17px;
  transform: translateX(-50%);
  font-size: .67rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Editorial blocks */
.editorial-split {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr);
  gap: clamp(44px, 8vw, 130px);
}
.editorial-split + .editorial-split { margin-top: clamp(70px, 10vw, 150px); }
.editorial-copy p:first-of-type { margin-top: 1.5rem; }
.editorial-copy p { max-width: 760px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature-card {
  min-height: 305px;
  padding: clamp(26px, 3.5vw, 46px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: background .25s, transform .25s var(--ease);
}
.feature-card:hover { background: var(--white); transform: translateY(-4px); }
.feature-number { font-family: var(--serif); font-size: 1.35rem; color: var(--muted); margin-bottom: auto; }
.feature-card .h4 { margin: 3.8rem 0 .8rem; }
.feature-card p { color: var(--muted); margin: 0; }

.dark { background: var(--black); color: var(--white); }
.dark .eyebrow,
.dark .muted,
.dark .lead,
.dark .body-large { color: rgba(255,255,255,.66); }
.dark .rule { border-color: rgba(255,255,255,.18); }
.dark-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}
.quote {
  max-width: 1000px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.5vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.orbit-mark {
  width: min(450px, 82vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-inline: auto;
  position: relative;
}
.orbit-mark::before,
.orbit-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
}
.orbit-mark::before { inset: 13%; }
.orbit-mark::after { inset: 27%; }
.orbit-mark img { width: 38%; position: relative; z-index: 1; }

.journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.journey-step {
  min-height: 250px;
  padding: 2rem 1.55rem;
  border-right: 1px solid var(--line);
  position: relative;
}
.journey-step:last-child { border-right: 0; }
.journey-step::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  position: absolute;
  left: 1.55rem;
  top: -5px;
}
.journey-step b {
  display: block;
  margin-bottom: 4.4rem;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.journey-step p { margin-bottom: 0; }

.event-panel {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  background: var(--paper-soft);
}
.event-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.event-visual::before,
.event-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
}
.event-visual::before { width: 72%; aspect-ratio: 1; }
.event-visual::after { width: 42%; aspect-ratio: 1; }
.event-visual img { width: 28%; position: relative; z-index: 2; }
.event-copy { padding: clamp(38px, 6vw, 84px); display: flex; flex-direction: column; justify-content: center; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metric { padding: 2.4rem 1.8rem; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 4.2rem); font-weight: 400; line-height: 1; }
.metric span { display: block; margin-top: .7rem; color: var(--muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }

/* Internal page hero */
.page-hero {
  min-height: 72svh;
  display: flex;
  align-items: end;
  padding: clamp(170px, 19vh, 220px) 0 clamp(82px, 9vw, 126px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: clip;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(17,17,17,.1);
  border-radius: 50%;
  right: -12vw;
  bottom: -35%;
  pointer-events: none;
}
.page-hero .lead { max-width: 800px; }
.page-hero-inner { position: relative; z-index: 1; }

.breadcrumbs {
  display: flex;
  gap: .6rem;
  align-items: center;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: .78rem;
}
.breadcrumbs a { border-bottom: 1px solid transparent; }
.breadcrumbs a:hover { border-color: currentColor; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.info-card {
  min-height: 285px;
  padding: clamp(30px, 4vw, 58px);
  background: var(--paper);
}
.info-card .h3 { margin-top: 1rem; }
.info-card p { color: var(--muted); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .72rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}

.number-list { counter-reset: item; }
.number-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 1.35rem;
  padding: 2.1rem 0;
  border-top: 1px solid var(--line);
}
.number-item::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--muted);
}
.number-item h3 { margin: 0 0 .65rem; font-family: var(--serif); font-size: 1.85rem; font-weight: 400; line-height: 1.1; }
.number-item p { margin: 0; color: var(--muted); }

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.process-step { padding: clamp(26px, 3vw, 42px); background: var(--paper); min-height: 285px; }
.process-step span { font-family: var(--serif); font-size: 1.4rem; color: var(--muted); }
.process-step h3 { margin: 4rem 0 .8rem; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; line-height: 1.08; }
.process-step p { margin: 0; color: var(--muted); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.category-card {
  min-height: 220px;
  padding: 2rem;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.category-card span { color: var(--muted); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.category-card h3 { margin: 2rem 0 0; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; line-height: 1.05; }

.chapter-map {
  min-height: 580px;
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr);
  overflow: hidden;
}
.chapter-map-copy { padding: clamp(42px, 7vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.chapter-map-visual { position: relative; min-height: 460px; }
.chapter-map-visual::before,
.chapter-map-visual::after,
.chapter-ring {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.27);
}
.chapter-map-visual::before { width: 78%; aspect-ratio: 1; left: 7%; top: 7%; }
.chapter-map-visual::after { width: 48%; aspect-ratio: 1; left: 22%; top: 22%; }
.chapter-ring { width: 22%; aspect-ratio: 1; left: 35%; top: 35%; }
.chapter-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 8px rgba(255,255,255,.12);
}
.chapter-dot.sg { left: 44%; top: 52%; }
.chapter-dot.one { left: 66%; top: 27%; }
.chapter-dot.two { left: 25%; top: 34%; }
.chapter-dot.three { left: 63%; top: 70%; }

/* FAQs */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 2rem;
  align-items: center;
  padding: 1.6rem 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.15;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 22px; height: 22px; position: relative; justify-self: end; }
.faq-icon::before,
.faq-icon::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: var(--ink); transition: transform .25s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { max-width: 820px; padding: 0 0 1.8rem; color: var(--muted); }

/* Forms */
.form-shell {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  background: var(--paper-soft);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .48rem; }
.field label { font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 760; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  padding: .98rem 1rem;
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,17,.07); }
.field textarea { min-height: 155px; resize: vertical; }
.checkbox {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: .7rem;
  align-items: start;
  color: var(--muted);
  font-size: .84rem;
}
.checkbox input { width: 18px; height: 18px; margin-top: .14rem; }
.form-note { margin: 0; color: var(--muted); font-size: .82rem; }
.form-status { min-height: 1.55rem; margin: 0; font-size: .88rem; }
.form-status.is-success { color: var(--positive); }
.form-status.is-error { color: var(--danger); }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.contact-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card { padding: 1.7rem; background: var(--paper); }
.contact-card span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { display: block; margin-top: .55rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); }
.legal-nav { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; display: grid; gap: .65rem; font-size: .84rem; color: var(--muted); }
.legal-nav a:hover { color: var(--ink); }
.legal-content { max-width: 820px; }
.legal-content section { scroll-margin-top: calc(var(--header-h) + 30px); }
.legal-content section + section { margin-top: 3.2rem; }
.legal-content h2 { font-family: var(--serif); font-size: 2.1rem; font-weight: 400; line-height: 1.1; }
.legal-content h3 { margin-top: 1.8rem; font-size: 1rem; }
.legal-content p,
.legal-content li { color: #45413b; }
.legal-content ul { padding-left: 1.2rem; }

/* CTA */
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 3rem;
  align-items: end;
  padding: clamp(42px, 7vw, 88px);
  border: 1px solid var(--line);
  background: var(--paper-soft);
}
.cta-band .actions { justify-content: flex-end; }

/* Footer */
.site-footer { background: var(--black); color: var(--white); padding: 86px 0 28px; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: end;
}
.footer-logo { width: min(390px, 80vw); }
.footer-tag { margin: 2rem 0 0; font-family: var(--serif); font-size: clamp(2.3rem, 4.5vw, 4.8rem); line-height: .95; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 2rem; font-size: .86rem; }
.footer-nav a { color: rgba(255,255,255,.78); }
.footer-nav a:hover { color: var(--white); }
.footer-meta {
  margin-top: 76px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  color: rgba(255,255,255,.56);
  font-size: .76rem;
}
.footer-tools { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-button { border: 0; background: transparent; color: inherit; padding: 0; text-decoration: underline; text-underline-offset: 4px; }

/* Reveal enhancement; content remains visible without JavaScript. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1160px) {
  .header-inner { grid-template-columns: 165px minmax(0, 1fr) 165px; }
  .brand img { width: 128px; }
  .desktop-nav { gap: .9rem; font-size: .78rem; }
  .header-cta .btn { padding-inline: 1rem; }
}

@media (max-width: 1180px) {
  :root { --header-h: 78px; }
  .header-inner { min-height: var(--header-h); grid-template-columns: 1fr auto; }
  .desktop-nav,
  .header-cta { display: none; }
  .mobile-menu { display: block !important; }
  .brand img { width: 124px; }
  .hero-inner,
  .grid-2,
  .editorial-split,
  .dark-panel,
  .footer-top,
  .form-shell,
  .legal-layout { grid-template-columns: 1fr; }
  .hero-facts { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card { min-height: 270px; }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-step:nth-child(2) { border-right: 0; }
  .journey-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .event-panel { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter-map { grid-template-columns: 1fr; }
  .chapter-map-visual { min-height: 520px; }
  .legal-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .container,
  .container-narrow { width: min(calc(100% - 30px), var(--max)); }
  .display { font-size: clamp(3.25rem, 17vw, 5.4rem); }
  .h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .h2 { font-size: clamp(2.35rem, 11.5vw, 4.1rem); }
  .hero { padding-top: 132px; }
  .hero::before { width: 115vw; right: -60vw; }
  .hero::after { width: 78vw; right: -26vw; }
  .hero-fact strong { font-size: 1.85rem; }
  .feature-grid,
  .info-grid,
  .category-grid,
  .metrics,
  .form-row { grid-template-columns: 1fr; }
  .feature-card { min-height: 240px; }
  .metrics { display: grid; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .journey { grid-template-columns: 1fr; }
  .journey-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .journey-step:last-child { border-bottom: 0; }
  .event-visual { min-height: 360px; }
  .process { grid-template-columns: 1fr; }
  .chapter-map-visual { min-height: 390px; }
  .legal-nav { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-meta { flex-direction: column; }
  .mobile-panel nav a { font-size: 1.55rem; }
}

@media (max-width: 450px) {
  .footer-nav { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .actions { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .intro-gate,
  .actions,
  .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero { min-height: auto; padding: 2rem 0; }
  .section { padding: 2rem 0; }
  a { text-decoration: underline; }
}

/* Insights and editorial articles */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.insight-card {
  min-height: 390px;
  padding: clamp(28px, 3.5vw, 46px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: background .25s, transform .25s var(--ease);
}
.insight-card:hover { background: var(--white); transform: translateY(-4px); }
.insight-card .eyebrow { margin-bottom: auto; }
.insight-card h2,
.insight-card h3 { margin: 3.5rem 0 1rem; font-family: var(--serif); font-size: clamp(1.7rem, 2.5vw, 2.35rem); font-weight: 400; line-height: 1.04; letter-spacing: -.025em; }
.insight-card p { color: var(--muted); }
.insight-card .text-link { margin-top: auto; width: fit-content; }
.article-hero {
  padding: clamp(170px, 18vh, 220px) 0 clamp(70px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
}
.article-hero .h1 { max-width: 1120px; }
.article-meta { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1.7rem; color: var(--muted); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.article-layout { display: grid; grid-template-columns: minmax(180px, .48fr) minmax(0, 1.52fr); gap: clamp(46px, 8vw, 130px); }
.article-aside { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.article-aside p { color: var(--muted); font-size: .88rem; }
.article-body { max-width: 820px; }
.article-body h2 { margin: 3.6rem 0 1.1rem; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.25rem); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 2.2rem 0 .8rem; font-size: 1.1rem; }
.article-body p,
.article-body li { color: #403d37; font-size: 1.08rem; line-height: 1.82; }
.article-body ul,
.article-body ol { padding-left: 1.35rem; }
.article-callout { margin: 3rem 0; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); background: var(--paper-soft); }
.article-callout p { margin: 0; font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.8rem); line-height: 1.08; letter-spacing: -.025em; color: var(--ink); }
@media (max-width: 1180px) {
  .insight-grid { grid-template-columns: 1fr; }
  .insight-card { min-height: 300px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
}


/* Multilingual navigation and typography */
.header-inner { grid-template-columns: 170px minmax(0,1fr) auto auto; gap: 1.15rem; }
.language-switcher { display:flex; align-items:center; gap:.2rem; padding:.22rem; border:1px solid var(--line); border-radius:999px; white-space:nowrap; }
.language-switcher a { min-width:34px; height:30px; padding:0 .5rem; display:grid; place-items:center; border-radius:999px; font-size:.68rem; font-weight:760; letter-spacing:.04em; color:var(--muted); }
.language-switcher a:hover, .language-switcher a.is-active { background:var(--ink); color:var(--white); }
.mobile-language-switcher { display:grid !important; grid-template-columns:repeat(3,1fr); gap:.5rem; margin-top:1.5rem; }
.mobile-language-switcher a { justify-content:center !important; border:1px solid var(--line) !important; padding:.78rem !important; font-family:var(--sans) !important; font-size:.82rem !important; font-weight:720; }
.mobile-language-switcher a::after { display:none !important; }
.mobile-language-switcher a[aria-current="page"] { background:var(--ink); color:var(--white); }
html[lang="zh-SG"] body { font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif; }
html[lang="zh-SG"] .display, html[lang="zh-SG"] .h1, html[lang="zh-SG"] .h2, html[lang="zh-SG"] .h3, html[lang="zh-SG"] .h4, html[lang="zh-SG"] .footer-tag, html[lang="zh-SG"] .quote, html[lang="zh-SG"] .mobile-panel nav a { font-family:"Songti SC","STSong","Noto Serif CJK SC","Microsoft YaHei",serif; letter-spacing:-.035em; line-height:1.08; }
html[lang="zh-SG"] .display { line-height:.98; }
html[lang="zh-SG"] .eyebrow { letter-spacing:.12em; }
@media (max-width: 1320px) {
  .header-inner { grid-template-columns:150px minmax(0,1fr) auto auto; gap:.8rem; }
  .brand img { width:122px; }
  .desktop-nav { gap:.78rem; font-size:.76rem; }
  .header-cta .btn { padding-inline:.9rem; font-size:.8rem; }
}
@media (max-width: 1180px) {
  .header-inner { grid-template-columns:1fr auto; }
  .desktop-nav, .header-cta, .language-switcher { display:none; }
}
