/* ============================================================
   Canjain Global Advisors — cgaindia.com
   Palette derived from the CGA mark: #005176 / #4BBDD8
   ============================================================ */

:root {
  --petrol: #005176;
  --petrol-deep: #06334A;
  --ink: #0B2230;
  --cyan: #4BBDD8;
  --cyan-wash: #E8F6FA;
  --paper: #F4F8FA;
  --white: #FFFFFF;
  --rule: #D6E3EB;
  --muted: #5B7183;
  --due: #B4690E;
  --due-wash: #FBF2E4;
  --gold: #E8B84B;
  --gold-deep: #C8912A;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--petrol); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--petrol); color: #fff; padding: 10px 16px;
  font-family: var(--display); font-size: 14px;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ---------- Type roles ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0 0 16px; }
.lede { font-size: clamp(17px, 1.6vw, 19.5px); color: #24404F; max-width: 62ch; }

/* ---------- Top bar ---------- */
.utility {
  background: var(--petrol-deep);
  color: #BFD8E4;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
}
.utility .wrap { display: flex; gap: 18px; align-items: center; min-height: 38px; flex-wrap: wrap; }
.utility a { color: #DCEDF4; text-decoration: none; }
.utility a:hover { color: #fff; text-decoration: underline; }
.utility .spacer { margin-left: auto; }

.masthead .wrap { display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: auto; }
.primary a { text-decoration: none; letter-spacing: -.01em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 14.5px; letter-spacing: -.01em;
  padding: 12px 20px; border-radius: 2px; text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-solid { background: var(--petrol); color: #fff; }
.btn-solid:hover { background: var(--petrol-deep); }
.btn-line { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn-line:hover { background: var(--petrol); color: #fff; }
.btn-lg { padding: 15px 26px; font-size: 16px; }

@media (max-width: 860px) {
  .masthead .wrap { min-height: 62px; }
  .brand img { height: 28px; }
}

/* ---------- Hero ---------- */
.credentials {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 32px;
  padding-top: 24px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Signature: the filing rail ---------- */
.rail {
  background: var(--petrol-deep);
  color: #E7F3F8;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 18px 44px -28px rgba(6,51,74,.7);
}
.rail-head { padding: 18px 22px 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.rail-head .eyebrow { color: var(--cyan); margin-bottom: 6px; }
.rail-head strong { font-family: var(--display); font-size: 17px; font-weight: 700; color: #fff; display: block; }
.rail-list { list-style: none; margin: 0; padding: 6px 0 10px; }
.rail-list li {
  display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px;
  padding: 11px 22px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.rail-list li:last-child { border-bottom: 0; }
.rail-day {
  font-family: var(--mono); font-size: 19px; font-weight: 600; color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.rail-name { font-family: var(--display); font-size: 14.5px; font-weight: 600; color: #fff; }
.rail-sub { font-size: 12.5px; color: #9EC3D4; display: block; font-family: var(--body); }
.rail-when { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #8FB6C8; text-align: right; }
.rail-list li.is-next { background: rgba(75,189,216,.13); }
.rail-list li.is-next .rail-when { color: var(--cyan); }
.rail-foot { padding: 14px 22px 18px; font-size: 13px; color: #A9C9D8; border-top: 1px solid rgba(255,255,255,.14); }
.rail-foot a { color: var(--cyan); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
section { padding-block: clamp(52px, 7vw, 92px); }
.section-head { max-width: 68ch; margin-bottom: clamp(30px, 4vw, 46px); }
.section-head p { color: var(--muted); margin-top: 14px; }

/* ---------- Practices ---------- */
.practices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.practice { background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--petrol); padding: 26px 22px 24px; display: flex; flex-direction: column; }
@media (max-width: 1080px) { .practices { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.practice .authority { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--cyan); text-transform: uppercase; }
.practice h3 { margin: 12px 0 10px; }
.practice p { font-size: 15.5px; color: var(--muted); }
.practice ul { list-style: none; margin: 4px 0 20px; padding: 0; font-size: 14.5px; }
.practice ul li { padding: 5px 0 5px 16px; position: relative; color: #2C4757; }
.practice ul li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 1.5px; background: var(--cyan); }
.practice .go { margin-top: auto; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--petrol); text-decoration: none; }
.practice .go:hover { text-decoration: underline; }

/* ---------- Filings ---------- */
.filings { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 14px; }
.filing {
  background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--cyan);
  padding: 18px 20px; text-decoration: none; color: inherit; display: block;
  transition: border-left-color .18s ease, transform .18s ease;
}
.filing:hover { border-left-color: var(--petrol); transform: translateX(2px); }
.filing .form-no { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.filing h3 { font-size: 17px; margin: 7px 0 6px; }
.filing p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Process ---------- */
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.stage { border-top: 2px solid var(--petrol); padding-top: 18px; }
.stage .no { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--petrol); }
.stage h3 { margin: 10px 0 8px; font-size: 18px; }
.stage p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Why ---------- */
.band { background: var(--white); border-block: 1px solid var(--rule); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin-bottom: 44px; }
.stat .n { font-family: var(--display); font-size: clamp(32px, 4vw, 44px); font-weight: 800; color: var(--petrol); letter-spacing: -.03em; line-height: 1; }
.stat .l { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.reason h3 { font-size: 18px; margin-bottom: 8px; }
.reason p { font-size: 15.5px; color: var(--muted); margin: 0; }

/* ---------- Offices ---------- */
.offices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.office { background: var(--white); border: 1px solid var(--rule); padding: 22px 20px; }
.office.ho { border-top: 3px solid var(--due); }
@media (max-width: 1040px) { .offices { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.office .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.office.ho .tag { color: var(--due); }
.office h3 { font-size: 18px; margin: 10px 0 8px; }
.office address { font-style: normal; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq { max-width: 82ch; }
.faq details { border-bottom: 1px solid var(--rule); padding: 6px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 34px 16px 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: 17.5px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 13px;
  font-family: var(--mono); font-size: 22px; color: var(--cyan); font-weight: 400;
}
.faq details[open] summary::after { content: '\2013'; }
.faq details p { font-size: 15.5px; color: var(--muted); padding-bottom: 10px; margin: 0; max-width: 70ch; }

/* ---------- Enquiry ---------- */
.enquire { background: var(--petrol-deep); color: #DCEEF5; }
.enquire h2 { color: #fff; }
.enquire .eyebrow { color: var(--cyan); }
.enquire .grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; }
.contact-list li { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-list .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8FB6C8; display: block; margin-bottom: 4px; }
.contact-list a, .contact-list span { color: #fff; text-decoration: none; font-size: 15.5px; }
.contact-list a:hover { color: var(--cyan); }

form.enquiry { background: var(--white); padding: clamp(24px, 3.4vw, 36px); border-radius: 3px; color: var(--ink); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--display); font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--rule); border-radius: 2px;
  font-family: var(--body); font-size: 16px; background: #FBFDFE; color: var(--ink);
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px var(--cyan-wash); }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.err { color: #A3341C; font-size: 13.5px; margin-top: 5px; display: none; font-family: var(--display); font-weight: 600; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #A3341C; }
.form-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }

@media (max-width: 900px) {
  .enquire .grid { grid-template-columns: 1fr; }
  .two-up { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: #A8C2D0; font-size: 14.5px; }
footer.site .top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 34px; padding-block: clamp(44px, 6vw, 64px); }
footer.site img.mark { height: 30px; width: auto; background: #fff; padding: 10px 12px; border-radius: 2px; }
footer.site p { font-size: 14.5px; margin-top: 18px; max-width: 40ch; }
footer.site h4 { font-family: var(--display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site ul li { padding: 5px 0; }
footer.site a { color: #A8C2D0; text-decoration: none; }
footer.site a:hover { color: var(--cyan); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2); border-radius: 2px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
}
.social a:hover { border-color: var(--cyan); color: var(--cyan); }
.legal { border-top: 1px solid rgba(255,255,255,.13); padding-block: 24px 34px; font-size: 13px; }
.legal .row { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.legal .row .spacer { margin-left: auto; }
.disclaimer { margin-top: 18px; font-size: 12.5px; color: #7E9AAA; line-height: 1.6; max-width: 105ch; }

@media (max-width: 820px) {
  footer.site .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  footer.site .top { grid-template-columns: 1fr; }
}

/* ---------- Sticky mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; inset: auto 0 0 0; z-index: 60; background: var(--rule);
  }
  .callbar a {
    background: var(--petrol); color: #fff; text-align: center; padding: 14px 8px;
    font-family: var(--display); font-weight: 700; font-size: 15px; text-decoration: none;
  }
  .callbar a.wa { background: var(--petrol-deep); }
  body { padding-bottom: 54px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Policy pages ---------- */
.page-head { background: var(--white); border-bottom: 1px solid var(--rule); padding-block: clamp(44px, 6vw, 72px); }
.page-head h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.03em; }
.page-head .updated { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.prose { max-width: 74ch; padding-block: clamp(40px, 6vw, 68px); }
.prose h2 { font-size: clamp(21px, 2.4vw, 26px); margin-top: 40px; margin-bottom: 12px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.crumb { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--petrol); }

/* ---------- Mobile utility bar: keep it to one line ---------- */
@media (max-width: 700px) {
  .utility .wrap { gap: 14px; min-height: 34px; flex-wrap: nowrap; overflow: hidden; }
  .utility .wrap > span:first-child,
  .utility .wrap > a[href="#offices"],
  .utility .wrap > a[href*="index.html#offices"] { display: none; }
  .utility { font-size: 11.5px; }
}

/* ---------- Office photos ---------- */
.office-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.office-shots figure { margin: 0; }
.office-shots img { width: 100%; height: auto; border: 1px solid var(--rule); background: var(--white); }
.office-shots figcaption { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); margin-top: 9px; line-height: 1.5; }
@media (max-width: 720px) { .office-shots { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.tier { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); margin: clamp(30px, 3.6vw, 44px) 0 20px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.tier:first-of-type { margin-top: 0; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: clamp(22px, 2.6vw, 30px) clamp(14px, 1.8vw, 22px); }
.member { margin: 0; }
.member .shot { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cyan-wash); border: 1px solid var(--rule); }
.member .shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.member:hover .shot img { transform: scale(1.035); }
.shot-init { display: grid; place-items: center; background: var(--petrol); border-color: var(--petrol); }
.shot-init span { font-family: var(--display); font-weight: 800; font-size: 46px; color: var(--cyan); line-height: 1; }
.member figcaption { display: block; padding-top: 13px; }
.member .nm { display: block; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.member .rl { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--petrol); margin-top: 7px; padding-top: 8px; border-top: 2px solid var(--cyan); width: fit-content; }
.member .ql { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.member .tl { display: inline-block; font-family: var(--mono); font-size: 12.5px; margin-top: 6px; text-decoration: none; }
.member .tl:hover { text-decoration: underline; }
.team-note { max-width: 70ch; margin: clamp(32px, 4vw, 48px) 0 0; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 15.5px; color: var(--muted); }
@media (max-width: 560px) { .team { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }

/* ---------- Service pages ---------- */
.page-head .lede { max-width: 62ch; margin-top: 16px; color: var(--muted); font-size: 18px; }
.page-head .eyebrow { margin-top: 18px; margin-bottom: 10px; }
.page-head .hero-actions { margin-top: 26px; }

.svc { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(30px, 4vw, 60px); align-items: start; }
.svc-main .prose { max-width: 72ch; }
.svc-h { font-size: clamp(21px, 2.4vw, 26px); margin: clamp(30px, 3.4vw, 42px) 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; max-width: 74ch; }
.checklist li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.6; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 9px; height: 9px; background: var(--cyan); border: 2px solid var(--petrol);
}
.checklist--docs li::before { background: var(--white); }
.svc-note { font-size: 15px; color: var(--muted); margin-top: 20px; max-width: 72ch; font-style: italic; }

.svc-aside { position: sticky; top: 24px; display: grid; gap: 16px; }
.svc-card { background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--petrol); padding: 24px 22px; }
.svc-card h3 { font-size: 19px; margin-bottom: 10px; }
.svc-card p { font-size: 15px; color: var(--muted); }
.svc-card .btn { margin-top: 6px; }
.svc-card__note { font-size: 12.5px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); }
.svc-card--plain { border-top-color: var(--cyan); }
.svc-card--plain h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.svc-card--plain ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.svc-card--plain a { font-family: var(--display); font-weight: 600; font-size: 15px; text-decoration: none; }
.svc-card--plain a:hover { text-decoration: underline; }

.svc-end { text-align: left; }
.svc-end h2 { max-width: 22ch; }
.svc-end p { color: var(--muted); max-width: 62ch; margin-top: 14px; }
.svc-end .hero-actions { margin-top: 24px; }

.sv-groups { display: grid; gap: clamp(36px, 4.5vw, 56px); }
.sv-group h2 { font-size: clamp(23px, 2.8vw, 30px); margin-bottom: 20px; }
.sv-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 12px; }
.sv-list a {
  display: block; height: 100%; background: var(--white); border: 1px solid var(--rule);
  border-left: 3px solid var(--petrol); padding: 18px 20px; text-decoration: none;
  transition: border-left-color .2s ease, transform .2s ease;
}
.sv-list a:hover { border-left-color: var(--cyan); transform: translateX(2px); }
.sv-n { display: block; font-family: var(--display); font-weight: 700; font-size: 16.5px; color: var(--ink); letter-spacing: -.01em; }
.sv-d { display: block; font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
}

/* ================= HOME REDESIGN ================= */

/* --- Due-date strip --- */
.datestrip { background: var(--petrol-deep); color: #DCEEF5; padding-block: clamp(30px, 4vw, 44px); }
.datestrip .eyebrow { color: var(--gold); }
.ds-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.ds-head strong { font-family: var(--display); font-size: clamp(19px, 2.4vw, 25px); color: #fff; letter-spacing: -.02em; }
.ds-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.ds-list li { background: var(--petrol-deep); display: flex; align-items: center; gap: 13px; padding: 17px 18px; }
.ds-list .rail-day { font-family: var(--display); font-weight: 800; font-size: 27px; color: var(--gold); line-height: 1; letter-spacing: -.03em; }
.ds-list .rail-name { display: block; font-family: var(--display); font-weight: 600; font-size: 15px; color: #fff; }
.ds-list .rail-sub { display: block; font-size: 13px; color: #9CC2D2; margin-top: 3px; }
.ds-list .rail-when { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: #9CC2D2; text-align: right; }
.ds-list li.is-next { background: #08415C; }
.ds-list li.is-next .rail-when { color: var(--gold); }
.ds-foot { font-size: 14px; color: #9CC2D2; margin: 18px 0 0; }
.ds-foot a { color: var(--cyan); }

/* --- Founder --- */
.founder { background: var(--white); border-block: 1px solid var(--rule); }
.founder .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 64px); align-items: center; padding-block: clamp(52px, 6.5vw, 84px); }
.fd-photo { position: relative; }
.fd-photo::before {
  content: ''; position: absolute; left: -14px; top: -14px; width: 56%; height: 56%;
  background: var(--gold); z-index: 0;
}
.fd-photo img { position: relative; z-index: 1; width: 100%; height: auto; display: block; }
.fd-copy .eyebrow { color: var(--gold-deep); }
.fd-copy blockquote {
  margin: 16px 0 22px; font-family: var(--display); font-weight: 700;
  font-size: clamp(24px, 3.4vw, 38px); line-height: 1.2; letter-spacing: -.025em; color: var(--ink);
  border-left: 4px solid var(--gold); padding-left: 22px;
}
.fd-copy blockquote em { font-style: normal; color: var(--petrol); }
.fd-name { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 0; }
.fd-role { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 6px 0 18px; }
.fd-body { font-size: 16.5px; color: var(--muted); max-width: 62ch; margin: 0; }
.fd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* --- Firm band, warmed up --- */
.firmband .stat .n { color: var(--petrol); }
.firmband .stat { border-top: 3px solid var(--gold); padding-top: 16px; }
.reason { position: relative; padding-top: 4px; }
.reason .rn {
  display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em;
  color: var(--gold-deep); margin-bottom: 10px;
}
.reason h3 { padding-bottom: 10px; border-bottom: 1px solid var(--rule); }

/* --- Founder card on service pages --- */
.svc-founder { display: flex; gap: 14px; align-items: center; }
.svc-founder img { width: 62px; height: 62px; object-fit: cover; border: 1px solid var(--rule); flex: 0 0 auto; }
.svc-founder .fn { display: block; font-family: var(--display); font-weight: 700; font-size: 15.5px; }
.svc-founder .fr { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .founder .wrap { grid-template-columns: 1fr; }
  .fd-photo { max-width: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { transition: none; }
}

/* ================= HEADER v2 ================= */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .25s ease, background .25s ease;
}
.masthead.is-stuck { box-shadow: 0 10px 30px -18px rgba(11,34,48,.45); background: rgba(255,255,255,.98); }
.masthead .wrap { min-height: 72px; }
.brand img { height: 36px; }

.burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.primary > a {
  position: relative; padding: 10px 13px; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink);
}
.primary > a:not(.btn)::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.primary > a:not(.btn):hover::after { transform: scaleX(1); }

.btn-gold { background: var(--gold); color: var(--ink); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* --- Services dropdown --- */
.drop { position: relative; }
.drop-btn {
  display: flex; align-items: center; gap: 7px; background: none; border: 0; cursor: pointer;
  padding: 10px 13px; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink);
}
.caret { width: 7px; height: 7px; border-right: 2px solid var(--petrol); border-bottom: 2px solid var(--petrol); transform: rotate(45deg) translateY(-2px); transition: transform .25s ease; }
.drop.is-open .caret { transform: rotate(-135deg) translateY(-2px); }
.drop-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-8px);
  width: min(780px, 88vw); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px;
  background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--gold);
  box-shadow: 0 28px 60px -26px rgba(11,34,48,.5);
  padding: 24px 26px; opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease;
}
.drop.is-open .drop-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dp-head { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; padding-bottom: 9px; border-bottom: 1px solid var(--rule); }
.dp-col a { display: block; padding: 7px 0; font-family: var(--display); font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--ink); }
.dp-col a:hover { color: var(--petrol); }
.dp-cta { background: var(--cyan-wash); margin: -24px -26px -24px 0; padding: 24px 22px; }
.dp-note { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.dp-all { font-family: var(--display); font-weight: 700; font-size: 15px; text-decoration: none; }

/* ================= HERO v2 — full-bleed rotating background ================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(520px, 78vh, 760px);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--petrol-deep);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 42%;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.4s ease, transform 8s linear;
}
.hero-bg img.is-on { opacity: 1; transform: scale(1); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6,51,74,.94) 0%, rgba(6,51,74,.86) 42%, rgba(6,51,74,.42) 72%, rgba(6,51,74,.30) 100%),
    linear-gradient(to top, rgba(6,51,74,.75), rgba(6,51,74,0) 45%);
}
.hero-inner { padding-block: clamp(56px, 8vw, 104px); margin-block: auto; }
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  color: #fff; max-width: 19ch;
  font-size: clamp(34px, 5.4vw, 62px); line-height: 1.05; letter-spacing: -.035em; margin-top: 16px;
}
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .lede { color: #CFE4EE; max-width: 54ch; margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero .credentials { margin-top: 34px; border-top: 1px solid rgba(255,255,255,.22); padding-top: 18px; }
.hero .credentials span { color: #A9CCDC; border: 0; }

.hero-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.16); background: rgba(6,51,74,.55); backdrop-filter: blur(3px); }
.hero-foot .wrap { display: flex; align-items: center; gap: 20px; padding-block: 14px; }
.hero-cap { position: relative; flex: 1; min-height: 18px; margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: #A9CCDC; }
.hero-cap span { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero-cap span.is-on { opacity: 1; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 30px; height: 3px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.3); transition: background .3s ease; }
.hero-dots button.is-on { background: var(--gold); }

@media (max-width: 980px) {
  .burger { display: block; }
  .primary {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--rule);
    padding: 10px var(--gutter) 20px; box-shadow: 0 24px 40px -28px rgba(11,34,48,.5);
  }
  .primary.is-open { display: flex; }
  .primary > a, .drop-btn { padding: 13px 0; border-bottom: 1px solid var(--rule); width: 100%; justify-content: space-between; }
  .primary > a.btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .drop-panel {
    position: static; transform: none; width: auto; grid-template-columns: 1fr; gap: 14px;
    box-shadow: none; border: 0; border-left: 2px solid var(--gold); padding: 8px 0 8px 16px;
    opacity: 1; visibility: visible; display: none;
  }
  .drop.is-open .drop-panel { display: grid; transform: none; }
  .dp-cta { margin: 0; padding: 16px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .hero-foot .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-cap { position: static; min-height: 0; }
  .hero-cap span { position: static; display: none; }
  .hero-cap span.is-on { display: block; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { transition: none; transform: none; }
  .hero-bg img.is-on { transform: none; }
}

/* ================= HEADER / HERO ALIGNMENT FIXES ================= */

/* Header: one consistent row, nothing overflowing.
   Scoped to desktop so it cannot override the mobile menu block above. */
.masthead .wrap { min-height: 72px; }
.drop-btn { font-size: 15px; letter-spacing: -.01em; }

@media (min-width: 981px) {
  .masthead .wrap { flex-wrap: nowrap; }
  .primary { margin-left: auto; display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
  .primary > a, .drop-btn { white-space: nowrap; line-height: 1; }
  .primary > a.btn { margin-left: 10px; padding: 11px 18px; }
}

/* Below 1120px the full nav stops fitting — hand over to the menu button early */
@media (max-width: 1120px) and (min-width: 981px) {
  .primary { gap: 0; }
  .primary > a, .drop-btn { padding-inline: 9px; font-size: 14.5px; }
  .primary > a:not(.btn)::after { left: 9px; right: 9px; }
}

/* Hero text: sits on the left half, never runs under the photo's bright side */
.hero-inner > * { max-width: 100%; }
.hero .eyebrow { margin-bottom: 0; }
.hero h1 { max-width: 17ch; text-wrap: balance; }
.hero .lede { max-width: 50ch; }

/* Photo focal points, so faces and desks are not cropped out */
.hero-bg img { object-position: 50% 45%; }
.hero-bg img[src*="neeraj"] { object-position: 62% 32%; }
.hero-bg img[src*="office-01"] { object-position: 48% 58%; }
.hero-bg img[src*="office-02"] { object-position: 42% 55%; }

@media (max-width: 980px) {
  .hero { min-height: clamp(460px, 82vh, 640px); }
  .hero h1 { max-width: 20ch; }
  .hero::before {
    background:
      linear-gradient(160deg, rgba(6,51,74,.93) 0%, rgba(6,51,74,.80) 55%, rgba(6,51,74,.62) 100%),
      linear-gradient(to top, rgba(6,51,74,.80), rgba(6,51,74,0) 50%);
  }
}
@media (max-width: 560px) {
  .hero h1 { max-width: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero .credentials { gap: 10px 18px; font-size: 11px; }
}

/* Fixed mobile call bar was covering the last rows of content */
@media (max-width: 720px) {
  body { padding-bottom: 62px; }
}

/* Due-date cards: number and status on top, name below — nothing cramped */
.ds-list { grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); }
.ds-list li {
  display: grid; align-items: start; gap: 4px 12px;
  grid-template-columns: auto 1fr;
  grid-template-areas: "day when" "txt txt";
  padding: 18px 20px 19px;
}
.ds-list .rail-day { grid-area: day; font-size: 30px; }
.ds-list li > span:nth-child(2) { grid-area: txt; margin-top: 6px; }
.ds-list .rail-when { grid-area: when; justify-self: end; align-self: center; margin-left: 0; white-space: nowrap; }
.ds-list .rail-name { font-size: 15.5px; }
.ds-list .rail-sub { font-size: 13px; }

/* Column tops should line up on service pages */
.svc-main > :first-child, .svc-main .prose > :first-child { margin-top: 0; }
.checklist li::before { top: 7px; }

/* Mobile hero: keep the whole block on screen above the call bar */
@media (max-width: 720px) {
  .hero { min-height: auto; }
  .hero-inner { padding-block: clamp(40px, 9vw, 64px) clamp(30px, 7vw, 48px); }
  .hero .credentials { margin-top: 26px; padding-top: 16px; }
  .hero-foot .wrap { padding-block: 12px; }
}

/* ================= FOOTER ALIGNMENT ================= */
footer.site .top { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px 40px; align-items: start; }
footer.site .top > div > p:first-of-type { margin-top: 16px; }
footer.site h4 { margin-top: 4px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.14); }
footer.site ul li { padding: 6px 0; }
footer.site img.mark { display: block; }
.legal .row { row-gap: 10px; }
.legal .row a { padding: 2px 0; }
.disclaimer { max-width: none; }
@media (max-width: 820px) {
  footer.site .top { grid-template-columns: 1fr 1fr; gap: 30px; }
  footer.site .top > div:first-child { grid-column: 1 / -1; }
}

/* ================= TEAM TEASER (home) ================= */
.teamteaser { background: var(--white); border-block: 1px solid var(--rule); }
.teamteaser .wrap { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(30px, 5vw, 64px); align-items: center; padding-block: clamp(50px, 6vw, 78px); }
.tt-copy h2 { font-size: clamp(24px, 3.2vw, 36px); margin: 14px 0 16px; max-width: 20ch; }
.tt-copy p { color: var(--muted); max-width: 54ch; margin-bottom: 26px; }
.tt-faces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tt-faces li { margin: 0; }
.tt-faces li { aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--rule); background: var(--cyan-wash); }
.tt-faces img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; display: block; }
.tt-faces li:nth-child(even) { transform: translateY(16px); }

/* ================= ABOUT PAGE ================= */
.two-col { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.two-col h2 { font-size: clamp(24px, 3vw, 34px); max-width: 16ch; margin-top: 12px; }
.two-col .prose > :first-child { margin-top: 0; }

.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.journey li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--rule); }
.journey li:last-child { border-bottom: 1px solid var(--rule); }
.jn { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--gold-deep); padding-top: 5px; }
.journey h3 { font-size: clamp(19px, 2.2vw, 23px); margin-bottom: 9px; }
.journey p { color: var(--muted); max-width: 74ch; margin: 0; }

.vm .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); padding-block: 0; }
.vm-card { background: var(--petrol-deep); color: #CFE4EE; padding: clamp(34px, 4.5vw, 56px); }
.vm-card .eyebrow { color: var(--gold); }
.vm-card h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); margin: 14px 0 18px; max-width: 16ch; }
.vm-card p { color: #A9CCDC; max-width: 46ch; }
.vm-card p + p { margin-top: 14px; }
.vm-card--alt { background: var(--ink); }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: clamp(22px, 2.6vw, 34px); }
.value { border-top: 3px solid var(--gold); padding-top: 18px; }
.value h3 { font-size: 19px; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 15.5px; }
.value .cost { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; color: var(--petrol); }

.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(20px, 2.4vw, 30px); }
.client { background: var(--white); border: 1px solid var(--rule); border-left: 3px solid var(--cyan); padding: 24px 22px; }
.client h3 { font-size: 18px; margin-bottom: 10px; }
.client p { color: var(--muted); font-size: 15.5px; margin: 0; }

@media (max-width: 860px) {
  .teamteaser .wrap { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col h2 { max-width: none; }
  .vm .wrap { grid-template-columns: 1fr; }
  .journey li { grid-template-columns: 1fr; gap: 8px; }
  .jn { padding-top: 0; }
}

/* the disclaimer is a <p> inside the footer, so it inherits the 40ch column width */
footer.site .disclaimer { max-width: 108ch; }
footer.site .legal .row span:first-child { max-width: none; margin-top: 0; }
