/* =========================================================
   Rizvi Legal Associates — stylesheet
   Palette: Primary #B79E63 · Secondary #23582D · White #FFFFFF
            Dark Green #011C11 · Text #555555
   Type:    DM Serif Display (headings) · Inter (UI / body)
   ========================================================= */

:root {
  --gold: #B79E63;
  --gold-light: #D4C196;
  --gold-dark: #806B33; /* darkened from #9A8247 so small gold text on white meets WCAG AA (4.5:1) */
  --green: #23582D;
  --green-deep: #011C11;
  --green-mid: #0B2D1A;
  --white: #FFFFFF;
  --paper: #F6F4EE;
  --paper-2: #EFEBE1;
  --text: #555555;
  --ink: #1F2A22;
  --line: rgba(1, 28, 17, 0.12);

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

  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px -24px rgba(1, 28, 17, 0.35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  --header-gap: 26px; /* space above the floating header */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-decoration-color: rgba(35, 88, 45, .35); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
h1, h2, h3 { margin: 0; color: var(--green-deep); font-weight: 400; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--gold); color: var(--green-deep); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--gold-light); }

.h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); /* up to 56px */
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.75rem; min-height: 48px;
  font: 500 .95rem/1 var(--sans); letter-spacing: .02em;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--green-deep); box-shadow: 0 10px 24px -12px rgba(183, 158, 99, .9); }
.btn--gold:hover { background: var(--gold-light); color: var(--green-deep); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-deep); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.btn--white { background: var(--white); color: var(--green-deep); }
.btn--white:hover { background: var(--paper); color: var(--green-deep); }
.btn--arrow { padding: .35rem .35rem .35rem 1.6rem; gap: 1rem; min-height: 54px; }
.btn__arrow {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--gold); transition: transform .35s var(--ease);
}
.btn__arrow svg { width: 16px; height: 16px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn--gold .btn__arrow { background: var(--white); }
.btn--gold .btn__arrow svg { stroke: var(--gold-dark); }
.btn--arrow:hover .btn__arrow { transform: rotate(45deg); }

/* ---------- Header (floating pill) ---------- */
.header {
  position: sticky; top: 12px; z-index: 100;
  height: var(--header-h);
  margin-top: var(--header-gap);
  margin-bottom: calc(-1 * (var(--header-h) + var(--header-gap)));
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  pointer-events: none;
}
.header__inner {
  pointer-events: auto;
  max-width: 1240px; height: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: var(--white); border-radius: 999px;
  padding: 0 .5rem 0 1.4rem;
  box-shadow: 0 10px 40px -18px rgba(0,0,0,.45);
  transition: box-shadow .3s;
}
.header.is-scrolled .header__inner { box-shadow: 0 14px 40px -16px rgba(1,28,17,.55), 0 0 0 1px var(--line); }

/* Brand lockup: scales & laurel emblem + "RIZVI / LEGAL ASSOCIATES" (logo concept 02) */
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand__emblem { width: 66px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); }
.brand__sub {
  font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600;
  margin-top: .35rem; padding-top: .35rem; border-top: 1px solid rgba(1,28,17,.55);
}

/* Stacked logo at the foot of the mobile menu */
.nav__logo { display: none; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.75rem; }
.nav__list a {
  position: relative; text-decoration: none; color: var(--ink);
  font-size: .92rem; font-weight: 500; padding: .4rem 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__list a:hover, .nav__list a.is-active { color: var(--green); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.nav__cta { min-height: 58px; font-size: .92rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
  background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--green-deep);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 12px; background: var(--paper); }
.hero__card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px;
  background:
    radial-gradient(900px 480px at 50% -12%, rgba(46, 125, 62, .85), transparent 65%),
    radial-gradient(700px 600px at 78% 55%, rgba(35, 88, 45, .5), transparent 70%),
    var(--green-deep);
  color: rgba(255,255,255,.8);
  padding: calc(var(--header-h) + var(--header-gap) + clamp(1.5rem, 3vw, 3rem)) clamp(1.5rem, 6vw, 6rem) 0;
}
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 560px; height: 560px; right: 8%; bottom: 8%;
  background: radial-gradient(circle, rgba(183,158,99,.28), transparent 65%);
  filter: blur(10px);
}
/* fluted-column texture, echoing the classical pillar in the brand imagery */
.hero__columns {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,0) 0 22px,
    rgba(255,255,255,.035) 22px 24px,
    rgba(255,255,255,0) 24px 46px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero__columns--soft { opacity: .35; }
.hero__inner {
  position: relative; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 2rem;
}
.hero__copy { align-self: center; padding-bottom: clamp(3rem, 6vw, 6rem); }


.hero__title {
  font-family: var(--serif); color: var(--white);
  font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.125rem); /* up to 82px */
  line-height: 1.04; letter-spacing: -.015em; margin-bottom: 1.5rem;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__lead { font-size: clamp(1.02rem, 1rem + .25vw, 1.15rem); max-width: 33rem; margin-bottom: 2.2rem; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.link-light { color: var(--white); font-size: .95rem; text-decoration-color: rgba(183,158,99,.7); }
.link-light:hover { color: var(--gold-light); }

/* Portrait: background-free photo that stands on the stats bar */
.hero__portrait {
  position: relative; justify-self: center; align-self: end;
  /* scale with viewport height so the whole hero, stats included, fits one screen */
  width: min(100%, 480px, max(340px, calc((100vh - 250px) * .63)));
}
.portrait__img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 24px 34px rgba(0,0,0,.4));
}

/* Stats strip, below the portrait */
.stats {
  position: relative; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  padding: 2rem 0 2.4rem;
  border-top: 1px solid rgba(255,255,255,.2);
}
.stat { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .9rem; }
.stat__icon { width: 40px; height: 40px; fill: none; stroke: var(--gold-light); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.stat__value { font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 2vw, 3rem); line-height: 1; color: var(--white); white-space: nowrap; }
.stat__value--text { font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.5rem); }
.stat__label { grid-column: 1 / -1; margin-top: .7rem; font-size: .95rem; color: rgba(255,255,255,.85); }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section__head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head--left { text-align: left; margin: 0; }
.section__head--left .eyebrow { justify-content: flex-start; }
.section__head--light .h2 { color: var(--white); }

/* About: editorial — framed chambers photograph and restrained type */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }

.about__media { position: relative; margin: 0 0 24px 2.4rem; max-width: 440px; }
.about__frame { position: relative; }
/* fine gold hairline, offset behind the photograph */
.about__frame::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px;
  border: 1px solid var(--gold); pointer-events: none;
}
.about__frame img {
  position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  box-shadow: 0 30px 60px -35px rgba(1,28,17,.55);
}
.about__caption {
  position: absolute; left: -2.4rem; bottom: 0;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .66rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-dark);
}

.about__copy { max-width: 32rem; }
.about__title {
  font-family: var(--serif); font-weight: 400; color: var(--green-deep);
  font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.85rem); line-height: 1.2; letter-spacing: -.005em;
  margin-bottom: 1.6rem;
}
.about__title em { font-style: italic; color: var(--gold-dark); }
.about__lead { font-size: 1.05rem; line-height: 1.8; margin-bottom: 2.2rem; }

.about__values {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem;
  padding: 1.3rem 0; margin-bottom: 2.2rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.about__values li {
  display: inline-flex; align-items: center; gap: 1.2rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--green-deep);
}
.about__values li + li::before {
  content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 500; color: var(--green); text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: .2rem;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* Practice: photo carousel (home) */
.services { background: var(--paper); }
.services__head {
  display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem 4rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.pill-label {
  display: inline-block; padding: .4rem 1.15rem; margin-bottom: 1.25rem;
  border: 1px solid var(--green); border-radius: 999px;
  font-size: .85rem; font-weight: 500; color: var(--green-deep);
}
.services__title {
  font-family: var(--serif); font-weight: 400; color: var(--green-deep);
  font-size: clamp(2.4rem, 1.5rem + 2.8vw, 3.6rem); line-height: 1.08;
}
.services__title em { font-style: normal; color: #9A8247; } /* deeper gold on light backgrounds: 3:1 contrast for large text */
.services__aside p { max-width: 30rem; margin-bottom: 1.4rem; }
.carousel-nav { display: flex; gap: .75rem; }
.carousel-btn {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--green-deep); background: transparent;
  transition: background .3s, border-color .3s, opacity .3s, transform .3s var(--ease);
}
.carousel-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--green-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.carousel-btn--next { background: var(--gold); border-color: var(--gold); }
.carousel-btn--next svg { stroke: var(--white); }
.carousel-btn:hover:not(:disabled) { transform: scale(1.06); }
.carousel-btn:disabled { opacity: .35; cursor: default; }

.services__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem) / 3); gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: .25rem;
}
.services__track::-webkit-scrollbar { display: none; }
.service { scroll-snap-align: start; display: block; text-decoration: none; color: inherit; }
.service__img { aspect-ratio: 15 / 14; border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service:hover .service__img img { transform: scale(1.05); }
.service h3 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem);
  color: var(--green-deep); margin: 1.3rem 0 .55rem;
}
.service:hover h3 { color: var(--green); }
.service p { margin: 0; font-size: .96rem; max-width: 24rem; }
.services__cta { text-align: center; margin-top: clamp(2.5rem, 4vw, 3.5rem); }

/* Practice areas page */
.hero--page .hero__card { padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero { position: relative; max-width: 1200px; margin: 0 auto; }
.breadcrumb { display: flex; gap: .6rem; font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--gold-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero__title {
  font-family: var(--serif); font-weight: 400; color: var(--white);
  font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.4rem); line-height: 1.05; margin-bottom: 1.25rem;
}
.page-hero__title em { font-style: normal; color: var(--gold); }
.page-hero__lead { max-width: 40rem; font-size: 1.08rem; font-weight: 300; margin-bottom: 2rem; }
.page-hero__jump { display: flex; flex-wrap: wrap; gap: .6rem; }
.page-hero__jump a {
  display: inline-block; padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2); color: var(--white); font-size: .85rem; text-decoration: none;
  transition: border-color .3s, color .3s;
}
.page-hero__jump a:hover { border-color: var(--gold); color: var(--gold-light); }

.areas { background: var(--white); padding: clamp(2rem, 5vw, 4rem) 0; }
.area {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 40px);
}
.area:last-child { border-bottom: 0; }
.area:nth-child(even) .area__media { order: 2; }
.area__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.area__num { font-size: .75rem; font-weight: 600; letter-spacing: .3em; color: var(--gold-dark); margin-bottom: .6rem; }
.area h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); line-height: 1.1; margin-bottom: .9rem; }
.area__lead { font-family: var(--serif); font-size: 1.2rem; color: var(--green); line-height: 1.45; }
.area__list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; margin: 1.6rem 0 2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.area__list li { position: relative; padding-left: 1.2rem; font-size: .95rem; color: var(--ink); }
.area__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

.cta-band { background: var(--paper); }
.cta-band__inner {
  text-align: center; max-width: 820px; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: 24px; color: rgba(255,255,255,.8);
  background: radial-gradient(600px 300px at 50% -20%, rgba(46,125,62,.8), transparent 70%), var(--green-deep);
}
.cta-band__title { font-family: var(--serif); font-weight: 400; color: var(--white); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); margin-bottom: .8rem; }
.cta-band__inner p { margin-bottom: 2rem; }

/* Approach */
.approach {
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(46,125,62,.7), transparent 70%),
    radial-gradient(700px 500px at 100% 100%, rgba(35,88,45,.35), transparent 70%),
    var(--green-deep);
  color: rgba(255,255,255,.75); overflow: hidden;
}
.pill-label--light { background: var(--white); border-color: var(--white); color: var(--green-deep); font-weight: 600; }
.approach__title {
  font-family: var(--serif); font-weight: 400; color: var(--white);
  font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.6rem); line-height: 1.1;
}
.approach__title em { display: block; font-style: normal; color: var(--gold); }

/* Process timeline. Base = vertical (phones); landscape from 961px; 2x2 on tablets */
.timeline { display: grid; gap: 2.4rem; max-width: 620px; margin-inline: auto; }
.timeline__step { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 1.4rem; align-items: start; outline: none; transition: opacity .3s; }
.timeline__step:not(:last-child)::before {
  content: ""; position: absolute; left: 28px; top: 66px; height: calc(100% - 66px + 2.4rem - 8px);
  border-left: 2px dotted rgba(212,193,150,.55);
}
.timeline__icon {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 0 6px rgba(183,158,99,.14), 0 10px 24px -10px rgba(0,0,0,.6);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.timeline__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.timeline__num { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: .35rem; }
.timeline__step h3 { font-family: var(--serif); font-weight: 400; color: var(--white); font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); margin: .35rem 0 .5rem; }
.timeline__step p { margin: 0; font-size: .97rem; max-width: 30rem; }
.timeline__step:hover .timeline__icon, .timeline__step.is-active .timeline__icon,
.timeline__step:focus-visible .timeline__icon {
  transform: translateY(-4px);
  box-shadow: 0 0 0 6px rgba(183,158,99,.22), 0 0 28px rgba(212,193,150,.45);
}
.timeline.has-active .timeline__step:not(.is-active) { opacity: .55; }

.approach__close { margin-top: clamp(3rem, 6vw, 4.5rem); text-align: center; }
.approach__close p {
  font-family: var(--serif); font-style: italic; color: rgba(255,255,255,.85);
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); margin-bottom: 0;
}
.approach__close p::before, .approach__close p::after {
  content: ""; display: inline-block; width: 40px; height: 1px; background: var(--gold);
  vertical-align: middle; margin: 0 1rem; opacity: .7;
}

/* landscape: four steps in a row on one gold line that draws itself in */
@media (min-width: 961px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: none; position: relative; }
  .timeline::before {
    content: ""; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 1px;
    background: linear-gradient(90deg, rgba(183,158,99,.15), var(--gold) 15%, var(--gold) 85%, rgba(183,158,99,.15));
    transform: scaleX(0); transform-origin: left center;
    transition: transform 1.8s cubic-bezier(.45,.05,.25,1) .2s;
  }
  .timeline:has(.timeline__step.is-visible)::before { transform: scaleX(1); }
  .timeline__step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; padding: 0 .5rem; }
  .timeline__step:not(:last-child)::before { display: none; }
  .timeline__icon {
    width: 72px; height: 72px; margin-bottom: 1.6rem;
    /* a deep-green ring masks the line behind the medallion */
    box-shadow: 0 0 0 10px var(--green-deep), 0 0 0 11px rgba(212,193,150,.35), 0 16px 30px -12px rgba(0,0,0,.7);
  }
  .timeline__step:hover .timeline__icon, .timeline__step.is-active .timeline__icon,
  .timeline__step:focus-visible .timeline__icon {
    box-shadow: 0 0 0 10px var(--green-deep), 0 0 0 11px var(--gold-light), 0 0 34px rgba(212,193,150,.5);
  }
  .timeline__icon svg { width: 30px; height: 30px; }
  .timeline__step p { max-width: 17rem; margin-inline: auto; }
}
/* tablets: 2 x 2 */
@media (min-width: 641px) and (max-width: 960px) {
  .timeline { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; max-width: none; }
  .timeline__step:not(:last-child)::before { display: none; }
}




/* Counsel */
.counsel { background: var(--white); }
.counsel__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.counsel__photo {
  aspect-ratio: 800 / 1132; border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(255,255,255,.05) 24px 26px),
    linear-gradient(170deg, var(--green), var(--green-deep));
  display: grid; place-items: center; box-shadow: var(--shadow); position: relative;
}
.counsel__photo img { width: 100%; height: 100%; object-fit: cover; }
.counsel__role { font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-top: -.5rem; margin-bottom: 1.5rem; }
.counsel__lead { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.45; color: var(--green-deep); margin-bottom: 1.2rem; }
.counsel__langs {
  display: flex; align-items: center; gap: 1rem; margin: 1.8rem 0 2rem; padding: 1rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink);
}
.counsel__langs span { font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dark); }

/* Booking: heading row + full-width SimplyMeet calendar */
.book { background: var(--paper-2); }
.book__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.book__info { position: sticky; top: calc(var(--header-h) + 3rem); padding-top: 1rem; }
.book__lead { margin: 1.2rem 0 1.6rem; max-width: 32rem; }
.book__perks { display: flex; flex-wrap: nowrap; gap: .5rem; }
.book__perks li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .38rem .8rem .38rem .4rem; border-radius: 999px; white-space: nowrap;
  background: var(--white); border: 1px solid var(--line);
  font-size: .8rem; color: var(--ink);
}
.book__perks li::before {
  content: ""; width: 1.15rem; height: 1.15rem; border-radius: 50%; flex: none;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.book__alt { margin: 2rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .95rem; max-width: 34rem; }

.scheduler-card {
  background: var(--white); border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.scheduler-card__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 1.25rem; background: var(--green-deep); color: var(--white);
}
.scheduler-card__title { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.scheduler-card__title svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; }
.scheduler-card__open { color: var(--gold-light); font-size: .85rem; text-decoration: none; white-space: nowrap; }
.scheduler-card__open:hover { color: var(--white); }
.scheduler-card__open[hidden] { display: none; }

/* fixed, screen-sized frame: the booking page scrolls inside it, and the whole frame is always visible */
.scheduler { position: relative; height: clamp(620px, calc(100vh - 150px), 880px); }
.scheduler iframe { display: block; width: 100%; height: 100%; border: 0; }
.scheduler__placeholder {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; gap: .35rem; background: var(--white);
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.scheduler.is-loaded .scheduler__placeholder { opacity: 0; visibility: hidden; }
.scheduler__spinner {
  width: 42px; height: 42px; border-radius: 50%; margin-bottom: 1rem;
  border: 2px solid rgba(183,158,99,.25); border-top-color: var(--gold);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.scheduler__title { font-family: var(--serif); font-size: 1.6rem; color: var(--green-deep); margin: 0; }
.scheduler__text { margin-bottom: 1.25rem; font-size: .95rem; }
/* the open-in-SimplyMeet button only matters if the calendar is slow; reveal it after a few seconds */
.scheduler__link { opacity: 0; animation: fade-in .4s var(--ease) 4s forwards; }
.scheduler.is-unconfigured .scheduler__spinner { display: none; }
.scheduler.is-unconfigured .scheduler__link { opacity: 1; animation: none; }
@keyframes fade-in { to { opacity: 1; } }

/* FAQ */
.faq { background: var(--white); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.5rem 3rem 1.5rem 0;
  font-family: var(--serif); font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); color: var(--green-deep); line-height: 1.3;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border: 1px solid var(--gold); border-radius: 50%;
  background:
    linear-gradient(var(--green), var(--green)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--green), var(--green)) center / 1.5px 10px no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.accordion details[open] summary::after { transform: rotate(45deg); background-color: rgba(183,158,99,.15); }
.accordion details p { padding: 0 3rem 1.5rem 0; margin: 0; }

/* Contact */
.contact {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(35,88,45,.5), transparent 60%),
    var(--green-deep);
  color: rgba(255,255,255,.75);
}
.contact .h2 { color: var(--white); }
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.details { display: grid; gap: 1.5rem; margin: 2rem 0 0; }
.details dt { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .3rem; }
.details dd { margin: 0; color: var(--white); }
.details a { color: var(--white); text-decoration: none; }
.details a:hover { color: var(--gold-light); }

/* Office map */
.map {
  margin-top: 2.25rem; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(183,158,99,.45);
  box-shadow: 0 24px 50px -30px rgba(0,0,0,.7);
  background: var(--green-mid);
}
.map__frame {
  display: block; width: 100%; height: 240px; border: 0;
  filter: grayscale(.35) contrast(1.05);
}
.map__link {
  display: inline-flex; gap: .4rem; margin-top: 1rem;
  color: var(--gold-light); font-size: .92rem; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid rgba(183,158,99,.6); padding-bottom: .15rem;
}
.map__link:hover { color: var(--white); }

.form {
  background: var(--white); color: var(--text); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 3rem);
  display: grid; gap: 1.25rem; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.form__title { font-family: var(--serif); font-size: 1.9rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form label { display: grid; gap: .45rem; }
.form label > span { font-size: .82rem; font-weight: 500; color: var(--ink); letter-spacing: .02em; }
.form label em { font-style: normal; color: #6b6b6b; font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1px solid #d8d4c9; border-radius: var(--radius-sm); background: #FBFAF7;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(183,158,99,.18);
}
.form .is-invalid { border-color: #b3443a; }
.form__note { font-size: .82rem; margin: 0; color: #6b6b6b; }
.form .btn { justify-self: start; }
.form__status { margin: 0; font-size: .9rem; color: var(--green); min-height: 1.2em; }
.form__status.is-error { color: #b3443a; }
.form__status.is-error a { color: inherit; }
.form__status.is-success { padding: .8rem 1rem; border-radius: var(--radius-sm); background: rgba(35,88,45,.08); border: 1px solid rgba(35,88,45,.25); }
.form button:disabled { opacity: .6; cursor: progress; transform: none; }
/* spam honeypot, hidden from people */
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Footer */
.footer { background: #000F09; color: rgba(255,255,255,.55); padding: 3.5rem 0 2rem; font-size: .88rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand--footer .brand__emblem { width: 84px; height: 56px; }
.brand--footer .brand__name { color: var(--gold); font-size: 1.9rem; }
.brand--footer .brand__sub { color: var(--gold-light); border-top-color: rgba(255,255,255,.35); }
.footer__links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer__links a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer__links a:hover { color: var(--gold-light); }
.footer__legal { padding-top: 1.75rem; display: grid; gap: .5rem; }
.footer__legal p { margin: 0; max-width: 60rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */

/* Small laptops / iPad landscape (≤1100px) */
@media (max-width: 1100px) {
  .nav__list { gap: 1.25rem; }
  .nav { gap: 1.25rem; }
  .nav__list a { font-size: .88rem; }
}

/* iPad portrait & below (≤960px): collapse nav to menu */
@media (max-width: 960px) {
  :root { --header-h: 66px; --header-gap: 20px; }
  .header__inner { padding: 0 .5rem 0 1.1rem; }
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 100%); z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: calc(var(--header-h) + 1rem) 2rem 1.5rem; overflow-y: auto; gap: 1.5rem;
    background: var(--paper); box-shadow: -30px 0 60px -30px rgba(1,28,17,.5);
    transform: translateX(100%); visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s linear .45s;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: .8rem 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav__cta { width: 100%; }
  .nav__logo {
    display: flex; flex-direction: column; align-items: center; margin-top: auto; padding-top: 1.5rem;
    opacity: .9;
  }
  .nav__logo img { width: 96px; height: auto; }
  .nav__logo-name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .06em; color: var(--gold-dark); margin-top: .6rem; line-height: 1; }
  .nav__logo-sub {
    font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600;
    margin-top: .4rem; padding-top: .4rem; border-top: 1px solid rgba(1,28,17,.55);
  }
  body.menu-open { overflow: hidden; }
  body.menu-open::after {
    content: ""; position: fixed; inset: 0; background: rgba(1,28,17,.45); z-index: 99;
  }

  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__copy { text-align: center; padding-bottom: 1rem; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__portrait { width: min(82%, 450px); }
  .hero__copy { padding-bottom: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }

  .about__grid, .counsel__grid, .book__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { width: min(100%, 400px); margin: 0 auto 24px; }
  .about__copy { max-width: none; }
  .counsel__photo { max-width: 420px; width: 100%; margin-inline: auto; }
  .book__grid { grid-template-columns: 1fr; }
  .book__info { position: static; padding-top: 0; }
  .scheduler-card { width: 100%; max-width: 520px; margin-inline: auto; }
  .services__head { grid-template-columns: 1fr; align-items: start; }
  .services__track { grid-auto-columns: calc((100% - 1.5rem) / 2); }
  .area { grid-template-columns: 1fr; }
  .area:nth-child(even) .area__media { order: 0; }
}

/* Phones (≤640px) */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: min(100% - 2.5rem, var(--container)); }
  .header { padding: 0 1.1rem; }
  .brand { gap: .6rem; }
  .brand__emblem { width: 54px; height: 36px; }
  .brand__name { font-size: 1.35rem; }
  .brand__sub { font-size: .5rem; letter-spacing: .24em; }

  .hero { padding: 8px; }
  .hero__card { border-radius: 20px; padding-inline: 1.25rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .hero__portrait { width: min(94%, 360px); }
  .stats { gap: 1.5rem 1rem; padding-top: 1.6rem; }
  .stat { column-gap: .6rem; }
  .stat__icon { width: 30px; height: 30px; }
  .stat__value { font-size: 1.9rem; }
  .stat__value--text { font-size: 1.3rem; }
  .stat__label { font-size: .85rem; margin-top: .45rem; }

  .about__media { width: calc(100% - 24px); margin: 0 24px 24px 0; }
  .about__caption { position: static; writing-mode: horizontal-tb; transform: none; display: block; margin-top: 2.4rem; text-align: center; font-size: .6rem; letter-spacing: .26em; }
  .about__values { gap: .6rem; flex-wrap: nowrap; justify-content: space-between; }
  .about__values li { gap: .6rem; letter-spacing: .16em; font-size: .62rem; }
  .services__track { grid-auto-columns: 84%; gap: 1rem; }
  .area__list { grid-template-columns: 1fr; }
  .page-hero__jump a { font-size: .78rem; padding: .4rem .8rem; }
  .timeline__step { grid-template-columns: 48px 1fr; gap: 1rem; }
  .approach__close p::before, .approach__close p::after { display: none; }
  .timeline__icon { width: 48px; height: 48px; }
  .timeline__icon svg { width: 22px; height: 22px; }
  .timeline__step:not(:last-child)::before { left: 23px; top: 56px; height: calc(100% - 56px + 2.4rem - 8px); }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { width: 100%; justify-self: stretch; }
  .scheduler { height: clamp(520px, calc(100svh - 150px), 760px); }
  .scheduler-card { border-radius: 14px; }
  .book__perks { flex-wrap: wrap; }
  .scheduler-card__bar { padding: .75rem 1rem; }
  .scheduler-card__title { letter-spacing: .14em; font-size: .72rem; }
  .accordion summary { padding-right: 2.75rem; }
  .accordion details p { padding-right: 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* Very small phones (≤380px) */
@media (max-width: 380px) {
  .stat__value { font-size: 1.6rem; }
  .stat__value--text { font-size: 1.15rem; }
  .brand__sub { letter-spacing: .18em; }
}

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

/* =========================================================
   Disclaimer pop-up (Bar Council of India)
   ========================================================= */
body.has-disclaimer { overflow: hidden; }
.disclaimer {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; padding: 1rem;
  background: rgba(1, 20, 12, .72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: dsc-fade .35s var(--ease) both;
}
.disclaimer.is-leaving { animation: dsc-fade-out .35s var(--ease) both; }
@keyframes dsc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dsc-fade-out { to { opacity: 0; } }
.disclaimer__dialog {
  position: relative; width: min(100%, 640px); max-height: calc(100vh - 2rem); max-height: calc(100svh - 2rem);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper); border-radius: 18px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
  animation: dsc-rise .45s var(--ease) both;
}
@keyframes dsc-rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.disclaimer__emblem { width: 72px; height: auto; margin-bottom: .6rem; }
.disclaimer__kicker { margin: 0; font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dark); }
.disclaimer__title { font-family: var(--serif); font-weight: 400; color: var(--green-deep); font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); margin: .3rem 0 1rem; }
.disclaimer__text {
  overflow-y: auto; text-align: left; font-size: .93rem; line-height: 1.7; color: var(--text);
  padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
}
.disclaimer__text p { margin-bottom: .85rem; }
.disclaimer__text p:last-child { margin-bottom: 0; }
.disclaimer__text a { color: var(--green); font-weight: 600; }
.disclaimer__text:focus-visible { outline: 2px solid var(--gold); }
.disclaimer__site { font-weight: 600; color: var(--ink); white-space: nowrap; }
.disclaimer__actions { display: flex; gap: .75rem; margin-top: 1.4rem; width: 100%; justify-content: center; }
.disclaimer__actions .btn { min-width: 150px; }
.disclaimer__exit { background: transparent; border-color: rgba(1,28,17,.3); color: var(--green-deep); }
.disclaimer__exit:hover { border-color: var(--green-deep); color: var(--green-deep); }
@media (max-width: 640px) {
  .disclaimer__actions { flex-direction: column-reverse; }
  .disclaimer__actions .btn { width: 100%; }
  .disclaimer__text { font-size: .88rem; padding: .9rem 1rem; }
}

/* =========================================================
   Disclaimer page
   ========================================================= */
.legal { background: var(--white); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.legal__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 3rem); }
.legal__toc-title { font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1rem; }
.legal__toc ol { counter-reset: toc; border-left: 1px solid var(--line); }
.legal__toc li { counter-increment: toc; }
.legal__toc a {
  display: grid; grid-template-columns: 2rem 1fr; padding: .55rem 0 .55rem 1rem; margin-left: -1px;
  border-left: 2px solid transparent; font-size: .88rem; line-height: 1.4; color: var(--text); text-decoration: none;
  transition: color .25s, border-color .25s;
}
.legal__toc a::before { content: counter(toc, decimal-leading-zero); color: var(--gold-dark); font-weight: 600; font-size: .75rem; padding-top: .1rem; }
.legal__toc a:hover { color: var(--green-deep); border-left-color: var(--gold); }
.legal__body { max-width: 760px; }
.legal__notice {
  padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; border-radius: 12px;
  background: var(--paper); border-left: 3px solid var(--gold);
  font-family: var(--serif); font-size: 1.15rem; line-height: 1.55; color: var(--green-deep);
}
.legal__notice p { margin: 0; }
.legal__item { padding: 2rem 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 40px); }
.legal__num { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .3em; color: var(--gold-dark); margin-bottom: .5rem; }
.legal__item h2 { font-family: var(--serif); font-weight: 400; color: var(--green-deep); font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); line-height: 1.25; margin-bottom: .9rem; }
.legal__item p { color: var(--text); line-height: 1.85; }
.legal__item p:last-child { margin-bottom: 0; }
.legal__item p + .legal__list, .legal__list + p { margin-top: 1rem; }
.legal__list { display: grid; gap: .7rem; margin: 0 0 1rem; }
.legal__list li { position: relative; padding-left: 1.4rem; line-height: 1.75; color: var(--text); }
.legal__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.legal__list strong, .legal__item p strong { color: var(--ink); font-weight: 600; }
.legal__item a { color: var(--green); text-decoration-color: rgba(183,158,99,.7); }
@media (max-width: 960px) {
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}
.legal__email a { font-family: var(--serif); font-size: 1.25rem; }

/* =========================================================
   Language switch (EN / हिं)
   ========================================================= */
.lang-switch {
  display: inline-flex; flex: none; padding: 3px; gap: 2px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
}
.lang-switch__btn {
  min-width: 40px; padding: .38rem .7rem; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink); font: 600 .78rem/1 var(--sans); letter-spacing: .04em;
  transition: background .25s, color .25s;
}
.lang-switch__btn[lang="hi"] { font-size: .9rem; letter-spacing: 0; }
.lang-switch__btn:hover { color: var(--green); }
.lang-switch__btn[aria-pressed="true"] { background: var(--green-deep); color: var(--white); }
.disclaimer__lang { position: absolute; top: 1rem; right: 1rem; }
@media (max-width: 960px) {
  .nav .lang-switch { align-self: flex-start; }
}

/* =========================================================
   Hindi (lang="hi"): Devanagari fonts, looser rhythm
   ========================================================= */
html[lang="hi"] {
  --serif: "Tiro Devanagari Hindi", "DM Serif Display", Georgia, serif;
  --sans: "Mukta", "Inter", system-ui, sans-serif;
}
html[lang="hi"] body { line-height: 1.85; }
/* letter-spacing breaks up Devanagari conjuncts; translated text never gets it */
html[lang="hi"] [data-i18n] { letter-spacing: normal; }
/* matras and descenders need more room than Latin display type */
html[lang="hi"] :is(h1, h2, h3, summary, .stat__value, .counsel__lead, .legal__notice, .approach__close p) { line-height: 1.4; }
html[lang="hi"] :is(.hero__lead, .legal__item p, .legal__list li, .timeline__step p, .service p) { line-height: 1.9; }
/* keep Latin-only items (brand, numbers) in their original typefaces */
html[lang="hi"] :is(.brand__name, .brand__sub, .nav__logo-name, .nav__logo-sub) { font-family: "DM Serif Display", Georgia, serif; }
html[lang="hi"] :is(.brand__sub, .nav__logo-sub) { font-family: "Inter", system-ui, sans-serif; }

/* small laptops: make room in the header pill for the language switch, and let booking tags wrap */
@media (min-width: 961px) {
  .header__inner { gap: 1rem; padding-left: 1.1rem; }
  .nav { gap: .8rem; }
  .nav__list { gap: .85rem; }
  .nav__list a { font-size: .84rem; }
  .nav__cta { font-size: .84rem; padding-left: 1.1rem; gap: .6rem; }
  .nav__cta .btn__arrow { width: 36px; height: 36px; }
  .brand { gap: .55rem; }
  .brand__emblem { width: 56px; height: 37px; }
  .lang-switch__btn { min-width: 34px; padding: .34rem .55rem; }
  .book__perks { flex-wrap: wrap; }
}
@media (min-width: 961px) {
  .nav__list a, .brand__sub, .nav__cta { white-space: nowrap; }
}
/* narrower laptops: the header booking button shrinks to its arrow (its label is still read out) */
@media (min-width: 961px) and (max-width: 1200px) {
  .nav__cta { font-size: 0; gap: 0; padding: .3rem; min-height: 0; }
  .nav__cta .btn__arrow { width: 40px; height: 40px; }
}
@media (min-width: 961px) and (max-width: 1080px) {
  .header__inner { gap: .75rem; }
  .nav { gap: .6rem; }
  .nav__list { gap: .6rem; }
  .nav__list a { font-size: .8rem; }
}

/* =========================================================
   Careers page
   ========================================================= */

.openings { background: var(--white); }
.openings__head {
  display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 1.5rem 4rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.openings__head > p { max-width: 30rem; margin: 0; }
.openings__list { display: grid; gap: 1.75rem; }

.opening {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(1.75rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: 22px;
  background: var(--paper); border: 1px solid var(--line); position: relative; overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 40px);
}
.opening::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(183,158,99,0));
}
.opening__status {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--green);
}
.opening__dot { width: 8px; height: 8px; border-radius: 50%; background: #2E7D3E; box-shadow: 0 0 0 4px rgba(46,125,62,.18); }
.opening__title {
  font-family: var(--serif); font-weight: 400; color: var(--green-deep);
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.7rem); line-height: 1.1; margin: 0 0 .9rem;
}
.opening__summary { font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--green); max-width: 40rem; }
.opening__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem;
  margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.opening__cols h4 {
  margin: 0 0 1rem; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark);
}
.opening__list { display: grid; gap: .7rem; }
.opening__list li { position: relative; padding-left: 1.2rem; font-size: .95rem; line-height: 1.6; color: var(--ink); }
.opening__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }

.opening__meta {
  display: flex; flex-direction: column; gap: 1.75rem; align-self: start;
  padding: 1.75rem; border-radius: 16px; color: rgba(255,255,255,.8);
  background: radial-gradient(320px 220px at 100% 0%, rgba(46,125,62,.6), transparent 70%), var(--green-deep);
}
.opening__meta dl { display: grid; gap: 1.1rem; margin: 0; }
.opening__meta dl > div { padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.opening__meta dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.opening__meta dt { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.opening__meta dd { margin: 0; color: var(--white); font-size: 1rem; }
.opening__meta .btn { justify-content: space-between; width: 100%; }

.openings__general { text-align: center; margin: clamp(2rem, 4vw, 3rem) auto 0; max-width: 40rem; }
.openings__general a { color: var(--green); font-weight: 500; text-decoration-color: var(--gold); text-underline-offset: .2em; }

/* apply: reuses the dark contact section */
.apply__steps { counter-reset: step; display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.apply__steps li {
  counter-increment: step; position: relative; padding-left: 3rem; line-height: 1.6;
}
.apply__steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: .05rem;
  font-family: var(--serif); font-size: 1.3rem; color: var(--gold); line-height: 1.2;
}
.apply__steps strong { color: var(--white); font-weight: 500; }

.form__check { display: flex !important; align-items: flex-start; gap: .75rem; cursor: pointer; }
.form__check input { flex: none; width: 18px; height: 18px; margin: .15rem 0 0; padding: 0; accent-color: var(--green); }
.form__check span { font-size: .88rem !important; font-weight: 400 !important; color: var(--text) !important; line-height: 1.55; }
.form__check a { color: var(--green); }
.form__check input.is-invalid { outline: 2px solid #b3443a; outline-offset: 2px; }

/* questions */
.questions { background: var(--paper); }
.questions__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.questions__intro { max-width: 30rem; margin-top: 1.25rem; }
.questions .form { box-shadow: var(--shadow); }
.questions__mail { display: grid; gap: .35rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 30rem; }
.questions__mail span { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark); }
.questions__mail a { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: var(--green-deep); text-decoration: none; overflow-wrap: anywhere; }
.questions__mail a:hover { color: var(--green); }
.details a { overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .openings__head, .questions__grid { grid-template-columns: 1fr; }
  .opening { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .opening__cols { grid-template-columns: 1fr; }
  .opening { border-radius: 18px; }
}

/* =========================================================
   Header dropdown: "Our Approach" → Our Process · Careers · Apply
   ========================================================= */
.nav__drop { position: relative; }
.nav__drop-toggle { display: inline; }
/* every top-level item is a flex row so "Our Approach" (which also holds the hidden panel) sits on the same line */
@media (min-width: 961px) { .nav__list > li { display: flex; align-items: center; } }
.nav__menu {
  position: absolute; top: calc(100% + 22px); left: -1rem; z-index: 5; min-width: 260px;
  padding: .5rem; border-radius: 16px; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(1,28,17,.4);
  opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
/* invisible bridge so the pointer can travel from the label to the panel */
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.nav__menu ul { display: grid; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.nav__list .nav__menu a {
  display: flex; align-items: center; gap: .8rem; padding: .7rem .85rem; border-radius: 10px;
  font-size: .9rem; font-weight: 500; color: var(--ink); white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav__list .nav__menu a::after { display: none; }
.nav__list .nav__menu a:hover, .nav__list .nav__menu a:focus-visible, .nav__list .nav__menu a[aria-current="page"] { background: var(--paper); color: var(--green); }
.nav__menu-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold-dark); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 961px) {
  .nav__drop.is-open .nav__menu, .nav__drop:focus-within:not(.is-dismissed) .nav__menu {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s;
  }
}
@media (min-width: 961px) and (hover: hover) {
  .nav__drop:hover .nav__menu { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
}

/* mobile menu: the three links sit open beneath "Our Approach" */
@media (max-width: 960px) {
  .nav__menu {
    position: static; min-width: 0; padding: .25rem 0 .5rem; border: 0; border-radius: 0; box-shadow: none;
    background: transparent; opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    border-bottom: 1px solid var(--line);
  }
  .nav__menu::before { display: none; }
  .nav__drop-toggle { width: 100%; }
  .nav__list .nav__drop > .nav__drop-toggle { border-bottom: 0; }
  .nav__list .nav__menu a {
    font-family: var(--sans); font-size: 1rem; padding: .55rem .25rem .55rem .9rem; border-bottom: 0; border-radius: 8px;
  }
}

/* CV upload (careers application form) */
.form__file { display: grid; gap: .45rem; }
.form__file-label { font-size: .82rem; font-weight: 500; color: var(--ink); letter-spacing: .02em; }
.form label.file-drop {
  position: relative; display: flex; align-items: center; gap: 1rem; cursor: pointer;
  padding: 1.1rem 1.2rem; border: 1.5px dashed #cfc7b2; border-radius: var(--radius-sm); background: #FBFAF7;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.file-drop:hover { border-color: var(--gold); background: var(--white); }
.file-drop:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(183,158,99,.18); }
.file-drop.has-file { border-style: solid; border-color: rgba(35,88,45,.45); background: rgba(35,88,45,.05); }
.file-drop.is-invalid { border-color: #b3443a; }
/* the real input covers the whole box, invisible, so clicking or dropping a file anywhere works */
.form .file-drop input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0;
}
.file-drop__icon {
  flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 50%;
  background: var(--paper); fill: none; stroke: var(--gold-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.file-drop.has-file .file-drop__icon { stroke: var(--green); background: var(--white); }
.file-drop__text { display: grid; gap: .15rem; min-width: 0; }
.file-drop__name { font-size: .95rem; font-weight: 600; color: var(--green-deep); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-drop__hint { font-size: .8rem; color: #6b6b6b; }

/* application thank-you page */
.thanks .hero__card { min-height: min(78vh, 720px); display: grid; place-items: center; }
.thanks__inner { text-align: center; max-width: 44rem; }
.thanks__inner .page-hero__lead { margin-inline: auto; }
.thanks__icon { width: 72px; height: 72px; margin: 0 auto 1.75rem; display: block; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.thanks__mail a { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-light); text-decoration: none; overflow-wrap: anywhere; }
.thanks__mail a:hover { color: var(--white); }
.thanks__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.thanks__home { color: rgba(255,255,255,.8); text-decoration: none; border-bottom: 1px solid rgba(183,158,99,.6); padding-bottom: .15rem; }
.thanks__home:hover { color: var(--white); }

/* Practice Areas menu: eight areas in two columns, with a link to the full page */
.nav__drop--wide .nav__menu { min-width: 540px; padding: .6rem; left: 50%; margin-left: -270px; }
.nav__drop--wide .nav__menu ul { grid-template-columns: 1fr 1fr; column-gap: .25rem; }
.nav__list .nav__menu a.nav__menu-all {
  display: flex; justify-content: space-between; align-items: center;
  margin: .45rem .25rem 0; padding: .8rem .6rem .35rem; border-top: 1px solid var(--line); border-radius: 0;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--green);
}
.nav__list .nav__menu a.nav__menu-all:hover, .nav__list .nav__menu a.nav__menu-all:focus-visible { background: transparent; color: var(--gold-dark); }
.nav__menu-arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.nav__menu-all:hover .nav__menu-arrow { transform: translateX(3px); }
@media (max-width: 960px) {
  .nav__drop--wide .nav__menu { min-width: 0; padding: .25rem 0 .5rem; margin-left: 0; }
  .nav__drop--wide .nav__menu ul { grid-template-columns: 1fr; }
  .nav__list .nav__menu a.nav__menu-all { margin: .35rem 0 0 .9rem; padding: .6rem .25rem .2rem 0; border-top: 0; font-family: var(--sans); }
}

/* Enquiry form (Zoho): country code + number side by side; the response frame stays hidden */
.phone-field { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: .6rem; }
.phone-field input:first-child { text-align: center; }
.form__sink { position: absolute; width: 0; height: 0; border: 0; visibility: hidden; }

/* Careers questions: WhatsApp and email contact cards */
.contact-cards { display: grid; gap: 1rem; align-content: start; }
.contact-card {
  display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 1.6rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  text-decoration: none; box-shadow: 0 22px 44px -30px rgba(1,28,17,.45);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.contact-card:hover, .contact-card:focus-visible { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 28px 50px -28px rgba(1,28,17,.5); }
.contact-card__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); }
.contact-card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-dark); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-card--whatsapp .contact-card__icon { background: var(--green); }
.contact-card--whatsapp .contact-card__icon svg { stroke: var(--white); }
.contact-card__text { display: grid; gap: .2rem; min-width: 0; }
.contact-card__label { font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); color: var(--green-deep); line-height: 1.2; }
.contact-card__value { font-size: .98rem; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.contact-card__hint { font-size: .82rem; color: #6b6b6b; }
.contact-card__arrow { flex: none; width: 18px; height: 18px; margin-left: auto; fill: none; stroke: var(--gold-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.contact-card:hover .contact-card__arrow { transform: translate(2px, -2px); }
@media (max-width: 640px) {
  .contact-card { gap: 1rem; padding: 1.25rem; }
  .contact-card__icon { width: 48px; height: 48px; }
}

/* Contact: WhatsApp line */
.details a.details__wa { display: inline-flex; align-items: center; gap: .55rem; }
.details__wa svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.details a.details__wa span { border-bottom: 1px solid rgba(183,158,99,.55); padding-bottom: .1rem; }
.details a.details__wa:hover span { border-color: var(--gold-light); }

/* Footer: links + Follow us */
.footer__nav { display: grid; gap: 1.25rem; justify-items: end; }
.footer__follow { display: flex; align-items: center; gap: 1rem; }
.footer__follow-label { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.social { display: flex; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.social__link {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.2);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.social__link svg { width: 18px; height: 18px; }
.social__link:hover, .social__link:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--green-deep); transform: translateY(-2px); }
@media (max-width: 640px) {
  .footer__nav { justify-items: start; }
}

/* 404 page */
.nf__code { font-family: var(--serif); font-size: clamp(4rem, 3rem + 5vw, 7rem); line-height: 1; color: var(--gold); margin: 0 0 1rem; }
