/* ==========================================================================
   MAISAL FINANCE — Design Preview · Component System
   Premium Editorial Financial Professional. Self-contained, no CDN.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* ----- Skip link ----- */
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: var(--paper);
  padding: 0.6rem 1rem; border-radius: 0 0 var(--r-sm) 0; }
.skip:focus { left: 0; }

/* ==========================================================================
   Typography
   ========================================================================== */
.display, h1, h2, h3, .h1, .h2, .h3 { font-family: var(--font-display); font-weight: 460;
  letter-spacing: var(--tracking-tight); line-height: var(--lh-snug); color: var(--ink);
  text-wrap: balance; }
.display { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--tracking-display); }
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 520; }
h4, .h4 { font-family: var(--font-sans); font-size: var(--fs-h4); font-weight: 600; letter-spacing: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-sans);
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 1.8rem; height: 2px; background: var(--teal); border-radius: 2px; }
.eyebrow.on-deep { color: var(--on-deep); }
.eyebrow.on-deep::before { background: var(--teal-line); }

.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); }
.body-lg { font-size: var(--fs-body-lg); }
.small { font-size: var(--fs-small); }
.muted { color: var(--ink-mute); }
.serif-quote { font-family: var(--font-display); }
em, .italic { font-style: italic; }

/* ==========================================================================
   Layout
   ========================================================================== */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { width: 100%; max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-sm { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.band-stone { background: var(--paper-2); }
.band-deep { background: var(--deep); color: var(--on-deep); }
.band-deep h1, .band-deep h2, .band-deep h3 { color: var(--on-deep); }
.band-deep .lead { color: var(--on-deep-soft); }

.hairline { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent); }
.band-deep .hairline { background: linear-gradient(90deg, transparent, var(--deep-line) 18%, var(--deep-line) 82%, transparent); }

.section-head { max-width: 46rem; }
.section-head .lead { margin-top: 1rem; }
.section-head h2 { margin-top: 0.8rem; }

/* Reveal-on-scroll (default visible for no-JS) */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: 70ms; }
.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: 140ms; }
.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: 210ms; }
.js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: 280ms; }
.js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: 350ms; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.4rem; border-radius: var(--r-pill); font-weight: 600; font-size: 0.98rem;
  line-height: 1; letter-spacing: -0.005em; white-space: nowrap; transition: transform var(--dur-1) var(--ease),
  background var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
  min-height: 48px; }
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-strong); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--teal); padding-inline: 0.4rem; min-height: auto; }
.btn-ghost .arrow { transition: transform var(--dur-1) var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(4px); }
.on-deep .btn-secondary, .band-deep .btn-secondary { color: var(--on-deep); border-color: var(--deep-line); }
.on-deep .btn-secondary:hover, .band-deep .btn-secondary:hover { border-color: var(--on-deep); }
.btn-wa { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-wa .dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--wa-green); }
.btn-block { width: 100%; }

.link-underline { color: var(--teal); font-weight: 600; background-image: linear-gradient(var(--teal), var(--teal));
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size var(--dur-2) var(--ease); }
.link-underline:hover { background-size: 100% 1.5px; }

/* ==========================================================================
   Preview ribbon (design-preview only)
   ========================================================================== */
.preview-ribbon { background: var(--clay); color: #fff; text-align: center; font-size: var(--fs-caption);
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.4rem 1rem; }
.preview-ribbon a { text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Header + navigation
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), background var(--dur-2) var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(28,38,34,0.02), 0 10px 30px -22px rgba(28,38,34,0.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; }
.brand-lockup img { height: 40px; width: auto; }
@media (min-width: 640px) { .brand-lockup img { height: 46px; } }
.nav-desktop { display: none; align-items: center; gap: 0.1rem; }
.nav-link { padding: 0.5rem 0.72rem; border-radius: var(--r-pill); font-weight: 500; font-size: 0.92rem; color: var(--ink-soft); white-space: nowrap;
  position: relative; transition: color var(--dur-1) var(--ease); }
.nav-link::after { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.28rem; height: 1.5px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease); }
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-current { color: var(--ink); font-weight: 600; }
.nav-link.is-current::after { transform: scaleX(1); }
.header-cta { display: none; align-items: center; gap: 0.75rem; }
.header-call { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--teal); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.header-call span { white-space: nowrap; }
.header-call svg { width: 1.05rem; height: 1.05rem; }
.menu-toggle { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.85rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-weight: 600; font-size: 0.9rem; }
.menu-toggle svg { width: 1.1rem; height: 1.1rem; }
@media (min-width: 1000px) {
  .nav-desktop { display: flex; }
  .header-cta { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile drawer sheet */
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(16,35,31,0.42); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2); }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; z-index: 61; height: 100dvh; width: min(88vw, 380px);
  background: var(--paper); box-shadow: var(--shadow-2); padding: 1.25rem 1.25rem 1.75rem; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--dur-2) var(--ease); overflow-y: auto; }
.drawer.is-open { transform: none; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-backdrop { transition: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.drawer-close { padding: 0.5rem; border-radius: var(--r-pill); border: 1px solid var(--line); }
.drawer-nav { margin-top: 1rem; display: flex; flex-direction: column; }
.drawer-nav a { padding: 0.95rem 0.25rem; font-family: var(--font-display); font-size: 1.4rem; font-weight: 460;
  border-bottom: 1px solid var(--line); }
.drawer-sign { font-family: var(--font-display); font-style: italic; color: var(--ink-soft); margin: 1.4rem 0 0.4rem; font-size: 1.05rem; }
.drawer-cta { margin-top: auto; padding-top: 1.5rem; display: grid; gap: 0.6rem; }

/* ==========================================================================
   Hero — editorial split
   ========================================================================== */
.hero { position: relative; background: var(--deep); color: var(--on-deep); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 60% at 82% 10%, rgba(31,122,111,0.30), transparent 60%),
  radial-gradient(55% 55% at 8% 100%, rgba(20,50,45,0.55), transparent 60%),
  var(--deep-2); z-index: 0; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(3rem, 2rem + 6vw, 6rem); }
.hero-eyebrow { color: var(--on-deep); }
.hero-eyebrow::before { background: var(--teal-line); }
.hero h1 { color: var(--on-deep); font-size: var(--fs-display); line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display); margin-top: 1.1rem; }
.hero-owner { margin-top: 1.5rem; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.hero-role { margin-top: 0.35rem; color: var(--on-deep-soft); font-weight: 500; }
.hero-lead { margin-top: 1.25rem; color: var(--on-deep-soft); font-size: var(--fs-lead); line-height: 1.5; max-width: 34rem; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1.1rem; }
.hero-call { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--on-deep); font-weight: 600; }
.hero-call .dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--wa-green); }
.hero-portrait { position: relative; }
.portrait-frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--deep-line); background: linear-gradient(160deg, #16302a, #0c1c18); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
  height: 100%; color: var(--on-deep-soft); text-align: center; padding: 2rem; }
.portrait-placeholder .ring { width: 4.5rem; height: 4.5rem; border-radius: 50%; border: 1.5px dashed var(--on-deep-soft);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; color: var(--on-deep); }
.portrait-placeholder .lbl { font-size: var(--fs-caption); letter-spacing: 0.14em; text-transform: uppercase; }
.portrait-tag { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; background: color-mix(in srgb, var(--paper) 96%, transparent);
  color: var(--ink); border-radius: var(--r); padding: 0.7rem 0.9rem; box-shadow: var(--shadow-1); }
.portrait-tag strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.portrait-tag span { font-size: var(--fs-caption); color: var(--ink-mute); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; }
}

/* ==========================================================================
   Trust proof rail — one divided band, proof weighted over facts
   ========================================================================== */
.proof { background: var(--paper-2); border-block: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; }
.proof-item { padding: 1.5rem 1.25rem; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); position: relative; }
.proof-item:nth-child(2n) { border-right: 0; }
.proof-item .val { font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); line-height: 1; color: var(--ink); letter-spacing: -0.01em; }
.proof-item .lbl { margin-top: 0.5rem; font-size: 0.86rem; color: var(--ink-soft); font-weight: 500; }
.proof-item.is-proof .val { color: var(--teal); }
.proof-item.is-proof::after { content: ""; position: absolute; left: 1.25rem; top: 1.5rem; width: 1.4rem; height: 2px; background: var(--teal); }
.proof-item.is-proof { padding-top: 2.1rem; }
.proof-link { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.5rem; font-size: 0.82rem; font-weight: 600; color: var(--teal); }
.proof-note { grid-column: 1 / -1; padding: 0.9rem 1.25rem; font-size: var(--fs-caption); color: var(--ink-mute); background: color-mix(in srgb, var(--paper) 60%, var(--paper-2)); }
.proof-stars { color: var(--teal); letter-spacing: 0.1em; }
@media (min-width: 760px) {
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
  .proof-item { border-bottom: 0; }
  .proof-item:nth-child(2n) { border-right: 1px solid var(--line); }
  .proof-item:nth-child(4) { border-right: 0; }
  .proof-note { padding-top: 0; }
}

/* ==========================================================================
   Personal introduction — portrait/detail split, not a card grid
   ========================================================================== */
.intro-grid { display: grid; gap: 2.5rem; align-items: center; }
.intro-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-1); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
.intro-media .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.1rem 0.9rem;
  font-size: var(--fs-caption); color: #fff; background: linear-gradient(transparent, rgba(10,24,20,0.72)); }
.intro-body p { margin-top: 1.1rem; color: var(--ink-soft); max-width: 34rem; }
.intro-signoff { margin-top: 1.6rem; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--ink); }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; } }

/* ==========================================================================
   Service index — editorial numbered navigator (not identical cards)
   ========================================================================== */
.svc-index { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.4rem; align-items: baseline;
  padding: 1.6rem 0.25rem; border-bottom: 1px solid var(--line); transition: background var(--dur-1) var(--ease); }
.svc-row:hover { background: color-mix(in srgb, var(--teal-soft) 45%, transparent); }
.svc-num { font-family: var(--font-display); font-size: 1.05rem; color: var(--teal); font-variant-numeric: tabular-nums; padding-top: 0.15rem; }
.svc-name { font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 460; color: var(--ink); }
.svc-desc { margin-top: 0.35rem; color: var(--ink-soft); max-width: 42rem; font-size: 0.98rem; }
.svc-go { color: var(--teal); font-weight: 600; white-space: nowrap; align-self: center; display: none; }
.svc-row:hover .svc-go { display: inline; }
@media (max-width: 620px) { .svc-row { grid-template-columns: auto 1fr; } .svc-go { display: none !important; } }

/* ==========================================================================
   Commitments — numbered editorial manifesto
   ========================================================================== */
.manifesto { display: grid; gap: 0; }
.manifesto-row { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); align-items: start; }
.manifesto-row:last-child { border-bottom: 1px solid var(--line); }
.manifesto-num { font-family: var(--font-display); font-size: 1.7rem; color: var(--teal); font-variant-numeric: tabular-nums; line-height: 1; }
.manifesto-row h3 { font-size: 1.2rem; }
.manifesto-row p { margin-top: 0.4rem; color: var(--ink-soft); max-width: 40rem; }
@media (min-width: 760px) {
  .manifesto { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
  .manifesto-row { border-top: 1px solid var(--line); }
  .manifesto-row:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   Signature section — You Speak. I Listen. I Improve.
   ========================================================================== */
.signature { position: relative; overflow: hidden; }
.signature::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(50% 60% at 85% 0%, rgba(31,122,111,0.22), transparent 60%), var(--deep-2); z-index: 0; }
.signature > .wrap { position: relative; z-index: 1; }
.signature-lines { font-family: var(--font-display); font-size: clamp(2.4rem, 1.6rem + 4vw, 4.4rem); line-height: 1.02;
  letter-spacing: var(--tracking-display); color: var(--on-deep); }
.signature-lines span { display: block; }
.signature-lines .accent { color: #6fbcb0; }
.signature-steps { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
.signature-step h4 { color: #fff; margin-bottom: 0.3rem; }
.signature-step p { color: var(--on-deep-soft); }
.signature-note { margin-top: 2rem; color: var(--on-deep-soft); font-size: var(--fs-small); max-width: 40rem; }
@media (min-width: 800px) { .signature-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* ==========================================================================
   Gallery — curated mosaic + filter + lightbox
   ========================================================================== */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.chip { padding: 0.5rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: 0.88rem; font-weight: 500;
  color: var(--ink-soft); background: transparent; transition: all var(--dur-1) var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; grid-auto-flow: dense; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-2); cursor: zoom-in; aspect-ratio: 4/3; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-2) var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile .tcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 0.85rem 0.75rem; color: #fff;
  font-size: var(--fs-caption); background: linear-gradient(transparent, rgba(10,24,20,0.78)); opacity: 0; transition: opacity var(--dur-2) var(--ease); }
.tile:hover .tcap, .tile:focus-visible .tcap { opacity: 1; }
.tile.is-feature { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }
.tile.is-video::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
  font-size: 1.4rem; background: rgba(10,24,20,0.28); }
.tile[hidden] { display: none; }
@media (min-width: 720px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .tile.is-tall { grid-row: span 2; aspect-ratio: 3/4; }
}
.load-more-wrap { text-align: center; margin-top: 2.25rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8,20,16,0.92); display: none; place-items: center; padding: 1.25rem; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(94vw, 1100px); max-height: 84vh; border-radius: var(--r); }
.lightbox-close, .lightbox-nav { position: absolute; color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-pill); width: 3rem; height: 3rem; display: grid; place-items: center; font-size: 1.3rem; }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-nav.prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-cap { position: absolute; bottom: 1.25rem; left: 0; right: 0; text-align: center; color: #e7efe9; font-size: var(--fs-small); }

/* ==========================================================================
   Client experiences — pull-quote cards + rating summary + empty state
   ========================================================================== */
.rating-summary { display: grid; gap: 2rem; align-items: center; padding: 2rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.rating-avg { text-align: center; }
.rating-avg .num { font-family: var(--font-display); font-size: 3.5rem; line-height: 1; color: var(--ink); }
.rating-avg .stars { color: var(--teal); font-size: 1.1rem; letter-spacing: 0.12em; margin-top: 0.4rem; }
.rating-avg .base { margin-top: 0.5rem; font-size: var(--fs-caption); color: var(--ink-mute); }
.dist-row { display: grid; grid-template-columns: 3.2rem 1fr 2.5rem; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; font-size: 0.85rem; color: var(--ink-soft); }
.dist-bar { height: 12px; border-radius: var(--r-pill); background: var(--paper-2); overflow: hidden; }
.dist-bar > span { display: block; height: 100%; background: var(--teal); border-radius: var(--r-pill); }
@media (min-width: 760px) { .rating-summary { grid-template-columns: auto 1fr; gap: 3rem; } }

.exp-grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .exp-grid { grid-template-columns: 1fr 1fr; } }
.exp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; position: relative; }
.exp-card.is-critical { border-left: 3px solid var(--clay); }
.exp-card .qmark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--teal-line); }
.exp-quote { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.45; color: var(--ink); margin-top: 0.5rem; }
.exp-meta { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; font-size: var(--fs-caption); color: var(--ink-mute); }
.exp-stars { color: var(--teal); letter-spacing: 0.08em; }
.exp-verified { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.55rem; border-radius: var(--r-pill); background: var(--teal-soft); color: var(--teal-strong); font-weight: 600; }
.exp-reply { margin-top: 1.25rem; padding: 1rem 1.1rem; border-left: 2px solid var(--teal); background: var(--paper-2); border-radius: 0 var(--r) var(--r) 0; }
.exp-reply .who { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.exp-reply .who .mono { width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 0.9rem; }
.exp-reply p { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.95rem; }

.empty-state { text-align: center; max-width: 34rem; margin-inline: auto; padding: 3rem 1.5rem; border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg); background: var(--surface); }
.empty-state .badge { font-size: var(--fs-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.empty-state h3 { margin-top: 0.75rem; }
.empty-state p { margin-top: 0.75rem; color: var(--ink-soft); }
.empty-state .btn { margin-top: 1.5rem; }

/* ==========================================================================
   Credential / regulatory block + historical CFP
   ========================================================================== */
.cred-grid { display: grid; gap: 2rem; }
@media (min-width: 860px) { .cred-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.identity-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--shadow-1); }
.identity-card .badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-eyebrow); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); font-weight: 600; }
.identity-dl { margin-top: 1.25rem; display: grid; grid-template-columns: minmax(8rem, auto) 1fr; gap: 0.6rem 1.25rem; }
.identity-dl dt { color: var(--ink-mute); font-size: 0.9rem; }
.identity-dl dd { color: var(--ink); font-weight: 500; }
.identity-card .verify { margin-top: 1.4rem; }
.cfp-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; display: grid; gap: 1.25rem; }
.cfp-hist-tag { display: inline-block; font-size: var(--fs-caption); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--clay); background: var(--clay-soft); padding: 0.25rem 0.7rem; border-radius: var(--r-pill); }
.cfp-thumb { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }
.cfp-card h3 { font-size: 1.25rem; }
.cfp-card .note { font-size: var(--fs-small); color: var(--ink-soft); }

/* ==========================================================================
   Office / contact conversion + map
   ========================================================================== */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.3fr 0.9fr; gap: 2.5rem; align-items: start; } }
.reach-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--shadow-1); }
@media (min-width: 960px) { .reach-card { position: sticky; top: 6rem; } .contact-grid .reach-col { order: 2; } .contact-grid .visit-col { order: 1; } }
.channel { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.channel:last-child { border-bottom: 0; }
.channel .ic { width: 2.6rem; height: 2.6rem; border-radius: var(--r); display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); flex: none; }
.channel .ic svg { width: 1.3rem; height: 1.3rem; }
.channel.is-wa .ic { background: color-mix(in srgb, var(--wa-green) 16%, #fff); color: #128a3e; }
.channel .txt strong { display: block; font-size: 0.95rem; }
.channel .txt span { font-size: var(--fs-caption); color: var(--ink-mute); }
.channel .go { margin-left: auto; color: var(--teal); font-weight: 600; }
.visit-block { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.visit-map { position: relative; aspect-ratio: 16/10; background:
  radial-gradient(circle at 30% 40%, var(--teal-soft), transparent 45%),
  radial-gradient(circle at 75% 70%, var(--clay-soft), transparent 45%),
  repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 34px),
  repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 34px),
  var(--paper-2); }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1rem;
  color: var(--ink-mute); font-size: var(--fs-caption); }
.map-fallback .marker { width: 2.4rem; height: 2.4rem; border-radius: 50% 50% 50% 0; background: var(--teal);
  transform: rotate(-45deg); margin: 0 auto 0.75rem; box-shadow: var(--shadow-1); position: relative; }
.map-fallback .marker::after { content: ""; position: absolute; inset: 0.7rem; background: var(--paper); border-radius: 50%; }
.visit-pin { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; background: color-mix(in srgb, var(--paper) 97%, transparent);
  border-radius: var(--r); padding: 1rem 1.1rem; box-shadow: var(--shadow-1); }
.visit-pin strong { font-family: var(--font-display); display: block; }
.visit-pin address { font-style: normal; font-size: var(--fs-small); color: var(--ink-soft); margin-top: 0.2rem; }
.visit-pin .btn { margin-top: 0.85rem; }
.address-plain { font-style: normal; color: var(--ink-soft); line-height: 1.7; }

/* ==========================================================================
   Legal template
   ========================================================================== */
.legal-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .legal-grid { grid-template-columns: 15rem 1fr; gap: 3.5rem; align-items: start; } }
.legal-toc { position: sticky; top: 6rem; font-size: 0.9rem; }
.legal-toc .t { font-size: var(--fs-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.75rem; }
.legal-toc a { display: block; padding: 0.4rem 0; color: var(--ink-soft); border-left: 2px solid var(--line); padding-left: 0.9rem; }
.legal-toc a:hover { color: var(--teal); border-color: var(--teal); }
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; }
.prose h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; }
.prose p, .prose li { color: var(--ink-soft); margin-top: 0.75rem; }
.prose ul { margin-top: 0.75rem; }
.prose li { padding-left: 1.25rem; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-line); }
.callout { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: var(--r); border-left: 3px solid var(--teal); background: var(--teal-soft); }
.callout.warn { border-color: var(--clay); background: var(--clay-soft); }
.callout p { color: var(--ink); margin: 0; font-size: 0.95rem; }
.legal-meta { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-caption); color: var(--ink-mute); }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(1.9rem, 1.4rem + 2.5vw, 3rem); max-width: 20ch; margin-inline: auto; }
.final-cta .lead { margin: 1rem auto 0; max-width: 40rem; }
.final-cta .actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--deep-2); color: var(--on-deep); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(45% 60% at 88% 0%, rgba(31,122,111,0.20), transparent 60%); }
.footer-inner { position: relative; z-index: 1; display: grid; gap: 2.5rem; padding-block: 3.5rem 2rem; }
.footer-brand .sign { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: #fff; }
.footer-brand .slogan { margin-top: 0.6rem; color: var(--on-deep-soft); }
.footer-brand .idblock { margin-top: 1.5rem; font-size: var(--fs-small); color: var(--on-deep-soft); }
.footer-brand .idblock strong { color: var(--on-deep); display: block; font-weight: 600; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.footer-col .t { font-size: var(--fs-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-deep-soft); margin-bottom: 0.9rem; }
.footer-col a { display: block; padding: 0.35rem 0; color: var(--on-deep); opacity: 0.85; font-size: 0.95rem; }
.footer-col a:hover { opacity: 1; color: #fff; }
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid var(--deep-line); padding-block: 1.4rem; display: flex; flex-wrap: wrap;
  gap: 0.5rem 1.5rem; justify-content: space-between; font-size: var(--fs-caption); color: var(--on-deep-soft); }
.footer-approval { color: var(--clay); font-weight: 600; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.4fr 1.6fr; } .footer-cols { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Mobile sticky action bar
   ========================================================================== */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(3, 1fr);
  background: color-mix(in srgb, var(--paper) 96%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom)); gap: 0.4rem; }
.action-bar a { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.5rem; border-radius: var(--r);
  font-size: 0.72rem; font-weight: 600; color: var(--ink); }
.action-bar a svg { width: 1.25rem; height: 1.25rem; color: var(--teal); }
.action-bar a.is-wa svg { color: #128a3e; }
.has-action-bar { padding-bottom: 5rem; }
@media (min-width: 1000px) { .action-bar { display: none; } .has-action-bar { padding-bottom: 0; } }

/* ==========================================================================
   Utilities
   ========================================================================== */
.center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.stack-sm > * + * { margin-top: 0.5rem; }
.flex-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.maxw-prose { max-width: 42rem; }
.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; }

@media print {
  .site-header, .action-bar, .preview-ribbon, .drawer, .drawer-backdrop { display: none !important; }
  body { background: #fff; }
}
