/* Verdugo Hills Estate Law (studio T2 demo), v2 "warm and premium".
   Warm paper, aubergine ink-accent, brass hairlines. Libre Caslon for reading (documents, letters), Instrument Sans for UI.
   Signature: the arched photo frame (a doorway: home, family) with the attorney card overlapping it.
   Motion: hero entrance, scroll reveals (scroll-driven, transform/clip only so text never sits at low contrast),
   cross-document view transitions, popovers with @starting-style. ALL motion lives inside prefers-reduced-motion:
   no-preference, so nothing moves for people who ask it not to.
   Law-demo rule: DEMO watermark on every page (decorative; the ribbon carries the accessible label).
   Contrast (on --bg / --surface): ink 15:1, muted 6.9 / 6.1, brass-ink 5.9 / 5.2, accent 12.5. Dark band text 14:1. */
@font-face { font-family: "Libre Caslon Display"; src: url(/fonts/libre-caslon-display-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url(/fonts/libre-caslon-text-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url(/fonts/libre-caslon-text-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url(/fonts/libre-caslon-text-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(/fonts/instrument-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(/fonts/instrument-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(/fonts/instrument-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #fcfaf7;
  --ink: #2b2226;
  --muted: #5f5359;
  --surface: #f1ebe4;
  --line: #ddd2c6;
  --accent: #4b2342;
  --accent-ink: #ffffff;
  --focus: #4b2342;
  --brass: #a8823f;        /* hairlines, numerals at display size only */
  --brass-ink: #7d5b22;    /* brass for small text */
  --brass-light: #e2c58f;  /* on the dark band */
  --night: #24161f;
  --night-ink: #f3ece4;
  --night-muted: #cbbcc4;
  --font-body: "Libre Caslon Text", Georgia, serif;
  --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --font-ui: "Instrument Sans", system-ui, sans-serif;
  --radius: 3px;
  --wrap: 76rem;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

body { font-size: 1.0625rem; line-height: 1.7; }
h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); font-weight: 400; line-height: 1.04; letter-spacing: -.015em; max-width: 15ch; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; }
h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; line-height: 1.35; }
.fine, .model-note { font: 400 .875rem/1.5 var(--font-ui); color: var(--muted); }
.v-kicker { font: 600 .8rem/1.4 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: .75rem; }
.v-kicker::before { content: ""; width: 2.25rem; height: 1px; background: var(--brass); flex: none; }
.v-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 36rem; }
::selection { background: var(--brass-light); color: var(--ink); }

/* watermark (law-demo rule) */
body::after {
  content: "DEMO" / "";
  position: fixed; left: 50%; top: 55%; z-index: 60; pointer-events: none;
  transform: translate(-50%, -50%) rotate(-14deg);
  font: 400 clamp(6rem, 22vw, 20rem)/1 var(--font-display); letter-spacing: .08em;
  color: transparent; -webkit-text-stroke: 2px rgba(75, 35, 66, .11);
}
@media print { body::after { display: none; } }

/* header */
.demo-ribbon { background: var(--night); color: var(--night-ink); font-family: var(--font-ui); }
.site-head { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--line); font-family: var(--font-ui); }
@media (min-width: 64rem) { .site-head { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px); } }
.head-grid { padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-display); font-weight: 400; color: var(--ink); }
.brand-mark { width: 2rem; height: 2rem; color: var(--accent); flex: none; }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-size: 1.4rem; }
.brand-sub { font: 600 .68rem/1.6 var(--font-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--brass-ink); }
.site-nav a { font-weight: 500; font-size: .98rem; position: relative; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .55rem; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { text-decoration: none; color: var(--accent); }
.head-call { color: var(--accent); text-decoration: none; border: 1px solid var(--accent); padding: .45rem 1rem; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; gap: .3em; font-weight: 600; }
.head-call:hover { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 47.99rem) { .site-nav ul { gap: 0 .95rem; } .site-nav a { font-size: .92rem; } }
.langs a { display: inline-flex; min-height: 44px; align-items: center; padding-inline: .2rem; font-size: .92rem; }

/* buttons */
.btn { font-family: var(--font-ui); border-radius: 999px; padding: .7em 1.5em; letter-spacing: .01em; transition: background .2s, color .2s, transform .2s var(--ease); }
.btn:hover { filter: none; background: #3a1a33; border-color: #3a1a33; transform: translateY(-1px); }
.btn.ghost { color: var(--accent); border-color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: var(--accent-ink); }
.more { font: 600 1rem/1.4 var(--font-ui); color: var(--accent); display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }
.more::after { content: "→"; transition: transform .2s var(--ease); }
.more:hover::after { transform: translateX(4px); }
.link-btn { font: 600 .95rem/1.4 var(--font-ui); color: var(--accent); background: none; border: 0; padding: .5rem 0; min-height: 44px; cursor: pointer;
  text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--brass); }
.link-btn:hover { text-decoration-thickness: 2px; }

/* home hero: arched photo + attorney card */
.v-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); overflow: clip; }
.v-hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .v-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 4.5rem; } }
.v-hero h1 { margin-bottom: 1.5rem; }
.v-hero .v-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 2rem; font: 500 .92rem/1.4 var(--font-ui); color: var(--muted); }
.v-proof li { display: flex; align-items: center; gap: .55rem; }
.v-proof li::before { content: ""; width: .5rem; height: .5rem; border: 1px solid var(--brass); transform: rotate(45deg); }
.v-hero-media { position: relative; justify-self: center; width: min(100%, 30rem); padding: 0 0 4.5rem 0; }
.v-hero-media::before { content: ""; position: absolute; inset: -14px -14px calc(4.5rem - 14px) -14px; border: 1px solid var(--brass); border-radius: 999px 999px 0 0; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 11 / 13; background: var(--surface); position: relative; }
.arch-img { width: 100%; height: 100%; object-fit: cover; }
.v-card { position: absolute; left: -1.5rem; bottom: 0; width: min(19rem, 88%); display: grid; grid-template-columns: 4.5rem 1fr; gap: .4rem 1rem; align-items: center;
  background: var(--bg); padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(43, 34, 38, .35); }
.v-card-img { width: 4.5rem; height: 4.5rem; object-fit: cover; object-position: 50% 15%; border-radius: 999px 999px 2px 2px; }
.v-card-name { font: 400 1.2rem/1.2 var(--font-display); margin: 0; }
.v-card-role { font: 500 .85rem/1.4 var(--font-ui); color: var(--muted); margin: .15rem 0 0; }
.v-card .model-note { grid-column: 1 / -1; margin: .2rem 0 0; font-size: .8rem; }
@media (max-width: 40rem) { .v-card { left: 0; width: 100%; } }

/* the four questions (dark band) */
.v-dark { background: var(--night); color: var(--night-ink); padding-block: clamp(4rem, 9vw, 7rem); }
.v-dark h2 { color: #fff; max-width: 20ch; }
.v-sub { color: var(--night-muted); font-size: 1.15rem; max-width: 40rem; }
.v-q { display: grid; gap: 0; margin: 3rem 0 0; counter-reset: q; border-top: 1px solid rgba(226, 197, 143, .35); }
@media (min-width: 48rem) { .v-q { grid-template-columns: 1fr 1fr; } .v-q .q:nth-child(odd) { border-right: 1px solid rgba(226, 197, 143, .35); padding-right: 2.5rem; } .v-q .q:nth-child(even) { padding-left: 2.5rem; } }
.v-q .q { counter-increment: q; padding-block: 2rem; border-bottom: 1px solid rgba(226, 197, 143, .35); display: grid; grid-template-columns: 3.5rem 1fr; gap: .25rem 1rem; }
.v-q .q::before { content: counter(q, decimal-leading-zero); grid-row: span 2; font: 400 2rem/1 var(--font-display); color: var(--brass-light); }
.v-q dt { font: 400 1.45rem/1.25 var(--font-display); color: #fff; }
.v-q dd { margin: 0; color: var(--night-muted); }
.v-dark :focus-visible { outline-color: var(--brass-light); }

/* section heads */
.v-head { display: grid; gap: .5rem 3rem; margin-bottom: 2.75rem; align-items: end; }
@media (min-width: 56rem) { .v-head { grid-template-columns: 1fr 1fr; } }
.v-head h2 { margin: 0; }
.v-head p { margin: 0; color: var(--muted); max-width: 34rem; }

/* practice area cards */
.area-grid { display: grid; gap: 1.5rem; }
@media (min-width: 40rem) { .area-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 72rem) { .area-grid { grid-template-columns: repeat(4, 1fr); } }
.area-card { display: grid; grid-template-rows: auto 1fr; color: var(--ink); text-decoration: none; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.area-card:hover { border-color: var(--brass); box-shadow: 0 22px 40px -24px rgba(43, 34, 38, .4); transform: translateY(-3px); }
.area-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); }
.area-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.area-card:hover .area-img img { transform: scale(1.05); }
.area-body { display: grid; align-content: start; gap: .5rem; padding: 1.25rem 1.35rem 1.5rem; }
.area-name { font: 400 1.4rem/1.2 var(--font-display); }
.area-name::after { content: " →"; color: var(--brass-ink); font-family: var(--font-ui); font-size: .9em; }
.area-short { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.area-fee { font: 600 .85rem/1.4 var(--font-ui); color: var(--brass-ink); padding-top: .65rem; margin-top: .25rem; border-top: 1px solid var(--line); }
.v-areas .fine { margin-top: 1.25rem; }

/* attorney */
.v-attorney-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 56rem) { .v-attorney-grid { grid-template-columns: .8fr 1.2fr; gap: 5rem; } }
.portrait { margin: 0; justify-self: center; width: min(100%, 24rem); }
.portrait img { border-radius: 999px 999px 0 0; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; outline: 1px solid var(--brass); outline-offset: 10px; }
.portrait figcaption { margin-top: 1.25rem; text-align: center; }
.v-pull { font: italic 400 clamp(1.25rem, 2vw, 1.55rem)/1.45 var(--font-body); color: var(--accent); border-left: 2px solid var(--brass); padding-left: 1.25rem; margin-block: 1.5rem; max-width: 34rem; }
.facts-dl { margin: 2rem 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts-dl > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding-block: .8rem; border-bottom: 1px solid var(--line); }
.facts-dl dt { font: 600 .8rem/1.7 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--brass-ink); }
.facts-dl dd { margin: 0; }
@media (max-width: 30rem) { .facts-dl > div { grid-template-columns: 1fr; gap: .1rem; } }

/* process timeline */
.v-process-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 56rem) { .v-process-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; } }
.v-process-media { overflow: hidden; border-radius: var(--radius); }
.v-process-media img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.timeline { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: step; position: relative; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 1.4rem; top: 2.6rem; bottom: -.2rem; width: 1px; background: var(--brass); }
.timeline li { counter-increment: step; position: relative; padding: 0 0 2.25rem 4.25rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: counter(step); position: absolute; left: 0; top: -.2rem; width: 2.8rem; height: 2.8rem; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--brass); border-radius: 50%; font: 400 1.3rem/1 var(--font-display); color: var(--accent); }
.timeline h3 { font: 400 1.4rem/1.25 var(--font-display); margin-bottom: .35rem; }
.timeline p { color: var(--muted); margin: 0; }

/* reviews (SAMPLES; full text in a popover) */
.review-grid { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .review-grid { grid-template-columns: repeat(3, 1fr); } .review-grid.one { grid-template-columns: minmax(0, 46rem); justify-content: center; } }
.review { margin: 0; display: grid; grid-template-rows: 1fr auto auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem 1.25rem; position: relative; }
.review::before { content: "“"; position: absolute; top: .4rem; left: 1.35rem; font: 400 4.5rem/1 var(--font-display); color: var(--brass); }
.review blockquote { margin: 1.6rem 0 1.25rem; }
.review blockquote p { font: italic 400 1.15rem/1.55 var(--font-body); margin: 0; }
.review-wide blockquote p { font-size: 1.35rem; }
.review figcaption { display: grid; gap: .1rem; font-family: var(--font-ui); border-top: 1px solid var(--line); padding-top: .9rem; }
.review-by { font-weight: 600; font-size: .95rem; }
.review-matter { color: var(--muted); font-size: .88rem; }
.review .link-btn { justify-self: start; }
.v-reviews .v-head .fine { max-width: 34rem; }

/* popovers (HTML popover attribute: no JavaScript) */
.pop { width: min(38rem, calc(100% - 2rem)); max-height: min(85vh, 44rem); overflow: auto; margin: auto; padding: 2.25rem 2rem 1.75rem;
  border: 1px solid var(--line); border-top: 3px solid var(--brass); border-radius: var(--radius); background: var(--bg); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(36, 22, 31, .55); }
.pop::backdrop { background: rgba(36, 22, 31, .55); backdrop-filter: blur(3px); }
.pop-kicker { font: 600 .78rem/1.4 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: .5rem; }
.pop-h { font: 400 1.7rem/1.2 var(--font-display); margin-bottom: 1rem; }
.pop-term .pop-h { font-size: 1.45rem; }
.pop-term .pop-h::first-letter { text-transform: uppercase; }
.pop-by { font: 600 .95rem/1.4 var(--font-ui); margin-top: 1.25rem; }
.pop .fine { margin-bottom: .5rem; }
.pop-close { margin-top: 1rem; font: 600 .95rem/1 var(--font-ui); min-height: 44px; padding: 0 1.25rem; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--bg); color: var(--accent); cursor: pointer; }
.pop-close:hover { background: var(--accent); color: var(--accent-ink); }
.term { font: inherit; color: var(--accent); background: none; border: 0; padding: 0 .05em; min-height: 24px; cursor: help;
  text-decoration: underline dotted var(--brass); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.term:hover { background: color-mix(in srgb, var(--brass-light) 35%, transparent); }

/* FAQ + checklist teaser */
.v-two-grid { display: grid; gap: 3rem; }
@media (min-width: 60rem) { .v-two-grid { grid-template-columns: 1.3fr 1fr; gap: 5rem; align-items: start; } }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; min-height: 44px;
  padding-block: 1.1rem; font: 400 1.25rem/1.35 var(--font-display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--brass); border-radius: 50%;
  font: 400 1.2rem/1 var(--font-ui); color: var(--accent); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); max-width: 44rem; padding-bottom: .5rem; }
.faq-wrap > * { max-width: 52rem; }
.v-resource { background: var(--bg); border: 1px solid var(--line); border-radius: 999px 999px var(--radius) var(--radius); padding: clamp(3rem, 6vw, 4.5rem) 2rem 2.25rem; text-align: center; }
.v-resource .v-kicker { justify-content: center; }
.v-resource .v-kicker::before { display: none; }
.v-resource h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.v-resource p { color: var(--muted); }

/* final call band, over a photo */
.v-final { position: relative; isolation: isolate; color: var(--night-ink); padding-block: clamp(5rem, 11vw, 9rem); overflow: hidden; }
.v-final-bg { position: absolute; inset: 0; z-index: -2; }
.v-final-bg img { width: 100%; height: 100%; object-fit: cover; }
.v-final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(36, 22, 31, .94) 0%, rgba(36, 22, 31, .86) 55%, rgba(36, 22, 31, .7) 100%); }
.v-final h2 { color: #fff; max-width: 18ch; }
.v-final p { font-size: 1.15rem; max-width: 34rem; }
.v-final .btn { background: var(--brass-light); border-color: var(--brass-light); color: var(--night); }
.v-final .btn:hover { background: #fff; border-color: #fff; }
.v-final .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.v-final .btn.ghost:hover { background: #fff; color: var(--night); }
.v-final :focus-visible { outline-color: var(--brass-light); }

/* inner page head */
.ph { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg)); }
.ph-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56rem) { .ph-img .ph-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }
.ph h1 { margin-bottom: 1.1rem; max-width: 18ch; }
.ph-media { overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 5 / 4; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; }

/* practice area page */
.ap-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 56rem) { .ap-grid { grid-template-columns: 1fr 20rem; gap: 5rem; } .fee-box { position: sticky; top: 7rem; } }
.ap-block { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); max-width: 42rem; }
.ap-block:last-child { border-bottom: 0; margin-bottom: 0; }
.ap-block h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks .term:first-child::first-letter { text-transform: uppercase; }
.ticks li::before { content: ""; position: absolute; left: .25rem; top: .55em; width: .55rem; height: .9rem; border: solid var(--brass); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fee-box { background: var(--surface); border-top: 3px solid var(--brass); border-radius: var(--radius); padding: 1.75rem; }
.fee-big { font: 400 1.65rem/1.25 var(--font-display); margin-bottom: .5rem; }
.fee-box .btn { width: 100%; justify-content: center; margin-top: .75rem; text-align: center; }
.fee-call { text-align: center; margin: 1rem 0 0; font-family: var(--font-ui); font-weight: 600; }
.fee-call a { display: inline-flex; min-height: 44px; align-items: center; }
.v-back { margin: 0; }

/* fees table */
.table-wrap { margin-top: 1.5rem; }
.fees { width: 100%; border-collapse: collapse; background: var(--bg); border: 1px solid var(--line); }
.fees th, .fees td { text-align: left; vertical-align: top; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.fees thead th { font: 600 .78rem/1.4 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); background: var(--bg); }
.fees tbody th { font: 400 1.2rem/1.3 var(--font-display); }
.fees .fee { font: 600 .98rem/1.5 var(--font-ui); white-space: nowrap; }
.fees td:last-child { color: var(--muted); }
@media (max-width: 47.99rem) {
  .fees thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fees, .fees tbody, .fees tr, .fees th, .fees td { display: block; }
  .fees tr { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
  .fees th, .fees td { padding: 0; border: 0; }
  .fees .fee { white-space: normal; margin: .35rem 0; color: var(--accent); }
}
.page-practice .v-areas .area-card .area-name { font-size: 1.3rem; }

/* checklist (prints on one page) */
.cl-wrap > * { max-width: 52rem; }
.cl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin-bottom: 2rem; }
.cl-actions .fine { margin: 0; }
.btn[hidden] { display: none; }
.cl-group { margin-bottom: 2.25rem; }
.cl-group h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); padding-bottom: .5rem; border-bottom: 1px solid var(--brass); }
.checklist li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 1rem; align-items: start; padding-block: .7rem; border-bottom: 1px dashed var(--line); }
.checklist .box { width: 1.25rem; height: 1.25rem; border: 1.5px solid var(--accent); border-radius: 2px; margin-top: .25rem; }
.cl-foot { font: 500 .85rem/1.4 var(--font-ui); color: var(--muted); margin-top: 2rem; }

/* engine sections on this theme */
.hero h1 { max-width: 18ch; }
.cb h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.cb .big { font-family: var(--font-ui); }
.form-sec h2 { margin-bottom: .25rem; }
.form-notice { border-left: 3px solid var(--brass); background: var(--bg); font-size: 1rem; }
.f label { font-family: var(--font-ui); }
.f input, .f select, .f textarea { border-color: #8a7d84; border-radius: var(--radius); background: #fff; }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline-offset: 1px; }
.form button.btn { font-family: var(--font-ui); }
.site-foot { background: var(--night); color: var(--night-ink); border-top: 0; }
.site-foot a { color: var(--brass-light); }
.site-foot .foot-h { color: #fff; font: 600 .8rem/1.6 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; }
.site-foot .foot-name { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: #fff; }
.site-foot p, .site-foot li { color: var(--night-muted); }
.site-foot li::first-letter { text-transform: uppercase; } /* Spanish weekdays are lower-case mid-sentence, capitalised at line start */
.site-foot :focus-visible { outline-color: var(--brass-light); }

/* ---------------------------------------------------------------- motion (only when the visitor has not asked for less) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-head { view-transition-name: site-head; }
  ::view-transition-old(root) { animation: vt-out .25s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

  /* hero entrance: text slides, the arch opens like a door, the card lands last */
  .v-hero-copy > *, .ph-copy > * { animation: rise .9s var(--ease) both; }
  .v-hero-copy > :nth-child(2), .ph-copy > :nth-child(2) { animation-delay: .08s; }
  .v-hero-copy > :nth-child(3), .ph-copy > :nth-child(3) { animation-delay: .16s; }
  .v-hero-copy > :nth-child(4) { animation-delay: .24s; }
  .v-hero-copy > :nth-child(5) { animation-delay: .32s; }
  .arch { animation: arch-open 1.3s var(--ease) both; }
  .arch-img { animation: settle 1.8s var(--ease) both; }
  .v-hero-media::before { animation: line-in 1.6s .3s var(--ease) both; }
  .v-card { animation: rise 1s .55s var(--ease) both; }
  .ph-media { animation: arch-open 1.2s .1s var(--ease) both; }
  @keyframes rise { from { transform: translateY(22px); } }
  @keyframes arch-open { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes settle { from { transform: scale(1.12); opacity: .6; } }
  @keyframes line-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

  /* scroll reveals: position and clip only (never opacity), so text is always at full contrast */
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal-up linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .area-img img, .v-process-media img { animation: img-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .portrait img { animation: clip-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    @keyframes clip-in { from { clip-path: inset(18% 0 0 0 round 999px 999px 0 0); } to { clip-path: inset(0 round 999px 999px 0 0); } }
    @keyframes reveal-up { from { transform: translateY(36px); } }
    @keyframes img-in { from { transform: scale(1.12); clip-path: inset(18% 0 0 0); } to { transform: scale(1); clip-path: inset(0); } }
  }

  /* popovers fade and lift in; the backdrop fades */
  .pop { transition: opacity .3s var(--ease), transform .3s var(--ease), overlay .3s allow-discrete, display .3s allow-discrete; opacity: 0; transform: translateY(16px) scale(.98); }
  .pop:popover-open { opacity: 1; transform: none; }
  .pop::backdrop { transition: background-color .3s, overlay .3s allow-discrete, display .3s allow-discrete; background-color: rgba(36, 22, 31, 0); }
  .pop:popover-open::backdrop { background-color: rgba(36, 22, 31, .55); }
  @starting-style {
    .pop:popover-open { opacity: 0; transform: translateY(16px) scale(.98); }
    .pop:popover-open::backdrop { background-color: rgba(36, 22, 31, 0); }
  }
  .faq-item p { animation: none; }
  .faq-item[open] p { animation: rise .45s var(--ease) both; }
}

/* print: the checklist on paper, nothing else */
@media print {
  .site-head, .site-foot, .demo-ribbon, .no-print, .ph-media { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .ph { background: none; border: 0; padding: 0 0 12pt; }
  .ph h1 { font-size: 22pt; }
  .sec { padding: 0; }
  .cl-group { break-inside: avoid; margin-bottom: 14pt; }
  .checklist li { padding-block: 5pt; }
  .reveal, .ph-copy > * { animation: none !important; transform: none !important; }
}
