﻿/* ============================================================
   Vetrapay — design system
   Palette drawn from the brand mark: navy #182959, green #278B66.
   Typography: Inter Tight (Latin), Noto Sans TC (Traditional Chinese),
   Instrument Serif italic for accent words.
   ============================================================ */

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body,
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

:root {
  --cream: #f8f5ee;
  --cream-2: #f2ecdf;
  --paper: #fdfbf6;
  --ink: #13241c;
  --ink-2: #2b3a32;
  --muted: #5f6e66;
  --line: rgba(19, 36, 28, 0.14);
  --line-soft: rgba(19, 36, 28, 0.075);
  --green: #0b6b49;
  --green-600: #17805b;
  --green-100: rgba(39, 139, 102, 0.09);
  --navy: #182959;
  --brass: #7e5f24;
  --brass-2: #c9a55e;
  --dark: #0e241c;
  --dark-2: #143027;
  --cream-on-dark: #f3eee2;

  --sans: "Inter Tight", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei",
    "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --pill: 999px;

  --gut: clamp(20px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
}

/* ---------- base ---------- */
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis-weight: none;
  overflow-x: hidden;
}

:lang(zh-Hant) body,
body:lang(zh-Hant) { font-size: 16.5px; line-height: 1.85; letter-spacing: 0.012em; }

::selection { background: var(--green); color: var(--cream); }

a { text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: var(--pill);
  font-size: 14px;
  transition: top 0.2s;
}
.skip:focus { top: 16px; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section {
  position: relative;
  padding-block: clamp(56px, 7.4vw, 112px);
}
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--dark); color: var(--cream-on-dark); }

.section--ruled { padding-top: 0; }
.section--ruled > .wrap {
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6.4vw, 96px);
}
.page-hero + .section--ruled > .wrap {
  border-top: 0;
  padding-top: clamp(8px, 2vw, 24px);
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(34px, 4.4vw, 60px);
}
.sec-head--stack { grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 18px; }
  .sec-head__right { max-width: 60ch; }
}
.sec-head--stack .sec-head__right { max-width: 58ch; }

/* ---------- type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
:lang(zh-Hant) .eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 500;
}
.eyebrow__num {
  font-variant-numeric: tabular-nums;
  color: var(--brass);
  opacity: 0.75;
}
.eyebrow__line {
  width: clamp(28px, 5vw, 64px);
  height: 1px;
  background: currentColor;
  opacity: 0.3;
}
.section--dark .eyebrow { color: var(--brass-2); }

h1,
.display {
  font-size: clamp(2.55rem, 5.4vw, 4.75rem);
  font-weight: 300;
  line-height: 0.99;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
:lang(zh-Hant) h1,
:lang(zh-Hant) .display {
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: 0.01em;
}

h2,
.h2 {
  font-size: clamp(1.85rem, 3.3vw, 2.9rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
:lang(zh-Hant) h2,
:lang(zh-Hant) .h2 {
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: 0.01em;
}

h3,
.h3 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.014em;
}
:lang(zh-Hant) h3,
:lang(zh-Hant) .h3 { font-weight: 500; letter-spacing: 0.015em; line-height: 1.5; }

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.012em;
}
:lang(zh-Hant) em {
  font-family: inherit;
  font-style: normal;
  color: #9a7326;
  letter-spacing: inherit;
}

.lede {
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}
:lang(zh-Hant) .lede { line-height: 1.85; }

p { color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; line-height: 1.55; }
.xs { font-size: 0.78rem; line-height: 1.5; letter-spacing: 0.01em; }
.section--dark p { color: rgba(243, 238, 226, 0.76); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--green); color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(19, 36, 28, 0.04); }

.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--brass-2); }

.btn--outline-light { border-color: rgba(243, 238, 226, 0.35); color: var(--cream-on-dark); }
.btn--outline-light:hover { border-color: var(--cream); background: rgba(243, 238, 226, 0.08); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--green);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(248, 245, 238, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}
.site-header.is-scrolled::after { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 26px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 450;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: clamp(10px, 1.5vw, 22px); }

.lang {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: rgba(253, 251, 246, 0.5);
}
.lang__link {
  padding: 5px 11px;
  border-radius: var(--pill);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: background 0.25s, color 0.25s;
}
.lang__link:hover { color: var(--ink); }
.lang__link[aria-current="true"] { background: var(--ink); color: var(--cream); }

.header-cta { display: inline-flex; }
@media (max-width: 1023px) { .header-cta { display: none; } }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  position: relative;
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: background 0.2s;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__toggle span::before { top: -5px; }
.nav__toggle span::after { top: 5px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav-panel {
  position: fixed;
  inset: 78px 0 auto;
  z-index: 49;
  display: none;
  padding: 8px var(--gut) 30px;
  max-height: calc(100dvh - 78px);
  overflow-y: auto;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -28px rgba(19, 36, 28, 0.35);
}
.nav-panel[data-open="true"] { display: block; }
.nav-panel ul { display: grid; gap: 2px; }
.nav-panel ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 2px;
  font-size: 1.12rem;
  border-bottom: 1px solid var(--line-soft);
}
.nav-panel .lang { margin-top: 18px; }
.nav-panel .btn { margin-top: 18px; width: 100%; justify-content: center; }

@media (max-width: 1023px) {
  .nav__toggle { display: inline-flex; }
  .nav__list { display: none; }
  .header-actions { margin-left: 0; }
  .header-actions .lang { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(96px, 11vw, 148px);
  padding-bottom: clamp(36px, 4.5vw, 64px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(26px, 3.6vw, 56px);
  align-items: stretch;
}
.hero__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(4px, 1.2vw, 16px);
}
.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 30px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 44ch;
}
.hero__visual { position: relative; z-index: 1; display: flex; }

/* hero panel */
.hero__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  min-height: 460px;
  padding: clamp(18px, 2vw, 26px);
  border-radius: var(--r-lg);
  background: var(--dark);
  color: var(--cream-on-dark);
  overflow: hidden;
}
.hero__panel::before {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -28%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 139, 102, 0.38), rgba(39, 139, 102, 0) 68%);
  pointer-events: none;
}
.hero__panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-2);
}
.hero__panel-head span:last-child { color: rgba(243, 238, 226, 0.42); letter-spacing: 0.1em; }
.hero__panel-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__panel-foot {
  position: relative;
  z-index: 1;
  padding-top: 12px;
  border-top: 1px solid rgba(243, 238, 226, 0.14);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(243, 238, 226, 0.55);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 560px) {
  .hero__actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .closing__actions { display: grid; grid-template-columns: 1fr; }
  .closing__actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 979px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { order: 2; margin-top: 10px; }
  .hero .lede { max-width: 62ch; }
  .hero__panel { min-height: 400px; }
}

/* network map */
.netmap { position: relative; width: 100%; }
.netmap svg { width: 100%; height: auto; overflow: visible; }
.netmap__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.netmap__legend span { display: inline-flex; align-items: center; gap: 7px; }
.netmap__legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.netmap__legend i.is-hub { background: var(--ink); box-shadow: 0 0 0 3px rgba(19, 36, 28, 0.12); }
.netmap__legend i.is-link {
  width: 16px;
  height: 1px;
  border-radius: 0;
  background: rgba(19, 36, 28, 0.35);
}

.nm-line {
  fill: none;
  stroke: rgba(19, 36, 28, 0.34);
  stroke-width: 1.2;
  stroke-dasharray: 2 6;
  animation: nm-flow 9s linear infinite;
}
.nm-link {
  fill: none;
  stroke: rgba(19, 36, 28, 0.26);
  stroke-width: 1;
}
.nm-ring { fill: none; stroke: rgba(19, 36, 28, 0.13); stroke-width: 1; }
.nm-node { fill: var(--cream); stroke: var(--ink); stroke-width: 1.5; }
.nm-node--hub { fill: var(--ink); stroke: none; }

.nm-halo { fill: rgba(11, 107, 73, 0.09); }
.nm-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  fill: var(--ink-2);
}
:lang(zh-Hant) .nm-label { letter-spacing: 0.12em; font-size: 13px; font-weight: 400; }
.nm-label--sub { fill: var(--muted); font-size: 10.5px; letter-spacing: 0.04em; text-transform: none; font-weight: 400; }
.nm-hub-label { fill: var(--cream); font-size: 11px; letter-spacing: 0.14em; font-weight: 500; }
@keyframes nm-flow { to { stroke-dashoffset: -160; } }
@media (prefers-reduced-motion: reduce) {
  .nm-line { animation: none; }
}

/* map on dark */
.netmap--dark .nm-line { stroke: rgba(243, 238, 226, 0.36); }
.netmap--dark .nm-link { stroke: rgba(243, 238, 226, 0.24); }
.netmap--dark .nm-ring { stroke: rgba(243, 238, 226, 0.15); }
.netmap--dark .nm-node { fill: var(--dark); stroke: rgba(243, 238, 226, 0.85); }
.netmap--dark .nm-node--hub { fill: var(--brass-2); stroke: none; }

.netmap--dark .nm-halo { fill: rgba(201, 165, 94, 0.1); }
.netmap--dark .nm-label { fill: rgba(243, 238, 226, 0.88); }
.netmap--dark .nm-label--sub { fill: rgba(243, 238, 226, 0.46); }
.netmap--dark .nm-hub-label { fill: var(--dark); }
.netmap--dark .netmap__legend { color: rgba(243, 238, 226, 0.55); justify-content: center; }
.netmap--dark .netmap__legend i { background: rgba(243, 238, 226, 0.8); }
.netmap--dark .netmap__legend i.is-hub { background: var(--brass-2); box-shadow: 0 0 0 3px rgba(201, 165, 94, 0.2); }
.netmap--dark .netmap__legend i.is-link { background: rgba(243, 238, 226, 0.4); }

/* ---------- facts strip ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact {
  padding: 26px 26px 26px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fact:last-child { border-right: 0; padding-right: 0; }
.fact:not(:first-child) { padding-left: 26px; }
.fact__value {
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.fact__label { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 880px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .fact:nth-child(3) { padding-left: 0; }
  .fact:nth-child(odd) { padding-left: 0; }
}

/* ---------- why / stacked list ---------- */
.why-list { display: grid; border-top: 1px solid var(--line); }
.why-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(12px, 2.4vw, 40px);
  padding-block: clamp(22px, 2.6vw, 32px);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.why-item__num {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--brass);
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
}
.why-item h3 { margin-bottom: 0; padding-top: 2px; }
.why-item p { max-width: 56ch; font-size: 0.96rem; color: var(--muted); }
@media (max-width: 820px) {
  .why-item { grid-template-columns: 46px minmax(0, 1fr); }
  .why-item h3 { grid-column: 2; }
  .why-item p { grid-column: 2; margin-top: 8px; }
}

/* ---------- stats band ---------- */
.stats-band { background: var(--dark); color: var(--cream-on-dark); }
.stats-band .wrap { padding-block: clamp(48px, 6vw, 76px); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.stat { padding-right: 20px; border-right: 1px solid rgba(243, 238, 226, 0.16); }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat__value {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--cream-on-dark);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
:lang(zh-Hant) .stat__value { letter-spacing: 0.01em; font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.stat__label { font-size: 0.9rem; color: rgba(243, 238, 226, 0.8); max-width: 30ch; }
.stat__src {
  display: block;
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgba(243, 238, 226, 0.45);
}
@media (max-width: 820px) {
  .stats { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(243, 238, 226, 0.16); padding: 0 0 22px; }
  .stat:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(19, 36, 28, 0.3);
  box-shadow: 0 22px 40px -32px rgba(19, 36, 28, 0.4);
}
.card__num {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--brass);
  margin-bottom: clamp(22px, 3vw, 32px);
  font-variant-numeric: tabular-nums;
}
.card h3 { margin-bottom: 9px; }
.card p { font-size: 0.94rem; color: var(--muted); }
.card__list { margin-top: 18px; display: grid; gap: 8px; }
.card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.88rem;
  color: var(--muted);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1px;
  background: var(--brass-2);
}

@media (max-width: 980px) {
  .cards, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .cards, .cards--2, .cards--4 { grid-template-columns: minmax(0, 1fr); }
  .card__num { margin-bottom: 20px; }
}

/* ---------- flow ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.flow__step {
  background: var(--paper);
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  color: var(--brass);
}
.flow__step h3 { font-size: 1.02rem; margin-top: 4px; }
.flow__step p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

.flow__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 13px 18px;
  border-radius: var(--pill);
  border: 1px dashed rgba(19, 36, 28, 0.24);
  font-size: 0.8rem;
  color: var(--ink-2);
  background: rgba(11, 107, 73, 0.045);
}
.flow__bar svg { width: 14px; height: 14px; flex: none; color: var(--green); }
.flow__note { margin-top: 18px; font-size: 0.82rem; color: var(--muted); }

@media (max-width: 900px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- serve list ---------- */
.serve {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.serve__item {
  padding: 26px 24px 0 0;
  border-right: 1px solid var(--line);
}
.serve__item:last-child { border-right: 0; }
.serve__item:not(:first-child) { padding-left: 24px; }
.serve__item h3 { margin-bottom: 8px; font-size: 1.05rem; }
.serve__item p { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 900px) {
  .serve { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .serve__item:nth-child(2n) { border-right: 0; }
  .serve__item:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 26px; }
  .serve__item:nth-child(3) { padding-left: 0; }
  .serve__item:nth-child(odd) { padding-left: 0; }
}
@media (max-width: 560px) {
  .serve { grid-template-columns: minmax(0, 1fr); }
  .serve__item { border-right: 0; padding: 22px 0 0; }
  .serve__item:not(:first-child) { padding-left: 0; }
  .serve__item:nth-child(n + 2) { border-top: 1px solid var(--line); margin-top: 22px; }
}

.serve--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .serve--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .serve--3 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- check list ---------- */
.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.check {
  background: var(--paper);
  padding: clamp(20px, 2.2vw, 28px);
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
}
.check__mark {
  width: 16px;
  height: 16px;
  margin-top: 5px;
  color: var(--green);
}
.check h3 { font-size: 1rem; margin-bottom: 6px; }
.check p { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 760px) { .checks { grid-template-columns: minmax(0, 1fr); } }

/* ---------- closing CTA ---------- */
.closing { background: var(--dark); color: var(--cream-on-dark); position: relative; overflow: hidden; }
.closing .wrap { padding-block: clamp(64px, 7.5vw, 108px); position: relative; z-index: 2; }
.closing h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  color: var(--cream-on-dark);
  max-width: 18ch;
}
:lang(zh-Hant) .closing h2 { max-width: 22ch; }
.closing p { color: rgba(243, 238, 226, 0.72); margin-top: 16px; max-width: 46ch; }
.closing__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- architecture ---------- */
.arch { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--paper); }
.arch__row {
  display: grid;
  grid-template-columns: 74px minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(12px, 2vw, 28px);
  padding: clamp(18px, 2.2vw, 26px) clamp(18px, 2.4vw, 30px);
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.3s var(--ease);
}
.arch__row:last-child { border-bottom: 0; }
.arch__row:hover { background: rgba(11, 107, 73, 0.035); }
.arch__row--private { background: rgba(11, 107, 73, 0.045); }
.arch__key {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--brass);
  padding-top: 5px;
  font-variant-numeric: tabular-nums;
}
.arch__row h3 { font-size: 1.02rem; }
.arch__row p { font-size: 0.88rem; color: var(--muted); }
.arch__boundary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px clamp(18px, 2.4vw, 30px);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(11, 107, 73, 0.05);
  border-block: 1px solid rgba(11, 107, 73, 0.18);
}
.arch__boundary::before,
.arch__boundary::after { content: ""; height: 1px; flex: 1; background: rgba(11, 107, 73, 0.22); }
:lang(zh-Hant) .arch__boundary { letter-spacing: 0.14em; }
@media (max-width: 760px) {
  .arch__row { grid-template-columns: 44px minmax(0, 1fr); }
  .arch__row p { grid-column: 2; }
}

/* ---------- specs ---------- */
.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 3.2vw, 48px);
  border-top: 1px solid var(--line);
}
.spec {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.spec > span { display: block; margin-top: 4px; }
.spec svg { width: 16px; height: 16px; color: var(--green); }
.spec h3 { font-size: 0.98rem; margin-bottom: 3px; }
.spec p { font-size: 0.86rem; color: var(--muted); }
@media (max-width: 760px) { .specs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- boundaries ---------- */
.boundaries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.boundary {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--paper);
}
.boundary--no { background: rgba(19, 36, 28, 0.025); }
.boundary h3 {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
  font-weight: 600;
}
:lang(zh-Hant) .boundary h3 { letter-spacing: 0.16em; }
.boundary ul { display: grid; gap: 12px; }
.boundary li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.boundary li span { line-height: 1.55; }
.boundary__icon { width: 15px; height: 15px; margin-top: 4px; color: var(--green); }
.boundary--no .boundary__icon { color: var(--muted); }
@media (max-width: 700px) { .boundaries { grid-template-columns: minmax(0, 1fr); } }

/* ---------- corridors ---------- */
.corridors { border-top: 1px solid var(--line); }
.corridors__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 24px);
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}
:lang(zh-Hant) .corridors__head { letter-spacing: 0.16em; }
.corridor {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: start;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.corridor__name { font-weight: 500; font-size: 1rem; }
.corridor__name small {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 3px;
}
.corridor__cell {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}
.corridor__k { display: none; }
@media (max-width: 880px) {
  .corridors__head { display: none; }
  .corridor {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-block: 20px;
  }
  .corridor__cell {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
  }
  .corridor__k {
    display: block;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brass);
    padding-top: 2px;
  }
}

/* ---------- timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  padding-top: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.tl-item { position: relative; padding-top: 22px; }
.tl-item::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--ink);
}
.tl-item:first-child::before { background: var(--ink); }
.tl-date {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.tl-item h3 { font-size: 1rem; margin-bottom: 6px; }
.tl-item p { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 820px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 560px) {
  .timeline { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding-top: 0; padding-left: 22px; }
  .timeline::before { left: 4px; top: 6px; bottom: 6px; width: 1px; height: auto; right: auto; }
  .tl-item { padding: 0 0 30px 0; }
  .tl-item::before { top: 6px; left: -22px; }
}

/* ---------- quote / statement ---------- */
.statement {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.statement blockquote {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
:lang(zh-Hant) .statement blockquote { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.6; letter-spacing: 0.02em; }
.statement cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 820px) { .statement { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-card h3 { font-size: 1.02rem; }
.contact-card p { font-size: 0.9rem; color: var(--muted); }
.contact-card a { margin-top: auto; padding-top: 10px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 880px) { .form-layout { grid-template-columns: minmax(0, 1fr); } }

.form { display: grid; gap: 16px; align-self: start; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

.field { display: grid; gap: 7px; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
:lang(zh-Hant) .field label { letter-spacing: 0.14em; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 0.95rem;
  transition: border-color 0.25s, background 0.25s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235f6e66' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 38px;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  background: #fff;
  outline: none;
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #a4432f; }

.field[data-invalid="true"] label { color: #a4432f; }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea {
  border-color: #a4432f;
  background: #fff;
}
.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.form__note { font-size: 0.78rem; color: var(--muted); max-width: 34ch; }
.form__status {
  font-size: 0.85rem;
  color: var(--green);
  min-height: 1.2em;
}
.form__status[data-error="true"] { color: #a4432f; }

/* ---------- legal prose ---------- */
.legal { max-width: 74ch; }
.legal h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-top: clamp(32px, 4vw, 48px);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 14px; }
.legal ul { display: grid; gap: 8px; margin-bottom: 14px; padding-left: 18px; list-style: disc; }
.legal li { font-size: 0.95rem; color: var(--ink-2); }

/* ---------- footer ---------- */
.footer {
  background: var(--dark);
  color: var(--cream-on-dark);
  padding-top: clamp(52px, 6vw, 80px);
}
.footer a { color: rgba(243, 238, 226, 0.75); transition: color 0.25s; }
.footer a:hover { color: var(--cream-on-dark); }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer__brand img { height: 26px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: 0.88rem; color: rgba(243, 238, 226, 0.6); max-width: 30ch; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
}
.footer__col h2 {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 14px;
  font-weight: 600;
}
:lang(zh-Hant) .footer__col h2 { letter-spacing: 0.18em; }
.footer__col ul { display: grid; gap: 9px; }
.footer__col a { font-size: 0.88rem; }
.footer__legal {
  border-top: 1px solid rgba(243, 238, 226, 0.14);
  padding-block: 26px;
  display: grid;
  gap: 12px;
}
.footer__legal p {
  font-size: 0.74rem;
  line-height: 1.65;
  color: rgba(243, 238, 226, 0.6);
  max-width: 92ch;
}
.footer__legal h2 {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-2);
  font-weight: 600;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(243, 238, 226, 0.14);
  padding-block: 20px 26px;
  font-size: 0.76rem;
  color: rgba(243, 238, 226, 0.62);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer .lang { border-color: rgba(243, 238, 226, 0.22); background: transparent; }
.footer .lang__link { color: rgba(243, 238, 226, 0.6); }
.footer .lang__link[aria-current="true"] { background: var(--cream-on-dark); color: var(--dark); }
@media (max-width: 900px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
}
@media (max-width: 520px) {
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- page hero (interior) ---------- */
.page-hero {
  padding-top: clamp(100px, 11vw, 146px);
  padding-bottom: clamp(36px, 4.4vw, 60px);
}
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { margin-top: 24px; }
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.page-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero__meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--brass-2); }

/* ---------- misc ---------- */
[id] { scroll-margin-top: 96px; }

.card--static:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
.card--wide { grid-column: 1 / -1; }
.check--wide { grid-column: 1 / -1; }

.closer {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(243, 238, 226, 0.16);
  font-size: clamp(1.15rem, 2.3vw, 1.7rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--cream-on-dark);
  max-width: 44ch;
}
:lang(zh-Hant) .closer { line-height: 1.6; letter-spacing: 0.02em; font-size: clamp(1.05rem, 2vw, 1.4rem); max-width: 40ch; }

.map-band {
  position: relative;
  display: grid;
  gap: 8px;
  padding: clamp(20px, 2.6vw, 34px);
  border-radius: var(--r-lg);
  background: var(--dark);
  color: var(--cream-on-dark);
  overflow: hidden;
}
.map-band::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -34%;
  width: 62%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 139, 102, 0.34), rgba(39, 139, 102, 0) 68%);
  pointer-events: none;
}
.map-band__head,
.map-band__foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-2);
}
.map-band__head span:last-child { color: rgba(243, 238, 226, 0.42); letter-spacing: 0.1em; }
.map-band__foot {
  padding-top: 10px;
  border-top: 1px solid rgba(243, 238, 226, 0.14);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(243, 238, 226, 0.55);
}
.map-band .netmap { position: relative; z-index: 1; width: 100%; max-width: 720px; margin-inline: auto; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4.5vw, 72px);
  align-items: start;
}
.split__aside { position: relative; }
@media (min-width: 881px) {
  .split__aside { position: sticky; top: 108px; }
}
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

.stack-lg { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

.callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--brass-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(201, 165, 94, 0.07);
}
.callout svg { width: 18px; height: 18px; color: var(--brass); margin-top: 3px; }
.callout p { font-size: 0.9rem; }
.callout strong { font-weight: 600; color: var(--ink); }

/* ---------- reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.07s; }
[data-reveal][data-delay="2"] { transition-delay: 0.14s; }
[data-reveal][data-delay="3"] { transition-delay: 0.21s; }
[data-reveal][data-delay="4"] { transition-delay: 0.28s; }
[data-reveal][data-delay="5"] { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* hero entrance */
.hero-entrance { animation: hero-in 0.9s var(--ease) both; }
.hero-entrance[data-order="2"] { animation-delay: 0.08s; }
.hero-entrance[data-order="3"] { animation-delay: 0.16s; }
.hero-entrance[data-order="4"] { animation-delay: 0.24s; }
.hero-entrance[data-order="5"] { animation-delay: 0.32s; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .nav-panel { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 24px; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.7em; }
}
