/* Madewad Jamadar & Associates
   Palette from the gown, the bands and the red tape on court files.
   Type: Tiro Devanagari Marathi (display) + Mukta (text). Both carry Devanagari,
   so a Marathi edition needs no new fonts. */

:root {
  --ink: #231f20;        /* gown black, as printed on the business card */
  --ink-2: #3a3536;
  --band: #ffffff;       /* advocate's bands */
  --mist: #eceef0;       /* the grey of the portrait backdrop */
  --rule: #d4d7db;
  --slate: #545a63;      /* secondary text, 6.6:1 on white */
  --tape: #a3202e;       /* red tape: focus, current page, small markers */
  --tape-soft: #f6e7e8;
  --tape-bright: #d1394a; /* red tape on dark backgrounds */
  --ink-soft: #2c2728;

  --display: 'Tiro Devanagari Marathi', 'Noto Serif Devanagari', Georgia, serif;
  --text: 'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.125rem;
  --step-1: 1.4rem;
  --step-2: clamp(1.6rem, 1.3rem + 1vw, 2rem);
  --step-3: clamp(2rem, 1.5rem + 1.8vw, 2.75rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.4vw, 4.4rem);

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--band);
  color: var(--ink);
  font: 400 var(--step-0)/1.65 var(--text);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--tape); }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; border-radius: 2px; }
address { font-style: normal; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--band); padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.7rem 1.15rem; min-height: 44px;
  border-radius: var(--radius); border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--text); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn-sm { padding: 0.45rem 0.85rem; min-height: 40px; font-size: 0.95rem; }
.btn-ink { background: var(--ink); color: var(--band); }
.btn-ink:hover { background: var(--ink-2); color: var(--band); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--band); }
.btn-band { background: var(--band); color: var(--ink); }
.btn-band:hover { background: var(--mist); color: var(--ink); }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0.96); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.4) blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand .mark { width: 2.6rem; height: 2.6rem; color: var(--ink); }
.brand strong { display: block; font: 400 1.15rem/1.15 var(--display); }
.brand small { display: block; font-size: 0.85rem; color: var(--slate); line-height: 1.2; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.site-nav ul a { white-space: nowrap; text-decoration: none; font-weight: 500; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a[aria-current='page'] { border-bottom-color: var(--tape); }
.nav-toggle { display: none; }
.site-nav .btn { white-space: nowrap; }

@media (max-width: 1140px) {
  .nav-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
    background: none; border: 1.5px solid var(--ink); border-radius: var(--radius);
    font: 600 1rem var(--text); color: var(--ink); cursor: pointer;
  }
  .site-nav { display: none; position: absolute; inset: 100% 0 auto; background: var(--band); border-bottom: 1px solid var(--rule); padding: 0.5rem var(--gutter) 1.25rem; flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
  .site-nav ul a[aria-current='page'] { border-bottom-color: var(--rule); color: var(--tape); }
  .site-nav .btn { justify-content: center; }
}

/* ---------- hero ----------
   A cut-out portrait under a spotlight that follows the pointer, with the
   section numbers that matter most in criminal defence cycling behind it. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--band); padding-top: clamp(2rem, 5vw, 3.5rem); }
.hero-light {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 72%) var(--my, 42%), rgb(255 255 255 / 0.17), rgb(255 255 255 / 0.05) 16rem, transparent 32rem),
    radial-gradient(60rem 26rem at -5% 112%, rgb(163 32 46 / 0.32), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 3rem); align-items: end; }
.hero-copy { align-self: center; padding-bottom: clamp(2rem, 5vw, 4rem); }
.hero-kicker { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; color: rgb(255 255 255 / 0.78); margin-bottom: 1.25rem; }
.hero-kicker::before { content: ''; width: 2.25rem; height: 2px; background: var(--tape-bright); flex: none; }
.hero h1 { font-size: clamp(2.5rem, 1.3rem + 3.1vw, 4.15rem); line-height: 1.04; letter-spacing: -0.015em; margin-bottom: 0.5em; }
.hero h1 .hl { display: block; }
.hero-lede { font-size: var(--step-1); line-height: 1.5; max-width: 34ch; color: rgb(255 255 255 / 0.84); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-lg { padding: 0.9rem 1.4rem; font-size: 1.05rem; min-height: 52px; }
.btn-ghost { border-color: rgb(255 255 255 / 0.55); color: var(--band); }
.btn-ghost:hover { border-color: var(--band); background: rgb(255 255 255 / 0.08); color: var(--band); }
.hero-note { display: flex; gap: 0.5rem; align-items: flex-start; margin: 1.5rem 0 0; color: rgb(255 255 255 / 0.7); font-size: var(--step--1); }
.hero-note svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.2rem; }

.hero-stage { position: relative; margin: 0; display: grid; justify-items: center; align-items: end; min-height: 100%; }
.statute { position: absolute; inset: 0 0 18%; display: grid; place-items: center; pointer-events: none; }
.statute-num {
  font: 400 clamp(9rem, 2rem + 17vw, 20rem)/0.8 var(--display);
  color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / 0.26);
  letter-spacing: -0.02em; white-space: nowrap;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.statute-num[data-len='4'], .statute-num[data-len='5'] { font-size: clamp(6.5rem, 1.5rem + 11vw, 13rem); }
.statute-num[data-len='6'] { font-size: clamp(5.5rem, 1rem + 9vw, 11rem); }
.statute-num.is-out { opacity: 0; transform: translateY(0.15em); }
.hero-figure {
  position: relative; width: min(100%, 34rem); height: auto;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}
.hero-stage figcaption { position: absolute; left: 0; bottom: 1.75rem; display: grid; gap: 1rem; max-width: 15rem; }
.statute-caption { display: grid; gap: 0.1rem; padding-left: 0.85rem; border-left: 2px solid var(--tape-bright); font-size: var(--step--1); color: rgb(255 255 255 / 0.75); transition: opacity 0.6s ease; }
.statute-caption strong { color: var(--band); font-weight: 600; }
.statute-caption.is-out { opacity: 0; }
.hero-name { font: 400 1.3rem/1.2 var(--display); }
.hero-name span { display: block; font: 400 0.9rem/1.5 var(--text); color: rgb(255 255 255 / 0.7); }

.ticker { border-top: 1px solid rgb(255 255 255 / 0.14); overflow: hidden; position: relative; }
.ticker-track { display: flex; width: max-content; }
.ticker ul { list-style: none; margin: 0; padding: 0; display: flex; }
.ticker li a {
  display: flex; align-items: center; gap: 1.6rem; padding: 1.05rem 0 1.05rem 1.6rem;
  font: 400 1.3rem/1.2 var(--display); color: rgb(255 255 255 / 0.82); text-decoration: none; white-space: nowrap;
}
.ticker li a::after { content: ''; width: 0.4rem; height: 0.4rem; background: var(--tape-bright); transform: rotate(45deg); flex: none; }
.ticker li a:hover, .ticker li a:focus-visible { color: var(--band); text-decoration: underline; text-underline-offset: 0.2em; }

/* One orchestrated load sequence, then the slow ticker. */
@media (prefers-reduced-motion: no-preference) {
  .hero-light { animation: fade-in 1.4s ease-out both; }
  .hero-figure { animation: figure-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both; }
  .statute { animation: fade-in 1.2s ease-out 0.6s both; }
  .hero-kicker, .hero h1 .hl, .hero-lede, .hero-actions, .hero-note { animation: line-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-kicker { animation-delay: 0.1s; }
  .hero h1 .hl:nth-child(1) { animation-delay: 0.2s; }
  .hero h1 .hl:nth-child(2) { animation-delay: 0.32s; }
  .hero-lede { animation-delay: 0.45s; }
  .hero-actions { animation-delay: 0.55s; }
  .hero-note { animation-delay: 0.65s; }
  .ticker-track { animation: marquee 48s linear infinite; }
  .ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
  @keyframes fade-in { from { opacity: 0; } }
  @keyframes figure-in { from { opacity: 0; transform: translate3d(0, 2.5rem, 0); } }
  @keyframes line-in { from { opacity: 0; transform: translateY(0.6rem); } }
  @keyframes marquee { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .ticker ul[aria-hidden] { display: none; }
  .ticker-track, .ticker ul { width: auto; flex-wrap: wrap; }
  .statute-num, .statute-caption, .btn, .situ-tabs button { transition: none; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: clamp(2rem, 6vw, 3rem); }
  .hero-stage { order: -1; max-width: 26rem; width: 100%; justify-self: center; margin-bottom: 1.5rem; }
  .hero-stage figcaption { bottom: 1.25rem; }
}
@media (max-width: 600px) {
  .hero-stage { max-width: 19rem; justify-self: start; }
  .hero-stage figcaption { display: none; }
  .hide-sm { display: none; }
  .hero-stage figcaption { max-width: 11rem; gap: 0.6rem; }
  .hero-name { font-size: 1.1rem; }
  .ticker li a { font-size: 1.1rem; }
}

/* ---------- what's happening right now ---------- */
.situ { background: var(--ink-soft); color: var(--band); }
.situ a:hover { color: var(--band); }
.situ-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.situ-head p { color: rgb(255 255 255 / 0.75); }
.situ-tabs { display: grid; gap: 0.25rem; margin-top: 1.5rem; }
.situ-tabs button {
  text-align: left; min-height: 48px; padding: 0.8rem 1rem; border: 0; border-left: 3px solid rgb(255 255 255 / 0.18);
  background: transparent; color: rgb(255 255 255 / 0.78); font: 500 1.1rem/1.3 var(--text); cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.situ-tabs button:hover { color: var(--band); background: rgb(255 255 255 / 0.04); }
.situ-tabs button[aria-selected='true'] { color: var(--band); border-left-color: var(--tape-bright); background: rgb(255 255 255 / 0.07); }
.situ-panel { padding-top: 0.25rem; }
.situ-panel h3 { font: 600 1rem/1.4 var(--text); color: rgb(255 255 255 / 0.7); margin: 0 0 0.75rem; }
.situ-panel h3 + p { color: rgb(255 255 255 / 0.85); max-width: 52ch; }
.situ-steps { list-style: none; counter-reset: s; margin: 0 0 2rem; padding: 0; display: grid; gap: 1rem; }
.situ-steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; font: 400 var(--step-1)/1.35 var(--display); }
.situ-steps li::before { content: counter(s); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1.5px solid rgb(255 255 255 / 0.4); border-radius: 50%; font: 600 1rem/1 var(--text); }
.situ-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.situ-actions .text-link { color: var(--band); }
.situ-panel.is-entering { animation: panel-in 0.3s ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .situ-panel.is-entering { animation: none; } }
@media (max-width: 860px) {
  .situ-grid { grid-template-columns: 1fr; }
  .situ-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .situ-tabs button { border: 1.5px solid rgb(255 255 255 / 0.35); border-radius: 999px; padding: 0.5rem 1rem; font-size: 1rem; min-height: 44px; }
  .situ-tabs button[aria-selected='true'] { background: var(--band); color: var(--ink); border-color: var(--band); }
}

/* ---------- default bail calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.calc-copy p { max-width: 46ch; }
.small { font-size: var(--step--1); color: var(--slate); }
.calc-card { background: var(--band); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 0.4rem; }
.calc-card label { font-weight: 600; margin-top: 0.4rem; }
.calc-card input, .calc-card select {
  font: inherit; width: 100%; min-height: 48px; padding: 0.6rem 0.75rem; border: 1.5px solid #8c9199; border-radius: var(--radius); background: var(--band); color: var(--ink);
}
.calc-out { display: grid; gap: 0.6rem; margin: 1.25rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.calc-row strong { font: 400 var(--step-1)/1.2 var(--display); }
.calc-bar { display: block; height: 8px; border-radius: 99px; background: var(--mist); overflow: hidden; margin-top: 0.4rem; }
.calc-fill { display: block; height: 100%; width: 0; background: var(--ink); transition: width 0.4s ease; }
.calc-fill.is-over { background: var(--tape); }
.calc-status { font-weight: 600; }
.calc-status.is-over { color: var(--tape); }
.calc-note { font-size: var(--step--1); color: var(--slate); }
.calc-card .btn { justify-self: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ---------- home practice areas ---------- */
.areas-head { max-width: 42rem; margin-bottom: 2rem; }
.areas-head p { color: var(--slate); }
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 5vw, 4rem); }
.areas-sub { font: 600 1rem/1.4 var(--text); color: var(--slate); margin-bottom: 0.5rem; }
.areas-also { margin-top: 2.5rem; color: var(--slate); max-width: 70ch; }
@media (max-width: 800px) { .areas-grid { grid-template-columns: 1fr; } }

.table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 1rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--rule); }
.table th { font-weight: 600; border-bottom-color: var(--ink); }
@media (max-width: 600px) { .table { font-size: 0.92rem; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: var(--band); }
.section-ink a:hover { color: var(--band); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem clamp(2rem, 6vw, 5rem); }
.split-head p { color: var(--slate); max-width: 30ch; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.area-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.area-list a { display: grid; grid-template-columns: 1fr; gap: 0.15rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.area-name { font: 400 var(--step-1)/1.25 var(--display); }
.area-short { color: var(--slate); }
.area-list a:hover .area-name { color: var(--tape); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.area-group-block + .area-group-block { margin-top: 3rem; }

.steps { list-style: none; counter-reset: step; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font: 400 2.5rem/1 var(--display); color: var(--tape); margin-bottom: 0.75rem; }
.steps p { color: var(--slate); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.guide-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.guide-list a { display: block; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.guide-title { display: block; font: 400 var(--step-1)/1.25 var(--display); margin-bottom: 0.3rem; }
.guide-meta { display: block; color: var(--slate); font-size: var(--step--1); }
.guide-sum { display: block; margin-top: 0.35rem; }
.guide-list a:hover .guide-title { color: var(--tape); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.visit-address { font: 400 var(--step-1)/1.45 var(--display); margin-bottom: 1.5rem; }
.visit-facts { margin: 0; border-top: 1px solid rgb(255 255 255 / 0.25); }
.visit-facts div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.25); }
.visit-facts dt { color: rgb(255 255 255 / 0.72); }
.visit-facts dd { margin: 0; }
@media (max-width: 800px) { .visit { grid-template-columns: 1fr; } .visit-facts div { grid-template-columns: 1fr; gap: 0; } }

/* ---------- inner pages ---------- */
.page-head { background: var(--mist); padding-block: 1.5rem clamp(2rem, 5vw, 3.5rem); }
.page-head h1 { font-size: var(--step-4); max-width: 20ch; margin-bottom: 0.3em; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--slate); max-width: 46ch; margin: 0; }
.byline { color: var(--slate); margin: 0; }
.crumbs ol { list-style: none; margin: 0 0 1.75rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: var(--step--1); color: var(--slate); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 0.5rem; color: var(--rule); }
.crumbs li[aria-current] { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
.aside-col { position: sticky; top: 6rem; display: grid; gap: 1.5rem; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .aside-col { position: static; } }

.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--tape); }
.prose a { color: var(--ink); text-decoration-color: var(--tape); }
.prose a.btn-ink { color: var(--band); }
.small-print { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--slate); font-size: var(--step--1); }

.at-a-glance { border-left: 3px solid var(--ink); padding: 0.25rem 0 0.25rem 1.25rem; margin-bottom: 2.5rem; }
.at-a-glance h2 { font-size: var(--step-1); margin: 0 0 0.75rem; }
.at-a-glance dl { margin: 0; display: grid; gap: 0.75rem; }
.at-a-glance dt { font-weight: 600; }
.at-a-glance dd { margin: 0; color: var(--slate); }

.aside-card { background: var(--ink); color: var(--band); padding: 1.5rem; border-radius: var(--radius); display: grid; gap: 0.75rem; }
.aside-card h2 { font-size: var(--step-1); margin: 0; }
.aside-card p { margin: 0; color: rgb(255 255 255 / 0.82); }
.aside-card .btn { justify-content: center; }
.aside-card .btn-ink { background: var(--band); color: var(--ink); }
.aside-card .btn-ink:hover { background: var(--mist); }
.aside-card .btn-line { border-color: rgb(255 255 255 / 0.6); color: var(--band); }
.aside-card .btn-line:hover { background: var(--band); color: var(--ink); }
.aside-note { display: flex; gap: 0.5rem; font-size: var(--step--1); }
.aside-note svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.2rem; }
.aside-related h2 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.aside-related ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.aside-related a { display: block; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 500; }

.faq { margin-top: 3rem; }
.faq h2 { margin-top: 0; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0.25rem; top: 0.8rem; font: 400 1.5rem/1 var(--text); color: var(--tape); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--slate); padding-bottom: 0.5rem; }

.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-portrait { margin: 0; background: var(--mist); border-radius: var(--radius); overflow: hidden; position: sticky; top: 6rem; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about-portrait { position: static; max-width: 22rem; } }
.todo { background: var(--tape-soft); color: var(--tape); padding: 0.05rem 0.35rem; border-radius: 3px; font-size: 0.95em; }

.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.enquiry { background: var(--mist); padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); display: grid; gap: 0.4rem; }
.enquiry h2 { font-size: var(--step-2); margin-bottom: 0.2rem; }
.form-note { color: var(--slate); font-size: var(--step--1); margin-bottom: 0.8rem; }
.enquiry label { font-weight: 600; margin-top: 0.6rem; }
.enquiry input, .enquiry select, .enquiry textarea {
  font: inherit; width: 100%; padding: 0.65rem 0.75rem; min-height: 44px;
  border: 1.5px solid #8c9199; border-radius: var(--radius); background: var(--band); color: var(--ink);
}
.enquiry input:focus-visible, .enquiry select:focus-visible, .enquiry textarea:focus-visible { outline: 3px solid var(--tape); outline-offset: 1px; border-color: var(--ink); }
.enquiry .btn { margin-top: 1rem; justify-self: start; }
.contact-details h2 { font-size: var(--step-1); margin-top: 2rem; }
.contact-details h2:first-child { margin-top: 0; }
.contact-details address { margin-bottom: 1rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.contact-list li { display: flex; gap: 0.6rem; align-items: center; }
.contact-list svg { width: 1.2rem; height: 1.2rem; flex: none; }
.hours { margin: 0; }
.hours div { display: grid; grid-template-columns: 11rem 1fr; padding: 0.5rem 0; border-bottom: 1px solid var(--rule); }
.hours dd { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--band); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer a { text-decoration-color: rgb(255 255 255 / 0.4); }
.site-footer a:hover { color: var(--band); text-decoration-color: var(--band); }
.brand-light { color: var(--band); margin-bottom: 1.25rem; }
.brand-light .mark { color: var(--band); --mark-line: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid address, .footer-grid p { color: rgb(255 255 255 / 0.82); margin-bottom: 1rem; }
.footer-h { font: 600 1rem/1.4 var(--text); margin-bottom: 0.75rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer-links a { text-decoration: none; color: rgb(255 255 255 / 0.82); }
.footer-legal { border-top: 1px solid rgb(255 255 255 / 0.2); margin-top: 2.5rem; padding-block: 1.5rem; font-size: var(--step--1); color: rgb(255 255 255 / 0.7); }
.footer-legal p { max-width: 80ch; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- mobile call bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 4rem; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0; z-index: 30; background: var(--ink); border-top: 1px solid rgb(255 255 255 / 0.15); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.5rem; color: var(--band); text-decoration: none; font-weight: 600; }
  .mobile-bar a + a { border-left: 1px solid rgb(255 255 255 / 0.2); }
  .mobile-bar svg { width: 1.25rem; height: 1.25rem; }
  .site-header .site-nav .btn { display: none; }
}

/* ---------- disclaimer dialog ---------- */
.disclaimer { max-width: 34rem; width: calc(100% - 2rem); border: 0; border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2rem); color: var(--ink); }
.disclaimer::backdrop { background: rgb(35 31 32 / 0.7); }
.disclaimer h2 { font-size: var(--step-2); }
.disclaimer ul { padding-left: 1.2rem; }
.disclaimer li { margin-bottom: 0.4rem; }
.disclaimer li::marker { color: var(--tape); }
.disclaimer form { margin-top: 1.25rem; }

/* ---------- gallery ---------- */
.gallery { list-style: none; margin: 0; padding: 0; columns: 3 18rem; column-gap: 1rem; }
.gallery li { break-inside: avoid; margin-bottom: 1rem; scroll-margin-top: 6rem; }
.gallery a, .gallery-strip a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.gallery img, .gallery-strip img { width: 100%; transition: transform 0.4s ease, filter 0.4s ease; }
.gallery a:hover img, .gallery-strip a:hover img { transform: scale(1.025); }
.gallery li:target a { outline: 3px solid var(--tape); outline-offset: 3px; }
.gallery-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-self: start; }
.gallery-strip img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 600px) { .gallery-strip { grid-template-columns: 1fr; } .gallery-strip li:not(:first-child) { display: none; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--band); }
.lightbox::backdrop { background: rgb(20 18 19 / 0.94); }
.lightbox[open] { display: grid; place-items: center; grid-template-rows: 1fr auto; padding: 3.5rem 4rem 1rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 7rem); width: auto; height: auto; border-radius: var(--radius); }
.lightbox-caption { margin: 0.75rem 0 0; max-width: 60ch; text-align: center; color: rgb(255 255 255 / 0.82); font-size: var(--step--1); }
.lightbox button { background: none; border: 0; color: var(--band); cursor: pointer; font: 400 2.5rem/1 var(--text); min-width: 44px; min-height: 44px; }
.lightbox button:hover { color: var(--mist); }
.lightbox-close { position: fixed; top: 0.75rem; right: 1rem; }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); font-size: 3.5rem !important; }
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }
@media (max-width: 600px) { .lightbox[open] { padding: 3.5rem 0.5rem 1rem; } .lightbox-nav { top: auto; bottom: 0.5rem; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gallery img, .gallery-strip img { transition: none; } }

/* ---------- ask a question ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ask-hero { background: var(--ink); color: var(--band); padding-block: 1.5rem clamp(2.5rem, 6vw, 4rem); position: relative; isolation: isolate; overflow: hidden; }
.ask-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50rem 22rem at 85% -10%, rgb(255 255 255 / 0.1), transparent 70%), radial-gradient(50rem 22rem at -5% 120%, rgb(163 32 46 / 0.3), transparent 70%); }
.ask-hero .crumbs ol { color: rgb(255 255 255 / 0.7); }
.ask-hero .crumbs a:hover { color: var(--band); }
.ask-hero h1 { font-size: var(--step-4); margin-bottom: 0.3em; }
.ask-hero .lede { color: rgb(255 255 255 / 0.82); max-width: 52ch; margin-bottom: 2rem; }
.ask-form { display: flex; gap: 0.6rem; max-width: 52rem; }
.ask-form input {
  flex: 1; min-width: 0; min-height: 56px; padding: 0.75rem 1.1rem; border-radius: var(--radius);
  border: 1.5px solid rgb(255 255 255 / 0.35); background: rgb(255 255 255 / 0.06); color: var(--band); font: 400 1.15rem/1.3 var(--text);
}
.ask-form input::placeholder { color: rgb(255 255 255 / 0.55); }
.ask-form input:focus-visible { outline: 3px solid var(--tape-bright); outline-offset: 2px; border-color: var(--band); }
.ask-form-light input { border-color: #8c9199; background: var(--band); color: var(--ink); }
.ask-form-light input::placeholder { color: #767b84; }
.ask-form-light input:focus-visible { outline-color: var(--tape); border-color: var(--ink); }
.ask-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.25rem; max-width: 60rem; }
.ask-suggest span { color: rgb(255 255 255 / 0.7); margin-right: 0.25rem; }
.ask-suggest button {
  min-height: 40px; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.3);
  background: transparent; color: rgb(255 255 255 / 0.88); font: 400 0.95rem/1.3 var(--text); cursor: pointer; text-align: left;
}
.ask-suggest button:hover { border-color: var(--band); color: var(--band); background: rgb(255 255 255 / 0.06); }
@media (max-width: 600px) { .ask-form { flex-direction: column; } .ask-form .btn { justify-content: center; } }

.ask-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.ask-aside { position: sticky; top: 6rem; display: grid; gap: 1.5rem; }
@media (max-width: 960px) { .ask-layout { grid-template-columns: 1fr; } .ask-aside { position: static; } }
.ask-h { font-size: var(--step-2); margin: 0 0 1rem; }
.ask-common { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ask-common button {
  display: block; width: 100%; text-align: left; padding: 1rem 2rem 1rem 0; border: 0; border-bottom: 1px solid var(--rule);
  background: none; color: var(--ink); font: 400 var(--step-1)/1.3 var(--display); cursor: pointer; position: relative;
}
.ask-common button::after { content: '+'; position: absolute; right: 0.25rem; top: 0.9rem; font: 400 1.4rem/1 var(--text); color: var(--tape); }
.ask-common button:hover { color: var(--tape); }
.ask-loading { color: var(--slate); }

.ask-answer { border-left: 3px solid var(--ink); padding: 0.25rem 0 0.25rem clamp(1rem, 3vw, 1.75rem); margin-bottom: 2.5rem; max-width: 68ch; }
.ask-answer h2 { font-size: var(--step-3); margin-bottom: 0.6rem; }
.ask-label { font-weight: 600; color: var(--tape); margin-bottom: 0.5rem; }
.ask-body { font-size: var(--step-1); line-height: 1.55; }
.ask-source { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: baseline; color: var(--slate); margin: 1rem 0 0; }
.ask-source a { font-weight: 600; color: var(--ink); text-decoration-color: var(--tape); text-decoration-thickness: 2px; }
.ask-source span { font-size: var(--step--1); }
mark { background: var(--tape-soft); color: inherit; border-radius: 2px; box-shadow: 0 0 0 0.08em var(--tape-soft); }
.ask-tool { display: grid; gap: 0.2rem; padding: 1rem 1.25rem; margin-bottom: 2.5rem; border: 1.5px solid var(--ink); border-radius: var(--radius); text-decoration: none; max-width: 68ch; }
.ask-tool span { color: var(--slate); }
.ask-tool:hover strong { color: var(--tape); }
.ask-more { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--rule); }
.ask-more a { display: grid; gap: 0.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.ask-more-page { font-size: var(--step--1); color: var(--slate); }
.ask-more-h { font: 400 var(--step-1)/1.25 var(--display); }
.ask-more-t { color: var(--slate); }
.ask-more a:hover .ask-more-h { color: var(--tape); text-decoration: underline; text-decoration-thickness: 1px; }
.ask-empty { max-width: 60ch; }
.ask-band { border-bottom: 1px solid var(--rule); }
.ask-band .ask-form { align-self: center; }

/* ---------- team ---------- */
.team-lead { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.team-lead .team-photo { position: sticky; top: 6rem; }
@media (max-width: 860px) { .team-lead .team-photo { position: static; } }
.team-photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.team-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team-text { max-width: 60ch; }
.team-text h2 { font-size: var(--step-3); margin-bottom: 0.2em; }
.team-role { font-weight: 600; color: var(--tape); margin: 0 0 0.4rem; }
.team-quals { color: var(--slate); margin-bottom: 1rem; }
.team-areas { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.team-areas li { border: 1px solid var(--rule); border-radius: 999px; padding: 0.2rem 0.8rem; font-size: var(--step--1); background: var(--band); }
.team-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 2.5rem 2rem; }
.team-grid .team-photo { margin-bottom: 1.1rem; }
.team-grid h3 { font-size: var(--step-2); margin-bottom: 0.15em; }
.team-grid p { margin-bottom: 0.75rem; }
@media (max-width: 860px) { .team-lead { grid-template-columns: 1fr; } .team-lead .team-photo { max-width: 24rem; } }
.brand strong { white-space: nowrap; }
.team-links { display: flex; gap: 1.25rem; margin: 1rem 0 0; }
.team-links a { font-weight: 600; text-decoration-color: var(--tape); text-decoration-thickness: 2px; }
.team-photo img.as-is { aspect-ratio: auto; }

/* ---------- lead capture: floating WhatsApp, contact actions, map ---------- */
.wa-float { display: none; }
@media (min-width: 761px) {
  .wa-float {
    position: fixed; right: max(1.25rem, env(safe-area-inset-right, 0px)); bottom: max(1.25rem, env(safe-area-inset-bottom, 0px)); z-index: 30;
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1.15rem 0.7rem 0.75rem; min-height: 52px;
    background: #1f7a4d; color: #fff; border-radius: 999px; font-weight: 600; text-decoration: none;
    box-shadow: 0 6px 20px rgb(0 0 0 / 0.22);
  }
  .wa-float:hover { background: #18633e; color: #fff; }
  .wa-float-icon svg { width: 1.6rem; height: 1.6rem; display: block; }
  .wa-float:focus-visible { outline-offset: 4px; }
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.map-frame { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); background: var(--mist); }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }
.visit-map { margin-top: 2.5rem; }
.visit-map .map-frame { border-color: rgb(255 255 255 / 0.2); }
