:root {
  --ink: #101824;
  --muted: #596575;
  --paper: #ffffff;
  --soft: #f3f6f9;
  --line: #d9e0e8;
  --blue: #075bbc;
  --blue-dark: #05346f;
  --cyan: #05a2d4;
  --navy: #071b35;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Trebuchet MS', 'Gill Sans', Calibri, sans-serif;
  --shadow: 0 20px 60px rgba(8, 27, 53, .12);
  --radius: 2px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a, button, input, textarea { touch-action: manipulation; -webkit-tap-highlight-color: rgba(7, 91, 188, .18); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; scroll-margin-top: 1rem; }
h1, h2 { font-family: var(--serif); }
h1 { font-size: clamp(2.6rem, 6vw, 5.7rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: 1rem; padding: .75rem 1rem; color: white; background: var(--navy); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.announcement { color: #fff; background: var(--navy); font-size: .83rem; }
.announcement__inner { display: flex; justify-content: flex-end; gap: 1.25rem; align-items: center; min-height: 38px; }
.announcement a { color: #fff; font-weight: 700; text-decoration: none; }
.masthead { min-height: 108px; display: flex; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; min-width: 190px; }
.brand__mark { width: 48px; aspect-ratio: 1; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font-weight: 800; letter-spacing: -.04em; box-shadow: inset 0 0 0 4px rgba(255,255,255,.22); }
.brand__words { display: flex; flex-direction: column; line-height: 1; }
.brand__words strong { color: var(--blue); font-size: 1.08rem; letter-spacing: -.03em; }
.brand__words small { margin-top: .22rem; color: var(--ink); font-family: var(--serif); font-size: 1.05rem; }
.primary-nav { display: flex; align-items: center; gap: .72rem; margin-left: auto; }
.primary-nav > a, .nav-group > button { padding: .55rem 0; border: 0; color: var(--ink); background: none; text-decoration: none; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.primary-nav > a:hover, .primary-nav > a[aria-current='page'], .nav-group > button:hover { color: var(--blue); }
.nav-group { position: relative; }
.nav-group > button span { margin-left: .2rem; color: var(--blue); }
.nav-group__menu { position: absolute; z-index: 50; top: calc(100% + .65rem); left: 50%; min-width: 240px; padding: .6rem; background: #fff; border-top: 3px solid var(--blue); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, .5rem); transition: .2s ease; }
.nav-group:hover .nav-group__menu, .nav-group.is-open .nav-group__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-group__menu a { display: block; padding: .6rem .75rem; color: var(--ink); text-decoration: none; font-size: .88rem; }
.nav-group__menu a:hover { color: var(--blue); background: var(--soft); }
.header-cta { padding: .7rem .85rem; color: #fff; background: var(--blue); text-decoration: none; font-weight: 800; font-size: .76rem; white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); background: #fff; }
.menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 4px 0; background: var(--ink); }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .8rem 1.3rem; border: 1px solid transparent; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(7, 91, 188, .2); }
.button--primary { color: #fff; background: var(--blue); }
.button--outline { color: var(--blue); border-color: var(--blue); background: transparent; }
.button--light { color: var(--navy); background: #fff; }
.button--full { width: 100%; }
.button:disabled { cursor: wait; opacity: .72; transform: none; box-shadow: none; }
.button-row { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.text-link { color: var(--ink); font-weight: 800; text-underline-offset: 5px; }
.eyebrow { display: block; margin-bottom: 1rem; color: var(--blue); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 900; }

.help-bar { color: #fff; background: #02060b; }
.help-bar .shell { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 2rem; }
.help-bar strong { font-family: var(--serif); font-size: 1.4rem; }
.help-bar a { padding: .55rem 1rem; color: #fff; background: var(--blue); text-decoration: none; font-size: .82rem; font-weight: 800; }
.service-ribbon { padding: .35rem; color: #fff; background: var(--blue); text-align: center; font-size: .78rem; }
.editorial-hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 690px; }
.hero-visual { position: relative; overflow: hidden; background: #d8e5f4; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual__caption { position: absolute; left: 1.5rem; bottom: 1.5rem; display: flex; gap: .75rem; align-items: center; padding: .7rem 1rem; color: #fff; background: rgba(2, 9, 20, .88); font-size: .82rem; }
.hero-visual__caption span { display: grid; width: 34px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-weight: 800; }
.hero-form { padding: clamp(2rem, 5vw, 4.8rem); background: #eef1f4; }
.hero-form h1 { margin-bottom: .5rem; font-size: clamp(2.4rem, 4.5vw, 4rem); }
.hero-form > p { margin-bottom: 2rem; font-family: var(--serif); font-size: 1.2rem; }

.minimal-hero { position: relative; min-height: 700px; overflow: hidden; display: grid; place-items: center; background: #fff; }
.minimal-hero__inner { position: relative; z-index: 2; max-width: 860px; padding: 8rem 0; text-align: center; }
.minimal-hero h1 { margin-bottom: 1.5rem; font-family: var(--sans); font-size: clamp(3.5rem, 9vw, 7.8rem); font-weight: 900; letter-spacing: -.075em; }
.minimal-hero h1 em { color: var(--blue); font-family: var(--serif); font-weight: 400; }
.minimal-hero__lede { max-width: 670px; margin: 0 auto 2.2rem; font-size: 1.12rem; }
.minimal-hero .button-row { justify-content: center; }
.minimal-badge { display: inline-flex; padding: .45rem .75rem; margin-bottom: 2rem; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.minimal-orbit { position: absolute; border: 1px solid rgba(7,91,188,.13); border-radius: 50%; }
.minimal-orbit--one { width: 540px; height: 540px; top: -320px; right: -110px; }
.minimal-orbit--two { width: 420px; height: 420px; bottom: -290px; left: -140px; }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--tint { background: var(--soft); }
.section--dark { color: #fff; background: var(--navy); }
.section-heading { max-width: 760px; margin-bottom: 3.25rem; }
.section-heading h2 { margin-bottom: 1rem; }
.section-heading > p { max-width: 640px; }
.section-heading--light h2, .section-heading--light h3 { color: #fff; }
.section-heading--light p { color: #bfd0e2; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 365px; display: flex; flex-direction: column; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); background: #fff; text-decoration: none; transition: color .25s ease, background .25s ease, transform .25s ease; }
.service-card:hover { z-index: 2; color: #fff; background: var(--blue); transform: translateY(-8px); }
.service-card:hover p, .service-card:hover .service-card__link { color: #fff; }
.service-card__mark { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 4.5rem; color: var(--blue); background: var(--soft); border-radius: 50%; font-family: var(--serif); font-size: 1.5rem; }
.service-card h3 { font-family: var(--serif); font-size: 1.55rem; }
.service-card p { font-size: .92rem; }
.service-card__link { margin-top: auto; color: var(--blue); font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.welcome-grid, .content-grid, .consultation-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.welcome-copy p, .prose p { font-size: 1.04rem; }
.location-card { position: relative; padding: clamp(2.5rem, 6vw, 5rem); color: #fff; background: var(--blue); overflow: hidden; }
.location-card::after { content: ''; position: absolute; right: -90px; bottom: -100px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.location-card p { color: #dbeaff; }
.location-card h3 { max-width: 460px; font-family: var(--serif); font-size: 1.8rem; }
.location-card__code { display: block; margin-bottom: 2.5rem; font-size: clamp(4rem, 9vw, 8rem); font-weight: 900; line-height: .8; opacity: .18; }
.location-card__line { width: 65px; height: 2px; margin: 2rem 0; background: #fff; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.2); }
.principles-grid article { min-height: 300px; padding: 2.5rem; background: var(--navy); }
.principles-grid span { display: block; margin-bottom: 5rem; color: var(--cyan); font-family: var(--serif); font-size: 1.4rem; }
.principles-grid h3 { color: #fff; font-family: var(--serif); font-size: 1.8rem; }
.principles-grid p { color: #b9c8d8; }

.consultation-section { background: #f7f8fa; }
.consultation-grid { align-items: start; }
.consultation-grid img { margin-top: 2.5rem; width: 100%; max-height: 300px; object-fit: cover; }
.form-panel { padding: clamp(1.5rem, 4vw, 3rem); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-panel > h2, .form-panel > h3 { margin-bottom: 1.5rem; font-family: var(--serif); font-size: 2rem; }
.consultation-form { display: grid; gap: .85rem; }
.form-row { min-width: 0; }
.form-row label { display: grid; gap: .35rem; color: var(--ink); font-size: .78rem; font-weight: 800; }
.form-row:focus-within label { color: var(--blue); }
.form-row input:not([type='checkbox']), .form-row textarea { width: 100%; padding: .8rem .9rem; border: 1px solid #b9c2cd; border-radius: 0; color: var(--ink); background: #fff; }
.form-row textarea { resize: vertical; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--blue); outline: 2px solid rgba(7,91,188,.18); }
.consent-row { display: grid; grid-template-columns: auto 1fr; gap: .55rem; align-items: start; }
.consent-row label { display: block; font-weight: 500; line-height: 1.4; }
.consent-row input { margin-top: .25rem; accent-color: var(--blue); }
.field-error { min-height: 1em; margin: .2rem 0 0; color: #a11523; font-size: .72rem; }
.form-alert { padding: .7rem .85rem; font-size: .8rem; }
.form-alert--error { color: #81101d; background: #ffe8eb; border-left: 3px solid #c5283d; }
.form-alert--success { color: #154d2e; background: #e6f6eb; border-left: 3px solid #27834c; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-message { padding: .8rem .9rem; border-left: 3px solid var(--blue); color: #23405d; background: #eaf3fc; font-size: .82rem; }
.form-message[hidden] { display: none; }
.form-message--success { color: #154d2e; background: #e6f6eb; border-left-color: #27834c; }
.form-message--error { color: #81101d; background: #ffe8eb; border-left-color: #c5283d; }
.consultation-form .iti { width: 100%; display: block; }
.consultation-form .iti input { width: 100%; padding-left: 58px !important; }
.consultation-form .iti__country-list { z-index: 10000; max-width: min(360px, 85vw); color: var(--ink); background: #fff; border-color: var(--line); box-shadow: var(--shadow); white-space: normal; }
.consultation-form .iti__country.iti__highlight { background: var(--soft); }

.page-hero { padding: clamp(5rem, 10vw, 9rem) 0; background: linear-gradient(115deg, #eef4fb 0%, #fff 70%); border-top: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.page-hero h1 { margin-bottom: 1.4rem; }
.page-hero p { max-width: 700px; font-size: 1.12rem; }
.page-hero__art { position: relative; min-height: 310px; display: grid; place-items: center; color: #fff; background: var(--blue); overflow: hidden; }
.page-hero__art::before, .page-hero__art::after { content: ''; position: absolute; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.page-hero__art::before { width: 340px; height: 340px; top: -190px; right: -100px; }
.page-hero__art::after { width: 240px; height: 240px; bottom: -140px; left: -60px; }
.page-hero__art span { position: absolute; left: 2rem; top: 2rem; font-weight: 900; letter-spacing: .15em; }
.page-hero__art strong { font-family: var(--serif); font-size: 6rem; }
.page-hero__quote { padding: 2.5rem; border-left: 4px solid var(--blue); background: #fff; box-shadow: var(--shadow); }
.page-hero__quote blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.65rem; line-height: 1.35; }
.page-hero__quote cite { color: var(--blue); font-style: normal; font-weight: 800; }
.prose h2 { margin-bottom: 1.5rem; }
.prose .notice { margin-top: 2rem; }
.notice { padding: 1.25rem 1.4rem; color: #344050; background: #edf4fb; border-left: 4px solid var(--blue); font-size: .88rem; }
.checklist-card, .statement-card { padding: clamp(2rem, 5vw, 4rem); background: var(--navy); }
.checklist-card h2, .statement-card h2 { color: #fff; font-size: 2rem; }
.checklist-card p, .statement-card p { color: #bdd0e5; }
.check-list { display: grid; gap: .9rem; padding: 0; margin: 1.8rem 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.8rem; color: #e5eff9; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--cyan); font-weight: 900; }
.statement-card__number { margin-bottom: 1rem; color: var(--cyan) !important; font-family: var(--serif); font-size: 5rem; line-height: 1; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.values-grid article { min-height: 240px; padding: 2rem; background: #fff; }
.values-grid h3 { font-family: var(--serif); font-size: 1.6rem; }
.process-grid { counter-reset: process; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 0; list-style: none; }
.process-grid li { min-height: 240px; padding: 2rem; background: #fff; border-top: 3px solid var(--blue); box-shadow: 0 10px 30px rgba(8,27,53,.06); }
.process-grid span { display: block; margin-bottom: 4rem; color: var(--blue); font-family: var(--serif); font-size: 1.7rem; }
.process-grid p { color: var(--ink); font-weight: 700; }
.faq-band, .credential-band { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 3rem; align-items: center; padding: 3rem; border: 1px solid var(--line); }
.faq-band h2, .credential-band h2 { margin-bottom: 0; font-size: 2.4rem; }
.faq-band p, .credential-band p { margin-bottom: 0; }
.attorney-hero { padding-bottom: 0; }
.attorney-grid { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.attorney-portrait { align-self: end; padding: 1.5rem 1.5rem 0; background: var(--blue); }
.attorney-title { color: var(--blue) !important; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem !important; }
.contact-direct { padding: 2.5rem; color: #fff; background: var(--navy); }
.contact-direct span, .contact-direct small { display: block; color: #bdd0e5; }
.contact-direct a { display: block; margin: .5rem 0; color: #fff; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.5rem); text-decoration: none; }
.contact-aside dl { margin: 2rem 0; }
.contact-aside dt { margin-top: 1.3rem; color: var(--blue); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 900; }
.contact-aside dd { margin: .25rem 0; color: var(--muted); }
.contact-aside a { color: var(--ink); }

.consultation-page-hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.consultation-page-hero::after { content: ''; position: absolute; width: 430px; height: 430px; right: -140px; top: -250px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.consultation-page-hero__inner { position: relative; z-index: 1; max-width: 850px; }
.consultation-page-hero .eyebrow { color: #91cfff; }
.consultation-page-hero h1 { margin-bottom: 1.25rem; }
.consultation-page-hero p { color: #c4d3e3; }
.consultation-options-section { background: linear-gradient(180deg, #f6f8fb 0%, #fff 72%); }
.consultation-options-heading { text-align: center; margin-inline: auto; }
.consultation-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.consultation-card { flex: 0 1 calc(25% - 1rem); min-width: 245px; min-height: 650px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.65rem; border: 1px solid var(--line); border-top: 4px solid var(--blue); background: #fff; box-shadow: 0 12px 34px rgba(8,27,53,.07); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.consultation-card:hover { transform: translateY(-7px); border-color: var(--blue); box-shadow: var(--shadow); }
.consultation-card__service { margin-bottom: .55rem; color: var(--blue); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.consultation-card h3 { min-height: 3.2rem; margin-bottom: 1rem; font-family: var(--serif); font-size: 1.48rem; text-align: center; }
.consultation-card__price { padding: .65rem 0; margin: 0; border-block: 1px solid var(--line); color: var(--ink); font-family: var(--serif); font-size: 1.45rem; font-weight: 800; text-align: center; }
.consultation-card__format, .consultation-card__duration, .consultation-card__breakdown { padding: .65rem .15rem; margin: 0; border-bottom: 1px solid var(--line); color: var(--muted); text-align: center; }
.consultation-card__duration, .consultation-card__breakdown { color: var(--ink); font-weight: 800; }
.consultation-card__intro { margin: 1rem 0 .5rem; color: var(--ink); font-size: .82rem; font-weight: 800; text-align: center; }
.consultation-card ul { padding-left: 1.15rem; margin: 1rem 0 1.5rem; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.consultation-check { display: block; margin: .8rem 0 -.5rem; color: #18895b; font-size: 1.15rem; font-weight: 900; text-align: center; }
.consultation-card__actions { display: grid; gap: .9rem; }
.consultation-card__actions .button { width: 100%; min-height: 44px; padding-inline: .8rem; font-size: .74rem; text-align: center; text-transform: uppercase; }
.consultation-card__more { color: var(--ink); font-size: .78rem; font-weight: 800; text-align: center; text-underline-offset: 4px; }
.consultation-card__availability { margin: 0; color: var(--ink); font-size: .82rem; font-weight: 800; text-align: center; }
.consultation-policies { max-width: 980px; padding: clamp(2rem, 5vw, 4rem); margin: clamp(4rem, 8vw, 7rem) auto 0; border: 1px solid var(--line); background: #fff; box-shadow: 0 16px 45px rgba(8,27,53,.07); }
.consultation-policies h2 { margin-bottom: 1.6rem; font-size: clamp(2rem, 4vw, 3rem); }
.consultation-policies p { margin-bottom: 1rem; font-size: .9rem; }
.consultation-policies p:last-child { margin-bottom: 0; }
.consultation-policies strong { color: var(--ink); }
.consultation-attribution { margin: 2rem 0 0; color: var(--muted); font-size: .85rem; font-weight: 800; text-align: center; }
.consultation-attribution a { color: var(--blue); text-underline-offset: 4px; }

.prefooter { padding: 4rem 0; color: #fff; background: var(--blue); }
.prefooter__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.prefooter h2 { max-width: 700px; margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.prefooter .eyebrow { color: #c9e3ff; }
.site-footer { padding: 5rem 0 1.25rem; color: #eaf3fb; background: #061426; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr 1fr .6fr; gap: 3rem; }
.footer-grid h2 { color: #fff; font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; }
.footer-grid p, .footer-grid address { color: #aabdd0; font-size: .88rem; overflow-wrap: anywhere; }
.footer-grid ul { padding: 0; list-style: none; }
.footer-grid li { margin-bottom: .45rem; }
.footer-grid a { color: #dce9f5; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.brand--footer { margin-bottom: 1.5rem; }
.brand--footer .brand__words strong, .brand--footer .brand__words small { color: #fff; }
.social-links { display: flex; flex-direction: column; gap: .55rem; }
.legal-strip { display: flex; justify-content: space-between; gap: 2rem; padding-top: 2rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.12); }
.legal-strip p { margin: 0; color: #8096ab; font-size: .7rem; }

.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal-in .65s ease both; }
  .service-grid .reveal:nth-child(2), .principles-grid .reveal:nth-child(2) { animation-delay: .08s; }
  .service-grid .reveal:nth-child(3), .principles-grid .reveal:nth-child(3) { animation-delay: .16s; }
  .service-grid .reveal:nth-child(4) { animation-delay: .24s; }
}
@keyframes reveal-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

body[data-theme='minimal-warm'] {
  --blue: #087cea;
  --blue-dark: #075ab0;
  --navy: #102740;
  --soft: #f6f3ec;
  --line: #dedbd3;
  --serif: 'Palatino Linotype', Palatino, Georgia, serif;
}
body[data-theme='minimal-warm'] .brand__mark { border-radius: 4px; transform: rotate(-4deg); }
body[data-theme='minimal-warm'] .minimal-hero { background: radial-gradient(circle at 50% 25%, #fff 0, #fff 45%, #f6f3ec 100%); }
body[data-theme='minimal-warm'] .service-card__mark { border-radius: 4px; }
body[data-theme='minimal-warm'] .location-card { background: #102740; }

body[data-theme='minimal-northern'] {
  --blue: #1594c8;
  --blue-dark: #0e6386;
  --navy: #142c3c;
  --soft: #edf6f8;
  --line: #cfe1e6;
  --serif: 'Book Antiqua', Palatino, Georgia, serif;
}
body[data-theme='minimal-northern'] .minimal-hero { background: linear-gradient(180deg, #fff 0%, #fff 60%, #edf6f8 100%); }
body[data-theme='minimal-northern'] .minimal-hero::after { content: ''; position: absolute; right: 4vw; bottom: 3rem; width: 140px; height: 140px; background: linear-gradient(135deg, transparent 50%, rgba(21,148,200,.1) 50%); clip-path: polygon(50% 0,100% 100%,0 100%); }
body[data-theme='minimal-northern'] .brand__mark { border-radius: 50% 50% 8px 50%; }
body[data-theme='minimal-northern'] .location-card { background: linear-gradient(145deg, #142c3c, #1f6078); }

@media (max-width: 1180px) {
  .masthead { min-height: 86px; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; z-index: 100; inset: 0 0 0 25%; display: flex; flex-direction: column; align-items: stretch; gap: .4rem; padding: 7rem 2rem 2rem; background: #fff; box-shadow: -20px 0 60px rgba(0,0,0,.18); transform: translateX(110%); transition: transform .25s ease; overscroll-behavior: contain; overflow-y: auto; }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav > a, .nav-group > button { width: 100%; padding: .9rem; text-align: left; font-size: 1rem; }
  .nav-group__menu { position: static; display: none; min-width: 0; padding: 0 0 0 1rem; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-group.is-open .nav-group__menu { display: block; transform: none; }
  .header-cta { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .consultation-card { flex-basis: calc(50% - .75rem); }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); }
  h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .announcement__inner { justify-content: center; }
  .announcement__inner span { display: none; }
  .brand { min-width: 0; }
  .brand__mark { width: 40px; }
  .brand__words strong { font-size: .9rem; }
  .brand__words small { font-size: .9rem; }
  .primary-nav { left: 10%; }
  .help-bar .shell { flex-direction: column; gap: .65rem; padding: .8rem 0; }
  .help-bar strong { font-size: 1.1rem; }
  .editorial-hero__grid, .page-hero__grid, .welcome-grid, .content-grid, .consultation-grid, .attorney-grid { grid-template-columns: 1fr; }
  .editorial-hero__grid { width: 100%; }
  .hero-visual { min-height: 430px; }
  .hero-form { padding: 2rem 1rem; }
  .minimal-hero { min-height: 620px; }
  .minimal-hero__inner { padding: 5rem 0; }
  .minimal-hero h1 { font-size: clamp(3rem, 16vw, 5.4rem); }
  .service-grid, .principles-grid, .values-grid, .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .service-card__mark { margin-bottom: 2.5rem; }
  .principles-grid span { margin-bottom: 2rem; }
  .page-hero { padding: 4.5rem 0; }
  .page-hero__art { min-height: 230px; }
  .attorney-portrait { max-width: 450px; }
  .faq-band, .credential-band { grid-template-columns: 1fr; gap: 1.25rem; padding: 2rem; }
  .prefooter__inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .consultation-card { flex-basis: 100%; min-width: 0; min-height: 0; }
  .legal-strip { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
/* Domain content pages */
.home-hero { min-height: 660px; }
.service-grid--five { grid-template-columns: repeat(5, 1fr); }
.service-grid--five .service-card { min-height: 285px; padding: 1.65rem; }
.service-grid--five .service-card__mark { margin-bottom: 3.5rem; }
.service-grid--five .service-card h3 { font-size: 1.42rem; }
.service-grid--five .service-card__link { margin-top: auto; }

.home-content-section { background: linear-gradient(180deg, var(--paper) 0%, var(--soft) 100%); }
.reading-shell { display: grid; grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.content-kicker { position: sticky; top: 2rem; padding-top: .6rem; }
.content-kicker h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.content-kicker > p { color: var(--blue); font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; }
.longform-copy { max-width: 760px; }
.longform-copy p { margin-bottom: 0; padding: 1.35rem 0; border-bottom: 1px solid var(--line); color: #344050; font-family: var(--serif); font-size: clamp(1.08rem, 1.7vw, 1.24rem); line-height: 1.8; }
.longform-copy p:first-child { padding-top: 0; }
.longform-copy p:last-child { border-bottom: 0; }
.content-page-hero .page-hero__grid > div:first-child { max-width: 760px; }

.faq-section { scroll-margin-top: 1rem; background: var(--paper); }
.faq-heading { max-width: 800px; margin: 0 auto 3rem; text-align: center; }
.faq-heading h2 { margin-bottom: 0; }
.faq-list { display: grid; gap: 1.15rem; }
.faq-item { border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 32px rgba(8, 27, 53, .06); }
.faq-item h3 { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.35rem; margin: 0; color: #fff; background: var(--blue); font-family: var(--sans); font-size: clamp(.95rem, 1.8vw, 1.12rem); line-height: 1.4; }
.faq-item h3 span { flex: 0 0 auto; display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-family: var(--serif); font-size: .72rem; }
.faq-item p { padding: 1.25rem 1.5rem 1.35rem 4.35rem; margin: 0; color: #394657; }

@media (prefers-reduced-motion: no-preference) {
  .service-grid--five .reveal:nth-child(5) { animation-delay: .32s; }
  .faq-list .reveal:nth-child(even) { animation-delay: .06s; }
}

@media (max-width: 1180px) {
  .service-grid--five { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .reading-shell { grid-template-columns: 1fr; gap: 2rem; }
  .content-kicker { position: static; }
  .service-grid--five { grid-template-columns: 1fr; }
  .faq-heading { text-align: left; }
  .faq-item h3 { align-items: flex-start; }
  .faq-item p { padding: 1.15rem 1.25rem 1.25rem; }
}
