:root {
  --ink: #202126;
  --text: #3f424d;
  --muted: #737681;
  --paper: #fbfaf7;
  --surface: #fffefa;
  --sand: #f3f1ec;
  --sand-light: #f7f5f1;
  --line: #e1ded7;
  --line-strong: #d2cec6;
  --accent: #766a9f;
  --accent-light: #efedf6;
  --error: #a33b3b;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
p { text-wrap: pretty; }
[id] { scroll-margin-top: 148px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 100; left: 12px; top: 12px; padding: 9px 14px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.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; }

.utility { border-bottom: 1px solid var(--line); background: var(--sand); color: #5f626d; font-size: 13px; }
.utility-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility-inner > div { display: flex; gap: 24px; }
.utility-emergency { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.utility-emergency i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }

.header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--line); background: rgba(255, 254, 250, .94); backdrop-filter: blur(10px); }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 36px; }
.logo { width: 154px; height: 44px; display: inline-flex; align-items: center; flex: 0 0 auto; background: url("/assets/brand/emiyo-it-services-logo.svg") center / contain no-repeat; }
.logo > span, .logo > i { display: none; }
.logo img { width: 100%; height: auto; display: block; }
.logo:has(img) { height: auto; background: none; }
.navigation { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 15px; }
.navigation > a, .nav-parent { position: relative; padding: 6px 0; color: #4a4c54; }
.navigation > a:not(.nav-contact)[aria-current="page"]::after, .nav-parent[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); }
.navigation .nav-contact { min-height: 42px; display: inline-flex; align-items: center; padding: 0 18px; background: var(--ink); border: 1px solid var(--ink); color: white; }
.navigation .nav-contact[aria-current="page"] { background: #35363c; }
.nav-group { position: relative; display: flex; align-items: center; gap: 5px; }
.submenu-toggle { width: 26px; height: 30px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: #777983; }
.submenu-toggle::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.submenu-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.submenu { position: absolute; z-index: 60; top: calc(100% + 18px); left: -24px; width: 330px; display: none; padding: 15px 24px 18px; border: 1px solid var(--line); background: rgba(255, 254, 250, .985); box-shadow: 0 22px 48px rgba(32, 33, 38, .11); }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.submenu a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: #555862; font-size: 13px; }
.submenu a:last-child { border-bottom: 0; }
.nav-group:hover .submenu, .nav-group:focus-within .submenu, .nav-group.is-open .submenu { display: block; }
.menu-button { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line-strong); background: transparent; }
.menu-button span { display: block; width: 20px; height: 1px; margin: 5px auto; background: var(--ink); transition: transform .15s; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; color: #666975; font-size: 13px; letter-spacing: .01em; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 7px; font-weight: 500; background: transparent; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #35363c; color: white; }
.button-outline { background: var(--surface); color: var(--ink); }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line-strong); }
.actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.home-hero { padding: clamp(54px, 7vw, 92px) 0 clamp(64px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr); gap: clamp(45px, 7vw, 96px); align-items: center; }
.home-hero h1 { max-width: 740px; margin-bottom: 12px; font-size: clamp(49px, 7vw, 82px); }
.hero-subline { margin: 0; color: #777a83; font-size: clamp(26px, 3.1vw, 42px); line-height: 1.2; letter-spacing: -.03em; }
.hero-intro { margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.hero-intro > p { margin-bottom: 32px; color: #5d606b; font-size: 18px; line-height: 1.7; }
.hero-media { position: relative; margin: 0; overflow: hidden; background: #e9e5df; }
.hero-media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(32, 33, 38, .10); pointer-events: none; }
.hero-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-hero .hero-media { aspect-ratio: 1.18 / 1; }
.home-hero .hero-media img { object-position: 54% center; }
.hero-media-note { position: absolute; z-index: 1; right: 0; bottom: 0; margin: 0; padding: 9px 12px; background: rgba(251, 250, 247, .92); color: #666975; font-size: 11px; letter-spacing: .02em; }

.section { padding: clamp(70px, 9vw, 116px) 0; }
.compact-section { padding-bottom: clamp(80px, 10vw, 132px); }
.sand-section { background: var(--sand); }
.section-heading { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 70px; margin-bottom: 48px; }
.section-heading h2, .editorial-grid h2, .region-grid h2, .locations h2 { margin-bottom: 0; font-size: clamp(32px, 4.2vw, 52px); }
.section-heading > p { margin-bottom: 5px; color: var(--muted); font-size: 17px; }
.open-list { border-top: 1px solid var(--line-strong); }
.open-list > a, .open-list > div { min-height: 92px; display: grid; grid-template-columns: 48px 1fr 1.4fr 20px; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); }
.open-list > a > span, .open-list > div > span { color: var(--accent); font-size: 13px; }
.open-list strong { color: var(--ink); font-size: 19px; font-weight: 500; }
.open-list small { color: var(--muted); font-size: 14px; }
.open-list i { color: #999b9f; font-style: normal; }
.audience-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.audience-grid h2 { font-size: clamp(32px, 4vw, 50px); }
.audience-list { border-top: 1px solid var(--line-strong); }
.audience-list > div { display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 25px 0; border-bottom: 1px solid var(--line-strong); }
.audience-list span { color: var(--ink); font-size: 18px; }
.audience-list p { margin: 0; color: var(--muted); }
.region-grid { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 100px; }
.region-grid > div:last-child { padding-top: 28px; border-top: 1px solid var(--line); }
.region-grid p { color: var(--muted); font-size: 17px; }
.closing-cta { padding: 62px 0; border-top: 1px solid var(--line); background: var(--sand-light); }
.closing-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.closing-cta h2 { margin: 0; font-size: clamp(28px, 3.3vw, 42px); }

.breadcrumbs { display: flex; gap: 10px; padding: 22px 0; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: #555862; }
.page-hero { padding: clamp(38px, 5vw, 68px) 0 clamp(62px, 8vw, 96px); border-top: 1px solid transparent; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(50px, 7vw, 92px); align-items: center; }
.page-hero h1 { margin: 0; font-size: clamp(45px, 6vw, 72px); }
.page-hero h1 span { color: #737680; }
.page-hero-copy > p:last-child { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 18px; }
.page-hero .hero-media { aspect-ratio: 1.55 / 1; }
.page-hero .hero-media img { object-position: center; }
.section-nav { position: sticky; z-index: 20; top: 72px; border-bottom: 1px solid var(--line); background: rgba(251, 250, 247, .96); }
.section-nav .wrap { display: flex; gap: 34px; overflow-x: auto; }
.section-nav a { padding: 17px 0; white-space: nowrap; color: #555863; font-size: 13px; }
.section-nav a:hover, .section-nav a:focus-visible { color: var(--ink); }
.detail-sections { padding-block: 20px 70px; }
.detail-section { display: grid; grid-template-columns: 120px 1fr; gap: 35px; padding: clamp(68px, 8vw, 104px) 0; border-bottom: 1px solid var(--line); }
.detail-number { color: #bbb8c5; font-size: 54px; font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.detail-section h2 { font-size: clamp(34px, 4.4vw, 54px); }
.lead { max-width: 760px; color: #60636d; font-size: 18px; }
.line-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; max-width: 850px; margin: 35px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.line-list li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.line-list li::before { content: "—"; margin-right: 10px; color: var(--accent); }
.emergency-detail { margin: 55px 0 0; padding-inline: 35px; background: var(--sand); border: 0; }
.editorial-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.editorial-grid > div:last-child { padding-top: 28px; border-top: 1px solid var(--line); }
.numbered-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.numbered-list > div { min-height: 220px; padding: 28px 38px 32px 0; border-bottom: 1px solid var(--line-strong); }
.numbered-list > div:nth-child(odd) { border-right: 1px solid var(--line-strong); }
.numbered-list > div:nth-child(even) { padding-left: 38px; }
.numbered-list span { color: var(--accent); font-size: 13px; }
.numbered-list h3 { margin: 35px 0 12px; font-size: 24px; }
.numbered-list p { margin: 0; color: var(--muted); }
.practice-sections { padding-block: 12px 72px; }
.practice-section { display: grid; grid-template-columns: minmax(210px, .55fr) minmax(0, 1.45fr); gap: clamp(45px, 8vw, 110px); padding: clamp(70px, 8vw, 108px) 0; border-bottom: 1px solid var(--line); }
.practice-section:last-child { border-bottom: 0; }
.practice-section h2 { max-width: 820px; font-size: clamp(34px, 4.3vw, 54px); }
.practice-section .section-index { color: #aaa6b8; font-size: 58px; line-height: 1; letter-spacing: -.05em; }
.practice-section .lead { margin-bottom: 30px; }
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; border-top: 1px solid var(--line); }
.topic-grid > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.topic-grid h3 { margin-bottom: 7px; font-size: 19px; letter-spacing: -.02em; }
.topic-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.practice-aside { margin-top: 34px; padding: 22px 24px; border-left: 2px solid var(--accent); background: var(--sand-light); color: #5f626c; }
.practice-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.practice-actions > span { color: var(--muted); font-size: 12px; }
.audience-entry > div { grid-template-columns: 48px 1fr 1.4fr; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.process-list li { display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--line-strong); }
.process-list li > span { color: var(--accent); }
.process-list h3 { margin: 0 0 6px; font-size: 22px; }
.process-list p { margin: 0; color: var(--muted); }
.locations { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.location-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.location-list > div { min-height: 150px; padding: 24px 24px 20px 0; border-bottom: 1px solid var(--line-strong); }
.location-list > div + div { padding-left: 24px; border-left: 1px solid var(--line-strong); }
.location-list span { color: var(--ink); font-weight: 500; }
.location-list p { margin: 16px 0 0; color: var(--muted); }

.contact-intro { padding: 38px 0 78px; }
.contact-intro-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr); gap: clamp(50px, 7vw, 92px); align-items: center; }
.contact-intro h1 { margin: 0; font-size: clamp(44px, 6vw, 70px); }
.contact-copy .direct-contact { margin-top: 34px; }
.contact-intro .hero-media { aspect-ratio: 1.55 / 1; }
.direct-contact { border-top: 1px solid var(--line); }
.direct-contact a { display: grid; grid-template-columns: 170px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.direct-contact span { color: var(--muted); font-size: 13px; }
.direct-contact strong { color: var(--ink); font-weight: 500; }
.form-section { padding: clamp(55px, 8vw, 95px) 0; background: #f5f4f1; }
.contact-form { max-width: 1040px; margin: 0 auto; padding: clamp(34px, 6vw, 68px); background: #fff; border: 1px solid #ebe9e4; }
.form-head { margin-bottom: 44px; }
.form-head h2 { margin-bottom: 12px; font: 400 clamp(31px, 4vw, 45px)/1.15 Georgia, "Times New Roman", serif; letter-spacing: -.02em; }
.form-head p { margin: 0; color: #878991; font-size: 12px; }
.form-head b, .field b, .privacy-check b { color: #a85e51; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { display: block; min-width: 0; margin-bottom: 30px; }
.field-wide { grid-column: 1 / -1; }
.field > span { display: block; margin-bottom: 10px; color: #686b73; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; padding: 10px 0 13px; border: 0; border-bottom: 1px solid #d9d5ce; border-radius: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field small, .privacy-error { min-height: 18px; display: block; margin-top: 5px; color: var(--error); font-size: 12px; }
.honeypot { position: absolute; left: -10000px; }
.privacy-check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: #6a6d75; font-size: 13px; line-height: 1.55; }
.privacy-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.privacy-check a { color: var(--ink); text-decoration: underline; }
.privacy-error { margin-left: 32px; }
.form-actions { display: flex; gap: 12px; margin-top: 26px; }
.form-button { min-height: 46px; padding: 0 24px; border-radius: 0; border: 1px solid var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.form-button-dark { background: var(--ink); color: white; }
.form-button-light { background: white; color: var(--ink); }
.form-button span { margin-left: 13px; }
.form-button[disabled] { opacity: .5; cursor: progress; }
.form-note { margin: 13px 0 0; color: #8b8d94; font-size: 11px; line-height: 1.5; }
.form-status { display: none; margin-top: 20px; padding: 13px 15px; font-size: 14px; }
.form-status.success { display: block; background: #edf5ef; color: #285237; }
.form-status.error { display: block; background: #f8eeee; color: #7f3030; }
.contact-locations { padding: 70px 0 90px; }

.assessment-hero .page-hero-copy > p:nth-of-type(2) { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 18px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-top: 24px; color: #646771; font-size: 13px; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.assessment-section { padding: clamp(62px, 9vw, 112px) 0; background: #f5f4f1; }
.assessment-layout { display: grid; grid-template-columns: minmax(230px, .55fr) minmax(0, 1.45fr); gap: clamp(45px, 7vw, 92px); align-items: start; }
.assessment-intro { position: sticky; top: 112px; }
.assessment-intro h2 { margin-bottom: 24px; font-size: clamp(31px, 3.5vw, 45px); }
.assessment-intro > p { color: var(--muted); }
.security-note { margin-top: 34px; padding: 20px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.security-note strong { color: var(--ink); font-size: 14px; font-weight: 500; }
.security-note p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.assessment-contact { margin-top: 30px; font-size: 13px; }
.assessment-contact a { color: var(--ink); font-size: 17px; font-weight: 500; }
.assessment-form { max-width: none; margin: 0; }
.form-progress { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 48px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.form-progress li { position: relative; padding: 13px 6px 0 0; color: #999aa0; font-size: 12px; }
.form-progress li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: transparent; }
.form-progress li span { margin-right: 7px; }
.form-progress li.is-active { color: var(--ink); }
.form-progress li.is-active::before, .form-progress li.is-complete::before { background: var(--accent); }
.assessment-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.assessment-step[hidden] { display: none; }
.assessment-step legend { width: 100%; margin: 0 0 35px; padding: 0; color: var(--ink); font: 400 clamp(25px, 3vw, 34px)/1.2 Georgia, "Times New Roman", serif; letter-spacing: -.02em; }
.assessment-step legend span { display: block; margin-bottom: 7px; color: var(--muted); font: 500 11px/1.3 var(--font); letter-spacing: .05em; text-transform: uppercase; }
.priority-field { margin-bottom: 30px; }
.priority-field > span, .choice-field > span { display: block; margin-bottom: 13px; color: #686b73; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.choice-field { min-width: 0; margin-bottom: 30px; }
.choice-field b { color: #a85e51; font-weight: 500; }
.choice-error { min-height: 18px; display: block; margin-top: 5px; color: var(--error); font-size: 12px; }
.choice-grid-five label:last-child { grid-column: 1 / -1; border-left: 0; }
.priority-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.priority-grid label { min-height: 58px; display: flex; align-items: center; gap: 11px; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.priority-grid label:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.priority-grid input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--ink); }
.priority-grid span { color: #555862; font-size: 13px; }
.assessment-actions { display: none; gap: 12px; justify-content: flex-end; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.js .assessment-actions { display: flex; }
.assessment-actions .form-button-light { margin-right: auto; }

.legal-page { padding: 55px 0 110px; }
.legal-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.legal-grid h1 { font-size: clamp(44px, 6vw, 66px); }
.legal-grid article { max-width: 760px; }
.legal-grid article h2 { margin-top: 38px; font-size: 22px; }
.legal-grid article h2:first-child { margin-top: 0; }
.legal-grid article a { text-decoration: underline; }
.sitemap-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 42px 58px; }
.sitemap-groups section { align-self: start; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.sitemap-groups h2 { margin: 0 0 16px; font-size: 23px; }
.sitemap-groups a, .sitemap-groups button { width: 100%; display: block; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--muted); text-align: left; }
.sitemap-groups a:hover, .sitemap-groups a:focus-visible, .sitemap-groups button:hover, .sitemap-groups button:focus-visible { color: var(--ink); }

.footer { padding: 58px 0 24px; background: var(--ink); color: #c9c9ce; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 45px; padding-bottom: 45px; }
.logo-light { width: 165px; background-image: url("/assets/brand/emiyo-it-services-logo-white.svg"); }
.footer-grid p { max-width: 280px; font-size: 14px; }
.footer-grid nav, .footer-grid > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-grid strong { display: block; margin-bottom: 8px; color: white; font-size: 13px; font-weight: 500; }
.footer-grid a { font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid #3c3d42; font-size: 12px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-bottom button { padding: 0; border: 0; background: none; color: inherit; }
.remote-support { position: fixed; z-index: 40; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 11px; min-width: 190px; padding: 12px 16px 12px 12px; border: 1px solid rgba(255, 255, 255, .22); background: #24262b; color: #fff; box-shadow: 0 12px 36px rgba(25, 27, 31, .22); }
.remote-support:hover, .remote-support:focus-visible { color: #fff; background: #34373d; transform: translateY(-2px); }
.remote-support-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 50%; font-size: 18px; }
.remote-support > span:last-child { display: grid; gap: 1px; }
.remote-support strong { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.remote-support small { color: #c9c9ce; font-size: 11px; }
.consent-panel { position: fixed; z-index: 90; left: 20px; right: 20px; bottom: 20px; max-width: 980px; margin: auto; padding: 22px; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 20px 60px rgba(25, 27, 31, .18); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 26px; }
.consent-panel[hidden] { display: none; }
.consent-panel p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.consent-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.consent-options label { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--line); cursor: pointer; }
.consent-options input { margin-top: 3px; accent-color: var(--ink); }
.consent-options span { display: grid; gap: 2px; }
.consent-options b { font-size: 13px; }
.consent-options small { color: var(--muted); line-height: 1.35; }
.consent-actions { display: grid; grid-template-columns: 1fr; gap: 8px; min-width: 190px; }

@media (max-width: 960px) {
  .menu-button { display: block; }
  .navigation { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); background: var(--surface); }
  .navigation.is-open { display: flex; }
  .navigation > a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .navigation .nav-contact { justify-content: center; margin-top: 16px; border-bottom: 1px solid var(--ink); }
  .nav-group { display: grid; grid-template-columns: 1fr 48px; gap: 0; border-bottom: 1px solid var(--line); }
  .nav-parent { min-height: 52px; display: flex; align-items: center; }
  .submenu-toggle { width: 48px; height: 52px; justify-self: end; }
  .submenu { position: static; grid-column: 1 / -1; width: auto; padding: 0 0 14px 18px; border: 0; border-left: 1px solid var(--line); box-shadow: none; background: transparent; }
  .nav-group:hover .submenu, .nav-group:focus-within .submenu { display: none; }
  .nav-group.is-open .submenu { display: block; }
  .submenu a { min-height: 44px; display: flex; align-items: center; }
  .home-hero-grid, .page-hero-grid, .editorial-grid, .contact-intro-grid, .legal-grid, .assessment-layout { grid-template-columns: 1fr; gap: 50px; }
  .sitemap-groups { grid-template-columns: 1fr; }
  .assessment-intro { position: static; max-width: 720px; }
  .home-hero-copy { max-width: 760px; }
  .home-hero .hero-media, .page-hero .hero-media, .contact-intro .hero-media { max-height: 560px; aspect-ratio: 1.55 / 1; }
  .section-heading, .audience-grid, .region-grid, .locations { grid-template-columns: 1fr; gap: 35px; }
  .practice-section { grid-template-columns: 110px 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  :root { --gutter: 20px; }
  .utility-inner > div a:last-child { display: none; }
  .home-hero h1 { font-size: 48px; }
  .hero-subline { font-size: 28px; }
  .home-hero-grid { gap: 45px; }
  .logo { width: 136px; }
  .open-list > a, .open-list > div { grid-template-columns: 34px 1fr 20px; gap: 10px; padding: 20px 0; }
  .open-list small { grid-column: 2 / -1; }
  .open-list i { grid-column: 3; grid-row: 1; }
  .audience-list > div { grid-template-columns: 1fr; gap: 8px; }
  .closing-cta .wrap { align-items: flex-start; flex-direction: column; }
  .detail-section { grid-template-columns: 1fr; }
  .line-list, .numbered-list, .form-grid, .topic-grid { grid-template-columns: 1fr; }
  .practice-section { grid-template-columns: 1fr; }
  .practice-section .section-index { font-size: 38px; }
  .numbered-list > div:nth-child(odd) { border-right: 0; }
  .numbered-list > div:nth-child(even) { padding-left: 0; }
  .audience-entry > div { grid-template-columns: 34px 1fr; }
  .audience-entry small { grid-column: 2; }
  .location-list { grid-template-columns: 1fr; }
  .location-list > div + div { padding-left: 0; border-left: 0; }
  .direct-contact a { grid-template-columns: 1fr; gap: 4px; }
  .form-actions { flex-direction: column; }
  .priority-grid { grid-template-columns: 1fr; }
  .priority-grid label:nth-child(even) { padding-left: 0; border-left: 0; }
  .assessment-actions { flex-wrap: wrap; }
  .assessment-actions .form-button-light { margin-right: 0; }
  .practice-actions { align-items: flex-start; flex-direction: column; }
  .form-button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .remote-support { right: 12px; bottom: 12px; min-width: 0; padding: 10px 12px 10px 10px; }
  .remote-support-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .consent-panel { align-items: stretch; grid-template-columns: 1fr; max-height: calc(100vh - 24px); overflow: auto; left: 12px; right: 12px; bottom: 12px; }
  .consent-options { grid-template-columns: 1fr; }
  .consent-actions { grid-template-columns: 1fr; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
