/* Faiza Loke & Sivam — broadsheet editorial. Paper, ink, cobalt. */
:root {
  --paper: #f5f3ee;
  --paper-2: #ece8df;
  --ink: #171a20;
  --ink-soft: #2a2f3a;
  --slate: #465061;
  --rule: #d8d3c8;
  --cobalt: #1d4ed8;
  --cobalt-deep: #16389c;
  --claret: #9f1d32;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Public Sans', system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --shadow: 0 10px 30px rgba(23, 26, 32, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cobalt-deep); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; }

h1, h2, h3, .brand-name { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.3rem); margin-bottom: 0.6em; }
h3 { font-size: 1.35rem; }

.kicker {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 14px;
}
.kicker::before { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--cobalt); vertical-align: middle; margin-right: 10px; }
.kicker-light { color: rgba(245, 243, 238, 0.85); }
.kicker-light::before { background: #8fb0ff; }

/* ── texture bands: never flat ── */
.tex-paper { background: linear-gradient(180deg, rgba(245,243,238,0.92), rgba(245,243,238,0.96)), url('/demos/legal/faiza-loke-sivam/assets/img/tex-paper.webp') center/cover; }
.tex-linen { background: linear-gradient(180deg, rgba(236,232,223,0.88), rgba(236,232,223,0.94)), url('/demos/legal/faiza-loke-sivam/assets/img/tex-linen.webp') center/cover; }
.tex-cobalt { background: linear-gradient(120deg, rgba(22,56,156,0.92), rgba(29,78,216,0.86)), url('/demos/legal/faiza-loke-sivam/assets/img/tex-crowd.webp') center/cover; color: #eef2ff; }
.tex-ink { background: linear-gradient(180deg, rgba(23,26,32,0.95), rgba(23,26,32,0.97)), url('/demos/legal/faiza-loke-sivam/assets/img/tex-inkwash.webp') center/cover; color: #cfd4de; }

.section { padding: 84px 0; }
.section-tight { padding: 56px 0 84px; }

/* ── buttons (explicit a.btn overrides — scoped anchor trap) ── */
.btn, a.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border: 1.5px solid var(--ink); text-decoration: none; cursor: pointer;
  background: transparent; color: var(--ink); transition: background 0.18s, color 0.18s;
}
.btn-solid, a.btn-solid { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.btn-solid:hover, a.btn-solid:hover { background: var(--cobalt-deep); border-color: var(--cobalt-deep); color: #fff; }
.btn-ghost, a.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover, a.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-paper, a.btn-paper { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-paper:hover, a.btn-paper:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-ghost-light, a.btn-ghost-light { border-color: rgba(245,243,238,0.7); color: #eef2ff; }
.btn-ghost-light:hover, a.btn-ghost-light:hover { background: rgba(245,243,238,0.12); color: #fff; }

/* ── topbar ── */
.topbar { background: var(--ink); color: #b9c0cd; font-size: 0.82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar a { color: #e6e9f0; text-decoration: none; margin-left: 18px; font-weight: 500; }
.topbar a:hover { color: #fff; text-decoration: underline; }

/* ── masthead ── */
.masthead { background: var(--paper); border-bottom: 2px solid var(--ink); position: relative; z-index: 90; }
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark {
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.04em;
  color: var(--paper); background: var(--ink); padding: 8px 10px 7px; line-height: 1;
  border-bottom: 3px solid var(--cobalt);
}
.brand-name { font-size: 1.22rem; color: var(--ink); line-height: 1.15; }
.brand-name .amp { color: var(--cobalt); font-style: italic; }
.brand-name em { display: block; font-family: var(--sans); font-style: normal; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); margin-top: 3px; }
.site-nav ul { display: flex; align-items: center; gap: 26px; list-style: none; }
.site-nav a { font-size: 0.93rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--rule); color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--cobalt); }
.site-nav .nav-cta a.btn { padding: 10px 18px; border-bottom: 1.5px solid var(--cobalt); }
.nav-toggle { display: none; }

/* ── hero: offset editorial ── */
.hero { padding: 72px 0 0; background: linear-gradient(180deg, rgba(245,243,238,0.9), rgba(245,243,238,0.94)), url('/demos/legal/faiza-loke-sivam/assets/img/tex-paper.webp') center/cover; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 0; align-items: end; }
.hero-copy { padding: 0 0 72px; position: relative; z-index: 2; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.9vw, 4rem); max-width: 16ch; }
.hero-copy h1 span {
  background: var(--paper);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  box-shadow: 0.22em 0 0 var(--paper), -0.12em 0 0 var(--paper);
}
.hero-sub { margin: 22px 0 30px; max-width: 46ch; font-size: 1.06rem; color: var(--ink-soft); }
.hero-paths { display: grid; gap: 12px; max-width: 470px; }
.hero-path {
  display: block; text-decoration: none; border: 1.5px solid var(--ink); padding: 14px 18px;
  background: rgba(255,255,255,0.55); transition: background 0.18s, transform 0.18s;
}
.hero-path:hover { background: #fff; transform: translateX(4px); }
.hp-label { display: block; font-weight: 700; color: var(--ink); font-size: 1rem; }
.hp-label::after { content: ' →'; color: var(--cobalt); }
.hp-note { display: block; font-size: 0.88rem; color: var(--slate); margin-top: 2px; }
.hero-meta { margin-top: 26px; font-size: 0.85rem; color: var(--slate); letter-spacing: 0.02em; max-width: 40ch; }
.hero-photo { position: relative; margin: 0 calc((100vw - 100%) / -2 + 0px) 0 -60px; align-self: stretch; min-height: 420px; }
.hero-photo img { width: calc(100% + (100vw - var(--wrap)) / 2 + 24px); max-width: none; height: 100%; object-fit: cover; min-height: 420px; }
.hero-photo figcaption {
  position: absolute; left: 0; bottom: 0; transform: translateX(-40px);
  background: var(--ink); color: var(--paper); font-size: 0.8rem; padding: 10px 16px; max-width: 340px;
}

/* ── ribbon ── */
.ribbon { background: var(--cobalt); color: #eef2ff; }
.ribbon-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 13px; padding-bottom: 13px; font-size: 0.94rem; flex-wrap: wrap; }
.ribbon strong { color: #fff; }
.ribbon a { color: #fff; font-weight: 700; text-decoration-color: rgba(255,255,255,0.5); white-space: nowrap; }

/* ── desks ── */
.desks { padding: 84px 0; }
.desk-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; margin-top: 38px; }
.desk-card { background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--ink); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.desk-img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.desk-card h3, .desk-card > p, .desk-list, .desk-card > a { margin-left: 28px; margin-right: 28px; }
.desk-card h3 { margin-top: 24px; }
.desk-card > p { margin-top: 10px; color: var(--ink-soft); }
.desk-list { list-style: none; margin-top: 16px; border-top: 1px solid var(--rule); }
.desk-list li { border-bottom: 1px solid var(--rule); }
.desk-list a { display: block; padding: 9px 2px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.desk-list a:hover { color: var(--cobalt); padding-left: 6px; transition: padding 0.15s; }
.desk-card > a.btn { margin-top: 20px; margin-bottom: 26px; align-self: flex-start; }

/* ── red-flag tool ── */
.rf-section { padding: 84px 0; }
.rf-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.rf-pointer { margin-top: 12px; font-size: 0.92rem; }
.rf-fig { margin-top: 26px; }
.rf-fig img { aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--rule); }
.rf-tool { background: #fff; border: 1.5px solid var(--ink); box-shadow: var(--shadow); padding: 26px 26px 22px; }
.rf-lead { font-weight: 600; margin-bottom: 14px; }
.rf-date { margin-bottom: 18px; }
.rf-date label { font-weight: 600; display: block; margin-bottom: 6px; }
.rf-opt { font-weight: 400; color: var(--slate); font-size: 0.86rem; }
.rf-date input { padding: 10px 12px; border: 1.5px solid var(--slate); font-family: var(--sans); font-size: 1rem; background: var(--paper); max-width: 240px; width: 100%; }
.rf-flags { display: grid; gap: 4px; }
.rf-flag { border-bottom: 1px solid var(--rule); padding: 2px 0; }
.rf-flag input { position: absolute; opacity: 0; pointer-events: none; }
.rf-flag label { display: flex; gap: 12px; align-items: flex-start; padding: 9px 4px; cursor: pointer; font-size: 0.95rem; line-height: 1.45; }
.rf-flag label:hover { background: var(--paper); }
.rf-check { flex: 0 0 auto; width: 19px; height: 19px; border: 2px solid var(--slate); margin-top: 2px; position: relative; background: #fff; }
.rf-flag input:checked + label .rf-check { background: var(--claret); border-color: var(--claret); }
.rf-flag input:checked + label .rf-check::after { content: '✓'; position: absolute; inset: 0; color: #fff; font-size: 13px; line-height: 15px; text-align: center; font-weight: 700; }
.rf-flag input:focus-visible + label .rf-check { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.rf-note { display: none; margin: 0 4px 10px 31px; font-size: 0.88rem; color: var(--ink-soft); background: var(--paper); border-left: 3px solid var(--claret); padding: 8px 12px; }
.rf-flag input:checked ~ .rf-note { display: block; }
.rf-sev { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; padding: 2px 7px; margin-right: 8px; color: #fff; }
.rf-sev-urgent { background: var(--claret); }
.rf-sev-serious { background: var(--ink); }
.rf-sev-note { background: var(--slate); }
.rf-result { margin-top: 18px; border-top: 2px solid var(--ink); padding-top: 16px; }
.rf-verdict { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.rf-deadline { margin-top: 8px; font-size: 0.95rem; font-weight: 600; color: var(--claret); }
.rf-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.rf-fine { margin-top: 14px; font-size: 0.8rem; color: var(--slate); }

/* ── broadsheet index ── */
.index-section { padding: 84px 0; }
.bs-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 36px; border-top: 2px solid var(--ink); }
.bs-h { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); padding: 18px 0 6px; }
.bs-row { display: block; text-decoration: none; border-bottom: 1px solid var(--rule); padding: 14px 4px; transition: background 0.15s; }
.bs-row:hover { background: rgba(255,255,255,0.7); }
.bs-title { display: block; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--ink); }
.bs-row:hover .bs-title { color: var(--cobalt); }
.bs-desc { display: block; font-size: 0.9rem; color: var(--slate); margin-top: 3px; }

/* ── calculator band ── */
.calc-band { padding: 84px 0; }
.calc-band h2 { color: #fff; }
.calc-band p { color: #dbe4ff; max-width: 54ch; }
.calc-band .btn { margin-top: 22px; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 54px; align-items: center; }
.scale-card { background: rgba(23,26,32,0.35); border: 1px solid rgba(245,243,238,0.25); padding: 26px; min-width: 0; }
.scale-h { font-weight: 700; color: #fff; margin-bottom: 12px; font-size: 0.95rem; }
.scale-table { width: 100%; border-collapse: collapse; }
.scale-table td { padding: 10px 4px; border-bottom: 1px solid rgba(245,243,238,0.2); color: #eef2ff; }
.scale-table td:last-child { text-align: right; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: #fff; }
.scale-note { margin-top: 12px; font-size: 0.8rem; color: #b9c8f5 !important; }

/* ── forum ledger ── */
.forum-section { padding: 84px 0; }
.forum-scroll { overflow-x: auto; margin-top: 34px; border: 1px solid var(--rule); background: #fff; box-shadow: var(--shadow); }
.forum-table { width: 100%; border-collapse: collapse; min-width: 780px; }
.forum-table th { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; text-align: left; color: var(--paper); background: var(--ink); padding: 14px 18px; }
.forum-table td { padding: 16px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; font-size: 0.95rem; color: var(--ink-soft); }
.forum-table td strong { color: var(--ink); font-family: var(--serif); font-size: 1.05rem; }
.forum-table tr:nth-child(even) td { background: var(--paper); }
.forum-note { margin-top: 16px; color: var(--slate); font-size: 0.95rem; font-style: italic; }

/* ── interstitial ── */
.interstitial { position: relative; }
.interstitial img { width: 100%; height: min(56vh, 520px); object-fit: cover; }
.inter-caption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, transparent, rgba(23,26,32,0.75)); padding: 60px 0 18px; }
.inter-caption p { color: rgba(245,243,238,0.92); font-size: 0.88rem; }

/* ── people ── */
.people-section { padding: 84px 0; }
.people-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin: 36px 0 30px; }
.person-card { text-decoration: none; }
.person-card img { aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(0.85); border: 1px solid var(--rule); transition: filter 0.2s; }
.person-card:hover img { filter: saturate(1); }
.person-name { display: block; font-family: var(--serif); font-weight: 600; color: var(--ink); margin-top: 10px; font-size: 0.98rem; line-height: 1.25; }
.person-role { display: block; font-size: 0.8rem; color: var(--slate); margin-top: 2px; }
.person-desk { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); margin-top: 5px; }

/* ── recognition ── */
.recog-section { padding: 84px 0; }
.recog-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin-top: 26px; }
.recog-q { border-top: 2px solid var(--ink); padding-top: 18px; }
.recog-q p { font-family: var(--serif); font-size: 1.14rem; line-height: 1.5; color: var(--ink); }
.recog-q cite { display: block; margin-top: 14px; font-style: normal; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.recog-note { margin-top: 30px; font-size: 0.88rem; color: var(--slate); max-width: 74ch; }

/* ── insights ── */
.insights-section { padding: 84px 0; }
.ins-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ins-head h2 { margin-bottom: 0; max-width: 22ch; }
.ins-all { font-weight: 700; white-space: nowrap; }
.ins-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 34px; }
.ins-grid-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ins-card { text-decoration: none; background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ins-card img { aspect-ratio: 3 / 2; object-fit: cover; }
.ins-meta { font-size: 0.78rem; color: var(--slate); letter-spacing: 0.04em; margin: 16px 20px 0; }
.ins-title { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; color: var(--ink); line-height: 1.3; margin: 8px 20px 0; }
.ins-card:hover .ins-title { color: var(--cobalt); }
.ins-by { font-size: 0.85rem; color: var(--slate); margin: 8px 20px 20px; }

/* ── CTA band ── */
.cta-band { padding: 84px 0; }
.cta-in { max-width: 760px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe4ff; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.cta-small { margin-top: 18px; font-size: 0.85rem; color: #b9c8f5 !important; }

/* ── page hero (photo) & page head (paper) ── */
.page-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 420px; }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.42; }
.page-hero { background: var(--ink); }
.ph-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23,26,32,0.35), rgba(23,26,32,0.86)); }
.ph-copy { padding-top: 90px; padding-bottom: 48px; }
.page-hero h1 { color: var(--paper); max-width: 20ch; }
.ph-lead { color: #ccd3e2; max-width: 62ch; margin-top: 16px; font-size: 1.05rem; }
.ph-lead a.ph-author { color: #fff; }
.page-head { padding: 72px 0 54px; border-bottom: 1px solid var(--rule); }
.ph-lead-dark { color: var(--ink-soft); max-width: 64ch; margin-top: 16px; font-size: 1.05rem; }

/* ── breadcrumbs ── */
.crumbs { background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 10px 0; font-size: 0.82rem; }
.crumbs li + li::before { content: '/'; color: var(--slate); margin-right: 6px; }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ── prose / service layout ── */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose > div > h2:first-child, .prose > h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-bottom: 1em; color: var(--ink-soft); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 0.5em; }
.prose .note { font-size: 0.85rem; color: var(--slate); border-top: 1px solid var(--rule); padding-top: 14px; }
.prose-fig { margin: 30px 0; }
.prose-fig img { border: 1px solid var(--rule); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.prose-fig figcaption { font-size: 0.83rem; color: var(--slate); padding-top: 10px; border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
.svc-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; }
.svc-aside { position: sticky; top: 24px; display: grid; gap: 22px; }
.aside-card { background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--cobalt); padding: 24px; box-shadow: var(--shadow); }
.aside-card .btn { display: block; text-align: center; margin-top: 12px; }
.aside-h { font-weight: 800; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }
.aside-fine { font-size: 0.82rem; color: var(--slate); margin-top: 12px; }
.aside-links { list-style: none; }
.aside-links li { border-bottom: 1px solid var(--rule); }
.aside-links a { display: block; padding: 9px 0; text-decoration: none; font-weight: 500; color: var(--ink); }
.aside-links a:hover { color: var(--cobalt); }

/* ── FAQ ── */
.faq-list, .faq-wrap { max-width: 820px; margin-top: 10px; }
.faq { background: #fff; border: 1px solid var(--rule); margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 20px; list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 12px; font-size: 1.5rem; color: var(--cobalt); font-family: var(--serif); }
.faq[open] summary::after { content: '–'; }
.faq p { padding: 0 20px 18px; color: var(--ink-soft); }

/* ── svc cards (desk landings) ── */
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 30px; }
.svc-card { text-decoration: none; background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.svc-card img { aspect-ratio: 3 / 2; object-fit: cover; }
.svc-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin: 18px 22px 0; }
.svc-card:hover .svc-title { color: var(--cobalt); }
.svc-desc { color: var(--slate); font-size: 0.92rem; margin: 8px 22px 0; }
.svc-go { color: var(--cobalt); font-weight: 700; font-size: 0.9rem; margin: 14px 22px 20px; }

/* ── about facts ── */
.about-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 20px; }
.fact-n { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--ink); display: block; border-top: 2px solid var(--ink); padding-top: 14px; }
.fact-l { color: var(--slate); font-size: 0.92rem; display: block; margin-top: 6px; }

/* ── profiles ── */
.profile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 44px; padding: 44px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.profile-flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.profile-flip .profile-img { order: 2; }
.profile-img { aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--rule); filter: saturate(0.85); width: 100%; }
.profile-role { font-weight: 700; color: var(--cobalt); margin: 6px 0 12px; }
.profile-cred { font-size: 0.9rem; color: var(--slate); border-left: 3px solid var(--rule); padding-left: 14px; margin-bottom: 14px; }
.profile-focus { margin-bottom: 12px; }
.profile-body p { margin-bottom: 0.9em; color: var(--ink-soft); }

/* ── fee table ── */
.fee-scroll { overflow-x: auto; border: 1px solid var(--rule); background: #fff; box-shadow: var(--shadow); margin-bottom: 44px; }
.fee-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.fee-table th { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; text-align: left; color: var(--paper); background: var(--ink); padding: 14px 18px; }
.fee-table td { padding: 16px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; font-size: 0.94rem; color: var(--ink-soft); }
.fee-table tr:nth-child(even) td { background: var(--paper); }
.fee-amt { font-family: var(--serif); font-size: 1.06rem; font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ── tools ── */
.tool-wrap { max-width: 860px; }
.calc-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 44px; align-items: start; }
.calc-form, .contact-form { background: #fff; border: 1.5px solid var(--ink); box-shadow: var(--shadow); padding: 28px; }
.calc-h { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.field-note { font-weight: 400; color: var(--slate); font-size: 0.82rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--slate); background: var(--paper);
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--cobalt); outline-offset: 1px; }
.field-duo { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 14px; }
.field-duo > p { grid-column: 1 / -1; }
.field-err { display: none; color: var(--claret); font-size: 0.83rem; margin-top: 5px; }
.field.invalid .field-err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: var(--claret); }
.calc-privacy { font-size: 0.8rem; color: var(--slate); margin-top: 12px; }
.form-ok { margin-top: 16px; background: #eef6ee; border: 1px solid #9dc79d; color: #1e5c2a; padding: 14px 16px; font-size: 0.92rem; }
.calc-out { background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow); padding: 28px; min-width: 0; }
.calc-placeholder { color: var(--slate); font-style: italic; }
.co-block { border-top: 2px solid var(--ink); padding: 16px 0 20px; }
.co-block:first-child { border-top: none; padding-top: 0; }
.co-h { font-family: var(--serif); font-size: 1.14rem; font-weight: 600; margin-bottom: 10px; }
.co-src { display: block; font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); margin-top: 3px; }
.co-line { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px dashed var(--rule); font-size: 0.94rem; }
.co-line strong { font-family: var(--serif); font-size: 1.04rem; white-space: nowrap; }
.co-total { border-bottom: none; font-weight: 700; }
.co-note { font-size: 0.85rem; color: var(--slate); margin-top: 8px; }
.co-warn { background: var(--paper); border-left: 3px solid var(--claret); padding: 10px 14px; font-size: 0.9rem; margin-top: 8px; }
.co-ic { background: linear-gradient(120deg, rgba(29,78,216,0.06), rgba(29,78,216,0.02)); margin: 0 -28px; padding-left: 28px; padding-right: 28px; }
#calc-out .btn { margin-top: 18px; }

/* ── contact ── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px; align-items: start; }
.contact-side { display: grid; gap: 22px; }
.contact-big { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 8px; }
.contact-big a { color: var(--ink); text-decoration: none; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.hours-table td { padding: 7px 0; border-bottom: 1px dashed var(--rule); font-size: 0.9rem; color: var(--ink-soft); }
.hours-table td:last-child { text-align: right; }
.contact-fig img { aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--rule); }
address { font-style: normal; color: var(--ink-soft); }

/* ── article byline ── */
.article-byline { display: flex; gap: 18px; align-items: center; border-top: 2px solid var(--ink); margin-top: 40px; padding-top: 22px; }
.article-byline img { width: 72px; height: 92px; object-fit: cover; border: 1px solid var(--rule); }
.ab-name { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; }
.ab-role { font-size: 0.86rem; color: var(--slate); }

/* ── footer ── */
.site-foot { padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 40px; }
.foot-brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--paper); }
.foot-sub { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #7f8899; margin: 4px 0 18px; }
.site-foot address { color: #b9c0cd; font-size: 0.92rem; margin-bottom: 14px; }
.foot-contact { font-size: 0.92rem; line-height: 2; }
.site-foot a { color: #d5dae4; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-h { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #7f8899; margin-bottom: 14px; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 8px; font-size: 0.92rem; }
.foot-legal { border-top: 1px solid #333945; margin-top: 50px; padding-top: 24px; font-size: 0.8rem; color: #8d95a5; }
.foot-legal p { margin-bottom: 10px; max-width: 100ch; }
.foot-legal a { color: #aeb6c4; text-decoration: underline; }
.sl-note { border-top: 1px dashed #4a5261; margin-top: 20px; padding-top: 20px; font-size: 0.8rem; color: #8d95a5; }
.sl-note a { color: #35e07f; text-decoration: underline; }
.sl-note p { max-width: 100ch; }

/* ── mobile action bar ── */
.mobile-bar { display: none; }

/* ── Seed Light kit ── */
.sl-tab {
  position: fixed; right: 0; top: 50%; transform: rotate(180deg) translateY(50%);
  writing-mode: vertical-rl; z-index: 70;
  background: #171a21; color: #35e07f; border: 1px solid #2a2f3a; border-right: none;
  font-family: var(--sans); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.18em;
  padding: 14px 7px; cursor: pointer;
}
.sl-drawer {
  position: fixed; right: 34px; top: 50%; transform: translateY(-50%); z-index: 71;
  width: 270px; background: #171a21; color: #c8cdd8; border: 1px solid #2a2f3a;
  padding: 20px; font-size: 0.85rem; box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.sl-drawer-h { color: #35e07f; font-weight: 800; margin-bottom: 8px; }
.sl-drawer p { margin-bottom: 12px; }
.sl-btn { display: block; text-align: center; padding: 10px 12px; margin-top: 8px; border: 1px solid #35e07f; color: #35e07f; text-decoration: none; font-weight: 700; font-size: 0.82rem; }
.sl-btn:hover { background: rgba(53,224,127,0.1); }
.sl-btn-wa { background: #35e07f; color: #12161c; }
.sl-btn-wa:hover { background: #4ae88f; color: #12161c; }
.sl-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 72;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,0.28);
}
.sl-float svg { width: 30px; height: 30px; }
.sl-float:hover { background: #1ebe5b; color: #fff; }

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

/* ═══════════ responsive ═══════════ */
@media (max-width: 1080px) {
  .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-photo { margin-left: -24px; }
}
@media (max-width: 920px) {
  .section, .desks, .rf-section, .index-section, .calc-band, .forum-section, .people-section, .recog-section, .insights-section, .cta-band { padding-top: 60px; padding-bottom: 60px; }
  .topbar-tag { display: none; }
  .topbar-in { justify-content: center; }
  .topbar a { margin: 0 10px; }
  .masthead-in { min-height: 68px; }
  .brand-name { font-size: 1.05rem; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 10px 4px; position: relative;
  }
  .nav-toggle span:not(.nav-toggle-label) { width: 26px; height: 2.5px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
  .nav-toggle-label { position: absolute; left: -999px; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw);
    background: var(--paper); border-left: 2px solid var(--ink); z-index: 95;
    transform: translateX(105%); visibility: hidden; transition: transform 0.25s ease, visibility 0.25s;
    overflow-y: auto; padding: 84px 28px 40px;
  }
  body.nav-open .site-nav { transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--rule); }
  .site-nav a { display: block; padding: 14px 2px; font-size: 1.05rem; border-bottom: none; }
  .site-nav a[aria-current="page"] { color: var(--cobalt); }
  .site-nav .nav-cta { border-bottom: none; margin-top: 18px; }
  .site-nav .nav-cta a.btn { text-align: center; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(23,26,32,0.45); z-index: 80; }
  .masthead { z-index: 96; }
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 40px; }
  .hero-photo { margin: 0 -24px; min-height: 0; }
  .hero-photo img { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
  .hero-photo figcaption { transform: none; left: 24px; max-width: 300px; }
  .desk-duo, .calc-grid, .rf-grid, .svc-layout, .calc-layout, .contact-grid { grid-template-columns: 1fr; }
  .rf-grid { gap: 30px; }
  .calc-grid { gap: 34px; }
  .svc-aside { position: static; }
  .bs-index { grid-template-columns: 1fr; gap: 0; }
  .svc-cards, .ins-grid, .ins-grid-index, .recog-row { grid-template-columns: 1fr 1fr; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .profile, .profile-flip { grid-template-columns: 1fr; gap: 24px; }
  .profile-flip .profile-img { order: 0; }
  .profile-img { max-width: 340px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .svc-cards, .ins-grid, .ins-grid-index, .recog-row { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ph-copy { padding-top: 64px; }
  .page-hero { min-height: 360px; }
  .hero-paths { max-width: none; }
  .field-duo { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 74;
    background: var(--ink); border-top: 1px solid #333945;
  }
  .mobile-bar a { color: var(--paper); text-align: center; padding: 13px 4px; font-size: 0.86rem; font-weight: 700; text-decoration: none; }
  .mobile-bar a + a { border-left: 1px solid #333945; }
  .mobile-bar .mb-primary { background: var(--cobalt); }
  body { padding-bottom: 48px; }
  .sl-float { width: 50px; height: 50px; right: 14px; bottom: 62px; }
  .sl-float svg { width: 26px; height: 26px; }
  .sl-drawer { right: 30px; width: min(270px, 78vw); }
  .cta-actions .btn { width: 100%; text-align: center; }
  .rf-actions .btn { width: 100%; text-align: center; }
}
/* hide promo chrome while mobile nav is open */
body.nav-open .sl-tab, body.nav-open .sl-drawer, body.nav-open .sl-float, body.nav-open .mobile-bar { display: none; }

@media print {
  .sl-kit, .sl-tab, .sl-drawer, .sl-float, .mobile-bar, .topbar, .nav-toggle, .cta-band { display: none !important; }
}
