/* Layout: navy band frames the hero and contact; white and mist-blue sections carry the working content.
   Signature motif: the accountant's double rule in gold under totals, eyebrows and the hero headline.
   The site always opens light; the moon button sets data-scheme="dark" for visitors who want it. */
/* Soft light: porcelain grey-blue page and off-white cards. No pure white or pure black anywhere, to keep glare down. */
:root {
  --page: #EEF2F7;
  --mist: #E6EBF2;
  --surface: #F9FAFC;
  --surface-2: #E4EAF2;
  --ink: #1A2638;
  --muted: #56637A;
  --line: #D5DDE8;
  --line-strong: #BCC8D8;
  --link: #1E4E8C;
  --royal: #1E4E8C;
  --royal-ink: #F7F9FC;
  --royal-hover: #183F72;
  --band: #0E2A47;
  --band-2: #0A1F36;
  --band-line: #274466;
  --on-band: #EDF1F7;
  --on-band-muted: #AEBFD4;
  --glow-1: rgba(46, 104, 178, .5);
  --glow-2: rgba(212, 176, 98, .14);
  --gold: #C9A24B;
  --gold-text: #7F5F1C;
  --gold-on-band: #D9B868;
  --on-gold: #0E2A47;
  --gold-soft: #F4EEDF;
  --urgent: #A8321F;
  --urgent-bg: #F6E2DF;
  --soon: #855800;
  --soon-bg: #F5EAD0;
  --ok: #12805C;
  --ok-on-band: #6FD3A8;
  --c-gst: #1D67AB;
  --c-it: #7F5F1C;
  --c-tds: #634A96;
  --c-roc: #0C7264;
  --c-payroll: #A84D27;
  --focus: #C9A24B;
  --scrim: rgba(8, 20, 38, .55);
  --shadow-sm: 0 1px 2px rgba(15, 30, 51, .05);
  --shadow: 0 1px 2px rgba(15, 30, 51, .04), 0 14px 32px -18px rgba(15, 30, 51, .22);
  --shadow-lg: 0 30px 60px -30px rgba(6, 18, 36, .5);

  --f-display: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  --f-italic: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-label: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --radius: 16px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  color-scheme: light;
}
/* Dark: deep navy, never pure black; text is soft white so it doesn't glare. */
:root[data-scheme="dark"] {
  --page: #0A1424; --mist: #0D192D; --surface: #10203A; --surface-2: #162A48;
  --ink: #E3E9F2; --muted: #9AA9BF; --line: #1F3354; --line-strong: #2E4870;
  --link: #93B6E6; --royal: #E2C27A; --royal-ink: #0E2A47; --royal-hover: #EBCF8E;
  --band: #0B1C33; --band-2: #071326; --band-line: #22395D; --on-band: #E6ECF5; --on-band-muted: #9DB0CB;
  --glow-1: rgba(46, 104, 178, .35); --glow-2: rgba(212, 176, 98, .1);
  --gold: #D9B868; --gold-text: #E2C27A; --gold-on-band: #E2C27A; --on-gold: #0E2A47; --gold-soft: #1C2636;
  --urgent: #F29A8B; --urgent-bg: #3A1D1D; --soon: #EEC266; --soon-bg: #352B14; --ok: #6FD3A8; --ok-on-band: #6FD3A8;
  --c-gst: #82B8EC; --c-it: #E2C27A; --c-tds: #BBA5E6; --c-roc: #66CFBF; --c-payroll: #EFA484;
  --focus: #E2C27A; --scrim: rgba(0, 0, 0, .6);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 60px -30px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--link); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--royal); color: var(--royal-ink); padding: .6rem 1rem; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* ---------- Type ---------- */
.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.1rem; font-family: var(--f-label); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow::before { content: ""; width: 28px; height: 5px; border-block: 1.5px solid var(--gold); flex: none; }
.eyebrow.on-band { color: var(--gold-on-band); }
.eyebrow.on-band::before { border-color: var(--gold-on-band); }
.h2 { font-family: var(--f-display); font-size: clamp(2rem, 1.35rem + 2.5vw, 3.15rem); line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
.h2 em { font-family: var(--f-italic); font-style: italic; color: var(--royal); }
.contact .h2 { color: var(--on-band); }
.contact .h2 em { color: var(--gold-on-band); }
.kicker { font-family: var(--f-label); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mini-h { font-family: var(--f-label); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.help { font-family: var(--f-label); font-size: .74rem; color: var(--muted); margin-top: .4rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .8rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem 1.45rem; border-radius: 999px; border: 1px solid transparent; font: 500 .95rem/1.1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s ease, background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { transition: transform .2s; }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-sm { padding: .7rem 1.1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--royal); color: var(--royal-ink); box-shadow: 0 8px 20px -10px var(--royal); }
.btn-primary:hover { background: var(--royal-hover); }
.btn-brass { background: var(--gold-on-band); color: var(--on-gold); box-shadow: 0 10px 24px -12px var(--gold); }
.btn-brass:hover { box-shadow: 0 14px 28px -12px var(--gold); }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); background: var(--surface); }
.btn-ghost:hover { border-color: var(--royal); color: var(--royal); }
.btn-ghost-band { color: var(--on-band); border-color: var(--band-line); background: transparent; }
.btn-ghost-band:hover { border-color: var(--gold-on-band); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--link); font-weight: 500; text-decoration: none; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-btn { background: none; border: 0; padding: 0; color: var(--link); text-decoration: underline; cursor: pointer; font-size: .9rem; }

/* ---------- Progress + header ---------- */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-on-band)); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--band); color: var(--on-band); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--band-line); box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .6); }
.nav { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; margin-right: auto; min-width: 0; }
/* CA India logo, used as ICAI publishes it: unchanged, on its white background, original proportions */
.ca-logo { flex: none; display: block; height: 44px; width: auto; padding: 3px 4px; background: #fff; border-radius: 8px; }
.brand-name { display: block; font-family: var(--f-display); font-size: 1.28rem; line-height: 1; white-space: nowrap; }
.brand-sub { display: block; margin-top: .35rem; font-family: var(--f-label); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-on-band); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; color: var(--on-band-muted); text-decoration: none; font-size: .92rem; padding: .4rem 0; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--on-band); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 4px; border-block: 1px solid var(--gold-on-band); }
.nav-tools { display: flex; align-items: center; gap: .5rem; }
.icon-btn { width: 40px; height: 40px; flex: none; border-radius: 999px; display: grid; place-items: center; background: transparent; border: 1px solid var(--band-line); color: var(--on-band); cursor: pointer; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--gold-on-band); }
.search-btn { display: flex; align-items: center; gap: .55rem; height: 40px; padding: 0 .7rem 0 .85rem; border-radius: 999px; border: 1px solid var(--band-line); background: transparent; color: var(--on-band-muted); font-size: .85rem; cursor: pointer; }
.search-btn:hover { border-color: var(--gold-on-band); color: var(--on-band); }
kbd { font-family: var(--f-label); font-size: .68rem; border: 1px solid currentColor; border-radius: 5px; padding: .08rem .35rem; opacity: .8; }
.theme-btn .i-sun { display: none; }
.theme-btn.is-dark .i-sun { display: block; }
.theme-btn.is-dark .i-moon { display: none; }
.menu-btn { display: none; }
.mobile-nav { border-top: 1px solid var(--band-line); background: var(--band); }
.mobile-nav ul { list-style: none; margin: 0; padding: .5rem 0 0; }
.mobile-nav li a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--band-line); color: var(--on-band); text-decoration: none; font-family: var(--f-display); font-size: 1.45rem; }
.mobile-actions { display: flex; flex-wrap: wrap; gap: .75rem; padding-block: 1.25rem 1.5rem; }
@media (max-width: 1180px) { .nav-links { display: none; } .menu-btn { display: grid; } }
@media (max-width: 640px) {
  .nav-cta, .nav-tools .theme-btn, .search-btn kbd { display: none; }
  .search-btn { width: 40px; padding: 0; justify-content: center; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub { margin-top: .25rem; font-size: .55rem; }
  .site-header .ca-logo { height: 38px; padding: 2px 3px; border-radius: 7px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-band); padding-block: clamp(3rem, 6vw, 5.5rem) clamp(6.5rem, 10vw, 8.5rem);
  background: radial-gradient(900px 480px at 88% 0%, var(--glow-1), transparent 65%), radial-gradient(700px 420px at 0% 100%, var(--glow-2), transparent 65%), var(--band); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(to right, var(--band-line) 1px, transparent 1px), linear-gradient(to bottom, var(--band-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 35%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 60% 70% at 78% 35%, #000 0%, transparent 72%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero-title { font-family: var(--f-display); font-size: clamp(2.5rem, 1.4rem + 4.3vw, 4.7rem); line-height: 1.03; letter-spacing: -.015em; margin-bottom: 1.6rem; }
/* The hero text shows at once (no fade-in), so a slow phone never shows an empty screen; only the cards on the right animate */
.hero-title .line { display: block; }
.hero-title em { font-family: var(--f-italic); font-style: italic; font-size: .84em; color: var(--gold-on-band); }
.dbl { background-image: linear-gradient(var(--gold-on-band), var(--gold-on-band)), linear-gradient(var(--gold-on-band), var(--gold-on-band)); background-repeat: no-repeat; background-size: 100% 2px, 100% 2px; background-position: 0 calc(100% - 7px), 0 100%; padding-bottom: .12em; animation: rule 1.1s .7s cubic-bezier(.6, 0, .2, 1) both; }
.hero .lede { color: var(--on-band-muted); margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.25rem 2.75rem; margin: 2.75rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--band-line); }
.hero-facts dt { font-family: var(--f-label); font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-on-band); }
.hero-facts dd { margin: .35rem 0 0; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: .45rem; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status.open::before { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.hero .status.open::before, .contact .status.open::before { background: var(--ok-on-band); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rule { from { background-size: 0 2px, 0 2px; } to { background-size: 100% 2px, 100% 2px; } }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.hero-aside { position: relative; }
.ledger-card { position: relative; background: var(--surface); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.5rem 1.5rem 1.2rem; border-top: 4px solid var(--gold); animation: rise 1s .3s both; }
.ledger-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.ledger-title { font-family: var(--f-display); font-size: 1.7rem; line-height: 1.1; margin-top: .3rem; color: var(--ink); }
.ledger-today { font-family: var(--f-label); font-size: .76rem; color: var(--muted); }
.rule-dbl { height: 5px; border-block: 1px solid var(--gold); margin: 1rem 0 .25rem; }
.due-list { list-style: none; margin: 0; padding: 0; }
.due-row { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .75rem 0; border-bottom: 1px dashed var(--line); animation: rise .6s both; animation-delay: calc(.55s + var(--i, 0) * .09s); }
.due-date { display: grid; justify-items: center; padding: .35rem 0; border-radius: 10px; background: var(--surface-2); font-family: var(--f-label); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.due-date b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.05; color: var(--royal); letter-spacing: 0; }
.due-title { display: block; font-weight: 500; font-size: .95rem; line-height: 1.3; }
.due-meta { display: block; font-size: .8rem; color: var(--muted); }
.chip-days { font-family: var(--f-label); font-size: .7rem; font-weight: 500; padding: .3rem .6rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.chip-days.urgent { background: var(--urgent-bg); color: var(--urgent); }
.chip-days.soon { background: var(--soon-bg); color: var(--soon); }
.ledger-foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem 1rem; flex-wrap: wrap; padding-top: 1rem; font-size: .88rem; }
.live { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--f-label); font-size: .7rem; color: var(--muted); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero-badge { position: absolute; left: -28px; bottom: -30px; display: flex; align-items: center; gap: .8rem; padding: .7rem 1.2rem .7rem .7rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); animation: rise 1s .95s both; }
.hero-badge strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; line-height: 1.15; }
.hero-badge span { display: block; font-size: .78rem; color: var(--muted); }
/* CA Sriram's photo, in a circle with a thin gold ring */
.portrait { flex: none; display: block; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--gold); }
@media (max-width: 960px) { .hero-badge { position: relative; left: auto; bottom: auto; margin-top: 1rem; display: inline-flex; } }

/* Trust strip */
.trust { position: relative; z-index: 2; margin-top: -3.75rem; }
.trust-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.trust-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .9rem; align-items: start; padding: 1.4rem 1.4rem; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .ti { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--royal); }
.trust-item h3 { font-family: var(--f-body); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.trust-item p { font-size: .86rem; color: var(--muted); margin-top: .2rem; }
@media (max-width: 960px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust-item:nth-child(3) { border-left: 0; } .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section.alt { background: var(--mist); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.25rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head > p { color: var(--muted); max-width: 34rem; }
@media (max-width: 860px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* Who we help */
.finder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.finder-tabs { display: grid; gap: .4rem; }
.finder-tab { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: .8rem; align-items: center; width: 100%; padding: .7rem .9rem .7rem .7rem; background: transparent; border: 1px solid transparent; border-radius: 14px; cursor: pointer; text-align: left; font-size: .98rem; font-weight: 500; color: var(--muted); transition: background-color .2s, color .2s, border-color .2s; }
.finder-tab .ft-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--royal); transition: background-color .2s, color .2s; }
.finder-tab > svg { opacity: 0; color: var(--gold-on-band); transition: opacity .2s, transform .25s; transform: translateX(-6px); }
.finder-tab:hover { color: var(--ink); background: var(--surface-2); }
.finder-tab[aria-selected="true"] { background: var(--band); color: var(--on-band); box-shadow: var(--shadow); }
.finder-tab[aria-selected="true"] .ft-icon { background: var(--band-line); color: var(--gold-on-band); }
.finder-tab[aria-selected="true"] > svg { opacity: 1; transform: none; }
.finder-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; box-shadow: var(--shadow); }
.panel-intro, .panel-dates, .panel-foot { grid-column: 1 / -1; }
.panel-intro .kicker { color: var(--gold-text); }
.panel-intro h3 { font-family: var(--f-display); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); line-height: 1.25; margin-top: .5rem; max-width: 40rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: .65rem; align-items: start; font-size: .97rem; }
.ticks svg { color: var(--gold); margin-top: .25rem; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.docs label { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: .65rem; align-items: start; cursor: pointer; font-size: .97rem; }
.docs input { width: 16px; height: 16px; margin: .25rem 0 0; accent-color: var(--royal); }
.docs input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--gold); }
.docs-count { margin-top: .75rem; font-family: var(--f-label); font-size: .74rem; color: var(--muted); }
.mini-dates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.mini-dates li { display: grid; gap: .35rem; align-content: start; justify-items: start; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); }
.md-date { font-family: var(--f-display); font-size: 1.35rem; line-height: 1; color: var(--royal); }
.md-title { font-size: .88rem; line-height: 1.35; }
.panel-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.panel-foot p { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) {
  .finder { grid-template-columns: minmax(0, 1fr); }
  .finder-tabs { display: flex; overflow-x: auto; gap: .5rem; padding-bottom: .4rem; scrollbar-width: none; }
  .finder-tabs::-webkit-scrollbar { display: none; }
  .finder-tab { width: auto; flex: none; grid-template-columns: 30px auto; padding: .45rem .9rem .45rem .45rem; border: 1px solid var(--line-strong); border-radius: 999px; white-space: nowrap; font-size: .9rem; }
  .finder-tab .ft-icon { width: 30px; height: 30px; border-radius: 50%; }
  .finder-tab > svg { display: none; }
}
@media (max-width: 640px) {
  .finder-panel { grid-template-columns: minmax(0, 1fr); }
  .mini-dates { grid-template-columns: minmax(0, 1fr); }
  .mini-dates li { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; }
}

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s, border-color .25s; }
.svc:hover, .svc[open] { box-shadow: var(--shadow); border-color: var(--line-strong); }
.svc:hover { transform: translateY(-3px); }
.svc summary { list-style: none; cursor: pointer; display: grid; gap: .8rem; padding: 1.6rem 1.6rem 1.4rem; border-radius: var(--radius); }
.svc summary::-webkit-details-marker { display: none; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, var(--band), var(--band-2)); color: var(--gold-on-band); box-shadow: 0 10px 20px -12px var(--band); }
.svc-toggle { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--muted); transition: transform .3s, background-color .2s, color .2s, border-color .2s; }
.svc[open] .svc-toggle { transform: rotate(45deg); background: var(--royal); color: var(--royal-ink); border-color: var(--royal); }
.svc-title { font-family: var(--f-display); font-size: 1.55rem; line-height: 1.15; color: var(--ink); }
.svc-text { font-size: .94rem; color: var(--muted); }
.svc-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.svc-tags span { font-family: var(--f-label); font-size: .66rem; letter-spacing: .04em; padding: .22rem .55rem; border-radius: 999px; background: var(--surface-2); color: var(--royal); }
.svc-body { margin: 0 1.6rem; padding: 1.1rem 0 1.5rem; border-top: 1px dashed var(--line-strong); display: grid; gap: 1rem; animation: rise .35s both; }
.svc-body .ticks li { font-size: .93rem; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services { grid-template-columns: minmax(0, 1fr); } }

/* Tools */
.tool-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--surface-2); border-radius: 999px; margin-bottom: 1.5rem; max-width: 100%; overflow-x: auto; }
.tool-tabs button { flex: none; padding: .65rem 1.2rem; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: .92rem; font-weight: 500; color: var(--muted); }
.tool-tabs button[aria-selected="true"] { background: var(--surface); color: var(--royal); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.tool { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.tool-inputs { display: grid; gap: 1.15rem; align-content: start; }
.tool-title h3 { font-family: var(--f-display); font-size: 1.7rem; line-height: 1.15; }
.field { display: grid; gap: .4rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field > .label, .field > legend { font-size: .88rem; font-weight: 500; padding: 0; }
.input { width: 100%; padding: .8rem .95rem; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--royal) 18%, transparent); }
.input[aria-invalid="true"] { border-color: var(--urgent); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
textarea.input { resize: vertical; min-height: 5.5rem; }
.money { position: relative; }
.money > span { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.money .input { padding-left: 2rem; font-family: var(--f-label); font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 4px; background: var(--surface-2); border-radius: 999px; justify-self: start; max-width: 100%; }
.seg button, .seg label { padding: .5rem .95rem; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: .86rem; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--royal); color: var(--royal-ink); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { position: relative; }
.seg label:has(input:checked) { background: var(--royal); color: var(--royal-ink); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.rate-chips { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.rate-chips button { padding: .55rem .95rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-family: var(--f-label); font-size: .88rem; }
.rate-chips button[aria-pressed="true"] { background: var(--royal); color: var(--royal-ink); border-color: var(--royal); }
.rate-custom .input { width: 7.5rem; padding: .55rem .8rem; border-radius: 999px; font-family: var(--f-label); font-size: .88rem; }
.tool-out { min-width: 0; display: grid; gap: 1.1rem; align-content: start; }
.verdict-card { display: grid; gap: .8rem; padding: 1.3rem 1.4rem; border-radius: 14px; color: var(--on-band); background: radial-gradient(400px 200px at 100% 0%, var(--glow-1), transparent 70%), var(--band); }
.verdict { font-family: var(--f-display); font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); line-height: 1.2; }
.verdict .amt { white-space: nowrap; color: var(--gold-on-band); border-bottom: 3px double var(--gold-on-band); }
.insight { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: .6rem; font-size: .92rem; color: var(--on-band-muted); }
.insight svg { color: var(--gold-on-band); margin-top: .2rem; }
.bars { display: grid; gap: .55rem; }
.bar { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; font-size: .82rem; color: var(--on-band-muted); }
.bar .track { height: 10px; border-radius: 99px; background: var(--band-line); overflow: hidden; }
.bar .track i { display: block; height: 100%; border-radius: 99px; background: var(--on-band-muted); transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.bar.win .track i { background: var(--gold-on-band); }
.bar b { font-family: var(--f-label); font-weight: 500; color: var(--on-band); font-variant-numeric: tabular-nums; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.regime { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem; background: var(--surface); }
.regime.win { border-color: var(--gold); background: var(--gold-soft); }
.regime h4 { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .8rem; font-family: var(--f-label); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.win-tag { display: inline-flex; align-items: center; gap: .3rem; color: var(--gold-text); }
.rows { display: grid; gap: .42rem; font-size: .86rem; }
.row { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }
.row > span:last-child { font-family: var(--f-label); font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.row.na > span:last-child { color: var(--muted); }
.row.sub { padding-top: .42rem; border-top: 1px solid var(--line); }
.row.total { margin-top: .3rem; padding-top: .6rem; border-top: 1px solid var(--line-strong); color: var(--ink); font-weight: 600; align-items: baseline; }
.row.total > span:last-child { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; color: var(--royal); border-bottom: 3px double var(--gold); }
.eff { margin-top: .7rem; font-family: var(--f-label); font-size: .72rem; color: var(--muted); }
.gst-hero { padding: 1.3rem 1.4rem; border-radius: 14px; color: var(--on-band); background: radial-gradient(400px 200px at 100% 0%, var(--glow-1), transparent 70%), var(--band); }
.gst-hero .kicker { color: var(--gold-on-band); }
.gst-hero .big { font-family: var(--f-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); line-height: 1.1; margin-top: .35rem; overflow-wrap: anywhere; }
.ledger-rows { padding-top: .4rem; font-size: .95rem; }
.split { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--surface-2); }
.split i:first-child { background: var(--royal); opacity: .35; }
.split i:last-child { background: var(--gold); }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-family: var(--f-label); font-size: .72rem; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: .4rem; background: var(--royal); opacity: .5; vertical-align: -1px; }
.legend span:last-child::before { background: var(--gold); opacity: 1; }
.tool-note { font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .tool { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 500px) { .compare { grid-template-columns: minmax(0, 1fr); } }

/* Calendar */
.cal-wrap { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.cal-side { display: grid; gap: 1.75rem; position: sticky; top: calc(var(--header-h) + 24px); }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.fchip { display: inline-flex; align-items: center; gap: .45rem; padding: .48rem .9rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-size: .86rem; }
.fchip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); }
.fchip[aria-pressed="true"] { background: var(--band); color: var(--on-band); border-color: var(--band); }
.remind { padding: 1.4rem; border-radius: 14px; color: var(--on-band); background: radial-gradient(300px 160px at 100% 0%, var(--glow-1), transparent 70%), var(--band); display: grid; gap: .8rem; }
.remind h3 { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.2; }
.remind p { font-size: .9rem; color: var(--on-band-muted); }
.remind .btn-primary { background: var(--gold-on-band); color: var(--on-gold); box-shadow: none; justify-self: start; }
.cal-list-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.cal-summary { font-size: .95rem; color: var(--muted); padding-bottom: .75rem; }
.cal-summary strong { color: var(--ink); font-weight: 600; }
.cal-month h3 { margin-top: 1.75rem; padding-bottom: .6rem; border-bottom: 2px solid var(--line); font-family: var(--f-label); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.cal-month:first-child h3 { margin-top: 0; }
.cal-items { list-style: none; margin: 0; padding: 0; }
.cal-item { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr) auto; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cal-day { display: grid; justify-items: center; padding: .4rem 0; border-radius: 12px; background: var(--surface-2); font-family: var(--f-display); font-size: 1.6rem; line-height: 1.05; color: var(--royal); font-variant-numeric: tabular-nums; box-shadow: inset 3px 0 0 var(--c); }
.cal-day small { display: block; font-family: var(--f-label); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cal-title { font-weight: 500; line-height: 1.35; }
.cal-note { font-size: .86rem; color: var(--muted); }
.cal-right { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.cat-tag { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--f-label); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--c); white-space: nowrap; }
.cat-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.empty { padding: 2rem 0; color: var(--muted); }
.cal-disclaimer { margin-top: 1.25rem; font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .cal-wrap { grid-template-columns: minmax(0, 1fr); } .cal-side { position: static; } }
@media (max-width: 520px) {
  .cal-item { grid-template-columns: 3.2rem minmax(0, 1fr); gap: .25rem .9rem; }
  .cal-right { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: .4rem .75rem; }
}

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; position: relative; }
.step { position: relative; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-n { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 .8rem; border-radius: 999px; background: var(--band); color: var(--gold-on-band); font-family: var(--f-label); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.step h3 { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.2; margin: 1rem 0 .5rem; }
.step p { color: var(--muted); font-size: .95rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 2.4rem; right: -1.25rem; width: 1.25rem; height: 5px; border-block: 1px solid var(--gold); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* About */
.firm-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.firm-copy { display: grid; gap: 1.25rem; }
.firm-copy > p { color: var(--muted); max-width: 38rem; font-size: 1.05rem; }
.seal-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: center; padding: 1.4rem; border-radius: var(--radius); color: var(--on-band); background: radial-gradient(420px 220px at 100% 0%, var(--glow-1), transparent 70%), var(--band); box-shadow: var(--shadow); }
.seal-card .portrait { width: 96px; height: 96px; box-shadow: 0 0 0 3px var(--band), 0 0 0 4.5px var(--gold-on-band); }
.seal-card h3 { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.15; }
.seal-card .role { color: var(--gold-on-band); font-family: var(--f-label); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .25rem; }
.seal-card .focus { color: var(--on-band-muted); font-size: .92rem; margin-top: .5rem; }
.seal-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.values li { padding: 1.1rem; border-radius: 14px; background: var(--mist); border: 1px solid var(--line); }
.values h3 { font-family: var(--f-display); font-size: 1.2rem; margin-bottom: .3rem; color: var(--royal); }
.values p { font-size: .88rem; color: var(--muted); }
.particulars { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.particulars .kicker { color: var(--gold-text); }
.particulars dl { margin: 1rem 0 0; display: grid; }
.particulars dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dotted var(--line-strong); font-size: .93rem; }
.particulars dt { color: var(--muted); }
.particulars dd { margin: 0; text-align: right; font-family: var(--f-label); font-size: .86rem; overflow-wrap: anywhere; }
.particulars dd a { color: var(--link); text-decoration: none; }
.particulars dd a:hover { text-decoration: underline; }
.particulars dl > div:last-child { border-bottom: 0; }
@media (max-width: 960px) { .firm-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .values { grid-template-columns: minmax(0, 1fr); } .seal-card { grid-template-columns: minmax(0, 1fr); } }

/* Insights */
.insights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.insight-card { display: grid; gap: .8rem; align-content: start; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: left; cursor: pointer; color: inherit; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s, border-color .25s; }
.insight-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line-strong); }
.insight-card .kicker { display: flex; gap: .75rem; align-items: center; }
.insight-card .kicker span:first-child { padding: .2rem .55rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); }
.insight-card h3 { font-family: var(--f-display); font-size: 1.4rem; line-height: 1.22; transition: color .2s; }
.insight-card:hover h3 { color: var(--royal); }
.insight-card p { color: var(--muted); font-size: .94rem; }
.insight-card .link-arrow { font-size: .92rem; }
@media (max-width: 900px) { .insights { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); }
.faq-aside { display: grid; gap: 1.25rem; align-content: start; }
.faq-aside > p { color: var(--muted); }
.faq { display: grid; gap: .6rem; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 1.25rem; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem 0; font-weight: 500; font-size: 1.01rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--royal); transition: transform .3s; }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--gold-text); }
.faq-a { padding: 0 0 1.2rem; color: var(--muted); max-width: 40rem; display: grid; gap: .6rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact { color: var(--on-band); background: radial-gradient(900px 500px at 100% 0%, var(--glow-1), transparent 65%), radial-gradient(600px 400px at 0% 100%, var(--glow-2), transparent 65%), var(--band); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-info { display: grid; gap: 1.5rem; }
.contact-info .lede { color: var(--on-band-muted); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; }
.contact-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--band-line); align-items: start; }
.contact-list li:first-child { border-top: 1px solid var(--band-line); }
.contact-list li > svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--band-line); color: var(--gold-on-band); }
.cl-label { display: block; font-family: var(--f-label); font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-on-band); margin-bottom: .2rem; }
.cl-row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; }
.contact-list a { color: var(--on-band); }
.contact-list address { font-style: normal; }
.copy { padding: .2rem .6rem; border: 1px solid var(--band-line); border-radius: 999px; background: none; color: var(--on-band-muted); font-size: .74rem; cursor: pointer; }
.copy:hover { color: var(--on-band); border-color: var(--gold-on-band); }
.enquiry, .enquiry-done { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold); }
.enquiry { display: grid; gap: 1.1rem; }
.form-head h3, .enquiry-done h3 { font-family: var(--f-display); font-size: 1.7rem; line-height: 1.2; }
.form-head p { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; padding: .45rem .85rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .85rem; cursor: pointer; background: var(--surface); transition: background-color .2s, color .2s, border-color .2s; }
.chip span:hover { border-color: var(--royal); }
.chip input:checked + span { background: var(--royal); color: var(--royal-ink); border-color: var(--royal); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: .6rem; font-size: .86rem; color: var(--muted); cursor: pointer; }
.consent input { width: 16px; height: 16px; margin: .2rem 0 0; accent-color: var(--royal); }
.form-note { margin-top: -.35rem; font-size: .8rem; color: var(--muted); text-align: center; }
.form-note a { color: inherit; text-underline-offset: 2px; }
.err { color: var(--urgent); font-size: .8rem; }
.err:empty { display: none; }
.enquiry-done { display: grid; gap: 1.1rem; }
.enquiry-done:focus { outline: none; }
.msg-preview { margin: 0; padding: 1rem; border-radius: 10px; background: var(--mist); border: 1px solid var(--line); font-family: var(--f-label); font-size: .8rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 14rem; overflow: auto; }
.done-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.ref { font-family: var(--f-label); font-size: .85rem; padding: .7rem 1rem; border-radius: 10px; background: var(--mist); border: 1px dashed var(--line-strong); justify-self: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { background: var(--band-2); color: var(--on-band-muted); padding-block: clamp(3rem, 6vw, 4.5rem) calc(2rem + env(safe-area-inset-bottom, 0px)); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--band-line); }
.foot-brand { display: grid; gap: 1rem; align-content: start; }
.foot-brand .brand { color: var(--on-band); margin: 0; }
.site-footer h4 { font-family: var(--f-label); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-on-band); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--on-band-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-band); }
.disclaimer { padding-top: 1.75rem; font-size: .8rem; line-height: 1.6; max-width: 70rem; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.25rem; font-size: .8rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* Floating WhatsApp, notice, toast */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.15rem; border-radius: 999px; background: var(--gold-on-band); color: var(--on-gold); text-decoration: none; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-lg); transition: transform .2s; }
.fab:hover { transform: translateY(-2px); }
.fab-mail { position: fixed; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--band); color: var(--gold-on-band); border: 1px solid var(--band-line); box-shadow: var(--shadow-lg); transition: transform .2s; }
.fab-mail:hover { transform: translateY(-2px); }
.notice { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45; max-width: 560px; display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .84rem; line-height: 1.45; }
@media (max-width: 760px) { .notice { right: 16px; flex-direction: column; align-items: stretch; } .has-notice .fab, .has-notice .fab-mail { display: none; } }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 90; padding: .7rem 1.1rem; border-radius: 999px; background: var(--band); color: var(--on-band); font-size: .88rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); }
.toast.long { border-radius: 14px; width: max-content; max-width: min(560px, calc(100vw - 32px)); line-height: 1.5; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Dialogs */
dialog { border: 0; padding: 0; background: transparent; color: var(--ink); width: calc(100% - 32px); max-width: 640px; }
dialog::backdrop { background: var(--scrim); backdrop-filter: blur(3px); }
.cmdk { margin-top: 10vh; }
.cmdk-box, .brief-box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.cmdk-input { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.cmdk-input input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 1.05rem; color: var(--ink); }
.cmdk-list { list-style: none; margin: 0; padding: .5rem; max-height: min(55vh, 420px); overflow-y: auto; }
.cmd-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .8rem; border-radius: 10px; cursor: pointer; }
.cmd-item[aria-selected="true"] { background: var(--surface-2); }
.cmd-label { font-size: .95rem; min-width: 0; }
.cmd-group { flex: none; font-family: var(--f-label); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cmdk-foot { display: flex; gap: 1.25rem; padding: .7rem 1.1rem; border-top: 1px solid var(--line); font-family: var(--f-label); font-size: .7rem; color: var(--muted); }
.brief { max-width: 720px; margin-block: 6vh; }
.brief-box { padding: clamp(1.25rem, 4vw, 2.5rem); display: grid; gap: 1.1rem; max-height: 88vh; overflow-y: auto; border-top: 4px solid var(--gold); }
.brief-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brief-head .kicker { color: var(--gold-text); }
.brief-head .icon-btn { color: var(--ink); border-color: var(--line-strong); }
.brief h2 { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); line-height: 1.15; }
.brief-body { display: grid; gap: .9rem; color: var(--muted); }
.brief-body h3 { font-family: var(--f-body); font-weight: 600; font-size: 1rem; color: var(--royal); margin-top: .5rem; }
.brief-body ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; }
.brief-foot { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.brief-foot p { font-size: .8rem; color: var(--muted); }

/* ---------- Readability layer ----------
   Type tuned for Libre Baskerville headings and Plus Jakarta Sans text: larger small labels, roomier lines. */
body { line-height: 1.68; font-variant-numeric: tabular-nums; }
.hero-title { font-size: clamp(2.1rem, 1.1rem + 3vw, 3.3rem); line-height: 1.16; letter-spacing: -.02em; }
.hero-title em { font-size: .8em; }
.h2 { font-size: clamp(1.85rem, 1.3rem + 2.1vw, 2.8rem); line-height: 1.15; letter-spacing: -.015em; }
.lede { font-size: 1.12rem; line-height: 1.7; }
.brand-name { font-size: 1.12rem; letter-spacing: -.005em; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; }
.kicker, .mini-h { font-size: .76rem; font-weight: 600; letter-spacing: .12em; }
.help { font-size: .8rem; }
.hero-facts dt, .cl-label, .site-footer h4 { font-size: .74rem; font-weight: 600; }
.hero-facts dd { font-weight: 500; }
.chip-days, .cat-tag, .svc-tags span, .step-n, .cmd-group, .legend, .eff, .docs-count { font-size: .76rem; font-weight: 600; letter-spacing: .03em; }
.cat-tag, .step-n { letter-spacing: .08em; }
.due-date, .cal-day small { font-size: .68rem; font-weight: 600; }
.svc-title { font-size: 1.4rem; }
.svc-text, .trust-item p, .step p, .values p { line-height: 1.6; }
.finder-tab, .btn { font-weight: 600; }
.row > span:last-child, .money .input, .bar b, .particulars dd { font-family: var(--f-body); font-weight: 600; }
.row.total > span:last-child { font-family: var(--f-display); font-weight: 400; }
.msg-preview { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.ledger-title, .tool-title h3, .form-head h3, .enquiry-done h3 { font-size: 1.55rem; }
.verdict { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.3; }
.gst-hero .big { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.7rem); }
::selection { background: var(--gold); color: var(--on-gold); }

/* ---------- Motion layer ---------- */
/* Nav underline slides in from the left */
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 4px; border-block: 1px solid var(--gold-on-band); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
/* Header slims down once the page scrolls */
.nav { transition: height .3s var(--ease); }
.site-header.scrolled .nav { height: 62px; }
/* Buttons: soft press, and a gold sheen on hover */
.btn { transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s; }
.btn:active { transform: scale(.98); }
.btn-brass, .fab { position: relative; overflow: hidden; isolation: isolate; }
.btn-brass::after, .fab::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-brass:hover::after, .fab:hover::after { transform: translateX(120%); }
/* Cards lift gently and icons tilt */
.svc, .insight-card, .step, .values li { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.step:hover, .values li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.trust-item .ti, .svc-icon { transition: transform .35s var(--ease); }
.trust-item:hover .ti, .svc:hover .svc-icon { transform: translateY(-2px) rotate(-4deg); }
/* Content that changes in place fades up */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.finder-panel > * { animation: fadeUp .5s var(--ease) both; }
.finder-panel > :nth-child(2) { animation-delay: .06s; }
.finder-panel > :nth-child(3) { animation-delay: .12s; }
.finder-panel > :nth-child(4) { animation-delay: .18s; }
.finder-panel > :nth-child(5) { animation-delay: .24s; }
.tool:not([hidden]), .cal-month { animation: fadeUp .45s var(--ease) both; }
.faq details[open] .faq-a, .svc[open] .svc-body { animation: fadeUp .4s var(--ease) both; }
.bar .track i { transition: width .7s var(--ease); }
/* Scroll reveal, applied by app.js only to content below the first screen */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
/* Smooth colour change when switching between light and dark */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .5s ease, color .5s ease, border-color .5s ease, box-shadow .5s ease !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .btn-brass::after, .fab::after { display: none; }
}

/* ---------- Language switch ---------- */
.lang-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 40px; padding: 0 .85rem; border-radius: 999px; border: 1px solid var(--band-line); background: transparent; color: var(--gold-on-band); cursor: pointer; font: 600 .86rem/1 var(--f-body); transition: border-color .2s, background-color .2s; }
.lang-btn:hover { border-color: var(--gold-on-band); background: color-mix(in srgb, var(--gold-on-band) 10%, transparent); }
.lang-label[lang="ta"] { font-family: "Noto Sans Tamil", "Nirmala UI", "Latha", "Tamil Sangam MN", var(--f-body); }
/* Phones: the language switch takes the search button's place (search moves into the menu) */
@media (max-width: 480px) {
  .search-btn { display: none; }
  .nav { gap: .6rem; }
  .brand { gap: .5rem; }
  .brand-name { font-size: .96rem; }
  .lang-btn { padding: 0 .55rem; font-size: .78rem; }
}
@media (max-width: 360px) { .brand-name { font-size: .86rem; } }
/* Tamil visitors: keep the English text hidden for the moment before it is swapped */
html[data-lang-pending] body { opacity: 0; }
body { transition: opacity .25s ease; }

/* ---------- Tools: five tabs, fill-in chips, dates ---------- */
.tool-tabs { position: relative; scrollbar-width: none; }
.tool-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 760px) {
  .tool-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 20px; overflow: visible; }
  .tool-tabs button { padding: .6rem .7rem; white-space: normal; line-height: 1.3; border-radius: 16px; }
  .tool-tabs button:first-child { grid-column: 1 / -1; }
}
.fill-from { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; margin-top: .4rem; font-size: .8rem; color: var(--muted); }
.fill-chip { padding: .32rem .75rem; border-radius: 999px; border: 1px dashed var(--line-strong); background: var(--surface); color: var(--link); font-size: .8rem; font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s; }
.fill-chip:hover { border-style: solid; border-color: var(--royal); background: var(--surface-2); }
input[type="date"].input { min-height: 3.05rem; font-family: var(--f-body); font-weight: 500; }
.sched { border-top: 1px solid var(--line); }
.sched .cal-item { --c: var(--line-strong); }
.sched .is-next { --c: var(--gold); }
.sched .is-next .cal-day { background: var(--gold-soft); }
.sched .is-past .cal-title, .sched .is-past .cal-day { color: var(--muted); }
.next-tag { --c: var(--gold-text); }
.chip-days.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }

/* ---------- Add to Google Calendar ---------- */
.cal-right { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .4rem .5rem; max-width: 17rem; }
.cal-right .cat-tag { flex-basis: 100%; justify-content: flex-end; }
.gcal { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .65rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--link); font-size: .76rem; font-weight: 600; line-height: 1.3; text-decoration: none; white-space: nowrap; transition: border-color .2s, background-color .2s; }
.gcal:hover { border-color: var(--royal); background: var(--surface-2); }
.gcal svg { flex: none; }
@media (max-width: 520px) {
  .cal-right { max-width: none; }
  .cal-right .cat-tag { flex-basis: auto; }
}

/* ---------- Enquiry form spam trap ---------- */
.enquiry { position: relative; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Tamil ----------
   Noto Serif Tamil for headings and Noto Sans Tamil for text, with English words and numbers kept in the
   site's own fonts. Tamil script needs more line height, no letter spacing and no synthetic italics. */
:root[lang="ta"] {
  --f-display: "Libre Baskerville", "Noto Serif Tamil", "Nirmala UI", Georgia, serif;
  --f-italic: "Libre Baskerville", "Noto Serif Tamil", "Nirmala UI", Georgia, serif;
  --f-body: "Plus Jakarta Sans", "Noto Sans Tamil", "Nirmala UI", "Latha", system-ui, sans-serif;
  --f-label: "Plus Jakarta Sans", "Noto Sans Tamil", "Nirmala UI", "Latha", system-ui, sans-serif;
}
:root[lang="ta"] body { line-height: 1.8; }
:root[lang="ta"] body * { letter-spacing: normal !important; }
:root[lang="ta"] em { font-style: normal; }
:root[lang="ta"] .hero-title { font-size: clamp(1.65rem, 1rem + 2vw, 2.3rem); line-height: 1.45; font-weight: 500; }
:root[lang="ta"] .hero-title em { font-size: .88em; }
:root[lang="ta"] .dbl { padding-bottom: .28em; background-position: 0 calc(100% - 6px), 0 100%; }
:root[lang="ta"] .h2 { font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.15rem); line-height: 1.45; font-weight: 500; }
:root[lang="ta"] .lede { font-size: 1.05rem; line-height: 1.85; }
:root[lang="ta"] .ledger-title, :root[lang="ta"] .tool-title h3, :root[lang="ta"] .form-head h3, :root[lang="ta"] .enquiry-done h3 { font-size: 1.28rem; line-height: 1.45; font-weight: 500; }
:root[lang="ta"] .svc-title { font-size: 1.2rem; line-height: 1.45; font-weight: 500; }
:root[lang="ta"] .panel-intro h3, :root[lang="ta"] .insight-card h3, :root[lang="ta"] .step h3, :root[lang="ta"] .remind h3, :root[lang="ta"] .values h3, :root[lang="ta"] .seal-card h3 { font-size: 1.12rem; line-height: 1.5; font-weight: 500; }
:root[lang="ta"] .brief h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); line-height: 1.45; font-weight: 500; }
:root[lang="ta"] .verdict { font-size: clamp(1.08rem, 1rem + .5vw, 1.35rem); line-height: 1.55; font-weight: 500; }
:root[lang="ta"] .mobile-nav li a { font-size: 1.15rem; }
:root[lang="ta"] .eyebrow, :root[lang="ta"] .kicker, :root[lang="ta"] .mini-h { font-size: .84rem; }
:root[lang="ta"] .chip-days, :root[lang="ta"] .cat-tag, :root[lang="ta"] .svc-tags span, :root[lang="ta"] .step-n, :root[lang="ta"] .cmd-group,
:root[lang="ta"] .legend, :root[lang="ta"] .eff, :root[lang="ta"] .docs-count, :root[lang="ta"] .hero-facts dt, :root[lang="ta"] .cl-label,
:root[lang="ta"] .site-footer h4, :root[lang="ta"] .due-date, :root[lang="ta"] .cal-day small, :root[lang="ta"] .gcal { font-size: .8rem; }
:root[lang="ta"] .brand-sub { font-size: .7rem; }
:root[lang="ta"] .btn { white-space: normal; text-align: center; line-height: 1.4; }
.nav-links a, .search-btn, .nav-cta { white-space: nowrap; }
.nav-tools, .nav-links { flex: none; }
/* Make room for the language switch: the search button shows just its icon (the footer keeps the Ctrl K hint) */
.search-btn kbd { display: none; }
.search-btn { width: 40px; padding: 0; justify-content: center; }
.nav-links { gap: 1.15rem; }
@media (max-width: 1240px) { .nav-links { display: none; } .menu-btn { display: grid; } }
/* Tamil menu labels are too long for one header row, so Tamil uses the menu button at every width */
:root[lang="ta"] .nav-links { display: none; }
:root[lang="ta"] .menu-btn { display: grid; }
:root[lang="ta"] .nav-cta { white-space: nowrap; }

/* ---------- Seventh service card: spans the last row, with its list in columns ---------- */
.svc-wide { grid-column: 1 / -1; }
.svc-wide .svc-text { max-width: 46rem; }
.svc-wide .svc-body .ticks { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); column-gap: 1.5rem; }
/* A quiet line for those who prefer a phone call */
.cl-note { margin-top: .5rem; font-size: .84rem; color: var(--on-band-muted); }
.cl-note a { color: var(--on-band); }

/* ---------- Checklists you can send to WhatsApp ---------- */
.share-list { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1rem; }
.share-list .btn svg { color: var(--ok); }
.svc-links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.foot-link { background: none; border: 0; padding: 0; font: inherit; color: var(--on-band-muted); cursor: pointer; }
.foot-link:hover { color: var(--on-band); }
.cal-item.is-extended .cal-note { color: var(--soon); }

/* ---------- Service pages ---------- */
.svc-hero { padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.75rem; font-size: .86rem; color: var(--on-band-muted); }
.crumbs a { color: var(--on-band-muted); text-decoration: none; }
.crumbs a:hover { color: var(--on-band); text-decoration: underline; }
.crumbs [aria-current] { color: var(--gold-on-band); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.svc-h1 { font-family: var(--f-display); font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 1.25rem; }
.svc-h1 em { font-family: var(--f-italic); font-style: italic; color: var(--gold-on-band); }
.svc-hero .lede { color: var(--on-band-muted); margin-bottom: 1.75rem; }
.svc-card { display: grid; gap: 1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); color: var(--ink); border-top: 4px solid var(--gold); box-shadow: var(--shadow-lg); animation: rise .9s .15s var(--ease) both; }
.svc-card .svc-icon { width: 56px; height: 56px; }
.svc-card .kicker { color: var(--gold-text); }
.svc-card-name { font-family: var(--f-display); font-size: 1.4rem; line-height: 1.2; margin-top: .2rem; }
.svc-person { display: flex; align-items: center; gap: .85rem; }
.svc-person .portrait { width: 44px; height: 44px; }
.svc-card .status { font-size: .88rem; color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.svc-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 2.5vw, 1.75rem); box-shadow: var(--shadow-sm); }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.svc-dates { grid-template-columns: minmax(0, 1fr); margin-bottom: 1rem; }
.svc-dates li { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; background: var(--mist); }
.tool-links { display: grid; gap: .5rem; }
.tool-link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .2s, transform .2s var(--ease); }
.tool-link:hover { border-color: var(--royal); transform: translateX(3px); }
.tool-link svg { color: var(--royal); flex: none; }
.svc-cta-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svc-cta .lede { color: var(--on-band-muted); margin: 1rem 0 1.5rem; }
.svc-more ul { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; }
.svc-more a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--band-line); color: var(--on-band); text-decoration: none; }
.svc-more a:hover { color: var(--gold-on-band); }
@media (max-width: 960px) {
  .svc-hero-grid, .svc-cta-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-panel { grid-column: 1 / -1; }
}
@media (max-width: 760px) { .steps-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
:root[lang="ta"] .svc-h1 { font-size: clamp(1.55rem, 1.05rem + 1.8vw, 2.25rem); line-height: 1.45; font-weight: 500; }
:root[lang="ta"] .svc-card-name { font-size: 1.15rem; }

.foot-lang { font-weight: 600; }
/* Shown under the hours status while the office is closed; indented to line up with the status text */
.after-hours { display: block; margin-top: .3rem; padding-left: calc(7px + .45rem); font-size: .8rem; font-weight: 400; line-height: 1.5; color: var(--on-band-muted); max-width: 34ch; }
.svc-card .after-hours { color: var(--muted); max-width: none; }

/* ---------- Shorter home page: "Show all" and "More" rows ---------- */
.more-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.5rem; margin-top: 1.5rem; }
.cal-list-wrap .more-row { justify-content: flex-start; }

/* Insights: reading time and a "New" tag */
.insight-card .card-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.read-time { font-family: var(--f-label); font-size: .74rem; color: var(--muted); white-space: nowrap; }
.insight-card .kicker .new-tag { padding: .2rem .55rem; border-radius: 999px; background: var(--royal); color: var(--royal-ink); }

/* ---------- Phones: a contact bar at the bottom, in place of the floating buttons ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 42; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--surface) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(7, 19, 38, .5); transition: transform .3s var(--ease); }
  .mbar.away { transform: translateY(110%); }
  .mbar a { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: 0 .75rem; border-radius: 999px; font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; }
  .mbar-wa { background: var(--gold-on-band); color: var(--on-gold); }
  .mbar-msg { background: var(--royal); color: var(--royal-ink); }
  .fab, .fab-mail { display: none; }
  .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
  .notice { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
:root[lang="ta"] .mbar a { font-size: .84rem; }

/* ---------- Map card (contact): a drawing of the area, not a live map, so nothing loads from Google ---------- */
.map-card { position: relative; display: block; margin-top: 1.25rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--band-line); color: var(--on-band); text-decoration: none; box-shadow: var(--shadow); }
.map-art { display: block; width: 100%; height: 170px; }
.map-art .m-bg { fill: var(--band-2); }
.map-art .m-block { fill: color-mix(in srgb, var(--band-line) 45%, var(--band-2)); }
.map-art .m-green { fill: color-mix(in srgb, var(--ok-on-band) 16%, var(--band-2)); }
.map-art .m-road { fill: none; stroke: color-mix(in srgb, var(--on-band) 22%, var(--band-2)); stroke-linecap: round; }
.map-art .m-street { fill: none; stroke: var(--band-line); stroke-linecap: round; }
.map-art .m-pin { fill: var(--gold-on-band); }
.map-art .m-pin-dot { fill: var(--band-2); }
.map-art .m-ring { fill: none; stroke: var(--gold-on-band); transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { opacity: .7; transform: scale(.4); } to { opacity: 0; transform: scale(1.6); } }
.map-label { position: absolute; left: 14px; bottom: 14px; display: grid; gap: .1rem; max-width: calc(100% - 28px); padding: .55rem .8rem; border-radius: 10px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); font-size: .8rem; line-height: 1.35; }
.map-label strong { font-weight: 600; font-size: .86rem; }
.map-label span { color: var(--muted); }
.map-cta { position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .85rem; border-radius: 999px; background: var(--gold-on-band); color: var(--on-gold); font-weight: 600; font-size: .8rem; transition: transform .2s; }
.map-card:hover .map-cta { transform: translateY(-2px); }

/* ---------- Due-dates page: the regular dates set by law ---------- */
.rule-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.rule-table { padding: 1.3rem 1.5rem .6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.rule-table h3 { display: flex; align-items: center; gap: .55rem; padding-bottom: .7rem; border-bottom: 2px solid var(--line); font-family: var(--f-label); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.rule-table h3 i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.rule-table table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.rule-table th { padding: .6rem 0 .2rem; text-align: left; font-family: var(--f-label); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rule-table td { padding: .75rem 0; border-top: 1px dashed var(--line); vertical-align: top; }
.rule-table td:first-child { width: 46%; padding-right: 1rem; }
.rule-table td strong { display: block; font-weight: 600; }
.rule-table td small { display: block; margin-top: .15rem; font-size: .8rem; color: var(--muted); }
.rule-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.rule-dates small { display: inline !important; margin: 0 0 0 .35rem !important; }
@media (max-width: 900px) { .rule-tables { grid-template-columns: minmax(0, 1fr); } }
:root[lang="ta"] .rule-table h3 { letter-spacing: .02em; font-size: .86rem; text-transform: none; }
