/* Yuva Rajesh & Co. — indirect tax practice. Navy and gold, Playfair Display + Inter. */
:root {
  --ink: #1F2937;
  --ink-2: #374151;
  --muted: #4B5563;
  --line: #E5E1D8;
  --paper: #FAF8F4;
  --card: #FFFFFF;
  --navy: #0F1B2D;
  --navy-2: #16253B;
  --accent: #8A6A2E;
  --accent-ink: #6E5220;
  --accent-soft: #F5EDDD;
  --gold: #B8924A;
  --gold-light: #D9B97A;
  --on-dark: #F1F5F9;
  --on-dark-2: #CBD5E1;
  --gst: #2459a6;
  --customs: #127a6f;
  --ftp: #6b4fa6;
  --sez: #b5475b;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(19, 33, 58, .06), 0 8px 24px rgba(19, 33, 58, .06);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { font-family: var(--sans); font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--ink); }
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }

.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.lede { font-size: 18px; color: var(--ink-2); }
.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 4px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 28px; }
.chips li { font-size: 13.5px; color: var(--ink-2); border: 1px solid var(--line); background: var(--card); padding: 5px 12px; border-radius: 4px; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(15, 27, 45, .97); border-bottom: 1px solid rgba(217, 185, 122, .25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { width: 40px; height: 40px; border-radius: 4px; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 16px; letter-spacing: .02em; flex: none; }
.brand b { font-family: var(--serif); font-size: 21px; font-weight: 700; display: block; line-height: 1.1; color: var(--on-dark); }
.brand small { font-size: 12px; color: var(--gold-light); letter-spacing: .08em; text-transform: uppercase; }
.links { display: flex; align-items: center; gap: 22px; list-style: none; }
.links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--on-dark); }
.links a:hover, .links a[aria-current] { color: var(--gold-light); }
.links .portal { border: 1px solid var(--gold-light); padding: 7px 14px; border-radius: 4px; }
.menu-btn { display: none; background: none; border: 1px solid rgba(217, 185, 122, .5); border-radius: 4px; padding: 7px 12px; font: 600 14px var(--sans); color: var(--on-dark); cursor: pointer; }

/* Hero */
.hero { padding: 80px 0 88px; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--on-dark); }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: #fff; }
.hero .btn-ghost { border-color: var(--on-dark-2); color: var(--on-dark); }
.hero .btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); background: transparent; }
.hero .chips li { background: rgba(255, 255, 255, .05); border-color: rgba(217, 185, 122, .3); color: var(--on-dark-2); }
.tagline { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(217, 185, 122, .3); font-family: var(--serif); font-size: 20px; color: var(--gold-light); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.hero h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 22px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero p.intro { font-size: 19px; color: var(--on-dark-2); margin-bottom: 30px; max-width: 600px; }
.side { display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; color: var(--ink); }
.card-gold { border-top: 3px solid var(--gold); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.card-head .eyebrow { margin: 0; }
.mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 12.5px; color: var(--muted); }

/* Compliance brief + calendar list items */
.brief { list-style: none; }
.brief li { display: grid; grid-template-columns: 10px 58px 1fr; gap: 10px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.brief li:last-child { border-bottom: 0; }
.cb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-top: 8px; }
[data-law="gst"] .cb-dot { background: var(--gst); }
[data-law="customs"] .cb-dot { background: var(--customs); }
[data-law="ftp"] .cb-dot { background: var(--ftp); }
[data-law="sez"] .cb-dot { background: var(--sez); }
.cb-date { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--ink-2); padding-top: 2px; white-space: nowrap; }
.cb-title { font-size: 15px; font-weight: 500; line-height: 1.4; }
.cb-title small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--accent-ink); }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

.founder { display: flex; gap: 14px; align-items: center; }
.founder .mark { width: 52px; height: 52px; font-size: 20px; }
.founder b { font-family: var(--serif); font-size: 18px; font-weight: 600; display: block; }
.founder span { font-size: 14px; color: var(--muted); }
.yt-card { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.yt-ico { width: 44px; height: 44px; border-radius: 10px; background: #fdecec; display: grid; place-items: center; flex: none; }
.yt-card b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.yt-card span { font-size: 14px; color: var(--muted); }

/* Facts strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); padding: 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 20px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--navy); }
.fact span { font-size: 14px; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.about p { color: var(--ink-2); margin-bottom: 14px; }
.kv { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kv li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.kv b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.kv span { font-size: 14px; color: var(--muted); }

/* Practice areas */
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.area { position: relative; padding: 28px; }
.area::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.area[data-law="gst"]::before { background: var(--gst); }
.area[data-law="customs"]::before { background: var(--customs); }
.area[data-law="ftp"]::before { background: var(--ftp); }
.area[data-law="sez"]::before { background: var(--sez); }
.area .tag { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.area h3 { font-size: 23px; margin: 4px 0 8px; }
.area > p { color: var(--ink-2); margin-bottom: 12px; }
.ticks { list-style: none; }
.ticks li { position: relative; padding-left: 22px; margin: 6px 0; font-size: 15.5px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.also { margin-top: 24px; color: var(--muted); font-size: 15.5px; }

/* Specialisation grid */
.spec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.spec h3 { font-size: 17.5px; margin-bottom: 6px; }
.spec p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* Notice to Tribunal */
.lit { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: lit; }
.lit li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; display: flex; flex-direction: column; position: relative; }
.lit-ico { width: 40px; height: 40px; border-radius: 4px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 14px; }
.lit-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lit-no { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--muted); }
.lit h3 { font-size: 18px; margin: 2px 0 8px; }
.lit p { font-size: 14px; color: var(--ink-2); line-height: 1.5; flex: 1; }
.lit .forms { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--accent-ink); margin-top: 10px; }
.lit-forum { margin-top: 12px; align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--paper); border: 1px solid var(--line); padding: 3px 8px; border-radius: 4px; color: var(--ink-2); }
.lit li:last-child { background: var(--navy); border-color: var(--navy); }
.lit li:last-child h3, .lit li:last-child p { color: #fff; }
.lit li:last-child .lit-no, .lit li:last-child .forms { color: var(--gold-light); }
.lit li:last-child .lit-ico { background: rgba(255, 255, 255, .1); }
.lit li:last-child .lit-ico svg { stroke: var(--gold-light); }
.lit li:last-child .lit-forum { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: var(--gold-light); }
.lit-axis { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 10px; position: relative; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lit-axis::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--line), var(--gold), var(--navy)); }
.parallel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.parallel .card { box-shadow: none; }
.parallel h3 { font-size: 18px; margin-bottom: 6px; }
.parallel p { font-size: 15px; color: var(--ink-2); }
.path { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--accent-ink); margin-top: 8px; line-height: 1.7; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; list-style: none; }
.steps li { border-top: 2px solid var(--gold); padding-top: 16px; }
.steps li::before { counter-increment: s; content: "0" counter(s); font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--muted); }
.steps h3 { font-size: 20px; margin: 4px 0 6px; }
.steps p { color: var(--ink-2); font-size: 15.5px; }

/* Tools band */
.band { background: var(--navy); color: #e8edf5; border-radius: 6px; border: 1px solid rgba(217, 185, 122, .25); padding: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.band h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); margin-bottom: 10px; }
.band .eyebrow { color: var(--gold-light); }
.band p { color: #c7d0de; }
.band-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.band-stats div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 16px; }
.band-stats b { display: block; font-family: var(--serif); font-size: 30px; color: #fff; font-weight: 600; }
.band-stats span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #c7d0de; }

/* Insights */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { text-decoration: none; display: flex; flex-direction: column; }
.post .tag { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 12px; }
.post h3 { font-size: 20px; margin-bottom: 8px; }
.post p { font-size: 15px; color: var(--ink-2); flex: 1; }
.post .more { margin-top: 14px; }
.post:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; }
.contact dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 28px; }
.contact dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact dd { font-size: 15.5px; }
.contact dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact dd a:hover { border-color: var(--accent); }
.contact .wide { grid-column: 1 / -1; }
form.enquiry { padding: 30px; }
form.enquiry h3 { font-size: 22px; margin-bottom: 6px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
input, select, textarea { width: 100%; padding: 11px 13px; font: inherit; font-size: 15.5px; color: var(--ink); border: 1px solid #cfd5df; border-radius: 4px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
form.enquiry .btn { margin-top: 20px; width: 100%; justify-content: center; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

/* Footer */
footer.site { background: #0A1320; color: #c7d0de; padding: 56px 0 32px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 10px; font-weight: 600; }
.foot ul { list-style: none; }
.foot li { margin: 5px 0; }
.foot a { text-decoration: none; color: #e8edf5; }
.foot a:hover { color: var(--gold-light); }
.foot .brand b { color: #fff; }
.foot .brand small { color: #9aa7bb; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: #9aa7bb; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal a { color: #c7d0de; }

/* Disclaimer */
.disc { position: fixed; inset: 0; z-index: 200; background: rgba(19, 33, 58, .55); display: none; place-items: center; padding: 16px; }
.disc.show { display: grid; }
.disc-box { background: #fff; border-radius: 6px; border-top: 3px solid var(--gold); max-width: 520px; padding: 28px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); max-height: 90vh; overflow: auto; }
.disc-box h2 { font-size: 24px; margin-bottom: 12px; }
.disc-box p, .disc-box li { font-size: 15px; color: var(--ink-2); }
.disc-box ul { margin: 10px 0 14px 20px; }
.disc-box li { margin: 4px 0; }
.disc-box .btns { justify-content: flex-end; margin-top: 18px; }

/* Calendar page */
.page-hero { padding: 56px 0 32px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 46px); margin-bottom: 14px; }
.months { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.months button { flex: none; border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 8px 12px; font: 500 14px var(--sans); color: var(--ink-2); cursor: pointer; text-align: center; min-width: 74px; }
.months button small { display: block; font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--muted); }
.months button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.months button.active small { color: var(--gold-light); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; }
.pills button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; font: 500 14px var(--sans); color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.pills button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pills .cb-dot { margin: 0; }
.cal-month-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.cal-month-head h2 { font-size: 26px; }
.cal-month-head span { color: var(--muted); font-size: 14.5px; }
.cal-list { list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cal-list li { display: grid; grid-template-columns: 10px 64px 1fr auto 96px; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.cal-list li:last-child { border-bottom: 0; }
.cal-list li[data-soon] { background: #fffaf0; }
.cal-list .cb-dot { margin: 0; }
.cal-what strong { font-weight: 600; font-size: 15.5px; display: block; }
.cal-what small { color: var(--muted); font-size: 13.5px; }
.cal-law { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.cal-left { font-size: 13.5px; color: var(--muted); text-align: right; white-space: nowrap; }
li[data-soon] .cal-left { color: var(--accent-ink); font-weight: 600; }
.cal-note { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 900px; }

/* Tracker */
.notes { display: grid; gap: 10px; margin-bottom: 28px; }
.note { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 10px; padding: 12px 16px; font-size: 15px; color: var(--ink-2); }
.note b { color: var(--ink); }
.tstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.tstats div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.tstats b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 600; }
.tstats span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tfilters { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; }
.tfilters > div { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tfilters > div > span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.tfilters button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 4px 12px; font: 500 13.5px var(--sans); color: var(--ink-2); cursor: pointer; }
.tfilters button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tgroup { margin-top: 28px; }
.tgroup-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.tgroup-head h3 { font-size: 22px; }
.tgroup-head small { font-family: ui-monospace, Consolas, monospace; color: var(--muted); }
.tgroup > p { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.trow { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.trow summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; }
.trow summary::-webkit-details-marker { display: none; }
.trow summary strong { font-weight: 600; font-size: 15.5px; }
.trow summary small { display: block; color: var(--muted); font-size: 13.5px; }
.crit { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: #a23a3a; background: #fbecec; padding: 2px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }
.freq { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.trow[open] summary { border-bottom: 1px solid var(--line); }
.tbody { padding: 12px 16px 16px; display: grid; grid-template-columns: 140px 1fr; gap: 6px 16px; font-size: 14.5px; }
.tbody dt { color: var(--muted); font-weight: 600; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.tbody dd { color: var(--ink-2); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1080px) {
  .lit { grid-template-columns: repeat(3, 1fr); }
  .spec { grid-template-columns: repeat(2, 1fr); }
  .links { gap: 16px; }
}
@media (max-width: 960px) {
  .hero-grid, .about, .contact, .band { grid-template-columns: 1fr; gap: 36px; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .posts, .steps { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: block; }
  .links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border-bottom: 1px solid rgba(217, 185, 122, .25); padding: 8px 24px 18px; }
  .links.open { display: flex; }
  .links a { display: block; padding: 11px 0; font-size: 16px; }
  .links .portal { text-align: center; margin-top: 8px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding: 44px 0 56px; }
  .areas, .lit, .spec, .posts, .steps, .parallel, .row, .kv, .band-stats, .foot { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: 1fr; }
  .fact { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .band { padding: 28px 22px; }
  .contact dl { grid-template-columns: 1fr; }
  form.enquiry { padding: 22px; }
  .cal-list li { grid-template-columns: 10px 56px 1fr; padding: 12px 14px; }
  .cal-law, .cal-left { grid-column: 3; justify-self: start; text-align: left; }
  .tstats { grid-template-columns: 1fr 1fr; }
  .tbody { grid-template-columns: 1fr; }
  .tbody dd { margin-bottom: 6px; }
}

/* Clickable litigation stages (home page) */
.lit li { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.lit li:hover, .lit li:focus-within { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.lit-link { text-decoration: none; color: inherit; }
.lit-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.lit-link:focus-visible { outline: none; }
.lit li:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.lit-go { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.lit li:last-child .lit-go { color: var(--gold-light); }
.track-note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.track-note a { font-weight: 600; color: var(--accent-ink); text-decoration: none; margin-right: 8px; }
.track-note a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Articles index */
.series { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; }
.series a { display: block; height: 100%; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; transition: border-color .2s, transform .2s; }
.series a:hover { border-color: var(--gold); transform: translateY(-2px); }
.series b { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--accent-ink); font-weight: 600; }
.series h3 { font-size: 19px; margin: 2px 0 6px; }
.series p { font-size: 14.5px; color: var(--muted); }
.series-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.series-head h2 { font-size: 26px; }

/* Article page */
.article { padding: 48px 0 80px; }
.article-wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-ink); text-decoration: underline; }
.article h1 { font-size: clamp(30px, 4.4vw, 42px); margin-bottom: 12px; }
.meta { font-size: 14px; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.stage-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 32px; }
.stage-strip a { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; font-size: 12.5px; line-height: 1.3; color: var(--ink-2); transition: border-color .2s; }
.stage-strip a:hover { border-color: var(--gold); }
.stage-strip b { display: block; font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--accent-ink); }
.stage-strip a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.stage-strip a.on b { color: var(--gold-light); }
.article-body { font-size: 17px; }
.article-body > * + * { margin-top: 16px; }
.article-body .lede { font-size: 19px; color: var(--ink-2); }
.article-body h2 { font-size: 25px; margin-top: 36px; }
.article-body h3 { font-size: 20px; margin-top: 24px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin: 6px 0; }
.article-body a { color: var(--accent-ink); text-underline-offset: 3px; }
.callout { background: var(--accent-soft); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; font-size: 16px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.article-body th, .article-body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.article-body th { background: var(--paper); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.article-body tr:last-child td { border-bottom: 0; }
.article-body .fine { font-size: 14px; color: var(--muted); }
.stage-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.stage-nav a { text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-weight: 600; transition: border-color .2s; }
.stage-nav a:hover { border-color: var(--gold); }
.stage-nav small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.stage-nav .next { text-align: right; grid-column: 2; }
.related { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.related h2 { font-size: 22px; margin-bottom: 14px; }

@media (max-width: 960px) { .series { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .series { grid-template-columns: 1fr; }
  .stage-strip { grid-template-columns: repeat(3, 1fr); }
  .article-wrap { padding: 0 16px; }
  .article-body { font-size: 16.5px; }
}
