
:root{
  --ink:#0a0a0a;
  --ink-2:#3d3d3d;
  --ink-3:#6b6b6b;
  --line:#e6e6e3;
  --line-2:#d4d4d0;
  --bg:#ffffff;
  --bg-2:#f7f7f4;
  --bg-3:#efefea;
  --accent:#1a4d3a;     /* deep forest — compliance/trust */
  --accent-2:#0f3527;
  --hot:#c8472b;         /* used sparingly: insights/news category */
  --wide: clamp(20px, 4vw, 56px);
  --gutter: clamp(16px, 2vw, 32px);
  --section: clamp(48px, 6vw, 88px);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:"DM Sans",system-ui,sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}

.display{font-family:"Inter",sans-serif;font-weight:500;letter-spacing:-0.02em;line-height:1.05}
.eyebrow{font-family:"DM Sans",sans-serif;font-size:11px;letter-spacing:0.18em;text-transform:uppercase;color:var(--ink-3)}
.rule{height:1px;background:var(--line);width:100%}
.rule--ink{background:var(--ink)}

.container{max-width:1440px;margin:0 auto;padding:0 var(--gutter)}
.container-wide{max-width:1640px;margin:0 auto;padding:0 var(--wide)}

/* ---------- TOP UTILITY BAR ---------- */
.utility{
  border-bottom:1px solid var(--line);
  font-size:12px;
  color:var(--ink-3);
}
.utility .row{display:flex;justify-content:space-between;align-items:center;padding:12px var(--wide)}
.utility a:hover{color:var(--ink)}
.utility .pill{display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border:1px solid var(--line-2);border-radius:999px}
.utility .dot{width:6px;height:6px;border-radius:999px;background:var(--accent)}
.utility .right{display:flex;align-items:center;gap:12px}
.lang-pill{display:inline-flex;align-items:center;border:1px solid var(--line-2);border-radius:999px;overflow:hidden;height:24px}
.lang-pill a{display:inline-flex;align-items:center;justify-content:center;padding:0 12px;height:100%;font-size:11px;font-weight:500;letter-spacing:0.04em;color:var(--ink-3);line-height:1;border-right:1px solid var(--line-2);transition:color .15s ease,background .15s ease}
.lang-pill a:last-child{border-right:none}
.lang-pill a.active{color:var(--ink);background:var(--bg-2)}
.lang-pill a:hover{color:var(--ink)}

/* Header-anchored language pill (was utility bar) */
.header-lang-pill{display:inline-flex;align-items:center;border:1px solid var(--line-2);border-radius:999px;overflow:hidden;height:36px;flex-shrink:0;margin-left:8px}
.header-lang-pill a{display:inline-flex;align-items:center;justify-content:center;padding:0 12px;height:100%;font-size:12px;font-weight:500;letter-spacing:0.04em;color:var(--ink-3);line-height:1;border-right:1px solid var(--line-2);transition:color .15s ease,background .15s ease}
.header-lang-pill a:last-child{border-right:none}
.header-lang-pill a.active{color:var(--ink);background:var(--bg-2)}
.header-lang-pill a:hover{color:var(--ink)}

@media (max-width:1180px){
  .header-lang-pill{display:none}
  .lang-pill{display:inline-flex}
}

/* ---------- HEADER ---------- */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,0.92);
  backdrop-filter:saturate(180%) blur(12px);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
}
.site-header .row{display:flex;align-items:center;justify-content:space-between;padding:18px var(--wide)}
.brand{display:flex;align-items:center;gap:16px;font-family:"Inter",sans-serif;font-weight:600;font-size:20px;letter-spacing:-0.01em}
.brand-mark{height:48.6px;width:auto;max-width:100%;display:block;flex-shrink:0;object-fit:contain}
.nav{display:flex;align-items:center;gap:36px}
.nav a{font-size:14px;font-weight:500;color:var(--ink-2);position:relative;padding:6px 0}
.nav a:hover{color:var(--ink)}
.nav a.current::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--ink)}
.cta-row{display:flex;align-items:center;gap:18px}

/* ---------- BUTTONS (unified baseline — all heights locked) ---------- */
.btn-primary,
.btn-secondary,
.search-cta,
.menu-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  box-sizing:border-box;
  border-radius:999px;
  font-family:inherit;font-weight:500;line-height:1;
  white-space:nowrap;border:1px solid transparent;
  text-decoration:none;cursor:pointer;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
  flex-shrink:0;
}
.btn-primary svg,
.btn-secondary svg,
.search-cta svg,
.menu-btn svg{width:1em;height:1em;flex-shrink:0;display:block}

/* Hero — large, locked at 56px so primary + secondary always match */
.btn-primary,
.btn-secondary{
  min-height:56px;padding:0 28px;font-size:15px;
}
.btn-primary{background:var(--ink);color:#fff;border-color:var(--ink)}
.btn-primary:hover{background:var(--accent);border-color:var(--accent)}
.btn-secondary{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn-secondary:hover{background:var(--ink);color:#fff}

/* Compact — header pills + ghost */
.search-cta,
.menu-btn{
  min-height:44px;padding:0 18px;font-size:13px;
}
.search-cta{background:transparent;color:var(--ink);border-color:var(--ink)}
.search-cta:hover{background:var(--ink);color:#fff}
.menu-btn{display:none;background:transparent;color:var(--ink);border-color:var(--line-2)}
.menu-btn:hover{border-color:var(--ink)}

/* Dark background — same pair, colours inverted (modifier, not a separate style) */
.btn-primary.btn-dark{background:#fff;color:var(--ink);border-color:#fff}
.btn-primary.btn-dark:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
.btn-secondary.btn-dark{background:transparent;color:#fff;border-color:#fff}
.btn-secondary.btn-dark:hover{background:#fff;color:var(--ink)}

/* ---------- HERO ---------- */
.hero{
  padding:clamp(32px,4vw,64px) 0 clamp(48px,6vw,96px);
  position:relative;overflow:hidden;
  border-bottom:1px solid var(--line);
}
.hero .inner{position:relative;z-index:2}
.hero-meta{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:end;margin-bottom:48px}
.hero-meta .left{max-width:640px}
.hero-meta .right{font-family:"DM Sans",sans-serif;font-size:11px;letter-spacing:0.18em;text-transform:uppercase;color:var(--ink-3);text-align:right}
.hero-tags{white-space:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.hero-tags::-webkit-scrollbar{display:none}

@media (max-width:640px){
  .hero-tags{font-size:10px;letter-spacing:0.08em;white-space:nowrap}
}
@media (max-width:380px){
  .hero-tags{font-size:9.5px;letter-spacing:0.05em}
}
.hero h1{
  font-size:clamp(40px,6.5vw,104px);
  margin:0 0 36px;
  letter-spacing:-0.03em;
  line-height:0.98;
}
.hero h1 .it{font-style:italic;font-weight:400;color:var(--accent)}
.hero-sub{max-width:620px;font-size:18px;color:var(--ink-2);margin:0 0 40px}
.hero-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.btn-primary,
.btn-secondary{
  /* moved to unified button system above — kept here as a no-op anchor */
  min-height:56px;
}
.hero .scroll-cue{
  position:absolute;left:var(--wide);bottom:32px;
  font-family:"DM Sans",sans-serif;font-size:11px;letter-spacing:0.18em;text-transform:uppercase;color:var(--ink-3);
  display:flex;align-items:center;gap:8px;
}
.hero .scroll-cue .bar{width:48px;height:1px;background:var(--ink-3);position:relative;overflow:hidden}
.hero .scroll-cue .bar::after{content:"";position:absolute;left:-30px;top:0;height:100%;width:30px;background:var(--ink);animation:slide 2.6s ease-in-out infinite}
@keyframes slide{0%{left:-30px}50%{left:100%}100%{left:100%}}
.hero-decor{
  position:absolute;right:-120px;top:30%;width:520px;height:520px;border-radius:50%;
  border:1px solid var(--line-2);z-index:1;pointer-events:none;
}
.hero-decor::before{content:"";position:absolute;inset:60px;border-radius:50%;border:1px solid var(--line-2)}
.hero-decor::after{content:"";position:absolute;inset:130px;border-radius:50%;background:var(--bg-3)}

/* ---------- TRUST STRIP ---------- */
.trust{padding:48px 0;border-bottom:1px solid var(--line)}
.trust .label{margin-bottom:24px}
.trust .logos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px;align-items:center}
.trust .logo{
  height:64px;display:grid;place-items:center;
  border:1px solid var(--line);border-radius:8px;
  color:var(--ink-2);
  font-family:"DM Sans",sans-serif;font-weight:500;
  font-size:11px;letter-spacing:0.18em;text-transform:uppercase;
  background:#fff;
  padding:0 12px;text-align:center;
}

/* ---------- SECTION HEADER (shared) ---------- */
.section{padding:var(--section) 0;border-bottom:1px solid var(--line)}
.section-head{display:grid;grid-template-columns:12.5rem minmax(0,1fr) auto;gap:48px;margin-bottom:40px;align-items:start}
.section-head .num{font-family:"DM Sans",sans-serif;font-size:11px;letter-spacing:0.18em;text-transform:uppercase;color:var(--ink-3);display:flex;gap:12px;align-items:center;padding-top:18px;white-space:nowrap}
.section-head .num::before{content:"";width:24px;height:1px;background:var(--ink)}
.section-head-body{display:flex;flex-direction:column;gap:24px;min-width:0}
.section-head-body h2{font-size:clamp(36px,5vw,72px);margin:0;letter-spacing:-0.025em;line-height:1.05}
.section-head-body .lede{color:var(--ink-2);font-size:17px;max-width:56ch;margin:0}
.section-head-cta{align-self:flex-start;padding-top:16px}
/* compact button variant for section-head CTAs */
.section-head .btn-secondary{
  min-height:48px !important;
  padding:0 22px !important;
  font-size:14px !important;
  background:transparent;color:var(--ink);border-color:var(--ink);
}
.section-head .btn-secondary:hover{background:var(--ink);color:#fff}

/* ---------- SERVICES ---------- */
/* Subgrid: shared thumb/num/h3/p/tags rows across 3 columns so tag tops align */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:auto auto auto auto auto;
  gap:0;
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}
.service{
  border-right:1px solid var(--line);border-bottom:1px solid var(--line);
  display:grid;
  grid-template-rows:subgrid;
  grid-row:span 5;
  min-height:480px;
  transition:background .25s ease;
  position:relative;
}
.service:hover{background:var(--bg-2)}
.service-thumb{grid-row:1;aspect-ratio:16/9;overflow:hidden;background:var(--bg-3);position:relative}
.service-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.service-body{
  grid-row:2 / span 4;
  display:grid;
  grid-template-rows:subgrid;
  padding:32px 40px 48px;
  min-height:0;
  align-content:start;
}
.service .num{font-family:"DM Sans",sans-serif;font-size:11px;letter-spacing:0.18em;color:var(--ink-3);margin:0}
.service h3{font-family:"Inter",sans-serif;font-weight:500;font-size:28px;letter-spacing:-0.02em;line-height:1.1;margin:0;padding-top:20px}
.service p{color:var(--ink-2);font-size:15px;max-width:38ch;line-height:1.5;margin:0;padding-top:20px}
.service .tags{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding-top:24px;align-content:flex-start;align-self:start}
.service .tags span{padding:6px 12px;border:1px solid var(--line-2);border-radius:999px;font-size:12px;color:var(--ink-2)}
.service .arrow{
  position:absolute;top:24px;right:24px;
  width:36px;height:36px;border-radius:999px;border:1px solid rgba(255,255,255,0.9);
  background:rgba(255,255,255,0.92);color:var(--ink);
  display:grid;place-items:center;transition:all .2s ease;backdrop-filter:blur(6px);
}
.service:hover .arrow{background:var(--ink);color:#fff;border-color:var(--ink);transform:rotate(-45deg)}
.service .arrow svg{width:14px;height:14px}

/* ---------- INSIGHTS ---------- */
.insights-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:stretch}
.insights-grid .insight-list{align-self:stretch}

.insight-list{display:flex;flex-direction:column;gap:0}
.insight{
  display:grid;grid-template-columns:64px 1fr;gap:24px;padding:24px 0;
  border-top:1px solid var(--line);
}
.insight:last-child{border-bottom:1px solid var(--line)}
.insight .date{font-family:"DM Sans",sans-serif;font-size:11px;letter-spacing:0.18em;color:var(--ink-3);text-transform:uppercase}
.insight h5{font-family:"Inter",sans-serif;font-weight:500;font-size:20px;margin:0 0 6px;line-height:1.15}
.insight .cat{font-family:"DM Sans",sans-serif;font-size:10px;letter-spacing:0.18em;text-transform:uppercase;color:var(--ink-3)}
.insight:hover h5{color:var(--accent)}

/* ---------- TESTIMONIALS ---------- */
.testi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid var(--ink);border-left:1px solid var(--ink)}
.testi{padding:40px 32px 36px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:24px;background:#fff;min-height:340px}
.testi-meta{display:flex;flex-wrap:wrap;gap:8px}
.testi-tag{font-family:"DM Sans",sans-serif;font-size:10px;letter-spacing:0.16em;text-transform:uppercase;color:var(--ink-3);padding:5px 12px;border:1px solid var(--line-2);border-radius:999px}
.testi-tag:nth-child(1){color:var(--accent);border-color:var(--accent)}

.testi-quote::before{content:"\201C";color:var(--accent);font-size:1.2em;line-height:0;margin-right:4px;vertical-align:-0.15em}
.testi-foot{margin-top:auto;padding-top:8px;border-top:1px solid var(--line)}
.testi-name{font-family:"DM Sans",sans-serif;font-weight:500;font-size:14px;color:var(--ink);line-height:1.4}
.testi-firm{font-weight:400;color:var(--ink-2)}
.testi-outcome{font-family:"DM Sans",sans-serif;font-size:10px;letter-spacing:0.16em;text-transform:uppercase;color:var(--ink-3);margin-top:8px}

@media (max-width:980px){
  .testi-grid{grid-template-columns:1fr}
  .testi{padding:32px 24px}
}
@media (max-width:560px){
  .testi{min-height:0}
  .testi-quote{font-size:16px}
}

/* ---------- INSIGHT — enriched with tags + so-what + read time ---------- */
.insight{padding:24px 0;align-items:start;display:grid;grid-template-columns:64px 1fr;gap:24px;border-top:1px solid var(--line)}
.insight:last-child{border-bottom:1px solid var(--line)}
.insight .insight-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.insight .insight-tag{font-family:"DM Sans",sans-serif;font-size:9.5px;letter-spacing:0.16em;text-transform:uppercase;color:var(--ink-3);padding:3px 8px;border:1px solid var(--line-2);border-radius:999px;line-height:1.2}
.insight .insight-tag.reg{color:var(--accent);border-color:var(--accent)}
.insight .insight-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:4px}
.insight .insight-date{font-family:"DM Sans",sans-serif;font-size:11px;letter-spacing:0.18em;color:var(--ink-3);text-transform:uppercase;white-space:nowrap}
.insight .insight-read{font-family:"DM Sans",sans-serif;font-size:10px;letter-spacing:0.16em;color:var(--ink-3);text-transform:uppercase;white-space:nowrap}
.insight h5{font-family:"Inter",sans-serif;font-weight:500;font-size:18px;margin:0 0 8px;line-height:1.25;letter-spacing:-0.01em}
.insight .sowhat{font-family:"DM Sans",sans-serif;font-size:13.5px;line-height:1.5;color:var(--ink);margin:0 0 4px;font-weight:500}
.insight .insight-byline{font-family:"DM Sans",sans-serif;font-size:11px;color:var(--ink-3);margin:0}
.insight:hover h5{color:var(--accent)}

/* ---------- INSIGHTS — split layout ---------- */
.insights-split{display:grid;grid-template-columns:1fr 1.4fr;gap:64px;align-items:stretch}
.insights-left{display:flex;flex-direction:column;min-width:0}
.insights-left .display{font-size:clamp(36px,5vw,72px);margin:16px 0 24px;letter-spacing:-0.025em;line-height:1.05}
.insights-left .lede{color:var(--ink-2);font-size:17px;max-width:38ch;margin:0}
.insights-left .insights-cta{margin-top:auto;align-self:flex-start;min-height:48px;height:48px;padding:0 24px;font-size:14px}
.insights-right{display:flex;flex-direction:column}
.insights-list-tight{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}
.insights-list-tight li{border-top:1px solid var(--line)}
.insights-list-tight li:last-child{border-bottom:1px solid var(--line)}
.insights-list-tight a{display:grid;grid-template-columns:36px 1fr 18px;gap:24px;align-items:baseline;padding:20px 0;color:var(--ink);text-decoration:none;transition:color .15s}
.insights-list-tight a:hover{color:var(--accent)}
.insights-list-tight .num{font-family:"DM Sans",sans-serif;font-size:11px;letter-spacing:0.18em;color:var(--ink-3);text-transform:uppercase}

.insights-list-tight .arrow{font-family:"DM Sans",sans-serif;font-size:14px;color:var(--ink-3);transition:transform .2s ease,color .15s}
.insights-list-tight a:hover .arrow{color:var(--accent);transform:translateX(6px)}

@media (max-width:980px){
  .insights-split{grid-template-columns:1fr;gap:48px}
  .insights-list-tight a{grid-template-columns:32px 1fr 16px;gap:16px}
  .insights-list-tight .title{font-size:16px}
  .insights-left .insights-cta{margin-top:32px;align-self:flex-start}
}

/* ---------- REGULATORY NEWS — page hero ---------- */
.page-hero-news{padding:clamp(48px,6vw,96px) 0 clamp(32px,4vw,48px);border-bottom:1px solid var(--line)}
.page-hero-news .eyebrow{margin-bottom:16px}
.page-hero-news .display{font-size:clamp(40px,6vw,96px);margin:16px 0 24px;letter-spacing:-0.025em;line-height:1.02;max-width:18ch}
.page-hero-sub-news{font-family:"Inter",sans-serif;font-size:18px;line-height:1.5;color:var(--ink-2);max-width:62ch;margin:0}

/* ---------- REGULATORY NEWS — filter bar ---------- */
.filter-bar-section{padding:24px 0 32px;border-bottom:1px solid var(--line);background:var(--bg-2)}
.filter-label{font-family:"DM Sans",sans-serif;font-size:10px;letter-spacing:0.18em;text-transform:uppercase;color:var(--ink-3);margin-bottom:12px}
.filter-row{display:flex;flex-wrap:wrap;gap:8px}
.filter-pill{display:inline-flex;align-items:center;justify-content:center;padding:0 16px;height:32px;font-family:"DM Sans",sans-serif;font-size:13px;font-weight:500;color:var(--ink-2);border:1px solid var(--line-2);border-radius:999px;text-decoration:none;transition:all .15s ease;white-space:nowrap}
.filter-pill:hover{color:var(--ink);border-color:var(--ink-3)}
.filter-pill.active{color:#fff;background:var(--accent);border-color:var(--accent)}
.filter-pill.active:hover{color:#fff;background:var(--accent-2);border-color:var(--accent-2)}

@media (max-width:640px){
  .filter-row{overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px;-webkit-overflow-scrolling:touch}
  .filter-row::-webkit-scrollbar{display:none}
  .filter-pill{flex-shrink:0}
}

/* ---------- REGULATORY NEWS — recent posts grid ---------- */
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid var(--ink);border-left:1px solid var(--ink)}
.news-card{display:flex;flex-direction:column;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;transition:background .2s ease;position:relative}
.news-bar{height:6px;background:var(--ink);transition:background .2s ease}
.news-card:hover{background:var(--bg-2)}
.news-card:hover .news-bar{background:var(--accent)}
.news-body{padding:24px 28px 28px;display:flex;flex-direction:column;gap:16px;flex:1}
.news-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.news-tags .insight-tag{border-color:var(--line-2);color:var(--ink-3)}
.news-tags .insight-tag.reg{border-color:var(--accent);color:var(--accent)}
.news-read-inline{font-family:"DM Sans",sans-serif;font-size:10px;letter-spacing:0.16em;text-transform:uppercase;color:var(--ink-3);margin-left:auto}
.news-card h4{font-family:"Inter",sans-serif;font-weight:500;font-size:19px;line-height:1.3;letter-spacing:-0.01em;margin:0}
.news-card h4 a{color:var(--ink);text-decoration:none;transition:color .15s}
.news-card h4 a:hover{color:var(--accent)}
.news-excerpt{font-family:"DM Sans",sans-serif;font-size:14px;line-height:1.55;color:var(--ink-2);margin:0;flex:1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}
.news-foot{display:flex;justify-content:space-between;align-items:baseline;padding-top:12px;margin-top:auto;border-top:1px dashed var(--line-2)}
.news-date{font-family:"DM Sans",sans-serif;font-size:10.5px;letter-spacing:0.16em;text-transform:uppercase;color:var(--ink-3)}
.news-archive-cta{margin-top:48px;padding-top:32px;border-top:1px solid var(--line-2);display:flex;flex-wrap:wrap;gap:16px;align-items:center}

@media (max-width:980px){
  .news-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .news-grid{grid-template-columns:1fr}
}

/* ---------- STATS / ABOUT ---------- */
.stats-intro{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:end;margin-bottom:40px}
.stats-intro > *{height:100%}
.stats-intro-heading{font-family:"Inter",sans-serif;font-weight:500;font-size:clamp(28px,3.5vw,48px);letter-spacing:-0.02em;line-height:1.1;margin:12px 0 0;max-width:22ch}
.stats-intro-lede{color:var(--ink-2);font-size:15px;max-width:48ch;margin:0}

.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;border:none}
.stat{
  position:relative;
  aspect-ratio:1/1;
  min-height:0;
  padding:50% 8% 10%;
  border:none;
  border-radius:4px;
  overflow:hidden;
  background-color:#013117;
  background-size:cover;
  background-position:center top;
  background-repeat:no-repeat;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:center;
  text-align:center;
  box-sizing:border-box;
}
.stat--reviews{background-image:url("/assets/stat-shield.png")}
.stat--enterprises{background-image:url("/assets/stat-buildings.png")}
.stat--licences{background-image:url("/assets/stat-certificate.png")}
.stat--hours{background-image:url("/assets/stat-hourglass.png")}
.stat .num{font-family:"Inter",sans-serif;font-weight:500;font-size:clamp(40px,5.5vw,72px);letter-spacing:-0.04em;line-height:1;color:#fff;position:relative;z-index:1;flex:0 0 auto;height:1.05em;display:flex;align-items:flex-end;justify-content:center;width:100%;text-align:center}
.stat .num .plus{color:#b7d4c3}
.stat .lbl{margin-top:12px;font-size:13px;line-height:1.35;color:rgba(255,255,255,0.88);max-width:20ch;width:100%;position:relative;z-index:1;min-height:calc(1.35em * 4);height:calc(1.35em * 4);display:flex;align-items:flex-start;justify-content:center;text-align:center;overflow:hidden;margin-left:auto;margin-right:auto}

.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:96px;align-items:stretch}
.about-grid > .lcol,.about-grid > .rcol{height:100%}
.about-grid .lcol{position:sticky;top:120px}
.about-grid .lcol h3{font-family:"Inter",sans-serif;font-weight:500;font-size:clamp(40px,5vw,80px);line-height:1;letter-spacing:-0.025em;margin:0}
.about-grid .lcol h3 .it{font-style:italic;font-weight:400;color:var(--accent)}
.about-grid .rcol{font-size:17px;color:var(--ink-2);display:flex;flex-direction:column;gap:24px}
.about-grid .rcol .signoff{margin-top:24px;font-family:"Inter",sans-serif;font-size:18px;color:var(--ink)}
.about-grid .rcol .signoff em{font-style:normal;font-weight:600}

/* ---------- LOCATIONS / CONTACT ---------- */
.locations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid var(--ink)}
.loc{padding:24px 24px 32px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:0}
.loc:last-child{border-right:none}
.loc .city{font-family:"Inter",sans-serif;font-weight:500;font-size:28px;line-height:1.1;letter-spacing:-0.02em;display:flex;justify-content:space-between;align-items:baseline}
.loc .city .tag{font-family:"DM Sans",sans-serif;font-size:10px;letter-spacing:0.18em;text-transform:uppercase;color:var(--ink-3)}
.loc .addr{font-size:15px;color:var(--ink-2);line-height:1.6}

/* ---------- CTA STRIP ---------- */
.cta-strip{background:var(--ink);color:#fff;padding:clamp(56px,8vw,112px) 0}
.cta-strip .inner{display:grid;grid-template-columns:1fr auto;align-items:end;gap:48px}
.cta-strip h2{font-family:"Inter",sans-serif;font-weight:500;font-size:clamp(40px,6vw,96px);letter-spacing:-0.025em;line-height:1.05;margin:0;max-width:14ch}
.cta-strip h2 .it{font-style:italic;font-weight:400;color:#7fc7a8}
.cta-strip .cta-actions{display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.cta-strip .cta-text{display:flex;flex-direction:column;gap:20px}
.cta-strip .cta-lede{color:rgba(255,255,255,0.7);font-size:16px;line-height:1.55;max-width:42ch;margin:0}
.cta-head-link{
  display:inline-flex;align-items:center;gap:6px;
  color:#fff;font-size:14px;font-weight:500;
  border-bottom:1px solid rgba(255,255,255,0.4);
  padding-bottom:3px;align-self:flex-start;
  transition:border-color .2s ease, gap .2s ease;
}
.cta-head-link:hover{border-color:#fff;gap:12px}
/* CTA strip buttons use the unified pair with the .btn-dark modifier */

/* ---------- FOOTER ---------- */
.site-footer{background:var(--bg-2);padding:40px 0 32px;border-top:1px solid var(--line)}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:48px;margin-bottom:64px}
.site-footer h6,.site-footer .footer-heading{font-family:"DM Sans",sans-serif;font-size:11px;letter-spacing:0.18em;text-transform:uppercase;color:var(--ink-3);margin:0 0 18px;font-weight:500}
.site-footer ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}
.site-footer ul a{font-size:14px;color:var(--ink-2)}
.site-footer ul a:hover{color:var(--ink)}
.footer-grid .brand-col{display:flex;flex-direction:column;gap:18px}
.footer-grid .brand-col p{color:var(--ink-2);font-size:14px;max-width:32ch;margin:0}
.footer-grid .brand-col .mark-large{display:block;height:85px;width:auto;max-width:100%;flex-shrink:0;align-self:flex-start;margin-bottom:6px}
.footer-bottom{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;padding-top:24px;border-top:1px solid var(--line-2);font-size:12px;color:var(--ink-3)}
.footer-bottom .center{text-align:center}
.footer-bottom .compliance{font-size:10.5px;color:var(--ink-3);text-align:right;max-width:420px;line-height:1.4}

/* ---------- MOBILE MENU (toggle panel) ---------- */
.mobile-menu{
  position:fixed;inset:0;z-index:70;background:#fff;color:var(--ink);
  display:flex;flex-direction:column;opacity:0;visibility:hidden;
  transform:translateY(-12px);transition:opacity .3s ease,visibility 0s linear .3s,transform .3s ease;
}
.mobile-menu-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px var(--gutter);border-bottom:1px solid var(--line);
  flex-shrink:0;
}
.mobile-menu-head .brand{display:flex;align-items:center;gap:16px;font-family:"Inter",sans-serif;font-weight:600;font-size:20px}
.mobile-menu-head .brand .brand-mark{height:48.6px;width:auto;max-width:100%}
.mobile-menu-close{
  width:44px;height:44px;border-radius:999px;border:1px solid var(--line-2);
  background:transparent;display:inline-flex;align-items:center;justify-content:center;color:var(--ink);
  cursor:pointer;
}
.mobile-menu-close:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.mobile-menu-close svg{width:18px;height:18px}
.mobile-menu.is-open{opacity:1;visibility:visible;transform:none;transition:opacity .3s ease,visibility 0s linear 0s,transform .3s ease}
.mobile-menu-inner{display:flex;flex-direction:column;flex:1;padding:0 var(--gutter) 32px;overflow-y:auto}
.mobile-nav{display:flex;flex-direction:column;margin-top:24px;border-top:1px solid var(--line)}
.mobile-nav-link{
  display:flex;align-items:center;justify-content:space-between;
  font-family:"Inter",sans-serif;font-weight:500;
  font-size:clamp(28px,6vw,40px);letter-spacing:-0.02em;color:var(--ink);
  padding:18px 0;border-bottom:1px solid var(--line);
  min-height:64px; /* touch target */
}
.mobile-nav-link .arrow{
  font-size:18px;font-weight:400;color:var(--ink-3);
  transition:transform .2s ease,color .2s ease;
}
.mobile-nav-link:hover .arrow{transform:translateX(6px);color:var(--ink)}
.mobile-nav-link.current{color:var(--ink);font-weight:600}
.mobile-menu-foot{margin-top:auto;padding-top:24px;display:flex;flex-direction:column;gap:20px}
.mobile-menu-cta{display:flex;flex-direction:column;gap:12px}
.mobile-menu-btn{justify-content:center;min-height:54px;padding:0 28px}
.mobile-menu-langs{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--ink-2)}
.mobile-menu-langs a.active{color:var(--ink);font-weight:600}
.mobile-menu-langs .lang-sep{width:1px;height:11px;background:var(--line-2)}

/* Menu button icon swap on open */
.menu-btn-icon-close{display:none}
.menu-btn.is-open .menu-btn-icon-open{display:none}
.menu-btn.is-open .menu-btn-icon-close{display:inline-flex}
.menu-btn.is-open svg{width:18px;height:18px}

/* lock body scroll when menu is open */
body.menu-open{overflow:hidden}

/* ---------- SMALL MAP per office (Google Maps embed) ---------- */
.loc-map{
  display:block;width:100%;height:160px;
  border:1px solid var(--line);border-radius:0;
  background:var(--bg-3);
  filter:grayscale(40%) contrast(0.95);
  transition:filter .3s ease;
}
.loc:hover .loc-map{filter:grayscale(0%) contrast(1)}
.loc-info{flex:1;display:flex;flex-direction:column;gap:12px;padding-top:20px}
.loc-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.loc-head .city{font-family:"Inter",sans-serif;font-weight:500;font-size:24px;letter-spacing:-0.02em}
.loc-head .tag{font-family:"DM Sans",sans-serif;font-size:10px;letter-spacing:0.18em;text-transform:uppercase;color:var(--ink-3)}
.loc-addr{font-size:14px;color:var(--ink-2);line-height:1.55}
.loc-coords{font-family:"DM Sans",sans-serif;font-size:10px;letter-spacing:0.14em;color:var(--ink-3);margin-top:6px}

@media (min-width: 980px){
  .loc .city{font-size:28px}
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px){
  .nav{display:none}
  .menu-btn{display:inline-flex;min-height:44px;padding:0 18px}
  /* Hero buttons — same height on tablet as desktop, just narrower padding */
  .btn-primary,.btn-secondary{min-height:52px;padding:0 22px;font-size:14px}
  .section-head{grid-template-columns:1fr;gap:24px}
  .services-grid{grid-template-columns:1fr;grid-template-rows:none}.service{display:flex;flex-direction:column;grid-row:auto;min-height:0}.service-thumb{grid-row:auto}.service-body{display:flex;flex-direction:column;gap:0;grid-row:auto;flex:1}.service .tags{align-self:stretch}
  .insights-grid{grid-template-columns:1fr}
  .stats-intro{grid-template-columns:1fr;gap:24px;margin-bottom:40px}
  /* keep 2×2 stats grid all the way down — never 1-per-row */
  .stats-grid{grid-template-columns:1fr 1fr;gap:12px}
  .stat{padding:50% 8% 9%;border-radius:3px}
  .stat .num{font-size:clamp(32px,9vw,52px)}
  .stat .lbl{font-size:12px;max-width:16ch;margin-top:12px;min-height:calc(1.35em * 4);height:calc(1.35em * 4);overflow:hidden;text-align:center;justify-content:center}
  .locations{grid-template-columns:1fr}
  .loc{border-right:none}
  .about-grid{grid-template-columns:1fr;gap:40px}
  .about-grid .lcol{position:static}
  .cta-strip .inner{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-bottom{grid-template-columns:1fr;text-align:center}
  .footer-bottom .center{text-align:center}
  .footer-bottom .compliance{text-align:center;margin:8px auto 0}
  .hero-meta{grid-template-columns:1fr}
  .hero-meta .right{text-align:left}
  .trust .logos{grid-template-columns:repeat(3,1fr)}
}
@media (max-width: 640px){
  .hero h1{font-size:clamp(36px,9vw,68px)}
  .footer-grid{grid-template-columns:1fr}
  /* Utility bar — single row, both pills same height (24px) */
  .utility .row{flex-direction:row;align-items:center;gap:12px;padding:12px var(--gutter);justify-content:space-between}
  .utility .pill{font-size:10px;padding:0 12px;height:24px;line-height:1}
  .utility .dot{width:5px;height:5px}
  .lang-pill a{padding:0 8px}
  /* Collapse header pills to matching square icons so they stay flush */
  .search-cta,.menu-btn{width:44px;height:44px;min-height:44px;padding:0;gap:0}
  .search-cta-label,.menu-btn-text{display:none}
  /* Mobile menu is open — match header height */
  .menu-btn.is-open{border-color:var(--ink);background:var(--ink);color:#fff}
  /* Hero buttons — keep primary + secondary at exact same height */
  .btn-primary,.btn-secondary{min-height:48px;padding:0 20px;font-size:14px}
  .hero-actions{gap:12px}
  .loc-map{height:140px}
  .loc{padding:20px 16px 24px}
  .loc .city{font-size:22px}
}
@media (max-width: 420px){
  .stats-grid{grid-template-columns:1fr 1fr;gap:12px}
  .stat{padding:50% 7% 8%}
  .stat .num{font-size:clamp(28px,10vw,44px)}
  .stat .lbl{font-size:11px;max-width:14ch;margin-top:8px;min-height:calc(1.35em * 5);height:calc(1.35em * 5);overflow:hidden;text-align:center;justify-content:center}
  /* Hero stays readable but compact — both buttons still same height */
  .btn-primary,.btn-secondary{min-height:48px;padding:0 18px;font-size:13.5px;gap:8px}
}

button.filter-pill{background:transparent;appearance:none;margin:0}.filter-pill.active,.filter-pill.active:hover{color:#fff;background:var(--accent);border-color:var(--accent)}.news-card.is-hidden{display:none}.filter-empty{display:none}.filter-empty.is-on{display:block}.post-body{max-width:74ch;padding:8px 0 72px}.post-body p{margin:0 0 16px;font-size:17px;line-height:1.7}.post-cover{width:100%;max-height:420px;object-fit:cover}

/* === iPhone / mobile overflow guards (blog posts + index) === */
/* Do not set overflow-x on html/body — it breaks position:sticky headers */
html, body { max-width: 100%; }
.container, .container-wide { width: 100%; max-width: 100%; box-sizing: border-box; }
.site-header .row, .section, .page-hero-news, .site-footer, .footer-grid, .footer-bottom, .news-grid, .news-card, .post-body { min-width: 0; max-width: 100%; }
.brand { min-width: 0; max-width: min(160px, 55vw); }
.brand-mark { max-width: 100%; height: auto; max-height: 48.6px; width: auto; }
img, video, iframe { max-width: 100%; height: auto; }
.post-cover { max-width: 100%; width: 100%; height: auto; max-height: 420px; object-fit: cover; }
.post-body, .page-hero-news .display, .page-hero-sub-news, .news-card, .news-body, .news-card h4, .footer-bottom .compliance, article { overflow-wrap: anywhere; word-break: break-word; }
.page-hero-news .display { max-width: 100%; }
.post-body table, article table, .news-body table { display: block; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.post-body pre, article pre { overflow-x: auto; max-width: 100%; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 980px) {
  .filter-row { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-pill { flex-shrink: 0; }
}
@media (max-width: 640px) {
  .page-hero-news .display { font-size: clamp(28px, 7.5vw, 40px); line-height: 1.12; }
  .page-hero-sub-news { font-size: 16px; }
  .news-body { padding: 20px 16px 24px; }
  .footer-grid .brand-col .mark-large { max-width: min(200px, 100%); height: auto; }
  .site-header .row { padding: 16px var(--wide); gap: 8px; }
}

/* ===== Design fixes 2026-11-06 (#2, #4, #5, #6) — appended overrides; delete this block to roll back the design changes (snapshot: workspace/prudent-website-work/snapshots/2026-11-06-1035-pre-design-fixes) ===== */
/* #4 — hover feedback: buttons step, linked cards lift, photos zoom */
.btn-primary,.btn-secondary,.search-cta,.menu-btn{transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.btn-primary:hover,.btn-secondary:hover,.search-cta:hover,.menu-btn:hover{transform:translateY(-2px)}
.btn-primary:hover{box-shadow:0 10px 28px rgba(10,10,10,.35)}
.btn-secondary:hover{box-shadow:0 10px 28px rgba(10,10,10,.28)}
.btn-primary.btn-dark:hover,.btn-secondary.btn-dark:hover{box-shadow:0 8px 20px rgba(0,0,0,.35)}
.btn-primary:active,.btn-secondary:active,.search-cta:active,.menu-btn:active{transform:translateY(0);box-shadow:none}
.service,.licence-card,.engage,.process-step,.news-card{transition:background .2s ease,transform .25s ease,box-shadow .25s ease}
.service:hover,.licence-card:hover,.engage:hover,.process-step:hover,.news-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(10,10,10,.10)}
.service-thumb img,.sd-image img{transition:transform .35s ease}
.service:hover .service-thumb img,.service-detail:hover .sd-image img{transform:scale(1.03)}
@media (prefers-reduced-motion:reduce){
.btn-primary:hover,.btn-secondary:hover,.search-cta:hover,.menu-btn:hover{transform:none;box-shadow:none}
.service:hover,.licence-card:hover,.engage:hover,.process-step:hover,.news-card:hover{transform:none;box-shadow:none}
.service:hover .service-thumb img,.service-detail:hover .sd-image img{transform:none}
}
/* #2 — stats: the square artwork is load-bearing (white icon top / green field bottom), so the ratio and padding stay as built; only the label's reserved height is trimmed from 4 lines to 3. (2026-11-06 fix: collapsing the cards put the numbers on the white half.) */
.stat .lbl{min-height:calc(1.35em * 3);height:calc(1.35em * 3)}
/* #2 — testimonials: no forced height, tighter padding and gap */
.testi{min-height:0;padding:32px 28px 28px;gap:20px}
/* #2 — awards: less padding, larger badge */
.awards-block,.section.awards-block{padding:clamp(32px,4vw,48px) 0 clamp(24px,3vw,40px)}
#insights.section{padding-top:clamp(32px,4vw,56px)}
.awards-badge{width:clamp(170px,20vw,240px)}
/* #2 — contact: tighter form section and offices bottom */
.contact-form-wrap{padding:clamp(40px,5vw,72px) 0 clamp(32px,4vw,56px)}
#offices.section{padding-bottom:clamp(32px,4vw,56px)}
/* #5 — services: tighter blocks, cream band on reversed blocks, wider image there */
.service-detail{padding:clamp(40px,5vw,72px) 0}
.service-detail.sd-reverse{background:var(--bg-2)}
.service-group-head{background:var(--bg);border-top:2px solid var(--accent)}
.sd-reverse .sd-image{aspect-ratio:16/10}
.sd-body{gap:16px}
.sd-foot{padding-top:16px}
.process-step,.engage{min-height:220px}
/* #6 — news/activity card date block, byline, home-update date */
.news-dateblock{display:flex;align-items:baseline;gap:12px;padding-bottom:12px;margin-bottom:2px;border-bottom:1px solid var(--line)}
.news-dateblock .d{font-family:"Inter",sans-serif;font-weight:500;font-size:30px;line-height:1;letter-spacing:-0.02em;color:var(--ink)}
.news-dateblock .m{font-family:"DM Sans",sans-serif;font-size:11px;letter-spacing:0.16em;text-transform:uppercase;color:var(--ink-3)}
.news-byline{font-family:"DM Sans",sans-serif;font-size:11px;color:var(--ink-3)}
.news-foot{gap:12px}
.insights-list-tight a{grid-template-columns:36px 1fr auto 18px}
.insights-list-tight .insight-date{font-family:"DM Sans",sans-serif;font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:var(--ink-3);white-space:nowrap}
@media (max-width:980px){
.insights-list-tight a{grid-template-columns:32px 1fr auto 16px}
}

/* ===== Typography fixes 2026-11-06 (audit #1-#10) — appended overrides; delete this block to roll back the typography changes ===== */
/* #1 hierarchy: pillar headings take the section-head size; service titles step down */
.service-group-title{font-size:clamp(36px,5vw,72px);line-height:1.05;text-wrap:balance}
.sd-body h2{font-size:clamp(28px,3.5vw,44px);line-height:1.1;text-wrap:balance}
.sd-lede,.service-group-lede{text-wrap:balance}
.service-group-copy{gap:16px}
/* #2 one section-heading size: CTA matches the section heads (72px) */
.cta-strip h2{font-size:clamp(36px,5vw,72px)}
/* #3 micro-type: one size + tracking for all small labels (dead 18px rules removed separately) */
.sd-meta,.engage-meta,.step-meta,.testi-outcome,.news-dateblock .m,.licence-reg,.licence-jur,.step-num,.testi-tag,.insight .insight-tag,.loc-coords{font-size:11px;letter-spacing:0.18em}
.page-toc-label{font-size:11px}
.footer-bottom .compliance{font-size:11px}
.testi-quote{font-size:16px;line-height:1.5}
.insights-list-tight .title{font-size:16px;line-height:1.35}
/* #3b body sizes: one body (15px) and one lede (17px); buttons one size */
.engage p,.process-step p,.licence-card p{font-size:15px;line-height:1.55}
.cta-strip .cta-lede{font-size:17px}
/* #5 hero: close the ~190px gap before pillar 01 */
.page-hero{padding-bottom:clamp(24px,3vw,32px)}
.service-group-head{padding-top:clamp(24px,3vw,32px)}
/* #7 meta contrast: small labels in ink-2, not ink-3 */
.sd-meta,.engage-meta,.step-meta,.testi-outcome,.news-dateblock .m,.news-byline,.insight-date{color:var(--ink-2)}
/* licence note stacks under the button so both share the left edge (#4) */
.licence-section-cta{flex-direction:column;align-items:flex-start;gap:16px}

/* Home hero on phones: the H1 was only 28px at 390px (too small next to the 18px intro) */
@media (max-width:640px){.hero h1{font-size:clamp(48px,12vw,64px);line-height:1.02}}

/* Mobile menu redesign 2026-11-06 — the bare arrows read as generic AI styling; replaced with circular arrow buttons (same pattern as the service cards). Numbers 01-06 were tried and removed at Ed's request. */
.mobile-nav-link{justify-content:flex-start;gap:18px;transition:padding-left .2s ease}
.mobile-nav-link .arrow{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--line-2);border-radius:999px;color:var(--ink-3);flex-shrink:0;margin-left:auto;transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease}
.mobile-nav-link .arrow svg{width:16px;height:16px;transition:transform .2s ease}
.mobile-nav-link:hover .arrow{transform:none;background:var(--ink);color:#fff;border-color:var(--ink)}
.mobile-nav-link:hover .arrow svg{transform:rotate(-45deg)}
.mobile-nav-link:hover{padding-left:6px}
@media (prefers-reduced-motion:reduce){.mobile-nav-link,.mobile-nav-link .arrow,.mobile-nav-link .arrow svg{transition:none}}

/* Mobile menu header alignment 2026-11-06 — the menu head used --gutter padding and 18px vertical, while the site header uses --wide and 14px on phones, so the logo and buttons jumped when the menu opened */
.mobile-menu-head{padding:18px var(--wide)}
@media (max-width:640px){.mobile-menu-head{padding:16px var(--wide)}}

/* H1 alignment 2026-11-06 — one H1 size on all seven main pages: clamp(48px,6.5vw,96px) */
.hero h1{font-size:clamp(48px,6.5vw,96px)}
.page-hero .display{font-size:clamp(48px,6.5vw,96px)}
.page-hero-news .display{font-size:clamp(48px,6.5vw,96px)}
@media (max-width:640px){
  .hero h1{font-size:clamp(48px,6.5vw,96px);line-height:1.02}
  .page-hero-news .display{font-size:clamp(48px,6.5vw,96px)}
}

/* Mobile menu entrance 2026-11-06 — the old opacity fade let the hero bleed through the menu mid-animation; the panel now slides down as a solid sheet and the items cascade in */
.mobile-menu{opacity:1;transform:translateY(-100%);transition:transform .45s cubic-bezier(.32,.72,0,1),visibility 0s linear .45s}
.mobile-menu.is-open{transform:none;visibility:visible;transition:transform .45s cubic-bezier(.32,.72,0,1),visibility 0s linear 0s}
.mobile-nav-link{opacity:0;transform:translateY(14px);transition:opacity .35s ease,transform .35s cubic-bezier(.22,1,.36,1),padding-left .2s ease}
.mobile-menu-foot{opacity:0;transform:translateY(14px);transition:opacity .35s ease,transform .35s cubic-bezier(.22,1,.36,1)}
.mobile-menu.is-open .mobile-nav-link,.mobile-menu.is-open .mobile-menu-foot{opacity:1;transform:none}
.mobile-menu.is-open .mobile-nav-link:nth-child(1){transition-delay:.08s}
.mobile-menu.is-open .mobile-nav-link:nth-child(2){transition-delay:.14s}
.mobile-menu.is-open .mobile-nav-link:nth-child(3){transition-delay:.20s}
.mobile-menu.is-open .mobile-nav-link:nth-child(4){transition-delay:.26s}
.mobile-menu.is-open .mobile-nav-link:nth-child(5){transition-delay:.32s}
.mobile-menu.is-open .mobile-nav-link:nth-child(6){transition-delay:.38s}
.mobile-menu.is-open .mobile-menu-foot{transition-delay:.44s}
@media (prefers-reduced-motion:reduce){.mobile-menu,.mobile-nav-link,.mobile-menu-foot{transition:none}}

/* Mobile menu edge alignment 2026-11-06 — the X sits in the header (var(--wide) padding) but the arrow buttons sat in the menu body (var(--gutter)), so their right edges were 4px apart; give the menu body the same --wide padding and the arrows the same 44px circle as the X */
.mobile-menu-inner{padding:0 var(--wide) 32px}
.mobile-nav-link .arrow{width:44px;height:44px}
.mobile-nav-link .arrow svg{width:18px;height:18px}

/* Self-hosted Noto Sans TC subsets 2026-11-06 (ZH pages only) — see note in the ZH pages' <style> */
@font-face{font-family:'Noto Sans TC';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/noto-sans-tc-400.woff2) format('woff2')}
@font-face{font-family:'Noto Sans TC';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/noto-sans-tc-500.woff2) format('woff2')}
@font-face{font-family:'Noto Sans TC';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/noto-sans-tc-700.woff2) format('woff2')}

/* Eyebrow top spacing 2026-11-07 — the gap above the numbered eyebrow differed by page (About/Contact/BC 40px, Services 64px, News 48px at 390px); one shared value so the eyebrow sits the same distance below the header everywhere. News/Activities already use this value. */
.page-hero{padding-top:clamp(48px,6vw,96px)}

/* Eyebrow top spacing 2026-11-07 — the home hero centred its content (align-items:center), so the eyebrow floated at a viewport-dependent height instead of the shared 48px; top-align the content and match the plain heroes' padding-top */
.hero{align-items:flex-start}
.hero{padding-top:clamp(48px,6vw,96px)}
/* Home eyebrow sat 8px low (desktop): the eyebrow is inline-flex, so it rides on the inherited 1.55 body line-height strut inside .left; make it a block flex so its top is the hero padding-top, like the plain pages' block eyebrows */
.hero .eyebrow:not(.hero-tags){display:flex}

/* Eyebrow format 2026-11-07 — the numbers were dropped (they could be confused with the S/01-S/09 service numbers); the dash is added so every page-hero eyebrow matches Home and the site's section labels. display:flex (block) keeps the eyebrow off the inherited line-height strut. */
.page-hero-eyebrow,
.page-hero-news .eyebrow{
  display:flex;gap:12px;align-items:center;white-space:nowrap;
}
.page-hero-eyebrow::before,
.page-hero-news .eyebrow::before{
  content:"";width:24px;height:1px;background:var(--ink);flex-shrink:0;
}
