:root {
  color-scheme: light;
  --navy: #10283d;
  --ink: #172f43;
  --muted: #4d6272;
  --accent: #163a94;
  --light-accent: #9ec6ff;
  --line: #dce7e7;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #507fed; outline-offset: 5px; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 5.15vw, 5.25rem); }
h2 { font-size: clamp(2.25rem, 4vw, 3.65rem); }
h3 { font-size: 1.12rem; line-height: 1.3; }
.wrap { width: min(1280px, calc(100% - 100px)); margin-inline: auto; }
.skip { position: absolute; top: -10rem; background: white; padding: 10px; z-index: 4; }
.skip:focus { top: 0; }
.utility { background: var(--navy); color: #dfebf2; font-size: .76rem; }
.utility .wrap { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding-block: 8px; }
.header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: Georgia, serif; font-size: 1.36rem; line-height: 1.05; }
.brand small { display: block; font: 700 .56rem system-ui, sans-serif; letter-spacing: .12em; margin-top: 5px; }
.mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; background: var(--navy); }
.mark svg { width: 29px; fill: none; stroke: var(--light-accent); stroke-width: 1.65; stroke-linejoin: round; }
nav { display: flex; align-items: center; gap: clamp(13px, 2vw, 28px); font-size: .87rem; font-weight: 600; }
nav a { text-decoration: none; }
nav a:hover { color: var(--accent); }
.menu { display: none; font: inherit; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 8px; padding: 7px 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 47px; padding: 11px 17px; border: 1px solid transparent; border-radius: 8px; background: var(--light-accent); color: #092e30; text-decoration: none; font-size: .85rem; font-weight: 750; transition: background .2s, color .2s; }
.button:hover { background: #d9e8ff; }
nav .button { background: var(--accent); color: white; }
nav .button:hover { background: #112c70; color: white; }
.outline { background: transparent; color: white; border-color: #78909d; }
.outline:hover { background: #25465b; }
.hero { background: radial-gradient(ellipse at 82% 25%, #1c3862, transparent 52%), var(--navy); color: white; }
.hero-grid { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: clamp(22px, 4vw, 65px); padding-block: clamp(54px, 7vw, 100px); }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .17em; margin-bottom: 16px; }
.eyebrow i, figcaption i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.hero .eyebrow, .closing .eyebrow, h1 em { color: var(--light-accent); }
h1 em { font-weight: inherit; }
.intro { color: #dfebf2; max-width: 51ch; margin-top: 25px; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.visual { position: relative; }
.visual img { display: block; width: 100%; height: auto; border-radius: 25px; border: 1px solid #517283; box-shadow: 0 20px 60px #08172555; }
figcaption { position: absolute; bottom: 6%; right: 5%; background: #f6fcf9; color: var(--ink); padding: 9px 16px; border-radius: 10px; box-shadow: 0 10px 30px #08172566; }
figcaption span { display: block; font-size: .59rem; letter-spacing: .12em; font-weight: 800; color: var(--accent); }
figcaption b { color: var(--accent); }
.section { padding-block: clamp(58px, 7vw, 105px); }
.section-intro { color: var(--muted); margin-top: 14px; }
.grid { display: grid; gap: 18px; margin-top: 31px; }
.services, .contact-grid { grid-template-columns: repeat(3, 1fr); }
.card, details { border: 1px solid var(--line); border-radius: 15px; padding: clamp(20px, 3vw, 32px); background: white; }
.card { display: flex; flex-direction: column; align-items: flex-start; }
.card p, details p, .principles p { margin-top: 10px; color: var(--muted); }
.card a { margin-top: auto; padding-top: 20px; text-underline-offset: 4px; font-weight: 700; color: var(--accent); font-size: .9rem; }
.icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; background: #edf2ff; color: var(--accent); margin-bottom: 22px; }
.icon svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tinted { background: #f2f5fc; }
.specialties { grid-template-columns: repeat(2, 1fr); align-items: start; }
details { padding: 0; transition: border-color .2s; }
details:hover, details[open] { border-color: #7191d6; }
summary { cursor: pointer; list-style: none; position: relative; padding: 22px 54px 22px 22px; font-weight: 750; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; top: 17px; right: 20px; color: var(--accent); font-size: 1.35rem; }
details[open] summary::after { content: '−'; }
summary small { display: block; font-weight: 500; color: var(--muted); }
details p { margin: 0; padding: 0 22px 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(26px, 6vw, 90px); }
.pairs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.pairs li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; border-bottom: 1px solid var(--line); padding-block: 17px; }
.pairs span { color: var(--muted); }
.stat { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.stat strong { font: 3.8rem Georgia, serif; color: var(--accent); }
.stat span { line-height: 1.4; }
.principles article { padding-block: 16px; border-bottom: 1px solid var(--line); }
.principles article:first-child { padding-top: 0; }
.closing { background: radial-gradient(ellipse at 90% 10%, #233e79, transparent 65%), var(--navy); color: white; border-radius: 22px; padding: clamp(28px, 6vw, 74px); }
.closing h2 { text-wrap: initial; }
.closing p:not(.eyebrow) { margin-block: 18px 24px; color: #dfebf2; max-width: 56ch; }
.card .status { color: var(--accent); font-weight: 700; font-size: .87rem; }
section, article[id] { scroll-margin-top: 20px; }
article:target { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
footer { background: var(--navy); color: #dbe6ed; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 26px; padding-block: 50px; }
footer h2 { color: white; font: 700 .95rem system-ui, sans-serif; margin-bottom: 12px; letter-spacing: 0; }
footer p, footer a:not(.brand) { font-size: .87rem; }
footer p { margin-top: 12px; max-width: 32ch; }
footer a:not(.brand) { display: block; text-decoration: none; margin-top: 5px; }
footer a:hover { text-decoration: underline; }
.copyright { border-top: 1px solid #3b5164; padding-block: 18px; font-size: .78rem; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 60px); }
  .menu { display: block; }
  nav { display: none; position: absolute; z-index: 2; right: 0; top: calc(100% - 4px); width: min(100%, 320px); padding: 18px; background: white; border-radius: 12px; box-shadow: 0 12px 34px #10283d30; align-items: stretch; }
  .menu[aria-expanded="true"] + nav { display: grid; }
  nav a:not(.button) { padding: 4px 8px; }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .visual { max-width: 520px; }
  .services, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
  .specialties { grid-template-columns: 1fr; }
  .actions { display: grid; }
  figcaption { padding: 5px 10px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.hero-grid { padding-block: clamp(32px, 4vw, 62px); }
.hero h1 { font-size: clamp(2.55rem, 4.6vw, 4.65rem); }
.hero .intro { margin-top: 16px; }
.hero-focus { color: #d0eee8; max-width: 54ch; margin-top: 11px; font-size: .94rem; }
.hero .actions { margin-top: 22px; }
.hero .visual { width: min(100%, 470px); justify-self: end; }
.specialty-card { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; background: white; border: 1px solid var(--line); border-radius: 15px; padding: 22px; text-decoration: none; transition: border-color .2s; }
.specialty-card:hover { border-color: var(--accent); }
.specialty-card span { grid-row: 2; color: var(--muted); }
.specialty-card b { grid-column: 2; grid-row: 1; color: var(--accent); }
.page-banner { background: radial-gradient(ellipse at 85% 10%, #233e79, transparent 65%), var(--navy); color: white; padding-block: clamp(38px, 6vw, 78px); }
.page-banner .eyebrow { color: var(--light-accent); }
.page-banner h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.page-banner .intro { max-width: 68ch; margin-top: 16px; }
.page-content { max-width: 860px; }
.page-content p { margin-block: 0 18px; color: var(--muted); }
.page-content h2 { margin-bottom: 18px; }
.page-content > .button { margin-bottom: 18px; }
.primary { background: var(--accent); color: white; }
.primary:hover { background: #112c70; }
.secondary { background: white; border-color: var(--accent); color: var(--accent); }
.request-form { padding: clamp(16px, 3vw, 30px); border: 1px solid var(--line); border-radius: 15px; }
.notice { background: #eff4ff; border-left: 4px solid var(--accent); padding: 13px 16px; }
fieldset { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
legend { font-weight: 750; margin-bottom: 12px; padding: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 5px; font-weight: 600; font-size: .9rem; }
label small { color: var(--muted); font-weight: 400; }
input, select { grid-column: 1 / -1; width: 100%; min-width: 0; min-height: 44px; padding: 8px; color: var(--ink); font: inherit; background: white; border: 1px solid #93a6ac; border-radius: 6px; }
input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button { cursor: pointer; font-family: inherit; }
.request-form .form-status { margin: 12px 0 0; }
.form-status:empty { display: none; }
@media (max-width: 740px) {
  .hero .visual { justify-self: start; }
}
@media (max-width: 550px) {
  .field-grid { grid-template-columns: 1fr; }
}

/* Official brand and disclosure navigation */
:root { --royal: #163a94; --royal-light: #edf2ff; }
[hidden] { display: none !important; }
.utility .wrap { align-items: center; padding-block: 5px; }
.utility-contact { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.utility-quote { border: 1px solid #6f88bb; border-radius: 6px; padding: 3px 10px; text-decoration: none; font-weight: 700; }
.utility-quote:hover { background: #244373; }
.official-logo { flex-shrink: 0; }
.official-logo img { width: clamp(160px, 16vw, 218px); height: auto; display: block; }
footer .official-logo { display: inline-flex; width: 148px; max-width: 100%; background: #f2f6ff; border-radius: 5px; padding: 5px; }
footer .official-logo img { width: 100%; height: auto; }
.header { min-height: 86px; }
.header nav { gap: clamp(11px, 1.35vw, 22px); }
nav .primary, .request-form .primary { background: var(--royal); }
nav .primary:hover, .request-form .primary:hover { background: #112c70; }
.nav-group { position: relative; align-self: stretch; display: flex; align-items: center; }
.nav-toggle { display: flex; align-items: center; gap: 6px; border: 0; padding: 10px 0; background: transparent; color: inherit; font: inherit; }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { color: var(--royal); }
.submenu { position: absolute; top: 100%; left: -12px; z-index: 3; width: 255px; padding: 8px; margin: 0; list-style: none; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 32px #10283d24; animation: menu-in .16s ease-out; }
.submenu a { display: block; padding: 9px 11px; border-radius: 5px; }
.submenu a:hover, .submenu a:focus-visible { background: var(--royal-light); color: var(--royal); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } }

/* Preserve the illustrated hero and bring the calls to action higher */
.hero-grid { grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3.4vw, 55px); padding-block: clamp(30px, 3.6vw, 52px); }
.hero h1 { font-size: clamp(2.45rem, 3.55vw, 3.65rem); font-weight: 700; text-wrap: initial; }
.hero h1 > span:first-child, .hero h1 em { display: block; }
.hero-divider { display: flex; align-items: center; gap: 11px; width: min(100%, 230px); margin-block: 8px; color: var(--light-accent); font: 400 1.15rem/1 system-ui, sans-serif; }
.hero-divider::before, .hero-divider::after { content: ''; flex: 1; height: 1px; background: #74a5aa; }
.hero .intro { max-width: 51ch; }
.experience { background: #edf2fc; border-bottom: 1px solid var(--line); }
.experience .wrap { display: flex; align-items: center; gap: 9px 14px; flex-wrap: wrap; padding-block: 17px; }
.experience span, .experience a { color: var(--royal); }
.experience a { margin-left: auto; font-size: .85rem; font-weight: 700; text-underline-offset: 3px; }

/* Equal service cards and simple specialty links */
.service-card { padding: 0; overflow: hidden; }
.service-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: #e4eeef; }
.service-copy { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 0 clamp(17px, 2.3vw, 28px) 24px; }
.service-copy .icon { border: 3px solid white; border-radius: 50%; margin-top: -24px; margin-bottom: 12px; position: relative; }
.service-card p, .specialty-card p { margin-bottom: 18px; }
.specialty-card { display: flex; }
.card .button { padding: 8px 12px; min-height: 42px; color: var(--royal); border-color: #bdcbe8; text-decoration: none; }
.card .button:hover { background: var(--royal-light); }
.specialties { align-items: stretch; }
.wide-content { max-width: 1040px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.detail-cta { margin-top: 28px; }
.detail-cta p { margin-bottom: 12px; color: var(--muted); }

/* Booking and inquiry forms */
.booking-panel { display: grid; grid-template-columns: 1fr 1.65fr; align-items: start; gap: clamp(20px, 4vw, 54px); padding: clamp(17px, 4vw, 53px); border-radius: 22px; background: #edf2fc; }
.booking-panel > div > p:last-child { margin-top: 16px; color: var(--muted); }
.request-form { background: white; }
.request-form .field-grid { margin-bottom: 20px; }
.request-form .notice { margin: 0 0 16px; font-size: .88rem; color: var(--muted); }
.full-field { grid-column: 1 / -1; }
.full-field small { grid-column: 1 / -1; }
textarea { grid-column: 1 / -1; width: 100%; min-width: 0; padding: 9px; border: 1px solid #93a6ac; border-radius: 6px; color: var(--ink); font: inherit; resize: vertical; }
textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.request-form .form-help, .request-form .form-status { margin: 10px 0 0; font-size: .88rem; color: var(--muted); }
.request-form .form-status { font-weight: 650; }
.contact-actions { margin-bottom: 24px; }
#booking { scroll-margin-top: 20px; }

@media (min-width: 1001px) {
  .hero h1 > span:first-child { white-space: nowrap; }
}
@media (max-width: 1000px) {
  .nav-group { display: block; }
  .nav-toggle { padding: 8px; width: 100%; justify-content: space-between; }
  .submenu { position: static; width: auto; box-shadow: none; margin-inline: 8px; }
  nav { max-height: 72vh; overflow-y: auto; }
}
@media (max-width: 740px) {
  .hero-grid, .booking-panel { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .experience a { margin-left: 0; }
}
@media (max-width: 440px) {
  .utility .wrap { gap: 4px 8px; }
  .utility-contact { gap: 1px 10px; }
  .header { min-height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .submenu { animation: none; }
}

/* Homepage hero from the approved composition */
.home-page { --hero-navy: #11243d; --hero-blue: #0848ef; --hero-light-blue: #58b9fc; }
.home-page :is(.utility, .hero, .experience) .wrap,
.home-page .header { width: min(1600px, 89%); }
.home-page .utility { background: linear-gradient(100deg, #112137, #142a4c); }
.home-page .utility-quote { border-color: #4e92dc; }
.home-page .header nav > .button { background: #0932ba; }
.home-page .header nav > .button:hover { background: #1646d5; }
.home-page .hero { position: relative; isolation: isolate; background: linear-gradient(145deg, #152d4f, var(--hero-navy) 65%); }
.home-page .hero-grid { display: flex; align-items: center; min-height: clamp(360px, 31vw, 550px); padding-block: clamp(34px, 3.2vw, 58px); }
.hero-copy { position: relative; z-index: 1; max-width: 59%; }
.home-page .hero .eyebrow { color: #fff; font-size: clamp(.68rem, .88vw, .98rem); }
.home-page .hero .eyebrow i { background: var(--hero-light-blue); }
.home-page .hero h1 { font-size: clamp(2.35rem, 3.6vw, 4rem); letter-spacing: -.025em; }
.home-page .hero h1 em { color: var(--hero-light-blue); font-size: 1.13em; }
.hero-swoosh { display: block; width: 42%; height: auto; margin: .17em 0 -.08em 7%; }
.home-page .hero .intro { max-width: 56ch; margin-top: clamp(16px, 1.4vw, 25px); color: #fff; }
.home-page .hero .actions { gap: 12px clamp(12px, 1.35vw, 24px); margin-top: clamp(20px, 2vw, 34px); }
.home-page .hero .button { padding-inline: clamp(15px, 1.65vw, 29px); min-height: clamp(46px, 3.6vw, 63px); font-size: clamp(.84rem, 1.1vw, 1.18rem); }
.home-page .hero .button:not(.outline) { background: var(--hero-blue); color: white; }
.home-page .hero .button:not(.outline):hover { background: #1b55ef; }
.home-page .hero .outline { border-color: #e1eaff; }
.hero-photo { position: absolute; inset: 0 0 0 auto; display: block; width: 47%; height: 100%; object-fit: cover; object-position: center; mask-image: linear-gradient(to right, transparent 0%, #000 22%); }
.home-page .experience { background: #e8f0fd; }
.home-page .experience .wrap { padding-block: clamp(15px, 1.35vw, 24px); }
.home-page .experience strong { font-size: clamp(.95rem, 1.3vw, 1.4rem); }
.home-page .experience a { color: #0932ba; font-size: clamp(.85rem, 1.1vw, 1.1rem); }
.home-page .experience .wrap > span { color: #0932ba; font-size: 1.4rem; line-height: 1; }
@media (max-width: 740px) {
  .home-page .hero-grid { display: block; width: 100%; padding: 0; min-height: auto; }
  .hero-copy { max-width: none; width: 89%; margin-inline: auto; padding-block: 32px 24px; }
  .hero-photo { position: static; width: 100%; height: auto; mask-image: linear-gradient(to bottom, transparent, #000 13%); }
}

.scheduling-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; list-style: none; }
.scheduling-steps .card { border-top: 3px solid var(--royal); }
.scheduling-action { margin-top: 24px; }
.scheduling-action p { margin-top: 10px; color: var(--muted); }
.faq { max-width: 860px; padding-bottom: 0; }
.request-form .booking-privacy { font-size: .82rem; line-height: 1.55; color: var(--muted); margin: 0; }
.footer-legal { display: flex; gap: 6px 18px; flex-wrap: wrap; }
footer .footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 26px; }
@media (max-width: 740px) {
  .scheduling-steps { grid-template-columns: 1fr; }
}
