/* ==========================================================================
   Lex Meridian — design system
   Readability rules used throughout:
   - body 18px / 1.65, measure capped at ~68 characters
   - left-aligned text (never justified), headings as plain-language questions
   - WCAG AA contrast: brand gold #B8860B is decorative/large-text only;
     small gold text uses --gold-text (#8A6508, 5:1 on ivory)
   ========================================================================== */
:root {
  --ink: #141414;
  --ink-2: #1F1F1F;
  --ink-3: #2E2E2E;
  --paper: #FBFAF7;
  --paper-2: #F3F1EC;
  --white: #FFFFFF;
  --line: #E6E2D9;
  --text: #1C1C1C;
  --muted: #55524C;
  --gold: #B8860B;
  --gold-text: #8A6508;
  --gold-light: #D9B65C;
  --gold-pale: #F4E9CC;
  --ok: #1F6F4A;
  --err: #A3261B;

  --f-brand: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.889rem;
  --step-0: 1.125rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  --step-3: clamp(2rem, 1.5rem + 2vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);

  --measure: 68ch;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .06), 0 8px 24px rgba(20, 20, 20, .06);
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
/* Lining numerals everywhere (Cormorant defaults to old-style; !important survives the font shorthand) */
*, *::before, *::after { font-variant-numeric: lining-nums !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 var(--step-0)/1.65 var(--f-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; max-width: var(--measure); }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 600; color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-family: var(--f-body); font-size: var(--step-0); font-weight: 700; letter-spacing: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.section-alt { background: var(--paper-2); }
.section-ink { background: var(--ink); color: #E3E0D9; }
.section-ink h2, .section-ink h3, .section-ink strong { color: #fff; }
.section-ink a { color: var(--gold-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 .78rem/1.2 var(--f-brand); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-text); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-ink .eyebrow { color: var(--gold-light); }
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.section-ink .lead { color: #CFCBC2; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* Placeholder markers — delete this rule (or set display contents) at launch */
.todo { background: rgba(184, 134, 11, .13); box-shadow: inset 0 -1px 0 rgba(184, 134, 11, .6); padding: 0 .2em; border-radius: 2px; }
.section-ink .todo { background: rgba(217, 182, 92, .18); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: var(--radius);
  font: 600 1rem/1.2 var(--f-body); letter-spacing: .01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-3); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9C7209; color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.section-ink .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.section-ink .btn-ghost:hover { background: #fff; color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Utility bar + header ---------- */
.topbar { background: var(--ink); color: #CFCBC2; font-size: .875rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #E9D7A6; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-group { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 760px) { .topbar .hide-sm { display: none; } .topbar .wrap { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 250, 247, .985); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold); }
.brand svg { width: 52px; height: auto; color: var(--gold); fill: currentColor; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 600 1.32rem/1 var(--f-brand); letter-spacing: .08em; color: var(--gold); }
.brand-tag { font: 600 .56rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 12px; font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; border-radius: 4px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-text); }
.nav .btn { margin-left: 10px; min-height: 46px; padding: 10px 20px; color: #fff; }
.nav .btn:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 48px; height: 48px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 14px 0 0; }
}
@media (max-width: 420px) { .brand-tag { display: none; } .brand svg { width: 44px; } .brand-name { font-size: 1.15rem; } }

/* ---------- Home hero (conversion-first) ---------- */
.hx { position: relative; background: var(--ink); color: #E3E0D9; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 0; }
.hx-bg { position: absolute; inset: 0; }
.hx-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: sepia(.35) saturate(.8); }
.hx-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--ink) 28%, rgba(20, 20, 20, .82) 58%, rgba(20, 20, 20, .6)); }
.hx-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.28fr .72fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hx h1 { color: #fff; font-size: clamp(2.5rem, 1.4rem + 3.7vw, 4.1rem); line-height: 1.04; letter-spacing: -.018em; margin-bottom: .32em; text-wrap: initial; }
.hx h1 em { color: var(--gold-light); font-style: italic; font-weight: 500; padding-right: .08em; }
.hx-badge .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(233, 215, 166, .55); }
/* Online / In person segmented choice */
.seg { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.seg legend { font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: 8px; padding: 0; }
.seg-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; }
.seg input:checked + span { background: var(--ink); color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.hx .lead { color: #CFCBC2; max-width: 52ch; }
.hx-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; margin: 0 0 24px; border: 1px solid rgba(217, 182, 92, .35); border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: .88rem; font-weight: 600; color: #E9D7A6; }
.hx-badge .todo { background: rgba(217, 182, 92, .18); }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3DDC84; animation: lm-ping 2.2s cubic-bezier(.2, .7, .2, 1) infinite; }
@keyframes lm-ping { to { transform: scale(2.8); opacity: 0; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.hi { font-family: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.5; color: var(--gold-light); margin: 0 0 14px; }
.chips-label { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #E9D7A6; margin: 30px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; font-weight: 600; font-size: .96rem; transition: background .2s, border-color .2s, transform .2s; }
.chip:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-1px); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #178C46; color: #fff; }
.btn-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--ink); }
.callback { background: var(--paper); color: var(--text); border-radius: 10px; border-top: 4px solid var(--gold); padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.callback h3 { font-size: 1.9rem; margin-bottom: .2em; }
.callback .btn { width: 100%; }
.hx-proof { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.hx-proof li { margin: 0; padding: 22px 20px; border-left: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; color: #B7B3AA; }
.hx-proof li:first-child { border-left: 0; padding-left: 0; }
.hx-proof strong { display: block; font: 600 1.3rem/1.3 var(--f-display); color: #fff; margin-bottom: 2px; }
@media (max-width: 980px) {
  .hx-grid { grid-template-columns: 1fr; }
  .hx-bg::after { background: linear-gradient(180deg, rgba(20, 20, 20, .7), var(--ink) 70%); }
  .hx-proof { grid-template-columns: 1fr 1fr; }
  .hx-proof li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hx-proof li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 520px) { .hx-proof li { padding: 16px 12px; font-size: .88rem; } .hx-proof strong { font-size: 1.1rem; } .chip { font-size: .9rem; padding: 8px 14px; min-height: 40px; } }

.ticker { background: var(--gold); color: var(--ink); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: tick 45s linear infinite; will-change: transform; }
.ticker-track > span { font: 600 .8rem/1 var(--f-brand); letter-spacing: .2em; text-transform: uppercase; padding: 15px 0; }
.ticker-track > span::after { content: "\25C6"; margin: 0 26px; font-size: .55rem; vertical-align: middle; opacity: .7; }
@keyframes tick { to { transform: translateX(-50%); } }

.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 60px; height: 60px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 760px) { .wa-float { display: none; } }

/* ---------- Trust facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.fact { padding: 26px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact-k { font: 600 .74rem/1.2 var(--f-brand); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.fact-v { font: 600 1.25rem/1.3 var(--f-display); color: var(--ink); }
.fact-s { font-size: .9rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .fact { border-left: 0; border-top: 1px solid var(--line); } .fact:first-child { border-top: 0; } }

/* ---------- Media placeholders (image covers the label once uploaded) ---------- */
.media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); aspect-ratio: var(--ratio, 4 / 3); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.r-4x5 { --ratio: 4 / 5; } .r-16x9 { --ratio: 16 / 9; } .r-1x1 { --ratio: 1 / 1; } .r-3x2 { --ratio: 3 / 2; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g-3, .g-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); }
.card h3 { font-size: 1.55rem; margin-bottom: .35em; }
.card p { font-size: 1.02rem; color: var(--muted); }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card-link:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card-q { font: italic 500 1.12rem/1.4 var(--f-display); color: var(--gold-text); margin-bottom: 10px; }
.card-more { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: .95rem; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.card-more::after { content: "\2192"; transition: transform .2s; }
.card-link:hover .card-more::after { transform: translateX(4px); }
.icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 18px; }
.section-ink .card { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.section-ink .card p { color: #CFCBC2; }

/* ---------- Audience split ---------- */
.who { border-top: 2px solid var(--gold); padding-top: 22px; }
.who h3 { font-size: 1.5rem; }
.who p { color: var(--muted); font-size: 1.02rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { counter-increment: s; padding: 0 24px 0 0; position: relative; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font: 500 2.6rem/1 var(--f-display); color: var(--gold-light); margin-bottom: 14px; }
.step::after { content: ""; position: absolute; top: 20px; left: 64px; right: 20px; height: 1px; background: rgba(217,182,92,.35); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.4rem; }
.step p { font-size: 1rem; color: #CFCBC2; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } .step::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Profile ---------- */
.profile { display: grid; grid-template-columns: 380px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .profile .media { max-width: 380px; } }
/* Credential card (used instead of a portrait photo) */
.id-card { position: relative; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: clamp(32px, 4vw, 48px) 28px; text-align: center; box-shadow: var(--shadow); overflow: hidden; }
.id-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold-pale); border-radius: 3px; pointer-events: none; }
.id-card > svg { width: 120px; margin: 0 auto 22px; color: var(--gold); fill: currentColor; }
.id-name { font: 600 clamp(1.25rem, 1rem + 1vw, 1.6rem)/1.25 var(--f-brand); letter-spacing: .06em; color: var(--ink); margin: 0 0 6px; }
.id-role { font: 600 .74rem/1.2 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }
.id-rule { display: flex; align-items: center; gap: 12px; margin: 22px auto; max-width: 220px; color: var(--gold); }
.id-rule::before, .id-rule::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.id-rule span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.id-meta { font-size: .95rem; color: var(--muted); line-height: 1.7; }
.id-meta strong { color: var(--ink); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 0; border-top: 1px solid var(--line); margin: 24px 0; font-size: 1rem; }
.kv dt, .kv dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.kv dt { font-weight: 600; color: var(--ink); padding-right: 24px; }
.kv dd { color: var(--muted); }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; } .kv dt { border-bottom: 0; padding-bottom: 0; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 0; }
.tags li { margin: 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; background: var(--white); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 .74rem/1.3 var(--f-brand); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); background: var(--paper); }
tr:last-child td { border-bottom: 0; }
.note { font-size: .9rem; color: var(--muted); margin-top: 12px; }

/* ---------- Plain-language summary box ---------- */
.summary { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 40px; }
.summary h2, .article .summary h2 { margin-top: 0; font: 600 .78rem/1.2 var(--f-brand); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.summary ul { margin: 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 10px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* ---------- Article (practice / legal pages) ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article h2 { font-size: var(--step-2); margin-top: 1.6em; }
.article h2:first-child { margin-top: 0; }
.aside { position: sticky; top: 104px; display: grid; gap: 16px; }
.aside .card h3 { font-size: 1.3rem; }
.toc { list-style: none; padding: 0; margin: 0; font-size: .98rem; }
.toc li { border-bottom: 1px solid var(--line); margin: 0; }
.toc a { display: block; padding: 10px 0; text-decoration: none; color: var(--ink); }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .aside { position: static; } }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.page-hero h1 { font-size: var(--step-4); max-width: 22ch; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .95rem; color: var(--muted); margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font: 600 1.3rem/1.35 var(--f-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 30px; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq .answer { padding: 0 0 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form h3 { font-size: 1.7rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--text); background: var(--paper);
  border: 1px solid #D3CEC3; border-radius: var(--radius); padding: 13px 14px; min-height: 50px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 134, 11, .18); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 6px 0 18px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; }
.form .btn { width: 100%; }
.form-note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--gold); }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: .98rem; }
.form-status.ok { display: block; background: #E7F3EC; color: var(--ok); }
.form-status.err { display: block; background: #FBEAE8; color: var(--err); }
.office { display: grid; gap: 0; }
.office-row { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.office-row:first-child { padding-top: 0; }
.office-row svg { width: 24px; height: 24px; color: var(--gold); margin-top: 3px; }
.office-row h4 { margin: 0 0 2px; font-size: .82rem; font-family: var(--f-brand); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.office-row p, .office-row a { margin: 0; font-size: 1.05rem; color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #E3E0D9; padding: clamp(48px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: var(--step-3); }
.cta-band p { margin: 0; color: #CFCBC2; }
.cta-band .mark-bg { position: absolute; right: -40px; bottom: -60px; width: 340px; color: rgba(217, 182, 92, .07); fill: currentColor; pointer-events: none; }

/* ---------- Associations strip (monochrome so third-party colours don't fight the palette) ---------- */
.assoc { background: var(--white); border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 56px) 0; text-align: center; }
.assoc .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.assoc-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.assoc-list li { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: .9rem; font-weight: 600; line-height: 1.35; color: var(--muted); }
.assoc-list img { width: 96px; height: 96px; object-fit: contain; mix-blend-mode: multiply; border-radius: 50%; filter: grayscale(1) contrast(1.15); opacity: .82; transition: filter .3s, opacity .3s; }
.assoc-list li:hover img { filter: none; opacity: 1; }
.assoc-list span { max-width: 22ch; }
@media (max-width: 760px) { .assoc-list { grid-template-columns: 1fr 1fr; row-gap: 32px; } .assoc-list img { width: 80px; height: 80px; } }

/* ---------- Footer ---------- */
.site-footer { background: #0E0E0E; color: #B3AFA6; font-size: .95rem; padding: 64px 0 28px; }
.site-footer a { color: #E6E3DC; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font: 600 .76rem/1.2 var(--f-brand); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand .brand-name { color: var(--gold-light); }
.footer-brand .brand-tag { color: #A08D5E; }
.footer-brand svg { color: var(--gold-light); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; font-size: .84rem; line-height: 1.6; color: #8F8B83; }
.footer-legal p { max-width: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--ink); border-top: 1px solid rgba(255,255,255,.1); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; color: #fff; text-decoration: none; font-size: .78rem; font-weight: 600; }
  .action-bar a + a { border-left: 1px solid rgba(255,255,255,.1); }
  .action-bar svg { width: 20px; height: 20px; color: var(--gold-light); }
  body { padding-bottom: 64px; }
}

/* ---------- Disclaimer modal (Bar Council of India Rule 36) ---------- */
.bci { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 10, 10, .72); backdrop-filter: blur(3px); }
.bci.show { display: flex; }
.bci-box { background: var(--paper); max-width: 620px; width: 100%; max-height: calc(100vh - 32px); overflow: auto; border-radius: 8px; border-top: 4px solid var(--gold); padding: clamp(24px, 4vw, 40px); box-shadow: 0 24px 64px rgba(0,0,0,.35); }
.bci-box h2 { font-size: var(--step-2); }
.bci-box p, .bci-box li { font-size: 1rem; color: var(--muted); }
.bci-box .btn-row { margin-top: 20px; }

/* ---------- Landing-specific ---------- */
.lp-header .wrap { min-height: 76px; }
.lp-hero { background: var(--ink); color: #E3E0D9; padding: clamp(40px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.lp-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); }
.lp-hero .lead { color: #CFCBC2; }
.lp-hero .ticks strong { color: #fff; }
.lp-hero .eyebrow { color: var(--gold-light); }
.lp-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; position: relative; }
@media (max-width: 900px) { .lp-grid { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 14px; color: #EDEAE3; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 16px; height: 9px; border-left: 2px solid var(--gold-light); border-bottom: 2px solid var(--gold-light); transform: rotate(-45deg); }
.lp-hero .form { color: var(--text); }
.proof { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.proof span { display: inline-flex; gap: 8px; align-items: center; }
.proof svg { width: 18px; height: 18px; color: var(--gold-light); }

/* ==========================================================================
   Motion & finish (2026): quiet, purposeful, never blocks reading.
   Everything below is disabled by prefers-reduced-motion (global rule at top),
   and reveal states only apply when JS adds .lm-motion, so content never hides without JS.
   ========================================================================== */
:root { interpolate-size: allow-keywords; --ease-out: cubic-bezier(.16, .84, .24, 1); }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* Hero entrance: masked line rise + staggered fade */
.ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.ln > * { display: inline-block; animation: lm-rise 1.1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
.a-in { animation: lm-fade .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
.a-side { animation-name: lm-side; }
@keyframes lm-rise { from { transform: translateY(108%); } }
@keyframes lm-fade { from { opacity: 0; transform: translate3d(0, 16px, 0); } }
@keyframes lm-side { from { opacity: 0; transform: translate3d(28px, 0, 0); } }
.hx-bg img { animation: lm-zoom 2.8s var(--ease-out) both; transform-origin: 60% 40%; }
@keyframes lm-zoom { from { transform: scale(1.1); opacity: 0; } }

/* Slow gold sheen across the italic line */
.sheen {
  background: linear-gradient(110deg, #C9A24A 0%, #C9A24A 38%, #F2E2B1 50%, #C9A24A 62%, #B8860B 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
.ln > .sheen { animation: lm-rise 1.1s var(--ease-out) both, lm-sheen 2.8s ease-in-out 1.6s 1 both; animation-delay: calc(var(--i, 0) * 90ms + 120ms), 1.8s; }
@keyframes lm-sheen { 0%, 55% { background-position: 100% 0; } 85%, 100% { background-position: 0 0; } }

/* Cursor-following soft glow + film grain on dark surfaces */
.hx-glow { position: absolute; left: 0; top: 0; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(217, 182, 92, .13), transparent 62%); transform: translate3d(72vw, 220px, 0); will-change: transform; transition: transform .6s var(--ease-out); }
.hx::after, .section-ink::after, .cta-band::after, .lp-hero::after, .site-footer::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; will-change: transform; transform: translateZ(0);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.section-ink, .site-footer { position: relative; }
.section-ink > .wrap, .site-footer > .wrap, .cta-band > .wrap { position: relative; z-index: 1; }

/* Header: compact + soft shadow once scrolled */
.site-header { transition: box-shadow .3s, background .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .06); }

/* Scroll reveals (JS assigns .rv + stagger delay) */
.lm-motion .rv { will-change: opacity, transform; opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .9s var(--ease-out) var(--rd, 0ms), transform .9s var(--ease-out) var(--rd, 0ms); }
.lm-motion .rv.is-in { opacity: 1; transform: none; }
.lm-motion .steps .step::after { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out) calc(var(--sd, 0) * 160ms + 300ms); }
.lm-motion .steps.is-in .step::after { transform: scaleX(1); }

/* Buttons: light sweep on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--ease-out); }
.btn:hover::after { transform: translateX(120%); }

/* Cards: gold rule draws in, icon lifts */
.card-link { position: relative; overflow: hidden; }
.card-link::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.card-link:hover::before { transform: scaleX(1); }
.card-link .icon { transition: transform .5s var(--ease-out); }
.card-link:hover .icon { transform: translateY(-3px); }

/* Photos: cohesive warm grade + slow hover drift */
.media img { filter: saturate(.82) contrast(1.03) sepia(.08); transition: transform 1.4s var(--ease-out); }
.media:hover img { transform: scale(1.035); }

/* FAQ: smooth open/close where supported */
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--gold-text); }

/* Marquee pauses on hover; WhatsApp float gets a gentle breathing ring */
.ticker:hover .ticker-track { animation-play-state: paused; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1FA855; animation: lm-ring 2.8s var(--ease-out) infinite; }
@keyframes lm-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.45); opacity: 0; } }

/* Credential card: subtle gold foil sheen on hover */
.id-card { transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.id-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0, 0, 0, .1); }

@media (prefers-reduced-motion: reduce) {
  .lm-motion .rv { opacity: 1; transform: none; }
  .sheen { background-position: 50% 0; }
}
.office-row a.directions { display: inline-block; margin-top: 6px; font-size: .92rem; font-weight: 600; color: var(--gold-text); text-decoration: none; }
.office-row a.directions:hover { text-decoration: underline; }

/* ==========================================================================
   Phone UX: contact details are always on screen
   - sticky header keeps round Call + WhatsApp buttons at the top
   - bottom dock shows the phone number itself, WhatsApp and Book
   - opening the menu reveals the full contact block
   ========================================================================== */
.hdr-contact { display: none; gap: 8px; margin-left: auto; }
.hdr-contact a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: transform .2s; }
.hdr-contact a:active { transform: scale(.94); }
.hdr-contact a.wa { background: #1FA855; border-color: #1FA855; color: #fff; }
.hdr-contact svg { width: 20px; height: 20px; }
.nav-contact { display: none; }

@media (max-width: 980px) {
  .hdr-contact { display: flex; }
  .site-header .wrap { gap: 10px; }
  .nav { max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav-contact { display: grid; gap: 2px; margin-top: 18px; padding: 16px; border-radius: var(--radius); background: var(--paper-2); }
  .nav-contact a, .nav-contact p { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 9px 0; border: 0; font-size: .95rem; font-weight: 600; color: var(--ink); text-decoration: none; max-width: none; }
  .nav-contact p { font-weight: 400; color: var(--muted); }
  .nav-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold); }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  .site-header .wrap { min-height: 68px; }
  .action-bar { grid-template-columns: 1.25fr 1fr 1fr; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(20, 20, 20, .985); box-shadow: 0 -8px 24px rgba(0, 0, 0, .18); }
  .action-bar a { flex-direction: row; justify-content: center; gap: 8px; padding: 9px 6px; border-radius: 10px; font-size: .8rem; line-height: 1.15; text-align: left; }
  .action-bar a + a { border-left: 0; }
  .action-bar a span { display: flex; flex-direction: column; min-width: 0; }
  .action-bar b { font-weight: 700; font-size: .84rem; }
  .action-bar small { font-size: .7rem; font-weight: 600; opacity: .85; white-space: nowrap; }
  .action-bar svg { width: 20px; height: 20px; flex: none; }
  .action-bar .ab-call { background: rgba(255, 255, 255, .08); }
  .action-bar .ab-call svg { color: var(--gold-light); }
  .action-bar .ab-wa { background: #1FA855; }
  .action-bar .ab-wa svg { color: #fff; }
  .action-bar .ab-book { background: var(--gold); color: #fff; }
  .action-bar .ab-book svg { color: #fff; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  /* keep in-page anchors clear of the sticky header */
  html { scroll-padding-top: 80px; }
}
@media (max-width: 370px) { .action-bar small { display: none; } .hdr-contact a { width: 40px; height: 40px; } }
@media (max-width: 420px) { .brand { gap: 9px; } .brand svg { width: 38px; } .brand-name { font-size: 1.02rem; letter-spacing: .05em; white-space: nowrap; } }

/* ==========================================================================
   Phone-first performance & touch layer
   ========================================================================== */
html { -webkit-tap-highlight-color: transparent; }
a, button, .chip, .seg label { touch-action: manipulation; }
@media (hover: none), (max-width: 760px) {
  /* no film grain or hover-only motion on touch devices: less for the GPU to draw while scrolling */
  .hx::after, .section-ink::after, .cta-band::after, .lp-hero::after, .site-footer::after { display: none; }
  .media:hover img, .card-link:hover, .id-card:hover, .btn:hover, .chip:hover { transform: none; }
  .btn::after { display: none; }
  .wa-float::before { animation: none; }
  /* crisp press feedback instead of hover */
  .btn:active, .chip:active, .card-link:active, .action-bar a:active, .hdr-contact a:active { transform: scale(.97); transition: transform .08s; }
  .chip:active { background: var(--gold); border-color: var(--gold); }
  /* shorter, quicker reveals on small screens */
  .lm-motion .rv { transform: translate3d(0, 14px, 0); transition-duration: .6s, .6s; }
  .ticker-track { animation-duration: 32s; }
  .hx-bg img { animation-duration: 1.6s; }
}

/* ==========================================================================
   Live legal updates: flash strip + section
   ========================================================================== */
.ticker { display: flex; align-items: stretch; }
.ticker-badge { flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 0 18px; background: var(--ink); color: var(--gold-light); text-decoration: none; font: 600 .72rem/1 var(--f-brand); letter-spacing: .18em; text-transform: uppercase; z-index: 1; }
.ticker-badge:hover { color: #fff; }
.ticker-viewport { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker-track a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 0; color: var(--ink); text-decoration: none; font: 600 .9rem/1.2 var(--f-body); letter-spacing: 0; text-transform: none; white-space: nowrap; }
.ticker-track a b { font: 700 .66rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: 4px 7px; border-radius: 4px; background: var(--ink); color: var(--gold-light); }
.ticker-track a::after { content: "\25C6"; margin: 0 22px 0 14px; font-size: .5rem; opacity: .6; }
.ticker-track a:hover { text-decoration: underline; }
.ticker.is-live .ticker-track { animation-name: tick; }

.upd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 26px; }
.upd-status { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .72rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.upd-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.upd-tabs button { font: 600 .92rem/1 var(--f-body); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; min-height: 42px; }
.upd-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.upd-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); counter-reset: none; }
.upd-list > li { margin: 0; border-bottom: 1px solid var(--line); }
.upd-item { display: grid; grid-template-columns: 170px 1fr 150px; gap: 8px 24px; align-items: baseline; padding: 18px 6px; color: inherit; text-decoration: none; }
.upd-item:hover .upd-title { color: var(--gold-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.upd-court { justify-self: start; display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink); font: 700 .7rem/1.25 var(--f-body); letter-spacing: .06em; text-transform: uppercase; }
.upd-item[data-type="sc"] .upd-court { background: var(--ink); color: var(--gold-light); }
.upd-item[data-type="raj"] .upd-court { background: var(--gold); color: #fff; }
.upd-title { font: 600 1.05rem/1.5 var(--f-body); color: var(--ink); }
.upd-new { display: inline-block; margin-left: 8px; padding: 2px 6px; border-radius: 4px; background: #E7F3EC; color: var(--ok); font: 700 .66rem/1.3 var(--f-body); letter-spacing: .08em; vertical-align: 2px; }
.upd-meta { font-size: .85rem; color: var(--muted); text-align: right; }
.upd-empty { padding: 26px 6px; color: var(--muted); }
.upd-skel { height: 62px; background: linear-gradient(90deg, var(--paper-2) 0%, #fff 50%, var(--paper-2) 100%); background-size: 200% 100%; animation: lm-skel 1.4s linear infinite; }
@keyframes lm-skel { to { background-position: -200% 0; } }
.upd-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 20px; }
@media (max-width: 760px) {
  .upd-item { grid-template-columns: 1fr; gap: 8px; padding: 16px 2px; }
  .upd-meta { text-align: left; }
  .upd-tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .upd-tabs button { flex: none; }
  .ticker-badge { padding: 0 12px; font-size: .64rem; letter-spacing: .12em; }
  .ticker-track a { font-size: .84rem; }
}

/* ---- Practice notes (legal register) ---- */
.card-law { font: 600 .74rem/1.45 var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: var(--gold-text); margin: -2px 0 10px; }
.statutes { margin: 0 0 8px; border-top: 1px solid var(--line); }
.statutes > div { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 6px 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.statutes dt { font-weight: 700; color: var(--ink); }
.statutes dd { margin: 0; color: var(--muted); }
.authorities { list-style: none; padding: 0; margin: 0; counter-reset: auth; display: grid; gap: 14px; }
.authorities > li { counter-increment: auth; position: relative; margin: 0; padding: 20px 22px 20px 64px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.authorities > li::before { content: counter(auth, decimal-leading-zero); position: absolute; left: 20px; top: 18px; font: 500 1.5rem/1 var(--f-display); color: var(--gold); }
.auth-case { margin: 0 0 2px; font: italic 600 1.18rem/1.35 var(--f-display); color: var(--ink); max-width: none; }
.auth-cite { margin: 0 0 8px; font: 700 .8rem/1.3 var(--f-body); letter-spacing: .04em; color: var(--gold-text); }
.auth-held { margin: 0; color: var(--text); font-size: 1rem; max-width: none; }
.law-note { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.page-hero .lead { font-size: 1.12rem; }
@media (max-width: 640px) {
  .statutes > div { grid-template-columns: 1fr; }
  .authorities > li { padding: 18px 16px 18px 52px; }
  .authorities > li::before { left: 14px; font-size: 1.25rem; }
}

/* ---- Judgment items (case name + opening text) ---- */
.upd-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.upd-excerpt { font-size: .93rem; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.upd-item[data-kind="judgment"] .upd-title { font-family: var(--f-display); font-style: italic; font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
.upd-item[data-type="trib"] .upd-court { background: var(--gold-pale); color: var(--gold-text); }
.topic-upd { margin: 6px 0 8px; }
.topic-upd .upd-item { grid-template-columns: 150px 1fr; }
.topic-upd .upd-meta { grid-column: 2; text-align: left; margin-top: -2px; }
@media (max-width: 760px) { .topic-upd .upd-item { grid-template-columns: 1fr; } .topic-upd .upd-meta { grid-column: auto; } }

/* ---- Smooth scrolling (Lenis, desktop only) ---- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
/* Native scrolling polish for phones */
html { overscroll-behavior-y: none; }
.upd-tabs, .ticker-viewport { overscroll-behavior-x: contain; }
