/* =========================================================
   Chambers of Divij Kumar — shared stylesheet
   ========================================================= */

:root {
  --paper: #F2ECDF;
  --paper-warm: #EDE5D3;
  --ink: #14110C;
  --ink-soft: #2A2620;
  --muted: #5C564B;
  --rule: rgba(20, 17, 12, 0.18);
  --rule-strong: rgba(20, 17, 12, 0.32);
  --brass: #8C6A24;
  --brass-deep: #6E5119;
  --serif: "Cormorant Garamond", "Garamond", "Adobe Garamond Pro", serif;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.05 0 0 0 0 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--brass); color: var(--paper); }

/* ---------- Disclaimer ---------- */
.disclaimer-shade {
  position: fixed; inset: 0;
  background: rgba(20, 17, 12, 0.88);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  backdrop-filter: blur(3px);
}
.disclaimer-shade.hidden { display: none; }
.disclaimer {
  background: var(--paper);
  max-width: 640px;
  width: 100%;
  padding: 48px 44px 40px;
  border: 1px solid var(--rule-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  position: relative;
}
.disclaimer::before {
  content: "";
  position: absolute; inset: 8px;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.disclaimer .crest {
  font-family: var(--serif);
  font-style: italic;
  text-align: center;
  color: var(--brass-deep);
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.disclaimer h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  text-align: center;
  line-height: 1.2;
}
.disclaimer .dash {
  width: 40px; height: 1px; background: var(--ink);
  margin: 18px auto 22px;
}
.disclaimer p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.disclaimer .actions {
  display: flex; gap: 12px; margin-top: 28px; justify-content: center;
  flex-wrap: wrap;
}
.btn {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: var(--brass-deep); border-color: var(--brass-deep); }
.btn:hover { background: var(--ink); color: var(--paper); }

/* ---------- Layout framework ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 36px; position: relative; z-index: 2; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0;
  background: var(--paper);
  z-index: 50;
  padding: 22px 36px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 24px;
  background: linear-gradient(to bottom, var(--paper), transparent);
  pointer-events: none;
}
.monogram {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  display: flex; align-items: baseline; gap: 10px;
  position: relative;
}
.monogram .dot {
  width: 5px; height: 5px; background: var(--brass); border-radius: 50%;
  display: inline-block; transform: translateY(-2px);
}
.topnav { display: flex; gap: 34px; }
.topnav a {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s;
  padding: 4px 0;
}
.topnav a:hover { color: var(--brass-deep); }
.topnav a.active { color: var(--brass-deep); }
.topnav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 1px; background: var(--brass-deep);
  transition: right .35s ease;
}
.topnav a:hover::after,
.topnav a.active::after { right: 0; }

.meta-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 36px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--rule);
  position: relative; z-index: 2;
}

/* ---------- Page header (used on inner pages) ---------- */
.page-header {
  padding: 90px 36px 70px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.page-header .wrap { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: end; }
.page-header .pg-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(5rem, 10vw, 9rem);
  color: var(--brass-deep);
  line-height: 0.85;
}
.page-header .pg-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
.page-header .pg-title em { font-style: italic; color: var(--brass-deep); }
.page-header .pg-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 14px;
  max-width: 520px;
}
.page-header .pg-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 18px;
}

/* ---------- Hero (home) ---------- */
.hero {
  padding: 110px 36px 120px;
  text-align: center;
  position: relative;
}
.hero .eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 32px;
}
.hero .eyebrow span {
  display: inline-block; padding: 0 14px;
  position: relative;
}
.hero .eyebrow span::before,
.hero .eyebrow span::after {
  content: ""; position: absolute; top: 50%;
  width: 60px; height: 1px; background: var(--rule-strong);
}
.hero .eyebrow span::before { right: 100%; }
.hero .eyebrow span::after { left: 100%; }

.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.wordmark .of {
  font-style: italic;
  font-weight: 300;
  color: var(--brass-deep);
  display: block;
  font-size: 0.62em;
  margin: 0.12em 0;
}
.hero .tagline {
  margin-top: 34px;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-style: italic;
  color: var(--ink-soft);
  max-width: 560px;
  margin-left: auto; margin-right: auto;
  font-weight: 400;
}
.hero-locus {
  margin-top: 48px;
  display: inline-flex;
  gap: 18px;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-locus .pill {
  padding: 6px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
}

.seal {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
}
.seal.left { left: 2%; top: 18%; transform: rotate(-6deg); }
.seal.right { right: 2%; bottom: 8%; transform: rotate(7deg); }

/* ---------- Section primitive ---------- */
section.slab {
  padding: 100px 0;
  border-top: 1px solid var(--rule);
  position: relative;
}
section.slab.no-border { border-top: none; }
.sec-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 14px;
}
.sec-label::before { content: "§ "; color: var(--muted); }
.sec-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 760px;
  margin-bottom: 48px;
}
.sec-title em {
  font-style: italic;
  color: var(--brass-deep);
  font-weight: 400;
}

/* ---------- Portrait / photo ---------- */
.portrait-frame {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  background:
    radial-gradient(ellipse at 30% 25%, rgba(140, 106, 36, 0.18), transparent 60%),
    linear-gradient(160deg, #2a2620 0%, #14110c 100%);
}
.portrait-frame::after {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid rgba(242, 236, 223, 0.12);
  pointer-events: none;
  z-index: 2;
}
.portrait-frame img {
  width: 100%; height: 100%; object-fit: cover;
  position: relative; z-index: 1;
  filter: grayscale(15%) contrast(1.02);
}
.portrait-frame img.fallback-hidden { display: none; }
.portrait-initials {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(6rem, 14vw, 11rem);
  color: rgba(242, 236, 223, 0.72);
  letter-spacing: -0.02em;
  line-height: 1;
  z-index: 1;
}
.portrait-caption {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.portrait-caption .title {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin-top: 6px;
}

/* ---------- About body ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.about-portrait { position: sticky; top: 120px; }
.about-body p {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.about-body p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 4.4rem;
  font-weight: 500;
  float: left;
  line-height: 0.9;
  padding: 6px 10px 0 0;
  color: var(--brass-deep);
}
.about-body p strong { font-weight: 500; color: var(--ink); }

.pull-quote {
  margin: 40px 0;
  padding: 0 0 0 32px;
  border-left: 1px solid var(--brass);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.4;
  color: var(--ink);
}
.pull-quote footer {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--muted);
}

/* ---------- Credentials table ---------- */
.creds {
  margin-top: 48px;
  border-top: 1px solid var(--rule-strong);
}
.creds .row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.creds .row .lbl {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.creds .row .val {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.5;
}
.creds .row .val small {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Practice areas ---------- */
.practice-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-strong);
}
.practice {
  padding: 34px 32px 34px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  transition: background .3s ease;
}
.practice:nth-child(odd) { padding-right: 44px; border-right: 1px solid var(--rule); padding-left: 0; }
.practice:nth-child(even) { padding-left: 44px; }
.practice:hover { background: var(--paper-warm); }
.practice .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--brass-deep);
  line-height: 1;
  padding-top: 6px;
}
.practice h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 10px;
}
.practice p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Forums ---------- */
.forums {
  background: var(--ink);
  color: var(--paper);
  margin: 0 -36px;
  padding: 100px 36px;
  position: relative;
}
.forums::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(140, 106, 36, 0.22), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(140, 106, 36, 0.12), transparent 60%);
  pointer-events: none;
}
.forums .wrap { position: relative; }
.forums .sec-label { color: #C9A14E; }
.forums .sec-title { color: var(--paper); }
.forums .sec-title em { color: #D9B462; }
.forums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(242, 236, 223, 0.14);
  border: 1px solid rgba(242, 236, 223, 0.14);
}
.forum {
  background: var(--ink);
  padding: 36px 28px;
  transition: background .3s;
}
.forum:hover { background: #1F1A12; }
.forum .fnum {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #C9A14E;
  margin-bottom: 20px;
}
.forum h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--paper);
  margin-bottom: 10px;
}
.forum p {
  font-size: 0.85rem;
  color: rgba(242, 236, 223, 0.6);
  line-height: 1.5;
}

/* ---------- Sectors ---------- */
.sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.sector-tag {
  flex: 1 1 auto;
  padding: 22px 28px;
  border-right: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  transition: background .25s;
}
.sector-tag:last-child { border-right: none; }
.sector-tag:hover { background: var(--paper-warm); color: var(--brass-deep); }
.sector-tag .n {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

/* ---------- Engagements ---------- */
.engagements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.engagement-item {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
}
.engagement-item:first-child,
.engagement-item:nth-child(2) { border-top: 1px solid var(--rule-strong); }
.engagement-item .tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-deep);
  padding-top: 5px;
}
.engagement-item h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 8px;
}
.engagement-item p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Pro Bono ---------- */
.probono {
  background: var(--paper-warm);
  margin: 0 -36px;
  padding: 90px 36px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.probono-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.probono blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  color: var(--ink);
}
.probono blockquote::before { content: "\201C"; color: var(--brass-deep); font-size: 1.4em; margin-right: 0.05em; }
.probono blockquote::after { content: "\201D"; color: var(--brass-deep); }
.probono p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ---------- Contact ---------- */
.contact { padding: 110px 0 80px; text-align: center; }
.contact .sec-title { margin-left: auto; margin-right: auto; text-align: center; }
.contact-card {
  max-width: 880px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.contact-cell {
  padding: 40px 24px;
  border-right: 1px solid var(--rule);
  text-align: left;
}
.contact-cell:last-child { border-right: none; }
.contact-cell .lbl {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 14px;
}
.contact-cell .val {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.45;
}
.contact-cell .val em {
  font-style: italic;
  color: var(--muted);
  font-size: 0.88rem;
}
.hours {
  margin-top: 48px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.map-frame {
  max-width: 880px;
  margin: 70px auto 0;
  aspect-ratio: 16/6;
  border: 1px solid var(--rule-strong);
  background: var(--paper-warm);
  position: relative;
  overflow: hidden;
}
.map-frame::after {
  content: "77, Anand Lok · New Delhi 110049";
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.map-frame svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.22;
}

/* ---------- CTA card (home) ---------- */
.cta-card {
  margin: 0 36px;
  padding: 70px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(140, 106, 36, 0.3), transparent 55%);
  pointer-events: none;
}
.cta-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  position: relative;
}
.cta-card h3 em { font-style: italic; color: #D9B462; }
.cta-card .cta-right {
  position: relative;
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
}
.cta-card .cta-right p {
  font-size: 0.95rem;
  color: rgba(242, 236, 223, 0.72);
  line-height: 1.55;
}
.cta-card .btn-outline {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid #C9A14E;
  color: #C9A14E;
  transition: background .25s, color .25s;
}
.cta-card .btn-outline:hover { background: #C9A14E; color: var(--ink); }

/* ---------- Footer ---------- */
footer.foot {
  border-top: 1px solid var(--rule-strong);
  padding: 44px 36px 32px;
  background: var(--ink);
  color: rgba(242, 236, 223, 0.72);
  position: relative;
  z-index: 2;
}
.foot-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.foot .brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--paper);
  margin-bottom: 10px;
}
.foot .brand em { font-style: italic; color: #C9A14E; font-weight: 400; }
.foot p { font-size: 0.82rem; line-height: 1.7; }
.foot h5 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: #C9A14E;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.foot ul { list-style: none; }
.foot ul li { margin-bottom: 8px; font-size: 0.85rem; }
.foot ul li a:hover { color: var(--paper); }
.foot-bottom {
  max-width: 1180px;
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(242, 236, 223, 0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 236, 223, 0.5);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .topnav { display: none; }
  .mobile-menu-btn { display: flex; }
  .meta-bar { padding: 10px 24px; font-size: 0.62rem; }
  .wrap, .topbar, .probono, .forums, .page-header { padding-left: 24px; padding-right: 24px; }
  .forums, .probono { margin-left: -24px; margin-right: -24px; }
  .hero { padding: 70px 24px 80px; }
  .page-header { padding: 60px 24px 50px; }
  .page-header .wrap { grid-template-columns: 1fr; gap: 16px; }
  .about-grid, .engagements, .probono-inner, .cta-card { grid-template-columns: 1fr; gap: 40px; }
  .cta-card { margin: 0 24px; padding: 48px 28px; }
  .about-portrait { position: relative; top: 0; max-width: 320px; margin: 0 auto; }
  .practice-list { grid-template-columns: 1fr; }
  .practice:nth-child(odd), .practice:nth-child(even) {
    padding: 28px 0; border-right: none;
  }
  .forums-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .contact-cell:last-child { border-bottom: none; }
  .foot-inner { grid-template-columns: 1fr; gap: 30px; }
  section.slab { padding: 70px 0; }
  .hero .eyebrow span::before, .hero .eyebrow span::after { width: 30px; }
  .sectors { flex-direction: column; }
  .sector-tag { border-right: none; border-bottom: 1px solid var(--rule); }
  .sector-tag:last-child { border-bottom: none; }
  .creds .row { grid-template-columns: 1fr; gap: 6px; }
}

.mobile-menu-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 6px;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink);
}
.mobile-menu-panel {
  display: none;
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
  background: var(--paper);
  border-left: 1px solid var(--rule-strong);
  z-index: 900;
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform .3s ease;
  box-shadow: -20px 0 60px rgba(0,0,0,0.15);
}
.mobile-menu-panel.open { transform: translateX(0); display: block; }
.mobile-menu-panel a {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.mobile-menu-panel a.active { color: var(--brass-deep); font-style: italic; }
@media (max-width: 900px) {
  .mobile-menu-panel { display: block; }
}

/* ---------- Print ---------- */
@media print {
  :root {
    --paper: #FFFFFF;
    --ink: #000000;
    --muted: #333333;
  }
  body::before,
  .disclaimer-shade,
  .topbar,
  .mobile-menu-panel,
  .meta-bar,
  .cta-card,
  .seal,
  .map-frame,
  .forums::before {
    display: none !important;
  }
  body { background: #FFFFFF; color: #000000; font-size: 11pt; }
  .wrap { max-width: 100%; padding: 0; }
  .page-header, section.slab { padding: 18pt 0; page-break-inside: avoid; border: none; }
  .page-header .pg-num { font-size: 40pt; color: #666; }
  .pg-title, .sec-title, .wordmark { color: #000 !important; }
  .pg-title em, .sec-title em, .wordmark .of { color: #555 !important; }
  a { color: #000 !important; text-decoration: none; }
  .portrait-frame { break-inside: avoid; border: 1px solid #000; max-width: 220px; }
  .portrait-frame img { filter: grayscale(100%); }
  .forums { background: #fff !important; color: #000 !important; }
  .forums h4, .forums p, .forums .sec-title, .forums .sec-label { color: #000 !important; }
  .forums-grid { border-color: #999; background: #999; }
  .forum { background: #fff; color: #000; }
  .foot { background: #fff; color: #000; border-top: 1px solid #000; }
  .foot .brand, .foot .brand em, .foot h5 { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  /* show a print-only URL footer */
  footer.foot .foot-bottom::after {
    content: " · chambersofdivijkumar.in";
    color: #666;
  }
  /* ensure portrait shows */
  @page { margin: 18mm; }
}
