:root {
  --navy-950: #0B1622;
  --navy-900: #0F2233;
  --navy-800: #16304A;
  --navy-700: #24405A;
  --ink: #17212B;
  --ink-soft: #55606C;
  --paper: #F6F4F0;
  --paper-2: #ECEAE6;
  --line: #D8D4CC;
  --white: #FFFFFF;
  --copper: #A85D30;          /* buttons */
  --copper-deep: #8F4D26;
  --copper-text: #9C5529;     /* copper text on light */
  --copper-bright: #D08A57;   /* copper text on dark */
  --on-dark: #F4F1EC;
  --on-dark-soft: #B4BECA;
  --card: rgba(255, 255, 255, 0.035);
  --card-line: rgba(255, 255, 255, 0.1);
  --whatsapp: #25D366;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 44px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.gated, html.gated body { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.12; text-wrap: balance; }
p, ul, ol, dl, dd { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--copper-bright); outline-offset: 3px; }

.wrap { max-width: 75rem; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 60; background: var(--paper); color: var(--ink); padding: 0.5rem 0.9rem; }
.skip:focus { top: 0.5rem; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--solid { fill: currentColor; stroke: none; }

.eyebrow {
  display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; line-height: 1.8; text-transform: uppercase; color: var(--copper-text);
}
.eyebrow--rule::after { content: ""; width: 2rem; height: 1px; background: currentColor; opacity: 0.7; }
.on-dark .eyebrow { color: var(--copper-bright); }

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font: 600 0.9rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  padding: 0.85rem 1.4rem; border-radius: 3px;
  background: var(--copper); color: var(--white); border: 1px solid var(--copper);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--copper-deep); border-color: var(--copper-deep); }
.btn .icon { width: 1rem; height: 1rem; stroke-width: 2; }
.textlink { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-block: 0.6rem 0.35rem; }
.textlink:hover { color: var(--copper-bright); }
.textlink .icon { width: 1rem; height: 1rem; stroke-width: 2; }

/* header */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; color: var(--on-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.1rem; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; text-decoration: none; }
.brand__sig { display: block; width: auto; height: 3.25rem; }
.brand__tag { display: block; font-size: 0.56rem; letter-spacing: 0.2em; line-height: 1.4; text-transform: uppercase; color: var(--on-dark-soft); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.75rem; list-style: none; padding: 0; }
.nav li a { display: inline-block; font-size: 0.84rem; text-decoration: none; padding-block: 0.35rem; border-bottom: 1.5px solid transparent; }
.nav li a:hover, .nav li a[aria-current] { border-bottom-color: var(--copper-bright); }
.nav .btn { padding: 0.7rem 1.15rem; font-size: 0.84rem; }
.menu-toggle { display: none; align-items: center; gap: 0.5rem; font: 500 0.84rem/1 var(--sans); color: var(--on-dark); background: none; border: 1px solid var(--navy-700); border-radius: 3px; padding: 0.6rem 0.8rem; cursor: pointer; }

/* hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: var(--on-dark); }
/* cover photo: pinned to the right edge at full height, fading into the navy on its left */
.hero__photo {
  position: absolute; top: 0; right: 0; z-index: -2; height: 100%; width: auto; max-width: none;
  transform: translateX(10%);
  -webkit-mask-image: linear-gradient(90deg, transparent 6%, rgba(0, 0, 0, 0.4) 30%, #000 50%);
  mask-image: linear-gradient(90deg, transparent 6%, rgba(0, 0, 0, 0.4) 30%, #000 50%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 22, 34, 0.8) 0%, rgba(11, 22, 34, 0.15) 30%, rgba(11, 22, 34, 0.15) 100%),
    linear-gradient(90deg, rgba(11, 22, 34, 0.85) 0%, rgba(11, 22, 34, 0.5) 42%, transparent 62%);
}
.hero .wrap { position: relative; display: flex; padding-top: 8rem; min-height: 36rem; }
.hero__text { align-self: center; display: grid; gap: 1.05rem; justify-items: start; max-width: 36rem; padding-bottom: 3.25rem; }
.hero__kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; line-height: 1.9; text-transform: uppercase; color: var(--copper-bright); }
.hero__role { display: flex; align-items: center; gap: 0.9rem; margin-top: 0.35rem; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.hero__role::after { content: ""; width: 2.2rem; height: 1px; background: var(--copper-bright); }
.hero h1 { font-size: clamp(3rem, 8.4vw, 5.4rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.01em; }
.hero h1 span { display: block; }
.hero__lede { max-width: 28rem; font-size: 1.02rem; color: var(--on-dark); opacity: 0.92; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 0.55rem; }

/* stats */
.stats { background: var(--paper-2); }
.stats ul { list-style: none; padding-block: 1.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats li { padding: 0.35rem 1rem 0.45rem clamp(1rem, 4.5vw, 3.75rem); border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 2.9rem); line-height: 1; color: var(--copper-text); font-variant-numeric: lining-nums tabular-nums; }
.stats span { display: block; max-width: 8.5rem; margin-top: 0.7rem; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; line-height: 1.65; text-transform: uppercase; }

/* clients */
.clients { padding-block: 1.75rem 2.4rem; }
.clients__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.75rem 2rem; }
.clients__head .eyebrow { max-width: 34rem; }
.clients__head p:last-child { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.logos { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; row-gap: 1.1rem; margin-top: 1.4rem; }
.logos li { flex: 0 0 calc(100% / 6); display: grid; align-content: center; justify-items: center; gap: 0.15rem; min-height: 3.4rem; padding: 0.3rem clamp(0.6rem, 1.8vw, 2.2rem); border-left: 1px solid var(--line); text-align: center; }
.logos li:nth-child(6n + 1) { border-left: 0; }
.logos img { display: block; width: auto; height: auto; max-width: min(100%, 9.5rem); max-height: 3.25rem; mix-blend-mode: multiply; }
/* even out logos whose artwork is unusually heavy or carries a small tagline */
.logos img[src$="sbi.svg"] { max-height: 2.5rem; }
.logos img[src$="bank-of-india.png"] { max-height: 4rem; }
.logos strong { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; line-height: 1.1; letter-spacing: 0.02em; color: var(--navy-900); }
.logos span { font-size: 0.7rem; line-height: 1.3; color: var(--ink-soft); }

/* practice areas */
.practice { position: relative; isolation: isolate; background: var(--navy-900); color: var(--on-dark); padding-block: clamp(2.5rem, 6vw, 3.75rem); }
.practice::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50rem 26rem at 85% 0%, rgba(40, 80, 110, 0.4), transparent 70%); }
.practice h2 { margin-top: 0.85rem; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.areas { list-style: none; padding: 0; margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.area { flex: 0 0 calc((100% - 2.7rem) / 4 - 0.1px); display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid var(--card-line); border-radius: 4px; }
.area__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.area > div { display: grid; gap: 0.45rem; align-content: start; padding: 1rem 1.1rem 1.2rem; }
.area h3 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; line-height: 1.3; }
.area p { font-size: 0.8rem; line-height: 1.5; color: var(--on-dark-soft); }

/* about */
.about { padding-block: clamp(2.5rem, 6vw, 3.5rem); }
.about .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.25rem); }
.about__main { display: grid; gap: 1.1rem; align-content: start; justify-items: start; padding-right: clamp(0rem, 3vw, 2.5rem); border-right: 1px solid var(--line); }
.about h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--navy-900); }
.about p { color: var(--ink-soft); font-size: 0.95rem; }
.features { list-style: none; padding: 0; display: flex; flex-wrap: wrap; row-gap: 0.75rem; margin-block: 0.6rem 0.25rem; }
.features li { padding-inline: clamp(0.7rem, 2vw, 1.25rem); border-left: 1px solid var(--line); font-size: 0.9rem; font-weight: 600; line-height: 1.35; color: var(--navy-900); }
.features li:first-child { padding-left: 0; border-left: 0; }
.about__side { display: grid; gap: 1.25rem; align-content: start; }
.about__photo { display: block; width: 100%; height: auto; border-radius: 3px; }
.tenure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tenure div + div { padding-left: clamp(1rem, 3vw, 2.25rem); border-left: 1px solid var(--line); }
.tenure strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.95rem; line-height: 1.15; color: var(--copper-text); font-variant-numeric: lining-nums; }
.tenure strong small { font-size: 1.15rem; }
.tenure span { display: block; max-width: 11rem; font-size: 0.92rem; line-height: 1.45; }

/* experience */
.experience { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 34% minmax(0, 1fr); min-height: 20rem; background: var(--navy-900); color: var(--on-dark); }
/* court photo: pinned left and a little taller than the band, its dark sky fading into the navy under the text */
.experience__photo {
  position: absolute; left: 0; top: -14%; z-index: -2; height: 135%; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 94%);
  mask-image: linear-gradient(90deg, #000 45%, transparent 94%);
}
.experience::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 34, 51, 0) 28%, rgba(15, 34, 51, 0.6) 42%, rgba(15, 34, 51, 0.85) 60%); }
.experience__body {
  grid-column: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem);
  padding: 2.25rem max(var(--gutter), calc((100vw - 75rem) / 2 + var(--gutter))) 2.25rem clamp(1.25rem, 3vw, 2.5rem);
}
.experience h2 { margin-top: 0.7rem; font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.experience p:not(.eyebrow) { margin-top: 0.9rem; max-width: 30rem; font-size: 0.9rem; color: var(--on-dark); opacity: 0.9; }
.experience p strong { font-weight: 700; }
.figures { display: grid; grid-template-columns: repeat(3, auto); }
.figures div { padding-inline: clamp(1rem, 2vw, 1.75rem); border-left: 1px solid var(--navy-700); text-align: center; }
.figures strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.4rem; line-height: 1.1; color: var(--copper-bright); font-variant-numeric: lining-nums; }
.figures span { display: block; margin-top: 0.4rem; font-size: 0.8rem; line-height: 1.35; }

/* contact */
.contact { padding-block: clamp(2rem, 5vw, 3rem); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.65fr); align-items: center; gap: 2rem clamp(2rem, 4vw, 3.25rem); }
.contact h2 { margin-top: 0.5rem; font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--navy-900); }
.contact__intro p:last-child { margin-top: 0.6rem; max-width: 26rem; font-size: 0.92rem; color: var(--ink-soft); }
.contact__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0; }
.contact__list li { display: flex; align-items: flex-start; gap: 0.75rem; min-width: 0; padding-right: clamp(0.75rem, 1.6vw, 1.4rem); }
.contact__list li:nth-child(even) { padding-left: clamp(0.75rem, 1.6vw, 1.4rem); padding-right: 0; border-left: 1px solid var(--line); }
.contact__list .icon { margin-top: 0.1rem; color: var(--copper-text); }
.contact__list strong, .contact__list a { display: block; font-size: 0.8rem; font-weight: 600; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.contact__list a { padding-block: 0.6rem; margin-block: -0.6rem; }
.contact__list a:hover { color: var(--copper-text); text-decoration: underline; }
.contact__list a.directions { margin-block: 0.15rem 0; padding-block: 0.3rem; color: var(--copper-text); text-decoration: underline; text-underline-offset: 0.15em; }
.contact__list span a { display: inline; padding: 0; margin: 0; font-size: inherit; white-space: normal; text-decoration: underline; text-underline-offset: 0.15em; }
.contact__list span { display: block; max-width: 19rem; margin-top: 0.2rem; font-size: 0.75rem; line-height: 1.45; color: var(--ink-soft); }

/* footer */
.site-footer { background: var(--navy-950); color: var(--on-dark); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-block: 1.6rem; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; list-style: none; padding: 0; font-size: 0.8rem; }
.site-footer nav a { display: inline-block; padding-block: 0.6rem; text-decoration: none; }
.site-footer nav a:hover { color: var(--copper-bright); }
.site-footer small { display: block; padding-left: 1.5rem; border-left: 1px solid var(--navy-700); font-size: 0.75rem; line-height: 1.7; color: var(--on-dark-soft); }
.linklike { font: inherit; color: inherit; background: none; border: 0; padding: 0.55rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }

/* quick contact: floating WhatsApp and call buttons, shown on phones and tablets only */
.quick { display: none; }

/* disclaimer */
.gate { position: fixed; inset: 0; z-index: 50; display: flex; overflow: auto; overscroll-behavior: contain; padding: 1rem; background: rgba(8, 16, 26, 0.74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.gate__card { width: min(100%, 36rem); margin: auto; display: grid; gap: 0.9rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--paper); color: var(--ink); border-top: 3px solid var(--copper); border-radius: 3px; box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.45); font-size: 0.95rem; line-height: 1.55; }
.gate__card h2 { font-size: 1.7rem; color: var(--navy-900); }
.gate__card ul { padding-left: 1.1rem; display: grid; gap: 0.45rem; }
.gate__card .btn { justify-self: start; margin-top: 0.4rem; }

/* not-found page */
.lost { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: var(--gutter); background: var(--navy-950); color: var(--on-dark); text-align: center; }
.lost div { display: grid; gap: 1.1rem; justify-items: center; }
.lost h1 { font-size: clamp(2.2rem, 7vw, 3.75rem); font-weight: 600; }
.lost p { max-width: 28rem; color: var(--on-dark-soft); }

@media (max-width: 1280px) {
  .experience__photo { left: -5%; top: -6%; height: 115%; }
}
@media (max-width: 1180px) {
  .hero h1 { font-size: clamp(3rem, 7vw, 4.5rem); }
  .hero__lede { max-width: 24rem; }
  .contact .wrap { grid-template-columns: minmax(0, 1fr); }
  .nav { gap: 1.25rem; }
  .nav ul { gap: 1.2rem; }
  .nav li a, .nav .btn { font-size: 0.8rem; }
  .nav .btn { padding-inline: 0.95rem; }
}
@media (max-width: 1100px) {
  .experience__photo { left: -9%; }
}
@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 0.75rem var(--gutter) 1.5rem; background: var(--navy-950); border-top: 1px solid var(--navy-700); }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding-block: 0.8rem; font-size: 0.95rem; border-bottom: 1px solid var(--navy-700); }
  .nav .btn { justify-content: center; padding: 0.9rem 1.15rem; font-size: 0.95rem; }
  .hero::before { display: none; }
  .hero .wrap { min-height: 0; }
  .hero__text { max-width: none; padding-bottom: 1.75rem; }
  .hero__lede { max-width: 34rem; }
  .hero__photo {
    position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 85% center; transform: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%);
    mask-image: linear-gradient(180deg, transparent 0, #000 24%);
  }
  .area { flex-basis: calc((100% - 1.8rem) / 3 - 0.1px); }
  .logos li { flex-basis: 20%; padding-inline: 0.5rem; border-left: 0; }
  .experience { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .experience::before { display: none; }
  .experience__photo {
    position: static; display: block; width: 100%; height: clamp(13rem, 34vw, 19rem); object-fit: cover; object-position: 12% 38%;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
    mask-image: linear-gradient(180deg, #000 60%, transparent);
  }
  .experience__body { grid-column: auto; grid-template-columns: minmax(0, 1fr); padding: 1.25rem var(--gutter) 2.25rem; }
  .figures { justify-content: start; }
  .figures div:first-child { padding-left: 0; border-left: 0; }
}
@media (max-width: 820px) {
  .hero .wrap { padding-top: 8.25rem; }
  .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
  .stats li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .about .wrap { grid-template-columns: minmax(0, 1fr); }
  .about__main { padding-right: 0; border-right: 0; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
  .site-footer small { padding-left: 0; border-left: 0; }
  .contact__list strong, .contact__list a { font-size: 0.95rem; white-space: normal; overflow-wrap: anywhere; }
  .contact__list span { max-width: none; font-size: 0.82rem; }
}
@media (max-width: 640px) {
  .brand__tag { display: none; }
  .brand__sig { height: 2.75rem; }
  .hero .wrap { padding-top: 6.5rem; }
  .logos li { flex-basis: 50%; }
  .contact__list { grid-template-columns: minmax(0, 1fr); row-gap: 1.1rem; }
  .contact__list li, .contact__list li:nth-child(even) { padding-inline: 0; border-left: 0; }
  .hero__photo { aspect-ratio: 3 / 2; }
  .logos strong { font-size: 1.2rem; }
  .areas { gap: 0.7rem; }
  .area { flex-basis: calc((100% - 0.7rem) / 2 - 0.1px); }
  .area > div { padding: 0.8rem 0.8rem 1rem; }
  .area h3 { font-size: 0.88rem; }
  .area p { font-size: 0.76rem; }
  .features li { font-size: 0.82rem; }
}
@media (max-width: 1000px) {
  .quick { position: fixed; right: max(0.9rem, env(safe-area-inset-right, 0px)); bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); z-index: 30; display: grid; gap: 0.7rem; }
  .quick__btn { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--copper); color: var(--white); box-shadow: 0 0.4rem 1.1rem rgba(8, 16, 26, 0.35); }
  .quick__btn--whatsapp { background: var(--whatsapp); }
  .quick__btn .icon { width: 1.6rem; height: 1.6rem; }
  .site-footer .wrap { padding-bottom: 5.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
