/* ============================================================
   ARDIAN LAW — DESIGN SYSTEM
   One system, applied across every page.
   1. Tokens      2. Reset      3. Layout
   4. Typography  5. Controls   6. Navigation
   7. Sections    8. Components 9. Forms  10. Motion
   ============================================================ */

/* ---------- 0. FONTS ----------
   Self-hosted, not loaded from Google Fonts.
   fonts.googleapis.com and fonts.gstatic.com are blocked in mainland China,
   and an @import of a blocked host holds up a render-blocking stylesheet
   until the connection times out. Serving the files from our own origin
   removes that failure mode, removes a third-party dependency, and is
   faster everywhere.

   Both families are SIL Open Font License 1.1; see the LICENSE files in
   /public/fonts/. Variable weight axis, Latin and Latin Extended only.
   CJK never matches these ranges and falls through to the system stack
   declared in zh.css. */

@font-face{
  font-family:"Newsreader";
  font-style:normal;
  font-display:swap;
  font-weight:200 800;
  src:url(/fonts/newsreader-latin-standard-normal.woff2) format("woff2-variations");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Newsreader";
  font-style:normal;
  font-display:swap;
  font-weight:200 800;
  src:url(/fonts/newsreader-latin-ext-standard-normal.woff2) format("woff2-variations");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"Newsreader";
  font-style:italic;
  font-display:swap;
  font-weight:200 800;
  src:url(/fonts/newsreader-latin-standard-italic.woff2) format("woff2-variations");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Newsreader";
  font-style:italic;
  font-display:swap;
  font-weight:200 800;
  src:url(/fonts/newsreader-latin-ext-standard-italic.woff2) format("woff2-variations");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"Instrument Sans";
  font-style:normal;
  font-display:swap;
  font-weight:400 700;
  src:url(/fonts/instrument-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:"Instrument Sans";
  font-style:normal;
  font-display:swap;
  font-weight:400 700;
  src:url(/fonts/instrument-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---------- 1. TOKENS ---------- */
:root{
  /* Surfaces: cool document paper, not cream.

     These were a warm ivory and stone, which with a serif display and a clay
     accent is the commonest palette in machine-generated design. The hues are
     now neutral to very slightly cool, so the page reads as the paper a
     contract is printed on and the red below reads as a seal on it rather
     than as the warm half of a warm scheme. */
  --ivory:#f7f7f5;
  --stone:#ebebe8;
  --paper:#fff;
  /* Section surface: a hair above ivory. Pure white reads as a different
     palette next to these neutrals, so sections use this, not --paper. */
  --paper-surface:#fdfdfc;
  --ink:#111315;
  --ink-raised:#1b1e21;

  /* Text */
  --text-strong:#111315;
  --text:#42464a;
  --text-quiet:#595e63;   /* 6.1:1 on ivory, 5.5:1 on stone */
  --on-dark:#f2f2f0;
  --on-dark-quiet:#a6a8aa;

  /* Accent: the logo's own red.

     --accent-strong is #ad4846 exactly, the colour of the swoosh in the
     supplied artwork, and --accent-soft is #d4756f, the swoosh in the on-ink
     logo. The palette is therefore taken from the mark instead of sitting
     beside it, and neither SVG needs recolouring. */
  --accent:#bf5250;        /* rules, hovers, large text (4.3:1 on ivory) */
  --accent-strong:#ad4846; /* the logo red; small text on light (5.2:1) */
  --accent-soft:#d4756f;   /* the on-ink logo red; small text on ink (5.8:1) */
  /* Error notice. Deepest red of the family: 6.9:1 on ivory, for small text
     that has to be read carefully. Kept as tokens so a palette change finds them. */
  --accent-deep:#8f3b39;
  --accent-wash:#fdf3f2;
  --accent-hairline:#e8c4c1;   /* anything on ink (11.6:1) */

  /* Hairlines */
  --line:#dcdcd8;
  --line-soft:#e8e8e5;
  --line-dark:#292d31;

  --font-display:"Newsreader","Source Serif 4",Georgia,"Times New Roman",serif;
  --font-text:"Instrument Sans","Helvetica Neue",Arial,sans-serif;

  /* Rhythm */
  --gutter:clamp(1.25rem,0.8rem + 2.2vw,2.5rem);
  --section:clamp(4.5rem,3rem + 7vw,10rem);
  --section-tight:clamp(3.5rem,2.5rem + 5vw,7rem);
  /* Internal padding for hairline-divided grid cells: 20 -> 36px across,
     24 -> 44px down, so text never sits against a divider. */
  --cell-x:clamp(1.25rem,0.55rem + 2vw,2.25rem);
  --cell-y:clamp(1.5rem,0.95rem + 2vw,2.75rem);
  --measure:35em;   /* ~70 characters; ch is unreliable here, '0' is 0.63em */
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* Dark sections re-point the accent and text tokens, so every component
   inside one adapts without a single override. */
.on-ink{
  --text-strong:var(--on-dark);
  --text:var(--on-dark-quiet);
  --text-quiet:var(--on-dark-quiet);
  --accent-strong:var(--accent-soft);
  --accent:var(--accent-soft);
  --line:var(--line-dark);
  --line-soft:var(--line-dark);
  background-color:var(--ink);
  color:var(--on-dark);
}

/* ---------- 2. RESET ---------- */
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none !important}
html{
  font-family:var(--font-text);
  color:var(--text);
  background:var(--ivory);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-size-adjust:100%;
  scroll-behavior:smooth;
}
body{margin:0;overflow-x:hidden}
h1,h2,h3,h4,h5,h6,p,figure,blockquote{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
[id]{scroll-margin-top:7rem}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:1px}
::selection{background:var(--accent);color:#fff}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}
}

/* ---------- 3. LAYOUT ---------- */
.wrap{width:100%;max-width:1280px;margin-inline:auto;padding-inline:var(--gutter)}
.wrap--wide{max-width:1480px}
.wrap--narrow{max-width:900px}

.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:clamp(1.25rem,0.8rem + 1.6vw,2rem)}
@media (max-width:1023px){.grid{grid-template-columns:repeat(6,1fr)}}
@media (max-width:640px){.grid{grid-template-columns:1fr;gap:1.75rem}}

.measure{max-width:var(--measure)}
.measure-tight{max-width:28em}

/* Column spans collapse to full width below desktop. */
.c1-4{grid-column:1/5}.c1-5{grid-column:1/6}.c1-6{grid-column:1/7}.c1-7{grid-column:1/8}
.c1-8{grid-column:1/9}.c1-9{grid-column:1/10}.c1-12{grid-column:1/-1}
.c6-12{grid-column:6/13}.c7-12{grid-column:7/13}.c8-12{grid-column:8/13}
.c9-12{grid-column:9/13}.c5-12{grid-column:5/13}
@media (max-width:1023px){
  .c1-4,.c1-5,.c1-6,.c1-7,.c1-8,.c1-9,.c5-12,.c6-12,.c7-12,.c8-12,.c9-12{grid-column:1/-1}
}

.stack>*+*{margin-top:1.25rem}
.stack-lg>*+*{margin-top:2rem}
.flow>*+*{margin-top:clamp(2.5rem,1.6rem + 3.4vw,4.5rem)}

.row{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}
.row--between{justify-content:space-between}
.row--end{justify-content:flex-end}
@media (max-width:640px){.row--stack{flex-direction:column;align-items:stretch;gap:.75rem}}

/* ---------- 4. TYPOGRAPHY ---------- */
/* Fluid scale: no heading jumps, nothing oversized on a phone. */
.display{
  font-family:var(--font-display);
  font-weight:300;
  font-size:clamp(2.6rem,1.45rem + 4.5vw,5rem);
  line-height:1.04;
  letter-spacing:-.023em;
  color:var(--text-strong);
  text-wrap:balance;
}
.h1{
  font-family:var(--font-display);
  font-weight:300;
  font-size:clamp(2.2rem,1.45rem + 3.1vw,3.75rem);
  line-height:1.08;
  letter-spacing:-.02em;
  color:var(--text-strong);
  text-wrap:balance;
}
.h2{
  font-family:var(--font-display);
  font-weight:300;
  font-size:clamp(1.75rem,1.22rem + 2.15vw,2.75rem);
  line-height:1.14;
  letter-spacing:-.016em;
  color:var(--text-strong);
  text-wrap:balance;
}
.h3{
  font-family:var(--font-display);
  font-weight:400;
  font-size:clamp(1.3rem,1.08rem + 0.9vw,1.75rem);
  line-height:1.26;
  letter-spacing:-.01em;
  color:var(--text-strong);
  text-wrap:pretty;
}
.h4{
  font-family:var(--font-text);
  font-weight:500;
  font-size:clamp(1.0625rem,1rem + 0.25vw,1.1875rem);
  line-height:1.4;
  letter-spacing:-.005em;
  color:var(--text-strong);
}
.display em,.h1 em,.h2 em,.h3 em{font-style:italic;font-weight:300}

.lead{
  font-size:clamp(1.125rem,1.03rem + 0.4vw,1.3125rem);
  line-height:1.62;
  font-weight:400;
  color:var(--text);
  max-width:46ch;
  text-wrap:pretty;
}
.body{
  font-size:1.0625rem;
  line-height:1.76;
  color:var(--text);
  max-width:var(--measure);
  text-wrap:pretty;
}
.body-sm{font-size:.9375rem;line-height:1.7;color:var(--text);max-width:var(--measure)}
.meta{font-size:.875rem;line-height:1.6;color:var(--text-quiet);letter-spacing:.005em;max-width:var(--measure)}

/* The one small-caps label. Used sparingly — never where the
   breadcrumb above it already says the same word. */
.eyebrow{
  display:block;
  font-family:var(--font-text);
  font-size:.6875rem;
  font-weight:600;
  letter-spacing:.17em;
  text-transform:uppercase;
  line-height:1;
  color:var(--accent-strong);
}
.eyebrow--quiet{color:var(--text-quiet)}

.index{
  font-family:var(--font-text);
  font-size:.75rem;
  font-weight:500;
  letter-spacing:.1em;
  color:var(--text-quiet);
  font-variant-numeric:tabular-nums;
}

.breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.8125rem;color:var(--text-quiet);margin-bottom:clamp(1.5rem,1rem + 1.6vw,2.5rem)}
.breadcrumb a{display:inline-block;padding-block:.3rem;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px;transition:text-decoration-color .25s var(--ease),color .25s var(--ease)}
.breadcrumb a:hover{color:var(--accent-strong);text-decoration-color:currentColor}
.breadcrumb span[aria-hidden]{opacity:.45}
.breadcrumb [aria-current]{color:var(--text)}

.rule{width:clamp(2.5rem,2rem + 1.5vw,4rem);height:1px;background:var(--accent);border:0;margin:0}
.hairline{width:100%;height:1px;background:var(--line);border:0;margin:0}

.text-strong{color:var(--text-strong)}
.text-quiet{color:var(--text-quiet)}
.text-accent{color:var(--accent-strong)}
.serif{font-family:var(--font-display);font-weight:300}

/* ---------- 5. CONTROLS ---------- */
/* Understated: square-ish, hairline-led, no heavy fills beyond the primary. */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  min-height:3.25rem;padding:0 1.75rem;
  font-family:var(--font-text);font-size:.9375rem;font-weight:500;letter-spacing:.015em;
  border-radius:1px;border:1px solid transparent;
  white-space:nowrap;cursor:pointer;
  transition:background-color .3s var(--ease),color .3s var(--ease),border-color .3s var(--ease);
}
.btn--primary{background:var(--ink);color:#fff;border-color:var(--ink)}
.btn--primary:hover{background:#000;border-color:#000}
.on-ink .btn--primary{background:var(--ivory);color:var(--ink);border-color:var(--ivory)}
.on-ink .btn--primary:hover{background:#fff;border-color:#fff}

.btn--ghost{background:transparent;color:var(--text-strong);border-color:var(--line)}
.btn--ghost:hover{border-color:var(--text-strong)}
.on-ink .btn--ghost{color:var(--on-dark);border-color:#434a50}
.on-ink .btn--ghost:hover{border-color:var(--on-dark)}

/* Text link with a hairline underline that warms on hover. */
.link{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.9375rem;font-weight:500;color:var(--text-strong);
  padding-bottom:.3rem;
  border-bottom:1px solid var(--line);
  transition:color .3s var(--ease),border-color .3s var(--ease);
}
.link:hover{color:var(--accent-strong);border-color:var(--accent)}
.on-ink .link:hover{color:var(--accent-soft)}

.link-plain{padding-block:.3rem;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:var(--line);transition:text-decoration-color .25s var(--ease),color .25s var(--ease)}
.link-plain:hover{color:var(--accent-strong);text-decoration-color:var(--accent)}

@media (max-width:640px){
  .btn{width:100%;white-space:normal;text-align:center;padding-inline:1.25rem;
       min-height:3.5rem;padding-block:.75rem;line-height:1.35}
  .row--stack .btn{width:100%}
}

/* ---------- 6. NAVIGATION ---------- */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(248,246,241,.88);
  backdrop-filter:saturate(160%) blur(14px);
  -webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease),background-color .3s var(--ease);
}
.site-header.is-stuck{border-bottom-color:var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;min-height:5rem}
@media (max-width:1023px){.site-header .wrap{min-height:4.25rem}}

.wordmark{
  display:inline-flex;align-items:center;gap:.625rem;padding-block:.5rem;
  font-family:var(--font-text);
  font-size:.9375rem;font-weight:500;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--text-strong);white-space:nowrap;
}
/* The mark is sized from the text it sits beside, so the pair stays in
   proportion wherever the wordmark's font-size changes. Width is auto off
   the 1596x1256 viewBox; the explicit attributes only reserve the space. */
.wordmark-mark{display:block;height:1.9em;width:auto}
.wordmark:hover{color:var(--accent-strong)}
@media (max-width:420px){
  .wordmark{font-size:.8125rem;letter-spacing:.16em;gap:.5rem}
}

.nav{display:flex;align-items:center;gap:clamp(1.25rem,0.3rem + 1.5vw,2.25rem)}
/* em, not px: this one must follow the reader's font size, or the
   desktop nav stays on at large text and overflows the viewport. */
@media (max-width:63.9375em){.nav{display:none}}
.nav a{
  position:relative;font-size:.9375rem;color:var(--text-strong);
  padding-block:.4rem;transition:color .25s var(--ease);
}
.nav a::after{
  content:"";position:absolute;left:0;bottom:0;height:1px;width:100%;
  background:var(--accent);transform:scaleX(0);transform-origin:left;
  transition:transform .35s var(--ease);
}
.nav a:hover{color:var(--accent-strong)}
.nav a:hover::after,.nav a[aria-current]::after{transform:scaleX(1)}
.nav a[aria-current]{color:var(--text-strong)}
.nav .nav-cta{margin-left:.5rem}

.burger{display:none;width:2.75rem;height:2.75rem;margin-right:-.6rem;flex-direction:column;align-items:center;justify-content:center;gap:.4rem}
@media (max-width:63.9375em){.burger{display:flex}}
.burger span{display:block;width:1.25rem;height:1px;background:var(--text-strong);transition:transform .3s var(--ease),opacity .2s var(--ease)}
.burger[aria-expanded="true"] span:first-child{transform:translateY(.25rem) rotate(45deg)}
.burger[aria-expanded="true"] span:last-child{transform:translateY(-.25rem) rotate(-45deg)}

.mobile-menu{
  position:fixed;inset:4.25rem 0 0;z-index:55;
  background:var(--ivory);
  overflow-y:auto;overscroll-behavior:contain;
  padding:2rem var(--gutter) 3rem;
}
.mobile-menu[hidden]{display:none}
/* Scoped to the nav list: an unscoped `.mobile-menu a` also hit the footer's
   primary button and language switch, painting ink text on an ink background. */
.mobile-menu nav a{
  display:flex;align-items:baseline;justify-content:space-between;gap:1rem;
  font-family:var(--font-display);font-weight:300;
  font-size:1.6rem;line-height:1.2;letter-spacing:-.015em;
  color:var(--text-strong);
  padding:1.1rem 0;border-bottom:1px solid var(--line);
}
.mobile-menu nav a:first-child{border-top:1px solid var(--line)}
/* The language switch sits above the nav list, not below it. At the foot of the
   menu it fell past the bottom of the screen on every phone tested, so a
   Chinese-speaking visitor had to scroll a menu to find their own language. */
.mobile-menu .mm-lang{margin-bottom:1.75rem}
.mobile-menu .mm-foot{margin-top:2.5rem;display:grid;justify-items:start;gap:1rem}
.mobile-menu .mm-foot .btn{justify-self:stretch}

.skip-link{position:absolute;top:-4rem;left:0;z-index:100;background:var(--ink);color:#fff;padding:.75rem 1.25rem;font-size:.875rem}
.skip-link:focus{top:0}

/* ---------- 7. SECTIONS ---------- */
/* Phones: the fluid section scale bottoms out at ~75px, which stacks to a 150px
   gap at every boundary and makes the pages long to scroll. Tighter here only;
   tablet and desktop keep the fluid value. */
@media (max-width:600px){
  :root{--section:3.5rem;--section-tight:2.75rem}
}
.section{padding-block:var(--section)}
.section--tight{padding-block:var(--section-tight)}
.section--top{padding-top:var(--section);padding-bottom:0}
.section--bottom{padding-top:0;padding-bottom:var(--section)}

.bg-ivory{background:var(--ivory)}
.bg-stone{background:var(--stone)}
.bg-paper{background:var(--paper-surface)}
/* Ivory already sits only ~14 points below white, so a surface light enough to
   read as a lift but still warm can only manage a step of about 8, against the
   13 that stone and ivory give each other. Where those two surfaces meet, a
   hairline does the separating instead of tone. Boundaries with stone or ink
   have contrast of their own and are left alone. */
.bg-paper + .bg-ivory,
.bg-ivory + .bg-paper{border-top:1px solid var(--line-soft)}
.bg-ink{background:var(--ink)}

/* Page hero — breathing room above the fold, breadcrumb well clear of the heading. */
.page-hero{padding-top:clamp(3.5rem,2.2rem + 5vw,7rem);padding-bottom:clamp(3rem,2rem + 4vw,5.5rem)}
.page-hero .display,.page-hero .h1{margin-bottom:clamp(1.5rem,1rem + 1.6vw,2.25rem)}

/* ---------- 8. COMPONENTS ---------- */

/* 8a. Split — image and text as equal halves, full-bleed on one side. */
.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(2rem,1rem + 5vw,6rem)}
.split--reverse .split__media{order:2}
.split__body{max-width:40rem}
@media (max-width:900px){
  .split{grid-template-columns:1fr;gap:2.5rem}
  .split--reverse .split__media{order:0}
}

/* 8b. Figure / image treatment — one ratio set, one hover, used everywhere. */
.figure{position:relative;overflow:hidden;background:var(--stone)}
.figure img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease)}
.figure--tall{aspect-ratio:4/5}
.figure--square{aspect-ratio:1/1}
.figure--wide{aspect-ratio:16/9}
.figure--band{aspect-ratio:21/9}
.figure--portrait{aspect-ratio:3/4}
@media (max-width:640px){
  .figure--band{aspect-ratio:3/2}
  .figure--tall{aspect-ratio:3/4}
}
a:hover>.figure img,.figure--zoom:hover img{transform:scale(1.03)}
.figure figcaption{margin-top:.875rem;font-size:.8125rem;color:var(--text-quiet);line-height:1.5}

/* Full-bleed band that escapes the container. */
.bleed{width:100vw;margin-left:calc(50% - 50vw)}

/* 8c. Editorial rows — the list of capabilities. The row itself is the link,
   so the arrow in the last column is the affordance that says so; it is not
   appended to the link text. Rows were numbered 01..NN until the numbers were
   removed: these are parallel areas of work, not an ordered process. */
.rows{border-top:1px solid var(--line)}
.row-item{display:block;border-bottom:1px solid var(--line);transition:background-color .4s var(--ease)}
.row-item:hover{background:rgba(201,90,90,.035)}
.on-ink .row-item:hover{background:rgba(212,117,111,.06)}
.row-item__inner{
  display:grid;grid-template-columns:1fr 1.6fr 2rem;
  align-items:baseline;gap:1.5rem;
  padding-block:clamp(1.5rem,1.1rem + 1.4vw,2.25rem);
}
.row-item__title{transition:color .3s var(--ease)}
.row-item__arrow{justify-self:end;color:var(--text-quiet);transition:transform .35s var(--ease),color .3s var(--ease)}
.row-item:hover .row-item__title{color:var(--accent-strong)}
.row-item:hover .row-item__arrow{transform:translateX(4px);color:var(--accent-strong)}
@media (max-width:860px){
  .row-item__inner{grid-template-columns:1fr 1.5rem;gap:.5rem 1rem}
  .row-item__title{grid-column:1/2;grid-row:1}
  .row-item__desc{grid-column:1/3;grid-row:2;margin-top:.6rem}
  .row-item__arrow{grid-column:2/3;grid-row:1;align-self:start}
}

/* 8d. Pillars — 2–4 columns separated by hairlines, not boxes. */
.pillars{display:grid;gap:0;border-top:1px solid var(--line)}
.pillars--2{grid-template-columns:repeat(2,1fr)}
.pillars--3{grid-template-columns:repeat(3,1fr)}
.pillars--4{grid-template-columns:repeat(4,1fr)}
.pillar{padding:var(--cell-y) var(--cell-x);border-right:1px solid var(--line)}
/* The first cell of each row sits flush left and the last flush right, so the
   grid still lines up with the heading above it. Every divider then has equal
   clearance on both sides. */
.pillars--2>.pillar:nth-child(2n+1),
.pillars--3>.pillar:nth-child(3n+1),
.pillars--4>.pillar:nth-child(4n+1){padding-left:0}
.pillars--2>.pillar:nth-child(2n),
.pillars--3>.pillar:nth-child(3n),
.pillars--4>.pillar:nth-child(4n){border-right:0;padding-right:0}
/* Rows after the first are separated by a hairline, once a grid wraps. */
.pillars--2>.pillar:nth-child(n+3),
.pillars--3>.pillar:nth-child(n+4),
.pillars--4>.pillar:nth-child(n+5){border-top:1px solid var(--line)}
/* One rhythm inside every cell: label, heading, description. */
.pillar .index,.pillar .eyebrow{display:block;margin-bottom:1rem}
.pillar .h4,.pillar .h3{margin-bottom:.75rem}
.pillar p{margin-top:0}

@media (max-width:900px){
  /* Three- and four-column grids become two-up, so the edges are re-derived.
     The class is repeated to match the specificity of the nth-child rules
     above, which would otherwise keep a mid-row cell flush against a divider. */
  .pillars--3,.pillars--4{grid-template-columns:repeat(2,1fr)}
  .pillars.pillars--3>.pillar,.pillars.pillars--4>.pillar{
    padding-left:var(--cell-x);padding-right:var(--cell-x);
    border-right:1px solid var(--line);border-top:0}
  .pillars.pillars--3>.pillar:nth-child(2n+1),
  .pillars.pillars--4>.pillar:nth-child(2n+1){padding-left:0}
  .pillars.pillars--3>.pillar:nth-child(2n),
  .pillars.pillars--4>.pillar:nth-child(2n){border-right:0;padding-right:0}
  .pillars.pillars--3>.pillar:nth-child(n+3),
  .pillars.pillars--4>.pillar:nth-child(n+3){border-top:1px solid var(--line)}
}
@media (max-width:600px){
  /* Single column: no vertical dividers, so cells run full width. */
  .pillars--2,.pillars--3,.pillars--4{grid-template-columns:1fr}
  .pillars.pillars--2>.pillar,.pillars.pillars--3>.pillar,.pillars.pillars--4>.pillar{
    padding-left:0;padding-right:0;border-right:0;border-top:0}
  .pillars.pillars--2>.pillar+.pillar,
  .pillars.pillars--3>.pillar+.pillar,
  .pillars.pillars--4>.pillar+.pillar{border-top:1px solid var(--line)}
}

/* 8e. Statement: one large serif line carrying a whole section. The second
   half used to be set in italic accent, which put a colour change inside a
   sentence that reads as one thought. The Chinese pages never did it, so the
   emphasis was not carrying meaning. The line is now one weight and colour. */
.statement{font-family:var(--font-display);font-weight:200;font-size:clamp(1.9rem,1.1rem + 3.3vw,3.5rem);line-height:1.18;letter-spacing:-.02em;color:var(--text-strong);max-width:22ch;text-wrap:balance}

/* 8f. Service list — scannable, for Notary. */
.services{display:grid;grid-template-columns:repeat(2,1fr);gap:0;border-top:1px solid var(--line)}
.service{padding:var(--cell-y) var(--cell-x);border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
.service:nth-child(2n+1){padding-left:0}
.service:nth-child(2n){border-right:0;padding-right:0}
.service .h4{margin-bottom:.75rem}
.service p{margin-top:0}
@media (max-width:720px){
  .services{grid-template-columns:1fr}
  .service{border-right:0;padding-left:0;padding-right:0}
}

/* 8g. Article cards — editorial grid, generous, no heavy card chrome. */
.articles{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(2rem,1rem + 3vw,3.5rem) clamp(1.5rem,0.8rem + 2vw,2.5rem)}
@media (max-width:980px){.articles{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.articles{grid-template-columns:1fr}}
.article-card{display:flex;flex-direction:column;gap:.875rem;padding-top:1.5rem;border-top:1px solid var(--line);transition:border-color .35s var(--ease)}
.article-card:hover{border-top-color:var(--accent)}
.article-card .h3{font-size:clamp(1.15rem,1.02rem + 0.5vw,1.375rem);line-height:1.3;transition:color .3s var(--ease)}
.article-card:hover .h3{color:var(--accent-strong)}
.article-card__meta{display:flex;align-items:center;gap:.6rem;font-size:.6875rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:var(--accent-strong)}
.article-card__meta .dot{width:2px;height:2px;border-radius:50%;background:var(--text-quiet);opacity:.6}
.article-card__meta .mins{color:var(--text-quiet);font-weight:500;letter-spacing:.1em}
.article-card p{font-size:.9375rem;line-height:1.65;color:var(--text);margin:0}
.article-card__more{margin-top:auto;padding-top:.5rem;font-size:.8125rem;font-weight:500;color:var(--text-quiet);display:flex;align-items:center;gap:.4rem;transition:color .3s var(--ease),gap .3s var(--ease)}
.article-card:hover .article-card__more{color:var(--accent-strong);gap:.65rem}
/* Phone: the list is 29 items, so cards become a compact divided index —
   topic, read time and headline only. The whole row stays the link. */
@media (max-width:620px){
  .articles{gap:0;border-bottom:1px solid var(--line)}
  .article-card{gap:.4rem;padding:1.125rem 0}
  .article-card>p,.article-card__more{display:none}
  .article-card__meta{font-size:.6875rem;letter-spacing:.12em}
  .article-card .h3{font-size:1.0625rem;line-height:1.35}
}

/* Lead article — first item given full width and an image. */
.article-lead{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(2rem,1rem + 4vw,4.5rem);align-items:center;padding-bottom:clamp(2.5rem,1.5rem + 3vw,4rem);border-bottom:1px solid var(--line)}
@media (max-width:900px){.article-lead{grid-template-columns:1fr;gap:2rem}}

/* 8h. Filter bar for Insights. */
.filters{display:flex;flex-wrap:wrap;gap:.5rem;padding-bottom:clamp(2rem,1.4rem + 2vw,3rem)}
.filter{
  padding:.55rem 1.1rem;font-size:.8125rem;font-weight:500;letter-spacing:.01em;
  color:var(--text);border:1px solid var(--line);border-radius:100px;background:transparent;
  transition:color .25s var(--ease),border-color .25s var(--ease),background-color .25s var(--ease);
}
.filter:hover{border-color:var(--text-strong);color:var(--text-strong)}
.filter[aria-pressed="true"],.filter[aria-current="page"]{background:var(--ink);border-color:var(--ink);color:#fff}
.filter-empty{padding:3rem 0;color:var(--text-quiet)}

/* 8i. Quiet dash list. */
.dash-list li{position:relative;padding-left:1.75rem;margin-bottom:.9rem;font-size:1.0625rem;line-height:1.7;color:var(--text);max-width:var(--measure)}
.dash-list li:last-child{margin-bottom:0}
.dash-list li::before{content:"";position:absolute;left:0;top:.85em;width:.75rem;height:1px;background:var(--accent);opacity:.75}

/* 8j. Facts / key-value pairs. */
.facts{display:grid;gap:0;border-top:1px solid var(--line)}
.fact{display:grid;grid-template-columns:minmax(8rem,1fr) 2fr;gap:1.5rem;padding-block:1.25rem;border-bottom:1px solid var(--line)}
.fact dt{font-size:.8125rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-quiet)}
.fact dd{margin:0;font-size:1rem;line-height:1.65;color:var(--text)}
@media (max-width:600px){.fact{grid-template-columns:1fr;gap:.4rem}}

/* 8k. Disclosure (FAQ). */
.disclosure{border-bottom:1px solid var(--line)}
.disclosure summary{
  display:flex;align-items:baseline;justify-content:space-between;gap:1.5rem;
  padding-block:1.4rem;cursor:pointer;list-style:none;
  font-family:var(--font-display);font-weight:400;
  font-size:clamp(1.0625rem,1rem + 0.4vw,1.25rem);line-height:1.4;
  color:var(--text-strong);transition:color .25s var(--ease);
}
.disclosure summary::-webkit-details-marker{display:none}
.disclosure summary::after{content:"+";font-family:var(--font-text);font-size:1.25rem;font-weight:400;color:var(--text-quiet);transition:transform .3s var(--ease),color .25s var(--ease);line-height:1}
.disclosure[open] summary::after{transform:rotate(45deg);color:var(--accent-strong)}
.disclosure summary:hover{color:var(--accent-strong)}
.disclosure__body{padding-bottom:1.5rem;max-width:32em}
.disclosure__body p+p{margin-top:.9rem}

/* 8l. Callout / aside panel. */
.panel{padding:clamp(1.5rem,1.1rem + 1.4vw,2.25rem);background:var(--paper);border:1px solid var(--line-soft)}
.on-ink .panel{background:var(--ink-raised);border-color:var(--line-dark)}
.panel--quiet{background:var(--stone);border-color:transparent}

/* 8l-b. Partner mark — a third-party logo, shown at modest size and left as
   supplied. Never recoloured, and never larger than our own wordmark reads. */
.partner-logo{display:block;width:100%;max-width:17.5rem;height:auto;
  margin-top:clamp(1.5rem,1.2rem + 1vw,2rem)}
@media (max-width:1023px){.partner-logo{max-width:16rem}}
/* Prominent treatment: the homepage and About network strips. */
.partner-logo--lg{max-width:25rem}
@media (max-width:1023px){.partner-logo--lg{max-width:20rem}}
@media (max-width:640px){.partner-logo--lg{max-width:17rem}}
/* Footer: the mark is blue and black on transparency, so it needs a light panel
   to stay legible on the ink footer. */
.partner-chip{display:inline-block;background:#fff;border-radius:2px;
  padding:.85rem 1.05rem;margin-top:1.5rem;line-height:0}
.partner-chip img{display:block;width:100%;max-width:11rem;height:auto}
.partner-note{margin-top:.85rem;font-size:.875rem;line-height:1.65;
  color:var(--on-dark-quiet);max-width:30ch}

/* 8l-c. Language switch — a quiet control, never a flag or a dropdown. */
.lang-switch{
  display:inline-block;font-family:var(--font-text);font-size:.8125rem;letter-spacing:.04em;
  color:var(--text-quiet);padding:.4rem .6rem;border:1px solid var(--line);border-radius:1px;
  white-space:nowrap;transition:color .25s var(--ease),border-color .25s var(--ease);
}
.lang-switch:hover{color:var(--text-strong);border-color:var(--text-strong)}
.site-footer .lang-switch{color:var(--on-dark-quiet);border-color:var(--line-dark);padding:.4rem .6rem}
.site-footer .lang-switch:hover{color:var(--on-dark);border-color:var(--on-dark)}

/* With three languages the switcher holds the two you are not reading, as one
   bordered object with a hairline between them rather than two floating boxes.
   The padding moves from the box onto each link so both have a full tap
   target. :hover is on the links, so the shared border must not react. */
.lang-switch--group{padding:0;display:inline-flex;align-items:stretch}
.lang-switch--group:hover{color:var(--text-quiet);border-color:var(--line)}
.site-footer .lang-switch--group{padding:0}
.site-footer .lang-switch--group:hover{color:var(--on-dark-quiet);border-color:var(--line-dark)}
.lang-switch--group a{
  display:block;padding:.4rem .6rem;color:inherit;font-size:inherit;
  transition:color .25s var(--ease),background-color .25s var(--ease);
}
.lang-switch--group a + a{border-left:1px solid var(--line)}
.lang-switch--group a:hover{color:var(--text-strong)}
/* The group sits inside .nav, whose `a` rule is the same specificity as the
   one above and would otherwise impose the nav's 15px size, its own
   padding-block on top of ours, and the sliding accent underline, which makes
   no sense on a label inside a bordered box. Outrank it, and kill the bar. */
.nav .lang-switch--group a{font-size:.8125rem;padding:.4rem .6rem}
.lang-switch--group a::after{display:none}
.site-footer .lang-switch--group a{padding:.4rem .6rem}
.site-footer .lang-switch--group a + a{border-left-color:var(--line-dark)}
.site-footer .lang-switch--group a:hover{color:var(--on-dark)}
/* In the mobile menu the footer rule above does not apply, and the group sits
   on its own line, so it stretches to fit the two labels comfortably. */
.mm-foot .lang-switch--group{display:inline-flex}

/* 8m. Footer. */
.site-footer{background:var(--ink);color:var(--on-dark);padding-block:clamp(3.5rem,2.5rem + 4vw,6rem) clamp(2rem,1.5rem + 1.5vw,2.5rem)}
.site-footer a{display:inline-block;padding-block:.3rem;color:var(--on-dark-quiet);font-size:.9375rem;line-height:1.6;transition:color .25s var(--ease)}
/* Once the footer columns stack, fifteen links sit in one column with their
   edges touching, at 34px tall. That is a mis-tap on a thumb, so the targets
   grow and separate at the width where the stacking starts. Desktop keeps the
   tighter spacing, where the pointer is precise and the columns are short. */
@media (max-width:860px){
  .site-footer .footer-col a:not(.wordmark){padding-block:.55rem}
}
.site-footer a:hover{color:var(--on-dark)}
.footer-head{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:clamp(1.5rem,1rem + 2vw,3rem);padding-bottom:clamp(2.5rem,2rem + 2vw,4rem)}
@media (max-width:860px){.footer-head{grid-template-columns:1fr 1fr;row-gap:2.5rem}}
@media (max-width:520px){.footer-head{grid-template-columns:1fr}}
.footer-col .eyebrow{color:var(--on-dark-quiet);margin-bottom:1.1rem}
/* `.site-footer a` is more specific than `.wordmark`, so the flex layout and
   padding have to be restated here or the mark drops onto its own line. */
.footer-brand .wordmark{
  display:inline-flex;align-items:center;gap:.625rem;
  padding-block:.5rem;color:var(--on-dark);
}
.footer-brand p{margin-top:1.25rem;max-width:30ch;font-size:.9375rem;line-height:1.7;color:var(--on-dark-quiet)}
.footer-base{border-top:1px solid var(--line-dark);padding-top:clamp(1.5rem,1.2rem + 1vw,2rem);display:grid;grid-template-columns:1fr auto;gap:1.5rem;align-items:start}
@media (max-width:760px){.footer-base{grid-template-columns:1fr}}
.footer-base p{font-size:.875rem;line-height:1.75;color:var(--on-dark-quiet);max-width:36em}
.footer-base a{font-size:.8125rem}

/* ---------- 9. FORMS ---------- */
.field{display:block;margin-bottom:1.5rem}
/* Two fields side by side, stacked once each would be too narrow to type in. */
.field-pair{display:grid;grid-template-columns:repeat(2,1fr);column-gap:1.5rem}
@media (max-width:560px){.field-pair{grid-template-columns:1fr;column-gap:0}}
.field>label,.label{display:block;font-size:.8125rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-quiet);margin-bottom:.6rem}
.input,.select,.textarea{
  width:100%;font-family:var(--font-text);font-size:1rem;color:var(--text-strong);
  background:var(--paper);border:1px solid var(--line);border-radius:1px;
  padding:.9rem 1rem;transition:border-color .25s var(--ease),box-shadow .25s var(--ease);
}
.input,.select{height:3.25rem;padding-block:0}
.textarea{resize:vertical;min-height:9rem;line-height:1.6}
.input:focus,.select:focus,.textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(201,90,90,.12)}
.input::placeholder,.textarea::placeholder{color:#a9a69f}
.select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2342464a' fill='none' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.5rem}
.checkbox{display:flex;align-items:flex-start;gap:.75rem;font-size:.9375rem;line-height:1.6;color:var(--text)}
.checkbox input{
  appearance:none;flex:0 0 auto;width:1.5rem;height:1.5rem;margin-top:0;
  border:1px solid var(--text-quiet);border-radius:1px;background:var(--paper);cursor:pointer;position:relative;
  transition:background-color .2s var(--ease),border-color .2s var(--ease);
}
.checkbox input:checked{background:var(--ink);border-color:var(--ink)}
.checkbox input:checked::after{content:"";position:absolute;left:.5rem;top:.25rem;width:.3rem;height:.65rem;border:solid #fff;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
.field-error{display:block;margin-top:.5rem;font-size:.8125rem;color:var(--accent-strong)}
.hidden{display:none !important}
.notice{padding:1rem 1.25rem;border:1px solid var(--line);background:var(--stone);font-size:.875rem;line-height:1.65;color:var(--text)}
.notice--error{background:var(--accent-wash);border-color:var(--accent-hairline);color:var(--accent-deep)}

/* ---------- 10. MOTION ---------- */
/* One restrained reveal, applied by the observer in navigation.js. */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .9s var(--ease),transform .9s var(--ease)}
.reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}}

/* ---------- UTILITIES ---------- */
.mt-0{margin-top:0}
.mb-xs{margin-bottom:.75rem}
.mb-sm{margin-bottom:1.25rem}
.mb-md{margin-bottom:2rem}
.mb-lg{margin-bottom:clamp(2.5rem,1.8rem + 2.4vw,4rem)}
.mb-xl{margin-bottom:clamp(3.5rem,2.4rem + 3.4vw,5.5rem)}
.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}
@media print{
  .site-header,.site-footer,.burger,.mobile-menu,.filters{display:none}
  .reveal{opacity:1;transform:none}
}
