/* =========================================================================
   Justa Causa Legal Associates LLP — stylesheet
   Concept: the advocate's brief. Chalk-white court paper, black gown,
   red tape. Poppins throughout: heavy weights for display,
   regular for reading, spaced caps for the typed details of a filing.
   ========================================================================= */

:root {
  --paper: #F2F3F1;
  --white: #FFFFFF;
  --ink: #121212;
  --ink-2: #2A2A2A;
  --muted: #5F6266;
  --line: #D5D7D3;
  --red: #C8161D;
  --tape: #C3283A;
  --gown: #111111;
  --gown-ink: #F2F3F1;
  --gown-muted: #9C9EA1;
  --gown-line: rgba(255, 255, 255, .14);

  --display: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(18,18,18,.06), 0 4px 14px -6px rgba(18,18,18,.10);
  --shadow: 0 2px 4px rgba(18,18,18,.04), 0 18px 40px -18px rgba(18,18,18,.22);
  --shadow-lg: 0 4px 10px rgba(18,18,18,.05), 0 30px 60px -24px rgba(18,18,18,.32);

  --gl: max(20px, env(safe-area-inset-left, 0px));
  --gr: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.75 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 200; }
.skip:focus { left: 10px; top: 10px; }

.mono-label {
  font: 400 13px/1.4 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  font: 600 15px/1 var(--body);
  letter-spacing: .01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-ink   { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--red); }
.btn-red   { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--white); color: var(--ink); }
.btn-line  { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-paper { background: var(--gown-ink); color: var(--ink); }
.btn-paper:hover { background: var(--red); color: #fff; }

.link-u {
  display: inline-block; margin-top: 18px;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 3px;
  transition: background-size .3s var(--ease);
}
.link-u:hover { background-size: 40% 2px; }

/* ---------- Top line & header ---------- */
.topline { background: var(--gown); color: var(--gown-muted); font: 400 13px/1 var(--mono); letter-spacing: .06em; }
.topline-in { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; }
.topline a { color: var(--gown-ink); text-decoration: none; }

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-head.scrolled { box-shadow: 0 8px 30px -18px rgba(0,0,0,.35); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: flex; }
.brand-plate img { width: 150px; }

.main-nav ul { list-style: none; display: flex; gap: 6px; }
.main-nav ul a {
  position: relative; display: block;
  padding: 10px 14px;
  font: 500 15px/1 var(--body);
  text-decoration: none; color: var(--ink-2);
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav ul a:hover::after, .main-nav ul a[aria-current]::after { transform: scaleX(1); }
.main-nav ul a[aria-current] { color: var(--ink); }
.nav-practice { display: none; }

.burger {
  display: none; align-items: center; gap: 10px;
  background: none; border: 1.5px solid var(--ink); color: var(--ink);
  padding: 9px 14px; font: 600 14px var(--body); cursor: pointer;
}
.burger-bars { display: grid; gap: 5px; width: 18px; }
.burger-bars i { display: block; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] .burger-bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .burger { display: inline-flex; }
  .brand-plate img { width: 128px; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gr) 28px var(--gl);
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .main-nav[data-closed] { display: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { padding: 16px 0; font: 400 30px/1.1 var(--display); border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { left: 0; right: auto; width: 40px; bottom: -1px; }
  .nav-practice { display: grid; gap: 4px; margin-top: 24px; }
  .nav-practice .mono-label { margin-bottom: 6px; }
  .nav-practice a { text-decoration: none; padding: 6px 0; font-weight: 500; }
  .nav-practice em { font: 400 13px var(--mono); color: var(--red); font-style: normal; display: inline-block; width: 34px; }
}
@media (max-width: 560px) { .hide-sm { display: none; } .topline-in { font-size: 12px; } }

/* ---------- Hero (home) ---------- */
.hero { background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: 40px; align-items: center;
  padding-block: 72px 56px;
}
.dict {
  display: grid; gap: 4px;
  padding-left: 16px; border-left: 3px solid var(--red);
  font-family: var(--mono); font-size: 14px; color: var(--muted);
  max-width: 420px;
}
.dict-word { color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.dict-pos { font-style: italic; }
.hero-title {
  font-family: var(--display);
  font-size: clamp(52px, 8.6vw, 128px);
  line-height: .94;
  letter-spacing: -.025em;
  margin: 36px 0 30px;
}
.hero-title .line { display: block; animation: rise .9s var(--ease) both; }
.hero-title .line:nth-child(2) { animation-delay: .08s; }
.hero-title .line:nth-child(3) { animation-delay: .16s; }
.hero-title em { font-style: normal; color: var(--red); }
.red-dot { color: var(--red); }
@keyframes rise { from { transform: translateY(22px); } to { transform: none; } }
.hero-lede { max-width: 54ch; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.scale-fig { margin: 0; display: grid; justify-items: center; gap: 8px; }
.scale { width: 100%; max-width: 420px; overflow: visible; }
.scale .s-line, .scale .s-beam, .scale .s-chain, .scale .s-pan, .scale .s-ring {
  fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.scale .s-beam { stroke-width: 6; }
.scale .s-chain { stroke-width: 1.3; stroke-dasharray: 3 4; }
.scale .s-pan { fill: var(--white); stroke-width: 2.4; }
.scale .s-fill { fill: var(--ink); }
.scale .s-pivot { fill: var(--red); }
.scale .s-end { fill: var(--ink); }
.scale .s-label { font: 700 12px var(--mono); letter-spacing: .18em; fill: var(--ink); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 48px 40px; }
  .scale { max-width: 250px; }
}

/* Statute ticker */
.ticker { background: var(--gown); color: var(--gown-ink); overflow: hidden; border-top: 1px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set { display: flex; }
.ticker-set span { font: 400 14px/1 var(--mono); letter-spacing: .06em; padding: 16px 0; white-space: nowrap; }
.ticker-set span::after { content: "§"; color: var(--red); margin: 0 26px; font-family: var(--display); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { padding-block: 104px; }
.sec-paper { background: var(--white); border-block: 1px solid var(--line); }
.sec-black { background: var(--gown); color: var(--gown-ink); }
.sec-black .mono-label { color: var(--gown-muted); }
.sec-head { display: grid; gap: 14px; margin-bottom: 56px; max-width: 820px; }
.sec-title { font-family: var(--display); font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.015em; }
.lead-serif { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; color: var(--ink); }
.lead-serif.big { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; }
.prose p { color: var(--muted); max-width: 62ch; }
.prose p + p { margin-top: 18px; }
.prose .lead-serif { color: var(--ink); margin-bottom: 22px; }
.two-col { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.two-col > * { min-width: 0; }
@media (max-width: 860px) {
  .sec { padding-block: 68px; }
  .sec-head { margin-bottom: 36px; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Briefs (practice cards) ---------- */
.briefs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.brief {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 380px;
  padding: 34px 28px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 38px) 0, 100% 38px, 100% 100%, 0 100%);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.brief::before { /* folded corner */
  content: ""; position: absolute; top: 0; right: 0; width: 38px; height: 38px;
  background: linear-gradient(225deg, var(--paper) 50%, var(--line) 50%);
}
.brief-tape {
  position: absolute; left: -10%; right: -10%; top: 168px;
  height: 16px; background: var(--tape);
  transform: rotate(-8deg);
  box-shadow: 0 1px 0 rgba(0,0,0,.12);
  transition: transform .5s var(--ease), opacity .4s;
}
.brief-no { font: 700 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.brief-title { font-family: var(--display); font-size: 34px; line-height: 1.02; margin-top: 18px; }
.brief-text { margin-top: auto; padding-top: 96px; color: var(--muted); font-size: 15px; position: relative; }
.brief-more { margin-top: 20px; font-weight: 600; font-size: 14px; }
.brief:hover { transform: translateY(-8px); box-shadow: 0 24px 40px -28px rgba(0,0,0,.45); }
.brief:hover .brief-tape { transform: rotate(-8deg) translateX(110%); opacity: 0; }
.brief:nth-child(2) .brief-tape { transform: rotate(6deg); top: 176px; }
.brief:nth-child(2):hover .brief-tape { transform: rotate(6deg) translateX(110%); }
.brief:nth-child(3) .brief-tape { transform: rotate(-4deg); top: 162px; }
.brief:nth-child(3):hover .brief-tape { transform: rotate(-4deg) translateX(110%); }
.brief:nth-child(4) .brief-tape { transform: rotate(9deg); top: 172px; }
.brief:nth-child(4):hover .brief-tape { transform: rotate(9deg) translateX(110%); }
@media (max-width: 1060px) { .briefs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .briefs { grid-template-columns: 1fr; } .brief { min-height: 300px; } }

/* ---------- Firm block (home) ---------- */
.sec-firm { padding-top: 0; }
.firm-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; padding-top: 88px; border-top: 1px solid var(--line); }
.firm-num { display: grid; gap: 10px; }
.big-figure {
  font-family: var(--display);
  font-size: clamp(110px, 17vw, 240px); line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}
.firm-copy p + p { margin-top: 18px; color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) { .firm-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 60px; } }

/* ---------- Bands emblem & philosophy ---------- */
.bands { display: flex; gap: 6px; }
.bands i {
  display: block; width: 40px; height: 132px;
  background: var(--gown-ink);
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
}
.phil-grid { display: grid; grid-template-columns: 200px 1fr; gap: 56px; align-items: start; }
.motto { font-family: var(--display); font-size: clamp(54px, 9vw, 128px); line-height: .92; letter-spacing: -.025em; margin: 18px 0 28px; }
.phil-text { color: var(--gown-muted); max-width: 58ch; margin-bottom: 32px; }
.phil-text strong { color: var(--gown-ink); }
@media (max-width: 760px) { .phil-grid { grid-template-columns: 1fr; gap: 28px; } .bands i { width: 28px; height: 90px; } }

/* ---------- Terms (clauses) ---------- */
.terms { list-style: none; counter-reset: cl; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.terms li { counter-increment: cl; padding: 28px 28px 36px 0; border-bottom: 1px solid var(--line); }
.terms li::before { content: "Cl. " counter(cl); display: block; font: 400 13px var(--mono); color: var(--red); letter-spacing: .1em; margin-bottom: 14px; }
.terms h3 { font-family: var(--display); font-size: 28px; line-height: 1.1; margin-bottom: 10px; }
.terms p { color: var(--muted); font-size: 16px; max-width: 34ch; }
.terms-dark { border-top-color: var(--gown-ink); }
.terms-dark li { border-bottom-color: var(--gown-line); }
.terms-dark p { color: var(--gown-muted); }
@media (max-width: 860px) { .terms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .terms { grid-template-columns: 1fr; } .terms li { padding-right: 0; } }

/* ---------- Cause title (inner hero) ---------- */
.cause {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.cause-in {
  position: relative;
  padding-block: 56px 64px;
}
.cause-in::before { /* ruled-margin of court paper */
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(var(--gl) - 14px); width: 2px; background: var(--red); opacity: .85;
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 400 13px var(--mono); color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.cause-matter {
  display: flex; align-items: center; gap: 16px;
  margin-top: 56px;
  font: 700 14px var(--mono); letter-spacing: .22em; text-transform: uppercase;
}
.cause-matter::after { content: ""; flex: 0 1 120px; height: 1px; background: var(--ink); }
.cause-title {
  font-family: var(--display);
  font-size: clamp(46px, 8vw, 112px); line-height: .95; letter-spacing: -.025em;
  margin-top: 18px;
  display: flex; align-items: flex-start; flex-wrap: wrap; gap: 0 20px;
}
.cause-no { font: 700 16px var(--mono); color: var(--red); border: 1.5px solid var(--red); padding: 6px 10px; margin-top: .5em; letter-spacing: .08em; }
.cause-sub {
  margin-top: 30px; padding-top: 22px;
  max-width: 62ch; color: var(--muted); font-size: 19px;
  border-top: 3px double var(--ink);
}
@media (max-width: 600px) { .cause-in::before { display: none; } .cause-matter { margin-top: 36px; } }

/* ---------- Practice page ---------- */
.pa-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: start; }
.pa-grid > * { min-width: 0; }
.pa-intro p { color: var(--muted); max-width: 62ch; }
.pa-intro p + p { margin-top: 18px; }
.pa-intro .lead-serif { color: var(--ink); margin-bottom: 26px; }
.pa-acts { position: sticky; top: 110px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--ink); padding: 26px 26px 18px; }
.acts { list-style: none; counter-reset: act; margin-top: 16px; }
.acts li { counter-increment: act; display: grid; grid-template-columns: 34px 1fr; padding: 11px 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 15px; line-height: 1.45; }
.acts li::before { content: counter(act, lower-roman) "."; color: var(--red); }
@media (max-width: 860px) { .pa-grid { grid-template-columns: 1fr; gap: 40px; } .pa-acts { position: static; } }

.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 56px; }
.group-wide { grid-column: 1 / -1; }
.group-wide .ticks { columns: 3; column-gap: 40px; }
.group-title { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-size: 30px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.group-title span { font: 400 13px var(--mono); color: var(--muted); }
.ticks { list-style: none; }
.ticks li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.ticks li::before { content: "§"; font-family: var(--display); color: var(--red); }
@media (max-width: 860px) { .group-wide .ticks { columns: 2; } }
@media (max-width: 600px) { .groups { grid-template-columns: 1fr; gap: 40px; } .group-wide .ticks { columns: 1; } }

.next-brief { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; border-top: 2px solid var(--ink); padding-top: 36px; }
.next-link { display: inline-block; margin-top: 12px; font-family: var(--display); font-size: clamp(32px, 5vw, 60px); line-height: 1; text-decoration: none; transition: color .25s; }
.next-link em { font: 700 16px var(--mono); color: var(--red); vertical-align: middle; }
.next-link:hover { color: var(--red); }
.next-brief .lead-serif { margin-top: 10px; }

/* ---------- Practice index ---------- */
.index-list { border-top: 2px solid var(--ink); }
.index-row {
  display: grid; grid-template-columns: 80px 1.4fr 1fr 40px; gap: 28px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; position: relative;
  transition: padding .35s var(--ease), background .35s;
}
.index-row:hover { padding-left: 16px; padding-right: 16px; background: var(--white); }
.index-no { font: 700 18px var(--mono); color: var(--red); }
.index-main { display: grid; gap: 8px; }
.index-title { font-family: var(--display); font-size: clamp(32px, 4.4vw, 56px); line-height: 1; }
.index-tag { color: var(--muted); max-width: 52ch; }
.index-acts { display: grid; gap: 4px; font: 400 13px var(--mono); color: var(--muted); }
.index-arrow { font-size: 28px; transition: transform .3s var(--ease); }
.index-row:hover .index-arrow { transform: translateX(6px); color: var(--red); }
@media (max-width: 860px) { .index-row { grid-template-columns: 52px 1fr 28px; } .index-acts { display: none; } }

/* ---------- About ---------- */
.ledger { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.ledger > div { display: grid; gap: 8px; padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.ledger-k { font: 400 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.ledger-v { font-family: var(--display); font-size: 24px; line-height: 1.2; }
@media (max-width: 860px) { .ledger { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ledger { grid-template-columns: 1fr; } }

.assist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.assist a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 24px; line-height: 1.15;
  text-decoration: none; transition: color .25s;
}
.assist a i { font-style: normal; font-family: var(--body); font-size: 20px; transition: transform .3s var(--ease); }
.assist a:hover { color: var(--red); }
.assist a:hover i { transform: translateX(6px); }
@media (max-width: 860px) { .assist { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
@media (max-width: 560px) { .assist { grid-template-columns: 1fr; } }

/* ---------- Philosophy ---------- */
.pound { margin: 0; padding: 40px 0 0; border-top: 6px solid var(--red); }
.pound blockquote { margin: 0 0 18px; font-family: var(--display); font-size: clamp(42px, 6vw, 80px); line-height: 1; letter-spacing: -.02em; }
.csr-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.csr-grid li {
  min-height: 150px; padding: 22px; display: flex; align-items: flex-end;
  background: var(--paper); border: 1px solid var(--line);
  font-family: var(--display); font-size: 22px; line-height: 1.15;
  position: relative;
}
.csr-grid li::before { content: "§"; position: absolute; top: 16px; left: 22px; color: var(--red); font-size: 24px; }
.csr-grid li:last-child { background: var(--ink); color: var(--white); border-color: var(--ink); }
@media (max-width: 860px) { .csr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .csr-grid { grid-template-columns: 1fr; } .csr-grid li { min-height: 110px; } }

.clinic { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.clinic > * { min-width: 0; }
.clinic-head .bands { margin-bottom: 30px; }
.clinic-name { font-family: var(--display); font-size: clamp(72px, 12vw, 168px); line-height: .85; letter-spacing: -.03em; margin: 14px 0 20px; }
.clinic-with { color: var(--gown-muted); max-width: 40ch; }
.aims { list-style: none; counter-reset: aim; border-top: 1px solid var(--gown-ink); }
.aims li { counter-increment: aim; display: grid; grid-template-columns: 56px 1fr; padding: 24px 0; border-bottom: 1px solid var(--gown-line); font-size: 18px; line-height: 1.5; }
.aims li::before { content: "(" counter(aim, lower-roman) ")"; font: 400 15px/1.8 var(--mono); color: var(--red); }
@media (max-width: 860px) { .clinic { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-grid > * { min-width: 0; }
.envelope {
  position: relative; padding: 34px 30px 30px;
  background: var(--white); border: 1px solid var(--line);
  background-image: repeating-linear-gradient(135deg, var(--red) 0 14px, var(--white) 14px 28px, var(--ink) 28px 42px, var(--white) 42px 56px);
  background-size: 100% 8px; background-repeat: no-repeat;
}
.addr { margin-top: 18px; font-family: var(--display); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.3; }
.stamp {
  position: absolute; top: 30px; right: 24px;
  border: 2px dashed var(--red); color: var(--red);
  padding: 8px 10px; transform: rotate(8deg);
  font: 700 12px/1.3 var(--mono); letter-spacing: .1em; text-align: center;
}
.lines { margin: 28px 0 0; }
.lines > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lines dt { font: 400 13px/1.8 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lines dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.lines a { text-decoration: none; }
.lines a:hover { color: var(--red); }

.enquiry { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--ink); padding: 36px; display: grid; gap: 20px; }
.form-title { font-family: var(--display); font-size: clamp(28px, 3vw, 38px); line-height: 1.1; margin-top: -8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 14px; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px var(--body); color: var(--ink);
  background: var(--paper); border: 0; border-bottom: 2px solid var(--line);
  padding: 13px 12px; border-radius: 0; transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); background: var(--white); }
.field textarea { resize: vertical; min-height: 130px; }
.has-err input, .has-err textarea { border-bottom-color: var(--red); }
.err { color: var(--red); font-size: 13px; font-weight: 600; }
.fine { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.enquiry .btn { justify-self: start; }
.note { padding: 14px 16px; font-size: 15px; border-left: 4px solid; }
.note-ok { background: #EEF5EF; border-color: #2E7D46; }
.note-err { background: #FBECEC; border-color: var(--red); }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .enquiry { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .lines > div { grid-template-columns: 1fr; gap: 2px; }
  .stamp { display: none; }
}

/* ---------- Footer ---------- */
.site-foot { background: var(--gown); color: var(--gown-ink); padding-block: 80px 32px; }
.site-foot .mono-label { color: var(--gown-muted); margin-bottom: 14px; font-size: 12px; }
.foot-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: 56px; border-bottom: 1px solid var(--gown-line); }
.foot-latin { font-family: var(--display); font-size: clamp(32px, 5vw, 64px); line-height: 1.05; }
.foot-latin span { color: var(--white); }
.foot-latin em { font-style: normal; font-family: var(--mono); font-size: .3em; color: var(--gown-muted); vertical-align: middle; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr .9fr; gap: 40px; padding-block: 52px; }
.foot-grid > * { min-width: 0; }
.site-foot address, .plain li { color: var(--gown-ink); font-size: 15px; line-height: 1.8; }
.plain { list-style: none; }
.plain a, .site-foot address a { text-decoration: none; overflow-wrap: anywhere; }
.plain a:hover { color: var(--red); }
.site-foot .link-u { margin-top: 12px; font-size: 14px; }
.foot-disclaimer { font-size: 13px; line-height: 1.7; color: var(--gown-muted); max-width: 110ch; padding-top: 28px; border-top: 1px solid var(--gown-line); }
.foot-disclaimer strong { color: var(--gown-ink); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 32px; font: 400 13px var(--mono); color: var(--gown-muted); }
@media (max-width: 920px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- BCI disclaimer modal ---------- */
.bci { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(10, 10, 10, .72); backdrop-filter: blur(3px); }
.bci-card { position: relative; overflow: hidden; max-width: 580px; width: 100%; max-height: 90vh; overflow-y: auto; background: var(--white); padding: 48px 36px 32px; animation: card-in .45s var(--ease) both; }
.bci-tape { position: absolute; left: -20px; right: -20px; top: 0; height: 10px; background: var(--tape); }
.bci-card h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 38px); line-height: 1.1; margin: 10px 0 18px; }
.bci-card p:not(.mono-label) { color: var(--muted); font-size: 15px; }
.bci-card p + p { margin-top: 12px; }
.bci-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@keyframes card-in { from { transform: translateY(16px) scale(.98); } to { transform: none; } }
@media (max-width: 480px) { .bci-card { padding: 40px 22px 24px; } }

/* =========================================================================
   Design polish — Poppins typography, softer surfaces, depth & warmth
   ========================================================================= */

/* ---- Type scale tuned for Poppins ---- */
strong, b { font-weight: 600; }
.mono-label { font: 500 12px/1.4 var(--mono); letter-spacing: .16em; }
.sec-head .mono-label, .hero-copy .mono-label { display: inline-flex; align-items: center; gap: 12px; color: var(--red); }
.sec-head .mono-label::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-black .sec-head .mono-label, .sec-black .mono-label { color: #ff6b70; }

.hero-title { font-weight: 700; letter-spacing: -.045em; line-height: .98; font-size: clamp(46px, 7.4vw, 112px); }
.hero-title em {
  background: linear-gradient(100deg, var(--red) 10%, #E8474D 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { font-size: 17px; line-height: 1.8; }
.sec-title { font-weight: 700; letter-spacing: -.035em; line-height: 1.06; font-size: clamp(32px, 4.6vw, 58px); }
.lead-serif { font-weight: 500; letter-spacing: -.015em; line-height: 1.4; font-size: clamp(21px, 2.2vw, 27px); }
.lead-serif.big { font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.cause-title { font-weight: 700; letter-spacing: -.045em; line-height: 1; font-size: clamp(40px, 7vw, 96px); }
.motto { font-weight: 700; letter-spacing: -.045em; line-height: .98; font-size: clamp(48px, 8vw, 112px); }
.big-figure { font-weight: 800; letter-spacing: -.05em; -webkit-text-stroke: 2px var(--ink); }
.brief-title { font-weight: 600; font-size: 26px; letter-spacing: -.02em; line-height: 1.15; }
.terms h3, .group-title { font-weight: 600; letter-spacing: -.02em; font-size: 22px; }
.index-title { font-weight: 600; letter-spacing: -.035em; }
.next-link, .foot-latin { font-weight: 600; letter-spacing: -.035em; }
.ledger-v, .assist a, .csr-grid li { font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.clinic-name { font-weight: 700; letter-spacing: -.03em; font-size: clamp(40px, 5vw, 68px); line-height: 1; overflow-wrap: anywhere; }
.pound blockquote { font-weight: 600; letter-spacing: -.04em; line-height: 1.08; }
.addr { font-weight: 500; font-size: clamp(20px, 2.2vw, 25px); letter-spacing: -.01em; }
.form-title, .bci-card h2 { font-weight: 700; letter-spacing: -.03em; }
.dict { font-family: var(--body); }
.dict-word { font-weight: 600; }
.ticker-set span { font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.ticker-set span::after { font-weight: 400; }

/* ---- Buttons ---- */
.btn { border-radius: 999px; padding: 15px 28px; font-weight: 600; font-size: 14.5px; letter-spacing: .02em; }
.btn-ink { box-shadow: 0 10px 24px -12px rgba(18,18,18,.6); }
.btn-ink:hover { box-shadow: 0 14px 28px -12px rgba(200,22,29,.7); }
.btn-red { background: linear-gradient(135deg, #D91E26, #B0121A); box-shadow: 0 12px 28px -12px rgba(200,22,29,.75); }
.btn-paper { box-shadow: 0 10px 24px -14px rgba(0,0,0,.8); }
.burger { border-radius: 999px; padding: 9px 16px; }

/* ---- Header ---- */
.topline { font: 400 12.5px/1 var(--body); letter-spacing: .03em; }
.site-head { background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
.main-nav ul a { font-weight: 500; font-size: 14.5px; border-radius: 999px; transition: background .25s, color .25s; }
.main-nav ul a:hover { background: rgba(18,18,18,.05); }
.main-nav ul a[aria-current] { font-weight: 600; }
@media (max-width: 920px) {
  .main-nav { background: var(--white); box-shadow: 0 24px 40px -24px rgba(0,0,0,.35); }
  .main-nav ul a { font: 600 22px/1.2 var(--display); letter-spacing: -.02em; border-radius: 0; }
  .main-nav ul a:hover { background: none; }
  .nav-practice em { font: 600 12px var(--mono); }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background:
    radial-gradient(60% 70% at 88% 30%, rgba(200,22,29,.08), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(18,18,18,.05), transparent 70%),
    var(--white);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(18,18,18,.09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
.hero-grid { position: relative; }
.scale .s-label { font: 600 12px var(--mono); }
.scale-fig { filter: drop-shadow(0 30px 30px rgba(0,0,0,.08)); }

/* ---- Practice cards ---- */
.brief {
  clip-path: none; border-radius: var(--radius);
  border-color: rgba(18,18,18,.08);
  box-shadow: var(--shadow-sm);
  padding: 32px 28px 28px;
}
.brief::before {
  width: auto; height: 4px; left: 0; right: 0;
  background: linear-gradient(90deg, var(--red), #E8474D 60%, transparent);
  transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease);
}
.brief:hover::before { transform: scaleX(1); }
.brief-tape { height: 12px; border-radius: 2px; opacity: .92; }
.brief-no { font-weight: 600; font-size: 11.5px; letter-spacing: .16em; }
.brief-text { font-size: 14.5px; line-height: 1.7; }
.brief-more { display: inline-flex; align-items: center; gap: 8px; color: var(--red); }
.brief-more span { transition: transform .3s var(--ease); }
.brief:hover { box-shadow: var(--shadow-lg); }
.brief:hover .brief-more span { transform: translateX(5px); }

/* ---- Terms ---- */
.terms { gap: 18px; border-top: 0; }
.terms li {
  padding: 30px 28px 32px; border: 1px solid rgba(18,18,18,.08); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.terms li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.terms li::before {
  font: 600 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase;
  display: inline-block; padding: 6px 11px; border-radius: 999px; background: rgba(200,22,29,.08);
}
.terms-dark li { background: rgba(255,255,255,.04); border-color: var(--gown-line); box-shadow: none; }
@media (max-width: 560px) { .terms li { padding-right: 24px; } }

/* ---- Dark sections ---- */
.sec-black, .site-foot {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(200,22,29,.16), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(255,255,255,.04), transparent 70%),
    var(--gown);
}
.bands i { border-radius: 3px 3px 0 0; }

/* ---- Inner page header ---- */
.cause {
  background:
    radial-gradient(55% 90% at 100% 0%, rgba(200,22,29,.07), transparent 70%),
    var(--white);
}
.crumbs { font: 500 12.5px var(--body); letter-spacing: .02em; }
.cause-matter { font: 600 12.5px var(--mono); letter-spacing: .22em; color: var(--red); }
.cause-matter::after { background: currentColor; opacity: .5; }
.cause-no { font: 700 14px var(--mono); border-radius: 999px; padding: 6px 14px; background: rgba(200,22,29,.06); }
.cause-sub { font-size: 17px; line-height: 1.8; border-top: 1px solid var(--line); }

/* ---- Practice pages ---- */
.pa-acts { border-radius: var(--radius); border: 1px solid rgba(18,18,18,.08); border-top: 4px solid var(--red); box-shadow: var(--shadow); }
.acts li { font-family: var(--body); font-size: 14.5px; }
.acts li::before { font-weight: 600; }
.group-title { border-bottom-color: var(--red); }
.group-title span { font: 500 12px var(--mono); letter-spacing: .08em; }
.ticks li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .65em; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(200,22,29,.12); }
.index-row { border-radius: var(--radius); }
.index-row:hover { box-shadow: var(--shadow); padding-left: 24px; padding-right: 24px; }
.index-no { font: 700 15px var(--mono); }
.index-acts { font: 400 12.5px var(--body); }
.next-link em { font: 700 14px var(--mono); }

/* ---- About & philosophy ---- */
.ledger-k { font: 600 11.5px var(--mono); letter-spacing: .14em; }
.assist a i { font-family: var(--body); }
.csr-grid li { border-radius: var(--radius); background: var(--white); border-color: rgba(18,18,18,.08); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.csr-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.csr-grid li::before { font-weight: 600; }
.aims li { font-size: 16.5px; line-height: 1.7; }
.aims li::before { font: 600 13px/1.9 var(--mono); }

/* ---- Contact ---- */
.envelope { border-radius: var(--radius); overflow: hidden; border-color: rgba(18,18,18,.08); box-shadow: var(--shadow); }
.stamp { font: 700 11px/1.35 var(--mono); border-radius: 6px; }
.lines dt { font: 500 11.5px/2 var(--mono); }
.lines dd { font-weight: 500; }
.enquiry { border-radius: var(--radius); border: 1px solid rgba(18,18,18,.08); border-top: 4px solid var(--red); box-shadow: var(--shadow-lg); }
.field label { font-weight: 500; font-size: 13.5px; }
.field input, .field select, .field textarea {
  font: 400 15px var(--body); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #FAFAF9; padding: 13px 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(18,18,18,.07);
}
.has-err input, .has-err textarea { border-color: var(--red); }
.note { border-radius: var(--radius-sm); }

/* ---- Footer ---- */
.foot-latin em { font-family: var(--body); font-weight: 400; }
.foot-base { font: 400 12.5px var(--body); }
.site-foot .mono-label { color: #ff6b70; }
.plain a, .site-foot address a { transition: color .2s; }

/* ---- Disclaimer modal ---- */
.bci-card { border-radius: 18px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); }
.bci-tape { height: 6px; background: linear-gradient(90deg, var(--red), #E8474D); }

@media (max-width: 560px) {
  .brief .brief-tape, .brief:nth-child(n) .brief-tape { top: 128px; }
  .brief-text { padding-top: 110px; }
}

/* ---- Calmer type scale: large display text reduced site-wide ---- */
.hero-title { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -.03em; margin: 24px 0 20px; }
.sec-title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.03em; }
.cause-title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
.cause-no { margin-top: .35em; font-size: 13px; }
.motto { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.03em; margin: 14px 0 22px; }
.sec-black .bands i { width: 26px; height: 86px; }
.big-figure { font-size: clamp(64px, 7vw, 100px); line-height: .9; }
.lead-serif { font-size: clamp(19px, 1.8vw, 23px); }
.lead-serif.big { font-size: clamp(24px, 2.6vw, 34px); }
.index-title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; }
.next-link { font-size: clamp(22px, 2.6vw, 32px); }
.foot-latin { font-size: clamp(22px, 2.6vw, 32px); }
.pound blockquote { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.15; }
.form-title, .bci-card h2 { font-size: clamp(24px, 2.4vw, 30px); }
.addr { font-size: clamp(18px, 1.8vw, 22px); }
.brief-title { font-size: 23px; }
.group-title { font-size: 20px; }

/* ---- Compact type scale (second reduction) ---- */
.hero-title { font-size: clamp(28px, 3vw, 40px); font-weight: 600; }
.sec-title { font-size: clamp(21px, 2vw, 27px); font-weight: 600; letter-spacing: -.02em; }
.cause-title { font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; }
.motto { font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; }
.clinic-name { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.02em; margin: 10px 0 14px; }
.bands i, .sec-black .bands i { width: 20px; height: 64px; }
.clinic-head .bands { margin-bottom: 22px; }
.big-figure { font-size: clamp(56px, 5.6vw, 80px); }
.lead-serif { font-size: clamp(16px, 1.4vw, 18.5px); font-weight: 500; line-height: 1.55; }
.lead-serif.big { font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; line-height: 1.35; }
.foot-latin, .next-link { font-size: clamp(20px, 2vw, 26px); font-weight: 600; }
.pound blockquote { font-size: clamp(21px, 2.2vw, 30px); }
.index-title { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.25; }
.index-tag { font-size: 14.5px; }
.index-row { padding-block: 24px; border-radius: 0; }
.index-row:hover { border-radius: var(--radius); }
.brief-title { font-size: 20px; }
.terms h3, .group-title { font-size: 18px; }
.form-title, .bci-card h2 { font-size: clamp(20px, 2vw, 24px); }
.addr { font-size: clamp(16px, 1.5vw, 19px); }
.ledger-v, .assist a, .csr-grid li { font-size: 17px; }

/* ---- Compact inner-page header ---- */
.cause-in { padding-block: 28px 34px; }
.cause-matter { margin-top: 22px; }
.cause-title { margin-top: 10px; }
.cause-sub { margin-top: 16px; padding-top: 14px; font-size: 15.5px; line-height: 1.7; }
@media (max-width: 600px) { .cause-matter { margin-top: 18px; } }

/* ---- Dark "We assist with" list ---- */
.sec-black .sec-title { color: var(--gown-ink); }
.sec-black .assist { border-top-color: var(--gown-ink); }
.sec-black .assist a { color: var(--gown-ink); border-bottom-color: var(--gown-line); }
.sec-black .assist a:hover { color: #ff6b70; }

/* ---- Dark inner-page header ---- */
.cause {
  background:
    radial-gradient(55% 100% at 100% 0%, rgba(200,22,29,.20), transparent 65%),
    radial-gradient(40% 80% at 0% 100%, rgba(255,255,255,.04), transparent 70%),
    var(--gown);
  color: var(--gown-ink); border-bottom-color: var(--gown);
}
.cause .crumbs { color: var(--gown-muted); }
.cause .crumbs a:hover { color: #ff6b70; }
.cause-matter { color: #ff6b70; }
.cause-title { color: var(--white); }
.cause-no { color: #ff6b70; border-color: #ff6b70; background: rgba(255,107,112,.10); }
.cause-sub { color: var(--gown-muted); border-top-color: var(--gown-line); }

/* ---- Justified paragraphs ---- */
p:not([class]), p[class=""], .hero-lede, .cause-sub, .clinic-with, .phil-text,
.foot-disclaimer, .brief-text, .terms p, .index-tag, .bci-card p:not(.mono-label), .aims li, .lead-serif {
  text-align: justify; text-justify: inter-word;
}

/* ---- Scrollbar ---- */
html { scrollbar-color: #B9BBB7 transparent; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.bci[hidden] { display: none; }
