/* Vidya Rattan B R Gopala Rao & Co: global styles */
:root {
  --navy: #0d1f3c;
  --navy-mid: #152a45;
  --navy-soft: #1e3554;
  --gold: #c5a059;
  --gold-hover: #d4b36e;
  --gold-muted: rgba(197, 160, 89, 0.15);
  --orange-accent: #ff6600;
  --white: #ffffff;
  --cream: #f5f6f8;
  --text: #1a1f2b;
  --text-muted: #5c6478;
  --shadow: 0 12px 40px rgba(13, 31, 60, 0.12);
  --shadow-sm: 0 6px 20px rgba(13, 31, 60, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, Segoe UI, sans-serif;
  --max: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(13, 31, 60, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 31, 60, 0.022) 1px, transparent 1px);
  background-size: 40px 40px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

/* Google Material Symbols — https://fonts.google.com/icons */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.material-symbols-outlined.icon--topbar {
  font-size: 1.1rem;
  vertical-align: middle;
}

/* Top bar */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.top-bar a:hover {
  color: var(--gold);
}

.top-bar__social {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.top-bar__social span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  background: var(--white);
  color: var(--text);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem 2rem;
}

@media (min-width: 900px) {
  .header-main {
    grid-template-columns: auto 1fr auto;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.brand__logo {
  height: 52px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  background: var(--white);
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  box-sizing: border-box;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.brand__tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.header-meta {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
  text-align: right;
  color: var(--text-muted);
}

@media (min-width: 900px) {
  .header-meta {
    display: flex;
  }
}

.header-meta strong {
  color: var(--navy);
  font-weight: 600;
}

.site-header .header-meta a {
  color: var(--navy-soft);
  font-weight: 600;
}

.site-header .header-meta a:hover {
  color: var(--gold);
}

.nav-wrap {
  border-top: 1px solid rgba(13, 31, 60, 0.1);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 899px) {
  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  #nav-toggle {
    margin-left: 0;
    align-self: flex-end;
  }

  .nav-primary.is-open {
    width: 100%;
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(13, 31, 60, 0.1);
  }
}

#nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0.35rem 0;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(13, 31, 60, 0.22);
  border-radius: 8px;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#nav-toggle:hover {
  border-color: rgba(197, 160, 89, 0.55);
  background-color: rgba(197, 160, 89, 0.08);
}

#nav-toggle .nav-toggle__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 26px;
  line-height: 1;
  transition:
    opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.38s cubic-bezier(0.34, 1.35, 0.64, 1);
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

#nav-toggle .nav-toggle__icon--close {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(100deg) scale(0.35);
  pointer-events: none;
}

#nav-toggle[aria-expanded="true"] {
  border-color: rgba(197, 160, 89, 0.65);
  background-color: rgba(197, 160, 89, 0.1);
}

#nav-toggle[aria-expanded="true"] .nav-toggle__icon--menu {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-100deg) scale(0.35);
  pointer-events: none;
}

#nav-toggle[aria-expanded="true"] .nav-toggle__icon--close {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  #nav-toggle .nav-toggle__icon {
    transition-duration: 0.08s;
  }
}

#nav-toggle:focus-visible {
  outline: 2px solid var(--orange-accent);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  #nav-toggle {
    display: none;
  }
}

.nav-primary {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.nav-primary.is-open {
  display: flex;
  padding-bottom: 1rem;
}

@media (min-width: 900px) {
  .nav-primary {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 1.5rem;
    padding: 0.65rem 0;
    width: auto;
  }
}

.nav-primary a {
  display: block;
  padding: 0.65rem 0;
  color: rgba(26, 31, 43, 0.92);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(13, 31, 60, 0.08);
}

@media (min-width: 900px) {
  .nav-primary a {
    padding: 0.35rem 0;
    border: none;
  }
}

.nav-primary a:hover,
.nav-primary a.is-active {
  color: var(--gold);
}

.nav-primary a.is-active {
  box-shadow: inset 0 -2px 0 var(--orange-accent);
}

@media (min-width: 900px) {
  .nav-primary a.is-active {
    box-shadow: none;
    border-bottom: 2px solid var(--orange-accent);
  }
}

.header-cta {
  display: none;
}

@media (max-width: 899px) {
  .header-main {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .header-cta {
    display: inline-flex;
    font-size: 0.78rem;
    padding: 0.5rem 0.85rem;
    justify-self: end;
  }
}

@media (min-width: 900px) {
  .header-cta {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

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

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.btn--gold:hover {
  background: var(--gold-hover);
  color: var(--navy);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(13, 31, 60, 0.2);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: stretch;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0d1f3c;
  /* Bright skyline photo under blue + gold overlays (first layer = top) */
  background-image:
    linear-gradient(
      95deg,
      rgba(13, 31, 60, 0.9) 0%,
      rgba(13, 31, 60, 0.42) 42%,
      rgba(13, 31, 60, 0.12) 68%,
      transparent 85%
    ),
    linear-gradient(
      168deg,
      rgba(13, 31, 60, 0.78) 0%,
      rgba(13, 31, 60, 0.5) 40%,
      rgba(18, 35, 56, 0.72) 100%
    ),
    radial-gradient(ellipse 130% 95% at 78% 6%, rgba(197, 160, 89, 0.35) 0%, transparent 58%),
    radial-gradient(ellipse 100% 80% at 8% 92%, rgba(197, 160, 89, 0.22) 0%, transparent 55%),
    linear-gradient(to top, rgba(13, 31, 60, 0.58) 0%, transparent 46%),
    url("../Assets/hero-cityscape.png");
  background-repeat: no-repeat;
  background-size: auto, auto, auto, auto, auto, cover;
  background-position: center, center, center, center, center, center center;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 5.5rem;
  display: block;
}

@media (min-width: 900px) {
  .hero__inner {
    padding: 4rem 1.25rem 6rem;
  }
}

.hero__copy {
  max-width: 42rem;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.35em;
  text-shadow: 0 2px 28px rgba(13, 31, 60, 0.45);
  font-size: clamp(2.55rem, 4.8vw + 0.45rem, 3.95rem);
  line-height: 1.12;
}

.hero__lead {
  font-size: clamp(1.18rem, 1.5vw + 0.55rem, 1.38rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.88);
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.hero__actions .btn {
  font-size: 0.95rem;
  padding: 0.72rem 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Overlap cards */
.overlap-cards {
  position: relative;
  margin-top: -3.5rem;
  z-index: 2;
  padding: 0 1.25rem 2rem;
}

.overlap-cards::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -2rem;
  bottom: 0;
  background: url("../Assets/deco/finance-deco.svg") no-repeat 50% 0;
  background-size: min(900px, 160%) auto;
  opacity: 0.04;
  pointer-events: none;
}

.overlap-cards__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .overlap-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .overlap-cards__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card-rise {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(13, 31, 60, 0.06);
}

.card-rise:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(13, 31, 60, 0.16);
}

.card-rise__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-muted);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-left: 3px solid var(--orange-accent);
}

.card-rise__icon .material-symbols-outlined {
  font-size: 26px;
}

.card-rise h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4em;
}

.card-rise p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Sections */
.section {
  padding: 3.5rem 1.25rem;
}

.section--white {
  background: var(--white);
}

.section--pattern {
  position: relative;
}

.section--pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 31, 60, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 31, 60, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.85;
}

.section--pattern > .section__inner {
  position: relative;
  z-index: 1;
}

.section--cream-deco {
  position: relative;
}

.section--cream-deco::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../Assets/deco/finance-deco.svg") no-repeat -8% 100%;
  background-size: min(320px, 55vw) auto;
  opacity: 0.055;
  pointer-events: none;
}

.section--cream-deco > .section__inner {
  position: relative;
  z-index: 1;
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* Split mission */
.split {
  display: grid;
  gap: 0;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
  }
}

.split__media {
  min-height: 280px;
  background-color: #152a45;
  background-image:
    url("../Assets/deco/split-bars.svg"),
    radial-gradient(ellipse 85% 75% at 65% 25%, rgba(197, 160, 89, 0.18) 0%, transparent 55%),
    linear-gradient(145deg, #1e3554 0%, #0d1f3c 55%, #152a45 100%);
  background-size: cover, auto, auto;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.split__panel {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.split__panel::before {
  content: "";
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: min(200px, 55vw);
  height: 140px;
  background: url("../Assets/deco/finance-deco.svg") no-repeat center / contain;
  opacity: 0.08;
  pointer-events: none;
}

.split__panel > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .split__panel {
    padding: 3rem 3.5rem;
  }
}

.split__panel h2 {
  color: var(--white);
}

.split__panel .eyebrow {
  color: var(--gold);
}

.split__signature {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold);
}

.split__role {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Sector pills */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: var(--white);
  border: 1px solid rgba(13, 31, 60, 0.12);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--navy-soft);
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.75;
  flex-shrink: 0;
}

/* Practice areas split (services page) — vertical tabs + detail pane */
.practice-split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .practice-split {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(13, 31, 60, 0.08);
    border: 1px solid rgba(13, 31, 60, 0.1);
  }
}

.practice-split__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: sticky;
  top: 6.5rem;
  align-self: start;
  background: #e4e8ef;
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(13, 31, 60, 0.08);
}

@media (min-width: 960px) {
  .practice-split__nav {
    position: relative;
    top: auto;
    align-self: stretch;
    border-radius: 0;
    border: none;
    padding: 0.65rem 0.5rem 0.65rem 0.65rem;
    box-shadow: none;
  }
}

@media (max-width: 959px) {
  .practice-split__nav {
    position: static;
  }
}

.practice-split__panels {
  min-width: 0;
  background: var(--white);
  border-radius: 12px;
  padding: 1.75rem 1.35rem 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13, 31, 60, 0.08);
}

@media (min-width: 960px) {
  .practice-split__panels {
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 2rem 2.25rem 2.5rem 2rem;
  }
}

.practice-split__panels .article-block {
  border-top: none;
  padding: 0;
  scroll-margin-top: 7rem;
}

.practice-split__panels .article-block:first-of-type {
  padding-top: 0;
}

.practice-split__panels .article-block__icon {
  display: none;
}

.practice-split__panels .article-block__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.practice-split__panels .article-block__figure {
  width: 100%;
  max-height: none;
  margin: 0;
}

.practice-split__panels .article-block__img {
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: min(20rem, 42vw);
  object-fit: cover;
  object-position: center;
}

.practice-split__panels .article-block__body > h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}

.practice-panel[hidden] {
  display: none !important;
}

.practice-split__nav .practice-card--nav {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.65rem 1.75rem 0.65rem 0.85rem;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--navy);
  background: #d6dce8;
  border: 1px solid rgba(13, 31, 60, 0.06);
  border-radius: 6px;
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.practice-split__nav .practice-card--nav:hover {
  background: #cdd4e3;
  border-color: rgba(13, 31, 60, 0.1);
}

.practice-split__nav .practice-card--nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  z-index: 2;
}

.practice-split__nav .practice-card--nav.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  z-index: 2;
}

@media (min-width: 960px) {
  .practice-split__nav .practice-card--nav.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(100%, -50%);
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 11px solid var(--navy);
    pointer-events: none;
  }
}

.practice-split__nav .practice-card__title {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: inherit;
}

.practice-card__lede {
  display: block;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Practice cards (services hub) */
.practice-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.practice-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13, 31, 60, 0.06);
}

.practice-card__thumb {
  margin: -1.75rem -1.75rem 1.1rem -1.75rem;
  aspect-ratio: 16 / 9;
  max-height: 11.5rem;
  background: var(--navy-mid);
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.practice-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.practice-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 0 1rem;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(197, 160, 89, 0.28), rgba(13, 31, 60, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(13, 31, 60, 0.06);
}

.practice-card__icon .material-symbols-outlined {
  font-size: 30px;
}

.practice-card__link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

.practice-card__link + .practice-card__link {
  margin-left: 0.75rem;
}

@media (max-width: 500px) {
  .practice-card__link + .practice-card__link {
    margin-left: 0;
    margin-top: 0.5rem;
    display: inline-flex;
  }
}

.practice-card__link:hover {
  color: var(--gold);
}

/* Anchored article blocks */
.article-block {
  position: relative;
  padding: 3rem 0;
  border-top: 1px solid rgba(13, 31, 60, 0.08);
  scroll-margin-top: 100px;
}

.article-block__icon {
  width: 46px;
  height: 46px;
  margin: 0 0 0.85rem;
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(197, 160, 89, 0.26), rgba(13, 31, 60, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 2px 10px rgba(13, 31, 60, 0.06);
}

.article-block__icon .material-symbols-outlined {
  font-size: 28px;
}

.article-block:first-of-type {
  border-top: none;
  padding-top: 2.75rem;
}

.article-block__grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.article-block__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, var(--navy-mid), var(--navy));
}

.article-block__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-block__body > h2 {
  margin-top: 0.2rem;
}

@media (min-width: 880px) {
  .article-block__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 2.25rem 2.75rem;
    align-items: center;
  }

  .article-block--media-end .article-block__figure {
    order: 2;
  }

  .article-block--media-end .article-block__body {
    order: 1;
  }
}

.practice-photo-note {
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(13, 31, 60, 0.08);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Why us grid */
.icon-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .icon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.icon-tile {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(13, 31, 60, 0.08);
}

.icon-tile__art {
  margin-bottom: 0.5rem;
}

.icon-tile__art .material-symbols-outlined {
  font-size: 42px;
  color: var(--navy);
}

.icon-tile__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

/* Leadership grid */
.team-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(13, 31, 60, 0.08);
  text-align: center;
}

.team-card__avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-muted), rgba(13, 31, 60, 0.08));
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  overflow: hidden;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card h3 {
  font-size: 1.15rem;
}

.team-card__title {
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Contact */
.contact-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

.contact-offices {
  position: relative;
}

.contact-offices::before {
  content: "";
  position: absolute;
  right: -0.25rem;
  top: -0.5rem;
  width: min(220px, 45vw);
  height: 150px;
  background: url("../Assets/deco/finance-deco.svg") no-repeat center / contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.contact-offices > * {
  position: relative;
  z-index: 1;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.contact-branch-select {
  width: 100%;
  max-width: min(28rem, 100%);
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(13, 31, 60, 0.22);
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.contact-branch-panel {
  margin-bottom: 0.25rem;
}

.contact-branch-panel[hidden] {
  display: none !important;
}

.contact-branch-panel .stack-sm {
  margin: 0;
}

.contact-subheading {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 1.75rem 0 0.65rem;
}

.contact-subheading--map {
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.contact-map-form-row {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.contact-map-section {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.contact-map-wrap {
  border: 1px solid rgba(13, 31, 60, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.contact-map {
  display: block;
  width: 100%;
  height: min(420px, 58vh);
  min-height: 260px;
  border: 0;
  flex: 0 0 auto;
}

.contact-map-note {
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(13, 31, 60, 0.08);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .contact-map-form-row {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 2rem;
  }

  .contact-map-section {
    min-height: 100%;
  }

  .contact-map-wrap {
    flex: 1;
    min-height: 320px;
  }

  .contact-map {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .contact-panel {
    min-height: 100%;
  }
}

.contact-panel {
  background: var(--white);
  color: var(--text);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13, 31, 60, 0.12);
  display: flex;
  flex-direction: column;
}

.contact-panel h2 {
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
  flex: 1;
}

.form-grid label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(13, 31, 60, 0.22);
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.form-grid input:focus-visible,
.form-grid textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: rgba(197, 160, 89, 0.65);
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: rgba(26, 31, 43, 0.45);
}

.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.notice {
  background: rgba(255, 102, 0, 0.12);
  border-left: 3px solid var(--orange-accent);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  border-radius: 0 8px 8px 0;
}

.notice--dark {
  background: rgba(197, 160, 89, 0.12);
  border-left-color: var(--gold);
  color: var(--navy);
}

/* Legal prose */
.legal {
  max-width: 720px;
}

.legal h2 {
  margin-top: 2rem;
}

.legal h2:first-child {
  margin-top: 0;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 0;
  font-size: 0.92rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-main {
  padding: 3rem 1.25rem 2.5rem;
}

.footer-inner.footer-grid {
  display: grid;
  gap: 2.5rem 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .footer-inner.footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-inner.footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.05fr;
    gap: 2.5rem 2rem;
  }
}

.footer-col--brand {
  max-width: 26rem;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
}

.footer-brand:hover {
  color: inherit;
}

.footer-brand__logo {
  flex-shrink: 0;
  width: 56px;
  height: auto;
}

.footer-brand__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.footer-brand__tag {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-about {
  margin: 0 0 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.88rem;
}

.footer-social:hover {
  color: var(--gold);
}

.footer-social__icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social__icon .material-symbols-outlined {
  font-size: 18px;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 0.7rem;
}

.footer-heading--spaced {
  margin-top: 1.5rem;
}

.footer-text {
  margin: 0 0 0.45rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.footer-text-muted {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.42rem;
}

.footer-list a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.footer-list a:hover {
  color: var(--gold);
  border-bottom-color: rgba(197, 160, 89, 0.45);
}

.footer-lead {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.footer-newsletter {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.footer-newsletter input {
  flex: 1;
  min-width: 0;
  padding: 0.62rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.footer-newsletter input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: rgba(197, 160, 89, 0.55);
}

.footer-newsletter__btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer-newsletter__btn .material-symbols-outlined {
  font-size: 22px;
}

.footer-newsletter__btn:hover {
  background: var(--gold-hover);
}

.footer-privacy-note {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.45;
}

.footer-privacy-note a {
  color: var(--gold);
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 1.25rem 1.4rem;
}

.footer-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.footer-signature {
  flex: 1 1 100%;
  order: 4;
  margin: 0.35rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.55rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.2;
  text-align: center;
}

.footer-signature__prefix {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.footer-signature__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
}

.footer-signature__link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.18em;
}

.footer-signature__link:hover .footer-signature__logo {
  opacity: 0.95;
}

.footer-signature__logo {
  height: 28px;
  width: auto;
  max-height: 32px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-signature__brand {
  white-space: nowrap;
  line-height: 1.2;
}

.footer-copyright {
  margin: 0;
  flex: 1 1 14rem;
  order: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.footer-copyright a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  align-items: center;
  order: 1;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-back-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}

.footer-back-top .material-symbols-outlined {
  font-size: 22px;
}

.footer-back-top:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  padding: 2.75rem 1.25rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../Assets/deco/finance-deco.svg") no-repeat 100% 45%;
  background-size: min(420px, 70vw) auto;
  opacity: 0.11;
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 40rem;
}

/* Floating WhatsApp (dummy number: replace 918888888888 in each page href) */
.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 400;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(13, 31, 60, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  background: #20bd5a;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55), 0 3px 10px rgba(13, 31, 60, 0.22);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.whatsapp-float__logo {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover .whatsapp-float__logo {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }

  .whatsapp-float:hover {
    transform: none;
  }

  .whatsapp-float__logo {
    transition: none;
  }

  .whatsapp-float:hover .whatsapp-float__logo {
    transform: none;
  }
}

/* Utilities */
.mt-0 {
  margin-top: 0;
}

.stack-sm > * + * {
  margin-top: 0.75rem;
}
