/* =============================================================
   Sahasrar Capital — Global Stylesheet
   WCAG 2.1 AA compliant. No external dependencies.
   ============================================================= */

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: #0e1729;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Design tokens ──────────────────────────────────────────── */
:root {
  --navy:    #0f1c32;
  --navy2:   #1a2d4e;
  --vi:      #7b5ea7;
  --vid:     #5e428a;
  --vlt:     #b99ed8;
  --vbg:     #f0eaf8;
  --pk:      #c0589a;
  --pklt:    #e08ac0;
  --bl:      #4b72b8;
  --surf:    #f5f4fb;
  --mid:     #3d4a6a;
  --muted:   #6b7591;
  --hl:      rgba(14,23,41,.09);
  --hll:     rgba(14,23,41,.05);
  --wrap:    1140px;
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ── Accessibility ──────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--vi);
  outline-offset: 3px;
  border-radius: 3px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--vi); color: #fff;
  padding: .7rem 1.2rem; font-weight: 600;
  text-decoration: none; border-radius: 0 0 4px 4px;
  z-index: 9999; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Layout ─────────────────────────────────────────────────── */
.w { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.gbar { height: 3px; background: linear-gradient(90deg, var(--pk) 0%, var(--vi) 50%, var(--bl) 100%); }

/* ── Top bar ────────────────────────────────────────────────── */
.topbar { background: var(--navy); color: rgba(255,255,255,.5); font-size: 12px; padding: .5rem 0; }
.tb-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.tb-contacts { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.tb-contacts span { display: flex; align-items: center; gap: 5px; }
.topbar a { color: rgba(255,255,255,.5); text-decoration: none; }
.topbar a:hover { color: var(--vlt); }
.tb-social { display: flex; gap: .4rem; }
.tb-soc {
  width: 26px; height: 26px; border-radius: 4px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); text-decoration: none;
  transition: background .13s, color .13s;
}
.tb-soc:hover { background: var(--vi); color: #fff; }
.tb-soc svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Header ─────────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hll);
}
.hdr { display: flex; align-items: center; justify-content: space-between; padding: .85rem 0; gap: 1.5rem; }
.logo-link { display: flex; align-items: center; gap: .4rem; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 44px; width: auto; display: block; object-fit: contain; }
.logo-sub { font-size: 8.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--hl);
  border-radius: 4px; padding: 7px 9px; cursor: pointer; color: #0e1729; font-size: 18px; line-height: 1;
}
nav ul { display: flex; gap: 1px; list-style: none; align-items: center; }
nav a, .dd-btn {
  display: flex; align-items: center; gap: 3px;
  padding: .42rem .65rem;
  font-family: inherit; font-size: 13.5px; font-weight: 500; color: var(--mid);
  text-decoration: none; border-radius: 4px; white-space: nowrap;
  background: none; border: none; cursor: pointer;
  transition: background .12s, color .12s;
}
nav a:hover, .dd-btn:hover, nav a[aria-current="page"] { background: var(--vbg); color: var(--vi); }
nav a[aria-current="page"] { font-weight: 600; }
nav a.nav-cta { background: var(--vi) !important; color: #fff !important; border-radius: 4px; padding: .42rem .95rem; margin-left: .3rem; font-weight: 600; }
nav a.nav-cta:hover { background: var(--vid) !important; }
.dd { position: relative; }
.dd-btn svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2.5; transition: transform .16s; }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-panel {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  background: #fff; border: 1px solid var(--hl); border-radius: 6px;
  min-width: 210px; box-shadow: 0 14px 44px rgba(14,23,41,.11);
  overflow: hidden; z-index: 300;
}
.dd-panel.open { display: block; }
.dd-panel a { display: block; padding: .6rem 1rem; font-size: 13.5px; color: var(--mid); text-decoration: none; border-radius: 0; transition: background .12s; }
.dd-panel a:hover, .dd-panel a[aria-current="page"] { background: var(--vbg); color: var(--vi); }
@media (max-width: 860px) {
  .nav-toggle { display: flex; align-items: center; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--hl); padding: 1rem; z-index: 199; }
  nav.open { display: block; }
  nav ul { flex-direction: column; align-items: stretch; }
  nav a, .dd-btn { font-size: 15px; min-height: 44px; width: 100%; }
  .dd-panel { position: static; box-shadow: none; border: none; border-left: 2px solid var(--hl); margin-left: 1rem; display: block; }
  nav a.nav-cta { margin: .5rem 0 0; }
  .logo-sub { display: none; }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: .7rem 1.4rem; font-family: inherit; font-size: 14px; font-weight: 600;
  text-decoration: none; border-radius: 4px; border: 1.5px solid transparent;
  transition: background .13s, box-shadow .13s, transform .09s;
  min-height: 44px; cursor: pointer; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; flex-shrink: 0; }
.btn-violet { background: var(--vi); color: #fff; }
.btn-violet:hover { background: var(--vid); box-shadow: 0 4px 20px rgba(123,94,167,.35); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
.btn-outline { background: transparent; color: var(--vi); border-color: var(--vi); }
.btn-outline:hover { background: var(--vbg); }

/* ── Section helpers ────────────────────────────────────────── */
.sect { padding: 5rem 0; }
.sect.alt { background: var(--surf); }
.sect.dk { background: var(--navy2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--pk); margin-bottom: .9rem;
}
.eyebrow::before { content: ''; display: block; width: 18px; height: 1.5px; background: currentColor; flex-shrink: 0; }
.eyebrow.lt { color: var(--pklt); }
.eyebrow.lt::before { background: var(--pklt); }
h2.sh { font-size: clamp(2rem,3.2vw,2.9rem); font-weight: 700; line-height: 1.1; color: var(--navy); letter-spacing: -.015em; margin-bottom: .85rem; }
h2.sh em { font-style: italic; color: var(--vi); }
h2.sh.lt { color: #fff; }
h2.sh.lt em { color: var(--vlt); }
.lead { font-size: 16px; color: var(--muted); line-height: 1.8; max-width: 52ch; font-weight: 300; }

/* ── Inner page hero ────────────────────────────────────────── */
.page-hero { background: var(--navy); padding: 5rem 0 4rem; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 80% at 70% 50%, rgba(123,94,167,.2) 0%, transparent 65%);
}
.ph-inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.5rem,4.5vw,4rem); font-weight: 700; color: #fff; line-height: 1.06; letter-spacing: -.02em; margin-bottom: .75rem; }
.page-hero h1 em { font-style: italic; color: var(--vlt); }
.ph-sub { font-size: 16px; color: rgba(255,255,255,.52); max-width: 54ch; font-weight: 300; line-height: 1.75; }

/* ── Two column grid ────────────────────────────────────────── */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.g2.top { align-items: start; }
@media (max-width: 768px) { .g2 { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ── About panel (dark card with logo) ─────────────────────── */
.about-panel { background: var(--navy); border-radius: 4px; padding: 3rem 2.5rem; text-align: center; position: relative; overflow: hidden; }
.about-panel::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 80% 80% at 50% 30%, rgba(123,94,167,.2) 0%, transparent 70%); }
.about-panel img { width: 160px; height: auto; display: block; margin: 0 auto 1.75rem; position: relative; z-index: 1; }
.about-panel h3 { font-style: italic; font-size: 1.3rem; color: var(--vlt); margin-bottom: .75rem; position: relative; z-index: 1; }
.about-panel p { font-size: 13px; color: rgba(255,255,255,.52); line-height: 1.8; font-weight: 300; position: relative; z-index: 1; }

/* ── Philosophy grid (dark) ─────────────────────────────────── */
.phil-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.07); margin-top: 3rem; }
.phil-card { background: var(--navy2); padding: 2.25rem; transition: background .18s; }
.phil-card:hover { background: #1e3255; }
.phil-idx { font-size: 9.5px; font-weight: 700; letter-spacing: .18em; color: var(--vlt); opacity: .55; margin-bottom: 1.25rem; }
.phil-q { font-style: italic; font-size: 14.5px; line-height: 1.75; color: rgba(255,255,255,.75); }
@media (max-width: 700px) { .phil-grid { grid-template-columns: 1fr; } }

/* ── Service cards ──────────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--hl); border: 1px solid var(--hl); margin-top: 3rem; }
.svc-card { background: #fff; padding: 2.25rem; position: relative; transition: transform .16s, box-shadow .16s; }
.svc-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--vi), var(--pk)); opacity: 0; transition: opacity .16s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(14,23,41,.09); }
.svc-card:hover::after { opacity: 1; }
.svc-icon { width: 40px; height: 40px; border-radius: 4px; background: var(--vbg); display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; }
.svc-icon svg { width: 19px; height: 19px; stroke: var(--vi); fill: none; stroke-width: 2; }
.svc-card h3 { font-size: 15.5px; font-weight: 600; color: var(--navy); margin-bottom: .6rem; letter-spacing: -.01em; }
.svc-card p { font-size: 13.5px; color: var(--muted); line-height: 1.75; margin-bottom: 1.25rem; font-weight: 300; }
.svc-more { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vi); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: gap .14s; }
.svc-more:hover { gap: 8px; }
.svc-more svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.5; }
@media (max-width: 700px) { .svc-grid { grid-template-columns: 1fr; } }

/* ── Concentric rings ───────────────────────────────────────── */
.rings { position: relative; display: flex; align-items: center; justify-content: center; height: 290px; }
.ring { position: absolute; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ring-3 { width: 280px; height: 280px; border: 1px solid rgba(123,94,167,.2); background: rgba(123,94,167,.03); }
.ring-2 { width: 194px; height: 194px; border: 1px solid rgba(123,94,167,.3); background: rgba(123,94,167,.055); }
.ring-1 { width: 108px; height: 108px; border: 1.5px solid var(--vi); background: var(--vbg); }
.ring-core { text-align: center; font-size: 9.5px; font-weight: 700; color: var(--vi); letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; }
.ring-lbl { position: absolute; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.ring-lbl.top { top: 8px; }
.ring-lbl.mid { top: 53px; }

/* ── Lever list ─────────────────────────────────────────────── */
.lever-list { list-style: none; }
.lever { display: flex; gap: 1.25rem; padding: 1.35rem 0; border-bottom: 1px solid var(--hll); }
.lever:first-child { border-top: 1px solid var(--hll); }
.lever-n { font-size: 1.5rem; font-weight: 700; color: var(--hl); line-height: 1; min-width: 1.5rem; flex-shrink: 0; padding-top: 3px; }
.lever h3 { font-size: 14.5px; font-weight: 600; color: var(--navy); margin-bottom: .3rem; }
.lever p { font-size: 13px; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ── CTA section ────────────────────────────────────────────── */
.cta-sect { background: var(--navy); padding: 5.5rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-sect::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(192,88,154,.12) 0%, transparent 65%); }
.cta-inner { position: relative; z-index: 1; }
.cta-sect h2 { font-size: clamp(1.9rem,3.5vw,3rem); font-weight: 700; color: #fff; letter-spacing: -.015em; margin-bottom: .85rem; }
.cta-sect h2 em { font-style: italic; color: var(--vlt); }
.cta-sect p { font-size: 15px; color: rgba(255,255,255,.52); margin-bottom: 2.25rem; max-width: 44ch; margin-inline: auto; font-weight: 300; }
.cta-btns { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }

/* ── Stats row ──────────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 1px; background: var(--hl); border: 1px solid var(--hl); margin: 3rem 0; }
.stat-cell { background: #fff; padding: 2rem 1.5rem; text-align: center; }
.stat-n { font-size: 2.5rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: .4rem; }
.stat-n em { font-style: normal; color: var(--vi); }
.stat-l { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* ── Team cards ─────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.team-card { border: 1px solid var(--hl); border-radius: 4px; overflow: hidden; background: #fff; transition: box-shadow .16s, transform .16s; }
.team-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(14,23,41,.09); }
.team-avatar { height: 220px; background: var(--navy); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.team-avatar::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 80% at 50% 30%, rgba(123,94,167,.25) 0%, transparent 70%); }
.team-initials { font-size: 3.5rem; font-weight: 700; color: rgba(255,255,255,.18); position: relative; z-index: 1; letter-spacing: -.02em; }
.team-body { padding: 1.5rem; }
.team-name { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: .25rem; }
.team-role { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--vi); margin-bottom: 1rem; }
.team-bio { font-size: 13.5px; color: var(--muted); line-height: 1.75; font-weight: 300; }
.team-detail { font-size: 11.5px; color: var(--muted); line-height: 1.7; margin-top: .5rem; font-weight: 300; }
.team-detail strong { font-weight: 600; color: var(--mid); }
.team-social { display: flex; gap: .4rem; margin-top: 1rem; }
.team-social a { width: 30px; height: 30px; border-radius: 4px; background: var(--vbg); display: flex; align-items: center; justify-content: center; color: var(--vi); text-decoration: none; transition: background .13s, color .13s; }
.team-social a:hover { background: var(--vi); color: #fff; }
.team-social svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Offering cards ─────────────────────────────────────────── */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.offer-card { border: 1px solid var(--hl); border-radius: 4px; padding: 2rem; background: #fff; position: relative; transition: box-shadow .15s, border-color .15s; }
.offer-card:hover { border-color: var(--vi); box-shadow: 0 8px 32px rgba(123,94,167,.1); }
.offer-num { font-size: 3rem; font-weight: 700; color: var(--vbg); line-height: 1; position: absolute; top: 1.5rem; right: 1.75rem; user-select: none; }
.offer-card h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: .65rem; letter-spacing: -.01em; }
.offer-card p { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; }
.tag { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vi); background: var(--vbg); border-radius: 3px; padding: 3px 8px; }
@media (max-width: 700px) { .offer-grid { grid-template-columns: 1fr; } }

/* ── Framework pillars ──────────────────────────────────────── */
.framework-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1.25rem; margin-top: 3rem; }
.framework-card { border: 1px solid var(--hl); border-radius: 4px; padding: 1.5rem; background: #fff; }
.framework-card h3 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: .75rem; }
.framework-card ul { list-style: none; }
.framework-card li { font-size: 12.5px; color: var(--muted); line-height: 1.7; padding: .2rem 0; border-bottom: 1px solid var(--hll); font-weight: 300; }
.framework-card li:last-child { border-bottom: none; }

/* ── Investment principles ──────────────────────────────────── */
.principle-list { list-style: none; margin-top: 2.5rem; }
.principle { display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--hll); align-items: start; }
.principle:first-child { border-top: 1px solid var(--hll); }
.principle-n { font-size: 2.2rem; font-weight: 700; color: var(--vbg); line-height: 1; }
.principle h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: .5rem; letter-spacing: -.01em; }
.principle p { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; }
.principle blockquote { font-style: italic; font-size: 15px; line-height: 1.7; color: var(--vi); border-left: 2px solid var(--vi); padding-left: 1rem; margin-top: .75rem; }

/* ── Fee table ──────────────────────────────────────────────── */
.fee-wrap { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--hl); border-radius: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
thead { background: var(--navy); color: #fff; }
th { padding: .9rem 1.1rem; text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .04em; }
td { padding: .85rem 1.1rem; border-bottom: 1px solid var(--hll); color: var(--mid); font-weight: 300; line-height: 1.6; vertical-align: top; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: rgba(123,94,167,.025); }

/* ── Video grid ─────────────────────────────────────────────── */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.video-card { border: 1px solid var(--hl); border-radius: 4px; overflow: hidden; background: #fff; }
.video-frame { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-body { padding: 1.25rem; }
.video-card h3 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: .4rem; line-height: 1.4; }
.video-card p { font-size: 12.5px; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ── Memo cards ─────────────────────────────────────────────── */
.memo-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 1.25rem; margin-top: 3rem; }
.memo-card { border: 1px solid var(--hl); border-radius: 4px; padding: 1.75rem; background: #fff; transition: box-shadow .15s, border-color .15s; display: flex; flex-direction: column; }
.memo-card:hover { border-color: var(--vi); box-shadow: 0 8px 28px rgba(123,94,167,.1); }
.memo-date { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.memo-card h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: .55rem; line-height: 1.35; letter-spacing: -.01em; }
.memo-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.7; font-weight: 300; flex: 1; }
.memo-link { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vi); text-decoration: none; margin-top: 1.25rem; transition: gap .13s; }
.memo-link:hover { gap: 8px; }
.memo-link svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* ── Contact form ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 400px; gap: 5rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: 11.5px; font-weight: 600; color: var(--navy); letter-spacing: .04em; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 14px; color: #0e1729;
  background: #fff; border: 1px solid var(--hl); border-radius: 4px;
  padding: .7rem .9rem; width: 100%;
  transition: border-color .13s, box-shadow .13s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--vi); outline: none;
  box-shadow: 0 0 0 3px rgba(123,94,167,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .field-hint { font-size: 11.5px; color: var(--muted); font-weight: 300; }
.field .field-err { font-size: 11.5px; color: #c0392b; font-weight: 500; display: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c0392b; }
.form-status { padding: 1rem 1.25rem; border-radius: 4px; font-size: 14px; font-weight: 500; display: none; margin-bottom: 1rem; }
.form-status.ok { background: #eaf4ea; color: #1e6b1e; border: 1px solid #b7ddb7; }
.form-status.er { background: #fdecea; color: #8b1a1a; border: 1px solid #f0b0ad; }
.aside-card { border: 1px solid var(--hl); border-radius: 4px; padding: 1.75rem; margin-bottom: 1.25rem; background: #fff; }
.aside-card h3 { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 1rem; letter-spacing: .02em; }
.contact-item { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .9rem; }
.contact-item:last-child { margin-bottom: 0; }
.ci-icon { width: 32px; height: 32px; background: var(--vbg); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.ci-icon svg { width: 14px; height: 14px; stroke: var(--vi); fill: none; stroke-width: 2; }
.ci-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.ci-val { font-size: 13.5px; color: var(--mid); }
.ci-val a { color: var(--vi); text-decoration: none; }
.ci-val a:hover { text-decoration: underline; }
.disclaimer-box { background: var(--surf); border: 1px solid var(--hl); border-radius: 4px; padding: 1.25rem 1.5rem; margin-top: 1.25rem; }
.disclaimer-box p { font-size: 11.5px; color: var(--muted); line-height: 1.7; font-weight: 300; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* ── Prose ──────────────────────────────────────────────────── */
.prose h2 { font-size: clamp(1.6rem,2.5vw,2.2rem); font-weight: 700; color: var(--navy); letter-spacing: -.015em; line-height: 1.15; margin: 2.5rem 0 .85rem; }
.prose h2:first-child { margin-top: 0; }
.prose h2 em { font-style: italic; color: var(--vi); }
.prose h3 { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin: 1.75rem 0 .5rem; }
.prose p { font-size: 15px; color: var(--mid); line-height: 1.85; font-weight: 300; margin-bottom: 1rem; }
.prose strong { font-weight: 600; color: var(--navy); }
.prose ul, .prose ol { margin: .75rem 0 1rem 1.25rem; color: var(--mid); font-size: 15px; font-weight: 300; line-height: 1.8; }
.prose li { margin-bottom: .35rem; }

/* ── Quick facts panel ──────────────────────────────────────── */
.quick-facts { background: var(--surf); border: 1px solid var(--hl); border-radius: 4px; padding: 1.75rem; margin-bottom: 1.25rem; }
.quick-facts h3 { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 1rem; }
.qf-row { display: flex; justify-content: space-between; padding-bottom: .75rem; border-bottom: 1px solid var(--hll); font-size: 13.5px; margin-bottom: .75rem; }
.qf-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.qf-label { color: var(--muted); font-weight: 300; }
.qf-val { color: var(--navy); font-weight: 600; }
.qf-val.accent { color: var(--vi); }

/* ── Footer ─────────────────────────────────────────────────── */
footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,.05); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3.5rem; padding: 3.5rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,.05); }
.foot-logo { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: .65; display: block; margin-bottom: .85rem; }
.foot-desc { font-size: 13px; color: rgba(255,255,255,.36); line-height: 1.8; max-width: 32ch; font-weight: 300; }
.foot-social { display: flex; gap: .4rem; margin-top: 1.25rem; }
.foot-soc { width: 30px; height: 30px; border-radius: 4px; background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.38); text-decoration: none; transition: background .13s, color .13s; }
.foot-soc:hover { background: var(--vi); color: #fff; }
.foot-soc svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.foot-col h4 { font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 1rem; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: .55rem; }
.foot-col a { font-size: 13px; color: rgba(255,255,255,.48); text-decoration: none; font-weight: 300; transition: color .12s; }
.foot-col a:hover { color: var(--vlt); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.25rem 0; font-size: 11px; color: rgba(255,255,255,.22); letter-spacing: .02em; }
.foot-bottom a { color: rgba(255,255,255,.22); text-decoration: none; }
.foot-bottom a:hover { color: rgba(255,255,255,.5); }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; } .foot-bottom { flex-direction: column; text-align: center; } }
