/* ==========================================================
   Neeraj Mahajan, Advocate
   Palette: black, warm off-white and bronze, with sand
   on black backgrounds.
   ========================================================== */

/* ---------- Fonts, served from the site's own /fonts folder ----------
   Libre Caslon, Source Serif 4 and Tiro Devanagari Hindi (SIL Open Font
   License), from Google Fonts. Only Latin, Latin Extended (for the rupee
   sign) and Devanagari are included. */
/* Libre Caslon Display normal 400, latin-ext */
@font-face {
  font-family: 'Libre Caslon Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-caslon-display-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Libre Caslon Display normal 400, latin */
@font-face {
  font-family: 'Libre Caslon Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-caslon-display-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Libre Caslon Text italic 400, latin-ext */
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-caslon-text-italic-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Libre Caslon Text italic 400, latin */
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-caslon-text-italic-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Libre Caslon Text normal 400, latin-ext */
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-caslon-text-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Libre Caslon Text normal 400, latin */
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-caslon-text-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Libre Caslon Text normal 700, latin-ext */
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/libre-caslon-text-normal-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Libre Caslon Text normal 700, latin */
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/libre-caslon-text-normal-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Serif 4 italic 400 700, latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/source-serif-4-italic-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Serif 4 italic 400 700, latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/source-serif-4-italic-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Serif 4 normal 400 700, latin-ext */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/source-serif-4-normal-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Serif 4 normal 400 700, latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/source-serif-4-normal-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Tiro Devanagari Hindi normal 400, devanagari */
@font-face {
  font-family: 'Tiro Devanagari Hindi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/tiro-devanagari-hindi-normal-400-devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
/* Tiro Devanagari Hindi normal 400, latin-ext */
@font-face {
  font-family: 'Tiro Devanagari Hindi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/tiro-devanagari-hindi-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Tiro Devanagari Hindi normal 400, latin */
@font-face {
  font-family: 'Tiro Devanagari Hindi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/tiro-devanagari-hindi-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f2f0eb;
  --paper-2: #e8e4db;      /* alternate section background */
  --sheet: #ffffff;
  --ink: #141414;          /* black */
  --ink-hover: #2b2b2b;
  --ink-2: #333230;
  --muted: #6b6862;
  --rule: #dedad1;
  --rule-dark: #cbc5b8;
  --accent: #7a5c34;       /* bronze, for text on light backgrounds */
  --accent-dark: #5f4727;
  --sand: #c9b79c;         /* for text on black */
  --stamp: #2f2f2f;
  --wa: #25d366;

  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --serif: "Libre Caslon Text", Georgia, serif;
  --body: "Source Serif 4", Georgia, serif;
  --hindi: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;

  --wrap: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 3.5vw, 40px); }
.hi { font-family: var(--hindi); font-weight: 400; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; }
h1 { font-family: var(--display); font-size: clamp(2.8rem, 6vw, 4.8rem); letter-spacing: -0.01em; }
h2 { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 2.8rem); }
h3 { font-family: var(--serif); font-size: 1.3rem; }
p { margin: 0 0 1em; }

.label {
  font-family: var(--serif); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

/* Section titles: English + Hindi, like a court signboard */
.sec-title { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 36px; position: relative; }
.sec-title::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform-origin: left; }
.sec-title .hi { color: var(--accent); font-size: 1.35rem; }
.sec-title .aside { margin-left: auto; font-size: 1rem; color: var(--muted); }
.sec-title .aside a { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 4px;
  font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-hover); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-wa { background: var(--wa); color: #073b1c; }
.btn-wa:hover { background: #1fbe5b; }

/* ---------- Top strip + header ---------- */
.topbar { background: var(--ink); color: #bbb8b1; font-size: .86rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .hi { color: var(--sand); }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(242, 240, 235, .95);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.bands { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.22rem; }
.brand-sub { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.brand-sub .hi { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a.nav-link { text-decoration: none; color: var(--ink-2); font-size: 1rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a.nav-link:hover { border-color: var(--ink); }
.nav a.nav-link[aria-current="page"] { color: var(--accent); border-color: var(--accent); }
.nav .btn { padding: 10px 18px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 4px;
  border: 1px solid var(--rule-dark); background: var(--sheet); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero .label { display: block; margin-bottom: 14px; }
.hero h1 { margin-bottom: 6px; }
.hero .name-hi { font-family: var(--hindi); font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--accent); margin-bottom: 26px; }
.hero .intro { font-size: 1.16rem; color: var(--ink-2); max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-addr { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .98rem; border-top: 1px solid var(--rule); padding-top: 20px; max-width: 30em; margin: 0; }
.hero-addr svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent); }

.hero-figure { position: relative; margin: 0; }
.photo {
  position: relative; background: var(--paper-2); padding: 10px; border: 1px solid var(--rule-dark);
  box-shadow: 0 18px 40px rgba(20, 20, 20, .12);
}
.photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 85%; background: #9a9b93; }
.photo figcaption, .credit { font-size: .74rem; color: var(--muted); padding-top: 8px; line-height: 1.4; }
.credit a, .photo figcaption a { color: inherit; }
.hero .stamp { position: absolute; left: -104px; bottom: 36px; width: 150px; height: 150px; transform: rotate(-14deg); }

/* Advocate's stamp */
.stamp { color: var(--stamp); opacity: .9; mix-blend-mode: multiply; pointer-events: none; }
.stamp text { font-family: var(--serif); fill: currentColor; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 90px; }
.section { padding: 88px 0; }
.section-buff { background: var(--paper-2); }

/* Practice areas, laid out like a court cause list */
.cause-list { width: 100%; border-collapse: collapse; background: var(--sheet); border: 1px solid var(--rule-dark); }
.cause-list thead th {
  background: var(--ink); color: #ebe8e2; text-align: left; font-family: var(--serif); font-weight: 400;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; padding: 12px 20px;
}
.cause-list tbody tr { border-top: 1px solid var(--rule); transition: background .2s; }
.cause-list tbody tr:hover { background: #f7f5f0; }
.cause-list td { padding: 24px 20px; vertical-align: top; }
.cause-list .no { font-family: var(--serif); color: var(--accent); width: 64px; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.cause-list .matter { width: 28%; }
.cause-list .matter strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.28rem; line-height: 1.25; }
.cause-list .matter .hi { color: var(--accent); font-size: 1rem; }
.cause-list .forum { width: 26%; color: var(--ink-2); font-size: 1rem; }
.cause-list .covers { color: var(--ink-2); font-size: 1rem; }
.cause-list .act { width: 120px; text-align: right; }
.cause-list .act a { font-size: .95rem; color: var(--accent); text-decoration: none; white-space: nowrap; border-bottom: 1px solid transparent; }
.cause-list .act a:hover { border-color: var(--accent); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.about-text p { font-size: 1.12rem; color: var(--ink-2); }
.about-text p:first-child { font-size: 1.3rem; color: var(--ink); line-height: 1.5; }
.particulars { background: var(--sheet); border: 1px solid var(--rule-dark); padding: 8px 28px 8px 36px; position: relative; }
.particulars::before { content: ""; position: absolute; top: 0; bottom: 0; left: 16px; border-left: 1px solid rgba(122, 92, 52, .35); }
.particulars dl { margin: 0; }
.particulars div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--rule-dark); }
.particulars div:last-child { border-bottom: 0; }
.particulars dt { font-family: var(--serif); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.particulars dd { margin: 0; font-size: 1.02rem; }

/* How a consultation works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { background: var(--sheet); border: 1px solid var(--rule-dark); padding: 26px 28px 30px; }
.step .num { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--accent); font-variant-numeric: tabular-nums; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 1rem; margin: 0; }

/* Common questions */
.faq { background: var(--sheet); border: 1px solid var(--rule-dark); }
.faq details + details { border-top: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 22px 28px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.4; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform .3s var(--out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq .ans { padding: 0 28px 24px; color: var(--ink-2); font-size: 1.02rem; }
.faq .ans p { margin: 0; max-width: 46em; }

/* Article cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card { text-decoration: none; display: flex; flex-direction: column; }
.post-card .img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); border: 1px solid var(--rule-dark); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover img { transform: scale(1.03); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .85rem; color: var(--muted); margin: 16px 0 8px; }
.tag { color: var(--accent); font-family: var(--serif); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.ref { font-size: .78rem; border: 1px solid var(--rule-dark); padding: 1px 8px; border-radius: 3px; color: var(--ink-2); background: var(--sheet); }
.post-card h3 { font-size: 1.28rem; line-height: 1.3; }
.post-card:hover h3 { color: var(--accent); }
.post-card p { color: var(--ink-2); font-size: 1rem; margin-top: 10px; }
.post-card[hidden] { display: none; }

/* Chamber */
.chamber { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: stretch; }
.nameplate {
  background: #0d0d0d; color: #f2f0eb; border-radius: 6px; padding: 34px 30px 30px; text-align: center; position: relative;
  box-shadow: inset 0 0 0 6px #0d0d0d, inset 0 0 0 7px #3a3a3a, 0 14px 30px rgba(0, 0, 0, .18);
}
.nameplate::before, .nameplate::after {
  content: ""; position: absolute; top: 14px; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e3e1dc, #77746e);
}
.nameplate::before { left: 14px; }
.nameplate::after { right: 14px; }
.nameplate .np-hi { font-family: var(--hindi); font-size: 1.3rem; color: var(--sand); }
.nameplate .np-name { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: .06em; text-transform: uppercase; margin: 4px 0; }
.nameplate .np-title { font-family: var(--serif); letter-spacing: .4em; text-transform: uppercase; font-size: .88rem; padding: 6px 0 14px; border-bottom: 1px solid #3a3a3a; margin-bottom: 14px; }
.nameplate .np-addr { font-size: .95rem; color: #bdbab3; line-height: 1.5; }
.info-list { list-style: none; padding: 0; margin: 26px 0; }
.info-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.info-list li:first-child { border-top: 1px solid var(--rule); }
.info-list small { font-family: var(--serif); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.map { border: 1px solid var(--rule-dark); background: var(--paper-2); padding: 8px; min-height: 420px; display: flex; }
.map iframe { width: 100%; min-height: 400px; border: 0; display: block; filter: saturate(.85); }

/* ---------- Inner page heading ---------- */
.page-head { padding: 64px 0 40px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-head h1 .hi { color: var(--accent); font-size: .55em; margin-left: 14px; }
.page-head p { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; margin: 16px 0 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px; align-items: start; }
.form-card { background: var(--sheet); border: 1px solid var(--rule-dark); padding: 38px 40px 38px 52px; position: relative; }
.form-card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 22px; border-left: 1px solid rgba(122, 92, 52, .3); }
.form-card h2 { font-size: 1.9rem; margin-bottom: 6px; }
.form-intro { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.field label, .field .flabel { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--rule-dark); background: transparent; border-radius: 0;
  padding: 10px 2px; font-size: 1.05rem; outline: none; transition: border-color .2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333230' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.field textarea { min-height: 120px; resize: vertical; border: 1px solid var(--rule-dark); padding: 12px; margin-top: 6px; }
.field input:focus, .field select:focus { border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.field textarea:focus { border-color: var(--accent); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 7px 14px; border: 1px solid var(--rule-dark); border-radius: 3px; font-size: .95rem; transition: all .2s; }
.choice input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 10px; font-size: .9rem; color: var(--muted); margin: 4px 0 22px; align-items: flex-start; }
.consent input { margin-top: 5px; accent-color: var(--accent); }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.form-success { display: none; padding: 20px 0; }
.form-success h2 { margin-bottom: 10px; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }

.side { display: flex; flex-direction: column; gap: 20px; }
.side-box { background: var(--sheet); border: 1px solid var(--rule-dark); padding: 26px; }
.side-box h3 { margin-bottom: 6px; }
.side-box p { color: var(--ink-2); font-size: 1rem; }
.side-box .big { font-family: var(--serif); font-size: 1.5rem; text-decoration: none; display: block; margin: 4px 0 16px; }
.side-box.dark { background: var(--ink); color: #ebe8e2; border-color: var(--ink); }
.side-box.dark p { color: #b5b2ab; }
.side-box.dark .big { color: #fff; }

/* ---------- Blogs page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { border: 1px solid var(--rule-dark); background: transparent; padding: 7px 15px; border-radius: 3px; cursor: pointer; font-size: .95rem; transition: all .2s; }
.filter:hover { border-color: var(--ink); }
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Article ---------- */
.article-head { padding: 56px 0 30px; }
.article-head .wrap { max-width: 860px; }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.15; margin: 6px 0 18px; }
.article-cover { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.article-cover .img { aspect-ratio: 21 / 9; overflow: hidden; border: 1px solid var(--rule-dark); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { max-width: 860px; margin: 0 auto; padding: 44px clamp(16px, 3.5vw, 40px) 80px; }
/* Body sits on a sheet with a double red margin line, like a court brief */
.prose { background: var(--sheet); border: 1px solid var(--rule-dark); padding: 44px 48px 36px 76px; position: relative; font-size: 1.1rem; }
.prose::before { content: ""; position: absolute; top: 0; bottom: 0; left: 44px; border-left: 1px solid rgba(122, 92, 52, .45); }
.prose::after { content: ""; position: absolute; top: 0; bottom: 0; left: 48px; border-left: 1px solid rgba(122, 92, 52, .25); }
.prose h2 { font-size: 1.6rem; margin: 1.8em 0 .5em; }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose .note { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 18px; margin: 36px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b5b2ab; padding: 64px 0 28px; font-size: .96rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h2 { font-family: var(--serif); color: #fff; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { text-decoration: none; color: #b5b2ab; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #8f8c86; }
.site-footer .brand-sub .hi { color: var(--sand); }
.foot-about { margin-top: 16px; max-width: 24em; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .82rem; color: #8f8c86; }
.foot-bottom p { margin: 0; max-width: 62em; }
.foot-bottom button { background: none; border: 0; padding: 0; color: #b5b2ab; text-decoration: underline; cursor: pointer; font-size: inherit; }

/* ---------- WhatsApp float ----------
   Sits above the "Powered by Netlify" badge (bottom right, 64px tall)
   that Netlify adds to free-plan sites. */
.wa-float {
  position: fixed; right: 22px; bottom: 80px; z-index: 60; display: flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff; text-decoration: none; border-radius: 999px; padding: 12px;
  box-shadow: 0 10px 26px rgba(18, 140, 70, .32); transition: transform .2s;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 32px; height: 32px; flex: none; }
.wa-float .wa-label { font-weight: 600; font-size: .98rem; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s, margin .35s; }
.wa-float:hover .wa-label, .wa-float.show-label .wa-label { max-width: 200px; margin-right: 8px; }

/* ---------- Disclaimer ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap, .about-grid, .chamber, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-figure { max-width: 520px; margin-left: 40px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cause-list .act { display: none; }
}
@media (max-width: 860px) {
  /* Menu fills the screen below the header; the page behind stays still */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - 76px); height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain;
    background: var(--paper); border-top: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px clamp(16px, 3.5vw, 40px) 40px;
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s;
  }
  .nav-open .nav { opacity: 1; pointer-events: auto; transform: none; }
  .nav a.nav-link { padding: 18px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 1.4rem; }
  .nav .btn { margin-top: 28px; padding: 14px 18px; }
  body.nav-open { overflow: hidden; }
  .nav-open .wa-float { opacity: 0; pointer-events: none; }
  .nav-toggle { display: inline-flex; }
  .topbar .t-left { display: none; }
  .topbar .wrap { justify-content: flex-end; }

  /* cause list becomes stacked entries */
  .cause-list thead { display: none; }
  .cause-list, .cause-list tbody, .cause-list tr, .cause-list td { display: block; width: auto !important; }
  .cause-list tr { position: relative; padding: 20px 20px 20px 60px; }
  .cause-list td { padding: 0; }
  .cause-list .no { position: absolute; left: 20px; top: 22px; }
  .cause-list .forum { margin: 8px 0 4px; font-weight: 600; font-size: .95rem; }
  .cause-list .act { display: block; text-align: left; margin-top: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 72px; }
  .hero-figure { margin-left: 0; }
  .hero .stamp { width: 104px; height: 104px; left: auto; right: -4px; bottom: -44px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .post-grid { grid-template-columns: 1fr; }
  .faq summary { padding: 18px 20px; font-size: 1.08rem; }
  .faq .ans { padding: 0 20px 20px; }
  .step { padding: 22px 20px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 28px 20px 28px 38px; }
  .form-card::before { left: 16px; }
  .particulars { padding: 4px 16px 4px 30px; }
  .particulars::before { left: 14px; }
  .particulars div { grid-template-columns: 1fr; gap: 2px; }
  .info-list li { grid-template-columns: 1fr; gap: 2px; }
  .foot-grid { grid-template-columns: 1fr; }
  .prose { padding: 28px 20px 24px 42px; font-size: 1.05rem; }
  .prose::before { left: 22px; }
  .prose::after { left: 26px; }
  .article-cover .img { aspect-ratio: 16 / 10; }
  .page-head h1 .hi { display: block; margin: 6px 0 0; }
  .sec-title .aside { margin-left: 0; width: 100%; }
  .brand-name { font-size: 1.1rem; }
  .bands { width: 36px; height: 36px; }
  .map, .map iframe { min-height: 320px; }
  .wa-float { right: 16px; bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Mobile call button in the header ---------- */
.m-call { display: none; }
@media (max-width: 860px) {
  .site-header .wrap { gap: 10px; }
  .m-call {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 44px; height: 44px; border-radius: 4px; background: var(--ink); color: #fff;
  }
  .m-call svg { width: 20px; height: 20px; }
}

/* ==========================================================
   Cleaner type: sentence-case labels, no ruled-paper margins
   ========================================================== */
.label, .particulars dt, .info-list small, .tag, .cause-list thead th, .site-footer h2 {
  font-family: var(--body); text-transform: none; letter-spacing: 0;
}
.label { font-size: .9rem; }
.particulars dt, .info-list small { font-size: .9rem; padding-top: 2px; }
.tag { font-size: .85rem; font-weight: 600; }
.cause-list thead th { font-size: .88rem; font-weight: 600; }
.site-footer h2 { font-size: .98rem; font-weight: 600; }
.particulars::before, .form-card::before, .prose::before, .prose::after { display: none; }
.particulars { padding: 8px 28px; }
.form-card { padding: 40px; }
.prose { padding: 48px 56px 40px; }

h2 { font-size: clamp(2.2rem, 4vw, 3.3rem); letter-spacing: -.01em; }
.sec-title { margin-bottom: 40px; }

/* Hero */
.hero { padding: 72px 0 100px; }
.hero .wrap { grid-template-columns: 1.12fr .88fr; gap: 72px; }
.hero h1 { font-size: clamp(3.4rem, 7.4vw, 6.3rem); line-height: .98; letter-spacing: -.025em; margin: 0; }
.hero-role { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--ink); margin: 26px 0 2px; }
.hero .name-hi { font-size: 1.3rem; margin-bottom: 26px; }
.photo-in { overflow: hidden; }
.photo-in img { scale: 1.06; }

@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 640px) {
  .particulars { padding: 4px 18px; }
  .form-card { padding: 26px 20px; }
  .prose { padding: 28px 20px 24px; }
  .hero { padding: 36px 0 64px; }
  .hero-role { margin-top: 18px; }
}

/* ==========================================================
   Motion: a few deliberate moments, nothing on every block.
   Off for anyone who has asked their device to reduce motion.
   ========================================================== */
:root { --out: cubic-bezier(.22, 1, .36, 1); --inout: cubic-bezier(.76, 0, .24, 1); --t0: .1s; }

@keyframes up { from { transform: translateY(112%); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes clipUp { from { clip-path: inset(100% 0 0 0); } }
@keyframes zoomOut { from { scale: 1.22; } }

/* Words inside headings sit in masks and rise into view */
.m { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em 0 .16em; margin: -.1em 0 -.16em; }
.m > span { display: inline-block; }

/* Page entrance */
.js .hero h1 .m > span, .js .page-head h1 .m > span, .js .article-head h1 .m > span {
  animation: up 1.1s var(--out) backwards; animation-delay: calc(var(--t0) + var(--i, 0) * 70ms);
}
.js .hero-text > :not(h1), .js .page-head .wrap > :not(h1), .js .article-head .wrap > :not(h1) {
  animation: fade 1s ease backwards; animation-delay: calc(var(--t0) + .4s);
}
.js .hero .photo { animation: clipUp 1.25s var(--inout) backwards; animation-delay: var(--t0); }
.js .hero .photo-in img { animation: zoomOut 2s var(--out) backwards; animation-delay: var(--t0); }
.js .article-cover .img { animation: clipUp 1.2s var(--inout) backwards; animation-delay: calc(var(--t0) + .2s); }
.wa-float { animation: fade .6s ease backwards; animation-delay: calc(var(--t0) + 1s); }

/* Section titles and article cards (classes set by main.js as they scroll in) */
.js .sec-title.pre .m > span { transform: translateY(112%); transition: transform 1s var(--out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .sec-title.pre.in .m > span { transform: none; }
.js .sec-title.pre::after { transform: scaleX(0); transition: transform 1.2s var(--inout) .1s; }
.js .sec-title.pre.in::after { transform: none; }
.js .post-card.pre .img { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--inout); transition-delay: calc(var(--i, 0) * 100ms); }
.js .post-card.pre.in .img { clip-path: inset(0 0 0 0); }
.js .post-card.pre > :not(.img) { opacity: 0; transition: opacity .8s ease; transition-delay: calc(.35s + var(--i, 0) * 100ms); }
.js .post-card.pre.in > :not(.img) { opacity: 1; }
.js img.fade { opacity: 0; transition: opacity .6s ease; }
.js img.fade.loaded { opacity: 1; }

/* Header hides on the way down, returns on the way up */
.site-header { transition: transform .45s var(--out), box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(20, 20, 20, .08); }
.site-header.hide { transform: translateY(-100%); }

/* Hover details */
.btn:hover { transform: none; }
@media (min-width: 861px) {
  .nav a.nav-link { position: relative; border-bottom: 0; }
  .nav a.nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: right; transition: transform .45s var(--out);
  }
  .nav a.nav-link:hover::after, .nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
}
.post-card img { transition: transform .9s var(--out); }
.post-card:hover img { transform: scale(1.04); }

.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 3px; background: var(--accent); transform-origin: left; transform: scaleX(0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .js *, .js *::before, .js *::after, .wa-float { animation: none !important; transition: none !important; }
  .js .sec-title.pre .m > span, .js .sec-title.pre::after { transform: none; }
  .js .post-card.pre .img { clip-path: none; }
  .js .post-card.pre > :not(.img) { opacity: 1; }
  .site-header.hide { transform: none; }
}

/* ---------- Practice area pages ---------- */
.cause-list .matter a { text-decoration: none; border-bottom: 1px solid var(--rule-dark); transition: color .2s, border-color .2s; }
.cause-list .matter a:hover { color: var(--accent); border-color: var(--accent); }
.practice-head h1 { margin-bottom: 12px; }
.practice-hi { color: var(--accent); font-size: 1.2rem; margin: 0 0 16px; }
.article-head .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 40em; margin: 0; }
.practice-facts { margin-bottom: 28px; }
.prose .faq { font-size: 1rem; margin-bottom: 8px; }
.prose .faq summary { font-size: 1.08rem; padding: 18px 24px; }
.prose .faq .ans { padding: 0 24px 20px; }
.prose .related { margin: 32px 0 0; font-size: 1rem; }
.prose .related a, .prose a { color: var(--accent); }
@media (max-width: 640px) {
  .prose .faq summary { padding: 16px 18px; }
  .prose .faq .ans { padding: 0 18px 18px; }
}
