:root {
  --ink: #0a2030;
  --ink-2: #153347;
  --paper: #f7f5f0;
  --paper-deep: #ebe8df;
  --mist: #dce7e7;
  --sage: #9ab8ad;
  --mint: #e0eee9;
  --coral: #db684d;       /* decorative accents and use on dark backgrounds */
  --coral-deep: #b0432a;  /* button fill: white text passes 4.5:1 */
  --coral-text: #a63d25;  /* coral text on light backgrounds passes 4.5:1 */
  --line: #d7d7cf;
  --text: #1b3645;
  --muted: #63737c;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 18px 48px rgba(6, 30, 44, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
html { font-size: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .75rem 1rem; background: var(--paper); color: var(--ink); border-radius: .25rem; }
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }

.utility-bar { background: #071a28; color: #e6eee9; font-size: .76rem; letter-spacing: .01em; }
.utility-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.utility-urgent, .utility-meta, .utility-meta span { display: flex; align-items: center; gap: .38rem; }
.utility-urgent, .utility-meta span { white-space: nowrap; }
.utility-urgent b { color: #c2ddd2; text-decoration: underline; text-underline-offset: 3px; }
.utility-meta { gap: 1.25rem; color: #c6d3d4; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(247,245,240,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(10,32,48,.08); }
.site-header .container { width: min(1320px, calc(100% - 48px)); }
.header-inner { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; min-width: max-content; }
.brand-mark { position: relative; width: 32px; height: 35px; display: inline-flex; justify-content: center; gap: 4px; border: 1px solid #97aca9; border-radius: 50% 50% 40% 40%; overflow: hidden; transform: rotate(16deg); }
.brand-mark span { display: block; width: 7px; height: 100%; background: var(--ink); transform: skewY(-19deg); }
.brand-mark span:last-child { background: var(--coral); }
.brand-type { display: grid; line-height: 1; gap: .3rem; }
.brand-type strong { color: var(--ink); font-size: .83rem; letter-spacing: .075em; }
.brand-type small { color: #617078; font-size: .62rem; letter-spacing: .13em; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 1.5vw, 1.5rem); margin-left: auto; }

.desktop-nav a { white-space: nowrap; color: #34505c; font-size: .86rem; font-weight: 600; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--coral); }
.desktop-nav a[aria-current], .mobile-menu a[aria-current]:not(.button) { color: var(--ink); box-shadow: inset 0 -2px 0 var(--coral); }
.header-cta[aria-current], .mobile-menu .button[aria-current] { box-shadow: 0 0 0 3px rgba(219,104,77,.28); }
.desktop-nav a[aria-current] { padding-bottom: .2rem; }
.header-actions { display: flex; align-items: center; gap: .85rem; }
.header-cta { white-space: nowrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .55rem; min-height: 48px; padding: .78rem 1.15rem; border: 1px solid transparent; border-radius: 3px; background: var(--coral-deep); color: white; font-size: .84rem; font-weight: 700; letter-spacing: .005em; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: #963a22; box-shadow: 0 8px 20px rgba(176,67,42,.25); }
.button--small { min-height: 39px; padding: .55rem .82rem; font-size: .76rem; }
.button--light { background: #f3f1e9; color: var(--ink); }
.button--light:hover { background: white; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.button--ink { background: var(--ink); color: white; }
.button--ink:hover { background: #14364a; }
.button--outline-ink { background: transparent; border-color: #41606e; color: var(--ink); }
.button--outline-ink:hover { background: #e3e9e5; color: var(--ink); }
.menu-button { display: none; width: 42px; height: 42px; place-items: center; border: 1px solid #cbd1cc; background: transparent; color: var(--ink); }
.mobile-menu { display: none; }

.hero { position: relative; overflow: hidden; background: var(--ink); color: white; padding: clamp(4.5rem, 8vw, 7.7rem) 0 1.4rem; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(229,239,235,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(229,239,235,.11) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to left, black, transparent 72%); }
.hero-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(196,223,212,.33); pointer-events: none; }
.hero-orbit--one { width: min(64vw, 980px); aspect-ratio: 1; right: -12vw; top: -31vw; }
.hero-orbit--two { width: min(50vw, 720px); aspect-ratio: 1; right: 5vw; top: -22vw; border-color: rgba(219,104,77,.38); }
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .7fr); align-items: center; gap: clamp(3rem, 7vw, 8rem); }
.eyebrow { margin: 0 0 1.05rem; color: #456058; font-size: .72rem; font-weight: 800; letter-spacing: .15em; line-height: 1.3; }
.eyebrow--light { color: #a8c7ba; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
.hero h1 { max-width: 760px; margin-bottom: 1.4rem; color: #f7f5f0; font-family: var(--serif); font-size: clamp(3rem, 5.65vw, 5.6rem); font-weight: 400; letter-spacing: -.03em; line-height: .98; }
.hero h1 em { display: block; color: #b9d3c8; font-style: italic; }
.hero-body { max-width: 605px; margin-bottom: 2rem; color: #d3e0dc; font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.68; }
.hero-buttons { display: flex; align-items: center; gap: 1.5rem; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: .13rem; font-size: .87rem; font-weight: 750; transition: color .2s ease; }
.text-link:hover { color: var(--coral); }
.text-link--light { color: #e7efeb; }
.hero-note { display: flex; align-items: center; gap: .48rem; margin: 2.2rem 0 0; color: #9fb6b1; font-size: .76rem; }
.start-card { position: relative; padding: 2rem; background: #f0f2ed; color: var(--ink); box-shadow: var(--shadow); }
.start-card::after { position: absolute; top: 0; left: 0; width: 54px; height: 4px; background: var(--coral); content: ''; }
.start-card-label { color: #4c6760; font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.start-card h2 { margin: .65rem 0 1.4rem; font-family: var(--serif); font-size: 1.92rem; font-weight: 400; letter-spacing: -.02em; line-height: 1.07; }
.quick-choices { display: grid; border-top: 1px solid #cfd9d3; }
.quick-choice { display: flex; justify-content: space-between; align-items: center; gap: .75rem; width: 100%; padding: 1rem 0; border: 0; border-bottom: 1px solid #cfd9d3; background: transparent; color: var(--ink); text-align: left; font-size: .86rem; font-weight: 700; transition: color .2s ease, padding .2s ease; }
.quick-choice:hover { padding-left: .4rem; color: var(--coral); }
.subtle-link { display: inline-flex; align-items: center; gap: .3rem; margin-top: 1.4rem; color: #49655e; font-size: .76rem; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.hero-trust { position: relative; display: flex; flex-wrap: wrap; gap: 1.7rem; margin-top: clamp(4rem, 7vw, 7rem); padding-top: 1.2rem; border-top: 1px solid rgba(208,232,219,.24); color: #bad3c9; font-size: .77rem; font-weight: 650; }
.hero-trust span { display: flex; align-items: center; gap: .35rem; }
.fade-up { animation: fadeUp .7s both ease-out; }
.rendered .fade-up { animation: none; }
.rendered .reveal { transition: none; }
.start-card.fade-up { animation-delay: .12s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.section { padding: clamp(5.5rem, 10vw, 9rem) 0; }
h2 { font-family: var(--serif); font-size: clamp(2.4rem, 4.1vw, 4.35rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.02; }
.split-intro { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.split-intro h2 { max-width: 1040px; margin-bottom: 0; }
.intro-copy { max-width: 760px; padding-top: 0; }
.intro-copy p { margin-bottom: 1.4rem; color: #4b616a; font-size: 1.08rem; line-height: 1.75; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(3rem, 6vw, 6rem); border-top: 1px solid var(--line); }
.value-card { min-height: 250px; padding: 2rem 2.2rem 1rem 0; border-right: 1px solid var(--line); }
.value-card + .value-card { padding-left: 2.2rem; }
.value-card:last-child { border-right: 0; }
.value-number { display: block; margin-bottom: 2.7rem; color: var(--coral); font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.value-card h3 { margin-bottom: .65rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; letter-spacing: -.025em; }
.value-card p { max-width: 270px; color: var(--muted); font-size: .92rem; }

.services { background: #e9eeea; }
.center-heading { max-width: 740px; margin: 0 auto; text-align: center; }
.section-heading h2 { margin-bottom: .9rem; }
.center-heading > p:last-child { margin: 0 auto; color: #526871; font-size: 1rem; }
.service-group + .service-group { margin-top: 3.6rem; }
.group-title { margin: 3.2rem 0 0; padding-bottom: .9rem; border-bottom: 1px solid rgba(10,32,48,.18); color: var(--ink); font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 400; letter-spacing: -.02em; }
.service-group + .service-group .group-title { margin-top: 0; }
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; align-items: stretch; margin-top: 1.6rem; }
.service-card { display: flex; flex-direction: column; min-height: 340px; padding: 1.55rem; border: 1px solid rgba(10,32,48,.12); background: #f8f8f4; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(23,51,71,.12); }
.service-card { grid-column: span 4; }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.25rem; }
.service-index { color: #4c6760; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.service-icon { display: grid; place-items: center; width: 42px; height: 42px; background: #d8e8e2; color: #315b5d; border-radius: 50%; }
.service-card h4 { margin-bottom: .65rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; letter-spacing: -.02em; }
.service-card p { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: 1.4rem; }
.tags span { padding: .25rem .44rem; border: 1px solid #d3dad3; color: #556c6b; font-size: .72rem; font-weight: 700; }
.service-link { display: flex; align-items: center; gap: .36rem; width: fit-content; margin-top: 1.25rem; padding: 0; border: 0; border-bottom: 1px solid #738a84; background: transparent; color: #1e4149; font-size: .76rem; font-weight: 800; }
.service-link:hover { color: var(--coral); }
.service-card.is-active { border-color: var(--coral); box-shadow: 0 0 0 2px var(--coral), 0 16px 30px rgba(219,104,77,.15); transform: translateY(-5px); }
.service-card.is-active .service-link { color: var(--coral); border-bottom-color: var(--coral); }

/* scroll-reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* stats strip */

.guide-section { position: relative; overflow: hidden; background: var(--ink); color: white; }
.guide-texture { position: absolute; inset: 0; opacity: .21; background: radial-gradient(circle at 77% 35%, #789e99 0 1px, transparent 1px 100%), radial-gradient(circle at 30% 20%, transparent 0 120px, rgba(217,104,77,.5) 120px 121px, transparent 121px 100%); background-size: 21px 21px, 100% 100%; }
.guide-layout { position: relative; display: grid; grid-template-columns: .77fr 1.23fr; gap: clamp(3rem, 10vw, 9rem); align-items: center; }
.guide-intro h2 { color: #f3f4ee; margin-bottom: 1.25rem; }
.guide-intro > p:not(.eyebrow):not(.guide-disclaimer) { max-width: 460px; color: #c6d9d3; font-size: 1.03rem; line-height: 1.75; }
.guide-disclaimer { max-width: 440px; margin-top: 3.2rem; color: #b3c8c1; font-size: .84rem; }
.guide-box { min-height: 390px; padding: clamp(1.5rem, 4vw, 3rem); background: #f4f3ee; color: var(--ink); box-shadow: 0 24px 58px rgba(0,0,0,.2); }
.guide-progress { display: flex; align-items: center; gap: .85rem; margin-bottom: 2.6rem; color: #4c6760; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.guide-progress div { width: 130px; height: 3px; overflow: hidden; background: #d5ddda; }
.guide-progress i { display: block; height: 100%; background: var(--coral); transition: width .25s ease; }
.guide-question h3 { max-width: 570px; margin-bottom: 1.4rem; font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.6rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.08; }
.guide-options { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.guide-option { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 63px; padding: .8rem .85rem; border: 1px solid #cbd4cf; background: transparent; color: #203f4b; text-align: left; font-size: .8rem; font-weight: 700; transition: border .2s ease, background .2s ease, color .2s ease; }
.guide-option:hover { border-color: var(--coral); background: #fbf0eb; color: #bd553c; }
.text-button { margin-top: 1.3rem; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: #48615f; font-size: .78rem; font-weight: 750; }
.guide-result { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.result-icon { display: grid; place-items: center; width: 52px; height: 52px; background: #dcebe5; color: #35665c; border-radius: 50%; }
.guide-result--urgent .result-icon { background: #f7ded5; color: #b84f38; }
.guide-result h3 { margin: .4rem 0 .7rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; letter-spacing: -.02em; }
.guide-result p { margin: 0; color: #566b70; }
.guide-result-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.guide-result > .text-button { grid-column: 2; justify-self: start; }

.process { background: #dce8e5; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.8rem; margin: 3.6rem 0 3rem; }
.process-grid article { padding-top: 1.1rem; border-top: 2px solid #91ada4; }
.process-grid span { color: var(--coral); font-family: var(--serif); font-size: 1.15rem; font-style: italic; }
.process-grid h3 { margin: 2rem 0 .6rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; letter-spacing: -.02em; }
.process-grid p { max-width: 305px; color: #536a70; font-size: .93rem; }
.process-note { display: flex; align-items: center; gap: .48rem; margin: 0; padding-top: 1.1rem; border-top: 1px solid rgba(49,88,91,.26); color: #49635f; font-size: .79rem; }

.ad-bar { background: #040f17; color: #e6eee9; font-size: .84rem; letter-spacing: .01em; text-align: center; }
.ad-bar-inner { padding: .45rem 0; }
.ad-bar a { margin-left: .4rem; color: #c2ddd2; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ad-bar a:hover { color: var(--coral); }

.lang-toggle { display: inline-flex; padding: 4px; border: 2px solid #8fa6a1; border-radius: 999px; background: #eef1ec; }
.lang-option { min-height: 46px; min-width: 96px; padding: .4rem 1.25rem; border: 0; border-radius: 999px; background: transparent; color: #34505c; font-size: 1.02rem; font-weight: 800; letter-spacing: .01em; transition: background .2s ease, color .2s ease; }
.lang-option:hover { color: var(--coral); }
.lang-option.is-active { background: var(--ink); color: white; }
.lang-option.is-active:hover { color: white; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.consult-form input:focus-visible, .consult-form select:focus-visible, .consult-form textarea:focus-visible { outline-offset: 1px; }

/* press feedback: respond on touch-down, instantly */
.button:active { transform: scale(.97); transition-duration: .08s; }
.quick-choice:active, .guide-option:active, .lang-option:active, .menu-button:active, .service-link:active, .text-link:active { opacity: .7; transition-duration: .06s; }
.service-card:active { transform: scale(.992); }
.faq-list summary:active, .service-more summary:active, .team-bio summary:active { opacity: .6; }

.service-more { margin-top: .2rem; }
.service-more summary, .team-bio summary { display: inline-flex; align-items: center; gap: .35rem; color: #1e4149; font-size: .76rem; font-weight: 800; list-style: none; cursor: pointer; }
.service-more summary::-webkit-details-marker, .team-bio summary::-webkit-details-marker { display: none; }
.service-more summary svg, .team-bio summary svg { transition: transform .2s ease; }
details[open] > summary svg { transform: rotate(180deg); }
.more-close { display: none; }
details[open] > summary .more-open { display: none; }
details[open] > summary .more-close { display: inline; }
.service-more p { margin: .8rem 0 0; color: #4d6268; font-size: .84rem; line-height: 1.65; }

.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); margin-top: 4rem; padding-top: 3rem; border-top: 1px solid rgba(10,32,48,.14); }
.coverage h3 { margin-bottom: 1.1rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; letter-spacing: -.02em; }
.coverage ul { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.coverage li { display: flex; gap: .55rem; align-items: flex-start; color: #34505c; font-size: .9rem; font-weight: 600; }
.coverage li svg { flex: none; margin-top: .15rem; color: var(--coral); }
.coverage dl { display: grid; gap: 1rem; margin: 0; }
.coverage dt { color: var(--ink); font-size: .82rem; font-weight: 800; letter-spacing: .02em; }
.coverage dd { margin: .15rem 0 0; color: #4d6268; font-size: .9rem; line-height: 1.6; }

.attorney { background: #f4f0e8; }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 9vw, 9rem); align-items: start; }
.about-layout h2 { max-width: 520px; margin-bottom: 0; }
.about-story p { max-width: 600px; margin-bottom: 1.1rem; color: #4d6268; font-size: 1.03rem; line-height: 1.75; }
.team-heading { margin: clamp(3.5rem, 7vw, 6rem) 0 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.9rem; font-weight: 400; letter-spacing: -.02em; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.team-card { padding: 1.7rem; border: 1px solid rgba(10,32,48,.12); background: #fbfaf6; }
.team-disc { position: relative; display: grid; place-items: center; width: 92px; aspect-ratio: 1; margin: .4rem 0 1.6rem; border-radius: 50%; background: #476b62; color: #ffffff; font-family: var(--serif); font-size: 2.1rem; font-style: italic; text-shadow: 0 2px 6px rgba(6,41,44,.2); }
.team-disc::after { position: absolute; inset: -7px; border: 1px solid rgba(197,96,73,.78); border-radius: 50%; content: ''; }
.team-card h4 { margin: 0 0 .2rem; color: var(--ink); font-family: var(--serif); font-size: 1.45rem; font-weight: 400; letter-spacing: -.02em; }
.team-role { margin-bottom: .8rem; color: var(--coral); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.team-summary { color: #4d6268; font-size: .9rem; line-height: 1.6; }
.team-bio { margin: 1rem 0; }
.team-bio p { margin: .8rem 0 0; color: #4d6268; font-size: .84rem; line-height: 1.68; }
.team-email { display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem; color: #1e4149; font-size: .78rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.team-email:hover { color: var(--coral); }

.legal-page { background: var(--paper); }
.legal-inner { max-width: 820px; }
.legal-back { margin-bottom: 2rem; }
.legal-page h1 { margin-bottom: 1rem; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 400; letter-spacing: -.03em; }
.legal-intro { margin-bottom: 2.4rem; color: #4d6268; font-size: 1.08rem; }
.legal-page section { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal-page h2 { margin-bottom: .8rem; font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.02em; line-height: 1.2; }
.legal-page section p { color: #3f565f; font-size: .96rem; line-height: 1.75; }

.faq { background: #f8f8f5; }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 11vw, 11rem); }
.faq-heading h2 { margin-bottom: 2rem; }
.faq-list { border-top: 1px solid #cbd2cd; }
.faq-list details { border-bottom: 1px solid #cbd2cd; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; color: #183947; list-style: none; font-family: var(--serif); font-size: 1.31rem; letter-spacing: -.025em; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; place-items: center; color: #58736d; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(180deg); }
.faq-list details p { max-width: 700px; margin: -.3rem 2.5rem 1.35rem 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }

.contact { background: #0a2131; color: white; }
.contact-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact-copy h2 { max-width: 500px; color: #f1f2eb; }
.contact-copy > p:not(.eyebrow) { max-width: 480px; margin-bottom: 2.2rem; color: #c0d0cc; font-size: .98rem; line-height: 1.7; }
.contact-method { display: flex; gap: .85rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(208,230,220,.23); }
.contact-method > span { flex: none; color: #b4d2c5; }
.contact-method div { display: grid; gap: .16rem; }
.contact-method small { color: #9ab6ae; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-method a { width: fit-content; color: white; font-family: var(--serif); font-size: 1.18rem; text-decoration: underline; text-decoration-color: #71948a; text-underline-offset: 4px; }
.contact-method address { color: #e1e9e5; font-style: normal; font-size: .89rem; }
.contact-method em { color: #9db6af; font-size: .73rem; font-style: normal; }
.contact-method address + a { margin-top: .3rem; color: #c4ded4; font-family: var(--sans); font-size: .78rem; font-weight: 750; }
.consult-form { padding: clamp(1.3rem, 3.5vw, 2.4rem); background: #f5f4ee; color: var(--ink); }
.consult-form h3 { margin-bottom: .1rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; letter-spacing: -.02em; }
.form-required { margin-bottom: 1.45rem; color: #5d706d; font-size: .8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.consult-form label { display: grid; gap: .35rem; margin-bottom: .9rem; color: #3c575c; font-size: .72rem; font-weight: 800; }
.consult-form input:not([type=checkbox]), .consult-form select, .consult-form textarea { width: 100%; padding: .7rem .72rem; border: 1px solid #bdc7c1; border-radius: 0; background: #fffefa; color: var(--ink); font-size: .9rem; font-weight: 500; transition: border .2s ease, box-shadow .2s ease; }
.consult-form input:focus, .consult-form select:focus, .consult-form textarea:focus { border-color: #4e8276; box-shadow: 0 0 0 3px rgba(91,137,124,.18); }
.consult-form textarea { resize: vertical; }
.consult-form .checkbox { display: flex; align-items: flex-start; gap: .55rem; margin: 1.15rem 0; color: #44605e; font-size: .82rem; line-height: 1.5; }
.checkbox input { margin: .14rem 0 0; accent-color: var(--ink); }
.form-error { margin: -.4rem 0 .9rem; color: #b13d30; font-size: .77rem; font-weight: 700; }
.contact-success { display: grid; place-items: center; max-width: 720px; min-height: 470px; margin: 0 auto; text-align: center; }
.success-icon { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 1.3rem; border-radius: 50%; background: #b8d8ca; color: #1d4c48; }
.contact-success h2 { margin-bottom: 1rem; color: white; }
.contact-success > p:not(.eyebrow) { max-width: 520px; margin-bottom: 2rem; color: #c6d6d1; }

.site-footer { background: #061822; color: #c2d0ca; }
.footer-main { display: grid; grid-template-columns: 1.8fr .7fr 1.1fr; gap: 3rem; padding: 4.5rem 0 3.6rem; }
.footer-brand .brand { color: white; }
.footer-brand .brand-type strong { color: #f3f3ed; }
.footer-brand .brand-type small { color: #b2c6be; }
.footer-brand p { max-width: 300px; margin: 1.1rem 0 0; color: #a7bbb4; font-size: .83rem; line-height: 1.6; }
.footer-main h3 { margin-bottom: 1rem; color: #96b9ac; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-legal-title { margin-top: 1.2rem; }
.footer-main nav, .footer-main > div:last-child { display: grid; align-content: start; gap: .55rem; }
.footer-main a { max-width: 245px; color: #dce4df; font-size: .8rem; transition: color .2s ease; }
.footer-main a:hover { color: var(--coral); }
.footer-bottom { display: grid; grid-template-columns: 1.55fr 1fr; gap: 3rem; padding: 1.4rem 0 2.2rem; border-top: 1px solid rgba(214,231,220,.15); }
.footer-bottom p { margin: 0; color: #a3b6af; font-size: .82rem; line-height: 1.7; }
.footer-bottom div { display: grid; justify-items: end; gap: .35rem; color: #a3b6af; font-size: .78rem; text-align: right; }
.toast { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 40; max-width: 350px; padding: .95rem 1rem; background: #e6f0ec; color: #1e4e48; box-shadow: 0 12px 30px rgba(0,0,0,.18); font-size: .82rem; font-weight: 700; }

@media (max-width: 1330px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .mobile-menu { position: absolute; top: 100%; left: 0; right: 0; display: none; grid-template-columns: 1fr; gap: .2rem; padding: 1rem 24px 1.3rem; border-top: 1px solid #d4d9d4; background: #f7f5f0; box-shadow: 0 12px 18px rgba(7,27,39,.12); }
  .mobile-menu.is-open { display: grid; }
  .mobile-menu a:not(.button) { padding: .65rem 0; color: #2e4a55; font-size: .88rem; font-weight: 700; }
  .mobile-menu .button { margin-top: .45rem; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .hero-layout, .guide-layout, .about-layout, .faq-layout, .contact-layout, .coverage { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 640px; }
  .hero-layout { gap: 3.5rem; }
  .hero-copy { max-width: 750px; }
  .start-card { max-width: 550px; }
  .guide-intro { max-width: 650px; }
  .guide-disclaimer { margin-top: 1.7rem; }
  .guide-box { max-width: 720px; }
  .faq-layout { gap: 2.6rem; }
  .contact-copy { max-width: 620px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { grid-column: span 1; min-height: 0; }
  .footer-main { grid-template-columns: 1.3fr .7fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 34px, 1180px); }
  .utility-inner { justify-content: center; min-height: 34px; }
  .utility-urgent span, .utility-meta { display: none; }
  .utility-urgent { font-size: .72rem; }
  .site-header .container { width: min(100% - 28px, 1320px); }
  .header-inner { height: 70px; gap: .4rem; }
  .brand { gap: .4rem; }
  .brand-mark { width: 24px; height: 27px; }
  .brand-type strong { font-size: .62rem; letter-spacing: .06em; }
  .brand-type small { display: none; }
  .header-actions { gap: .3rem; }
  .menu-button { width: 38px; height: 38px; flex: none; }
  .lang-toggle { margin-left: auto; }
  .lang-option { min-height: 40px; min-width: 0; padding: .25rem .7rem; font-size: .88rem; }
  .ad-bar { font-size: .72rem; }
  .hero { padding-top: 3.6rem; }
  .hero-grid { background-size: 42px 42px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.3rem); }
  .hero-buttons { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .hero-note { align-items: flex-start; line-height: 1.45; }
  .start-card { padding: 1.45rem; }
  .hero-trust { gap: .8rem 1rem; }
  .split-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card, .value-card + .value-card { min-height: auto; padding: 1.65rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-card:last-child { border-bottom: 0; }
  .value-number { margin-bottom: 1.2rem; }
  .services-grid { grid-template-columns: 1fr; margin-top: 2.3rem; }
  .guide-box { min-height: 0; padding: 1.35rem; }
  .guide-progress { margin-bottom: 1.8rem; }
  .guide-options { grid-template-columns: 1fr; }
  .guide-result { grid-template-columns: 1fr; }
  .guide-result-actions, .guide-result > .text-button { grid-column: 1; }
  .guide-result h3 { margin-top: 0; }
  .process-grid { grid-template-columns: 1fr; gap: 1.1rem; margin: 2.6rem 0; }
  .process-grid h3 { margin-top: 1rem; }
  .faq-list summary { padding: 1.1rem 0; font-size: 1.15rem; }
  .faq-list details p { margin-right: .2rem; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .consult-form { padding: 1.3rem; }
    .footer-main, .footer-bottom { grid-template-columns: 1fr; gap: 2rem; }
  .footer-main { padding: 3.2rem 0 2.8rem; }
  .footer-bottom { gap: 1rem; }
  .footer-bottom div { justify-items: start; text-align: left; }
  .toast { right: 1rem; bottom: 1rem; left: 1rem; max-width: none; }
}

@media (max-width: 350px) {
  .brand-type { display: none; }
  .brand { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* touch screens: hover never "sticks" after a tap */
@media (hover: none) {
  .button:hover, .service-card:hover:not(.is-active) { transform: none; box-shadow: none; }
  .quick-choice:hover { padding-left: 0; color: var(--ink); }
  .guide-option:hover { border-color: #cbd4cf; background: transparent; color: #203f4b; }
  .text-link:hover, .service-link:hover, .desktop-nav a:hover { color: inherit; }
}

/* user accessibility preferences */
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--paper); backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #3e4d55; --line: #8a9a96; }
  .site-header { background: var(--paper); backdrop-filter: none; border-bottom-color: var(--ink); }
  .service-card, .team-card, .consult-form input:not([type=checkbox]), .consult-form select, .consult-form textarea { border-color: #41606e; }
  .tags span { border-color: #41606e; color: var(--ink); }
  .service-card p, .team-summary, .team-bio p, .service-more p, .about-story p, .intro-copy p, .faq-list details p { color: var(--ink); }
}

@media print {
  .ad-bar, .utility-bar, .site-header, .hero-grid, .hero-orbit, .guide-texture, .toast, .menu-button { display: none !important; }
  .reveal, .fade-up { opacity: 1 !important; transform: none !important; animation: none !important; }
  details > * { display: block !important; }
  .hero, .guide-section, .contact, .site-footer { background: none !important; color: #000 !important; }
  .hero *, .guide-section *, .contact *, .site-footer * { color: #000 !important; }
  a { text-decoration: underline; }
}

/* coral used as TEXT on light surfaces needs the deeper tone */
.value-number, .process-grid span, .team-role { color: var(--coral-text); }
.desktop-nav a:hover, .text-link:hover, .service-link:hover, .quick-choice:hover, .team-email:hover, .service-card.is-active .service-link { color: var(--coral-text); }
.text-link--light:hover { color: #f3b8a8; }
.guide-option:hover { color: var(--coral-text); }
.service-card.is-active .service-link { border-bottom-color: var(--coral-text); }
.lang-option:hover { color: var(--coral-text); }
.lang-option.is-active:hover { color: #fff; }

/* Larger invisible hit areas (>= 44px) for small text links, without changing how they look */
.text-link, .subtle-link, .service-link, .text-button, .team-email, .service-more summary, .team-bio summary, .utility-urgent, .desktop-nav a, .brand, .ad-bar a, .footer-main a, .contact-method a, .legal-back { position: relative; }
.text-link::after, .subtle-link::after, .service-link::after, .text-button::after, .team-email::after, .service-more summary::after, .team-bio summary::after, .utility-urgent::after, .desktop-nav a::after, .brand::after, .ad-bar a::after, .footer-main a::after, .contact-method a::after, .legal-back::after { content: ''; position: absolute; inset: -12px -6px; }

/* keep the top info bar on one line in both languages */
@media (max-width: 1100px) { .utility-meta span:last-child { display: none; } }
@media (max-width: 860px) { .utility-meta { display: none; } .utility-inner { justify-content: center; } }

/* guide: Immigration / Family Court tabs */
.guide-tabs { display: flex; gap: .4rem; margin: 0 0 1.8rem; padding: 4px; border: 1px solid #cbd4cf; border-radius: 999px; background: #e8ece7; }
.guide-tab { flex: 1; min-height: 46px; padding: .4rem 1rem; border: 0; border-radius: 999px; background: transparent; color: #34505c; font-size: 1rem; font-weight: 800; transition: background .2s ease, color .2s ease; }
.guide-tab.is-active { background: var(--ink); color: #fff; }
.guide-tab:not(.is-active):hover { color: var(--coral-text); }

/* helpful links (inside the FAQ section) */
.helpful-links { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2.2rem; border-top: 1px solid #cbd2cd; }
.helpful-links h3 { margin-bottom: 1.2rem; font-family: var(--serif); font-size: 1.9rem; font-weight: 400; letter-spacing: -.02em; }
.helpful-links ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem 2.5rem; margin: 0; padding: 0; list-style: none; }
.helpful-links li > a { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); font-size: 1.02rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.helpful-links li > a:hover { color: var(--coral-text); }
.helpful-links li p { margin: .3rem 0 0; color: var(--muted); font-size: .9rem; }
.links-note { margin: 1.6rem 0 0; color: #5d706d; font-size: .82rem; }

/* spam trap: invisible to people, tempting to bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-box { margin: .4rem 0 1rem; min-height: 65px; }
.consult-form button[disabled] { opacity: .7; cursor: progress; }

.noscript-box { max-width: 640px; margin: 3rem auto; padding: 0 1.5rem; font-family: Georgia, serif; line-height: 1.6; color: #0a2030; }

.hero-layout--solo { grid-template-columns: 1fr; }

/* extra sections Marc can add */
.custom { background: var(--paper-deep, #ebe8df); }
.custom-text { max-width: 820px; margin: 0 auto 2rem; }
.custom-text p { color: #3f565f; font-size: 1.08rem; line-height: 1.75; }
.custom-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.custom-box { padding: 1.6rem; border: 1px solid rgba(10,32,48,.12); background: #fbfaf6; }
.custom-box h3 { margin: 0 0 .6rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; letter-spacing: -.02em; }
.custom-box p { margin: 0; color: var(--muted); line-height: 1.65; }
.custom-cta { margin: 2rem 0 0; text-align: center; }

/* ===== Size controls =====
   Marc changes these in the editor (content/site.json -> style). Each value is limited in app.js
   (applyStyle) so nothing can be made big or small enough to break the layout. 1 = normal. */
html { font-size: calc(100% * var(--text-scale, 1)); }
.header-inner { height: auto; min-height: calc(104px * var(--header-scale, 1)); padding-block: .4rem; }
.brand { gap: 1rem; }
.brand-mark { width: calc(44px * var(--logo-scale, 1)); height: calc(48px * var(--logo-scale, 1)); }
.brand-mark span { width: calc(10px * var(--logo-scale, 1)); }
.brand-type { gap: .4rem; }
.brand-type strong { font-size: calc(1.22rem * var(--name-scale, 1)); letter-spacing: .05em; white-space: nowrap; }
.brand-type small { font-size: calc(.74rem * var(--tag-scale, 1)); letter-spacing: .14em; }
.hero h1 { font-size: calc(clamp(3rem, 5.65vw, 5.6rem) * var(--headline-scale, 1)); overflow-wrap: anywhere; }
h2 { font-size: calc(clamp(2.4rem, 4.1vw, 4.35rem) * var(--heading-scale, 1)); overflow-wrap: break-word; }
.hero-layout { min-width: 0; }

@media (max-width: 1100px) {
  .header-inner { min-height: calc(92px * var(--header-scale, 1)); }
  .brand-type strong { font-size: calc(1.1rem * var(--name-scale, 1)); }
  .brand-type small { font-size: calc(.66rem * var(--tag-scale, 1)); }
}
/* phones: sizes can grow, but only up to a safe limit, and the name wraps so the menu button always fits */
@media (max-width: 640px) {
  .header-inner { min-height: calc(74px * min(var(--header-scale, 1), 1.25)); }
  .brand { gap: .5rem; }
  .brand-mark { width: calc(28px * min(var(--logo-scale, 1), 1.4)); height: calc(31px * min(var(--logo-scale, 1), 1.4)); }
  .brand-mark span { width: calc(7px * min(var(--logo-scale, 1), 1.4)); }
  .brand-type strong { font-size: calc(.8rem * min(var(--name-scale, 1), 1.3)); letter-spacing: .04em; }
  .brand-type small { display: none; }
  .hero h1 { font-size: calc(clamp(2.75rem, 13vw, 4.3rem) * min(var(--headline-scale, 1), 1.15)); }
  h2 { font-size: calc(clamp(2.4rem, 4.1vw, 4.35rem) * min(var(--heading-scale, 1), 1.2)); }
}
@media (max-width: 520px) {
  .brand-type strong { white-space: normal; max-width: calc(8.2rem * min(var(--name-scale, 1), 1.3)); line-height: 1.12; font-size: calc(.78rem * min(var(--name-scale, 1), 1.3)); }
  .header-actions { gap: .25rem; }
  .lang-option { padding: .25rem .55rem; font-size: .8rem; }
}
@media (max-width: 420px) {
  .brand { gap: .35rem; }
  .brand-mark { width: calc(24px * min(var(--logo-scale, 1), 1.4)); height: calc(27px * min(var(--logo-scale, 1), 1.4)); }
  .brand-mark span { width: calc(6px * min(var(--logo-scale, 1), 1.4)); }
  .brand-type strong { max-width: calc(6.4rem * min(var(--name-scale, 1), 1.3)); font-size: calc(.7rem * min(var(--name-scale, 1), 1.3)); letter-spacing: .02em; }
  .lang-option { padding: .25rem .45rem; font-size: .76rem; }
  .menu-button { width: 36px; height: 36px; }
}
@media (max-width: 350px) { .brand-type { display: none; } }

/* If the header ever gets too full for the menu (for example after enlarging the logo), app.js switches to the compact menu. */
.nav-collapsed .desktop-nav { display: none; }
.nav-collapsed .menu-button { display: grid; }
.nav-collapsed .mobile-menu { position: absolute; top: 100%; left: 0; right: 0; display: none; grid-template-columns: 1fr; gap: .2rem; padding: 1rem 24px 1.3rem; border-top: 1px solid #d4d9d4; background: #f7f5f0; box-shadow: 0 12px 18px rgba(7,27,39,.12); }
.nav-collapsed .mobile-menu.is-open { display: grid; }
.nav-collapsed .mobile-menu a:not(.button) { padding: .65rem 0; color: #2e4a55; font-size: .88rem; font-weight: 700; }
.nav-collapsed .mobile-menu .button { margin-top: .45rem; }

/* ===== Safety net so enlarged sizes wrap instead of breaking the page ===== */
.header-inner { flex-wrap: wrap; row-gap: .4rem; }
.brand { min-width: 0; max-width: 100%; }
.brand-type { min-width: 0; }
.brand-type strong { white-space: normal; overflow-wrap: anywhere; line-height: 1.12; }
[class*="-layout"] > *, .container > * { min-width: 0; }
main :is(h1, h2, h3, h4, p, li, dt, dd, summary, span, a, small, em) { overflow-wrap: break-word; }
@media (max-width: 640px) { html { font-size: calc(100% * min(var(--text-scale, 1), 1.2)); } }
.contact-method > div { min-width: 0; }
.contact-method a, .footer-main a, .team-email { overflow-wrap: anywhere; }
.guide-tab { min-width: 0; padding-inline: .5rem; overflow-wrap: anywhere; line-height: 1.15; }
.guide-tabs { flex-wrap: wrap; }
.utility-inner { flex-wrap: wrap; row-gap: .15rem; padding-block: .3rem; }
@media (max-width: 1400px) { .utility-meta { flex-wrap: wrap; } }

/* Attorney photo beside the top headline */
.hero-title-row { display: flex; align-items: center; gap: clamp(1.3rem, 2.6vw, 2.4rem); margin-bottom: 1.4rem; min-width: 0; container-type: inline-size; }
.hero-title-row h1 { flex: 1; min-width: 0; margin-bottom: 0; }
/* with the photo beside it, keep the longest word ("IMMIGRATION") on one line */
.hero-title-row:has(.hero-portrait) h1 { font-size: min(calc(clamp(3rem, 5.65vw, 5.6rem) * var(--headline-scale, 1)), calc((100cqi - clamp(150px, 14vw, 205px) - 2.6rem) / 6.9)); overflow-wrap: normal; }
.hero-portrait { flex: none; width: clamp(150px, 14vw, 205px); margin: 0; }
.hero-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; background: #1c3442; border: 1px solid rgba(208, 232, 219, .32); box-shadow: 0 22px 48px rgba(0, 0, 0, .34); }
.hero-portrait figcaption { display: grid; gap: .12rem; margin-top: .7rem; color: #bad3c9; font-size: .74rem; line-height: 1.3; }
.hero-portrait figcaption strong { color: #f7f5f0; font-size: .82rem; font-weight: 700; }
@media (max-width: 640px) {
  .hero-title-row { flex-direction: column; align-items: flex-start; gap: 1.3rem; }
  .hero-portrait { display: flex; align-items: center; gap: .95rem; width: auto; }
  .hero-portrait img { width: 104px; }
  .hero-portrait figcaption { margin-top: 0; }
  .hero-title-row:has(.hero-portrait) h1 { font-size: min(calc(clamp(2.75rem, 13vw, 4.3rem) * min(var(--headline-scale, 1), 1.15)), calc(100cqi / 6.9)); }
}
@media print { .hero-portrait img { box-shadow: none; } }
