/* =========================================================
   Law Office of Kimberly Exe, PLLC — Site Styles
   ========================================================= */

:root {
  --ink: #0b1322;
  --navy: #111c31;
  --navy-2: #182640;
  --navy-3: #22355a;
  --brass: #b8945a;
  --brass-2: #d3b47d;
  --brass-3: #8f6e3c;
  --parchment: #f5f0e6;
  --paper: #fbf9f4;
  --stone: #e6dfd1;
  --line: #d9d0bf;
  --text: #1b2232;
  --muted: #5b6375;
  --on-dark: #e9e4d9;
  --on-dark-muted: #a6adbd;
  --oxblood: #7d2b33;

  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 19, 34, .06), 0 2px 8px rgba(11, 19, 34, .05);
  --shadow-md: 0 10px 30px -10px rgba(11, 19, 34, .25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 19, 34, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.005em; color: var(--ink); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--brass-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--brass); color: var(--ink); padding: 10px 16px; font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.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; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.article-layout > *, .consult > *, .split > *, .hero__inner > *, .page-hero__inner > *, .info-tile > div { min-width: 0; }
.info-tile__value, .contact-list__value { overflow-wrap: anywhere; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brass-3);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .eyebrow--light { color: var(--brass-2); }

.section-title { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 18px; }
.section-title em { font-style: italic; color: var(--brass-3); font-weight: 500; }
.on-dark .section-title { color: #fff; }
.on-dark .section-title em { color: var(--brass-2); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 640px; }
.on-dark .lead { color: var(--on-dark-muted); }

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--parchment { background: var(--parchment); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head--split { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr .9fr; gap: 64px; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brass); --btn-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius);
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--btn-bg); color: var(--btn-fg);
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), color .35s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--brass-2);
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 12px 28px -12px rgba(184, 148, 90, .7); }
.btn .icon { font-size: 18px; transition: transform .35s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }

.btn--dark { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--dark::before { background: var(--navy-3); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; box-shadow: inset 0 0 0 1px rgba(233, 228, 217, .35); }
.btn--ghost::before { background: rgba(255, 255, 255, .08); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--brass-2); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-3);
}
.link-arrow .icon { font-size: 16px; transition: transform .35s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Utility bar ---------- */
.utility-bar { background: var(--ink); color: var(--on-dark-muted); font-size: 13px; }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.utility-bar__group { display: flex; align-items: center; gap: 24px; }
.utility-bar__item { display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.utility-bar__item .icon { color: var(--brass); font-size: 15px; }
a.utility-bar__item:hover { color: #fff; }
.utility-bar__badge { color: var(--brass-2); font-weight: 600; letter-spacing: .04em; }
@media (max-width: 760px) { .utility-bar__group--secondary { display: none; } .utility-bar .container { justify-content: center; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 249, 244, .9);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 19, 34, .5); background: rgba(251, 249, 244, .96); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height .3s var(--ease); }
.site-header.is-scrolled .container { height: 70px; }

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand picture { display: block; flex-shrink: 0; }
.brand__mark { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; color: var(--ink); transition: transform .6s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink); letter-spacing: .01em; }
.brand__tag { white-space: nowrap; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-3); margin-top: 4px; }

.nav { display: none; }
@media (min-width: 1060px) { .nav { display: flex; align-items: center; gap: 6px; } }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap;
  transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link .icon { font-size: 14px; transition: transform .3s var(--ease); }
.nav__item { position: relative; }
.nav__item:hover .nav__link .icon, .nav__item:focus-within .nav__link .icon { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 620px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  transition: opacity .3s var(--ease), transform .35s var(--ease-out), visibility 0s .3s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.mega__link { display: flex; gap: 14px; padding: 14px; border-radius: 8px; transition: background .25s; }
.mega__link:hover { background: var(--parchment); }
.mega__icon {
  width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: var(--brass-2); font-size: 20px;
  transition: background .3s, color .3s, transform .4s var(--ease-out);
}
.mega__link:hover .mega__icon { background: var(--brass); color: var(--ink); transform: rotate(-8deg); }
.mega__title { font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.3; display: block; }
.mega__desc { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; margin-top: 3px; }
.mega__foot { grid-column: 1 / -1; margin-top: 6px; padding: 14px; border-top: 1px solid var(--stone); display: flex; justify-content: space-between; align-items: center; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: none; align-items: center; gap: 12px; white-space: nowrap; }
@media (min-width: 640px) { .header-phone { display: flex; } }
@media (min-width: 1060px) and (max-width: 1439px) { .header-phone .header-phone__label { display: none; } }
.header-phone__icon {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: var(--brass-3); font-size: 18px; position: relative;
}
.header-phone__icon::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--brass);
  animation: ring 2.8s var(--ease) infinite; opacity: 0;
}
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.header-phone__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; line-height: 1.2; }
.header-phone__num { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.1; transition: color .25s; }
.header-phone:hover .header-phone__num { color: var(--brass-3); }
.header-cta .btn { display: none; }
@media (min-width: 1240px) { .header-cta .btn { display: inline-flex; } }

.menu-toggle { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: background .3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }
@media (min-width: 1060px) { .menu-toggle { display: none; } }

.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--navy); color: var(--on-dark);
  padding: calc(var(--header-h) + 60px) var(--gutter) 40px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 60px); visibility: hidden;
  transition: clip-path .7s var(--ease-out), visibility 0s .7s;
}
.menu-open .mobile-nav { clip-path: circle(150% at calc(100% - 44px) 60px); visibility: visible; transition-delay: 0s; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: var(--navy); border-color: transparent; }
.menu-open .brand__name { color: #fff; }
.menu-open .brand__mark { color: #fff; }
.menu-open .menu-toggle { border-color: rgba(255, 255, 255, .2); }
.menu-open .menu-toggle span::before, .menu-open .menu-toggle span::after { background: #fff; }
.menu-open .header-phone__num { color: #fff; }
.menu-open .header-phone__icon { border-color: rgba(255, 255, 255, .2); }
.mobile-nav__list { list-style: none; }
.mobile-nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease-out); }
.menu-open .mobile-nav__list > li { opacity: 1; transform: none; }
.menu-open .mobile-nav__list > li:nth-child(2) { transition-delay: .06s; }
.menu-open .mobile-nav__list > li:nth-child(3) { transition-delay: .12s; }
.menu-open .mobile-nav__list > li:nth-child(4) { transition-delay: .18s; }
.menu-open .mobile-nav__list > li:nth-child(5) { transition-delay: .24s; }
.mobile-nav__link { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-family: var(--font-display); font-size: 30px; color: #fff; }
.mobile-nav__sub { list-style: none; padding: 0 0 16px; display: grid; gap: 4px; }
.mobile-nav__sub a { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--on-dark-muted); font-size: 15px; }
.mobile-nav__sub a .icon { color: var(--brass-2); font-size: 18px; }
.mobile-nav__cta { margin-top: 32px; display: grid; gap: 12px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(1000px 600px at 85% 10%, rgba(184, 148, 90, .16), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(34, 53, 90, .8), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--ink) 100%);
  isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 30%), rgba(211, 180, 125, .12), transparent 60%);
  transition: opacity .3s;
}
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__columns {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: auto; color: var(--brass);
  opacity: .1; pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; padding-block: clamp(64px, 9vw, 120px) clamp(72px, 9vw, 128px); }
@media (min-width: 980px) { .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 72px; } }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border: 1px solid rgba(211, 180, 125, .3); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--brass-2); margin-bottom: 28px; background: rgba(255, 255, 255, .03); }
.hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #5fbf8b; box-shadow: 0 0 0 0 rgba(95, 191, 139, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 191, 139, .6); } 70% { box-shadow: 0 0 0 10px rgba(95, 191, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 191, 139, 0); } }
.hero h1 { color: #fff; font-size: clamp(44px, 6.6vw, 84px); line-height: 1.02; font-weight: 600; margin-bottom: 26px; }
.hero h1 .accent { display: block; font-style: italic; font-weight: 500; color: var(--brass-2); }
.hero__lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--on-dark-muted); max-width: 560px; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero__proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(20px, 4vw, 48px); padding-top: 32px; border-top: 1px solid rgba(233, 228, 217, .12); }
.hero__proof-num { font-family: var(--font-display); font-size: clamp(34px, 4vw, 46px); font-weight: 600; color: #fff; line-height: 1; }
.hero__proof-num sup { font-size: .5em; color: var(--brass-2); top: -.7em; margin-left: 2px; }
.hero__proof-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 8px; }
@media (max-width: 420px) { .hero__proof { grid-template-columns: repeat(2, auto); } }

/* Hero with consultation form */
.hero--form .hero__inner { padding-block: clamp(36px, 4.5vw, 60px) clamp(56px, 6vw, 80px); gap: 32px; }
@media (min-width: 980px) { .hero--form .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 56px; } }
.hero--form h1 { font-size: clamp(40px, 5vw, 66px); margin-bottom: 22px; }
.hero--form .hero__kicker { margin-bottom: 22px; }
.hero--form .hero__lead { margin-bottom: 30px; }
.hero--form .hero__actions { align-items: center; gap: 24px; margin-bottom: 40px; }
.link-arrow--light { color: var(--brass-2); }
.form-card--hero { padding: clamp(24px, 3vw, 34px); }
.form-card--hero h2 { font-size: clamp(26px, 2.6vw, 30px); }
.form-card--hero > p { font-size: 14.5px; margin-bottom: 20px; }
.form-card--hero > p a { color: var(--brass-3); font-weight: 700; white-space: nowrap; }
.form-card--hero .form-grid { gap: 12px; }
.form-card--hero .field textarea { min-height: 84px; }
.form-card--hero .field--check { font-size: 12.5px; }
@media (max-width: 979px) {
  .hero--form .hero__actions, .hero--form .hero__proof { display: none; }
  .hero--form .hero__lead { margin-bottom: 0; }
}

/* Arch-masked portrait */
.portrait { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.portrait__frame {
  position: absolute; inset: 0; transform: translate(22px, 22px);
  border: 1px solid var(--brass); border-radius: 999px 999px 6px 6px;
  transition: transform .8s var(--ease-out);
}
.portrait:hover .portrait__frame { transform: translate(12px, 12px); }
.portrait__mask {
  position: relative; border-radius: 999px 999px 6px 6px; overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--navy-2);
  box-shadow: var(--shadow-lg);
}
.portrait__mask img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease-out); }
.portrait:hover .portrait__mask img { transform: scale(1.09); }
.portrait__mask::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 19, 34, .55)); }
.portrait__card {
  position: absolute; left: -24px; bottom: 36px; z-index: 2;
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: rgba(251, 249, 244, .96); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px); animation: float 6s ease-in-out infinite;
}
.portrait__card .icon { font-size: 28px; color: var(--brass-3); }
.portrait__card strong { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1.1; }
.portrait__card span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.portrait__seal {
  position: absolute; right: -18px; top: 30px; z-index: 2; width: 116px; height: 116px; color: var(--brass-2);
  animation: spin 24s linear infinite;
}
.portrait__seal-center { position: absolute; right: 22px; top: 70px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; color: var(--brass-2); font-size: 26px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 520px) { .portrait__card { left: 0; } .portrait__seal { right: 0; } .portrait__seal-center { right: 40px; } .portrait__frame { transform: translate(12px, 12px); } }

/* ---------- Courts marquee ---------- */
.marquee { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid rgba(255, 255, 255, .06); overflow: hidden; padding-block: 22px; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: 22px; font-style: italic; white-space: nowrap; }
.marquee__item .icon { color: var(--brass); font-size: 20px; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Practice cards ---------- */
.practice-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .practice-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .practice-grid { grid-template-columns: repeat(3, 1fr); } }
.practice-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; padding: clamp(32px, 3.5vw, 44px);
  background: var(--paper); min-height: 340px; overflow: hidden; isolation: isolate;
  transition: background .5s var(--ease);
}
.practice-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(184, 148, 90, .22), transparent 55%), var(--navy);
}
.practice-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--brass);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.practice-card:hover::before, .practice-card:focus-visible::before { opacity: 1; }
.practice-card:hover::after, .practice-card:focus-visible::after { transform: scaleX(1); }
.practice-card__num { position: absolute; right: 28px; top: 24px; font-family: var(--font-display); font-size: 60px; font-weight: 500; color: var(--stone); line-height: 1; transition: color .5s, transform .6s var(--ease-out); }
.practice-card:hover .practice-card__num { color: rgba(211, 180, 125, .18); transform: translateY(-4px); }
.practice-card__icon {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: var(--brass-3); font-size: 30px; margin-bottom: 28px;
  transition: border-color .5s, color .5s, transform .6s var(--ease-out), background .5s;
}
.practice-card:hover .practice-card__icon { border-color: var(--brass); color: var(--brass-2); background: rgba(184, 148, 90, .08); transform: rotate(-8deg) scale(1.06); }
.practice-card__icon .icon { stroke-width: 1.3; }
.practice-card h3 { font-size: 30px; margin-bottom: 14px; transition: color .5s; }
.practice-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 28px; transition: color .5s; }
.practice-card .link-arrow { margin-top: auto; transition: color .5s; }
.practice-card:hover h3 { color: #fff; }
.practice-card:hover p { color: var(--on-dark-muted); }
.practice-card:hover .link-arrow { color: var(--brass-2); }
.practice-card:hover .link-arrow .icon { transform: translateX(6px); }
.practice-card--cta { background: var(--navy); }
.practice-card--cta h3 { color: #fff; }
.practice-card--cta p { color: var(--on-dark-muted); }
.practice-card--cta .link-arrow { color: var(--brass-2); }
.practice-card--cta .practice-card__icon { border-color: rgba(211, 180, 125, .4); color: var(--brass-2); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: .9fr 1.1fr; } .split--reverse { grid-template-columns: 1.1fr .9fr; } .split--reverse > :first-child { order: 2; } }

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-block: 36px; border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); padding: 22px 18px; text-align: center; transition: background .4s; }
.stat:hover { background: #fff; }
.stat__num { font-family: var(--font-display); font-size: 42px; font-weight: 600; color: var(--ink); line-height: 1; }
.stat__num sup { font-size: .5em; color: var(--brass-3); top: -.7em; }
.stat__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; line-height: 1.4; }

.signature { display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.signature__line { width: 56px; height: 1px; background: var(--brass); }
.signature__name { font-family: var(--font-display); font-size: 26px; font-style: italic; color: var(--ink); line-height: 1.1; }
.signature__role { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.photo-stack { position: relative; max-width: 480px; margin-inline: auto; }
.photo-stack .portrait { max-width: none; }
.photo-stack__badge {
  position: absolute; right: -10px; bottom: -28px; z-index: 3; width: 170px; padding: 24px; text-align: center;
  background: var(--navy); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.photo-stack__badge strong { display: block; font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--brass-2); }
.photo-stack__badge span { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
@media (max-width: 520px) { .photo-stack__badge { right: 0; width: 140px; padding: 18px; } .photo-stack__badge strong { font-size: 44px; } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  position: relative; padding: 36px 32px; border: 1px solid rgba(233, 228, 217, .12); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
  transition: transform .5s var(--ease-out), border-color .5s, background .5s;
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(211, 180, 125, .45); background: linear-gradient(180deg, rgba(184, 148, 90, .08), transparent); }
.pillar__icon { font-size: 36px; color: var(--brass-2); margin-bottom: 22px; }
.pillar__icon .icon { stroke-width: 1.2; }
.pillar h3 { color: #fff; font-size: 26px; margin-bottom: 12px; }
.pillar p { color: var(--on-dark-muted); font-size: 15.5px; margin: 0; }

/* ---------- Process timeline ---------- */
.process { display: grid; grid-template-columns: 1fr; gap: 0; position: relative; counter-reset: step; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process::before {
  content: ""; position: absolute; background: var(--line);
  left: 27px; top: 0; bottom: 0; width: 1px;
}
.process__progress { position: absolute; background: var(--brass); left: 27px; top: 0; width: 1px; height: 0; transition: height 1.6s var(--ease-out), width 1.6s var(--ease-out); }
@media (min-width: 900px) {
  .process::before { left: 0; right: 0; top: 27px; bottom: auto; width: auto; height: 1px; }
  .process__progress { left: 0; top: 27px; height: 1px; width: 0; }
}
.process.is-visible .process__progress { height: 100%; }
@media (min-width: 900px) { .process.is-visible .process__progress { height: 1px; width: 100%; } }
.step { position: relative; padding: 0 0 40px 80px; }
@media (min-width: 900px) { .step { padding: 84px 28px 0 0; } }
.step__dot {
  position: absolute; left: 0; top: 0; width: 55px; height: 55px; display: grid; place-items: center; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line); font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--brass-3);
  transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease-out);
}
.section--parchment .step__dot { background: var(--parchment); }
.step:hover .step__dot { background: var(--navy); color: var(--brass-2); border-color: var(--navy); transform: scale(1.08); }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Testimonial ---------- */
.testimonial { position: relative; max-width: 900px; margin-inline: auto; text-align: center; }
.testimonial__mark { width: 74px; height: 74px; margin: 0 auto 28px; color: var(--brass); }
.testimonial blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.32; color: #fff; font-weight: 500; font-style: italic; }
.testimonial figcaption { margin-top: 32px; display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-2); }
.testimonial figcaption::before, .testimonial figcaption::after { content: ""; width: 32px; height: 1px; background: currentColor; }

/* ---------- Associations ---------- */
.assoc { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .assoc { grid-template-columns: repeat(3, 1fr); } }
.assoc__item {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper);
  transition: border-color .4s, transform .5s var(--ease-out), box-shadow .5s;
}
.assoc__item:hover { border-color: var(--brass); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.assoc__seal { width: 56px; height: 56px; flex-shrink: 0; color: var(--brass-3); transition: transform 1.2s var(--ease-out); }
.assoc__item:hover .assoc__seal { transform: rotate(180deg); }
.assoc__abbr { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--ink); line-height: 1; display: block; }
.assoc__name { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; margin-top: 4px; }

/* ---------- Consultation / contact ---------- */
.consult { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 980px) { .consult { grid-template-columns: .9fr 1.1fr; } }
.contact-list { list-style: none; display: grid; gap: 4px; margin-top: 32px; }
.contact-list li a, .contact-list li > div { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(233, 228, 217, .1); transition: padding .4s var(--ease-out); }
.contact-list li a:hover { padding-left: 8px; }
.contact-list .icon-badge { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(211, 180, 125, .35); color: var(--brass-2); font-size: 19px; transition: background .4s, color .4s; }
.contact-list li a:hover .icon-badge { background: var(--brass); color: var(--ink); }
.contact-list__label { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); display: block; }
.contact-list__value { font-size: 17px; color: #fff; font-weight: 600; display: block; margin-top: 2px; }
.payment-note { margin-top: 28px; font-size: 14px; color: var(--on-dark-muted); display: flex; gap: 12px; align-items: flex-start; }
.payment-note .icon { color: var(--brass-2); font-size: 20px; margin-top: 2px; }

.form-card { background: var(--paper); color: var(--text); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--brass-3), var(--brass-2), var(--brass-3)); }
.form-card h2, .form-card h3 { font-size: 32px; margin-bottom: 8px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.form-grid > * { min-width: 0; }
@media (min-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .form-grid .full { grid-column: 1 / -1; } }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 16px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  font-size: 16px; transition: border-color .3s, box-shadow .3s; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; padding-top: 28px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f6e3c' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field label { position: absolute; left: 17px; top: 16px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 4px rgba(184, 148, 90, .15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-9px) scale(.78); color: var(--brass-3); font-weight: 600; }
.field--check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.55; }
.field--check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brass-3); flex-shrink: 0; padding: 0; appearance: auto; }
.field--check a { color: var(--brass-3); text-decoration: underline; text-underline-offset: 2px; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; display: flex; gap: 8px; align-items: flex-start; }
.form-note .icon { color: var(--brass-3); font-size: 15px; margin-top: 3px; }
.hp { position: absolute; left: -9999px; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-size: 14.5px; }
.form-status.is-success { display: block; background: #edf6f0; color: #1f5e3b; border: 1px solid #bfe0cb; }
.form-status.is-error { display: block; background: #fbeeee; color: var(--oxblood); border: 1px solid #ecc9cc; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); isolation: isolate; }
.cta-band__inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; padding-block: clamp(56px, 7vw, 88px); }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 10px; }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 620px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band__art { position: absolute; right: -40px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); color: var(--brass); opacity: .1; z-index: -1; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark);
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(184, 148, 90, .14), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--ink) 100%);
}
.page-hero__inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
@media (min-width: 980px) { .page-hero__inner { grid-template-columns: 1.3fr .7fr; } }
.page-hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 70px); line-height: 1.04; margin-bottom: 22px; }
.page-hero__lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--on-dark-muted); max-width: 640px; margin-bottom: 34px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.page-hero__art { position: relative; justify-self: center; width: min(340px, 70vw); aspect-ratio: 1; color: var(--brass-2); display: none; }
@media (min-width: 980px) { .page-hero__art { display: block; } }
.page-hero__art svg.big-icon { position: relative; width: 100%; height: 100%; }
.page-hero__ring { position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed rgba(211, 180, 125, .3); animation: spin 60s linear infinite; }
.page-hero__ring::after { content: ""; position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--brass-2); box-shadow: 0 0 18px var(--brass-2); }
.page-hero__halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(184, 148, 90, .18), transparent 70%); }

.breadcrumbs { margin-bottom: 26px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--on-dark-muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--brass); border-right: 1.5px solid var(--brass); transform: rotate(45deg); }
.breadcrumbs a { transition: color .25s; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: var(--brass-2); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(233, 228, 217, .12); }
.hero-facts li { list-style: none; display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--on-dark); }
.hero-facts .icon { color: var(--brass-2); font-size: 18px; }

/* ---------- Article layout ---------- */
.reading-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 200; background: var(--brass); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.article-layout { display: grid; grid-template-columns: 1fr; gap: clamp(48px, 6vw, 80px); align-items: start; }
@media (min-width: 1040px) { .article-layout { grid-template-columns: minmax(0, 1fr) 340px; } }

.prose { max-width: 760px; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: clamp(30px, 3.4vw, 40px); margin: 64px 0 18px; position: relative; padding-top: 28px; }
.prose h2::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 2px; background: var(--brass); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 25px; margin: 36px 0 12px; }
.prose p { color: #343c4e; }
.prose a:not(.btn) { color: var(--brass-3); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(143, 110, 60, .35); text-underline-offset: 3px; transition: text-decoration-color .25s; }
.prose a:not(.btn):hover { text-decoration-color: currentColor; }
.prose strong { color: var(--ink); }
.prose ul.checklist { list-style: none; display: grid; gap: 12px; margin: 8px 0 28px; }
.prose ul.checklist li { position: relative; padding-left: 36px; color: #343c4e; }
.prose ul.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--parchment);
  border: 1px solid var(--line);
}
.prose ul.checklist li::after { content: ""; position: absolute; left: 7.5px; top: 9px; width: 7px; height: 11px; border-right: 1.8px solid var(--brass-3); border-bottom: 1.8px solid var(--brass-3); transform: rotate(45deg); }

.charge-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 12px 0 32px; list-style: none; }
@media (min-width: 620px) { .charge-grid { grid-template-columns: 1fr 1fr; } }
.charge-grid li {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  font-size: 15.5px; line-height: 1.5; transition: border-color .35s, transform .45s var(--ease-out), box-shadow .45s;
}
.charge-grid li:hover { border-color: var(--brass); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.charge-grid li .icon { color: var(--brass-3); font-size: 20px; margin-top: 1px; }
.charge-grid strong { display: block; color: var(--ink); font-size: 16px; }
.charge-grid span { color: var(--muted); font-size: 14.5px; }

.table-wrap { overflow-x: auto; margin: 16px 0 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.data-table caption { text-align: left; padding: 16px 20px; font-size: 13px; color: var(--muted); caption-side: bottom; border-top: 1px solid var(--line); }
.data-table th, .data-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--stone); vertical-align: top; }
.data-table thead th { background: var(--navy); color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; border: 0; }
.data-table tbody tr { transition: background .25s; }
.data-table tbody tr:hover { background: var(--parchment); }
.data-table tbody th { white-space: nowrap; font-family: var(--font-display); font-size: 19px; color: var(--ink); font-weight: 600; }

.callout {
  position: relative; margin: 32px 0; padding: 28px 30px 28px 84px; border-radius: var(--radius-lg);
  background: var(--parchment); border: 1px solid var(--line); overflow: hidden;
}
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brass); }
.callout__icon { position: absolute; left: 28px; top: 28px; font-size: 30px; color: var(--brass-3); }
.callout__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.callout p:last-child { margin-bottom: 0; }
.callout--dark { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.callout--dark .callout__title { color: #fff; }
.callout--dark p { color: var(--on-dark-muted) !important; }
.callout--dark .callout__icon { color: var(--brass-2); }

.steps-list { list-style: none; counter-reset: s; display: grid; gap: 0; margin: 16px 0 32px; border-left: 1px solid var(--line); }
.steps-list li { counter-increment: s; position: relative; padding: 0 0 28px 40px; }
.steps-list li:last-child { padding-bottom: 0; }
.steps-list li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: -19px; top: -2px; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; background: var(--paper); border: 1px solid var(--brass); font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--brass-3);
  transition: background .35s, color .35s;
}
.steps-list li:hover::before { background: var(--navy); color: var(--brass-2); }
.steps-list h3 { margin: 4px 0 6px !important; font-size: 22px !important; }
.steps-list p { margin: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 20px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq__item[open] { border-color: var(--brass); box-shadow: var(--shadow-md); }
.faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { margin: 0 !important; font-size: 21px !important; line-height: 1.3; }
.faq__toggle { position: relative; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .4s var(--ease-out); }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--brass-3); transform: translate(-50%, -50%); transition: transform .4s var(--ease-out), background .3s; }
.faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__toggle { background: var(--navy); border-color: var(--navy); transform: rotate(180deg); }
.faq__item[open] .faq__toggle::before, .faq__item[open] .faq__toggle::after { background: var(--brass-2); }
.faq__item[open] .faq__toggle::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 24px 22px; color: #343c4e; }
.faq__a p:last-child { margin-bottom: 0; }

/* Sidebar */
.sidebar { display: grid; gap: 24px; }
@media (min-width: 1040px) { .sidebar { position: sticky; top: calc(var(--header-h) + 24px); } }
.side-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 28px; }
.side-card--dark { background: var(--navy); border-color: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.side-card--dark::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(184, 148, 90, .25), transparent 70%); z-index: -1; }
.side-card__title { font-family: var(--font-display); font-size: 25px; font-weight: 600; color: var(--ink); margin-bottom: 8px; line-height: 1.15; }
.side-card--dark .side-card__title { color: #fff; }
.side-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }
.side-card--dark p { color: var(--on-dark-muted); }
.side-card .btn { width: 100%; }
.side-card__phone { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; font-family: var(--font-display); font-size: 24px; font-weight: 700; color: #fff; transition: color .25s; }
.side-card__phone:hover { color: var(--brass-2); }
.side-card__phone .icon { font-size: 20px; color: var(--brass-2); }
.side-label { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-3); margin-bottom: 14px; display: block; }

.toc { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--stone); }
.toc a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14.5px; color: var(--muted); line-height: 1.4; transition: color .25s, border-color .25s, padding .3s var(--ease-out); }
.toc a:hover { color: var(--ink); padding-left: 22px; }
.toc a.is-active { color: var(--ink); border-color: var(--brass); font-weight: 600; }

.side-links { list-style: none; display: grid; gap: 2px; }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 11px 10px; margin-inline: -10px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--text); transition: background .25s, color .25s; }
.side-links a .icon { font-size: 20px; color: var(--brass-3); transition: transform .4s var(--ease-out); }
.side-links a .icon--arrow { margin-left: auto; font-size: 15px; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .35s var(--ease-out); }
.side-links a:hover { background: var(--parchment); color: var(--ink); }
.side-links a:hover .icon--arrow { opacity: 1; transform: none; }
.side-links a[aria-current] { background: var(--parchment); color: var(--ink); }

@media (max-width: 1039px) { .side-card--toc { display: none; } }

/* ---------- Related ---------- */
.related-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card {
  display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--paper);
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .4s;
}
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brass); }
.related-card__icon { font-size: 34px; color: var(--brass-3); }
.related-card__icon .icon { stroke-width: 1.3; }
.related-card h3 { font-size: 25px; }
.related-card p { font-size: 15px; color: var(--muted); margin: 0; }
.related-card .link-arrow { margin-top: auto; }
.related-card:hover .link-arrow .icon { transform: translateX(5px); }

/* ---------- Values (about) ---------- */
.values { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { background: var(--paper); padding: 36px; transition: background .4s; }
.value:hover { background: #fff; }
.value__icon { font-size: 32px; color: var(--brass-3); margin-bottom: 18px; }
.value__icon .icon { stroke-width: 1.3; }
.value h3 { font-size: 25px; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 15.5px; margin: 0; }

.experience-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 30px; }
.experience-list li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text); background: #fff; transition: border-color .3s, background .3s, color .3s, transform .35s var(--ease-out); }
.experience-list li:hover { border-color: var(--navy); background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ---------- Map ---------- */
.map-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--stone); aspect-ratio: 16 / 10; position: relative; }
.map-card iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.05); transition: filter .5s; }
.map-card:hover iframe { filter: none; }

.info-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .info-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .consult .info-grid { grid-template-columns: 1fr; } }
.info-tile { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: border-color .35s, transform .45s var(--ease-out), box-shadow .45s; }
a.info-tile:hover, .info-tile:hover { border-color: var(--brass); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.info-tile .icon-badge { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--brass-2); font-size: 20px; }
.info-tile__label { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: block; }
.info-tile__value { font-size: 16.5px; font-weight: 600; color: var(--ink); display: block; margin-top: 4px; line-height: 1.5; }

/* ---------- Legal page ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 30px; margin: 44px 0 12px; }
.legal p, .legal li { color: #343c4e; }
.legal ul { padding-left: 22px; margin-bottom: 1.1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); position: relative; overflow: hidden; isolation: isolate; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 48px; padding-block: clamp(64px, 8vw, 96px) 56px; }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__mark { color: #fff; box-shadow: 0 0 0 1px rgba(233, 228, 217, .22); }
.footer-about { font-size: 15px; margin: 24px 0; max-width: 360px; }
.footer-title { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 20px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: color .25s, transform .35s var(--ease-out); }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-contact { list-style: none; display: grid; gap: 14px; font-size: 15px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--brass); font-size: 18px; margin-top: 4px; }
.footer-contact a { transition: color .25s; }
.footer-contact a:hover { color: #fff; }
.footer-disclaimer { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 28px; font-size: 13px; line-height: 1.7; color: #7d8598; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #7d8598; }
.footer-bottom a:hover { color: #fff; }
.footer-watermark { position: absolute; right: -60px; bottom: -80px; width: 460px; color: #fff; opacity: .025; z-index: -1; pointer-events: none; }

.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--brass-2); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s, transform .45s var(--ease-out), visibility 0s .35s, background .3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.back-to-top:hover { background: var(--brass); color: var(--ink); }
.back-to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.back-to-top svg.ring circle { fill: none; stroke: var(--brass-2); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: var(--progress, 151); transition: stroke-dashoffset .1s linear; }
.back-to-top .icon { font-size: 20px; transform: rotate(-90deg); }

.mobile-call {
  position: fixed; left: 16px; right: 84px; bottom: 16px; z-index: 89; display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; border-radius: 999px; background: var(--brass); color: var(--ink); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 14px;
  box-shadow: var(--shadow-lg); transform: translateY(100px); transition: transform .5s var(--ease-out);
}
.mobile-call.is-visible { transform: none; }
.mobile-call .icon { font-size: 18px; }
@media (min-width: 760px) { .mobile-call { display: none; } }

/* ---------- Ornament divider ---------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--brass); margin-block: 8px 28px; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 80px; background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { background: linear-gradient(-90deg, transparent, currentColor); }
.ornament svg { width: 22px; height: 22px; }

/* ---------- Line-draw SVG ---------- */
.draw path, .draw line, .draw circle, .draw rect, .draw polyline, .draw ellipse { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.draw.is-drawn path, .draw.is-drawn line, .draw.is-drawn circle, .draw.is-drawn rect, .draw.is-drawn polyline, .draw.is-drawn ellipse { animation: draw 3.2s var(--ease-out) forwards; }
.draw.is-drawn > :nth-child(2n) { animation-delay: .15s; }
.draw.is-drawn > :nth-child(3n) { animation-delay: .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal--left { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--scale { transform: scale(.94); }
.reveal.is-visible { opacity: 1; transform: none; }

.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + .1s); }
.split-words.is-visible .w > span { transform: none; }

.no-js .reveal, .no-js .split-words .w > span { opacity: 1; transform: none; }
.no-js .draw path, .no-js .draw line, .no-js .draw circle, .no-js .draw rect, .no-js .draw polyline, .no-js .draw ellipse { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal, .split-words .w > span { opacity: 1; transform: none; }
  .draw path, .draw line, .draw circle, .draw rect, .draw polyline, .draw ellipse { stroke-dashoffset: 0; }
  .marquee__track { animation: none; }
}
