/* ==========================================================================
   STBF Pte Ltd — Corporate Site
   Design system: minimalism, deep navy + champagne gold, generous whitespace
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0A1626;   /* deep navy */
  --ink-soft:   #16283C;
  --charcoal:   #14181D;
  --gold:       #B08D57;   /* champagne gold accent */
  --gold-soft:  #C8AC7D;
  --bg:         #FCFCFA;   /* off-white */
  --bg-alt:     #F5F4F1;   /* very light grey */
  --paper:      #FFFFFF;
  --line:       rgba(10, 22, 38, 0.10);
  --line-soft:  rgba(10, 22, 38, 0.055);
  --muted:      #5C6671;
  --muted-2:    #8A9199;

  --f-sans:  'Inter', 'Helvetica Neue', Helvetica, Arial, 'Noto Sans JP', sans-serif;
  --f-serif: 'Cormorant Garamond', 'Garamond', 'Times New Roman', 'Noto Serif JP', serif;
  --f-jp:    'Noto Sans JP', 'Inter', sans-serif;

  --shell:    1240px;
  --gutter:   clamp(24px, 6vw, 96px);
  --sec-y:    clamp(96px, 14vw, 200px);

  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: #fff; }

/* ---------- Language handling ---------- */
html[data-lang='en'] .ja-only { display: none !important; }
html[data-lang='ja'] .en-only { display: none !important; }

/* ---------- Layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--sec-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--ink); color: #EDF0F3; }
.section--ink .eyebrow { color: var(--gold-soft); }
.section--ink .lede { color: rgba(237, 240, 243, 0.72); }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::after {
  content: '';
  height: 1px;
  width: 46px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow--plain::after { display: none; }

h2.section-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(30px, 4.1vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin-top: 26px;
  max-width: 20ch;
}
/* Japanese titles are styled in the JP face, so they must also be measured in
   Japanese units: `ch` is the width of the Latin "0" glyph (~half a CJK em),
   which forced an early, unintended wrap on narrow screens. Fall back to a
   plain measure for browsers without :lang() support.
   One rule now drives EVERY Japanese section title (the per-section inline
   font-size overrides were removed) so all six headings share one face, one
   size and one rhythm. */
h2.section-title .ja-only {
  font-family: var(--f-jp);
  font-size: 0.5em;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-wrap: balance;
  max-width: 20em;
  transform: none;
}
@supports selector(:lang(ja)) {
  h2.section-title:lang(ja) { max-width: 20em; }
}
.section-title .jp {
  display: block;
  font-family: var(--f-jp);
  font-size: 0.44em;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.7em;
  line-height: 1.6;
}
.section--ink .section-title .jp { color: rgba(237, 240, 243, 0.55); }

.lede {
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.95;
  color: var(--muted);
  max-width: 62ch;
  margin-top: 30px;
  font-weight: 300;
}
.lede + .lede { margin-top: 20px; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { border-color: var(--line); }
.btn--gold { border-color: var(--gold); color: var(--gold); }
.btn--gold:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn .arw { transition: transform .5s var(--ease-out); }
.btn:hover .arw { transform: translateX(5px); }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), gap .4s var(--ease);
}
.tlink:hover { border-color: var(--gold); gap: 15px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 22px;
  transition: background .6s var(--ease), padding .6s var(--ease), border-color .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(252, 252, 250, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line-soft);
  padding-block: 14px;
}
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Baseline alignment: the logo PNG's ink reaches the very bottom edge of the
   image, so the image baseline sits exactly on the glyph baseline — which makes
   the cap-height of "Pte Ltd" stand precisely ON the bottom line of the
   wordmark instead of hanging next to it. */
.brand { display: flex; align-items: baseline; gap: 16px; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-logo--onLight { display: none; }
.is-solid .brand-logo--onDark { display: none; }
.is-solid .brand-logo--onLight { display: block; }
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color .6s var(--ease);
  display: none;
  padding-bottom: 0;
}
@media (min-width: 700px) { .brand-sub { display: block; } }
.is-solid .brand-sub { color: var(--muted-2); }

.nav { display: none; align-items: center; gap: 40px; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  padding-block: 4px;
  transition: color .5s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width .45s var(--ease-out);
}
.nav a:hover::after { width: 100%; }
.is-solid .nav a { color: var(--muted); }
.is-solid .nav a:hover { color: var(--ink); }

.header-tools { display: flex; align-items: center; gap: 18px; }

.lang {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color .6s var(--ease);
}
.is-solid .lang { border-color: var(--line); }
.lang button {
  padding: 6px 14px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.is-solid .lang button { color: var(--muted-2); }
.lang button.is-active {
  background: var(--gold);
  color: #fff;
}

.nav-toggle {
  width: 26px; height: 16px;
  position: relative;
  display: block;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span {
  position: absolute; left: 0;
  height: 1px; width: 100%;
  background: #fff;
  transition: transform .5s var(--ease), background .6s var(--ease), opacity .4s var(--ease);
}
.is-solid .nav-toggle span { background: var(--ink); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { bottom: 0; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-out);
}
body.nav-open .drawer { clip-path: inset(0 0 0 0); }
.drawer nav { display: flex; flex-direction: column; gap: 4px; }
.drawer a {
  font-family: var(--f-serif);
  font-size: clamp(28px, 8vw, 44px);
  color: #EDF0F3;
  padding-block: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .4s var(--ease);
}
body.nav-open .drawer a { opacity: 1; transform: none; }
body.nav-open .drawer a:nth-child(1) { transition-delay: .12s; }
body.nav-open .drawer a:nth-child(2) { transition-delay: .18s; }
body.nav-open .drawer a:nth-child(3) { transition-delay: .24s; }
body.nav-open .drawer a:nth-child(4) { transition-delay: .30s; }
body.nav-open .drawer a:nth-child(5) { transition-delay: .36s; }
.drawer a:hover { color: var(--gold-soft); }
.drawer-foot {
  margin-top: 56px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(237, 240, 243, 0.4);
  line-height: 2.2;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  /* One uniform vertical rhythm between the eyebrow, headline, lede and CTAs */
  --hero-gap: clamp(28px, 3.6vh, 40px);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('/static/img/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: grayscale(100%) contrast(1.06);
  transform: scale(1.06);
  transition: transform 2.4s var(--ease-out);
}
.hero.is-ready .hero-bg { transform: scale(1); }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,22,38,0.72) 0%, rgba(10,22,38,0.42) 38%, rgba(10,22,38,0.88) 100%),
    linear-gradient(90deg, rgba(10,22,38,0.68) 0%, rgba(10,22,38,0.12) 68%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(72px, 12vh, 140px);
  padding-top: 160px;
}
.hero-eyebrow {
  color: var(--gold-soft);
  opacity: 0;
  transform: translateY(16px);
  animation: rise .9s var(--ease-out) .25s forwards;
}
.hero h1 {
  margin-top: var(--hero-gap);
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(40px, 7.4vw, 104px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 17ch;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1.1s var(--ease-out) .4s forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}
/* Japanese headline inside the hero H1 (replaces the Latin serif face) */
.hero h1 .hero-h1-ja {
  display: inline-block;
  font-family: var(--f-jp);
  font-weight: 400;
  font-size: 0.42em;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.hero-jp {
  margin-top: var(--hero-gap);
  max-width: 40ch;
  font-family: var(--f-jp);
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 2.05;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s var(--ease-out) .62s forwards;
}
.hero-meta {
  margin-top: var(--hero-gap);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 44px;
  align-items: center;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1s var(--ease-out) .84s forwards;
}
/* --- JA typographic balance: Japanese glyphs are full-width and visually
   heavier than the Latin face, so the rhythm is tightened and re-scaled --- */
.hero-eyebrow .ja-only { letter-spacing: 0.015em; text-wrap: balance; }

/* The Japanese lede is a deliberate two-line block (lines are split with <br>).
   Its longest line is 28 full-width glyphs, which at 13.5px needs ~378px of
   measure — more than a phone leaves once the gutters are removed — so the copy
   was breaking to a third line. Scale it with the viewport instead, and drop the
   letter-spacing (it added ~0.4em across the line), so the intended two lines
   always hold. */
.hero-jp .ja-only {
  letter-spacing: 0;
  font-size: clamp(9.5px, calc(3.5vw - 2.2px), 16.5px);
  line-height: 2;
}

/* Section titles that run long in Japanese drop to a calmer size on small
   screens so they hold together as a balanced block. */
@media (max-width: 640px) {
  h2.section-title { font-size: clamp(26px, 7.4vw, 34px); }
  h2.section-title .ja-only { line-height: 1.42; }
}

html[data-lang='ja'] .hero h1 {
  letter-spacing: -0.012em;
  max-width: 15ch;
}
html[data-lang='ja'] .hero h1 .hero-h1-ja { font-size: 0.44em; }
/* NOTE: `ch` is measured on the "0" glyph, which for Noto Sans JP is only
   ~half a CJK em — so a `ch` width starves full-width Japanese text and forces
   an extra, unintended wrap. Size the measure in `em` instead, where one CJK
   glyph = 1em, and allow for the letter-spacing on top. */
html[data-lang='ja'] .hero-jp {
  font-size: clamp(13.5px, 1.55vw, 16.5px);
  line-height: 2.15;
  max-width: 32em;
}

/* Japanese section titles that must sit on a single line */
@media (min-width: 640px) { .ja-title-nowrap { white-space: nowrap; } }

.hero-meta .btn { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.hero-meta .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-meta .tlink { color: rgba(255, 255, 255, 0.66); }
.hero-meta .tlink:hover { color: #fff; border-color: #fff; }

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(72px, 12vh, 140px);
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  writing-mode: vertical-rl;
}
@media (min-width: 1024px) { .scroll-cue { display: flex; } }
.scroll-cue i {
  writing-mode: horizontal-tb;
  display: block;
  width: 1px; height: 62px;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
  animation: cue 2.6s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Marquee ticker */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  padding-block: 20px;
}
.ticker-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: slide 42s linear infinite;
}
.ticker-track span {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.ticker-track span::after {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.65;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Philosophy (split)
   ========================================================================== */
.split {
  display: grid;
  gap: clamp(44px, 6vw, 88px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
/* Philosophy: the photograph is given roughly double its former weight —
   a full-width plate on wide screens, with the copy set beneath it. */
@media (min-width: 900px) {
  .split--photo .figure-frame { grid-column: 1 / -1; }
}

.figure-frame { position: relative; overflow: hidden; }
.figure-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 64vh;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.04);
  transition: transform 1.6s var(--ease-out), filter 1.2s var(--ease);
}
.figure-frame:hover img { transform: scale(1.03); filter: grayscale(60%) contrast(1.04); }
.figure-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,38,0) 55%, rgba(10,22,38,0.42));
  pointer-events: none;
}
.figure-cap {
  position: absolute;
  left: 24px; bottom: 22px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

/* Stat row */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  margin-top: 56px;
}
/* Each statistic keeps a full-width row on small screens so the hairline rules
   and the values line up; two even columns from 720px up. The row is now a
   2 x 2 matrix — four-across would leave the long values unreadable. */
@media (min-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 30px 12px 4px 0;
  border-bottom: 1px solid var(--line-soft);
}
.stat dt {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.stat dd {
  margin: 12px 0 0;
  font-family: var(--f-serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
/* Long values — the hub list, the award name and the patent numbers — step
   down from the display size to a calm text setting so all four cells sit on
   an even footing; only the short word "Midterm" keeps the display size. */
.stat dd.stat-text {
  font-family: var(--f-sans);
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.015em;
  color: var(--ink-soft);
}
/* Hub list — every place name is an unbreakable unit so a city is never split
   mid-word (リヒテンシュタイン stays whole); the separator rides along with the
   city that follows it, so a line breaks at a ・ boundary, never inside a name. */
.stat dd .hub { display: inline-block; white-space: nowrap; }

/* ==========================================================================
   Expertise cards
   ========================================================================== */
.grid-cards {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(48px, 6vw, 80px);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
/* All four cards share one template and one height — a fully even 2 x 2 matrix */
.grid-cards { grid-auto-rows: 1fr; }

.card {
  background: var(--bg);
  padding: clamp(32px, 4vw, 52px);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background .7s var(--ease);
}
.section--alt .card { background: var(--bg-alt); }
.card:hover { background: var(--paper); }
.card-idx {
  font-family: var(--f-serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.card h3 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin-top: 22px;
}
.card h3 .jp {
  display: block;
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.07em;
  color: var(--muted-2);
  margin-top: 10px;
}
.card p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
  font-weight: 300;
}
.card p + p { margin-top: 14px; }
.card-list { margin-top: 24px; border-top: 1px solid var(--line-soft); }
.card-list li {
  display: flex;
  gap: 14px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
}
.card-list li b { color: var(--ink); font-weight: 500; }
.card-list li::before {
  content: '';
  flex: 0 0 auto;
  width: 5px; height: 5px;
  margin-top: 9px;
  background: var(--gold);
  border-radius: 50%;
}
.card-tag {
  margin-top: auto;
  padding-top: 28px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.card--wide { grid-column: auto; }
.card--flag::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .9s var(--ease-out);
}
.card--flag:hover::before { transform: scaleY(1); }

/* ==========================================================================
   Governance
   ========================================================================== */
.gov {
  display: grid;
  gap: 1px;
  background: rgba(237,240,243,0.12);
  border: 1px solid rgba(237,240,243,0.12);
  margin-top: clamp(48px, 6vw, 76px);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .gov { grid-template-columns: repeat(3, 1fr); } }
.gov-item { background: var(--ink); padding: clamp(28px, 3.4vw, 44px); }
.gov-item h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
}
.gov-item h4 span { display: block; font-family: var(--f-jp); font-size: 11px; letter-spacing: 0.08em; color: rgba(237,240,243,0.42); margin-top: 9px; text-transform: none; }
.gov-item p {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.95;
  color: rgba(237, 240, 243, 0.7);
  font-weight: 300;
}
.gov-note {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 30px;
  border-top: 1px solid rgba(237,240,243,0.14);
  font-size: 12.5px;
  line-height: 2;
  color: rgba(237, 240, 243, 0.5);
  max-width: 76ch;
  font-weight: 300;
}

/* ==========================================================================
   Profile table
   ========================================================================== */
.profile { margin-top: clamp(44px, 5vw, 68px); border-top: 1px solid var(--line); }
.profile-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 32px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 760px) {
  .profile-row { grid-template-columns: 220px 1fr; gap: 0 48px; align-items: baseline; }
}
.profile-row dt {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 2;
}
.profile-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink);
  font-weight: 300;
}
.profile-row dd .jp { display: block; font-family: var(--f-jp); font-size: 12.5px; color: var(--muted-2); letter-spacing: 0.04em; margin-top: 3px; }

.hubs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hubs li {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 7px 15px;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-wrap { display: grid; gap: clamp(44px, 6vw, 80px); grid-template-columns: 1fr; }
@media (min-width: 940px) { .contact-wrap { grid-template-columns: 0.85fr 1.15fr; } }

.contact-aside a.mail {
  font-family: var(--f-serif);
  font-size: clamp(21px, 2.6vw, 30px);
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color .45s var(--ease);
  word-break: break-all;
}
.contact-aside a.mail:hover { border-color: var(--gold); }

.form { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form .form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; } }
.field { position: relative; }
.field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--ink);
  font-weight: 300;
  outline: none;
  border-radius: 0;
  transition: border-color .5s var(--ease);
}
.field textarea { resize: vertical; min-height: 116px; line-height: 1.85; }
.field select { appearance: none; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); opacity: 0.55; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 8px; }
.form-msg { font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); min-height: 1.4em; }
.form-msg.ok { color: #2F6B4F; }
.form-msg.err { color: #9A2F2F; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(237, 240, 243, 0.6); padding-block: clamp(64px, 8vw, 100px) 40px; }
.footer-top { display: grid; gap: 44px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-top .brand-mark { color: #fff; }
.footer-logo { height: 26px; width: auto; display: block; }
.footer-about { margin-top: 22px; font-size: 13px; line-height: 2; max-width: 40ch; font-weight: 300; }
.footer-col h5 {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  margin-bottom: 20px;
}
.footer-col li { font-size: 13px; line-height: 2.3; font-weight: 300; }
.footer-col a { transition: color .4s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-base {
  margin-top: clamp(52px, 7vw, 84px);
  padding-top: 26px;
  border-top: 1px solid rgba(237, 240, 243, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237, 240, 243, 0.36);
}

/* Back to top */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: rgba(252, 252, 250, 0.9);
  backdrop-filter: blur(8px);
  color: var(--ink);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease), background .4s var(--ease), transform .5s var(--ease-out);
}
.to-top.is-on { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: var(--bg); transform: translateY(-3px); }

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-bg { transform: none; }
  .ticker-track { animation: none; }
}
