/* ============================================================
   Asel Williams, Esq. — "The Dossier"
   Editorial immigration-counsel site. Static, gated.
   ============================================================ */

:root {
  --ink:        #14223b;   /* deep navy ink */
  --ink-soft:   #2b3a54;
  --parchment:  #f6f1e7;   /* warm paper */
  --parchment-2:#efe7d7;
  --card:       #fffdf8;
  --brass:      #b98a3e;   /* prestige accent */
  --brass-deep: #8f6a2c;
  --tp-green:   #00b67a;   /* Trustpilot green, stars only */
  --line:       #d9cfbb;
  --line-ink:   rgba(20,34,59,.14);
  --muted:      #5c5748;

  --serif: "Fraunces", Georgia, serif;
  --read:  "Newsreader", Georgia, serif;
  --sans:  "Public Sans", system-ui, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- THEME: BRIGHT (her brand palette) ---------- */
html[data-theme="brand"] {
  --ink:        #12233f;
  --ink-soft:   #38507a;
  --parchment:  #eef3fb;
  --parchment-2:#e2ebf7;
  --card:       #ffffff;
  --brass:      #1f5fd8;   /* accent becomes a confident blue */
  --brass-deep: #1747a6;
  --line:       #d6e1f0;
  --line-ink:   rgba(18,35,63,.12);
  --muted:      #566a86;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* Paper grain overlay across whole page */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.stars .st {
  width: 1em; height: 1em; display: inline-block;
  background: var(--tp-green);
  -webkit-mask: var(--star-mask) center/contain no-repeat;
          mask: var(--star-mask) center/contain no-repeat;
}
:root { --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.26L21.8 9l-4.9 4.6 1.2 6.9L12 17.3 5.9 20.5l1.2-6.9L2.2 9l6.9-.74z'/%3E%3C/svg%3E"); }
.stars-lg { font-size: 20px; }

/* ============================================================
   PASSWORD GATE
   ============================================================ */
#gate {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 50% -10%, #1c2f4d 0%, var(--ink) 55%, #0d1728 100%);
  padding: 24px;
}
#gate.hide { opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.gate-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.gate-card {
  position: relative;
  width: min(440px, 100%);
  background: var(--card);
  border: 1px solid rgba(201,161,94,.4);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
  padding: 46px 42px 40px;
  text-align: center;
  animation: rise .8s var(--ease) both;
}
.gate-card::after {
  content: ""; position: absolute; inset: 7px;
  border: 1px solid var(--line); pointer-events: none;
}
.gate-crest { display: flex; align-items: center; justify-content: center; gap: 10px; }
.seal, .brand-seal {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--brass);
  font-family: var(--serif); font-weight: 600; font-size: 18px;
  border: 1px solid var(--brass);
}
.gate-firm { font-family: var(--mono); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); }
.gate-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--brass-deep); margin: 24px 0 6px; }
.gate-name { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.05; margin: 0; }
.gate-name .italic { font-style: italic; color: var(--brass-deep); }
.gate-sub { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 14px auto 24px; max-width: 30ch; }
#gate-form { display: flex; gap: 8px; }
#gate-pass {
  flex: 1; min-width: 0;
  font-family: var(--sans); font-size: 15px;
  padding: 13px 15px; color: var(--ink);
  background: var(--parchment); border: 1px solid var(--line);
  outline: none; transition: border-color .2s;
}
#gate-pass:focus { border-color: var(--brass); }
#gate-btn {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  padding: 0 20px; color: var(--parchment); background: var(--ink);
  border: 1px solid var(--ink); cursor: pointer; transition: background .2s;
}
#gate-btn:hover { background: var(--brass-deep); border-color: var(--brass-deep); }
.gate-err { color: #b23b3b; font-size: 13px; min-height: 18px; margin-top: 12px; font-family: var(--mono); letter-spacing: .04em; }
.gate-err.shake { animation: shake .4s; }

/* ============================================================
   APP LAYOUT
   ============================================================ */
#app { position: relative; z-index: 2; opacity: 0; }
#app.show { opacity: 1; transition: opacity .5s var(--ease); }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(18px, 5vw, 54px);
  background: rgba(246,241,231,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-seal { width: 32px; height: 32px; font-size: 17px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--serif); font-weight: 600; font-size: 17px; }
.brand-text small { font-family: var(--mono); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.topnav { display: flex; align-items: center; gap: 26px; }
.topnav a { font-size: 14px; text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.topnav a:hover { color: var(--brass-deep); }
.nav-cta {
  font-family: var(--mono); font-size: 11px !important; letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 16px; background: var(--ink); color: var(--parchment) !important; transition: background .2s;
}
.nav-cta:hover { background: var(--brass-deep); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 118px) clamp(18px, 5vw, 54px) clamp(40px, 6vw, 76px); overflow: hidden; }
.hero-rules {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(to bottom, transparent 0 33px, var(--line-ink) 33px 34px);
  -webkit-mask: linear-gradient(to bottom, transparent, #000 20%, #000 60%, transparent);
          mask: linear-gradient(to bottom, transparent, #000 20%, #000 60%, transparent);
}
.hero-grid {
  position: relative; max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(30px, 5vw, 64px); align-items: center;
}
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--brass-deep); margin: 0 0 20px; }
.hero-head {
  font-family: var(--serif); font-weight: 600; font-size: clamp(52px, 8.5vw, 116px);
  line-height: .92; letter-spacing: -.02em; margin: 0 0 26px;
}
.hero-head .ital { font-style: italic; font-weight: 500; color: var(--brass-deep); }
.hero-lede { font-family: var(--read); font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--ink-soft); max-width: 46ch; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-primary, .btn-ghost, .btn-gold, .btn-outline {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 26px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
  display: inline-block;
}
.btn-primary { background: var(--ink); color: var(--parchment); border: 1px solid var(--ink); }
.btn-primary:hover { background: var(--brass-deep); border-color: var(--brass-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--parchment); transform: translateY(-2px); }

/* Trust card */
.trust-card {
  position: relative; background: var(--card);
  border: 1px solid var(--line); padding: 30px 28px 24px;
  box-shadow: 0 30px 60px -34px rgba(20,34,59,.5);
}
.trust-card::before {
  content: "TRUSTPILOT"; position: absolute; top: -9px; left: 24px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .3em;
  background: var(--card); padding: 0 8px; color: var(--tp-green);
}
.trust-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.trust-word { font-family: var(--serif); font-weight: 600; font-size: 30px; }
.trust-meta { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0 0 14px; }
.trust-meta .tp { color: var(--tp-green); font-weight: 600; }
.trust-verify { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--brass-deep); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.trust-verify:hover { color: var(--ink); border-color: var(--brass); }
.trust-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; }
.trust-foot i { width: 3px; height: 3px; background: var(--brass); border-radius: 50%; }

/* ---------- MARQUEE ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--ink); overflow: hidden; }
.marquee-track { display: flex; gap: 0; white-space: nowrap; width: max-content; animation: scroll 40s linear infinite; }
.marquee-item { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--parchment); padding: 16px 30px; opacity: .9; }
.marquee-item .dot { color: var(--brass); font-style: normal; margin-left: 30px; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- SECTION HEADS ---------- */
.sec-head { max-width: var(--wrap); margin: 0 auto; }
.sec-head.center { text-align: center; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-deep); margin: 0 0 16px; }
.label.light { color: var(--brass); }
.sec-head h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -.01em; margin: 0; max-width: 20ch; }
.sec-head.center h3 { margin: 0 auto; }
.sec-sub { font-family: var(--read); font-size: 18px; color: var(--ink-soft); line-height: 1.55; max-width: 60ch; margin: 18px auto 0; }
.sec-sub a { color: var(--brass-deep); text-underline-offset: 3px; }

/* ---------- PRACTICE ---------- */
.practice { padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 54px) clamp(40px, 6vw, 70px); }
.practice-grid { max-width: var(--wrap); margin: 46px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pcard { padding: 30px 28px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; transition: background .3s var(--ease); position: relative; }
.pcard:hover { background: var(--card); }
.pcard .pnum { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--brass); }
.pcard h4 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 14px 0 8px; }
.pcard p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 0; }
.practice-note { max-width: var(--wrap); margin: 30px auto 0; font-family: var(--read); font-size: 17px; color: var(--ink-soft); }
.practice-note b { color: var(--ink); }

/* ---------- REVIEWS (centerpiece) ---------- */
.reviews { padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 54px); background: linear-gradient(180deg, var(--parchment) 0%, var(--parchment-2) 100%); border-block: 1px solid var(--line); }
.filterbar { max-width: var(--wrap); margin: 38px auto 34px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 16px; background: transparent; color: var(--ink-soft);
  border: 1px solid var(--line); cursor: pointer; transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--brass); color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); color: var(--parchment); border-color: var(--ink); }
.chip .n { opacity: .6; margin-left: 6px; }

.review-wall { max-width: var(--wrap); margin: 0 auto; columns: 3 320px; column-gap: 24px; }
.rcard {
  break-inside: avoid; margin: 0 0 24px;
  background: var(--card); border: 1px solid var(--line);
  padding: 26px 26px 22px; position: relative;
  box-shadow: 0 18px 40px -30px rgba(20,34,59,.4);
  transition: transform .5s var(--ease), opacity .5s var(--ease), box-shadow .3s;
}
.rcard.reveal-init { opacity: 0; transform: translateY(18px); }
.rcard:hover { box-shadow: 0 26px 50px -28px rgba(20,34,59,.55); }
.rcard .rquote { position: absolute; top: 12px; right: 20px; font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--parchment-2); z-index: 0; }
.rcard .stars { position: relative; z-index: 1; font-size: 15px; margin-bottom: 14px; }
.rtext { position: relative; z-index: 1; font-family: var(--read); font-size: 16px; line-height: 1.62; color: var(--ink); margin: 0 0 18px; }
.rmeta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.rname { display: flex; align-items: center; gap: 10px; }
.ravatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--brass); font-family: var(--serif); font-weight: 600; font-size: 14px; }
.rname b { font-family: var(--sans); font-weight: 600; font-size: 14px; }
.rtag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-deep); border: 1px solid var(--line); padding: 4px 8px; white-space: nowrap; }
.rcard.hidden { display: none; }
.reviews-cta { text-align: center; margin-top: 26px; }

/* ---------- ABOUT ---------- */
.about { padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 54px); }
.about-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.portrait-frame {
  position: sticky; top: 90px; aspect-ratio: 3/4; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 90% at 30% 10%, #1e3252, var(--ink)); color: var(--parchment);
  border: 1px solid var(--brass); padding: 22px; text-align: left;
}
/* real photo variant */
.portrait-frame.photo { display: block; padding: 0; aspect-ratio: 1/1; background: var(--ink); overflow: hidden; position: sticky; top: 90px; }
.portrait-frame.photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.02) contrast(1.02); }
.portrait-frame.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; display: flex; flex-direction: column; gap: 2px; background: linear-gradient(to top, rgba(11,23,40,.92), rgba(11,23,40,0)); }
.portrait-frame.photo figcaption b { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--parchment); }
.portrait-frame.photo figcaption span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,241,231,.75); }
.portrait-mono { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--brass); }
.portrait-initials { font-family: var(--serif); font-weight: 600; font-size: clamp(70px, 12vw, 128px); line-height: .8; align-self: center; margin: auto 0; }
.portrait-cap { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: rgba(246,241,231,.7); }
.about-copy h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.8vw, 46px); line-height: 1.05; margin: 0 0 22px; }
.about-copy p { font-family: var(--read); font-size: 18px; line-height: 1.62; color: var(--ink-soft); margin: 0 0 18px; max-width: 56ch; }
.pull { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(22px, 3vw, 30px); line-height: 1.3; color: var(--ink); border-left: 3px solid var(--brass); padding: 6px 0 6px 24px; margin: 28px 0; }
.cred-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.cred-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cred-list .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); padding-top: 2px; }
.cred-list .v { font-size: 15.5px; color: var(--ink); }

/* ---------- CONSULT ---------- */
.consult { background: radial-gradient(120% 120% at 80% -20%, #1e3252 0%, var(--ink) 55%, #0e1a2e 100%); color: var(--parchment); padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 54px); position: relative; overflow: hidden; }
.consult::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: repeating-linear-gradient(to bottom, transparent 0 33px, rgba(255,255,255,.05) 33px 34px); }
.consult-inner { position: relative; max-width: var(--wrap); margin: 0 auto; }
.consult h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5.5vw, 68px); line-height: 1; margin: 0 0 20px; }
.consult-lede { font-family: var(--read); font-size: 20px; line-height: 1.55; color: rgba(246,241,231,.82); max-width: 50ch; margin: 0 0 34px; }
.consult-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 50px; }
.btn-gold { background: var(--brass); color: var(--ink); border: 1px solid var(--brass); font-weight: 500; }
.btn-gold:hover { background: #d0a353; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--parchment); border: 1px solid rgba(246,241,231,.4); }
.btn-outline:hover { border-color: var(--brass); color: var(--brass); transform: translateY(-2px); }
.consult-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid rgba(246,241,231,.2); padding-top: 30px; }
.cf-k { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }
.cf-v { font-size: 15px; line-height: 1.5; color: rgba(246,241,231,.9); }

/* ---------- FOOTER ---------- */
.foot { background: #0d1728; color: rgba(246,241,231,.7); padding: 40px clamp(18px, 5vw, 54px); }
.foot-inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand b { font-family: var(--serif); font-size: 16px; color: var(--parchment); display: block; }
.foot-brand small { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: rgba(246,241,231,.55); }
.foot-disc { font-size: 12px; line-height: 1.6; max-width: 52ch; margin: 0; color: rgba(246,241,231,.5); }

/* ---------- FOOTER NAV (multi-page) ---------- */
.foot-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-nav a { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(246,241,231,.7); text-decoration: none; transition: color .2s; }
.foot-nav a:hover { color: var(--brass); }
.foot-social { color: var(--brass) !important; }
.v-link { color: var(--brass-deep); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.v-link:hover { color: var(--ink); border-color: var(--brass); }

/* ---------- THEME SWITCHER ---------- */
.theme-switch { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--card); }
.theme-switch button {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border: 0; background: transparent; color: var(--ink-soft);
  cursor: pointer; border-radius: 999px; transition: background .2s, color .2s; white-space: nowrap;
}
.theme-switch button[aria-pressed="true"] { background: var(--ink); color: var(--parchment); }
.theme-switch button:hover:not([aria-pressed="true"]) { color: var(--brass-deep); }

/* ---------- PAGE HEADER (interior pages) ---------- */
.page-head { position: relative; padding: clamp(60px, 9vw, 116px) clamp(18px, 5vw, 54px) clamp(30px, 5vw, 56px); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0 33px, var(--line-ink) 33px 34px);
  -webkit-mask: linear-gradient(to bottom, transparent, #000 40%); mask: linear-gradient(to bottom, transparent, #000 40%); }
.page-head-inner { position: relative; max-width: var(--wrap); margin: 0 auto; }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6.4vw, 82px); line-height: .98; letter-spacing: -.02em; margin: 14px 0 0; max-width: 18ch; }
.page-lede { font-family: var(--read); font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 56ch; margin: 22px 0 0; }

/* rating strip on reviews page */
.rating-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.rating-word { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.rating-meta { font-size: 14px; color: var(--muted); }
.rating-meta .tp, .trust-meta .tp { color: var(--tp-green); font-weight: 600; }
.rating-strip .trust-verify { margin-left: 4px; }

.inline-link { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--brass-deep); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.inline-link:hover { color: var(--ink); border-color: var(--brass); }

/* featured wall (home) forces a tidy 3-4 up */
.review-wall.featured { columns: 3 300px; }

/* ---------- SELF-PETITION SECTION ---------- */
.selfpet { background: radial-gradient(130% 110% at 85% -10%, #1e3252 0%, var(--ink) 55%, #0e1a2e 100%); color: var(--parchment); padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 54px); position: relative; overflow: hidden; }
.selfpet::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: repeating-linear-gradient(to bottom, transparent 0 33px, rgba(255,255,255,.05) 33px 34px); }
.selfpet-inner { position: relative; max-width: var(--wrap); margin: 0 auto; }
.selfpet .sec-head h3 { color: var(--parchment); }
.sec-sub.light { color: rgba(246,241,231,.8); }
.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px 0 26px; }
.sp-card { background: rgba(255,255,255,.04); border: 1px solid rgba(201,161,94,.35); padding: 28px 26px 30px; position: relative; transition: border-color .3s, transform .3s var(--ease); }
.sp-card:hover { border-color: var(--brass); transform: translateY(-3px); }
.sp-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--brass); border: 1px solid rgba(201,161,94,.5); padding: 4px 9px; }
.sp-card h4 { font-family: var(--serif); font-weight: 600; font-size: 23px; margin: 18px 0 10px; color: var(--parchment); }
.sp-card p { font-size: 14.5px; line-height: 1.6; color: rgba(246,241,231,.78); margin: 0; }
.sp-note { font-family: var(--read); font-size: 15px; color: rgba(246,241,231,.62); border-top: 1px dashed rgba(246,241,231,.25); padding-top: 22px; margin: 8px 0 0; max-width: 70ch; }
.sp-note a { color: var(--brass); }

/* ---------- STEPS ---------- */
.steps { padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 54px); }
.step-list { list-style: none; max-width: var(--wrap); margin: 44px auto 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.step-list li { display: flex; gap: 18px; padding: 30px 30px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step-n { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--brass); padding-top: 5px; }
.step-list h4 { font-family: var(--serif); font-weight: 600; font-size: 21px; margin: 0 0 8px; }
.step-list p { font-size: 15px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ---------- CTA BAND ---------- */
.cta-band { background: var(--ink); color: var(--parchment); padding: clamp(40px, 6vw, 68px) clamp(18px, 5vw, 54px); }
.cta-band-inner { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band-inner h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 46px); line-height: 1; margin: 6px 0 0; color: var(--parchment); }

/* contact page spacing */
.contact-page { border-top: 1px solid var(--line); }

/* ---------- ANIMATIONS ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-6px)} 40%,80%{transform:translateX(6px)} }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .trust-card { max-width: 420px; }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .review-wall, .review-wall.featured { columns: 2 300px; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait-frame { position: relative; top: 0; max-width: 320px; aspect-ratio: 4/3; }
  .portrait-frame.photo { position: relative; top: 0; max-width: 340px; aspect-ratio: 1/1; }
  .consult-facts { grid-template-columns: 1fr; gap: 18px; }
  .sp-grid { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .topnav a:not(.nav-cta) { display: none; }
  .practice-grid { grid-template-columns: 1fr; }
  .review-wall, .review-wall.featured { columns: 1; }
  .cred-list li { grid-template-columns: 1fr; gap: 4px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; scroll-behavior: auto; }
  .rcard.reveal-init, .pcard.reveal-init, .step-list li.reveal-init { opacity: 1; transform: none; }
}
