/* OutservePro site styles: 2026 redesign (navy / mint, Bricolage Grotesque + Figtree + JetBrains Mono) */
:root {
  --navy: #04182E;
  --navy-2: #082544;
  --navy-3: #031223;
  --mint: #15EBAB;
  --green: #08785E;
  --ink: #11243B;
  --text-2: #3E566B;
  --muted: #53677C;
  --line: #DCE5EA;
  --line-2: #CFDAE1;
  --soft: #F3F7F8;
  --mint-soft: #DFFBF2;
  --mint-line: #B7EEDC;
  --on-dark: #C6D3DF;
  --on-dark-2: #D3DEE8;
  --on-dark-3: #A9BCCD;
  --on-dark-4: #6F8AA3;
  --field: #8FA2B4;
  --cta-text: #2E4A5E;
  --f-display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(20px, 5vw, 48px);
  --sec-y: clamp(60px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a:hover { opacity: .85; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
h1, h2, h3, h4 { text-wrap: balance; }
html.dialog-open { overflow: hidden; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 18px; border-radius: 999px; background: var(--mint); color: var(--navy);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; }
.sec { padding: var(--sec-y) var(--gutter); }
.sec--soft { background: var(--soft); }
.sec--white { background: #FFFFFF; }
.sec--dark { background: var(--navy); color: #FFFFFF; }
.sec--cta { padding: clamp(56px, 7vw, 96px) var(--gutter); background: #FFFFFF; }
.sec--cta-tail { padding: 0 var(--gutter) clamp(64px, 8vw, 104px); background: #FFFFFF; }
.stack { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 52px); }
.sec-head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.sec-head--wide { max-width: 760px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 5vw, 80px); }
.split > * { min-width: 0; }

/* ---------- Type ---------- */
.kicker {
  font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green);
}
.kicker--mint { color: var(--mint); }
.kicker--muted { color: var(--muted); letter-spacing: .12em; }
.kicker--line { display: flex; align-items: center; gap: 12px; color: var(--mint); }
.kicker--line::before { content: ""; width: 40px; height: 2px; background: var(--mint); flex: 0 0 auto; }
.h2 {
  margin: 0; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(31px, 3.7vw, 50px); line-height: 1.06; letter-spacing: -.03em; color: var(--navy);
}
.h2--xl { font-weight: 800; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.035em; color: #FFFFFF; }
.h2--dark { font-weight: 800; font-size: clamp(32px, 4vw, 56px); line-height: 1.02; letter-spacing: -.035em; color: #FFFFFF; }
.h2--md { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.h3 {
  margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 23px;
  line-height: 1.2; letter-spacing: -.02em; color: var(--navy);
}
.lede { margin: 0; font-size: 18px; color: var(--muted); }
.lede--ink { color: var(--ink); }
.muted { color: var(--muted); }
.mint { color: var(--mint); }
p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 30px; border-radius: 999px; border: 0;
  font-family: var(--f-body); font-weight: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn:hover { opacity: 1; transform: translateY(-1px); }
.btn svg { flex: 0 0 auto; }
.btn--mint { background: var(--mint); color: var(--navy); }
.btn--mint:hover { box-shadow: 0 10px 24px rgba(21, 235, 171, .28); }
.btn--navy { background: var(--navy); color: #FFFFFF; }
.btn--navy:hover { box-shadow: 0 10px 24px rgba(4, 24, 46, .25); }
.btn--ghost { background: transparent; color: #FFFFFF; border: 1.5px solid rgba(255, 255, 255, .45); padding: 0 28px; }
.btn--ghost:hover { border-color: #FFFFFF; }
.btn--md { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn--sm { min-height: 50px; padding: 0 24px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 16px; color: var(--navy); text-decoration: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 30; color: #FFFFFF;
  padding: 22px var(--gutter); font-size: 16px;
}
.site-header--solid { background: var(--navy); }
.hdr { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: clamp(10px, 2vw, 32px); }
.hdr-logo { display: flex; align-items: center; min-height: 44px; }
.hdr-logo img { display: block; height: clamp(30px, 2.6vw, 36px); width: auto; }
.hdr-spacer { flex: 1 1 0; }
.hdr-nav {
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(4, 24, 46, .55); border: 1px solid rgba(255, 255, 255, .16);
  font-size: 15px; font-weight: 600;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hdr-nav a, .hdr-nav button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px;
  border-radius: 999px; border: 0; background: transparent; color: #FFFFFF;
  font-family: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.hdr-nav a:hover, .hdr-nav button:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.hdr-nav [aria-current="page"], .hdr-nav .is-active, .hdr-nav button[aria-expanded="true"] { background: #FFFFFF; color: var(--navy); }
.hdr-nav button svg { transition: transform .2s ease; }
.hdr-nav button[aria-expanded="true"] svg { transform: rotate(180deg); }
.hdr-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px;
  border-radius: 999px; background: var(--mint); color: var(--navy); font-weight: 700; font-size: 15px;
  text-decoration: none; white-space: nowrap;
}
.hdr-cta:hover { opacity: 1; box-shadow: 0 8px 20px rgba(21, 235, 171, .3); }
.hdr-burger {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #FFFFFF; cursor: pointer;
}
.hdr-burger[aria-expanded="true"] { background: rgba(255, 255, 255, .18); }
.hdr-burger .ic-close { display: none; }
.hdr-burger[aria-expanded="true"] .ic-open { display: none; }
.hdr-burger[aria-expanded="true"] .ic-close { display: block; }

.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 0 var(--gutter); }
.mega[hidden] { display: none; }
.mega-panel {
  max-width: 1200px; margin: 6px auto 0; background: #FFFFFF; color: var(--navy); border-radius: 26px;
  box-shadow: 0 30px 70px rgba(4, 24, 46, .35); padding: 30px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 290px; gap: 30px;
}
.mega-col { display: flex; flex-direction: column; gap: 6px; }
.mega-col .kicker { font-size: 11px; }
.mega-tag { font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; color: var(--navy); margin-bottom: 8px; }
.mega-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px;
  padding: 0 12px; margin: 0 -12px; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink);
}
.mega-link:hover, .mega-link[aria-current="page"] { opacity: 1; background: #E9F8F2; }
.mega-cta { background: var(--navy); color: #FFFFFF; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.mega-cta .kicker { font-size: 11px; }
.mega-cta strong { font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.mega-cta p { font-size: 15px; line-height: 1.55; color: var(--on-dark); }
.mega-cta .btn { margin-top: auto; min-height: 48px; padding: 0 18px; font-size: 15px; }

.mob-panel { position: absolute; left: 12px; right: 12px; top: 100%; display: none; }
.mob-panel[hidden] { display: none !important; }
.mob-card {
  background: #FFFFFF; color: var(--navy); border-radius: 22px; box-shadow: 0 24px 60px rgba(4, 24, 46, .4);
  padding: 18px 20px 22px; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain;
}
.mob-nav { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 12px; }
.mob-nav a { display: flex; align-items: center; min-height: 46px; text-decoration: none; font-weight: 700; font-size: 17px; color: var(--navy); }
.mob-group { display: flex; flex-direction: column; padding: 6px 0 10px; }
.mob-group .kicker { font-size: 11px; margin-bottom: 2px; }
.mob-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
.mob-grid a { display: flex; align-items: center; min-height: 40px; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.mob-card .btn { width: 100%; min-height: 50px; margin-top: 8px; font-size: 16px; }

@media (max-width: 859px) {
  .hdr-nav, .mega, .hdr-desk { display: none !important; }
  .hdr-burger { display: inline-flex; }
  .mob-panel { display: block; }
}
@media (max-width: 380px) {
  .hdr-cta { padding: 0 16px; font-size: 14px; }
}

/* ---------- Hero (image + scrim) ---------- */
.hero { position: relative; background: var(--navy); color: #FFFFFF; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,24,46,.72) 0%, rgba(4,24,46,.32) 16%, rgba(4,24,46,.66) 34%, rgba(4,24,46,.92) 70%, rgba(4,24,46,1) 100%); }
.hero--home .hero-scrim { background: linear-gradient(180deg, rgba(4,24,46,.72) 0%, rgba(4,24,46,.30) 14%, rgba(4,24,46,.68) 30%, rgba(4,24,46,.88) 50%, rgba(4,24,46,.97) 78%, rgba(4,24,46,1) 100%); }
.hero--svc .hero-scrim { background: linear-gradient(180deg, rgba(4,24,46,.72) 0%, rgba(4,24,46,.32) 16%, rgba(4,24,46,.66) 34%, rgba(4,24,46,.90) 64%, rgba(4,24,46,.98) 84%, rgba(4,24,46,1) 100%); }
.hero--page .hero-scrim { background: linear-gradient(180deg, rgba(4,24,46,.72) 0%, rgba(4,24,46,.34) 16%, rgba(4,24,46,.68) 34%, rgba(4,24,46,.94) 72%, rgba(4,24,46,1) 100%); }
@media (max-width: 859px) {
  .hero-scrim, .hero--page .hero-scrim { background: linear-gradient(180deg, rgba(4,24,46,.78) 0%, rgba(4,24,46,.55) 20%, rgba(4,24,46,.92) 50%, rgba(4,24,46,1) 100%); }
  .hero--home .hero-scrim { background: linear-gradient(180deg, rgba(4,24,46,.75) 0%, rgba(4,24,46,.45) 22%, rgba(4,24,46,.90) 52%, rgba(4,24,46,1) 100%); }
  .hero--svc .hero-scrim { background: linear-gradient(180deg, rgba(4,24,46,.78) 0%, rgba(4,24,46,.55) 18%, rgba(4,24,46,.92) 46%, rgba(4,24,46,1) 100%); }
}
.hero-inner { position: relative; display: flex; flex-direction: column; min-height: min(760px, 100vh); min-height: min(760px, 100svh); }
.hero--home .hero-inner { min-height: clamp(600px, 100vh, 860px); min-height: clamp(600px, 100svh, 860px); }
.hero--svc .hero-inner { min-height: clamp(640px, 100vh, 820px); min-height: clamp(640px, 100svh, 820px); }
.hero--short .hero-inner { min-height: 600px; }
.hero-gap { flex: 1 1 auto; min-height: clamp(48px, 7vw, 120px); }
.hero--home .hero-gap { min-height: clamp(48px, 8vw, 140px); }
.hero--short .hero-gap { min-height: clamp(90px, 12vw, 170px); }
.hero-pad { padding: 0 var(--gutter); }
.hero-body {
  max-width: 1200px; width: 100%; margin: 0 auto; padding-bottom: clamp(40px, 5vw, 64px);
  display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 32px);
}
.hero--home .hero-body { gap: clamp(24px, 3vw, 36px); }
.hero--svc .hero-body { padding-bottom: clamp(36px, 4vw, 52px); }
.hero--short .hero-body { padding-bottom: clamp(40px, 5vw, 60px); gap: clamp(20px, 2.4vw, 28px); }
.hero.hero--overlap .hero-body { padding-bottom: clamp(120px, 12vw, 170px); }

.hero h1 {
  margin: 0; max-width: 1080px; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(40px, 6.4vw, 96px); line-height: .98; letter-spacing: -.045em;
}
.hero--home h1 { max-width: 1180px; font-size: clamp(40px, 5.6vw, 84px); line-height: 1; }
@media (min-width: 860px) { .hero-line { display: block; } }
.hero--svc h1 { font-size: clamp(40px, 6vw, 88px); }
.hero--contact h1 { font-size: clamp(44px, 7vw, 104px); line-height: .96; }
.hero-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
  padding-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero-foot--center { align-items: center; }
.hero-foot p { flex: 1 1 420px; min-width: 0; max-width: 600px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--on-dark-2); }
.hero--home .hero-foot p { max-width: 560px; }
.hero-note {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(21, 235, 171, .45); background: rgba(21, 235, 171, .10); color: #FFFFFF; font-size: 14px; font-weight: 600;
}
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--f-mono); font-size: 12px;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin: 0; padding: 0; list-style: none;
}
.crumbs::before { content: ""; width: 40px; height: 2px; background: var(--mint); }
.crumbs a, .crumbs .crumb-mid { color: var(--on-dark); text-decoration: none; }
.crumbs .sep { color: var(--on-dark-4); }
.badges { padding: 0 var(--gutter); border-top: 1px solid rgba(255, 255, 255, .14); position: relative; }
.badges-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 0 16px; }
.badge { padding: 22px 24px 26px 0; display: flex; flex-direction: column; gap: 4px; }
.badge-t { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.badge-t::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: 0 0 auto; }
.badge-d { font-size: 15px; color: var(--on-dark); }

/* ---------- Cards & lists ---------- */
.grid-auto { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 260px), 100%), 1fr)); }
.case-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.case-card > img { display: block; width: 100%; aspect-ratio: 398 / 336; object-fit: cover; }
.case-card--wide > img { aspect-ratio: auto; height: clamp(190px, 18vw, 240px); object-position: center 30%; }
.case-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1 1 auto; min-width: 0; }
.case-card--wide .case-body { padding: 26px; gap: 12px; }
.case-body .kicker { font-size: 11px; letter-spacing: .12em; }
.case-body h3 { margin: 0; font-family: var(--f-display); font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--navy); }
.case-card--wide h3 { font-size: 21px; letter-spacing: -.015em; }
.case-body p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.case-logo { display: block; width: auto; align-self: flex-start; }
.chip {
  display: inline-flex; align-items: center; align-self: flex-start; min-height: 34px; padding: 8px 14px; line-height: 1.35;
  margin-top: auto; border-radius: 17px; background: var(--navy-2); color: var(--mint);
  font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.case-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: auto; font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none; }

.photo { position: relative; flex: 1 1 440px; }
.photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; }
.photo-badge {
  position: absolute; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); padding: 18px 22px;
  border-radius: 20px; background: var(--navy); color: #FFFFFF;
}
.photo-badge b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 3.2vw, 44px); line-height: 1; letter-spacing: -.03em; color: var(--mint); }
.photo-badge span { display: block; margin-top: 6px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); }
.copy-col { flex: 1 1 460px; display: flex; flex-direction: column; gap: 20px; }
.copy-col > .btn { align-self: flex-start; margin-top: 4px; }

.svc-cards { --min: 320px; }
.svc-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.svc-card--dark { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.svc-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.svc-card-num { font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--muted); }
.svc-card--dark .svc-card-num { color: var(--on-dark-3); }
.svc-card h3 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 28px; line-height: 1.12; letter-spacing: -.02em; color: var(--navy); }
.svc-card--dark h3 { color: #FFFFFF; }
.svc-card > p { font-size: 16px; color: var(--muted); }
.svc-card--dark > p { color: var(--on-dark); }
.svc-links { display: flex; flex-direction: column; margin-top: 6px; }
.svc-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px;
  border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 16px; color: var(--navy);
}
.svc-card--dark .svc-links a { border-top-color: rgba(255, 255, 255, .14); color: #FFFFFF; }
.svc-links a svg { transition: transform .18s ease; }
.svc-links a:hover { opacity: 1; }
.svc-links a:hover svg { transform: translate(2px, -2px); }

.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.stat { background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: clamp(16px, 2vw, 24px); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat--solid { background: var(--navy); border-color: var(--navy); padding: clamp(16px, 2vw, 22px); }
.stat b { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3vw, 42px); line-height: 1; letter-spacing: -.03em; color: var(--mint); }
.stat--solid b { font-size: clamp(26px, 2.8vw, 38px); }
.stat span { font-size: 14px; line-height: 1.35; color: var(--on-dark); }

.flow { background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 22px; }
.flow-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.flow-head .kicker { color: var(--on-dark-3); letter-spacing: .12em; }
.flow-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); flex: 0 0 auto; }
.flow-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.flow-step { display: flex; gap: 18px; }
.flow-rail { flex: 0 0 34px; display: flex; flex-direction: column; align-items: center; }
.flow-num { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--mint); display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--mint); }
.flow-step:last-child .flow-num { background: var(--mint); color: var(--navy); border-color: var(--mint); }
.flow-line { flex: 1 1 auto; width: 2px; background: rgba(21, 235, 171, .35); }
.flow-step:last-child .flow-line { display: none; }
.flow-body { flex: 1 1 0; min-width: 0; padding-bottom: 24px; display: flex; flex-direction: column; gap: 6px; }
.flow-step:last-child .flow-body { padding-bottom: 0; }
.flow-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.flow-title strong { font-family: var(--f-display); font-weight: 700; font-size: 23px; line-height: 1.2; letter-spacing: -.01em; }
.flow-title span { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.flow-body p { font-size: 15px; line-height: 1.5; color: var(--on-dark); }

.cta-band {
  max-width: 1200px; margin: 0 auto; background: var(--mint-soft); border: 1px solid var(--mint-line); border-radius: 28px;
  padding: clamp(28px, 4.5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px;
}
.cta-band-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cta-band h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -.03em; color: var(--navy); }
.cta-band p { color: var(--cta-text); font-size: 18px; }
.cta-band .btn { white-space: nowrap; }
@media (max-width: 520px) {
  .cta-band .btn-row { width: 100%; }
  .cta-band .btn { white-space: normal; width: 100%; padding: 0 18px; font-size: 16px; }
  .hero-foot .btn, .hero-foot .btn-row { width: 100%; }
  .hero-foot .btn { padding: 0 18px; font-size: 16px; }
}

.principles { display: grid; gap: 36px 32px; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 240px), 100%), 1fr)); }
.principle { border-top: 3px solid var(--navy); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.principle .kicker { letter-spacing: .12em; }
.principle h3 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 23px; line-height: 1.2; letter-spacing: -.02em; color: var(--navy); }
.principle--sm { gap: 8px; }
.principle--sm h3 { font-size: 22px; letter-spacing: -.015em; }
.principle p { font-size: 16px; color: var(--muted); }

.logo-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 16px; }
.logo-tile { display: flex; align-items: center; justify-content: center; height: 120px; padding: 0 18px; border: 1px solid var(--line); border-radius: 20px; background: #FFFFFF; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease; }
.logo-tile:hover { opacity: 1; border-color: var(--line-2); box-shadow: 0 12px 30px rgba(4, 24, 46, .08); }
.logo-tile img { display: block; width: auto; max-width: 100%; object-fit: contain; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.logo-row-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px clamp(28px, 4vw, 56px); }
.logo-row-logos img { display: block; width: auto; max-width: 100%; object-fit: contain; }
.case-logo { object-fit: contain; max-width: 100%; }
.center { text-align: center; align-items: center; }

/* FAQ (details) */
.faq-wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 5vw, 80px); }
.faq-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.faq-intro .btn { align-self: flex-start; margin-top: 6px; }
.faq-list { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--line-2); }
.faq-list details { border-top: 1px solid var(--line-2); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 8px 0;
  font-weight: 600; font-size: 18px; line-height: 1.35; color: var(--navy); cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-ic { flex: 0 0 auto; }
.faq-ic .v { transition: opacity .15s ease; }
details[open] > summary .faq-ic .v { opacity: 0; }
.faq-list details > p, .faq-list details > div { padding: 0 44px 24px 0; color: var(--muted); }

/* ---------- Service page ---------- */
.intro-split { display: flex; flex-wrap: wrap; gap: 28px clamp(40px, 6vw, 96px); align-items: flex-start; }
.intro-split > div { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.intro-split > p { flex: 1 1 380px; min-width: 0; padding-top: clamp(0px, 3vw, 36px); font-size: 18px; line-height: 1.65; color: var(--text-2); }
.prob-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.prob { display: flex; gap: 18px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.prob-n { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--mint); display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 13px; font-weight: 600; }
.prob > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.prob h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.prob p { font-size: 16px; color: var(--muted); }
.off-card { background: var(--soft); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 14px; }
.off-n { font-family: var(--f-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.03em; color: var(--green); }
.off-card h3 { margin: 0; font-family: var(--f-display); font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; color: var(--navy); }
.off-card p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.sys-head { display: flex; flex-direction: column; gap: clamp(28px, 3.4vw, 40px); }
.sys-head > div:first-child { max-width: 780px; display: flex; flex-direction: column; gap: 16px; }
.sys-head > div:first-child p { font-size: 17px; color: var(--on-dark); }
.sys-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .sys-stats { grid-template-columns: minmax(0, 1fr); } }
.sys-stat { background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sys-num { font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 4vw, 56px); line-height: .95; letter-spacing: -.04em; color: var(--mint); }
.sys-stat b { font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.2; letter-spacing: -.01em; color: #FFFFFF; hyphens: none; }
.sys-stat--word b { font-weight: 800; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; letter-spacing: -.025em; color: var(--mint); }
.sys-desc { font-size: 14.5px; line-height: 1.5; color: var(--on-dark); }
.sys-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; overflow: hidden; }
.sys-item { background: var(--navy); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 10px; }
.sys-item .n { font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--mint); }
.sys-item--big .n { font-family: var(--f-display); font-weight: 800; font-size: 44px; line-height: 1; }
.sys-item h3 { margin: 0; font-family: var(--f-display); font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.sys-item--big h3 { font-size: 24px; letter-spacing: -.015em; line-height: 1.2; }
.sys-item p { font-size: 15px; line-height: 1.6; color: var(--on-dark); }
.sys-item--big p { font-size: 16px; }
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #FFFFFF; color: var(--navy); font-weight: 600; font-size: 15px; text-decoration: none; }
.pill-links a:hover { opacity: 1; border-color: var(--navy); }
.related-foot { margin-top: 22px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 520px) {
  .sys-stats, .stat-grid { gap: 8px; }
  .sys-stat { padding: 18px 20px; }
  .sys-stat:not(.sys-stat--word) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: center; }
  .sys-stat:not(.sys-stat--word) .sys-num { grid-row: span 2; font-size: 44px; min-width: 56px; }
  .sys-stat:not(.sys-stat--word) .sys-desc { grid-column: 2; }
  .stat { padding: 14px 12px; }
}

/* ---------- Contact ---------- */
.contact-sec { position: relative; display: flow-root; padding: 0 var(--gutter) clamp(64px, 8vw, 104px); background: var(--soft); }
.contact-grid { max-width: 1200px; margin: calc(-1 * clamp(90px, 9vw, 130px)) auto 0; position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.contact-info { flex: 1 1 380px; min-width: 0; background: var(--navy); color: #FFFFFF; border-radius: 28px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; border: 1px solid rgba(255, 255, 255, .12); }
.contact-info h2, .contact-form h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1.06; letter-spacing: -.03em; }
.contact-info > p { color: var(--on-dark); }
.ticks { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; }
.ticks svg { flex: 0 0 auto; margin-top: 2px; }
.contact-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.contact-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; background: var(--navy-2); text-decoration: none; color: #FFFFFF; min-width: 0; }
.contact-tile span:first-child { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.contact-tile span:last-child { font-family: var(--f-display); font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 18px; font-size: 15px; color: var(--on-dark); }
.offices div { display: flex; flex-direction: column; gap: 2px; }
.offices strong { color: #FFFFFF; }
.contact-form { flex: 1.3 1 480px; min-width: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 26px; box-shadow: 0 30px 60px rgba(4, 24, 46, .12); }
.contact-form h2 { color: var(--navy); }
.form-head { display: flex; flex-direction: column; gap: 6px; }
.form-step { display: flex; flex-direction: column; gap: 16px; }
.form-step + .form-step { padding-top: 22px; border-top: 1px solid var(--line); }
.step-title { display: flex; align-items: center; gap: 12px; }
.step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--mint); display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 12px; font-weight: 600; flex: 0 0 auto; }
.step-title div { display: flex; flex-direction: column; }
.step-title h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.step-title p { font-size: 14px; color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 14px; font-weight: 600; color: var(--navy); }
.field > span em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  height: 52px; width: 100%; border: 1px solid var(--field); border-radius: 12px; padding: 0 14px;
  font-size: 16px; color: var(--ink); background: #FFFFFF; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2304182E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(21, 235, 171, .45); }
.field-hint { font-size: 13px; color: var(--muted); }
.form-status { min-height: 1.5em; font-size: 15px; font-weight: 600; color: #B42318; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--green); }
.booking-privacy { font-size: 13px; color: var(--muted); }

/* ---------- Blog archive ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #FFFFFF; color: var(--navy); font-size: 15px; font-weight: 600; cursor: pointer; }
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.filter-status { font-size: 15px; color: var(--muted); margin-top: -12px; }
.feature-card { display: flex; flex-wrap: wrap; align-items: stretch; background: var(--navy); color: #FFFFFF; border-radius: 28px; overflow: hidden; text-decoration: none; }
.feature-card:hover { opacity: 1; }
.feature-card:hover h2 { text-decoration: underline; text-decoration-color: var(--mint); text-underline-offset: 6px; }
.feature-card img { display: block; flex: 1.2 1 420px; min-width: 0; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-body { flex: 1 1 360px; min-width: 0; padding: clamp(26px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.feature-meta { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.feature-meta span:first-child { color: var(--mint); }
.feature-meta span:last-child { color: var(--on-dark-3); }
.feature-card h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3vw, 42px); line-height: 1.06; letter-spacing: -.03em; }
.feature-card p { color: var(--on-dark); }
.read-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--mint); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px 24px; }
.post-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--navy); }
.post-card[hidden] { display: none; }
.post-card:hover { opacity: 1; }
.post-card:hover h3, .post-card:hover h2 { text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.post-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; background: var(--soft); }
.post-meta { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-meta span { color: var(--green); }
.post-card h3, .post-card h2 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.22; letter-spacing: -.015em; }
.post-card p { font-size: 16px; color: var(--muted); }
.post-card .more { font-weight: 700; font-size: 15px; color: var(--green); }
.empty-note { padding: 40px; border: 1px dashed #B9C7D3; border-radius: 20px; text-align: center; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding-top: 8px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--navy); font-weight: 700; text-decoration: none; }
.pager [aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.pager a:hover { opacity: 1; border-color: var(--navy); }

/* ---------- Article ---------- */
.art-hero { background: var(--navy); color: #FFFFFF; }
.art-hero-body { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(150px, 16vw, 230px); }
.art-hero-body .wrap { display: flex; flex-direction: column; gap: clamp(18px, 2.2vw, 26px); }
.art-hero h1 { margin: 0; max-width: 980px; font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 5vw, 68px); line-height: 1.02; letter-spacing: -.04em; }
.art-lead { max-width: 760px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--on-dark-2); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-top: clamp(16px, 2vw, 22px); border-top: 1px solid rgba(255, 255, 255, .18); font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.byline > * + *::before { content: "·"; margin-right: 18px; color: var(--on-dark-4); }
.byline time { color: inherit; }
.art-figure { padding: 0 var(--gutter); margin-top: calc(-1 * clamp(110px, 12vw, 180px)); position: relative; }
.art-figure .wrap { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px rgba(4, 24, 46, .22); background: var(--soft); }
.art-figure img { display: block; width: 100%; height: auto; max-height: 640px; aspect-ratio: 16 / 9; object-fit: cover; }
.art-figure--none { margin-top: calc(-1 * clamp(110px, 12vw, 180px)); height: clamp(110px, 12vw, 180px); }
.art-layout { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.art-toc { position: sticky; top: 24px; align-self: start; }
.art-toc details { border: 1px solid var(--line); border-radius: 22px; padding: 22px; background: var(--soft); }
.art-toc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); cursor: pointer; }
.art-toc summary::-webkit-details-marker { display: none; }
.art-toc summary svg { transition: transform .2s ease; }
.art-toc details[open] summary { margin-bottom: 10px; }
.art-toc details[open] summary svg { transform: rotate(180deg); }
@media (min-width: 1000px) { .art-toc summary { pointer-events: none; } .art-toc summary svg { display: none; } }
@media (max-width: 999px) { .art-toc details { padding: 0 20px; } .art-toc summary { min-height: 56px; } .art-toc details[open] { padding-bottom: 14px; } }
.art-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: flex; flex-direction: column; max-height: calc(100vh - 140px); overflow-y: auto; }
.art-toc li { counter-increment: toc; }
.art-toc a { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink); text-decoration: none; }
.art-toc li:first-child a { border-top: 0; }
.art-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; color: var(--green); padding-top: 2px; }
.art-toc a:hover { color: var(--green); opacity: 1; }
.art-main { min-width: 0; max-width: 780px; }
@media (max-width: 999px) {
  .art-layout { grid-template-columns: minmax(0, 1fr); }
  .art-toc { position: static; }
  .art-toc ol { max-height: none; }
  .art-main { max-width: none; }
}

.prose { font-size: 18px; line-height: 1.75; color: var(--ink); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin: 2em 0 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(27px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -.025em; color: var(--navy); scroll-margin-top: 24px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(21px, 2vw, 25px); line-height: 1.25; letter-spacing: -.015em; color: var(--navy); scroll-margin-top: 24px; }
.prose h4 { margin: 1.4em 0 0; font-size: 19px; font-weight: 700; color: var(--navy); }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose a { color: var(--green); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--navy); opacity: 1; }
.prose strong { color: var(--navy); }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--green); font-weight: 700; }
.prose li > p { margin: 0; }
.prose img { display: block; border-radius: 20px; height: auto; }
.prose picture { display: block; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose blockquote { margin: 1.6em 0; padding: clamp(20px, 2.4vw, 28px) clamp(22px, 2.8vw, 32px); border-radius: 22px; background: var(--mint-soft); border: 1px solid var(--mint-line); }
.prose blockquote > * + * { margin-top: .6em; }
.prose blockquote p:first-child strong, .prose blockquote p:first-child strong a { font-family: var(--f-display); font-size: 21px; line-height: 1.25; letter-spacing: -.01em; color: var(--navy); text-decoration: none; }
.prose blockquote p:first-child strong a:hover { text-decoration: underline; }
.prose blockquote p { font-size: 17px; color: var(--cta-text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--soft); font-weight: 700; color: var(--navy); }
.prose code { font-family: var(--f-mono); font-size: .88em; background: var(--soft); padding: 2px 6px; border-radius: 6px; }
.prose p > a:only-child > strong:only-child, .prose p > strong:only-child > a:only-child { font-weight: 700; }
.prose .article-faq-list { margin-top: .8em; display: flex; flex-direction: column; border-bottom: 1px solid var(--line-2); }
.prose .article-faq-list details { border-top: 1px solid var(--line-2); }
.prose .article-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 10px 0; font-weight: 600; font-size: 18px; line-height: 1.4; color: var(--navy); cursor: pointer; list-style: none; }
.prose .article-faq-list summary::-webkit-details-marker { display: none; }
.prose .article-faq-toggle { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--green); color: var(--green); font-size: 18px; line-height: 1; transition: transform .2s ease; }
.prose .article-faq-list details[open] .article-faq-toggle { transform: rotate(45deg); }
.prose .article-faq-answer { padding: 0 44px 22px 0; color: var(--muted); font-size: 17px; }
.legal .prose h2 { font-size: clamp(23px, 2.2vw, 28px); }

.share { margin-top: clamp(36px, 4vw, 52px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.share strong { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.share-actions a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--navy); font-weight: 600; font-size: 15px; text-decoration: none; }
.share-actions a span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--mint); font-size: 12px; font-weight: 700; }
.share-actions a:hover { opacity: 1; border-color: var(--navy); }

.notfound { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(80px, 10vw, 140px); }
.notfound .wrap { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.notfound h1 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -.04em; max-width: 900px; }
.notfound p { color: var(--on-dark-2); font-size: 19px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: var(--on-dark); font-size: 15px; line-height: 1.6; padding: clamp(48px, 6vw, 80px) var(--gutter) 32px; }
.ftr { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 44px; }
.ftr-top { display: flex; flex-wrap: wrap; gap: 40px clamp(32px, 5vw, 72px); }
.ftr-about { flex: 1 1 250px; min-width: 0; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.ftr-about > a { align-self: flex-start; }
.ftr-about img { display: block; height: 34px; width: auto; }
.ftr-about p { line-height: 1.55; }
.ftr-social { display: flex; flex-wrap: wrap; gap: 4px 20px; font-weight: 600; }
.ftr-social a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: #FFFFFF; }
.ftr-cols { flex: 3 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 36px 28px; }
.ftr-col { display: flex; flex-direction: column; gap: 10px; }
.ftr-col h2 { margin: 0 0 4px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.ftr-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ftr-col a { text-decoration: none; color: var(--on-dark); }
.ftr-col a:hover { color: #FFFFFF; opacity: 1; }
.ftr-office { display: flex; flex-direction: column; gap: 2px; }
.ftr-office strong { color: #FFFFFF; }
.ftr-contact { display: flex; flex-direction: column; gap: 2px; font-weight: 600; }
.ftr-contact a { color: #FFFFFF; overflow-wrap: anywhere; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: var(--on-dark-3); }
.ftr-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ftr-bottom a { color: var(--on-dark-3); text-decoration: none; }
.ftr-bottom a.u { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Booking dialog ---------- */
.site-dialog { width: min(980px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 28px; background: #FFFFFF; color: var(--ink); box-shadow: 0 40px 100px rgba(4, 24, 46, .45); overflow: auto; }
.site-dialog::backdrop { background: rgba(3, 18, 35, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog-shell { position: relative; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #FFFFFF; color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
.dialog-close:hover { border-color: var(--navy); }
.dialog-heading { display: flex; flex-direction: column; gap: 8px; padding-right: 50px; }
.dialog-heading .eyebrow { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.dialog-heading h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.08; letter-spacing: -.03em; color: var(--navy); }
.dialog-heading p { color: var(--muted); }
.booking-app { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.booking-overview { background: var(--navy); color: #FFFFFF; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.booking-brand-mark { width: 44px; height: 44px; border-radius: 14px; background: var(--mint); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 800; font-size: 22px; }
.booking-overview .detail-label { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.booking-overview h3 { margin: 4px 0 0; font-family: var(--f-display); font-size: 21px; line-height: 1.2; }
.booking-overview ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.booking-overview li { display: flex; flex-direction: column; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); }
.booking-overview li span { font-size: 14px; color: var(--on-dark); }
.booking-overview > p { font-size: 13px; color: var(--on-dark-3); }
.booking-workspace { min-width: 0; border: 1px solid var(--line); border-radius: 22px; padding: clamp(16px, 2.4vw, 24px); }
.booking-panel-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.booking-step { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.booking-panel-heading h3 { margin: 2px 0 0; font-family: var(--f-display); font-size: 21px; color: var(--navy); }
.calendar-nav { display: flex; align-items: center; gap: 10px; }
.calendar-nav button, .booking-change-time { min-width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #FFFFFF; color: var(--navy); font-weight: 700; cursor: pointer; padding: 0 14px; }
.calendar-nav button:disabled { opacity: .35; cursor: not-allowed; }
.calendar-nav strong { min-width: 140px; text-align: center; color: var(--navy); }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.calendar-weekdays { margin-bottom: 6px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: center; }
.calendar-day { height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #FFFFFF; color: var(--navy); font-weight: 700; cursor: pointer; }
.calendar-day:not(:disabled):hover { border-color: var(--navy); }
.calendar-day:disabled { background: var(--soft); color: #9AAABA; border-color: transparent; cursor: not-allowed; }
.calendar-day.is-outside { visibility: hidden; }
.calendar-day[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--mint); }
.booking-slots { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.booking-slots[hidden] { display: none; }
.booking-slots > strong { display: block; margin-bottom: 10px; color: var(--navy); }
[data-slot-grid] { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.booking-slot { min-height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: #FFFFFF; color: var(--navy); font-weight: 700; cursor: pointer; }
.booking-slot:hover { border-color: var(--navy); }
.booking-slot[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); }
.booking-details-form { display: flex; flex-direction: column; gap: 16px; }
.booking-details-form[hidden] { display: none; }
.booking-selection-summary { padding: 12px 16px; border-radius: 14px; background: var(--mint-soft); border: 1px solid var(--mint-line); font-weight: 600; color: var(--navy); }
.booking-details-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.booking-details-form .field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.booking-details-form select { appearance: none; -webkit-appearance: none; padding-right: 40px !important; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2304182E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center !important; }
.booking-details-form input, .booking-details-form select, .booking-details-form textarea { height: 50px; width: 100%; border: 1px solid var(--field); border-radius: 12px; padding: 0 14px; font-size: 16px; font-weight: 400; color: var(--ink); background: #FFFFFF; }
.booking-details-form textarea { height: auto; min-height: 100px; padding: 12px 14px; resize: vertical; }
.booking-details-form input:focus, .booking-details-form select:focus, .booking-details-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(21, 235, 171, .45); }
.booking-details-form small { font-weight: 400; font-size: 13px; color: var(--muted); }
.booking-confirmation { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 4px; }
.booking-confirmation[hidden] { display: none; }
.booking-confirmation > span { width: 52px; height: 52px; border-radius: 50%; background: var(--mint); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; }
.booking-confirmation h3 { margin: 0; font-family: var(--f-display); font-size: 26px; color: var(--navy); }
@media (max-width: 760px) {
  .booking-app { grid-template-columns: minmax(0, 1fr); }
  .booking-overview { padding: 18px; }
  .booking-overview ul { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
  .booking-overview li { border-top: 0; padding-top: 0; }
  .booking-overview > p { display: none; }
  .site-dialog { border-radius: 22px; }
}

@media print {
  .site-header, .site-footer, .art-toc, .share, .sec--cta-tail, .site-dialog { display: none !important; }
  .art-hero { background: #FFFFFF; color: #000000; }
}

/* Booking dialog buttons (markup shared with the booking script) */
.site-dialog .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--navy); color: #FFFFFF; font-weight: 700; font-size: 16px; cursor: pointer; }
.site-dialog .button-mint { background: var(--mint); color: var(--navy); width: 100%; }
.site-dialog .button[disabled] { opacity: .6; cursor: progress; }
.booking-details-form .form-status { min-height: 0; }

/* ---------- Phone tuning ---------- */
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(32px, 9.4vw, 38px); line-height: 1.02; letter-spacing: -.035em; }
  .hero--home h1 { font-size: clamp(34px, 10vw, 40px); }
  .hero--svc h1 { font-size: clamp(30px, 8.6vw, 35px); }
  .hero--contact h1 { font-size: clamp(40px, 12vw, 48px); }
  .hero-gap, .hero--home .hero-gap { min-height: 32px; }
  .hero-body { gap: 18px; }
  .hero-foot { gap: 20px; padding-top: 18px; }
  .hero-foot p { font-size: 16px; }
  .crumbs { font-size: 11px; letter-spacing: .1em; gap: 6px 8px; }
  .crumbs::before { width: 24px; }
  .badge { padding: 14px 12px 16px 0; }
  .badge-t { font-size: 11px; letter-spacing: .08em; }
  .badge-d { font-size: 14px; line-height: 1.45; }
  .hero-note { font-size: 13px; }
  .contact-form { order: -1; }
  .art-hero-body { padding-top: 24px; }
  .art-hero h1 { font-size: clamp(28px, 8.2vw, 31px); line-height: 1.08; letter-spacing: -.03em; }
  .art-lead { font-size: 16px; }
  .art-hero-body { padding-bottom: 120px; }
  .art-figure, .art-figure--none { margin-top: -96px; }
  .art-figure--none { height: 96px; }
  .art-figure .wrap { border-radius: 20px; }
  .art-layout { padding-top: 28px; }
  .prose { font-size: 17px; line-height: 1.7; }
  .prose h2 { font-size: 25px; }
  .prose h3 { font-size: 20px; }
  .prose blockquote p:first-child strong, .prose blockquote p:first-child strong a { font-size: 19px; }
  .byline { font-size: 11px; gap: 4px 12px; }
  .byline > * + *::before { margin-right: 12px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: 0 0 auto; min-height: 42px; scroll-snap-align: start; }
  .filter-status { margin-top: -18px; font-size: 14px; }
  .feature-body { padding: 22px; gap: 12px; }
  .feature-card h2 { font-size: 26px; }
  .post-grid { gap: 32px; }
  .pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; }
}

/* ---------- Footer on phones ---------- */
@media (max-width: 600px) {
  .site-footer { padding-top: 48px; padding-bottom: 28px; }
  .ftr { gap: 32px; }
  .ftr-top { gap: 32px; }
  .ftr-about { max-width: none; gap: 12px; }
  .ftr-about img { height: 30px; }
  .ftr-about > a { display: flex; align-items: center; min-height: 44px; }
  .ftr-social { gap: 0 20px; }
  .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .ftr-col { gap: 4px; }
  .ftr-col h2 { font-size: 11px; letter-spacing: .1em; margin-bottom: 2px; }
  .ftr-col ul { gap: 0; }
  .ftr-col ul a { display: flex; align-items: center; min-height: 40px; font-size: 14.5px; line-height: 1.3; }
  .ftr-col:nth-child(3) { grid-column: 1 / -1; }
  .ftr-col:nth-child(3) ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .ftr-col:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .ftr-col:last-child h2, .ftr-col:last-child .ftr-contact { grid-column: 1 / -1; }
  .ftr-office { font-size: 14px; line-height: 1.5; }
  .ftr-contact { flex-direction: row; flex-wrap: wrap; gap: 0 20px; margin-top: 4px; }
  .ftr-contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .ftr-bottom { flex-direction: column; gap: 8px; font-size: 13px; }
  .ftr-bottom nav { gap: 0 18px; }
  .ftr-bottom nav a { display: inline-flex; align-items: center; min-height: 40px; }
}

/* ---------- Client case studies ---------- */
.case { background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.case-top { display: grid; grid-template-columns: 260px minmax(0, 1fr) 280px; align-items: stretch; border-bottom: 1px solid var(--line); }
.case-photo { display: block; width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.case-intro { padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; }
.cs-logo { display: block; width: auto; max-width: 100%; object-fit: contain; align-self: flex-start; margin-bottom: 4px; }
.case-intro .kicker { font-size: 12px; letter-spacing: .12em; }
.case-title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.025em; color: var(--navy); }
.case-intro p { color: var(--muted); font-size: 16px; }
.case-result { background: var(--navy); color: #FFFFFF; padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.case-result b { font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 4vw, 56px); line-height: .95; letter-spacing: -.04em; color: var(--mint); text-transform: uppercase; }
.case-result span { font-size: 15px; line-height: 1.45; color: var(--on-dark); }
.cs-detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); padding: clamp(22px, 2.6vw, 34px); }
.case-label { margin-bottom: 14px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.case-people { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 10px; }
.case-people li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.case-person { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--mint); display: flex; align-items: center; justify-content: center; }
.case-people li div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.case-people strong { font-size: 15px; color: var(--navy); line-height: 1.3; }
.case-people span:not(.case-person) { font-size: 14px; line-height: 1.45; color: var(--muted); }
.case-cost-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.case-cost-grid > div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; }
.case-cost-grid span { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case-cost-grid b { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; color: var(--navy); }
.case-cost-grid small { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.case-cost-grid .is-ours { background: var(--navy); border-color: var(--navy); }
.case-cost-grid .is-ours span, .case-cost-grid .is-ours small { color: var(--on-dark-3); }
.case-cost-grid .is-ours b { color: var(--mint); }
.case-fine { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.case-handles { padding: 0 clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 30px); }
.case-handles ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.case-handles li { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--mint-soft); border: 1px solid var(--mint-line); color: var(--navy); font-size: 14px; font-weight: 700; }
.case-verify { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 20px clamp(22px, 2.6vw, 34px); background: var(--soft); border-top: 1px solid var(--line); }
.case-verify-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; min-width: 0; }
.case-verify-facts > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.case-verify-facts > div > span { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case-verify-facts a { font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--mint-line); text-underline-offset: 3px; overflow-wrap: anywhere; }
.case-verify-facts small { font-size: 13px; color: var(--muted); }
@media (max-width: 1080px) {
  .case-top { grid-template-columns: 220px minmax(0, 1fr); }
  .case-result { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 18px; }
  .case-result b { font-size: 40px; }
}
@media (max-width: 760px) {
  .case-top { grid-template-columns: minmax(0, 1fr); }
  .case-photo { height: 180px; min-height: 0; }
  .cs-detail { grid-template-columns: minmax(0, 1fr); }
  .case-result { flex-direction: column; align-items: flex-start; gap: 6px; }
  .case-result b { font-size: 36px; }
  .case-verify .btn { width: 100%; }
}

/* Partner card trigger + popup */
.case-card { position: relative; transition: transform .18s ease, box-shadow .18s ease; }
.case-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(4, 24, 46, .12); }
.case-open { align-self: flex-start; margin-top: 2px; padding: 0; border: 0; background: none; font-family: inherit; font-size: 15px; font-weight: 700; color: var(--green); cursor: pointer; text-decoration: underline; text-decoration-color: var(--mint-line); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.case-open::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.case-open:focus-visible { outline: none; }
.case-open:focus-visible::after { outline: 3px solid var(--mint); outline-offset: 3px; }
.case-card .case-link { position: relative; z-index: 1; }
.case-card .chip { margin-top: auto; }
.case-dialog { width: min(1080px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 28px; background: #FFFFFF; color: var(--ink); box-shadow: 0 40px 100px rgba(4, 24, 46, .45); overflow: auto; overscroll-behavior: contain; }
.case-dialog::backdrop { background: rgba(3, 18, 35, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.case-dialog-shell { position: relative; display: flex; flex-direction: column; }
.case-dialog .case { border: 0; border-radius: 0; }
.case-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: flex-end; height: 0; overflow: visible; pointer-events: none; }
.case-bar-name { display: none; }
.case-close { pointer-events: auto; margin: 14px 14px 0 0; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #FFFFFF; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(4, 24, 46, .25); }
.case-close:hover { background: var(--mint); }
.case-top--noresult { grid-template-columns: 260px minmax(0, 1fr); }
.cs-detail--single { grid-template-columns: minmax(0, 1fr); }
.case-label { margin-top: 0; }
h3.case-label { line-height: 1.4; }
@media (max-width: 1080px) { .case-top--noresult { grid-template-columns: 220px minmax(0, 1fr); } }
@media (max-width: 760px) {
  .case-dialog { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .case-top--noresult { grid-template-columns: minmax(0, 1fr); }
  .case-bar { height: 56px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px 0 18px; background: #FFFFFF; border-bottom: 1px solid var(--line); pointer-events: auto; }
  .case-bar-name { display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .case-close { margin: 0; box-shadow: none; background: var(--soft); }
  .case-verify-facts a { display: inline-flex; align-items: center; min-height: 40px; }
  .case-verify-facts small { margin-top: -4px; }
}
