/* Doyos Global */
:root {
  --ink: #101b35;
  --muted: #4d5a73;
  --navy: #0d2148;
  --blue: #244fc6;
  --mint: #a9f2d5;
  --line: #d9dfeb;
  --paper: #fff;
  --wash: #f3f6fa;
  --radius: 16px;
  --gutter: clamp(20px, 5.5vw, 88px);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-size: 16px; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { color: #092c36; background: #b0efda; }
:focus-visible { outline: 3px solid #416ce1; outline-offset: 4px; }
.hero :focus-visible, .cta :focus-visible, .foot :focus-visible { outline-color: #a9f2d5; }
.wrap { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; }
h1, h2 { letter-spacing: -.057em; font-weight: 650; }
h3 { letter-spacing: -.033em; font-weight: 650; }
h1 em, h2 em { font-family: Baskervville, Georgia, serif; font-weight: 400; letter-spacing: -.045em; }
.skip, .skip-link { position: fixed; z-index: 100; top: 6px; left: 12px; transform: translateY(-160%); background: #fff; color: var(--blue); border-radius: 6px; padding: 10px 16px; }
.skip:focus, .skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Navigation */
.header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid #dbe2ef;
  background: linear-gradient(115deg, #fffffff7 55%, #f2f6fffa 85%, #fbf5fffa);
  box-shadow: 0 3px 22px #122d5510;
}
@supports (backdrop-filter: blur(12px)) {
  .header { background: linear-gradient(115deg,#fffffff0 53%,#edf4fff0 86%,#f9f4fff0); backdrop-filter: blur(14px) saturate(145%); }
}
.navbar { position: relative; min-height: 78px; display: flex; gap: clamp(18px, 3vw, 48px); align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: clamp(120px, 11vw, 156px); max-height: 52px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 35px); }
.nav-links a, .nav-cta, .services-toggle { font-size: .92rem; font-weight: 640; text-decoration: none; line-height: 1.25; }
.nav-links a:not(.nav-cta) { padding-block: 12px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-cta, .nav-links .nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 44px; padding: .74rem 1.25rem; color: #fff; border-radius: 100px; background: linear-gradient(110deg,#1b4cbc,#4f3cba); box-shadow: 0 4px 16px -5px #443bad65; }
.nav-cta:hover, .nav-links .nav-cta:hover, .nav-links .nav-cta[aria-current="page"] { color: #fff; background: linear-gradient(110deg,#173e9b,#4132a4); }
.nav-toggle { display: none; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 7px; padding: 10px 14px; min-height: 42px; }
.nav-pair { display: flex; align-items: center; }
.services-toggle { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: 0 3px; color: inherit; background: transparent; border: 0; }
.menu-chevron, .services-toggle:not(:has(.menu-chevron))::after { display: inline-block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.75px 1.75px 0; transform: translateY(-2px) rotate(45deg); }
.services-toggle:not(:has(.menu-chevron))::after { content: ""; }
.services-toggle[aria-expanded="true"] .menu-chevron, .services-toggle[aria-expanded="true"]:not(:has(.menu-chevron))::after { transform: translateY(2px) rotate(225deg); }
.services-toggle .menu-chevron { font-size: 0; }
.services-toggle:hover, .services-toggle[aria-expanded="true"] { color: var(--blue); }
.mega-panel {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(170px, .82fr) minmax(0, 2.25fr);
  gap: 14px;
  width: min(880px, 100%);
  max-height: calc(100vh - 100px);
  max-height: calc(100dvh - 100px);
  overflow: auto;
  padding: 15px;
  border: 1px solid #d6e0ed;
  border-top: 3px solid #6279dc;
  border-radius: 0 0 18px 18px;
  background: #fff;
  box-shadow: 0 28px 56px -22px #0a214f68;
}
.mega-grid { display: grid; grid-column: 2; grid-row: 1; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.nav-links a.mega-item, .mega-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 12px; color: var(--ink); border: 1px solid transparent; border-radius: 11px; text-decoration: none; }
.mega-item strong, .mega-item small { display: block; }
.mega-item strong { margin: 2px 0 5px; font-size: .98rem; letter-spacing: -.018em; }
.mega-item small { color: var(--muted); font-size: .81rem; font-weight: 450; line-height: 1.45; }
.nav-links a.mega-item:hover, .nav-links a.mega-item:focus-visible, .nav-links a.mega-item[aria-current="page"] { color: #1d3999; background: #f0f4fe; border-color: #d7e1f8; }
.mega-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 7px; border-radius: 11px; background: #e9f0ff; }
.mega-icon img { width: 26px; height: 26px; object-fit: contain; }
.mega-item:nth-child(2) .mega-icon { background: #e2f4eb; }
.mega-item:nth-child(3) .mega-icon { background: #f1e8fc; }
.mega-item:nth-child(4) .mega-icon { background: #fff0df; }
.nav-links a.mega-overview, .mega-overview { display: flex; grid-column: 1; grid-row: 1; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 8px; padding: 24px 18px; border-radius: 11px; color: #fff; background: radial-gradient(ellipse at 110% 10%,#4c6fcb 0,transparent 65%), #182d5a; }
.nav-links a.mega-overview:hover { color: #d0ffe7; }
.mega-overview strong { max-width: 14ch; font-size: 1.2rem; line-height: 1.15; }
.mega-overview small { color: #e0eafa; font-size: .82rem; line-height: 1.45; font-weight: 460; }
.nav-utility { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.nav-utility a, a.nav-utility { font-size: .82rem; color: #425473; font-weight: 580; }
.mega-utility { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 2px 10px; border-top: 1px solid #dce3ef; padding: 8px 4px 0; }
.nav-links .mega-utility a { font-size: .84rem; padding: 8px; color: #3b4d72; }
.nav-links .mega-utility a:hover { color: var(--blue); text-decoration: underline; }

/* Hero and actions */
.hero { position: relative; isolation: isolate; min-height: clamp(530px, 42vw, 700px); display: grid; align-items: center; overflow: hidden; color: #fff; background: #102342 url("/media/hero.webp") center 43% / cover no-repeat; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#07142afc 0%,#0a1f3af4 25%,#122d4ccf 48%,#1f315093 70%,#1a32635e), linear-gradient(0deg,#15284da8,transparent 54%); }
.hero-content { position: relative; z-index: 1; padding-block: clamp(68px, 8vw, 124px); }
#hero-scene { position: absolute; z-index: 0; display: block; right: 0; top: 0; width: min(52%, 880px); height: 100%; pointer-events: none; background: transparent; }
#hero-scene canvas { display: block; width: 100%; height: 100%; }
.hero > .scene-motion {
  position: absolute;
  z-index: 2;
  right: max(var(--gutter), calc((100% - 1280px)/2));
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #b7c9e395;
  border-radius: 100px;
  background: #10213cdb;
  color: #fff;
  font-size: .8rem;
  font-weight: 640;
  line-height: 1.2;
}
.scene-motion::before { content: ""; width: 8px; height: 10px; flex: none; border-inline: 3px solid currentColor; }
.scene-motion[aria-pressed="true"]::before, .scene-motion[data-paused="true"]::before { width: 0; height: 0; border-inline: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.hero > .scene-motion:hover { background: #182f53; border-color: #e0eafb; }
.eyebrow, .kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; font-size: .73rem; font-weight: 740; line-height: 1.35; letter-spacing: .15em; text-transform: uppercase; color: #2449a2; }
.eyebrow::before, .kicker::before { content: ""; width: 28px; height: 2px; flex: none; background: currentColor; }
.hero .eyebrow, .hero .kicker { color: #b4f0d9; }
.hero h1 { max-width: 14ch; font-size: clamp(3.25rem, 6.4vw, 6.2rem); line-height: .995; }
.hero h1 em { color: #a5edce; }
.hero p:not(.eyebrow):not(.kicker) { max-width: 53ch; margin-top: 23px; color: #edf2fa; font-size: clamp(1.035rem, 1.38vw, 1.24rem); line-height: 1.57; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; border: 1px solid transparent; border-radius: 100px; padding: .82rem 1.35rem; background: linear-gradient(110deg,#164dbb,#503cbb); color: #fff; box-shadow: 0 6px 20px -10px #3845a07a; font-size: .94rem; font-weight: 670; line-height: 1.3; text-decoration: none; transition: background .18s, border-color .18s, transform .18s, box-shadow .18s; }
.btn:hover { background: linear-gradient(110deg,#143e99,#46339c); transform: translateY(-2px); box-shadow: 0 9px 25px -9px #303e9366; }
.hero .btn, .cta .btn { color: #0b2835; background: linear-gradient(115deg,#b3f2cf,#9ce8ef); }
.hero .btn:hover, .cta .btn:hover { background: linear-gradient(115deg,#c6ffdd,#b9f8ff); }
.btn-ghost, .hero .btn-ghost, .cta .btn-ghost { background: transparent; border-color: #bbc9dc; color: #fff; }
.hero .btn-ghost:hover, .cta .btn-ghost:hover { background: #ffffff20; border-color: #fff; }
.section .btn-ghost { color: var(--navy); border-color: #a0adc2; }
.section .btn-ghost:hover { background: #e5ebfa; }

/* Content sections */
.section { padding-block: clamp(64px, 7.6vw, 112px); }
.section.soft, .section.tint, .section.alt, .section.pale { background: var(--wash); }
.section-head { max-width: 820px; margin-bottom: clamp(30px, 4vw, 52px); }
.section h2, .cta h2, .legal h2, .contact-layout h2 { font-size: clamp(2.15rem, 3.55vw, 3.6rem); line-height: 1.07; }
.section-head > p:not(.kicker):not(.eyebrow), .prose > p, .lead { color: var(--muted); font-size: clamp(1.02rem, 1.25vw, 1.17rem); line-height: 1.65; }
.section-head > h2 + p, .section-head > div + p { margin-top: 18px; max-width: 62ch; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.45vw, 22px); }
.service-card { --card-ink: #234e91; --card-bg: #eaf1fc; --card-line: #c7d7f1; display: flex; flex-direction: column; align-items: flex-start; position: relative; min-width: 0; min-height: 286px; isolation: isolate; padding: clamp(22px, 2.1vw, 32px); background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.service-card.t1 { --card-ink: #185c53; --card-bg: #e4f5ee; --card-line: #bfdfd0; }
.service-card.t2 { --card-ink: #6141a7; --card-bg: #f0ebfa; --card-line: #d8cceb; }
.service-card.t3 { --card-ink: #8a421d; --card-bg: #fcf0e4; --card-line: #eed3b7; }
.service-card:hover, .service-card:focus-within { transform: translateY(-4px); box-shadow: 0 12px 25px -17px #101b3552; }
.icon { width: 51px; height: 51px; display: inline-grid; place-items: center; margin-bottom: 27px; border: 1px solid var(--card-line, #c8d7ef); border-radius: 13px; color: var(--card-ink, #244a93); background: linear-gradient(145deg,#fff,var(--card-bg)); box-shadow: 0 4px 12px -5px var(--card-line), inset 0 1px #fff; font-size: 1.45rem; line-height: 1; }
.icon img { width: 30px; height: 30px; object-fit: contain; }
.service-card h3 { font-size: clamp(1.26rem, 1.68vw, 1.65rem); max-width: 17ch; }
.service-card h3 a { text-decoration: none; }
.service-card h3 a:hover, .service-card h3 a:focus-visible { text-decoration: underline; }
.service-card p { margin: 12px 0 21px; color: #3e4960; font-size: .97rem; line-height: 1.58; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--blue); font-weight: 690; font-size: .92rem; line-height: 1.4; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.service-card .text-link { margin-top: auto; color: var(--card-ink); }
.service-card .text-link::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.service-next { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 9px 20px; padding-block: 18px; color: var(--muted); border-top: 1px solid var(--line); }
.service-next a { color: var(--blue); font-weight: 640; text-decoration: none; }
.service-next a:hover { text-decoration: underline; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(34px, 6vw, 94px); }
.photo { width: 100%; min-width: 0; overflow: hidden; margin: 0; border-radius: var(--radius); }
img.photo, .photo img { display: block; width: 100%; aspect-ratio: 1.34; object-fit: cover; }
.prose > .kicker { color: #2449a2; }
.prose > * + * { margin-top: 18px; }
.prose > .kicker + h2 { margin-top: 0; }
.prose > .btn, .prose > .text-link { margin-top: 23px; }
.prose h3 { font-size: 1.35rem; }
.prose ul, .legal-content ul { padding-inline-start: 1.35rem; color: var(--muted); }
.prose li + li { margin-top: .55rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.3vw, 52px); }
.steps > * { min-width: 0; border-top: 2px solid #527fe1; padding-top: 22px; }
.steps > :nth-child(3n+2) { border-color: #468575; }
.steps > :nth-child(3n+3) { border-color: #8465bf; }
.steps h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.steps p { margin-top: 13px; color: var(--muted); }
.steps small, .steps .num { display: block; margin-bottom: .7rem; font-weight: 650; color: var(--blue); }
.faq { max-width: 900px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 2px; font-weight: 650; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.4; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 29px; height: 29px; flex: none; border-radius: 50%; background: #edf1fa; color: var(--blue); font-size: 1.2rem; font-weight: 450; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 72ch; padding: 0 30px 21px 2px; color: var(--muted); }

/* Page layouts */
.page-head, .detail-hero { position: relative; isolation: isolate; padding-block: clamp(45px, 6vw, 86px); background: radial-gradient(ellipse at 95% 10%,#dfdbfd 0,transparent 51%), linear-gradient(115deg,#f0f5ff 8%,#eef1fc 68%,#e6f5f1); border-bottom: 1px solid #d8e0ee; }
.head-grid, .page-head > .wrap:has(.head-art) { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.85fr); align-items: center; gap: clamp(28px,6vw,84px); }
.head-art { position: relative; display: block; min-width: 0; margin: 0; overflow: hidden; background: #dbe3f3; border-radius: 15px 48px 15px 15px; box-shadow: 0 19px 48px -30px #142f6399; }
img.head-art, .head-art img { display: block; width: 100%; height: clamp(210px, 20vw, 310px); object-fit: cover; }
.head-art:has(img)::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px #112a4d14; background: linear-gradient(15deg,#192d4220,transparent 50%); }
.page-head h1, .detail-hero h1 { font-size: clamp(3rem, 5.3vw, 5.25rem); line-height: 1; max-width: 17ch; }
.page-head h1 em, .detail-hero h1 em { color: #445bb8; }
.page-head .lead, .detail-hero .lead { max-width: 63ch; margin-top: 22px; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .55em; margin-bottom: 22px; font-size: .84rem; font-weight: 570; color: #506078; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.detail-hero .lead + .btn { margin-top: 24px; }
.detail-hero .photo { max-height: 430px; }
.legal, .contact-layout { display: grid; align-items: start; gap: clamp(32px, 6.5vw, 98px); }
.legal { grid-template-columns: minmax(180px, .6fr) minmax(0, 1.5fr); }
.legal-nav { position: sticky; top: 102px; display: grid; gap: 4px; padding: 16px; border: 1px solid #d6e1f1; border-radius: 13px; background: linear-gradient(135deg,#eef3fd,#f9fafc); }
.legal-nav a { color: #334978; font-size: .94rem; font-weight: 570; text-decoration: none; padding: 7px 8px; border-radius: 5px; }
.legal-nav a:hover, .legal-nav a:focus-visible { color: #17368c; background: #dfe9fd; }
.legal-nav a:hover { text-decoration: underline; }
.legal-content { max-width: 77ch; }
.legal-content h2 { margin-block: 32px 12px; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.legal-content h2:first-child, .legal-content section:first-child h2 { margin-top: 0; }
.legal-content section + section { margin-top: 28px; padding-top: 23px; border-top: 1px solid var(--line); }
.legal-content p { color: var(--muted); line-height: 1.75; }
.legal-content p + p { margin-top: 12px; }
.legal-content a, .contact-layout p a, .form-note a { color: var(--blue); }
.contact-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.contact-layout h2 + p { margin-top: 16px; }
.contact-form { padding: clamp(22px, 3.1vw, 42px); border-radius: 18px; border: 1px solid #d7dfee; background: linear-gradient(140deg,#f3f7ff,#fcfcff 58%,#f3f8f7); box-shadow: 0 18px 45px -32px #334c7d66; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.form-field { min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 7px; font-weight: 630; font-size: .91rem; }
.form-field label span { font-weight: 400; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 46px; border: 1px solid #b7c3d6; border-radius: 7px; background: #fff; color: var(--ink); padding: 10px 12px; }
.form-field textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: .91rem; line-height: 1.55; margin-top: 17px; }
.form-note:empty { display: none; }
.form-consent { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.form-consent input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.contact-form .btn { margin-top: 18px; }
.contact-direct { overflow-wrap: anywhere; }
.finder { padding: clamp(22px, 3.2vw, 42px); background: #edf3ff; border: 1px solid #ccd9f1; border-radius: var(--radius); }
.finder h2, .finder h3 { max-width: 27ch; }
.finder p { max-width: 54ch; }
.finder label { display: block; color: var(--ink); font-weight: 640; margin-bottom: 7px; }
#project-need { display: block; width: 100%; max-width: 38rem; min-height: 48px; padding: .65rem 1rem; border: 1px solid #9cacc5; border-radius: 6px; color: var(--ink); background: #fff; }
#project-detail { margin-block: 14px; color: var(--muted); }
#project-link { white-space: normal; }

/* Project examples */
.case-slider { position: relative; min-width: 0; }
.case-slider .slide {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #d5dfec;
  border-radius: 19px;
  background: #f1f5fb;
}
.case-slider .slide.t1 { background: #ebf6f1; }
.case-slider .slide.t2 { background: #f2eef8; }
.slide:not([hidden]) + .slide:not([hidden]) { margin-top: 18px; }
.case-slider .slide img { width: 100%; height: 100%; min-height: 300px; max-height: 442px; border-radius: 0; object-fit: cover; }
.slide-art { display: block; margin: 0; min-width: 0; background: #dde6ef; }
.slide-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 4.5vw, 65px); }
.slide-copy h2, .slide-copy h3 { font-size: clamp(1.65rem, 3vw, 2.95rem); line-height: 1.07; }
.slide-copy p:not(.kicker):not(.eyebrow) { margin: 16px 0 0; color: var(--muted); max-width: 45ch; }
.slide-copy .text-link, .slide-copy .btn { margin-top: 22px; }
.slider-controls { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 11px; margin-top: 19px; }
.slide-prev, .slide-next { display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; border-radius: 50%; border: 1px solid #bccae2; color: #213c74; background: #fff; line-height: 1; font-weight: 630; }
.slide-prev:hover, .slide-next:hover { border-color: #809ada; background: #e8efff; }
.slide-position { font-size: .88rem; font-weight: 600; color: #4c5d7b; font-variant-numeric: tabular-nums; }
.slider-dots { display: flex; align-items: center; gap: 2px; }
.slider-dots button { display: inline-grid; place-items: center; padding: 0; width: 28px; min-height: 38px; border: 0; background: transparent; }
.slider-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 8px; background: #a9b5c9; }
.slider-dots button[aria-current="true"]::before { width: 20px; background: var(--blue); }
.slider-dots button:hover::before { background: #4c6ab4; }

/* Closing sections */
.cta { overflow: hidden; color: #fff; background: linear-gradient(115deg, #123985, #2445a7 62%, #5747ac); padding-block: clamp(52px, 6vw, 88px); }
.cta > .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 45px; }
.cta h2 { max-width: 22ch; }
.cta p { max-width: 57ch; color: #e4edff; }
.cta h2 + p { margin-top: 14px; }
.cta .kicker, .cta .eyebrow { color: var(--mint); }
.cta .actions { margin: 0; }
.foot { background: #0c1932; color: #d5e0f3; padding-block: clamp(48px, 5vw, 72px) 25px; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1.1fr) minmax(0,.75fr) minmax(0,1fr); gap: 32px clamp(20px, 3vw, 50px); }
.footer-grid > * { min-width: 0; }
.foot .brand { border-radius: 7px; background: #fff; padding: 7px 10px; }
.foot .brand img { width: 128px; }
.foot h2, .foot h3, .foot strong { color: #fff; }
.foot h2, .foot h3 { font-size: 1rem; margin-bottom: 13px; letter-spacing: -.01em; }
.foot p { max-width: 36ch; font-size: .93rem; line-height: 1.65; }
.foot .brand + p { margin-top: 17px; }
.foot a:not(.brand) { display: block; width: fit-content; padding-block: 4px; text-decoration: none; font-size: .92rem; overflow-wrap: anywhere; }
.foot a:hover { color: var(--mint); }
.foot ul { padding: 0; list-style: none; margin: 0; }
.footer-bottom, .foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: #bccce5; border-top: 1px solid #384865; margin-top: 34px; padding-top: 20px; font-size: .85rem; }

@media (max-width: 1050px) {
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card { min-height: 245px; }
  .navbar { gap: 16px; }
  .nav-links { gap: 18px; }
}
@media (max-width: 800px) {
  .navbar { flex-wrap: wrap; min-height: 68px; padding-block: 11px; }
  .brand img { width: 125px; }
  .nav-links { order: 5; width: 100%; flex-wrap: wrap; padding: 8px 0; gap: 8px 18px; }
  .nav-links a:not(.nav-cta) { padding: 6px 0; }
  .nav-ready .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; gap: 5px; }
  .nav-ready .nav-links { display: none; }
  .nav-ready .nav-links[data-open="true"] { position: absolute; inset: 100% 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 82px); max-height: calc(100dvh - 82px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid #d9e1ee; border-radius: 0 0 15px 15px; box-shadow: 0 18px 26px -18px #132750a8; padding: 8px 16px 16px; }
  .nav-ready .nav-links a:not(.nav-cta) { padding: 12px 0; border-top: 1px solid var(--line); }
  .navbar > .nav-cta { display: none; }
  .services-toggle { width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 13px; }
  .mega-panel { position: static; grid-template-columns: 1fr; gap: 8px; padding: 8px; width: 100%; max-height: none; border: 1px solid #d9e3f2; border-radius: 11px; background: #f6f8fd; box-shadow: none; margin-bottom: 12px; }
  .nav-ready .nav-links a.mega-overview { grid-column: auto; grid-row: auto; padding: 12px; border: 0; }
  .mega-grid { grid-column: auto; grid-row: auto; }
  .nav-ready .nav-links a.mega-item { border: 1px solid transparent; padding: 10px 6px; }
  .nav-ready .nav-links .mega-utility a { border: 0; padding: 8px 5px; }
  .nav-utility { gap: 0 13px; }
  .hero { min-height: 535px; background-position: 63% center; }
  .hero::before { background: linear-gradient(90deg,#091c39f2,#102947cb 53%,#0e244383),linear-gradient(0deg,#10284570,transparent); }
  #hero-scene { right: -3%; width: 49%; opacity: .73; }
  .split, .legal, .contact-layout { grid-template-columns: 1fr; }
  .split { gap: 30px; }
  .steps { gap: 23px; }
  .legal-nav { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,1fr); gap: 18px; }
  .detail-hero img.photo, .detail-hero .photo img { aspect-ratio: 2; }
  .head-grid, .page-head > .wrap:has(.head-art) { grid-template-columns: 1fr; gap: 26px; }
  img.head-art, .head-art img { height: clamp(150px, 38vw, 270px); }
  .case-slider .slide { grid-template-columns: minmax(0,.9fr) minmax(0,1fr); }
  .slide-copy { padding: 25px; }
}
@media (max-width: 580px) {
  :root { --gutter: 20px; }
  .hero { min-height: 525px; }
  .hero h1 { font-size: clamp(2.85rem, 11vw, 3.75rem); }
  .hero-content { padding-block: 64px; }
  #hero-scene { top: auto; bottom: -8%; right: -10%; width: 57%; height: 66%; opacity: .32; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-item small { font-size: .8rem; }
  .case-slider .slide { grid-template-columns: 1fr; }
  .case-slider .slide img { height: auto; min-height: 0; max-height: 230px; aspect-ratio: 1.85; }
  .slide-copy { min-height: 215px; padding: 22px; }
  .slider-controls { gap: 7px; }
  .service-grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 22px; }
  .service-card .icon { margin-bottom: 18px; }
  .section { padding-block: 56px; }
  .steps { gap: 24px; }
  .legal-nav { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .page-head h1, .detail-hero h1 { font-size: clamp(2.55rem,10vw,3.6rem); }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes introduction { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .hero-content > *, .page-head h1, .detail-hero h1 { animation: introduction .65s cubic-bezier(.2,.65,.32,1) both; }
  .hero-content h1 { animation-delay: .05s; }
  .hero-content p:not(.eyebrow) { animation-delay: .11s; }
  .hero-content .actions { animation-delay: .17s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
