/* Sun Law Professional Corporation — "sunrise" design system.
   Fonts: Fraunces and Instrument Sans (SIL Open Font License), self-hosted. */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:300 700;font-display:swap;src:url(../fonts/fraunces-latin-wght-normal.woff2) format('woff2')}
@font-face{font-family:'Fraunces';font-style:italic;font-weight:300 700;font-display:swap;src:url(../fonts/fraunces-latin-wght-italic.woff2) format('woff2')}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/instrument-sans-latin-wght-normal.woff2) format('woff2')}

:root {
  --ink: #1d1b2e;          /* deep indigo ink */
  --ink-2: #29263f;
  --ink-3: #3a3655;
  --paper: #fbf8f2;        /* warm white */
  --sand: #f3ecdf;
  --sand-2: #eadfcb;
  --sun: #f0a830;          /* saffron */
  --sun-soft: #f7cf86;
  --ember: #a4501b;        /* accessible accent text on light */
  --text: #2b2838;
  --muted: #5d596c;
  --line: #e2d8c6;
  --line-dark: rgba(255,255,255,.14);
  --white: #fff;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(29,27,46,.05), 0 12px 32px -14px rgba(29,27,46,.22);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.65 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ember); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; font-variation-settings: 'SOFT' 50, 'WONK' 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sun-soft); color: var(--ink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 820px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.sun-mark { width: 40px; height: 40px; color: var(--ink); }

/* ---------- Buttons & small parts ---------- */
.btn { --b: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .7em 1.35em; border: 1.5px solid var(--b); border-radius: 999px; background: var(--b); color: #fff; font: 600 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.btn .icon { transition: transform .2s ease; }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(29,27,46,.55); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--ink { --b: var(--ink); }
.btn--ink:hover { background: var(--ink-3); border-color: var(--ink-3); }
.btn--sun { --b: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--sun-soft); border-color: var(--sun-soft); color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--lg { min-height: 54px; padding: .85em 1.7em; font-size: 1.02rem; }
.btn--sm { min-height: 38px; padding: .45em 1em; font-size: .9rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

.eyebrow { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 .9em; font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--sun { color: var(--sun); }
.pill { display: inline-flex; align-items: center; gap: .55em; margin: 0 0 1.4rem; padding: .4em 1em .4em .45em; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); font: 600 .85rem/1.2 var(--sans); color: var(--ink); }
.pill__mark { width: 26px; height: 26px; }
.tag { display: inline-block; padding: .2em .7em; border-radius: 999px; background: var(--sand); color: var(--ink); font: 600 .78rem/1.5 var(--sans); text-decoration: none; letter-spacing: .02em; }
.tag--light { background: rgba(255,255,255,.75); }
a.tag:hover { background: var(--sun-soft); color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--sun); padding-bottom: 2px; }
.link-arrow:hover { color: var(--ember); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--sun-soft); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,242,.88); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand__mark { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 600 1.32rem/1.05 var(--serif); letter-spacing: -.01em; }
.brand__sub { font: 600 .68rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand__logo { max-height: 48px; width: auto; }
.brand--light { color: #fff; }
.brand--light .brand__sub { color: rgba(255,255,255,.65); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav__list > li { position: relative; display: flex; align-items: center; }
.site-nav__list a { display: block; white-space: nowrap; padding: .55em .8em; color: var(--ink); font-weight: 500; text-decoration: none; border-radius: 999px; }
.site-nav__list a:hover { background: var(--sand); }
.site-nav__list a[aria-current="page"] { background: var(--ink); color: #fff; }
.sub-toggle { border: 0; background: none; padding: 4px; margin-left: -6px; color: var(--ink); cursor: pointer; }
.sub-toggle .icon { width: 16px; height: 16px; }
.sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; margin: 8px 0 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.has-children:hover > .sub-menu, .has-children:focus-within > .sub-menu, .sub-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { border-radius: 10px; }
.site-nav__actions { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: inline-flex; align-items: center; gap: .45em; color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-phone .icon { color: var(--ember); }
.nav-phone:hover { color: var(--ember); }

@media (max-width: 1240px) { .nav-phone span { display: none; } .nav-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 999px; } }
@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 24px; padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom)); background: var(--paper); overflow-y: auto; opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .site-nav__list > li > a { flex: 1; padding: 1em .25em; font: 500 1.35rem/1.2 var(--serif); border-radius: 0; }
  .site-nav__list a[aria-current="page"] { background: none; color: var(--ember); }
  .sub-toggle { padding: 12px; }
  .sub-menu { position: static; width: 100%; margin: 0 0 12px; padding: 0 0 0 12px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .sub-menu.is-open { display: block; }
  .has-children:hover > .sub-menu { display: none; }
  .has-children:hover > .sub-menu.is-open { display: block; }
  .site-nav__actions { flex-direction: column; align-items: stretch; }
  .nav-phone span { display: inline; }
  .nav-phone { width: auto; height: auto; justify-content: center; padding: .8em; border: 1px solid var(--line); border-radius: 999px; }
  .nav-cta { min-height: 54px; }
}
@media (max-width: 420px) { .brand__sub { display: none; } .brand__mark { width: 38px; height: 38px; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: rgba(255,255,255,.82); overflow: hidden; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; }
.section-head--split > div { max-width: 640px; }
.section-head--split .section-lede { max-width: 440px; margin: 0; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 0; }
.section-title em, .hero__title em, .page-hero__title em, .cta-band h2 em { font-style: italic; font-weight: 400; color: var(--ember); }
.section--ink .section-title em, .cta-band h2 em { color: var(--sun); }
.section-title--sm { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .6em; }
.section-lede { color: var(--muted); font-size: 1.1rem; margin-top: 1em; }
.section-head--center .section-lede { margin-left: auto; margin-right: auto; }
.sun-rays { position: absolute; pointer-events: none; color: var(--sun); opacity: .18; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(1200px 520px at 85% 8%, rgba(240,168,48,.18), transparent 60%), linear-gradient(180deg, var(--paper), var(--sand)); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: .45em; font-weight: 450; }
.hero__lede { max-width: 560px; font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__call { margin: 1.4rem 0 0; color: var(--muted); font-size: .98rem; }
.hero__call a { color: var(--ink); font-weight: 600; }
.hero__visual { position: relative; justify-self: center; width: min(100%, 440px); padding: 28px 28px 0; }
.hero__sun { position: absolute; left: 50%; top: 0; width: 120%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--sun-soft) 0, var(--sun) 48%, rgba(240,168,48,0) 70%); opacity: .55; }
.hero__portrait { position: relative; margin: 0; aspect-ratio: 5 / 6.4; border: 6px solid #fff; box-shadow: 0 30px 60px -30px rgba(29,27,46,.55); background: var(--sand-2); }
.hero__portrait img { object-position: 50% 18%; }
.hero__badge { position: absolute; left: 0; bottom: 28px; display: flex; flex-direction: column; padding: 14px 18px; background: var(--ink); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 78%; }
.hero__badge-name { font: 500 1.15rem/1.2 var(--serif); }
.hero__badge-role { font-size: .82rem; color: rgba(255,255,255,.72); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { padding: 22px 24px 0 0; display: flex; flex-direction: column; gap: 4px; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { font: 500 1.18rem/1.25 var(--serif); color: var(--ink); }
.facts span { font-size: .92rem; color: var(--muted); }
@media (max-width: 959px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(86%, 380px); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Practice index (editorial list) ---------- */
.practice-index { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.practice-row { border-bottom: 1px solid var(--line); }
.practice-row__link { position: relative; display: grid; grid-template-columns: 64px 120px minmax(0, 1fr) 56px; gap: 28px; align-items: center; padding: 26px 8px; color: inherit; text-decoration: none; transition: background .25s ease; }
.practice-row__link::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(240,168,48,.16), transparent 70%); opacity: 0; transition: opacity .25s ease; }
.practice-row__link:hover::before, .practice-row__link:focus-visible::before { opacity: 1; }
.practice-row__n { position: relative; font: 400 1.05rem/1 var(--serif); font-style: italic; color: var(--ember); }
.practice-row__media { position: relative; display: block; width: 120px; aspect-ratio: 6 / 7; background: var(--sand-2); }
.practice-row__media img { transition: transform .5s ease; }
.practice-row__link:hover .practice-row__media img { transform: scale(1.06); }
.practice-row__body { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px 40px; align-items: center; }
.practice-row__title { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.practice-row__text { color: var(--muted); }
.practice-row__go { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); transition: background .2s ease, color .2s ease, transform .2s ease; }
.practice-row__link:hover .practice-row__go { background: var(--ink); color: var(--sun); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .practice-row__link { grid-template-columns: 88px minmax(0, 1fr) 44px; gap: 18px; }
  .practice-row__n { display: none; }
  .practice-row__media { width: 88px; }
  .practice-row__body { grid-template-columns: 1fr; }
  .practice-row__go { width: 42px; height: 42px; }
}
@media (max-width: 480px) {
  .practice-row__link { grid-template-columns: 64px minmax(0, 1fr); padding: 20px 0; }
  .practice-row__media { width: 64px; }
  .practice-row__go { display: none; }
  .practice-row__text { font-size: .95rem; }
}

/* ---------- About band ---------- */
.about-home__rays { right: -120px; bottom: -40px; width: 680px; opacity: .14; }
.about-home__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-home .section-title { margin-bottom: .7em; }
.prose--light { color: rgba(255,255,255,.82); }
.prose--light strong { color: #fff; }
.prose--light a { color: var(--sun-soft); }
.about-home__side { display: grid; gap: 24px; }
.about-home__figure { margin: 0; aspect-ratio: 4 / 3.4; border: 6px solid var(--ink-3); }
.promise { padding: 26px 28px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: var(--ink-2); }
.promise__title { font-size: 1.25rem; margin-bottom: .8em; }
.promise__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.promise__list li { display: flex; gap: 12px; align-items: flex-start; }
.promise__list .icon { margin-top: .25em; color: var(--sun); }
@media (max-width: 900px) { .about-home__grid { grid-template-columns: 1fr; } }

/* ---------- Journey (process) ---------- */
.journey { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: j; }
.journey::before { content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 2px; background: repeating-linear-gradient(90deg, var(--sun) 0 10px, transparent 10px 18px); }
.journey__step { position: relative; }
.journey__n { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); font: 500 1.4rem/1 var(--serif); color: var(--ink); box-shadow: 0 0 0 8px var(--paper); }
.journey__step:first-child .journey__n { background: var(--sun); border-color: var(--sun); }
.journey__title { font-size: 1.35rem; margin-bottom: .4em; }
.journey__step p { color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey::before { left: 29px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--sun) 0 10px, transparent 10px 18px); }
  .journey__step { display: grid; grid-template-columns: 60px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .journey__n { grid-row: span 2; margin: 0; }
  .journey__title { margin-top: 14px; }
}

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.section--sand .post-card { background: #fff; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { display: block; margin: 12px 12px 0; aspect-ratio: 16 / 10; border-radius: 160px 160px 12px 12px; overflow: hidden; background: var(--sand-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; }
.post-card__placeholder .sun-mark { width: 72px; height: 72px; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 .8em; font-size: .85rem; color: var(--muted); }
.post-card__title { font-size: 1.32rem; line-height: 1.25; margin: 0 0 .5em; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__title a:hover { color: var(--ember); }
.post-card__excerpt { color: var(--muted); font-size: .98rem; flex: 1; }
.post-card__more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--ink); }
.post-card:hover .post-card__more { color: var(--ember); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-layout__head { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout__head { position: static; } }
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { margin: 0; font-size: 1.2rem; line-height: 1.35; }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); transition: background .2s ease, transform .25s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s ease; }
.faq__item[open] .faq__icon { background: var(--sun); border-color: var(--sun); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 52px 22px 4px; color: var(--muted); }
.faq__a p { margin: 0; }

/* ---------- Call-to-action band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: rgba(255,255,255,.82); padding: clamp(64px, 9vw, 104px) 0; }
.cta-band__sun { position: absolute; left: 50%; bottom: -62%; width: min(980px, 140vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(240,168,48,.55) 0, rgba(240,168,48,.18) 42%, rgba(240,168,48,0) 66%); }
.cta-band__sun::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 1px solid rgba(247,207,134,.35); }
.cta-band__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px 56px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .35em; }
.cta-band p { margin: 0; max-width: 560px; font-size: 1.08rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: rgba(255,255,255,.72); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .97rem; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-top .brand { margin-right: 0; }
.footer-top .sun-mark { color: #fff; }
.footer-top__line { max-width: 560px; margin: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 40px var(--gutter); }
.footer-title { color: #fff; font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.1em; }
.footer-address { font-style: normal; display: flex; flex-direction: column; gap: 2px; }
.footer-hours { margin: 1em 0 0; }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-links--contact a, .footer-links--contact span { display: inline-flex; align-items: center; gap: .55em; }
.footer-links--contact .icon { color: var(--sun); }
.socials { display: flex; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: .86rem; color: rgba(255,255,255,.58); }
.footer-bottom p { margin: 0; }
.footer-disclaimer { max-width: 720px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ---------- Inner page header ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 76px); background: radial-gradient(900px 400px at 92% 0%, rgba(240,168,48,.2), transparent 60%), var(--sand); border-bottom: 1px solid var(--line); }
.page-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.page-hero--image .page-hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.06; letter-spacing: -.02em; margin: 0; max-width: 18em; font-weight: 450; }
.page-hero__lede { max-width: 640px; margin: 1em 0 0; font-size: 1.15rem; color: var(--muted); }
.page-hero__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: var(--ink); color: var(--sun); }
.page-hero__icon .icon { width: 26px; height: 26px; }
.page-hero__media { justify-self: end; width: 100%; max-width: 300px; aspect-ratio: 9 / 10; margin: 0; border: 6px solid #fff; box-shadow: var(--shadow); }
.page-hero__rays { right: -60px; bottom: -2px; width: 520px; }
.page-hero--article { text-align: left; }
.page-hero--article .page-hero__title { font-size: clamp(2rem, 4.4vw, 3.2rem); }
@media (max-width: 760px) { .page-hero--image .page-hero__grid { grid-template-columns: 1fr; } .page-hero__media { display: none; } }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1.4em; padding: 0; list-style: none; font-size: .88rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--sand-2); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- Content pages ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } }
.content-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 960px) { .content-side { position: static; } }
.side-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.side-card--ink { position: relative; overflow: hidden; background: var(--ink); color: rgba(255,255,255,.8); border-color: var(--ink); }
.side-card--ink .side-card__title { color: #fff; }
.side-card__mark { width: 48px; height: 48px; color: #fff; margin-bottom: 12px; }
.side-card__title { font-size: 1.3rem; margin-bottom: .6em; }
.side-card__phone { display: flex; align-items: center; justify-content: center; gap: .5em; margin-top: 14px; color: #fff; font-weight: 600; text-decoration: none; }
.side-card__phone:hover { color: var(--sun); }
.side-links { margin: 0; padding: 0; list-style: none; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--ink); font-weight: 500; text-decoration: none; }
.side-links a .icon { color: var(--ember); }
.side-links a:hover { color: var(--ember); }
.toc { margin: 0 0 36px; padding: 22px 26px; border-left: 3px solid var(--sun); background: var(--sand); border-radius: 0 var(--radius) var(--radius) 0; }
.toc__title { margin: 0 0 .6em; font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc__plain { list-style: none; padding-left: 0 !important; }
.prose { font-size: 1.08rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 1.6em 0 .55em; }
.prose h3 { font-size: 1.35rem; margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose ul li::marker { color: var(--sun); }
.prose ol li::marker { color: var(--ember); font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--sun); font: italic 400 1.3rem/1.5 var(--serif); color: var(--ink); }
.prose img { border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .98rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--ink); }
.updated { margin-top: 2.4em; font-size: .9rem; color: var(--muted); }
.faq-block { margin-top: 3rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form-wrap { padding: clamp(24px, 4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-side { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .contact-side { position: static; } }
.contact-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { margin-top: .2em; color: var(--sun); }
.contact-list strong { display: block; color: #fff; font-weight: 600; }
.contact-list span, .contact-list a { color: rgba(255,255,255,.82); }
.contact-list a:hover { color: var(--sun); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.req { color: var(--ember); }
.opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .75em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(240,168,48,.28); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__hint { margin: 0; font-size: .86rem; color: var(--muted); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--ink); }
.field--check label { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; border: 1px solid; }
.alert .icon { margin-top: .2em; }
.alert ul { margin: .3em 0 0; padding-left: 1.1em; }
.alert--success { background: #eef7ef; border-color: #b9dcc0; color: #1e5229; }
.alert--error { background: #fdf0ee; border-color: #f0c2bb; color: #8a1f12; }
.map { line-height: 0; border-top: 1px solid var(--line); }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.4) sepia(.15); }

/* ---------- Blog ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: .5em 1.05em; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 500; text-decoration: none; }
.chips a span { font-size: .8rem; color: var(--muted); }
.chips a:hover { border-color: var(--ink); }
.chips a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips a[aria-current="page"] span { color: var(--sun-soft); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); }

/* ---------- Single post ---------- */
.article__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2em 0 0; color: var(--muted); font-size: .95rem; }
.article__meta a { color: var(--ink); font-weight: 600; }
.page-hero--article .tag { margin-bottom: 1.2em; }
.article__figure { margin: -24px auto 0; position: relative; z-index: 1; }
.article__figure img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); border: 6px solid var(--paper); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2.4em 0 0; padding: 0; list-style: none; }
.post-tags a { display: inline-flex; align-items: center; gap: 6px; padding: .35em .9em; border-radius: 999px; background: var(--sand); color: var(--ink); text-decoration: none; font-size: .9rem; }
.post-tags a:hover { background: var(--sun-soft); }
.post-tags .icon { width: 14px; height: 14px; }
.related-service { margin: 2.4em 0 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.related-service__label { display: block; margin-bottom: .4em; font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }
.related-service a { color: var(--ink); text-decoration: none; }
.related-service a .icon { display: inline; vertical-align: -3px; color: var(--ember); }
.author-box { display: flex; gap: 18px; align-items: flex-start; margin: 2.4em 0 0; padding: 24px; border-radius: var(--radius-lg); background: var(--ink); color: rgba(255,255,255,.8); }
.author-box p { margin: 0; }
.author-box a { color: var(--sun-soft); }
.author-box__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; border: 2px solid var(--sun); }
.author-box__mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sun); color: var(--ink); font: 600 1.1rem var(--serif); flex: none; }
.author-box__name { color: #fff !important; font: 500 1.15rem/1.3 var(--serif); margin-bottom: .3em !important; }

/* ---------- 404 ---------- */
.error-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }

/* ---------- Cookie banner & mobile actions ---------- */
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; max-width: 760px; margin: 0 auto; padding: 18px 22px; background: var(--ink); color: rgba(255,255,255,.85); border-radius: var(--radius-lg); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); font-size: .95rem; }
.cc[hidden] { display: none; }
.cc__text { flex: 1 1 320px; margin: 0; }
.cc__text strong { color: #fff; }
.cc__text a { color: var(--sun-soft); }
.cc__actions { display: flex; gap: 10px; }
.cc .btn--line { color: #fff; border-color: rgba(255,255,255,.5); }
.cc .btn--line:hover { background: rgba(255,255,255,.12); }
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,248,242,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mobile-cta__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); font-weight: 600; text-decoration: none; }
  .mobile-cta__btn--primary { flex: 1.6; background: var(--ink); color: #fff; }
  body { padding-bottom: 72px; }
  .cc { bottom: 84px; }
}

/* ---------- Maintenance page ---------- */
.maint { display: grid; place-content: center; min-height: 100vh; padding: 24px; text-align: center; background: var(--sand); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .mobile-cta, .cta-band, .cc, .site-footer, .content-side { display: none !important; } body { background: #fff; } }

/* Lawyer profile: other websites */
.profile-links{margin-top:2.5rem;padding:1.5rem;border:1px solid var(--line, #e6dfd2);border-radius:18px;background:var(--card, #fff)}
.profile-links__title{font-family:var(--serif, Fraunces, Georgia, serif);font-size:1.25rem;margin:0 0 .9rem}
.profile-links ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.6rem}
.profile-links a{display:inline-flex;align-items:center;gap:.45rem;padding:.5rem .9rem;border:1px solid var(--line, #e6dfd2);border-radius:999px;text-decoration:none;color:inherit;font-weight:500}
.profile-links a:hover{border-color:var(--sun, #f0a830)}
.profile-links .icon{width:18px;height:18px}
