/* =========================================================
   Adv. Dinesh Sharma — site styles (v2)
   Palette: chamber green, brass, white
   ========================================================= */
:root {
  --green: #12352B;
  --green-2: #1B4A3C;
  --green-3: #2A6352;
  --tint: #F2F5F1;
  --tint-2: #E6ECE5;
  --white: #FFFFFF;
  --ink: #17201C;
  --muted: #56615B;
  --brass: #B68A2E;
  --brass-light: #E3C27A;
  --rule: #DCE2DA;
  --wa: #1F8A50;
  --wa-dark: #176B3E;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(18,53,43,.06), 0 8px 24px rgba(18,53,43,.08);
  --shadow-lg: 0 2px 4px rgba(18,53,43,.06), 0 18px 40px rgba(18,53,43,.14);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-3); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brass); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.small, .muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: .6rem 1rem; z-index: 300; }
.skip:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 .95rem/1 var(--sans); padding: .85rem 1.3rem; border-radius: 999px;
  background: var(--green); color: #fff; border: 1.5px solid var(--green);
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { background: var(--green-2); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); }
.btn-light { background: #fff; color: var(--green); border-color: #fff; }
.btn-light:hover { background: var(--tint); color: var(--green); }
.btn-outline, .btn-quiet { background: transparent; color: var(--green); border-color: var(--rule); }
.btn-outline:hover, .btn-quiet:hover { background: var(--tint); color: var(--green); border-color: var(--green-3); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--rule); transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(18,53,43,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--brass-light); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 600 1.25rem var(--serif); }
.brand-sub { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: .3rem 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--brass); transition: right .2s ease; }
.nav a:not(.btn):hover { color: var(--green-3); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav-cta { padding: .65rem 1.1rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 8px; background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #DCE6E0;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(182,138,46,.18), transparent 60%),
    linear-gradient(160deg, var(--green) 0%, #0E2A22 100%);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero::after { /* faint ruled-paper lines */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 44px);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.eyebrow { display: inline-block; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 1.25rem; }
.eyebrow-dark { color: var(--brass); margin-bottom: .75rem; }
.hero h1 { color: #fff; margin-bottom: .55em; }
.hero-lede { font-size: 1.15rem; max-width: 36rem; color: #C9D6CF; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-card { background: #fff; color: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.28); max-width: 380px; justify-self: end; width: 100%; animation: floatIn .8s ease both .15s; }
.hero-photo { aspect-ratio: 4 / 4.4; background: linear-gradient(160deg, var(--tint-2), var(--tint)); display: grid; place-items: center; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-initials { font: 600 5rem/1 var(--serif); color: var(--green); opacity: .85; }
.hero-card-body { padding: 1.25rem 1.4rem 1.4rem; border-top: 4px solid var(--brass); }
.hero-card-name { font: 600 1.35rem var(--serif); margin: 0; }
.hero-card-role { color: var(--muted); font-size: .9rem; margin: .1rem 0 .75rem; }
.hero-card-hours { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--green-3); margin: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #2FB36A; box-shadow: 0 0 0 0 rgba(47,179,106,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,179,106,.55); } 70% { box-shadow: 0 0 0 9px rgba(47,179,106,0); } 100% { box-shadow: 0 0 0 0 rgba(47,179,106,0); } }
@keyframes floatIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: floatIn .7s ease both; }
.hero-text > *:nth-child(2) { animation-delay: .08s; }
.hero-text > *:nth-child(3) { animation-delay: .16s; }
.hero-text > *:nth-child(4) { animation-delay: .24s; }

/* ---------- Ticker ---------- */
.ticker { display: flex; align-items: stretch; background: var(--brass); color: #fff; overflow: hidden; font-size: .92rem; }
.ticker-label { flex: none; background: var(--green-2); padding: .7rem 1.1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; display: flex; align-items: center; }
.ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-move { display: flex; gap: 3rem; white-space: nowrap; padding-right: 3rem; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { color: #fff; text-decoration: none; font-weight: 500; }
.ticker-move a::before { content: "◆"; font-size: .6rem; margin-right: .8rem; opacity: .7; vertical-align: middle; }
.ticker-move a:hover { text-decoration: underline; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Urgent strip ---------- */
.urgent { background: #FBF5E6; border-bottom: 1px solid #EFE2BF; }
.urgent-inner { display: flex; gap: 1rem; align-items: center; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.urgent-inner p { margin: 0; font-size: .98rem; }
.urgent-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #F4E3B4; color: #8A6412; }
.urgent a { font-weight: 700; color: #8A6412; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--tint); }
.section-intro { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

.practice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.practice-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 2rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative; overflow: hidden;
}
.practice-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--green-3), var(--brass)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.practice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.practice-card:hover::before { transform: scaleX(1); }
.practice-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--green-3); margin-bottom: 1.25rem; transition: background .2s ease, color .2s ease; }
.practice-card:hover .practice-icon { background: var(--green); color: var(--brass-light); }
.practice-card h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.practice-card > p { color: var(--muted); }
.practice-card ul { list-style: none; padding: 0; margin: .25rem 0 1.5rem; }
.practice-card li { padding: .45rem 0 .45rem 1.6rem; border-top: 1px solid var(--rule); position: relative; font-size: .98rem; }
.practice-card li::before { content: ""; position: absolute; left: .2rem; top: .95rem; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--brass); }
.card-link { margin-top: auto; font-weight: 600; color: var(--green-3); }
.card-link span { display: inline-block; transition: transform .2s ease; }
.practice-card:hover .card-link span { transform: translateX(4px); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 1.6rem 1.4rem; border: 1px solid var(--rule); transition: transform .2s ease, box-shadow .2s ease; }
.steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.steps li::before { content: "0" counter(step); display: block; font: 600 2rem/1 var(--serif); color: var(--brass); margin-bottom: .9rem; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }

.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--green); display: grid; place-items: center; font-size: 1.2rem; font-weight: 400; transition: transform .2s ease, background .2s ease; }
.faq details[open] summary::after { content: "–"; background: var(--green); color: #fff; }
.faq summary:hover { color: var(--green-3); }
.faq details p { color: var(--muted); padding-right: 2.5rem; margin-bottom: 1.2rem; }

.cta { background: linear-gradient(120deg, var(--green) 0%, var(--green-2) 100%); color: #DCE6E0; padding: 3rem 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .25rem; }
.cta p { margin: 0; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.steps li.reveal:nth-child(2) { transition-delay: .08s; }
.steps li.reveal:nth-child(3) { transition-delay: .16s; }
.steps li.reveal:nth-child(4) { transition-delay: .24s; }
.practice-card.reveal:nth-child(2) { transition-delay: .1s; }

/* ---------- Article cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card-img { margin: -1.4rem -1.4rem 1.1rem; display: block; overflow: hidden; }
.post-card-img img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .4s ease; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card h3 { font-size: 1.25rem; margin: .3rem 0 .5rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--green-3); }
.post-card p { color: var(--muted); font-size: .96rem; margin: 0; }
.post-meta { font-size: .82rem; color: var(--muted); margin-bottom: .25rem; }
.post-meta a { display: inline-block; color: var(--green-3); background: var(--tint); padding: .15rem .55rem; border-radius: 999px; text-decoration: none; font-weight: 600; margin-right: .2rem; }

/* ---------- Inner pages ---------- */
.page-head {
  background: linear-gradient(160deg, var(--green) 0%, #0E2A22 100%); color: #C9D6CF;
  max-width: none; padding: clamp(2.75rem, 6vw, 4rem) max(1.25rem, calc((100% - var(--wrap)) / 2 + 1.25rem));
  margin-bottom: 3rem; position: relative; overflow: hidden;
}
.page-head::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(182,138,46,.25), transparent 70%); }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); position: relative; }
.lede { font-size: 1.12rem; max-width: 42rem; margin: 0; position: relative; }
.page-head .lede { color: #C9D6CF; }
.page-head .lede a { color: var(--brass-light); }
.practice { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; padding-bottom: 5rem; align-items: start; }
.prose { max-width: 44rem; font-family: var(--serif); font-size: 1.15rem; line-height: 1.75; }
.prose h2 { margin-top: 2em; font-size: 1.65rem; padding-bottom: .35rem; border-bottom: 2px solid var(--tint-2); }
.prose h3 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--brass); }
.prose blockquote { margin: 1.5em 0; padding: 1rem 1.25rem; border-left: 4px solid var(--brass); background: #FBF7EC; color: var(--ink); font-style: italic; border-radius: 0 8px 8px 0; }
.prose table { width: 100%; border-collapse: collapse; font: .95rem/1.5 var(--sans); margin: 1em 0 1.5em; display: block; overflow-x: auto; border: 1px solid var(--rule); border-radius: 8px; }
.prose th, .prose td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 600; background: var(--tint); }
.prose img { border-radius: 10px; }
.callout { background: #FBF5E6; border: 1px solid #EFE2BF; border-left: 4px solid var(--brass); border-radius: 8px; padding: 1.1rem 1.25rem; margin-bottom: 2rem; font-family: var(--sans); font-size: 1rem; }
.callout p { margin: 0; }
.timeline { list-style: none; padding: 0 !important; counter-reset: t; }
.timeline li { counter-increment: t; position: relative; padding: 0 0 1.2rem 3rem; margin: 0 !important; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: .1rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--green); color: var(--brass-light); font: 600 .9rem/2rem var(--sans); text-align: center; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: .98rem; top: 2.3rem; bottom: .2rem; width: 2px; background: var(--tint-2); }

.aside-contact { position: sticky; top: 100px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border-top: 4px solid var(--brass); }
.aside-contact h2 { font-size: 1.35rem; }
.aside-contact p { margin-bottom: .5rem; }
.aside-contact .btn { margin-top: .75rem; width: 100%; }

/* Blog list */
.blog-filters { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cat-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.cat-links a { text-decoration: none; padding: .45rem .95rem; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); font-size: .92rem; transition: background .15s ease, border-color .15s ease; }
.cat-links a:hover { border-color: var(--green-3); background: var(--tint); }
.cat-links a[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }
.search { display: flex; gap: .5rem; }
.search input { font: inherit; padding: .65rem 1rem; border: 1px solid var(--rule); border-radius: 999px; min-width: 240px; background: #fff; }
.search input:focus { border-color: var(--green-3); outline: none; box-shadow: 0 0 0 3px rgba(42,99,82,.15); }
.pagination { display: flex; justify-content: center; gap: 1.5rem; align-items: center; margin: 3rem 0 4rem; }
.pagination a { padding: .5rem 1rem; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; }
.empty { color: var(--muted); padding: 2rem 0 5rem; }

/* Single article */
.single-head { max-width: calc(44rem + 2.5rem); padding-top: 3.5rem; padding-bottom: 1.5rem; }
.single-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.single-cover { max-width: 960px; margin: 0 auto 2.5rem; }
.single-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.single .wrap > .single-body { max-width: 44rem; margin: 0 auto 4rem; }
.post-disclaimer { font: .9rem/1.5 var(--sans); color: var(--muted); background: var(--tint); border-radius: 8px; padding: 1rem 1.2rem; margin-top: 2.5rem; }

/* Forms + messages */
.form { max-width: 40rem; }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 1rem; }
.form input:not([type=checkbox]), .form select, .form textarea { display: block; width: 100%; margin-top: .35rem; font: 400 1rem var(--sans); color: var(--ink); padding: .75rem .9rem; border: 1px solid #C5CCC3; border-radius: 8px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green-3); outline: none; box-shadow: 0 0 0 3px rgba(42,99,82,.15); }
.form [aria-invalid="true"] { border-color: #A3322A; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.optional { font-weight: 400; color: var(--muted); }
.field-error { color: #A3322A; font-size: .9rem; margin: -.6rem 0 1rem; }
.hp { position: absolute; left: -9999px; }
.flash { padding: .9rem 1.1rem; border-radius: 8px; margin-bottom: 1.25rem; font-size: .98rem; }
.flash-success { background: #E6F0E8; border-left: 4px solid #2F6B45; }
.flash-error { background: #F7E9E7; border-left: 4px solid #A3322A; }
.flash-info { background: #F6F0DF; border-left: 4px solid var(--brass); }
.contact-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0E2A22; color: #AFC0B6; padding: 4rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #E2EAE5; text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 2.5rem; }
.footer-grid p { margin-bottom: .45rem; }
.footer-name { font: 600 1.5rem var(--serif); color: #fff; margin-bottom: .2rem !important; }
.footer-role { color: var(--brass-light); font-size: .88rem; margin-bottom: 1rem !important; }
.footer-head { font: 700 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 1rem; }
.footer-legal { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .82rem; color: #8FA399; }
.footer-legal p { margin: 0; max-width: 46rem; }

/* Floating WhatsApp */
.whatsapp {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; display: flex; align-items: center; gap: .5rem;
  background: var(--wa); color: #fff; font: 600 .92rem var(--sans); padding: .8rem 1.15rem; border-radius: 999px;
  text-decoration: none; box-shadow: 0 8px 24px rgba(23,107,62,.35); transition: transform .2s ease;
  animation: waIn .5s ease both 1s;
}
.whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31,138,80,.5); animation: waPulse 2.6s infinite 2s; }
.whatsapp:hover { background: var(--wa-dark); color: #fff; transform: translateY(-2px); }
@keyframes waIn { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(31,138,80,.45); } 70% { box-shadow: 0 0 0 14px rgba(31,138,80,0); } 100% { box-shadow: 0 0 0 0 rgba(31,138,80,0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--rule); padding: .5rem 1.25rem 1.25rem; box-shadow: 0 16px 30px rgba(18,53,43,.12); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--rule); }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--green-3); font-weight: 700; }
  .nav-cta { margin-top: 1rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { justify-self: start; max-width: 340px; display: grid; grid-template-columns: 120px 1fr; align-items: center; }
  .hero-photo { aspect-ratio: auto; height: 100%; min-height: 130px; }
  .hero-initials { font-size: 2.6rem; }
  .hero-card-body { border-top: 0; border-left: 4px solid var(--brass); }
  .steps { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .practice { grid-template-columns: 1fr; gap: 2.5rem; }
  .aside-contact { position: static; }
  .faq-grid { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 680px) {
  .brand-sub { display: none; }
  .practice-cards, .steps, .post-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .practice-card { padding: 1.5rem; }
  .hero-actions .btn { width: 100%; }
  .search { width: 100%; }
  .search input { min-width: 0; flex: 1; }
  .prose { font-size: 1.08rem; }
  .whatsapp span { display: none; }
  .whatsapp { padding: .9rem; }
  .ticker-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   v3 — detail layer
   ========================================================= */
body.no-scroll { overflow: hidden; }
::selection { background: var(--brass-light); color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.num, .number-value, .topbar-phone { font-variant-numeric: tabular-nums; }

/* Reading progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brass), var(--brass-light)); transform: scaleX(0); transform-origin: left; transition: transform .1s linear; }

/* Top bar with running notices + live status */
.topbar { background: #0B231C; color: #C9D6CF; font-size: .82rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar-inner { display: flex; align-items: center; gap: 1.25rem; height: 40px; }
.running { flex: 1; min-width: 0; display: flex; align-items: center; gap: .8rem; height: 100%; }
.running-tag { flex: none; font: 700 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #0B231C; background: var(--brass-light); padding: .32rem .5rem; border-radius: 3px; }
.running-track { flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.running-move { display: flex; white-space: nowrap; animation: ticker 60s linear infinite; }
.running-move span { padding-right: 3.5rem; position: relative; }
.running-move span::after { content: ""; position: absolute; right: 1.5rem; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: var(--brass); transform: rotate(45deg); }
.running:hover .running-move { animation-play-state: paused; }
.topbar-right { flex: none; display: flex; align-items: center; gap: 1.1rem; }
.status { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; }
.is-open { color: #9BE0B5; } .is-open .status-dot { background: #2FB36A; animation: pulse 2s infinite; }
.is-closed { color: #D9C79A; } .is-closed .status-dot { background: #C9A24A; }
.topbar-phone { color: #fff; font-weight: 700; text-decoration: none; padding-left: 1.1rem; border-left: 1px solid rgba(255,255,255,.15); }
.topbar-phone:hover { color: var(--brass-light); }

.nav-cta svg { flex: none; }

/* Breadcrumbs */
.crumbs { background: #0E2A22; color: #8FA399; font-size: .82rem; border-top: 1px solid rgba(255,255,255,.06); }
.crumbs .wrap { display: flex; gap: .6rem; align-items: center; padding-top: .55rem; padding-bottom: .55rem; }
.crumbs a { color: #C9D6CF; text-decoration: none; }
.crumbs a:hover { color: var(--brass-light); }
.crumbs [aria-current] { color: var(--brass-light); }
.crumbs + main .page-head { border-top: 0; }

/* Eyebrows with rule + section numbers */
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; }
.eyebrow-line { width: 28px; height: 1px; background: var(--brass-light); display: inline-block; }
.eyebrow-num { font: 600 .78rem/1 var(--serif); color: var(--green-3); padding-right: .7rem; border-right: 1px solid var(--rule); letter-spacing: .02em; }

/* Hero refinements */
.hero h1 { font-weight: 500; }
.rotator { display: grid; color: var(--brass-light); font-style: italic; }
.rotator-word { grid-area: 1 / 1; opacity: 0; transform: translateY(.45em); transition: opacity .5s ease, transform .5s ease; }
.rotator-word.is-active { opacity: 1; transform: none; }
.rotator-word.is-leaving { opacity: 0; transform: translateY(-.45em); }
.no-js .rotator-word:first-child, html:not(.js) .rotator-word:first-child { opacity: 1; transform: none; }
.hero-facts { list-style: none; padding: 1.4rem 0 0; margin: 2rem 0 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .9rem; color: #B7C7BE; }
.hero-facts li { display: flex; align-items: center; gap: .5rem; }
.hero-facts li::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; background: rgba(227,194,122,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23E3C27A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.hero-card { position: relative; }
.hero-card::before { content: ""; position: absolute; inset: -10px -10px auto auto; width: 70%; height: 70%; border: 1px solid rgba(227,194,122,.45); border-radius: 18px; z-index: -1; }
.hero-card { overflow: visible; }
.hero-photo { border-radius: 16px 16px 0 0; }

/* Key numbers band */
.numbers { background: #fff; border-bottom: 1px solid var(--rule); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.number { padding: 2rem 1.5rem 1.8rem; border-left: 1px solid var(--rule); }
.number:first-child { border-left: 0; padding-left: 0; }
.number-value { font: 600 2.6rem/1 var(--serif); color: var(--green); margin: 0 0 .55rem; display: flex; align-items: baseline; gap: .35rem; }
.number-value small { font: 600 .78rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.number-label { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; max-width: 15rem; }
.number.reveal:nth-child(2) { transition-delay: .08s; }
.number.reveal:nth-child(3) { transition-delay: .16s; }
.number.reveal:nth-child(4) { transition-delay: .24s; }

/* Pop-ups (modal) */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: rgba(9,28,22,.72); backdrop-filter: blur(5px); opacity: 0; transition: opacity .25s ease; }
.modal[hidden] { display: none; }
.modal.show { opacity: 1; }
.modal-box { position: relative; background: #fff; width: 100%; max-width: 34rem; max-height: 90vh; overflow: auto; border-radius: 16px; padding: 2.2rem 2.2rem 2rem;
  box-shadow: 0 40px 80px rgba(0,0,0,.35); transform: translateY(18px) scale(.98); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.modal.show .modal-box { transform: none; }
.modal-box h2 { font-size: 1.85rem; margin-bottom: .6rem; }
.modal-disclaimer { border-top: 5px solid var(--brass); text-align: left; }
.modal-seal { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--brass-light); margin-bottom: 1rem; box-shadow: 0 0 0 6px var(--tint); }
.modal-kicker { font: 700 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: .6rem; display: flex; align-items: center; gap: .5rem; }
.modal-kicker-alert { color: #B3402F; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #D9483B; animation: alertPulse 1.6s infinite; }
@keyframes alertPulse { 0% { box-shadow: 0 0 0 0 rgba(217,72,59,.55); } 70% { box-shadow: 0 0 0 8px rgba(217,72,59,0); } 100% { box-shadow: 0 0 0 0 rgba(217,72,59,0); } }
.modal-list { padding-left: 1.2rem; margin: 0 0 .5rem; color: var(--muted); font-size: .97rem; }
.modal-list li { margin-bottom: .45rem; padding-left: .2rem; }
.modal-list li::marker { color: var(--brass); font-weight: 700; }
.modal-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.6rem; }
.modal-close { position: absolute; top: .9rem; right: .9rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule); background: #fff; font-size: 1.4rem; line-height: 1; color: var(--muted); cursor: pointer; transition: background .15s ease, color .15s ease, transform .15s ease; }
.modal-close:hover { background: var(--tint); color: var(--ink); transform: rotate(90deg); }
.modal-help { border-top: 5px solid #D9483B; }
.help-steps { list-style: none; counter-reset: h; padding: 0; margin: 1rem 0 0; }
.help-steps li { counter-increment: h; position: relative; padding: .8rem 0 .8rem 2.8rem; border-top: 1px solid var(--rule); font-size: .98rem; color: var(--muted); }
.help-steps li strong { color: var(--ink); }
.help-steps li::before { content: counter(h); position: absolute; left: 0; top: .78rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: #FBEAE7; color: #B3402F; font: 700 .85rem/1.9rem var(--sans); text-align: center; }
.btn-alert { background: #C2412F; border-color: #C2412F; }
.btn-alert:hover { background: #A33424; border-color: #A33424; }

/* Enquiry pop-up */
.modal-enquiry { border-top: 5px solid var(--brass); max-width: 31rem; }
.modal-text { color: var(--muted); font-size: 1rem; }
.modal-enquiry .modal-actions { flex-direction: column; }
.modal-enquiry .modal-actions .btn { width: 100%; }
.modal-note { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: .88rem; color: var(--muted); }
.modal-note a { color: #B3402F; font-weight: 700; }
.dot-open { background: #2FB36A; animation: pulse 2s infinite; }
.dot-closed { background: #C9A24A; }

/* Article toast */
.toast { position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 60; width: min(360px, calc(100vw - 6.5rem)); background: #fff; border-radius: 12px;
  border-left: 4px solid var(--brass); box-shadow: var(--shadow-lg); padding: 1rem 2.6rem 1rem 1.1rem;
  transform: translateY(20px); opacity: 0; transition: transform .3s ease, opacity .3s ease; }
.toast[hidden] { display: none; }
.toast.show { transform: none; opacity: 1; }
.toast-kicker { font: 700 .68rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin: 0 0 .4rem; }
.toast-title { font: 600 1rem/1.35 var(--serif); color: var(--ink); text-decoration: none; display: block; }
.toast-title:hover { color: var(--green-3); }
.toast-close { position: absolute; top: .5rem; right: .5rem; width: 28px; height: 28px; border: 0; background: none; font-size: 1.2rem; color: var(--muted); cursor: pointer; border-radius: 50%; }
.toast-close:hover { background: var(--tint); }

/* Back to top */
.to-top { position: fixed; right: 1.35rem; bottom: 5.2rem; z-index: 39; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rule); background: #fff; color: var(--green); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: transform .2s ease, background .2s ease; }
.to-top[hidden] { display: none; }
.to-top:hover { transform: translateY(-2px); background: var(--green); color: #fff; }

/* Footer extras */
.map-link { color: var(--brass-light) !important; font-weight: 600; font-size: .9rem; }

/* Finer details on inner pages */
.page-head h1::after { content: ""; display: block; width: 56px; height: 3px; background: var(--brass); margin-top: 1rem; border-radius: 2px; }
.prose a { color: var(--green-3); text-decoration-color: var(--brass); }
.prose strong { color: var(--ink); }

@media (max-width: 1020px) {
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .number:nth-child(3) { border-left: 0; padding-left: 0; }
  .number:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .hero-card::before { display: none; }
  .hero-photo { border-radius: 16px 0 0 16px; }
}
@media (max-width: 680px) {
  .topbar-inner { height: 36px; gap: .75rem; }
  .running-tag { display: none; }
  .topbar-phone { display: none; }
  .status { font-size: .74rem; }
  .numbers-grid { grid-template-columns: 1fr; }
  .number { border-left: 0; padding: 1.4rem 0; border-top: 1px solid var(--rule); }
  .number:first-child { border-top: 0; }
  .number-value { font-size: 2.2rem; }
  .modal-box { padding: 1.8rem 1.4rem 1.5rem; }
  .modal-actions .btn { flex: 1 1 100%; }
  .to-top { bottom: 5rem; right: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rotator-word { transition: none; }
  .running-move { animation: none; }
}

/* =========================================================
   v4 — inner pages: about, contact, practice, article
   ========================================================= */
.page-head .eyebrow { margin-bottom: 1rem; position: relative; }
.initials { display: grid; place-items: center; width: 100%; height: 100%; font: 600 4rem/1 var(--serif); color: var(--green); background: linear-gradient(160deg, var(--tint-2), var(--tint)); }
.block-title { display: flex; align-items: center; gap: .7rem; font-size: 1.35rem; margin: 0 0 1.25rem; }
.block-title .eyebrow-num { font-size: .85rem; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* About */
.about-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 4rem; align-items: start; padding-bottom: 5rem; }
.profile-card { position: sticky; top: 100px; background: #fff; border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.profile-photo { aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--tint); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.profile-body { padding: 1.4rem; border-top: 4px solid var(--brass); display: flex; flex-direction: column; gap: .6rem; }
.profile-name { font: 600 1.4rem var(--serif); margin: 0; }
.profile-role { margin: -.4rem 0 .2rem; color: var(--muted); font-size: .9rem; }
.status-line { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; margin: 0 0 .5rem; }
.is-open-dark { color: #237A4B; } .is-closed-dark { color: #8A6A1E; }
.profile-body .btn { width: 100%; }
.about-main .prose { margin-bottom: 3rem; }
.about-main .prose p:first-child { font-size: 1.3rem; line-height: 1.6; color: var(--ink); }
.about-block { padding: 2.25rem 0; border-top: 1px solid var(--rule); }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.facts div { padding: 1rem 1.2rem; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.facts div:nth-child(2n) { border-right: 0; }
.facts dt { font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: .45rem; }
.facts dd { margin: 0; font-weight: 600; }
.court-list { list-style: none; padding: 0; margin: 0; }
.court-list li { padding: .85rem 0 .85rem 2rem; border-bottom: 1px solid var(--rule); position: relative; font-weight: 500; }
.court-list li::before { content: ""; position: absolute; left: .25rem; top: 1.2rem; width: 10px; height: 10px; border: 2px solid var(--brass); transform: rotate(45deg); }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mini-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--rule); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.mini-card:hover { border-color: var(--green-3); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.mini-card strong { display: block; font: 600 1.15rem var(--serif); margin-bottom: .2rem; }
.mini-card small { color: var(--muted); font-size: .9rem; line-height: 1.5; display: block; }
.mini-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--green-3); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 3rem; }
.contact-card { display: flex; flex-direction: column; gap: .3rem; padding: 1.6rem; border: 1px solid var(--rule); border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.cc-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--green-3); margin-bottom: .8rem; }
.cc-wa .cc-icon { background: #E3F4EA; color: var(--wa); }
.cc-wa { border-color: #BFE3CD; }
.cc-label { font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.cc-value { font: 600 1.2rem/1.3 var(--serif); word-break: break-word; }
.cc-note { font-size: .86rem; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: start; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .75rem .25rem; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--muted); }
.hours tr.today th, .hours tr.today td { color: var(--green); font-weight: 700; }
.hours tr.today { background: linear-gradient(90deg, var(--tint), transparent); }
.today-tag { font: 700 .62rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; background: var(--green); color: #fff; padding: .25rem .4rem; border-radius: 3px; margin-left: .4rem; vertical-align: middle; }
.closed { color: #A3322A; }
.address { font-weight: 500; margin-bottom: 1rem; }
.map-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); aspect-ratio: 16 / 10; margin-bottom: 1rem; background: var(--tint); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-foot { border-top: 1px solid var(--rule); padding: 1.5rem 0 4rem; margin-top: 3rem; }

/* Sidebar on practice pages */
.aside-stack { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.25rem; }
.aside-stack .aside-contact { position: static; }
.aside-contact .btn + .btn { margin-top: .5rem; }
.aside-kicker { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; color: var(--green-3); margin-bottom: .6rem !important; }
.aside-address { font-size: .82rem; color: var(--muted); margin: 1rem 0 0 !important; padding-top: .9rem; border-top: 1px solid var(--rule); }
.toc { border-left: 2px solid var(--rule); padding-left: 1.1rem; }
.toc[hidden] { display: none; }
.toc-title { font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: .8rem; }
.toc-list { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc-list li { counter-increment: toc; }
.toc-list a { display: block; position: relative; padding: .35rem 0 .35rem 1.7rem; font-size: .9rem; color: var(--muted); text-decoration: none; line-height: 1.4; transition: color .15s ease; }
.toc-list a::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: .42rem; font: 600 .72rem/1.4 var(--serif); color: var(--brass); }
.toc-list a:hover { color: var(--ink); }
.toc-list a.active { color: var(--green); font-weight: 600; }
.toc-list a.active::after { content: ""; position: absolute; left: calc(-1.1rem - 2px); top: 0; bottom: 0; width: 2px; background: var(--green); }
.prose h2 { scroll-margin-top: 110px; }

/* Article page */
.article-head { background: var(--tint); border-bottom: 1px solid var(--rule); padding: 3.5rem 0 2.5rem; margin-bottom: 2.5rem; }
.article-head-inner { max-width: 52rem; }
.article-cat a { display: inline-block; font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--green); padding: .45rem .7rem; border-radius: 4px; text-decoration: none; }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 1rem 0 .8rem; font-weight: 500; }
.article-dek { font: 400 1.2rem/1.55 var(--serif); color: var(--muted); max-width: 44rem; }
.byline { display: flex; align-items: center; gap: .85rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.byline-photo { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--rule); }
.byline-photo img, .author-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.byline-photo .initials { font-size: 1rem; }
.byline-text { display: flex; flex-direction: column; font-size: .88rem; color: var(--muted); line-height: 1.4; }
.byline-text strong { color: var(--ink); font-size: .95rem; }
.article-grid { display: grid; grid-template-columns: 230px minmax(0, 44rem); gap: 3.5rem; justify-content: center; align-items: start; padding-bottom: 4rem; }
.article-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 2rem; }
.share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.share .toc-title { width: 100%; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rule); background: #fff; color: var(--green); display: grid; place-items: center; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.share-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }
.copied { font-size: .8rem; color: var(--green-3); font-weight: 600; }
.single .single-body { max-width: none; margin: 0; }
.single-body > p:first-child::first-letter { float: left; font: 600 3.6rem/.85 var(--serif); color: var(--green); padding: .3rem .5rem 0 0; }
.author-box { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 3rem; padding: 1.5rem; border: 1px solid var(--rule); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.author-photo { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; flex: none; }
.author-photo .initials { font-size: 1.6rem; }
.author-kicker { font: 700 .68rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin: 0 0 .35rem; }
.author-name { font: 600 1.25rem var(--serif); margin: 0 0 .3rem; }
.author-bio { color: var(--muted); font-size: .95rem; margin: 0 0 .5rem; }
.author-link { font-weight: 600; font-size: .92rem; text-decoration: none; }

@media (max-width: 1020px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .profile-card { position: static; max-width: 420px; display: grid; grid-template-columns: 150px 1fr; }
  .profile-photo { aspect-ratio: auto; }
  .profile-body { border-top: 0; border-left: 4px solid var(--brass); }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .aside-stack { position: static; }
  .aside-stack .toc { display: none; }
  .article-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .article-side { position: static; order: 2; }
  .article-side .toc { display: none; }
}
@media (max-width: 680px) {
  .profile-card { grid-template-columns: 1fr; }
  .profile-photo { aspect-ratio: 4 / 3.6; }
  .profile-body { border-left: 0; border-top: 4px solid var(--brass); }
  .facts, .mini-cards { grid-template-columns: 1fr; }
  .facts div { border-right: 0; }
  .author-box { flex-direction: column; }
  .article-head { padding: 2.5rem 0 2rem; }
}
