:root {
  --paper: #f6f2ea;
  --surface: #ffffff;
  --ink: #14213d;
  --ink-soft: #46506a;
  --muted: #7a8196;
  --line: #e2dbcd;
  --accent: #c4532d;
  --accent-soft: #f3dfd4;
  --navy: #14213d;
  --on-navy: #f4efe6;
  --radius: 18px;
  --maxw: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1626;
    --surface: #172034;
    --ink: #eef0f5;
    --ink-soft: #b9bfce;
    --muted: #8b93a7;
    --line: #263049;
    --accent: #e57a52;
    --accent-soft: #3a2620;
    --navy: #0a1020;
    --on-navy: #f4efe6;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }

/* Nav */
nav.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.brand svg { flex: none; }
nav.top ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--ink-soft); }
nav.top ul a { text-decoration: none; }
nav.top ul a:hover { color: var(--accent); }
@media (max-width: 760px) { nav.top ul { display: none; } }

/* Hero */
.hero { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.hero .wrap { padding-top: 96px; padding-bottom: 104px; position: relative; z-index: 1; }
.hero .eyebrow { color: #f0a283; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); margin: 18px 0 22px; font-weight: 400; }
.hero h1 em { font-style: italic; color: #f0a283; }
.hero p.lead { max-width: 620px; font-size: clamp(17px, 2vw, 20px); color: color-mix(in srgb, var(--on-navy) 82%, transparent); margin: 0 0 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid rgba(244,239,230,.28); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--on-navy); text-decoration: none; transition: background .15s, border-color .15s; }
.chip span { opacity: .6; margin-left: 2px; }
a.chip:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
a.chip:hover span { opacity: 1; }
.rings { position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 560px; height: 560px; opacity: .9; pointer-events: none; }
@media (max-width: 860px) { .rings { opacity: .25; right: -220px; } }

/* Sections */
section { padding: 96px 0; }
section + section { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 10px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; gap: 20px; } section { padding: 72px 0; } }
.prose p { margin: 0 0 18px; color: var(--ink-soft); max-width: 680px; }
.prose p:first-child { font-size: 20px; color: var(--ink); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -56px; position: relative; z-index: 2; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 12px 30px -18px rgba(20,33,61,.35); }
.stat .k { font-size: 13px; color: var(--muted); font-weight: 500; }
.stat .v { font-family: "Fraunces", Georgia, serif; font-size: 28px; font-weight: 600; margin-top: 6px; line-height: 1.2; }
.stat .s { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pillar .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.pillar h3 { font-size: 21px; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.pillars.four { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .pillars, .pillars.four { grid-template-columns: 1fr; } }

/* Values */
ol.values { list-style: none; margin: 8px 0 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
ol.values li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
ol.values li:last-child { border-bottom: 0; }
ol.values .n { font-family: "Fraunces", Georgia, serif; font-size: 22px; font-weight: 600; color: var(--accent); line-height: 1.3; }
ol.values h3 { font-size: 19px; margin-bottom: 4px; }
ol.values p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 640px) { ol.values li { grid-template-columns: 38px 1fr; padding: 18px 20px; } }

/* Registry table */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card + .card { margin-top: 18px; }
.card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.card-h h3 { font-size: 19px; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: #2f7a4f; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34a065; }
@media (prefers-color-scheme: dark) { .badge { color: #6fd39a; } }
dl.facts { margin: 0; display: grid; grid-template-columns: 240px 1fr; }
dl.facts dt, dl.facts dd { margin: 0; padding: 14px 24px; border-bottom: 1px solid var(--line); }
dl.facts dt { color: var(--muted); font-size: 14.5px; }
dl.facts dd { font-weight: 500; }
dl.facts dd small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; }
dl.facts > :nth-last-child(-n+2) { border-bottom: 0; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
@media (max-width: 640px) {
  dl.facts { grid-template-columns: 1fr; }
  dl.facts dt { padding-bottom: 2px; border-bottom: 0; }
  dl.facts dd { padding-top: 0; }
}

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-left: 40px; padding-bottom: 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--accent); }
.timeline .d { font-size: 13.5px; font-weight: 600; color: var(--accent); letter-spacing: .04em; }
.timeline h3 { font-size: 20px; margin: 4px 0 4px; }
.timeline p { margin: 0; color: var(--ink-soft); }

/* Location */
.loc { display: grid; gap: 18px; }
.addr { padding: 32px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; }
.addr address { font-style: normal; font-family: "Fraunces", Georgia, serif; font-size: 23px; line-height: 1.4; margin: 10px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--paper); text-decoration: none; padding: 12px 20px; border-radius: 999px; font-weight: 500; font-size: 15px; }
.btn:hover { background: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.mail { margin: 10px 0 0; font-size: 18px; font-weight: 500; line-height: 1.45; }
.mail a { color: var(--accent); text-decoration: none; }
.mail a:hover { text-decoration: underline; }
.region { padding: 24px 32px; background: var(--navy); color: var(--on-navy); border-color: transparent; display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; }
.region h3 { font-size: 22px; margin-top: 6px; }
.region p { color: color-mix(in srgb, var(--on-navy) 80%, transparent); margin: 0; font-size: 15.5px; }
.region .eyebrow { color: #f0a283; }
.loc .card + .card { margin-top: 0; }
@media (prefers-color-scheme: dark) { .region { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, transparent); } }
@media (max-width: 760px) {
  .contact-grid, .region { grid-template-columns: 1fr; }
  .contact-grid { gap: 22px; }
  .region { gap: 10px; }
  .addr { padding: 26px; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
}

footer { background: var(--navy); color: color-mix(in srgb, var(--on-navy) 75%, transparent); font-size: 14px; padding: 48px 0; }
footer .wrap { display: grid; gap: 14px; }
footer strong { color: var(--on-navy); }
footer .note { font-size: 13px; max-width: 760px; }
footer .verify { color: inherit; text-decoration: none; }
footer .verify:hover strong, footer .verify:hover { color: var(--on-navy); }
footer .verify:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--on-navy) 40%, transparent); }
.verify-tag { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--on-navy); border: 1px solid color-mix(in srgb, var(--on-navy) 30%, transparent); white-space: nowrap; }
footer .verify:hover .verify-tag { border-color: var(--accent); background: var(--accent); color: #fff; }

/* Language switch */
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; flex: none; }
.lang > * { padding: 4px 10px; border-radius: 999px; text-decoration: none; color: var(--ink-soft); }
.lang [aria-current] { background: var(--ink); color: var(--paper); }
.lang a:hover { color: var(--accent); }
nav.top ul { margin-left: auto; }
.brand { white-space: nowrap; }

/* In practice strip */
.practice { margin-top: 18px; padding: 24px 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 25%, transparent); }
.practice h3 { font-size: 21px; margin-top: 6px; }
.practice ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.practice li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14.5px; font-weight: 500; }
.timeline p a, dl.facts dd a { color: var(--accent); text-decoration: none; }
.timeline p a:hover, dl.facts dd a:hover { text-decoration: underline; }
@media (max-width: 760px) { .practice { grid-template-columns: 1fr; padding: 22px 24px; } }
