/* International Credit Dispute Arbitration Commission — site styles */
:root {
  --navy: #00345C;
  --navy-deep: #02233F;
  --navy-2: #0B4478;
  --ink: #101B2D;
  --gold: #B8922E;
  --gold-2: #D6B45A;
  --gold-soft: #F3E9CB;
  --ivory: #F7F4EC;
  --paper: #FFFFFF;
  --line: #E3DED2;
  --stone: #5B6472;
  --muted: #8A919C;
  --max: 1180px;
  --radius: 16px;
  --serif: "Newsreader", "Noto Serif SC", "Noto Serif TC", "Noto Serif JP", "Noto Serif KR", "Songti SC", "Hiragino Mincho ProN", "Yu Mincho", "Apple Myungjo", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "PingFang TC", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Apple SD Gothic Neo", "Noto Sans CJK SC", "Noto Sans CJK TC", "Noto Sans CJK JP", "Noto Sans CJK KR", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
}
html[lang="zh-CN"] { --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", "Newsreader", Georgia, serif; }
html[lang="zh-TW"] { --serif: "Noto Serif TC", "Songti TC", "PingFang TC", "Newsreader", Georgia, serif; }
html[lang="ja"] { --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "Newsreader", Georgia, serif; }
html[lang="ko"] { --serif: "Noto Serif KR", "Apple Myungjo", "Nanum Myeongjo", "Newsreader", Georgia, serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.small { font-size: .9rem; color: var(--stone); }
.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
html[lang^="zh"] .eyebrow, html[lang="ja"] .eyebrow, html[lang="ko"] .eyebrow { letter-spacing: .12em; }
.lead { font-size: 1.18rem; color: var(--stone); max-width: 62ch; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid var(--navy); color: var(--navy); background: transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -16px rgba(0,52,92,.7); color: var(--navy); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-gold { background: var(--gold-2); border-color: var(--gold-2); color: var(--navy-deep); }
.btn-gold:hover { background: #E4C46B; border-color: #E4C46B; color: var(--navy-deep); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold-2); color: var(--ink); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,236,.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 80px; }
.brand { display: flex; align-items: center; gap: .85rem; color: var(--navy); min-width: 0; flex: 0 1 auto; }
.brand img { width: 52px; height: 52px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: .2rem; white-space: nowrap; }
/* Long Latin names (fr / es): let the name wrap onto two lines instead of truncating */
html[lang="fr"] .brand-name, html[lang="es"] .brand-name { white-space: normal; font-size: .95rem; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; max-width: 200px; }
html[lang="fr"] .brand, html[lang="es"] .brand { min-width: 266px; flex: none; }
html[lang="fr"] .nav a, html[lang="es"] .nav a { font-size: .82rem; }
html[lang="fr"] .nav, html[lang="es"] .nav { gap: .9rem; }
html[lang="fr"] .nav .nav-cta, html[lang="es"] .nav .nav-cta { padding: .4rem .8rem; }
@media (max-width: 1279px) {
  html[lang="fr"] .menu-toggle, html[lang="es"] .menu-toggle { display: inline-flex; }
  html[lang="fr"] .nav, html[lang="es"] .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem; box-shadow: 0 30px 40px -30px rgba(0,0,0,.3); }
  html[lang="fr"] .nav.open, html[lang="es"] .nav.open { display: flex; }
  html[lang="fr"] .nav a, html[lang="es"] .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  html[lang="fr"] .nav a::after, html[lang="es"] .nav a::after { display: none; }
  html[lang="fr"] .nav .nav-cta, html[lang="es"] .nav .nav-cta { margin: .8rem 0 0; text-align: center; justify-content: center; display: flex; }
}
html[lang="ja"] .facts-hero .fact .v, html[lang="ko"] .facts-hero .fact .v { font-size: 1.55rem; word-break: keep-all; }
.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav a { font-weight: 500; font-size: .92rem; position: relative; padding: .3rem 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy); }
.nav .nav-cta { border: 1.5px solid var(--navy); border-radius: 999px; padding: .42rem 1rem; background: var(--navy); color: #fff; font-size: .86rem; margin-left: .2rem; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--navy-2); }
.header-tools { display: flex; gap: .6rem; align-items: center; }
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
  padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); font: inherit; font-size: .86rem; font-weight: 500; color: var(--navy);
}
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 20px 40px -20px rgba(16,27,45,.35); padding: .4rem; margin: 0; list-style: none;
  display: none;
}
.lang-menu.open { display: block; }
.lang-menu a { display: flex; justify-content: space-between; align-items: center; padding: .55rem .8rem; border-radius: 8px; font-size: .92rem; }
.lang-menu a:hover { background: var(--ivory); color: var(--navy); }
.lang-menu a[aria-current="true"] { color: var(--gold); font-weight: 600; }
.lang-menu a span svg { width: 16px; height: 16px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 88% 10%, rgba(214,180,90,.22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(255,255,255,.07), transparent 60%),
    linear-gradient(180deg, rgba(2,35,63,0) 0%, rgba(2,35,63,.55) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.hero h1 { color: #fff; margin-bottom: 1.2rem; max-width: 16ch; }
.hero .eyebrow { color: var(--gold-2); }
.hero .eyebrow::before { background: var(--gold-2); }
.hero .lead { color: rgba(255,255,255,.82); font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 440px; margin-inline: auto; width: 100%; }
.hero-art .rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art img { position: absolute; inset: 15%; width: 70%; height: 70%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero-art .rot { transform-origin: 50% 50%; animation: spin 120s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art .rot { animation: none; } }
.hero-facts { position: relative; border-top: 1px solid rgba(255,255,255,.14); background: rgba(2,35,63,.35); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.facts-hero { margin-top: 0; gap: 0; }
.facts-hero .fact { background: transparent; border: 0; border-right: 1px solid rgba(255,255,255,.14); border-radius: 0; padding: 1.4rem 1.6rem 1.4rem 0; margin-right: 1.6rem; }
.facts-hero .fact:last-child { border-right: 0; margin-right: 0; }
.facts-hero .fact .v { color: var(--gold-2); }
.facts-hero .fact .l { color: rgba(255,255,255,.72); }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.3rem; }
.fact .v { font-family: var(--serif); font-size: 1.8rem; color: var(--navy); font-weight: 600; line-height: 1.15; }
.fact .l { font-size: .85rem; color: var(--stone); margin-top: .3rem; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 64ch; margin-bottom: 2.6rem; }
.section-head .lead { margin-bottom: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.section-alt .card { background: var(--ivory); }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold-2), transparent); opacity: 0; transition: opacity .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(0,52,92,.35); }
.card:hover::after { opacity: 1; }
.card h3 { margin-top: .9rem; font-size: 1.2rem; }
.card p { color: var(--stone); margin-bottom: 0; font-size: .97rem; }
.card-num { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold); font-weight: 600; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); color: var(--navy); display: grid; place-items: center; }
.icon svg { width: 23px; height: 23px; }

/* Process steps */
.process-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.process-wrap .section-head { margin-bottom: 0; position: sticky; top: 100px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 1.6rem; bottom: 1.6rem; width: 1px; background: linear-gradient(var(--gold-2), var(--line)); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; padding: 1.2rem 0; position: relative; }
.step-n { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold-2); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; display: grid; place-items: center; border: 4px solid var(--paper); box-shadow: 0 0 0 1px var(--line); }
.step h3 { font-size: 1.18rem; margin: .55rem 0 .3rem; }
.step p { color: var(--stone); margin: 0; font-size: .97rem; }

/* Principles / callouts */
.callout { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 1.1rem 1.4rem; margin: 1.4rem 0; }
.section-alt .callout { background: var(--ivory); }
.callout p:last-child { margin-bottom: 0; }
.callout-dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.callout-dark p, .prose .callout-dark p { color: rgba(255,255,255,.88); }
.callout-dark a { color: var(--gold-2); text-decoration: underline; }
.principle { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px dashed var(--line); }
.principle:last-child { border-bottom: 0; }
.principle .k { font-family: var(--serif); font-size: 1.7rem; color: var(--gold); line-height: 1; font-weight: 600; }
.principle p { margin: 0; }
.principle b { display: block; color: var(--navy); margin-bottom: .2rem; }
ul.plain { padding-left: 1.2rem; margin: 0; }
ul.plain li { margin-bottom: .5rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.check-list li { position: relative; padding: .9rem 1rem .9rem 2.8rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: rgba(255,255,255,.88); }
.check-list li::before { content: "✓"; position: absolute; left: 1rem; top: .85rem; color: var(--gold-2); font-weight: 700; }

/* Dark band */
.band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 100% 0%, rgba(214,180,90,.18), transparent 60%); pointer-events: none; }
.band .wrap { position: relative; }
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255,255,255,.82); }
.band .eyebrow { color: var(--gold-2); } .band .eyebrow::before { background: var(--gold-2); }
.band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.org-list { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.org-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.org-list b { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.08rem; }
.org-list span { font-size: .9rem; color: var(--stone); }
.org-list .tag { flex: none; font-size: .68rem; letter-spacing: .12em; font-weight: 700; color: var(--gold); border: 1px solid var(--gold-2); border-radius: 6px; padding: .2rem .45rem; margin-top: .25rem; }

/* Clause box (copyable) */
.clause-box { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem 1.4rem 3.4rem; margin: 1rem 0 1.6rem; }
.clause-box pre { margin: 0; white-space: pre-wrap; font-family: var(--serif); font-size: 1.08rem; line-height: 1.75; color: var(--ink); }
.clause-box-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); margin: 0; }
.clause-box-dark pre { color: rgba(255,255,255,.92); }
.copy-btn { position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .4rem; font: inherit; font-size: .82rem; font-weight: 600; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--ivory); color: var(--navy); cursor: pointer; }
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn:hover { border-color: var(--gold); color: var(--gold); }
.copy-btn.done { background: var(--gold-2); border-color: var(--gold-2); color: var(--navy-deep); }
.clause-box-dark .copy-btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.clause-box-dark .copy-btn.done { background: var(--gold-2); color: var(--navy-deep); }
.clause-grid { display: grid; gap: 1.4rem; margin-top: 1.4rem; }

/* Basis quote */
.basis { text-align: center; }
.basis-inner { position: relative; max-width: 860px; margin-inline: auto; padding: 0 1rem; }
.basis-inner .eyebrow { justify-content: center; }
.basis-inner .eyebrow::before { display: none; }
.quote-mark { width: 54px; height: 54px; margin: 0 auto 1rem; color: var(--gold-2); }
.basis blockquote { margin: 1.2rem 0 0; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.55; color: var(--navy); }
.basis cite { display: block; font-style: normal; font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: 1rem; }

/* CTA */
.cta { text-align: center; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.cta h2 { max-width: 26ch; margin-inline: auto; }
.cta .lead { margin-inline: auto; }
.cta-emblem { margin: 0 auto 1.2rem; width: 72px; height: 72px; }

/* Page header (inner pages) */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; background: url(/assets/img/emblem-160.png) center/contain no-repeat; opacity: .05; pointer-events: none; }
.page-head .wrap { position: relative; }
.page-head h1 { max-width: 24ch; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-head .meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.2rem; font-size: .88rem; color: var(--muted); }
.page-head .meta b { color: var(--stone); font-weight: 600; }

/* Document layout (rules page) */
.doc { display: grid; grid-template-columns: 270px 1fr; gap: 3.5rem; align-items: start; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.doc-narrow { max-width: 860px; }
.toc { position: sticky; top: 100px; font-size: .9rem; }
.toc-title { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .8rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: .4rem .9rem; color: var(--stone); border-left: 2px solid transparent; margin-left: -1px; line-height: 1.35; }
.toc li a:hover, .toc li a.active { color: var(--navy); border-left-color: var(--gold); }
.prose { max-width: 74ch; }
.prose h2 { scroll-margin-top: 100px; padding-top: 1.2rem; margin-top: 1.6rem; border-top: 1px solid var(--line); font-size: 1.65rem; }
.prose h2:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6rem; color: var(--navy); font-family: var(--sans); font-weight: 700; }
.prose p, .prose li { color: #2E3542; }
.prose ol, .prose ul { padding-left: 1.4rem; }
.prose li { margin-bottom: .45rem; }
ol.roman { list-style: none; padding-left: 0; counter-reset: c; margin: 0; }
ol.roman li { counter-increment: c; padding-left: 2.5rem; position: relative; margin-bottom: .55rem; }
ol.roman li::before { content: "(" counter(c) ")"; position: absolute; left: 0; color: var(--gold); font-weight: 600; font-family: var(--serif); }
ol.roman.alpha li::before { content: counter(c, upper-alpha) "."; }
.pull { margin: 1.4rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--gold-2); font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.fulltext { margin-top: 2.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.fulltext summary { cursor: pointer; padding: 1rem 1.3rem; font-weight: 600; color: var(--navy); font-family: var(--serif); font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.fulltext summary::-webkit-details-marker { display: none; }
.fulltext summary::after { content: "+"; font-size: 1.5rem; color: var(--gold); font-weight: 400; }
.fulltext[open] summary::after { content: "−"; }
.fulltext-body { padding: 0 1.3rem 1.3rem; border-top: 1px solid var(--line); }
.fulltext-body h3 { margin-top: 1.6rem; }
.fulltext-body p { font-size: .96rem; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--gold-soft); }
.timeline li { position: relative; padding: 0 0 1.6rem 1.7rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .5rem; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ivory); }
.timeline b { display: block; color: var(--gold); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.timeline strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: .15rem 0 .25rem; }
.timeline span { color: var(--stone); font-size: .95rem; display: block; }

/* Roster */
.roster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.person { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.avatar { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--gold-2); font-family: var(--serif); font-size: 1.5rem; font-weight: 600; display: grid; place-items: center; }
.person h3 { margin: .2rem 0 .3rem; font-size: 1.2rem; }
.person p { margin: 0; color: var(--stone); font-size: .95rem; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.2rem 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.fee-table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 420px; }
.fee-table th, .fee-table td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.fee-table th { background: var(--navy); color: #fff; font-weight: 600; font-size: .86rem; letter-spacing: .04em; }
.fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table tbody tr:nth-child(even) td { background: rgba(247,244,236,.6); }
.fee-table td.num { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); font-weight: 600; white-space: nowrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.contact-card h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-top: .9rem; }
.contact-card p { color: var(--stone); margin-bottom: 0; font-size: .96rem; }
.contact-card a { word-break: break-all; font-weight: 600; }
.office { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.office h3 { margin-bottom: .4rem; }
.office p { margin-bottom: .4rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 3.5rem 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--gold-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; color: #fff; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; margin-bottom: 1rem; }
.footer-brand img { width: 52px; height: 52px; }
.footer-about p { max-width: 46ch; }
.footer-official { font-size: .84rem; color: rgba(255,255,255,.55); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-langs { display: flex !important; flex-wrap: wrap; gap: .4rem 1rem !important; }

/* Landing (language chooser) */
.landing { min-height: 100vh; display: grid; place-items: center; background: var(--navy); color: #fff; padding: 2rem 1rem; text-align: center; }
.landing img { width: 120px; height: 120px; margin: 0 auto 1.2rem; }
.landing h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); max-width: 22ch; margin-inline: auto; }
.landing p { color: rgba(255,255,255,.7); }
.landing-langs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; max-width: 760px; margin: 2rem auto 0; }
.landing-langs a { display: block; padding: .9rem 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; color: #fff; background: rgba(255,255,255,.05); transition: background .2s ease, border-color .2s ease; }
.landing-langs a:hover { background: rgba(214,180,90,.2); border-color: var(--gold-2); color: #fff; }
.landing-langs small { display: block; font-size: .7rem; letter-spacing: .06em; color: var(--gold-2); margin-top: .25rem; line-height: 1.3; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 1180px) {
  .nav { gap: 1rem; }
  .nav a { font-size: .88rem; }
  .brand-name { font-size: 1rem; max-width: 260px; }
}
@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem; box-shadow: 0 30px 40px -30px rgba(0,0,0,.3); }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav .nav-cta { margin: .8rem 0 0; text-align: center; justify-content: center; display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; }
  .grid-3, .contact-grid, .facts { grid-template-columns: repeat(2, 1fr); }
  .facts-hero .fact:nth-child(2) { border-right: 0; }
  .band-inner, .split, .process-wrap { grid-template-columns: 1fr; gap: 2.2rem; }
  .process-wrap .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: 1fr; gap: 2rem; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: .3rem; border: 0; }
  .toc li a { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; margin: 0; background: var(--paper); }
  .toc li a.active { border-color: var(--gold); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner { height: 68px; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: .92rem; max-width: 46vw; }
  .lang-btn span { display: none; }
  .lang-btn { padding: .5rem .6rem; }
  .grid-3, .grid-2, .contact-grid, .facts, .footer-grid, .roster { grid-template-columns: 1fr; }
  .facts-hero .fact { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); padding: 1rem 0; margin: 0; }
  .facts-hero .fact:last-child { border-bottom: 0; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-art { max-width: 230px; }
  .principle { grid-template-columns: 40px 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: .9rem; }
  .step-n { width: 44px; height: 44px; font-size: 1rem; }
  .steps::before { left: 21px; }
  .clause-box { padding: 1.1rem 1.1rem 3.4rem; }
  .page-head::after { display: none; }
}

/* Trademark section (about page) */
.tm-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: start; }
.tm-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.4rem; margin: 1.4rem 0 0; }
.tm-facts div { padding: .8rem 1rem; background: var(--ivory); border: 1px solid var(--line); border-radius: 10px; }
.tm-facts dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.tm-facts dd { margin: .2rem 0 0; color: var(--navy); font-weight: 600; font-size: .95rem; }
.cert-figure { margin: 0; text-align: center; }
.cert-figure a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .6rem; box-shadow: 0 30px 50px -30px rgba(0,52,92,.35); transition: transform .2s ease; }
.cert-figure a:hover { transform: translateY(-4px); }
.cert-figure img { width: 100%; height: auto; border-radius: 6px; }
.cert-figure figcaption { margin-top: .8rem; font-size: .85rem; color: var(--stone); }
.footer-brand span small { display: block; font-family: var(--sans); font-size: .74rem; font-weight: 500; color: rgba(255,255,255,.6); letter-spacing: .02em; margin-top: .2rem; }
.offices .office h3 { font-size: 1.15rem; }
@media (max-width: 1024px) { .tm-wrap { grid-template-columns: 1fr; gap: 2.2rem; } .cert-figure { max-width: 440px; margin-inline: auto; } }
@media (max-width: 760px) { .tm-facts { grid-template-columns: 1fr; } .offices { grid-template-columns: 1fr; } }
