/* Srihari & Co.: ledger paper, ink blue, red ruling */
/* Fonts, self-hosted (Latin subsets from Google Fonts, SIL Open Font License) */
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/public-sans-latin.woff2) format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/spectral-500-latin.woff2) format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/spectral-600-latin.woff2) format("woff2"); }
:root {
  --paper: #f3f5f1;
  --paper-deep: #e7ebe4;
  --sheet: #fbfcf8;
  --rule: #c9d6e7;
  --ink: #16233d;
  --ink-soft: #4a5670;
  --blue: #164f96;
  --blue-deep: #0f3b73;
  --blue-focus: #2f73c9;
  --red: #a92b22;
  --cloth: #6c1a19;
  --cloth-hi: #9b2c26;
  --gold: #c8a35b;
  --night: #0f1e38;
  --night-2: #172b4d;
  --on-night: #e9eef6;
  --on-night-soft: #a8b7cd;

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --radius: 10px;
  --wrap: 1180px;

  --shadow-raised: 0 1px 1px rgba(22, 35, 61, .06), 0 2px 6px rgba(22, 35, 61, .06), 0 10px 24px -12px rgba(22, 79, 150, .22);
  --shadow-float: 0 2px 4px rgba(22, 35, 61, .06), 0 16px 32px -12px rgba(22, 35, 61, .28), 0 40px 80px -30px rgba(15, 59, 115, .35);
  --spring: cubic-bezier(.2, .9, .25, 1.15);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue-focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0; }
h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.12; letter-spacing: -.02em; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 var(--s4); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -60px; background: var(--ink); color: #fff; padding: var(--s2) var(--s4); border-radius: 6px; z-index: 50; }
.skip:focus { top: var(--s3); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5); }
.muted { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 22px;
  font: 600 16px/1 var(--sans); letter-spacing: .005em;
  color: #fff; background: var(--blue);
  border: 1px solid var(--blue-deep); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), var(--shadow-raised);
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--spring), background-color .2s, box-shadow .25s;
}
.btn:hover { color: #fff; background: var(--blue-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-quiet { color: var(--blue-deep); background: var(--sheet); border-color: #b9c8dc; box-shadow: 0 1px 2px rgba(22,35,61,.06); }
.btn-quiet:hover { color: var(--blue-deep); background: #fff; border-color: var(--blue); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(243, 245, 241, .92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(22, 79, 150, .12);
}
.header-row { display: flex; align-items: center; gap: var(--s5); min-height: 72px; }
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--ink); margin-right: auto; }
/* The firm's own logo: ICAI's CA India mark (used unaltered, on white, as ICAI requires) + the name in his logo's blue */
.brand-mark { height: 44px; width: auto; flex: none; background: #fff; padding: 4px 6px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(23, 88, 136, .12); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
/* Plain text, not a logo lockup: ICAI bans firm logos and names written "tantamounting to logo" (Code of Ethics 2026, 2.14.1.7(xvii)) */
.brand-name { font: 600 21px/1.1 var(--serif); color: var(--ink); }
.brand-sub { font: 400 13.5px/1.2 var(--sans); color: var(--ink-soft); margin-top: 3px; }
.nav { display: flex; gap: var(--s5); }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: var(--s2) 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.nav a:hover { color: var(--blue); border-bottom-color: var(--red); }
.nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--red); }
.nav-call { display: none; }
.menu-btn { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: var(--s8) 0 var(--s9);
  background:
    radial-gradient(80% 60% at 85% 30%, rgba(47, 115, 201, .10), transparent 70%),
    repeating-linear-gradient(to bottom, transparent 0 31px, rgba(22, 79, 150, .09) 31px 32px),
    var(--paper);
}
.hero::before { /* the red double margin rule of an account book */
  content: ""; position: absolute; top: 0; bottom: 0; left: max(16px, calc((100vw - var(--wrap)) / 2 - 8px));
  width: 5px; border-left: 1px solid rgba(169, 43, 34, .45); border-right: 1px solid rgba(169, 43, 34, .45);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s5); align-items: center; }
.hero h1 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -.03em; font-weight: 600; max-width: 12ch; }
.lede { font-size: 19px; line-height: 1.65; color: var(--ink-soft); max-width: 26em; margin: var(--s5) 0 var(--s6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero-address { margin: var(--s5) 0 0; font-size: 15px; color: var(--ink-soft); max-width: 34em; }

/* Hero folder: what to keep ready */
.hero-folder { position: relative; padding-top: var(--s3); min-width: 0; }
.folder { position: relative; filter: drop-shadow(0 18px 28px rgba(22, 35, 61, .16)) drop-shadow(0 2px 3px rgba(22, 35, 61, .08)); }
.folder-tabs { display: flex; align-items: flex-end; gap: 3px; padding: 0 8px; position: relative; z-index: 1; }
.folder-tabs [role="tab"] {
  min-height: 44px; padding: 9px 12px 8px; border: 1px solid #b98f48; border-bottom: 0; border-radius: 10px 10px 0 0;
  background: linear-gradient(#d4ad68, #caa15b); color: #4d3712; font: 600 14px/1.2 var(--sans); cursor: pointer;
  transform: translateY(5px); transition: transform .25s var(--ease), background .2s; white-space: nowrap;
}
.folder-tabs [role="tab"]:hover { transform: translateY(2px); }
.folder-tabs [role="tab"][aria-selected="true"] { background: #e3c27f; color: #3b2a0c; transform: translateY(1px); position: relative; z-index: 2; }
.folder-body {
  position: relative; padding: 22px 22px 26px; border: 1px solid #b98f48; border-radius: 4px 14px 14px 14px;
  background: radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(#e3c27f, #d8b46d);
}
.folder-sheet {
  position: relative; padding: 26px 26px 22px 64px; border-radius: 3px; transform: rotate(-.7deg);
  background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(22, 79, 150, .08) 31px 32px), #fdfdf8;
  box-shadow: 0 1px 2px rgba(22, 35, 61, .12), 0 14px 26px -16px rgba(22, 35, 61, .35);
}
.folder-sheet::before { /* the red double margin rule, as on the page behind */
  content: ""; position: absolute; top: 0; bottom: 0; left: 42px; width: 4px;
  border-left: 1px solid rgba(169, 43, 34, .5); border-right: 1px solid rgba(169, 43, 34, .5);
}
.folder-clip { position: absolute; top: -20px; right: 34px; width: 20px; height: 54px; fill: none; stroke: #7c8798; stroke-width: 2.4; stroke-linecap: round; }
.fs-label { margin: 0 0 4px; font: 600 13px/1.3 var(--sans); color: var(--red); }
.fs-title { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 12px; }
.fs-list { list-style: none; margin: 0; padding: 0; }
.fs-list label { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; min-height: 44px; padding: 10px 0 9px; border-bottom: 1px solid rgba(201, 214, 231, .9); font-size: 16px; line-height: 1.45; color: var(--ink); cursor: pointer; }
.fs-list input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.fs-box { width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid #8794aa; border-radius: 4px; background: #fff; display: grid; place-items: center; transition: border-color .2s; }
.fs-box svg { width: 26px; height: 26px; overflow: visible; margin: -4px -2px 0 0; }
.fs-box path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .35s var(--ease); }
.fs-list input:checked + .fs-box { border-color: var(--red); }
.fs-list input:checked + .fs-box path { stroke-dashoffset: 0; }
.fs-list input:focus-visible + .fs-box { outline: 3px solid var(--blue-focus); outline-offset: 2px; }
.fs-list label:hover .fs-box { border-color: var(--blue); }
.fs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s4); }
.fs-count { margin: 0; font-size: 15px; color: var(--ink-soft); }
.fs-note { margin: var(--s3) 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.hero-next { margin: var(--s5) 0 0 4px; font-size: 15px; color: var(--ink-soft); }
.hero-next b { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .folder-tabs [role="tab"], .fs-box path { transition: none; } }
@media (max-width: 640px) {
  .folder-tabs { overflow-x: auto; scrollbar-width: none; padding: 0 4px; scroll-snap-type: x proximity; }
  .folder-tabs::-webkit-scrollbar { display: none; }
  .folder-tabs [role="tab"] { font-size: 13.5px; padding: 9px 12px 8px; scroll-snap-align: start; }
  .folder-body { padding: 12px 10px 14px; border-radius: 4px 4px 12px 12px; }
  .folder-sheet { padding: 22px 16px 18px 42px; transform: none; }
  .folder-sheet::before { left: 26px; }
  .folder-clip { right: 20px; }
  .fs-foot .btn { width: 100%; }
}

/* Sections */
.section { padding: 120px 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: end; margin-bottom: var(--s7); }
.section-head p { margin: 0; color: var(--ink-soft); max-width: 36em; }

/* Services: heads of account */
.services { background: var(--sheet); border-top: 1px solid var(--paper-deep); border-bottom: 1px solid var(--paper-deep); }
.accounts { border-top: 2px solid var(--ink); }
.account { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: var(--s6); padding: var(--s6) 0; border-bottom: 1px solid var(--rule); }
.account-head h3, .account-head h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.01em; }
.account-head p { margin: var(--s2) 0 0; font-size: 15px; color: var(--ink-soft); max-width: 24em; }
.entries { list-style: none; margin: 0; padding: 0; }
.entries > li + li { border-top: 1px solid rgba(201, 214, 231, .7); }
.entries details { padding: 0; }
.entries summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 22px; gap: var(--s4); align-items: baseline;
  padding: 14px 4px; border-radius: 6px; transition: background-color .2s;
}
.entries summary::-webkit-details-marker { display: none; }
.entries summary::after {
  content: ""; width: 12px; height: 12px; justify-self: end; align-self: center;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--spring);
}
.entries details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.entries summary:hover { background: rgba(22, 79, 150, .05); }
.e-name { font: 600 19px/1.3 var(--serif); color: var(--ink); }
.e-line { font-size: 15px; color: var(--ink-soft); }
.e-body { padding: 2px 4px var(--s4); max-width: 44em; }
.e-body p { margin: 0; color: var(--ink); }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 7px; height: 12px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(40deg); }

/* Home: services as a ruled ledger grid */
.services-overview { background: var(--sheet); border-top: 1px solid var(--paper-deep); border-bottom: 1px solid var(--paper-deep); }
.ledger-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.lg-cell { position: relative; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6) var(--s6) var(--s5); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); transition: background-color .25s; }
.lg-cell:not(:nth-child(3n)) { border-right: 1px solid var(--rule); }
.lg-cell h3 { font-size: 26px; }
.lg-cell p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
.lg-cell .ticks { font-size: 15.5px; gap: 4px; margin: var(--s2) 0 var(--s4); }
.lg-more { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; color: var(--blue); }
.lg-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--spring); }
.lg-cell:hover { background: rgba(22, 79, 150, .04); color: var(--ink); }
.lg-cell:hover .lg-more svg { transform: translateX(4px); }
.lg-cell:hover h3 { color: var(--blue-deep); }
.services-cta { margin: var(--s6) 0 0; font-size: 17px; }

/* Home: team strip */
.people-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.mini-person { display: grid; grid-template-columns: 76px 1fr; gap: var(--s4); align-items: start; padding: var(--s5); background: var(--sheet); border: 1px solid var(--paper-deep); border-radius: 14px; box-shadow: var(--shadow-raised); color: var(--ink); text-decoration: none; transition: transform .3s var(--spring), box-shadow .3s; }
.mini-person:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-float); }
.mini-person .person-seal { width: 76px; height: 76px; margin: 0; }
.mini-person strong { display: block; font: 600 21px/1.2 var(--serif); }
.mini-person .person-role { display: block; margin: 4px 0 8px; }
.mp-line { display: block; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* Clients */
.clients-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--s8); align-items: start; }
.clients-intro { font-size: 19px; margin: var(--s5) 0 var(--s4); max-width: 30em; }
.clients-note { font-size: 15px; color: var(--ink-soft); max-width: 30em; padding-left: var(--s4); border-left: 3px double rgba(169, 43, 34, .6); }
.sectors { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--s6); }
.sectors li { break-inside: avoid; font: 500 22px/1.3 var(--serif); padding: 12px 0; border-bottom: 1px solid var(--rule); }

/* History */
.history { background: var(--paper-deep); }
.history-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s8); }
.history-side { position: sticky; top: 110px; align-self: start; }
.history-side h2 { max-width: 12ch; }
.history-year { font: 600 clamp(80px, 12vw, 150px)/1 var(--serif); letter-spacing: -.04em; color: var(--blue); margin: var(--s6) 0 0; font-variant-numeric: tabular-nums; }
.history-year span { display: inline-block; transition: transform .45s var(--spring), opacity .3s; }
.history-year span.is-swap { transform: translateY(12px) scale(.97); opacity: .35; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 var(--s6); position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--rule); }
.timeline::after { content: ""; position: absolute; left: 6px; top: 8px; width: 2px; height: calc(var(--progress, 0) * (100% - 16px)); background: var(--red); transition: height .2s linear; }
.timeline li { position: relative; padding: var(--s5) 0 var(--s7); min-height: 22vh; }
.timeline li::before { content: ""; position: absolute; left: calc(-1 * var(--s6) + 1px); top: calc(var(--s5) + 9px); width: 12px; height: 12px; border-radius: 50%; background: var(--paper-deep); border: 2px solid var(--rule); transition: border-color .3s, background-color .3s, transform .4s var(--spring); }
.timeline li.is-on::before { border-color: var(--red); background: var(--red); transform: scale(1.15); }
.t-year { font: 600 15px/1 var(--sans); color: var(--red); font-variant-numeric: tabular-nums; }
.timeline p { font: 500 clamp(20px, 2.2vw, 26px)/1.4 var(--serif); margin: var(--s2) 0 0; max-width: 26em; color: var(--ink); }

/* Due dates: dark section */
.duedates {
  background:
    radial-gradient(70% 60% at 10% 0%, rgba(47, 115, 201, .22), transparent 70%),
    repeating-linear-gradient(to bottom, transparent 0 39px, rgba(168, 183, 205, .07) 39px 40px),
    var(--night);
  color: var(--on-night);
}
.duedates h2 { color: #fff; }
.duedates .section-head p { color: var(--on-night-soft); }
.filters { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; font: 500 15px/1 var(--sans); color: var(--on-night); background: rgba(255,255,255,.05); border: 1px solid rgba(168,183,205,.3); cursor: pointer; transition: background-color .2s, border-color .2s, transform .25s var(--spring); }
.chip:hover { border-color: rgba(233,238,246,.6); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.cal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: start; }
.cal { background: var(--night-2); border: 1px solid rgba(168,183,205,.18); border-radius: 14px; padding: var(--s4); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.cal-dow, .cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow span { font-size: 12px; color: var(--on-night-soft); text-align: center; padding: 4px 0 8px; }
.day { position: relative; aspect-ratio: 1; border-radius: 9px; border: 1px solid transparent; background: transparent; color: rgba(233,238,246,.7); font: 500 15px/1 var(--sans); font-variant-numeric: tabular-nums; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
button.day { cursor: pointer; color: var(--on-night); background: rgba(255,255,255,.06); border-color: rgba(168,183,205,.2); transition: background-color .2s, border-color .2s, transform .25s var(--spring); }
button.day:hover { border-color: rgba(233,238,246,.6); transform: translateY(-1px); }
button.day:active { transform: scale(.95); }
.day .dots { display: flex; gap: 3px; height: 6px; }
.day .dots i { width: 6px; height: 6px; border-radius: 50%; background: #e3b35c; }
.day .count { position: absolute; top: 4px; right: 6px; font-size: 10px; color: var(--on-night-soft); }
button.day[aria-pressed="true"] { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
button.day[aria-pressed="true"] .count { color: var(--ink-soft); }
button.day[aria-pressed="true"] .dots i { background: var(--red); }
.day.is-today::after { content: ""; position: absolute; inset: 3px; border-radius: 7px; border: 1.5px dashed #e3b35c; pointer-events: none; }
.day.is-past { opacity: .78; }
.cal-detail h3 { color: #fff; font-size: 28px; margin-bottom: var(--s2); }
.cal-detail .cd-sub { color: var(--on-night-soft); font-size: 15px; margin-bottom: var(--s4); }
.cd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); max-height: 470px; overflow: auto; padding-right: 6px; }
.cd-item { background: rgba(255,255,255,.05); border: 1px solid rgba(168,183,205,.18); border-radius: 12px; padding: 14px var(--s4); }
.cd-item strong { display: block; font: 600 19px/1.3 var(--serif); color: #fff; margin: 4px 0 0; }
.cd-item details { margin-top: 8px; }
.cd-item summary { cursor: pointer; font-size: 13.5px; color: var(--on-night-soft); width: max-content; max-width: 100%; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(168,183,205,.5); }
.cd-item summary:hover { color: #fff; }
.cd-item details p { margin-top: 8px; }
.cd-item p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--on-night-soft); }
.cd-tag { display: inline-block; font-size: 12px; font-weight: 600; color: #e3b35c; }
.cd-add { margin-top: 10px; min-height: 44px; padding: 0 14px; font: 600 14px/1 var(--sans); color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(168,183,205,.45); border-radius: 10px; cursor: pointer; transition: background .2s, border-color .2s; }
.cd-add:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.cd-add:active { transform: scale(.98); }
.cal-add-all { margin-top: var(--s5); background: #fff; color: var(--blue-deep); border-color: #fff; }
.cal-add-all:hover { background: #e9eef6; color: var(--blue-deep); }
@media (max-width: 640px) { .cal-add-all { width: 100%; } }
.cal-note { margin: var(--s6) 0 0; font-size: 14px; color: var(--on-night-soft); max-width: 60em; }
.cal-note a { color: #fff; }

/* Team */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.person { background: var(--sheet); border: 1px solid var(--paper-deep); border-radius: 14px; padding: var(--s6); box-shadow: var(--shadow-raised); }
.person-seal { width: 96px; height: 96px; color: var(--blue); transform: rotate(-8deg); margin-bottom: var(--s5); }
.person-seal text { font: 600 24px var(--serif); fill: currentColor; }
.person h3 { font-size: 26px; }
.person-role { font-size: 14px; color: var(--red); font-weight: 600; margin: 4px 0 var(--s4); }
.person p:not(.person-role) { font-size: 15.5px; line-height: 1.7; }

/* Contact */
.contact { background: var(--sheet); border-top: 1px solid var(--paper-deep); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.facts { margin: var(--s6) 0; display: grid; gap: var(--s4); }
.facts > div { display: grid; grid-template-columns: 6em 1fr; gap: var(--s4); padding-bottom: var(--s4); border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 14px; font-weight: 600; color: var(--ink-soft); padding-top: 3px; }
.facts dd { margin: 0; font-size: 18px; line-height: 1.55; }
.facts a { font-weight: 600; }
.map { border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); background: var(--sheet); box-shadow: var(--shadow-raised); }
.map iframe { display: block; width: 100%; height: 300px; border: 0; background: var(--paper-deep); }
.map-hold { display: grid; place-content: center; justify-items: center; gap: var(--s3); height: 300px; padding: var(--s5); text-align: center; background: var(--paper-deep); color: var(--ink-soft); font-size: 15px; }
.map-hold p { margin: 0; max-width: 34ch; }
.map-actions { display: flex; flex-wrap: wrap; gap: var(--s2); padding: var(--s3); border-top: 1px solid var(--rule); background: #fff; }
.enquiry { background: #fff; border: 1px solid var(--paper-deep); border-radius: 16px; padding: var(--s6); box-shadow: var(--shadow-float); }
.enquiry h3 { font-size: 28px; }
.form-hint { font-size: 14px; color: var(--ink-soft); margin: var(--s2) 0 var(--s5); }
.enquiry label { display: block; font-size: 15px; font-weight: 600; margin: var(--s4) 0 6px; }
.enquiry input, .enquiry select, .enquiry textarea {
  width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink);
  background: var(--sheet); border: 1px solid #b9c8dc; border-radius: 9px; padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.enquiry textarea { resize: vertical; min-height: 110px; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,115,201,.25); }
.enquiry [aria-invalid="true"] { border-color: var(--red); }
.form-error { color: var(--red); font-size: 14px; font-weight: 600; margin: var(--s3) 0 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-soft); padding: var(--s8) 0 var(--s5); font-size: 15px; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s6); }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; }
.f-brand { font: 600 26px/1 var(--serif); color: #fff; margin-bottom: var(--s4);  display: flex; align-items: center; gap: var(--s3); }
.f-brand span { font: 600 22px/1.1 var(--serif); }
.f-mark { height: 40px; width: auto; flex: none; background: #fff; padding: 4px 6px; border-radius: 6px; }
.f-head { color: #fff; font-weight: 600; margin: 0 0 4px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgba(168,183,205,.2); font-size: 13.5px; }
.footer-legal p { margin: 0; }

/* Inner pages */
.page-hero { padding: var(--s8) 0 var(--s7); border-bottom: 1px solid var(--paper-deep); background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(22,79,150,.08) 31px 32px), var(--paper); }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.06; letter-spacing: -.03em; max-width: 16ch; }
.page-hero p { font-size: 19px; color: var(--ink-soft); max-width: 38em; margin: var(--s4) 0 0; }
.link-groups { display: grid; gap: var(--s7); }
.link-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: var(--s6); padding-top: var(--s5); border-top: 2px solid var(--ink); }
.link-group h2 { font-size: 30px; }
.link-group > div > p { color: var(--ink-soft); font-size: 15px; margin-top: var(--s2); }
.link-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--s6); }
.link-list li { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.link-list a { display: block; padding: 12px 0; font-weight: 500; text-decoration: none; color: var(--ink); }
.link-list a:hover { color: var(--blue); }
.link-list span { display: block; font-size: 13.5px; color: var(--ink-soft); font-weight: 400; margin-top: 2px; }
.prose { max-width: 40em; }
.prose h2 { font-size: 30px; margin: var(--s7) 0 var(--s3); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* About: who we work with */
.clients { background: var(--paper); }
.client-types { list-style: none; margin: 0 0 var(--s6); padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.client-types li { position: relative; padding: 9px 16px 9px 36px; font-size: 15.5px; font-weight: 500; background: #fff; border: 1px solid #c9d6e7; border-radius: 999px; box-shadow: 0 1px 2px rgba(22,35,61,.05); }
.client-types li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 6px; height: 11px; margin-top: -7px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(40deg); }
.sector-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.sector { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s5); min-height: 168px; padding: var(--s5); background: #fff; border: 1px solid var(--paper-deep); border-radius: 14px; box-shadow: var(--shadow-raised);
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(201,214,231,.45) 27px 28px); background-position: 0 14px;
  transition: transform .35s var(--spring), box-shadow .35s, border-color .25s; }
.sector svg { width: 44px; height: 44px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; padding: 9px; box-sizing: content-box; background: rgba(22,79,150,.07); border-radius: 12px; }
.sector span { font: 600 20px/1.25 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.sector:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); border-color: #c9d6e7; }
.sector:hover svg { stroke: var(--red); }
.sector-note { background: transparent; background-image: none; box-shadow: none; border: 1.5px dashed rgba(169,43,34,.45); }
.sector-note:hover { transform: none; box-shadow: none; border-color: rgba(169,43,34,.45); }
.sector-note .note-seal { width: 64px; height: 64px; padding: 0; background: none; color: var(--red); transform: rotate(-10deg); opacity: .85; }
.sector-note span { font: 500 15px/1.5 var(--sans); color: var(--ink-soft); }
@media (max-width: 920px) { .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sector-grid { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .sector { min-height: 140px; padding: var(--s4); gap: var(--s4); }
  .sector svg { width: 36px; height: 36px; padding: 8px; }
  .sector span { font-size: 17px; }
  .sector-note span { font-size: 13.5px; }
  .client-types li { font-size: 14.5px; padding: 8px 14px 8px 32px; }
  .client-types li::before { left: 14px; }
}

/* Service cards with illustrations */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--paper-deep); border-radius: 16px; overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-raised); transition: transform .4s var(--spring), box-shadow .35s; }
.svc-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-float); }
.svc-card:hover h3 { color: var(--blue-deep); }
.svc-card:hover .lg-more svg { transform: translateX(4px); }
.svc-art { position: relative; aspect-ratio: 16 / 9; background: #eef2f7; border-bottom: 1px solid var(--paper-deep); }
.svc-text { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5) var(--s5) var(--s5); flex: 1; }
.svc-text h3 { font-size: 25px; }
.svc-text p { margin: 0 0 var(--s3); font-size: 15.5px; color: var(--ink-soft); }
.svc-text .lg-more { margin-top: auto; }

.illus { width: 100%; height: 100%; display: block; }
.illus * { vector-effect: non-scaling-stroke; }
.il-bg { fill: #eef2f7; }
.illus .il-sheet rect { fill: #fff; stroke: #c9d6e7; stroke-width: 1.5; }
.illus .il-sheet.back rect { fill: #f6f8fb; }
.illus .il-rule { stroke: #d5e0ee; stroke-width: 1.2; fill: none; }
.illus .il-margin { stroke: rgba(169,43,34,.45); stroke-width: 1.2; fill: none; }
.illus .il-bar { stroke: #8ea6c6; stroke-width: 5; stroke-linecap: round; fill: none; }
.illus .il-bar.head { stroke: var(--blue); stroke-width: 7; }
.illus .il-tick { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: none; }
.illus .il-box { fill: #fff; stroke: #8ea6c6; stroke-width: 1.5; }
.illus text { font-family: var(--serif); font-weight: 600; }
/* audit */
.illus-audit .il-glass { transform: translate(128px, 72px); transition: transform 1.6s var(--ease); }
.illus-audit .il-glass circle:first-child { fill: rgba(255,255,255,.35); stroke: var(--blue-deep); stroke-width: 5; }
.illus-audit .il-glass .il-glint { fill: rgba(255,255,255,.8); stroke: none; }
.illus-audit .il-glass path { stroke: var(--blue-deep); stroke-width: 9; stroke-linecap: round; }
/* income tax */
.illus-tax .il-coin { transform: translate(236px, 132px); }
.illus-tax .il-coin circle:first-child, .illus-fema .il-coin circle { fill: #e3b35c; stroke: #a87b2c; stroke-width: 2; }
.illus-tax .il-coin-in { fill: none; stroke: #c2943f; stroke-width: 1.5; }
.illus-tax .il-coin text, .illus-fema .il-coin text { fill: #7a5410; font-size: 22px; font-family: var(--sans); font-weight: 700; }
.illus-fema .il-coin text { font-size: 15px; }
/* gst */
.illus-gst .il-stamp { transform: translateY(-6px); }
.illus-gst .il-stamp rect, .illus-gst .il-stamp path, .illus-gst .il-stamp ellipse { fill: var(--cloth-hi); stroke: var(--cloth); stroke-width: 2; }
.illus-gst .il-stamp path { fill: #b8865a; stroke: #7d5634; }
.illus-gst .il-stamp ellipse { fill: #7d5634; stroke: #5b3c22; }
.illus-gst .il-imprint { opacity: 0; transform-origin: 196px 120px; transform: scale(.85) rotate(-8deg); }
.illus-gst .il-imprint circle { fill: none; stroke: var(--red); stroke-width: 2.5; }
.illus-gst .il-imprint text { fill: var(--red); font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: 1px; }
/* company */
.illus-company .il-building path { fill: none; stroke: #8ea6c6; stroke-width: 2; stroke-linejoin: round; }
.illus-company .il-ground { stroke: #c9d6e7; stroke-width: 2; }
.illus-company .il-piece path { stroke-width: 2.5; stroke-linejoin: round; }
.illus-company .il-piece.left path { fill: #dbe6f4; stroke: var(--blue); }
.illus-company .il-piece.right path { fill: #f6dcd8; stroke: var(--red); }
.illus-company .il-piece.right { transform: translateX(30px) rotate(6deg); transform-origin: 186px 106px; }
/* fema */
.illus-fema .il-globe { fill: #dbe6f4; stroke: var(--blue); stroke-width: 2.5; }
.illus-fema .il-meridians ellipse, .illus-fema .il-meridians path, .illus-fema .il-lat { fill: none; stroke: #8ea6c6; stroke-width: 1.5; }
.illus-fema .il-arc { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 4 6; }
.illus-fema .il-arrowhead { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.illus-fema .il-orbit { transform-origin: 160px 92px; }
/* accounts */
.illus-accounts .il-bars rect { fill: #c7d7ec; stroke: var(--blue); stroke-width: 1.5; transform-box: fill-box; transform-origin: bottom; transform: scaleY(.35); }
.illus-accounts .il-bars .b4 { fill: #f2cfc9; stroke: var(--red); }
.illus-accounts .il-trend { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: none; }
.illus-accounts .il-dot { fill: var(--red); opacity: 0; }

/* play: on hover (laptop) or when scrolled into view (.is-play) */
.svc-card:hover .illus-audit .il-glass, .is-play .illus-audit .il-glass { animation: glass 2.4s var(--ease) forwards; }
@keyframes glass { 0% { transform: translate(128px, 72px); } 30% { transform: translate(196px, 52px); } 60% { transform: translate(150px, 118px); } 100% { transform: translate(210px, 126px); } }
.svc-card:hover .illus-audit .il-tick, .is-play .illus-audit .il-tick,
.svc-card:hover .illus-tax .il-tick, .is-play .illus-tax .il-tick { animation: ink .45s var(--ease) forwards; }
.illus .t1 { animation-delay: .5s !important; } .illus .t2 { animation-delay: .9s !important; } .illus .t3 { animation-delay: 1.3s !important; } .illus .t4 { animation-delay: 1.7s !important; }
.svc-card:hover .illus-tax .il-coin, .is-play .illus-tax .il-coin { animation: coin 1.1s var(--spring) forwards; }
@keyframes coin { 0% { transform: translate(236px, 30px) rotateY(0); } 55% { transform: translate(236px, 136px); } 75% { transform: translate(236px, 122px); } 100% { transform: translate(236px, 132px); } }
.svc-card:hover .illus-gst .il-stamp, .is-play .illus-gst .il-stamp { animation: stamp 1.1s var(--ease) forwards; }
@keyframes stamp { 0% { transform: translateY(-6px); } 35% { transform: translateY(52px); } 50% { transform: translateY(50px); } 100% { transform: translateY(-4px); } }
.svc-card:hover .illus-gst .il-imprint, .is-play .illus-gst .il-imprint { animation: imprint .4s .38s ease-out forwards; }
@keyframes imprint { to { opacity: 1; transform: scale(1) rotate(-8deg); } }
.svc-card:hover .illus-company .il-piece.right, .is-play .illus-company .il-piece.right { animation: join .9s var(--spring) forwards; }
@keyframes join { to { transform: translateX(0) rotate(0); } }
.svc-card:hover .illus-fema .il-meridians, .is-play .illus-fema .il-meridians { animation: spin-globe 2.4s linear forwards; }
@keyframes spin-globe { to { transform: translateX(-104px); } }
.svc-card:hover .illus-fema .il-orbit, .is-play .illus-fema .il-orbit { animation: orbit 2.4s var(--ease) forwards; }
@keyframes orbit { to { transform: rotate(180deg); } }
.svc-card:hover .illus-accounts .il-bars rect, .is-play .illus-accounts .il-bars rect { animation: grow .8s var(--spring) forwards; }
.illus-accounts .b2 { animation-delay: .12s !important; } .illus-accounts .b3 { animation-delay: .24s !important; } .illus-accounts .b4 { animation-delay: .36s !important; }
@keyframes grow { to { transform: scaleY(1); } }
.svc-card:hover .illus-accounts .il-trend, .is-play .illus-accounts .il-trend { animation: ink .8s .6s var(--ease) forwards; }
.svc-card:hover .illus-accounts .il-dot, .is-play .illus-accounts .il-dot { animation: fadein .3s 1.3s forwards; }
@keyframes fadein { to { opacity: 1; } }

/* Service pages */
.svc-hero { padding: var(--s7) 0 var(--s8); background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(22,79,150,.08) 31px 32px), var(--paper); border-bottom: 1px solid var(--paper-deep); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: center; }
.svc-hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -.03em; }
.svc-hero .lede { max-width: 30em; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--ink-soft); margin-bottom: var(--s4); }
.crumbs a { color: var(--blue); }
.svc-art-big { border: 1px solid var(--paper-deep); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-float); }
.svc-body-grid { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: var(--s7); align-items: start; }
.svc-main h2 { font-size: 30px; margin: 0 0 var(--s5); }
.svc-main h2:not(:first-child) { margin-top: var(--s7); }
.cover-item { padding: var(--s5) 0; border-top: 1px solid var(--rule); }
.cover-item:first-of-type { border-top: 2px solid var(--ink); }
.cover-item h3 { font-size: 23px; margin-bottom: var(--s3); }
.cover-item p { max-width: 40em; }
.cover-item p:last-child { margin-bottom: 0; }
.cover-item .ticks { margin-top: var(--s2); }
.svc-note { margin-top: var(--s5); padding: var(--s5); background: #fff; border: 1.5px dashed rgba(169,43,34,.45); border-radius: 14px; }
.svc-note h3 { font-size: 20px; margin-bottom: var(--s2); color: var(--red); }
.svc-note p:last-child { margin: 0; }
.svc-side { position: sticky; top: 96px; display: grid; gap: var(--s4); }
.side-card { background: #fff; border: 1px solid var(--paper-deep); border-radius: 16px; padding: var(--s5); box-shadow: var(--shadow-raised); }
.side-card h2 { font-size: 21px; margin-bottom: var(--s3); }
.side-team { list-style: none; margin: 0; padding: 0; }
.side-team li + li { border-top: 1px solid var(--rule); }
.side-team a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; }
.side-team a:hover strong { color: var(--blue); }
.side-team strong { display: block; font: 600 18px/1.3 var(--serif); }
.side-team span { display: block; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; margin-top: 2px; }
.side-due { background: var(--night); border-color: var(--night); color: var(--on-night); }
.side-due h2 { color: #fff; }
.side-due-list { list-style: none; margin: 0 0 var(--s4); padding: 0; }
.side-due-list li { display: grid; grid-template-columns: 3.2em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(168,183,205,.18); font-size: 14.5px; line-height: 1.45; color: var(--on-night); }
.side-due-list li:first-child { border-top: 0; }
.side-due-list b { font: 600 17px/1.1 var(--serif); color: #e3b35c; }
.side-due-list b small { display: block; font: 500 11px/1.3 var(--sans); color: var(--on-night-soft); }
.side-due-list .muted { display: block; color: var(--on-night-soft); }
.side-due > a { color: #fff; font-size: 14.5px; font-weight: 600; }
.svc-nextprev { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s8); padding-top: var(--s5); border-top: 2px solid var(--ink); }
.svc-nextprev a { display: block; padding: var(--s4) 0; font: 600 24px/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.svc-nextprev a span { display: block; font: 500 14px/1.4 var(--sans); color: var(--ink-soft); margin-bottom: 4px; }
.svc-nextprev a:hover { color: var(--blue); }
.svc-nextprev .next { text-align: right; }

/* Team: visiting cards */
.team-strip { background: var(--paper-deep); }
.vcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); perspective: 1200px; }
.vcard { --tx: 0deg; --ty: 0deg; display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-raised); transform: rotateX(var(--tx)) rotateY(var(--ty)); transition: transform .5s var(--spring), box-shadow .35s; scroll-margin-top: 100px; }
a.vcard:hover { color: var(--ink); box-shadow: var(--shadow-float); }
.vcard.is-tilting { transition: box-shadow .35s; }
.vc-band { position: relative; display: flex; align-items: center; gap: var(--s4); padding: var(--s5); background: linear-gradient(120deg, var(--blue-deep), var(--blue)); color: #fff; overflow: hidden; }
.vc-band::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 18px rgba(255,255,255,.04), 0 0 0 38px rgba(255,255,255,.03); }
.vc-seal { width: 72px; height: 72px; flex: none; color: #fff; transform: rotate(-10deg); }
.vc-seal text { font: 600 24px var(--serif); fill: #fff; }
.vc-band h3 { color: #fff; font-size: 24px; }
/* Passport-style photo frame (ICAI allows passport-size photos of members); the real photo replaces the outline */
.vc-photo { position: relative; z-index: 1; flex: none; width: 64px; height: 80px; border-radius: 6px; background: rgba(255,255,255,.12); border: 1.5px dashed rgba(255,255,255,.55); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; overflow: hidden; }
.vc-photo svg { width: 34px; height: 42px; fill: none; stroke: rgba(255,255,255,.85); stroke-width: 2.4; stroke-linecap: round; }
.vc-photo small { font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,.8); }
.vc-photo img { width: 100%; height: 100%; object-fit: cover; }
.vc-cred { margin: 4px 0 0; font-size: 14px; color: rgba(255,255,255,.8); font-weight: 600; }
.vc-body { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); flex: 1; }
.vc-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vc-facts li { font-size: 13.5px; font-weight: 600; color: var(--blue-deep); background: #edf2f9; border: 1px solid #d3deec; border-radius: 999px; padding: 5px 12px; }
.vc-line { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
.vcard .lg-more { margin-top: auto; }
.vcards-full .vc-body p { font-size: 15.5px; line-height: 1.7; margin: 0; }

/* Service cards: article with links */
.svc-art { display: block; }
.svc-text h3 a { color: var(--ink); text-decoration: none; }
.svc-text h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.svc-card { position: relative; }
.svc-card:hover .svc-art .illus-audit .il-glass { animation: glass 2.4s var(--ease) forwards; }
.svc-links { position: relative; z-index: 1; list-style: none; margin: 0 0 var(--s4); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-links a { display: inline-block; font-size: 14px; font-weight: 600; color: var(--blue-deep); background: #edf2f9; border: 1px solid #d3deec; border-radius: 999px; padding: 6px 12px; text-decoration: none; transition: background-color .2s, border-color .2s; }
.svc-links a:hover { background: #fff; border-color: var(--blue); }
.svc-text .lg-more { position: relative; z-index: 1; text-decoration: none; }

/* Service page: in-page tabs */
.svc-tabs { position: sticky; top: 72px; z-index: 20; background: rgba(243,245,241,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.svc-tabs .wrap { display: flex; gap: var(--s5); overflow-x: auto; scrollbar-width: none; }
.svc-tabs a { flex: none; padding: 14px 0; font-size: 15px; font-weight: 600; color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid transparent; }
.svc-tabs a:hover, .svc-tabs a.is-on { color: var(--blue); border-bottom-color: var(--red); }

/* Service page: one section per service */
.svc-item { padding: 0 0 var(--s7); margin-bottom: var(--s7); border-bottom: 1px solid var(--rule); scroll-margin-top: 140px; }
.svc-item:last-of-type { border-bottom: 0; }
.svc-item h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: var(--s5); }
.si-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s6); }
.si-h { font: 600 15px/1.3 var(--sans); color: var(--red); letter-spacing: 0; margin: var(--s5) 0 var(--s3); }
.si-box .si-h { margin-top: 0; }
.si-main p { max-width: 36em; }
.si-side { display: grid; gap: var(--s4); align-content: start; }
.si-box { background: #fff; border: 1px solid var(--paper-deep); border-radius: 14px; padding: var(--s5); box-shadow: var(--shadow-raised); }
.si-box .ticks { font-size: 15.5px; gap: 8px; }
.si-who { background: linear-gradient(160deg, #fff, #f3f7fc); border-color: #d3deec; }
.si-ask { display: inline-block; margin-top: var(--s5); font-weight: 600; }
.svc-compare { margin-bottom: var(--s7); }
.svc-compare h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: var(--s4); }
.table-wrap { overflow-x: auto; border: 1px solid var(--paper-deep); border-radius: 14px; background: #fff; box-shadow: var(--shadow-raised); }
.svc-compare table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.svc-compare th, .svc-compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.svc-compare thead th { font: 600 17px/1.3 var(--serif); background: #f3f7fc; color: var(--blue-deep); }
.svc-compare tbody th { font-weight: 600; color: var(--ink-soft); width: 22%; }
.svc-compare tr:last-child th, .svc-compare tr:last-child td { border-bottom: 0; }
.svc-note h2 { font-size: 20px; margin-bottom: var(--s2); color: var(--red); }
@media (max-width: 920px) { .si-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } .svc-tabs { top: 64px; } }

/* Knowledge Bank */
.kb-hero h1 { max-width: none; }
.kb-hero p a { font-weight: 600; }
.kb-search { position: relative; margin-top: var(--s6); max-width: 720px; }
.kb-search svg { position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; fill: none; stroke: var(--ink-soft); stroke-width: 2; stroke-linecap: round; }
.kb-search input { width: 100%; min-height: 58px; padding: 0 120px 0 52px; font: 400 18px var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #b9c8dc; border-radius: 14px; box-shadow: var(--shadow-raised); }
.kb-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,115,201,.2), var(--shadow-raised); }
.kb-count { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--ink-soft); }
.kb-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s5); }
.kb-jump a { font-size: 14.5px; font-weight: 600; color: var(--blue-deep); background: #fff; border: 1px solid #d3deec; border-radius: 999px; padding: 7px 14px; text-decoration: none; }
.kb-jump a:hover { border-color: var(--blue); }
.kb-body { padding-top: var(--s7); padding-bottom: var(--s9); }
.kb-section { padding: var(--s6) 0 var(--s7); border-top: 2px solid var(--ink); scroll-margin-top: 90px; }
.kb-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s5); align-items: baseline; margin-bottom: var(--s5); }
.kb-head h2 { font-size: clamp(28px, 3.2vw, 38px); }
.kb-head p { margin: 0; color: var(--ink-soft); }
.kb-h3 { font-size: 22px; margin: var(--s7) 0 var(--s3); }
.kb-group + .kb-group { margin-top: var(--s5); }
.kb-sub { font: 600 15px/1.3 var(--sans); color: var(--red); margin: 0 0 var(--s2); }
.kb-old { margin-top: var(--s5); background: #fff; border: 1px dashed #c9d6e7; border-radius: 14px; padding: 0 var(--s5); }
.kb-old > summary { cursor: pointer; padding: var(--s4) 0; font-weight: 600; color: var(--ink); }
.kb-old > summary span { display: block; font-weight: 400; font-size: 14px; color: var(--ink-soft); }
.kb-old[open] { padding-bottom: var(--s5); }
.kb-empty, .kb-source { color: var(--ink-soft); font-size: 15px; }
.kb-source { margin-top: var(--s6); }
.kb-dim { opacity: .45; }
.calc-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--paper-deep); border-radius: 14px; width: max-content; max-width: 100%; }
.calc-tabs [role="tab"] { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; font: 600 15px var(--sans); color: var(--ink-soft); cursor: pointer; }
.calc-tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--blue-deep); box-shadow: var(--shadow-raised); }
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s6); margin-top: var(--s4); padding: var(--s6); background: #fff; border: 1px solid var(--paper-deep); border-radius: 18px; box-shadow: var(--shadow-float); }
.calc[hidden] { display: none; }
.calc-form label { display: block; font-size: 15px; font-weight: 600; margin: var(--s4) 0 6px; }
.calc-form input { width: 100%; min-height: 48px; padding: 0 14px; font: 500 18px var(--sans); color: var(--ink); background: var(--sheet); border: 1px solid #b9c8dc; border-radius: 10px; font-variant-numeric: tabular-nums; }
.calc-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,115,201,.22); }
.calc-intro { margin: 0; color: var(--ink-soft); font-size: 15px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s4); }
.seg:first-child { margin-top: 0; }
.seg-btn { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #c9d6e7; background: var(--sheet); font: 600 14px var(--sans); color: var(--ink-soft); cursor: pointer; }
.seg-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.rate-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rate-row input { width: 120px; flex: none; }
.chips-mini { display: flex; gap: 6px; }
.chips-mini button { min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid #c9d6e7; background: #fff; font: 600 14px var(--sans); color: var(--blue-deep); cursor: pointer; }
.chips-mini button:hover { border-color: var(--blue); }
.calc-out { align-self: start; background: linear-gradient(160deg, #f3f7fc, #fff); border: 1px solid #d3deec; border-radius: 14px; padding: var(--s5); }
.calc-rows { margin: 0; display: grid; gap: 0; }
.calc-rows > div { display: flex; justify-content: space-between; gap: var(--s4); padding: 12px 0; border-bottom: 1px solid var(--rule); }
.calc-rows dt { color: var(--ink-soft); font-size: 15px; }
.calc-rows dd { margin: 0; font: 600 17px var(--sans); font-variant-numeric: tabular-nums; text-align: right; }
.calc-rows .calc-total { border-bottom: 0; padding-top: 16px; }
.calc-rows .calc-total dt { color: var(--ink); font-weight: 600; }
.calc-rows .calc-total dd { font: 600 26px var(--serif); color: var(--blue-deep); }
.calc-msg { margin: 0; color: var(--red); font-weight: 600; font-size: 15px; }
.calc-note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 920px) { .calc { grid-template-columns: minmax(0, 1fr); padding: var(--s5); } .kb-head { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
@media (max-width: 640px) { .kb-search input { font-size: 16px; padding-right: 90px; } .calc-tabs { width: 100%; } .calc-tabs [role="tab"] { flex: 1 1 auto; padding: 0 10px; font-size: 14px; } }

.calc-cat { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px 0 2px; }
.calc-break { flex-basis: 100%; height: 0; border-top: 1px solid #d3dce8; margin: 2px 4px; }
.calc-cat > span { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 12px; border-radius: 8px; background: var(--red); color: #fff; font: 700 13.5px/1 var(--sans); letter-spacing: .01em; box-shadow: 0 1px 0 rgba(0,0,0,.08), inset 0 -2px 0 rgba(0,0,0,.14); }
.calc-cat > span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .85; }
@media (max-width: 640px) { .calc-cat { flex-basis: 100%; padding: 6px 2px 2px; min-height: 0; } .calc-break { border-top: 0; margin: 0; } }
.calc-tabs { width: 100%; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.calc-table th, .calc-table td { padding: 10px 6px; border-bottom: 1px solid var(--rule); text-align: right; }
.calc-table th:first-child { text-align: left; font-weight: 500; color: var(--ink-soft); }
.calc-table thead th { font: 600 15px var(--serif); color: var(--blue-deep); }
.calc-total-row th, .calc-total-row td { border-bottom: 0; font: 600 20px var(--serif); color: var(--blue-deep); padding-top: 14px; }
.calc-total-row th:first-child { color: var(--ink); font: 600 16px var(--sans); }
.calc-verdict { margin: var(--s4) 0 0; font-weight: 600; color: var(--ink); }
.calc-rule { margin: var(--s3) 0 0; font-size: 14px; color: var(--ink-soft); }
.calc-form select { width: 100%; min-height: 48px; padding: 0 12px; font: 500 16px var(--sans); color: var(--ink); background: var(--sheet); border: 1px solid #b9c8dc; border-radius: 10px; }
.calc-form input[type="date"] { font-size: 16px; }
.calc-out { min-width: 0; overflow-x: auto; }
@media (max-width: 640px) { .calc-table { font-size: 13.5px; } .calc-table th, .calc-table td { padding: 9px 3px; } .calc-total-row th, .calc-total-row td { font-size: 17px; } .calc-out { padding: var(--s4); } }

.kb-card + .kb-card, .kb-card + .kb-group { margin-top: var(--s6); }
.kb-table { width: 100%; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.kb-table th, .kb-table td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.kb-table thead th { font: 600 15px/1.3 var(--sans); color: var(--blue-deep); background: #f3f7fc; }
.kb-table tbody th { font-weight: 500; color: var(--ink); }
.kb-table tbody tr:last-child th, .kb-table tbody tr:last-child td { border-bottom: 0; }
.kb-table tbody tr:hover { background: #f8fafc; }
.kb-tnote { margin: var(--s3) 0 0; font-size: 14px; color: var(--ink-soft); max-width: 60em; }
.up-filter { display: flex; gap: 6px; margin-bottom: var(--s4); }
.up-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--paper-deep); border-radius: 14px; box-shadow: var(--shadow-raised); max-height: 560px; overflow: auto; }
.up-list li + li { border-top: 1px solid var(--rule); }
.up-list a { display: grid; grid-template-columns: 7.5em 9.5em 1fr; gap: var(--s4); padding: 13px 18px; color: var(--ink); text-decoration: none; font-size: 15.5px; line-height: 1.45; }
.up-list a:hover { background: #f3f7fc; }
.up-list time { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.up-src { color: var(--red); font-weight: 600; font-size: 14px; }
@media (max-width: 640px) { .up-list a { grid-template-columns: 1fr; gap: 2px; } .kb-table th, .kb-table td { padding: 9px 10px; font-size: 14px; } }

/* Phones and tablets */
@media (max-width: 1080px) {
  .nav { gap: var(--s4); }
  .nav a { font-size: 14px; }
  .header-call { display: none; }
}
@media (max-width: 920px) {
  .menu-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; border: 1px solid #b9c8dc; background: var(--sheet); cursor: pointer; }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--spring), opacity .2s; }
  .menu-lines { position: relative; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
  .menu-lines::before { top: -6px; } .menu-lines::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: var(--s2) var(--s5) var(--s5); background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 20px 30px -20px rgba(22,35,61,.3); display: none; }
  .nav.is-open { display: flex; }
  .nav a { font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav a:hover { border-bottom-color: var(--rule); }
  .nav-call { display: block; color: var(--blue) !important; font-weight: 600 !important; }

  .hero { padding: var(--s6) 0 var(--s7); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .hero h1 { max-width: 14ch; }
  .section { padding: var(--s8) 0; }
  .section-head { grid-template-columns: 1fr; gap: var(--s3); margin-bottom: var(--s6); }
  .account { grid-template-columns: 1fr; gap: var(--s3); }
  .clients-grid, .history-grid, .contact-grid, .cal-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .history-side { position: static; }
  .history-year { display: none; }
  .timeline li { min-height: 0; padding-bottom: var(--s5); }
  .people, .people-strip, .vcards { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-hero-grid, .svc-body-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .svc-side { position: static; }
  .ledger-grid { grid-template-columns: 1fr 1fr; }
  .lg-cell:not(:nth-child(3n)) { border-right: 0; }
  .lg-cell:nth-child(odd) { border-right: 1px solid var(--rule); }
  .section { padding: var(--s8) 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .link-group { grid-template-columns: 1fr; gap: var(--s3); }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 var(--s4); }
  .header-row { min-height: 64px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 12.5px; margin-top: 2px; }
  .brand-mark { height: 36px; padding: 3px 5px; }
  .hero h1 { font-size: clamp(36px, 10.4vw, 46px); }
  .lede { font-size: 17.5px; margin: var(--s4) 0 var(--s5); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { padding: 0 12px; }
  .hero::before { display: none; }
  .entries summary { grid-template-columns: minmax(0, 1fr) 22px; gap: 4px var(--s3); }
  .e-line { grid-column: 1; grid-row: 2; font-size: 14.5px; }
  .entries summary::after { grid-column: 2; grid-row: 1 / span 2; }
  .sectors { columns: 1; }
  .ledger-grid, .svc-grid { grid-template-columns: 1fr; }
  .svc-text { padding: var(--s4); }
  .svc-text h3 { font-size: 22px; }
  .svc-nextprev a { font-size: 19px; }
  .vc-seal { width: 60px; height: 60px; }
  .vc-band { padding: var(--s4); }
  .vc-body { padding: var(--s4); }
  .lg-cell:nth-child(odd) { border-right: 0; }
  .lg-cell { padding: 20px var(--s1); gap: 6px; }
  .lg-cell .ticks { display: none; }
  .lg-cell h3 { font-size: 23px; }
  .lg-more { margin-top: 6px; }
  .mini-person { grid-template-columns: 60px 1fr; padding: var(--s4); }
  .mini-person .person-seal { width: 60px; height: 60px; }
  .sectors li { font-size: 20px; }
  .cal { padding: var(--s3); }
  .cd-list { max-height: none; overflow: visible; padding-right: 0; }
  .cal-dow, .cal-days { gap: 4px; }
  .day { font-size: 14px; border-radius: 7px; gap: 3px; }
  .day .count { display: none; }
  .day .dots i { width: 5px; height: 5px; }
  .person { padding: var(--s5); }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .enquiry { padding: var(--s5); }
  .form-actions .btn { width: 100%; }
  .link-list { columns: 1; }
  .footer-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .illus .il-tick, .illus-accounts .il-trend { stroke-dashoffset: 0; }
  .illus-gst .il-imprint, .illus-accounts .il-dot { opacity: 1; }
  .illus-company .il-piece.right { transform: none; }
  .illus-accounts .il-bars rect { transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ink-circle path { stroke-dashoffset: 0; }
}

/* Knowledge Bank additions (4 Oct 2026): GST rate finder, IFSC finder, Acts/Rules part headings */
.kb-part { font: 600 22px/1.25 var(--serif); color: var(--ink); margin: var(--s6) 0 var(--s3); }
.kb-part:first-of-type { margin-top: 0; }
.gstr-out { padding: 0; max-height: 470px; overflow-y: auto; }
.gstr-list { list-style: none; margin: 0; padding: 0; }
.gstr-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 11px var(--s4); border-bottom: 1px solid #e1e8f2; }
.gstr-list li:last-child { border-bottom: 0; }
.gstr-list p { margin: 0; font-size: 15px; font-weight: 500; }
.gstr-list p span { display: block; font-size: 13px; font-weight: 400; color: var(--ink-soft); margin-top: 2px; }
.gstr-list b { font: 700 17px var(--sans); color: var(--blue-deep); font-variant-numeric: tabular-nums; min-width: 3.6em; text-align: right; }
.gstr-use, .btn-mini { min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid #c9d6e7; background: #fff; font: 600 14px var(--sans); color: var(--blue-deep); cursor: pointer; }
.gstr-use:hover, .btn-mini:hover { border-color: var(--blue); }
.gstr-use:active, .btn-mini:active { transform: translateY(1px); }
.btn-mini { background: var(--blue); border-color: var(--blue); color: #fff; min-height: 48px; padding: 0 18px; }
.btn-mini:hover { background: var(--blue-deep); }
#gstr-none { padding: var(--s4); }
.calc-form #ifsc-q { width: 200px; text-transform: uppercase; letter-spacing: .04em; }
.calc-form input[type="search"] { -webkit-appearance: none; appearance: none; }
@media (max-width: 640px) { .gstr-list li { grid-template-columns: 1fr auto; } .gstr-use { grid-column: 2; } .gstr-out { max-height: 420px; } }
.calc-tabs [role="tab"].kb-hit { background: #fff; color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.gstr-list li[hidden] { display: none; }
.kb-tnote + .kb-group { margin-top: var(--s5); }
.link-list-3 { columns: 3; }
@media (max-width: 900px) { .link-list-3 { columns: 2; } }
#it-age-wrap .seg, #it-co-wrap .seg { margin-top: var(--s4); }
@media (max-width: 640px) {
  .calc-table td { font-size: 13px; }
  .calc-table .calc-total-row td { font-size: 14.5px; }
  .calc-table thead th { font-size: 14px; }
}
@media (max-width: 420px) {
  .calc { padding: var(--s4) 14px; }
  .calc-out { padding: 14px 10px; }
  .calc-table th, .calc-table td { padding: 9px 2px; }
}
/* HSN rate list */
.hsn-out { padding: 0; max-height: 600px; overflow-y: auto; }
.hsn-out > .calc-rule, .hsn-out > .calc-intro, .hsn-out > .calc-msg { padding: var(--s4); margin: 0; }
.hsn-row { border-top: 1px solid #e1e8f2; }
.hsn-row > summary { display: grid; grid-template-columns: 6.2em 1fr auto; gap: 10px; align-items: baseline; padding: 11px var(--s4); cursor: pointer; list-style: none; }
.hsn-row > summary::-webkit-details-marker { display: none; }
.hsn-row > summary:hover { background: #f3f7fc; }
.hsn-row code { font: 600 14px var(--sans); color: var(--ink-soft); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.hsn-row summary span { font-size: 15px; }
.hsn-row summary b { font: 700 15px var(--sans); color: var(--blue-deep); text-align: right; white-space: nowrap; }
.hsn-row[open] > summary { background: #f3f7fc; }
.hsn-entries { list-style: none; margin: 0; padding: 0 var(--s4) var(--s3); }
.hsn-entries li { padding: 8px 0; border-bottom: 1px dashed #d3deec; font-size: 14px; }
.hsn-entries li b { color: var(--blue-deep); margin-right: 6px; }
.hsn-entries li span { display: block; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 2px; }
.hsn-also { margin: var(--s3) var(--s4) 0; font-size: 13px; font-weight: 600; color: var(--red); }
.hsn-row .calc-rule { padding: 0 var(--s4) var(--s3); }
@media (max-width: 640px) { .hsn-row > summary { grid-template-columns: 5.4em 1fr; } .hsn-row summary b { grid-column: 2; text-align: left; } .hsn-out { max-height: 520px; } }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }
.hra-months { width: 100%; border-collapse: collapse; margin-top: var(--s4); font-size: 14px; }
.hra-months th, .hra-months td { padding: 4px 3px; text-align: left; }
.hra-months thead th { font-weight: 600; color: var(--ink-soft); font-size: 13px; }
.calc-form .hra-months input { min-height: 40px; padding: 0 8px; font-size: 15px; }
.up-search { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: var(--s3); }
.up-search label { font-weight: 600; font-size: 15px; }
.up-search input { flex: 1 1 260px; min-height: 46px; padding: 0 14px; font: 500 16px var(--sans); color: var(--ink); background: #fff; border: 1px solid #b9c8dc; border-radius: 10px; }
.up-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,115,201,.22); }
.up-search span { font-size: 14px; color: var(--ink-soft); }
.up-list { max-height: 620px; overflow-y: auto; }
/* NIC finder and full depreciation schedules */
.nic-row { display: grid; grid-template-columns: 4.6em 1fr auto; gap: 10px; align-items: baseline; padding: 10px var(--s4); border-top: 1px solid #e1e8f2; }
.nic-row code { font: 600 14px var(--sans); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.nic-row p { margin: 0; font-size: 15px; }
.nic-row p span { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.nic-row b { font: 600 12.5px var(--sans); color: var(--blue-deep); }
.nic-row.lvl2 p, .nic-row.lvl3 p { font-weight: 600; }
.kb-table tr.kb-th th { background: var(--paper-deep); font-weight: 600; text-align: left; }
.kb-full { margin-top: var(--s4); }
@media (max-width: 640px) { .nic-row { grid-template-columns: 4em 1fr; } .nic-row b { grid-column: 2; } }

/* Details the firm still has to confirm: shown as a visible note, never as finished text */
.tbd { background: #fff4d6; color: #6b4a00; border: 1px dashed #d9a93a; border-radius: 6px; padding: 1px 7px; font-size: .92em; white-space: normal; }

/* Latest updates list (Knowledge Bank) */
.up-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.up-list li { display: flex; justify-content: space-between; gap: var(--s3); padding: 8px 12px; border-radius: 8px; background: #edf2f9; font-size: 14.5px; }

/* Calculators: the firm's disclaimer, shown above the tools */
.calc-disclaimer { margin: 0 0 var(--s5); padding: 14px 18px; border-left: 4px solid var(--red); border-radius: 0 10px 10px 0; background: #fbecea; color: var(--ink); font-size: 15.5px; line-height: 1.55; max-width: 60em; }
.calc-disclaimer b { color: var(--red); }

/* 14 sectors: the confidentiality note fills the last row (2 of 4 or 2 of 2 columns; 1 of 3 on tablets) */
.sector-note { grid-column: span 2; }
@media (max-width: 920px) and (min-width: 641px) { .sector-note { grid-column: span 1; } }

/* About: how we work */
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); counter-reset: step; }
.how-steps li { counter-increment: step; position: relative; padding: var(--s6) var(--s5) var(--s5); background: #fff; border-radius: 14px; border-top: 3px solid var(--blue); box-shadow: var(--shadow-raised); }
.how-steps li::before { content: counter(step); display: block; font: 600 34px/1 var(--serif); color: var(--red); margin-bottom: var(--s3); }
.how-steps h3 { font-size: 21px; margin-bottom: 8px; }
.how-steps p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.how-notes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); margin-top: var(--s6); }
.how-notes > div { padding: var(--s5); border-radius: 14px; background: var(--paper-deep); }
.how-notes h3 { font-size: 20px; margin-bottom: 6px; }
.how-notes p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 920px) { .how-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .how-steps, .how-notes { grid-template-columns: 1fr; } }

/* About: the founder's story, four bios, values */
.story-grid { display: block; }
.founder { margin: 0; position: sticky; top: 110px; }
.founder-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; aspect-ratio: 4 / 5; border-radius: 10px; background: var(--paper-deep); border: 1.5px dashed #b9c8dc; }
.founder-photo svg { width: 64px; height: 80px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; opacity: .6; }
.founder-photo small { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.founder figcaption { margin-top: var(--s3); display: grid; gap: 2px; }
.founder figcaption b { font: 600 20px/1.2 var(--serif); color: var(--ink); }
.founder figcaption span { font-size: 14.5px; color: var(--ink-soft); }
.story-text { max-width: 40em; }
.story-text h2 { margin-bottom: var(--s5); }
.story-text p { font-size: 17.5px; line-height: 1.75; margin: 0 0 var(--s4); }
.story-text .story-close { font: 600 22px/1.4 var(--serif); color: var(--blue-deep); margin-top: var(--s5); padding-left: var(--s4); border-left: 3px solid var(--red); }
.vcards-full { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.vcards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.values { background: var(--paper-deep); }
.values-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s8); align-items: start; }
.values-list { margin: 0; display: grid; }
.values-list > div { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: var(--s5); padding: var(--s4) 0; border-top: 1px solid var(--rule); }
.values-list > div:last-child { border-bottom: 1px solid var(--rule); }
.values-list dt { font: 600 20px/1.3 var(--serif); color: var(--blue-deep); }
.values-list dd { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
@media (max-width: 1100px) { .vcards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 920px) {
  .story-grid, .values-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .founder { position: static; display: grid; grid-template-columns: 120px 1fr; gap: var(--s4); align-items: end; }
  .vcards-full, .vcards-4 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) { .values-list > div { grid-template-columns: minmax(0, 1fr); gap: 6px; } .story-text p { font-size: 17px; } }
.vcards-4 .vc-band { flex-direction: column; align-items: flex-start; gap: var(--s3); }
.vcards-4 .vc-band h3 { font-size: 22px; }
.vc-list { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.vc-list b { color: var(--ink); font-weight: 600; }
.vcards-full .vc-areas { font-size: 14.5px; color: var(--ink-soft); padding-top: var(--s3); border-top: 1px solid var(--paper-deep); }
.vcards-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); }
.vcards-5 .vc-band h3 { font-size: 20px; }
@media (max-width: 1240px) { .vcards-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 920px) { .vcards-5 { grid-template-columns: minmax(0, 1fr); } }
.managers { padding-top: 0; }

/* Phones: every tap target at least 44px tall (13 Oct 2026 sweep) */
@media (max-width: 640px) {
  .brand { min-height: 44px; }
  .crumbs a, .si-ask, .side-due > a, .svc-card h3 a, .vcard .lg-more, a.lg-more { display: inline-flex; align-items: center; min-height: 44px; }
  .kb-jump a { min-height: 44px; display: inline-flex; align-items: center; }
  .up-ok input { width: 24px; height: 24px; }
}
@media (max-width: 640px) { .facts dd a { display: inline-flex; align-items: center; min-height: 44px; } }
@media (max-width: 640px) { .crumbs { align-items: center; margin-top: -10px; margin-bottom: 6px; } }

/* Sectors: the confidentiality tile (navy, like the partner cards) */
.sector.sector-note { flex-direction: row; align-items: center; justify-content: flex-start; gap: var(--s5); border: 0; color: #fff; background: linear-gradient(120deg, var(--blue-deep), var(--blue)); box-shadow: var(--shadow-raised); position: relative; overflow: hidden; }
.sector.sector-note::after { content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 0 0 20px rgba(255,255,255,.04); }
.sector.sector-note:hover { transform: none; box-shadow: var(--shadow-raised); }
.sector.sector-note svg, .sector.sector-note:hover svg { flex: none; stroke: #fff; background: rgba(255,255,255,.12); }
.sector-note .note-text { display: grid; gap: 6px; position: relative; z-index: 1; }
.sector-note .note-text b { font: 600 22px/1.2 var(--serif); color: #fff; }
.sector-note .note-text span { font: 400 15.5px/1.5 var(--sans); color: rgba(255,255,255,.82); }
@media (max-width: 640px) { .sector.sector-note { grid-column: 1 / -1; min-height: 0; padding: var(--s5) var(--s4); } .sector-note .note-text b { font-size: 19px; } .sector-note .note-text span { font-size: 14.5px; } }
@media (max-width: 920px) and (min-width: 641px) { .sector.sector-note { flex-direction: column; align-items: flex-start; justify-content: space-between; } .sector-note .note-text b { font-size: 19px; } .sector-note .note-text span { font-size: 14px; } }

/* About: values on a navy band */
.values {
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(47, 115, 201, .2), transparent 70%),
    repeating-linear-gradient(to bottom, transparent 0 39px, rgba(168, 183, 205, .07) 39px 40px),
    var(--night);
  color: var(--on-night);
}
.values h2 { color: #fff; }
.values .section-head p { color: var(--on-night-soft); }
.values-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.values-row li { padding: var(--s2) var(--s5) var(--s4); border-left: 1px solid rgba(168, 183, 205, .22); }
.values-row li:first-child { padding-left: 0; border-left: 0; }
.v-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); margin-bottom: var(--s5); transition: background-color .3s, color .3s, transform .45s var(--spring); }
.v-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.values-row li:hover .v-icon { background: var(--gold); color: var(--night); transform: translateY(-3px) rotate(-6deg); }
.values-row h3 { color: #fff; font-size: 22px; line-height: 1.2; margin-bottom: var(--s3); }
.values-row p { margin: 0; color: var(--on-night-soft); font-size: 15px; line-height: 1.65; }
@media (max-width: 1080px) { .values-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s6); } .values-row li:nth-child(4) { padding-left: 0; border-left: 0; } }
@media (max-width: 640px) {
  .values-row { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .values-row li, .values-row li:nth-child(4) { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--s4); padding: var(--s5) 0; border-left: 0; border-top: 1px solid rgba(168, 183, 205, .22); }
  .values-row li:first-child { border-top: 0; padding-top: 0; }
  .v-icon { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
  .v-icon svg { width: 22px; height: 22px; }
  .values-row h3 { font-size: 20px; margin-bottom: 6px; }
}

/* About: how we work as a connected path; the red line fills once, when it comes into view */
.how-path { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.how-path::before, .how-path::after { content: ""; position: absolute; top: 27px; left: 28px; right: calc(25% - 28px); height: 2px; background: var(--rule); }
.how-path::after { background: var(--red); transform: scaleX(1); transform-origin: left; transition: transform 1.4s var(--ease) .15s; }
.js .how-path:not(.is-in)::after { transform: scaleX(0); }
.how-node { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sheet); border: 2px solid var(--red); color: var(--red); font: 600 24px/1 var(--serif); margin-bottom: var(--s5); box-shadow: 0 0 0 6px var(--paper); transition: background-color .3s, color .3s; }
.how-path li:hover .how-node { background: var(--red); color: #fff; }
.how-card { position: relative; padding: var(--s5); background: var(--sheet); border-radius: 14px; box-shadow: var(--shadow-raised); }
.how-card::before { content: ""; position: absolute; left: 28px; top: -12px; width: 14px; height: 14px; background: var(--sheet); transform: rotate(45deg); border-radius: 2px; }
.how-card h3 { font-size: 21px; margin-bottom: 8px; }
.how-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.how-card-pair { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--s7); border-radius: 14px; overflow: hidden; background: var(--sheet); box-shadow: var(--shadow-raised); background-image: linear-gradient(to right, transparent 46px, rgba(169, 43, 34, .35) 46px 47px, transparent 47px), repeating-linear-gradient(to bottom, transparent 0 31px, rgba(22, 79, 150, .07) 31px 32px); }
.how-card-pair > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s4); padding: var(--s6) var(--s6) var(--s6) 64px; }
.how-card-pair > div + div { border-left: 1px solid var(--paper-deep); }
.hn-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(22, 79, 150, .08); color: var(--blue); }
.hn-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.how-card-pair h3 { font-size: 20px; margin-bottom: 6px; }
.how-card-pair p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 920px) {
  .how-path { grid-template-columns: minmax(0, 1fr); gap: var(--s5); padding-left: 0; }
  .how-path::before, .how-path::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .how-path::after { transform: scaleY(1); transform-origin: top; }
  .js .how-path:not(.is-in)::after { transform: scaleY(0); }
  .how-path li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s4); align-items: start; }
  .how-node { margin: 0; }
  .how-card::before { left: -6px; top: 20px; }
  .how-card-pair { grid-template-columns: minmax(0, 1fr); }
  .how-card-pair > div + div { border-left: 0; border-top: 1px solid var(--paper-deep); }
}
@media (max-width: 640px) { .how-card-pair > div { padding: var(--s5) var(--s4) var(--s5) 60px; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s3); } .hn-icon { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .how-path::after { transition: none; } .js .how-path:not(.is-in)::after { transform: none; } .v-icon { transition: none; } }
.how-path li { display: flex; flex-direction: column; }
.how-card { flex: 1; background: #fff; }
.how-card::before { left: 21px; background: #fff; }
.v-icon svg { width: 28px; height: 28px; }
@media (max-width: 920px) { .how-path li { display: grid; } .how-card::before { left: -6px; top: 21px; } }

/* About: values lotus (five petals; idea from the BBM site). Navy band from .values above. */
.vl { display: grid; gap: var(--s7); --rot: 0deg; }
@media (min-width: 1000px) { .vl { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; } }
.vl-wheel { display: none; }
.vl.is-js .vl-wheel { display: block; position: relative; width: min(100%, 34rem); margin-inline: auto; container-type: inline-size; }
.vl-rose { position: relative; width: 88%; margin-inline: auto; aspect-ratio: 1; }
@media (min-width: 600px) { .vl.is-js .vl-wheel { padding-inline: 2.5rem; } .vl-rose { width: 68%; margin: 16%; } }
.vl-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.vl-ring { fill: none; stroke: rgba(168, 183, 205, .25); stroke-width: 1; }
.vl-ring--2 { stroke-dasharray: 2 5; stroke: rgba(200, 163, 91, .55); }
.vl-ripple { fill: none; stroke: var(--gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: vl-ripple 1.3s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes vl-ripple { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(9); } }
.vl-spin { transform-box: view-box; transform-origin: 200px 200px; transform: rotate(var(--rot)); transition: transform 1.1s cubic-bezier(.34, 1.25, .5, 1); }
.vl-back { fill: url(#vl-backg); stroke: rgba(233, 238, 246, .25); stroke-width: 1; }
.vl-inner { fill: url(#vl-gold); stroke: rgba(156, 114, 48, .6); stroke-width: .8; filter: url(#vl-soft); }
.vl-petal { cursor: pointer; }
.vl-petal-body { transform-box: view-box; transform-origin: 200px 200px; transition: transform .6s cubic-bezier(.34, 1.45, .6, 1); }
.vl-petal-shape { fill: url(#vl-off); stroke: rgba(15, 59, 115, .5); stroke-width: 1.2; transition: stroke .4s; filter: url(#vl-soft); }
.vl-petal-shine { fill: url(#vl-shine); pointer-events: none; }
.vl-petal-veins { fill: none; stroke: rgba(15, 59, 115, .22); stroke-width: 1; stroke-linecap: round; pointer-events: none; transition: stroke .4s; }
.vl-petal.is-peek .vl-petal-body { transform: translateY(-5px) scale(1.03); }
.vl-petal.is-peek .vl-petal-shape { stroke: var(--gold); }
.vl-petal.is-on .vl-petal-body { transform: translateY(-9px) scale(1.08); }
.vl-petal.is-on .vl-petal-shape { fill: url(#vl-on); stroke: #6c1a19; filter: url(#vl-lift); }
.vl-petal.is-on .vl-petal-shine { opacity: .4; }
.vl-petal.is-on .vl-petal-veins { stroke: rgba(240, 212, 154, .7); }
.vl-pod { filter: url(#vl-soft); }
.vl-pod-rim { fill: none; stroke: rgba(120, 84, 25, .4); stroke-width: 1; }
.vl-seed { fill: #7d5a1f; opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
  .vl.is-js:not(.is-open) .vl-petal-body, .vl.is-js:not(.is-open) .vl-back, .vl.is-js:not(.is-open) .vl-inner { transform: scale(.18) rotate(-35deg); opacity: 0; }
  .vl-back, .vl-inner { transform-box: view-box; transform-origin: 200px 200px; }
  .vl.is-js.is-open .vl-back { animation: vl-bloom 1.1s cubic-bezier(.2, .9, .3, 1.15) both; animation-delay: calc(var(--i) * 50ms); }
  .vl.is-js.is-open .vl-petal-body { animation: vl-bloom 1.25s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(140ms + var(--i) * 85ms); }
  .vl.is-js.is-open .vl-inner { animation: vl-bloom .9s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(560ms + var(--i) * 45ms); }
  .vl.is-js.is-open .vl-petal.is-on .vl-petal-body { animation-name: vl-bloom-on; }
}
@keyframes vl-bloom { from { transform: scale(.18) rotate(-35deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes vl-bloom-on { from { transform: scale(.18) rotate(-35deg); opacity: 0; } to { transform: translateY(-9px) scale(1.08); opacity: 1; } }
.vl.is-done .vl-petal-body, .vl.is-done .vl-back, .vl.is-done .vl-inner { animation: none !important; }
.vl.no-anim .vl-spin, .vl.no-anim .vl-tab { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .vl-spin, .vl-petal-body, .vl-tab { transition: none !important; } .vl-ripple { display: none; } }

/* names: round the flower on wider screens (they travel with it), a grid under it on phones */
.vl-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); margin-top: var(--s5); }
.vl-tab { font: 600 14.5px/1.2 var(--sans); min-height: 44px; padding: 8px 14px; cursor: pointer; border: 1px solid rgba(168, 183, 205, .4); border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--on-night); transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.vl-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
.vl-tab:hover { border-color: var(--gold); color: #fff; }
.vl-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.vl-tab[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); box-shadow: 0 6px 18px -6px rgba(200, 163, 91, .7); }
@media (min-width: 600px) {
  .vl-tabs { display: block; margin: 0; position: absolute; inset: 0; pointer-events: none; }
  .vl-tab { position: absolute; left: 50%; top: 50%; pointer-events: auto; white-space: nowrap; background: rgba(15, 30, 56, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font: 500 16px/1.2 var(--serif); padding-inline: 16px;
    transform: translate(-50%, -50%) rotate(calc(var(--a) + var(--rot))) translateY(-41cqi) rotate(calc(-1 * (var(--a) + var(--rot))));
    transition: transform 1.1s cubic-bezier(.34, 1.25, .5, 1), background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
}

/* the card */
.vl-stage { position: relative; touch-action: pan-y; }
.vl-panel { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: var(--s4); padding: var(--s5) 0; border-top: 1px solid rgba(168, 183, 205, .22); }
.vl-panel .v-icon { grid-row: span 2; margin: 0; }
.vl-panel h3 { color: #fff; font-size: 22px; margin: 6px 0 var(--s2); }
.vl-panel p { margin: 0; color: var(--on-night-soft); line-height: 1.65; }
.vl.is-js .vl-panel { display: block; position: relative; padding: var(--s6) var(--s6) var(--s6); border: 0; border-radius: 16px; background: var(--sheet); box-shadow: var(--shadow-float); overflow: hidden; }
.vl.is-js .vl-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.vl.is-js .vl-panel[hidden] { display: none; }
.vl.is-js .vl-panel .v-icon { margin-bottom: var(--s5); border-color: var(--red); color: var(--red); }
.vl.is-js .vl-panel h3 { color: var(--ink); font-size: clamp(26px, 3vw, 34px); line-height: 1.1; margin: 0 0 var(--s3); letter-spacing: -.01em; }
.vl.is-js .vl-panel p { color: var(--ink-soft); font-size: 17.5px; line-height: 1.65; max-width: 34em; }
@media (prefers-reduced-motion: no-preference) { .vl.is-js .vl-panel:not([hidden]) > * { animation: vl-in .5s var(--ease) both; } .vl.is-js .vl-panel:not([hidden]) > p { animation-delay: .06s; } }
@keyframes vl-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.vl-nav { display: none; }
.vl.is-js .vl-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-top: var(--s4); }
.vl-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(168, 183, 205, .4); background: transparent; color: var(--on-night); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, color .2s; }
.vl-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vl-btn:hover { border-color: var(--gold); color: var(--gold); }
.vl-btn:active { transform: scale(.95); }
.vl-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.vl-dots { display: flex; gap: 6px; }
.vl-dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(168, 183, 205, .4); transition: width .35s var(--ease), background-color .35s; }
.vl-dots i.is-on { width: 26px; background: var(--gold); }
@media (max-width: 640px) { .vl.is-js .vl-panel { padding: var(--s5) var(--s4); } .vl.is-js .vl-panel p { font-size: 16px; } }
@media (min-width: 1000px) { .vl.is-js .vl-panel { min-height: 300px; } }

/* About: How we work as a journey. Pick a step: the folder moves along the rail and the card shows that step's scene */
.hw { display: grid; gap: var(--s6); }
@media (min-width: 921px) { .hw { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--s8); align-items: center; } }
.hw-rail { position: relative; }
.hw-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); position: relative; }
.hw-steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--rule); }
.hw-fill { position: absolute; left: 27px; top: 28px; width: 2px; height: 0; background: var(--red); transition: height .7s var(--ease); pointer-events: none; }
.hw-tab { position: relative; display: flex; align-items: center; gap: var(--s4); width: 100%; min-height: 72px; padding: 8px 16px 8px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); border-radius: 14px; }
.hw-node { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px solid var(--rule); color: var(--ink-soft); font: 600 22px/1 var(--serif); box-shadow: 0 0 0 6px var(--paper); transition: border-color .3s, background-color .3s, color .3s, transform .45s var(--spring); }
.hw-name { font: 600 21px/1.25 var(--serif); color: var(--ink-soft); transition: color .3s, transform .45s var(--spring); }
.hw-tab:hover .hw-node { border-color: var(--red); color: var(--red); }
.hw-tab:hover .hw-name { color: var(--ink); }
.hw-tab:focus-visible { outline: 3px solid var(--blue-focus); outline-offset: 2px; }
.hw-tab.is-done .hw-node { border-color: var(--red); color: var(--red); }
.hw-tab[aria-selected="true"] .hw-node { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.08); }
.hw-tab[aria-selected="true"] .hw-name { color: var(--ink); transform: translateX(4px); }
.hw-token { position: absolute; z-index: 2; left: 0; top: 0; width: 40px; height: 32px; pointer-events: none; transform: translate(var(--tx, 64px), var(--ty, 0px)) rotate(var(--tr, -6deg)); transition: transform .8s cubic-bezier(.34, 1.3, .5, 1); filter: drop-shadow(0 4px 6px rgba(22, 35, 61, .25)); opacity: 0; }
.hw.is-js .hw-token { opacity: 1; }
.hw-token svg { width: 100%; height: 100%; display: block; }
.tk-back { fill: #c9a25c; } .tk-sheet { fill: #fbfcf8; } .tk-front { fill: #e3c27f; }

.hw-stage { position: relative; touch-action: pan-y; }
.hw-panel { padding: var(--s5); background: #fff; border-radius: 16px; box-shadow: var(--shadow-raised); margin-bottom: var(--s4); }
.hw.is-js .hw-panel { position: relative; margin: 0; padding: 0 var(--s6) var(--s6); overflow: hidden; box-shadow: var(--shadow-float); }
.hw.is-js .hw-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold)); z-index: 1; }
.hw.is-js .hw-panel[hidden] { display: none; }
.hw-illus { display: block; width: 100%; height: auto; max-height: 230px; margin: 0 0 var(--s4); background: repeating-linear-gradient(to bottom, transparent 0 23px, rgba(22, 79, 150, .06) 23px 24px), var(--paper); border-radius: 0 0 12px 12px; }
.hw:not(.is-js) .hw-illus, .hw:not(.is-js) .hw-count { display: none; }
.hw-count { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--red); }
.hw-panel h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; margin: 0 0 var(--s3); }
.hw-panel p:last-child { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.65; max-width: 34em; }
.hw-nav { display: none; }
.hw.is-js .hw-nav { display: flex; justify-content: space-between; margin-top: var(--s4); }
.hw-btn { border-color: var(--rule); color: var(--ink); }
.hw-btn:hover { border-color: var(--red); color: var(--red); }
.hw-btn:focus-visible { outline-color: var(--blue-focus); }
.hw-btn[disabled] { opacity: .35; cursor: default; }

/* the scenes */
.il-phone { fill: var(--ink); } .il-screen { fill: #dfe8f4; } .il-dot { fill: #6b7a95; }
.il-bubble-a { fill: var(--blue); } .il-bubble-b { fill: #fff; stroke: var(--rule); stroke-width: 1.5; }
.il-ink { fill: #c9d6e7; } .il-ink-l { fill: rgba(255, 255, 255, .7); }
.il-typing circle { fill: var(--gold); }
.il-sheet { fill: #fff; stroke: #d3deec; stroke-width: 1.5; } .il-margin { stroke: rgba(169, 43, 34, .45); stroke-width: 1.5; }
.il-folder-back { fill: #c9a25c; } .il-folder-front { fill: #e3c27f; }
.il-box { fill: #fff; stroke: var(--blue); stroke-width: 2; }
.il-tick { fill: none; stroke: var(--red); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 0; }
.il-lens { fill: rgba(223, 232, 244, .55); stroke: var(--ink); stroke-width: 5; } .il-handle { stroke: var(--ink); stroke-width: 9; stroke-linecap: round; }
.il-ok { fill: #2e7d4f; } .il-ok-tick { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.il-stamp { transform-box: fill-box; transform-origin: center; transform: rotate(-14deg); }
.il-stamp-ring { fill: none; stroke: var(--red); stroke-width: 3; } .il-stamp-in { stroke-width: 1.5; }
.il-stamp-text { font: 700 13px var(--sans); letter-spacing: .12em; fill: var(--red); }
.il-cal { fill: #fff; stroke: #d3deec; stroke-width: 1.5; } .il-cal-top { fill: var(--blue); }
.il-cal-num { font: 600 30px var(--serif); fill: var(--ink); } .il-cal-sub { font: 700 9px var(--sans); letter-spacing: .14em; fill: var(--red); }
@media (prefers-reduced-motion: no-preference) {
  .hw-panel:not([hidden]) .il-pop { transform-box: fill-box; transform-origin: center bottom; animation: il-pop .5s cubic-bezier(.34, 1.5, .6, 1) var(--d, 0s) both; }
  .hw-panel:not([hidden]) .il-typing circle { animation: il-blink 1.2s ease-in-out var(--d, 0s) infinite both; }
  .hw-panel:not([hidden]) .il-typing circle:nth-child(2) { animation-delay: calc(var(--d, 0s) + .15s); }
  .hw-panel:not([hidden]) .il-typing circle:nth-child(3) { animation-delay: calc(var(--d, 0s) + .3s); }
  .hw-panel:not([hidden]) .il-row .il-tick { animation: il-draw .45s ease-out calc(var(--d, 0s) + .25s) both; }
  .hw-panel:not([hidden]) .il-row { animation: il-fade .3s ease-out var(--d, 0s) both; }
  .hw-panel:not([hidden]) .il-glass { animation: il-scan 1.3s cubic-bezier(.45, 0, .3, 1) .1s both; }
  .hw-panel:not([hidden]) .il-stamp { animation: il-stamp .55s cubic-bezier(.3, 1.6, .5, 1) .25s both; }
  .hw-panel:not([hidden]) > h3, .hw-panel:not([hidden]) > p { animation: vl-in .45s var(--ease) both; }
}
@keyframes il-pop { from { opacity: 0; transform: scale(.6) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes il-blink { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes il-draw { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
@keyframes il-fade { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes il-scan { 0% { transform: translate(-40px, -16px); } 55% { transform: translate(28px, 48px); } 100% { transform: translate(0, 0); } }
@keyframes il-stamp { 0% { opacity: 0; transform: rotate(-14deg) scale(2.2); } 70% { opacity: 1; transform: rotate(-14deg) scale(.94); } 100% { opacity: 1; transform: rotate(-14deg) scale(1); } }

/* phones: the four steps sit in a row above the card */
@media (max-width: 920px) {
  .hw-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .hw-steps::before { left: 12.5%; right: 12.5%; top: 27px; bottom: auto; width: auto; height: 2px; }
  .hw-fill { left: 12.5%; top: 27px; height: 2px; width: 0; transition: width .7s var(--ease); }
  .hw-tab { flex-direction: column; gap: 8px; min-height: 0; padding: 0 2px 6px; text-align: center; }
  .hw-name { font: 600 13px/1.25 var(--sans); }
  .hw-tab[aria-selected="true"] .hw-name { transform: none; }
  .hw-token { width: 32px; height: 26px; }
  .hw.is-js .hw-panel { padding: 0 var(--s4) var(--s5); }
}
@media (prefers-reduced-motion: reduce) { .hw-token, .hw-fill, .hw-node, .hw-name { transition: none; } }
.hw.is-js .hw-illus { width: calc(100% + 2 * var(--s6)); max-width: none; margin: 0 calc(-1 * var(--s6)) var(--s5); border-radius: 0; max-height: 250px; }
@media (max-width: 920px) { .hw.is-js .hw-illus { width: calc(100% + 2 * var(--s4)); margin: 0 calc(-1 * var(--s4)) var(--s4); } }
.footer-legal a + a { margin-left: 14px; }

