/* Inspire Advocacy — site styles */
:root {
  --navy: #0a1931;
  --navy-2: #142a4f;
  --ink: #1c2430;
  --muted: #5b6573;
  --line: #e3e0d8;
  --paper: #fbfaf7;
  --cream: #f3efe6;
  --gold: #c59a3c;
  --gold-2: #9a7425;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(15, 35, 64, .08);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --maroon: #7a1f2b;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .35em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section.alt { background: var(--cream); }
.section.dark { background: var(--navy); color: #dfe5ee; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-2); font-weight: 600; margin-bottom: .8em;
}
.section.dark .eyebrow { color: #d9b86c; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 760px; }
.section.dark .lead { color: #c3cddb; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.rule { width: 56px; height: 2px; background: var(--gold); border: 0; margin: 0 0 1.4em; }
.center .rule { margin-left: auto; margin-right: auto; }

/* Placeholder marker: anything the owner still has to fill in */
.ph {
  background: #fff4cc; color: #6b4e00; border: 1px dashed #d2a400;
  padding: 0 .35em; border-radius: 4px; font-style: normal; white-space: normal;
}

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

/* Top bar */
.topbar { background: var(--navy); color: #c9d3e0; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #e8edf4; text-decoration: none; }
.topbar a:hover { color: #d9b86c; }
.topbar span + span::before { content: "·"; margin: 0 .6em; color: #6f819c; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; letter-spacing: .02em; line-height: 1; }
.brand-sub { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 500; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-size: .93rem; font-weight: 500; padding: 8px 12px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-2); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--navy); margin: 0 auto; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 6px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--sans);
  transition: background .15s, color .15s, border-color .15s;
}
.btn-gold { background: var(--gold); color: var(--white) !important; }
.btn-gold:hover { background: var(--gold-2); }
.btn-navy { background: var(--navy); color: var(--white) !important; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-light { border-color: rgba(255,255,255,.55); color: var(--white) !important; }
.btn-light:hover { background: var(--white); color: var(--navy) !important; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero {
  background:
    linear-gradient(120deg, rgba(15,35,64,.97) 0%, rgba(15,35,64,.92) 55%, rgba(23,50,90,.86) 100%),
    var(--hero-img, none) center/cover no-repeat, var(--navy);
  color: #dfe5ee; padding: 110px 0 120px; position: relative; overflow: hidden; border-bottom: 4px solid var(--gold);
}
.hero h1 { color: var(--white); max-width: 820px; }
.hero h1 em { font-style: italic; color: #d9b86c; }
.hero .lead { color: #c3cddb; font-size: 1.18rem; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 56px; align-items: center; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 28px; backdrop-filter: blur(2px);
}
.hero-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: .9em; }
.hero-card dl { margin: 0; display: grid; gap: 14px; }
.hero-card dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: #93a3ba; }
.hero-card dd { margin: 2px 0 0; color: var(--white); }
.hero-card dd a { color: var(--white); }

.page-hero { background: linear-gradient(100deg, rgba(10,25,49,.96), rgba(10,25,49,.82)), var(--hero-img, none) center/cover no-repeat, var(--navy); color: #c3cddb; padding: 72px 0 64px; border-bottom: 4px solid var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3rem); }
.page-hero .lead { color: #c3cddb; }
.crumbs { font-size: .84rem; margin-bottom: 1em; color: #93a3ba; }
.crumbs a { color: #c3cddb; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; margin-bottom: 16px; color: var(--gold-2); }
.card .icon svg { width: 24px; height: 24px; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; display: block; }
a.card:hover { transform: translateY(-3px); border-color: var(--gold); }
.card .more { color: var(--gold-2); font-weight: 600; font-size: .9rem; margin-top: 12px; display: inline-block; }
.section.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); box-shadow: none; color: #dfe5ee; }
.section.dark .card h3 { color: var(--white); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split.wide-left { grid-template-columns: 1.4fr 1fr; }

.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: linear-gradient(160deg, var(--cream), #e7e0d1);
  border: 1px solid var(--line); display: grid; place-items: center; text-align: center; color: var(--muted);
  font-size: .9rem; padding: 24px; overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait svg { width: 72px; height: 72px; color: #b9ad94; margin: 0 auto 10px; }

.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts li:first-child { border-top: 1px solid var(--line); }
.facts b { font-weight: 600; color: var(--navy); font-size: .92rem; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--serif); font-size: 2.4rem; color: var(--gold); font-weight: 600; line-height: 1;
}
.step h3 { font-size: 1.25rem; }

/* Practice detail */
.practice { padding: 40px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 300px 1fr; gap: 40px; scroll-margin-top: 100px; }
.practice:first-of-type { border-top: 0; }
.practice h2 { font-size: 1.9rem; }
.practice .law { font-size: .85rem; color: var(--muted); }
.practice ul { columns: 2; column-gap: 32px; }
.practice ul li { break-inside: avoid; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { font-size: .86rem; text-decoration: none; border: 1px solid var(--line); background: var(--white); padding: 6px 12px; border-radius: 999px; color: var(--ink); }
.toc a:hover { border-color: var(--gold); color: var(--gold-2); }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 20px; color: var(--ink); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq h2 { margin-top: 1.6em; font-size: 1.7rem; }
.faq h2:first-child { margin-top: 0; }

/* Notice */
.notice { border-left: 3px solid var(--gold); background: var(--white); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .95rem; }
.notice.small { font-size: .88rem; color: var(--muted); }
.section.alt .notice { background: var(--white); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; margin: 0; }
.contact-list .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--gold-2); }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list b { display: block; color: var(--navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--cream); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

.bring { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 32px; }

/* Prose (legal pages) */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose ol li, .prose ul li { margin-bottom: .6em; }

/* CTA band */
.cta-band { background: var(--gold); color: var(--white); padding: 48px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { margin: 4px 0 0; color: #fff7e6; }
.cta-band .btn-navy { background: var(--navy); }

/* Footer */
.site-footer { background: #0a1a30; color: #9fb0c6; font-size: .92rem; padding: 64px 0 0; }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1.1em; }
.site-footer a { color: #c9d3e0; text-decoration: none; }
.site-footer a:hover { color: #d9b86c; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand-name { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 20px 0; font-size: .82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-disclaimer { font-size: .82rem; color: #7f91aa; margin-top: 1em; }

/* Floating call button (mobile) */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: none; }
.fab a { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.fab svg { width: 24px; height: 24px; }

/* Disclaimer gate */
.gate { position: fixed; inset: 0; background: rgba(8, 18, 34, .78); z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; }
.gate.open { display: flex; }
.gate-box { background: var(--white); max-width: 680px; width: 100%; border-radius: var(--radius); max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.gate-head { padding: 24px 28px 8px; border-bottom: 1px solid var(--line); }
.gate-head h2 { font-size: 1.8rem; margin-bottom: .3em; }
.gate-body { padding: 18px 28px; overflow-y: auto; font-size: .93rem; color: var(--ink); }
.gate-body ol { padding-left: 1.2em; }
.gate-foot { padding: 16px 28px 24px; border-top: 1px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
body.gated { overflow: hidden; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* Responsive */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .practice { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 8px 16px 16px; display: none; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin: 12px 0 0; border-bottom: 0; border-radius: 6px; }
  .hero-grid, .split, .split.wide-left { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .fab { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 72px; }
  .grid-2, .grid-3, .grid-4, .steps, .bring { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .practice ul { columns: 1; }
  .topbar .hide-sm { display: none; }
  .brand-name { font-size: 1.35rem; }
  .gate-head, .gate-body, .gate-foot { padding-left: 20px; padding-right: 20px; }
  .gate-foot .btn { flex: 1; }
}
@media print {
  .topbar, .site-header, .fab, .cta-band, .gate { display: none !important; }
}

/* Photos */
.photo { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--cream); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 8px; font-size: .72rem; color: #e8edf4; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.photo figcaption a { color: #e8edf4; }
figure { margin: 0; }
.photo-credit { font-size: .72rem; color: #8a96a8; margin-top: 10px; }
.photo-credit a { color: inherit; }
.hero .photo-credit { position: absolute; right: 16px; bottom: 10px; color: rgba(255,255,255,.55); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge { font-size: .8rem; border: 1px solid rgba(217,184,108,.5); color: #e9d6a5; padding: 6px 12px; border-radius: 999px; letter-spacing: .02em; }
.code-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
.code-table th, .code-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.code-table th { background: var(--navy); color: var(--white); font-weight: 600; font-size: .85rem; letter-spacing: .04em; }
.code-table td:first-child { font-weight: 600; color: var(--navy); }
.table-wrap { overflow-x: auto; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.stat-strip div { padding: 22px; border-left: 1px solid rgba(255,255,255,.12); }
.stat-strip div:first-child { border-left: 0; }
.stat-strip b { display: block; font-family: var(--serif); font-size: 1.35rem; color: #d9b86c; font-weight: 600; }
.stat-strip span { font-size: .88rem; color: #c3cddb; }
.social a { display: inline-flex; align-items: center; gap: 8px; }
.social svg { width: 18px; height: 18px; }
.hindi { font-family: "Noto Sans Devanagari", var(--sans); }
@media (max-width: 900px) { .stat-strip { grid-template-columns: 1fr 1fr; } .stat-strip div:nth-child(3) { border-left: 0; } .stat-strip div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); } }
@media (max-width: 640px) { .code-table th, .code-table td { padding: 10px; font-size: .88rem; } }
