:root {
  --navy: #071a34;
  --blue: #123b76;
  --blue-bright: #1f58a8;
  --yellow: #f2c230;
  --paper: #f5f7fa;
  --white: #fff;
  --ink: #122033;
  --muted: #5d6878;
  --line: #dce2ea;
  --shadow: 0 18px 50px rgba(7, 26, 52, .12);
  --radius: 18px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.page-shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 14px; background: var(--white); color: var(--navy); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; height: 82px; background: rgba(255,255,255,.96); border-top: 5px solid var(--blue); border-bottom: 1px solid rgba(7,26,52,.08); backdrop-filter: blur(12px); }
.nav-shell { width: var(--shell); height: 77px; margin-inline: auto; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 30px; }
.brand { align-self: stretch; display: flex; align-items: center; width: fit-content; padding: 8px 0; }
.brand img { width: 152px; height: auto; }
.site-nav { display: flex; justify-content: center; gap: 34px; font-weight: 700; }
.site-nav a { position: relative; padding: 10px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 3px; background: var(--yellow); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.header-phone { display: grid; padding-left: 22px; border-left: 1px solid var(--line); line-height: 1.2; text-align: right; }
.phone-kicker { color: var(--muted); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.header-phone strong { color: var(--blue); font-size: 1.08rem; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 10px; background: var(--paper); }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

.hero { position: relative; min-height: 640px; display: grid; align-items: center; overflow: hidden; background: var(--navy); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 48%; }
.hero-shade { background: linear-gradient(90deg, rgba(5,19,39,.91) 0%, rgba(5,19,39,.7) 43%, rgba(5,19,39,.12) 78%), linear-gradient(0deg, rgba(5,19,39,.36), transparent 40%); }
.hero-inner { position: relative; z-index: 1; padding: 92px 0 110px; color: var(--white); }
.eyebrow { margin: 0 0 16px; color: #fff0af; font-size: .79rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.dark { color: var(--blue-bright); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif; line-height: 1.05; letter-spacing: -.025em; }
h1 { max-width: 750px; margin-bottom: 24px; font-size: clamp(3.15rem, 7vw, 6.2rem); text-transform: uppercase; }
.hero-copy { max-width: 590px; margin-bottom: 32px; color: rgba(255,255,255,.84); font-size: 1.18rem; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 22px; border: 2px solid transparent; border-radius: 8px; font-weight: 800; transition: transform .18s ease, background-color .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: var(--navy); }
.button-primary:hover, .button-primary:focus-visible { background: #ffd65a; }
.button-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.button-ghost:hover, .button-ghost:focus-visible { background: var(--white); color: var(--navy); }

.quick-info { position: relative; z-index: 3; margin-top: -42px; }
.quick-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.quick-item { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 25px 30px; }
.quick-item + .quick-item { border-left: 1px solid var(--line); }
.quick-item strong { color: var(--navy); font-size: 1.04rem; }
.quick-item a:not(.text-link), .quick-item span:not(.quick-label) { color: var(--muted); overflow-wrap: anywhere; }
.quick-label { margin-bottom: 5px; color: var(--blue-bright); font-size: .74rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.text-link { width: fit-content; margin-top: 3px; color: var(--blue-bright); font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.section { padding: 112px 0; }
.services { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 430px); align-items: end; gap: 40px; margin-bottom: 46px; }
.section-heading h2, .contact-copy h2 { margin-bottom: 0; color: var(--navy); font-size: clamp(2.6rem, 5vw, 4.6rem); text-transform: uppercase; }
.section-intro { margin-bottom: 5px; color: var(--muted); font-size: 1.06rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 290px; overflow: hidden; border-radius: 14px; background: var(--navy); box-shadow: 0 10px 32px rgba(7,26,52,.08); }
.service-card-wide { grid-column: span 2; min-height: 350px; }
.service-card::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(5,19,39,.9)); }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover img { transform: scale(1.035); }
.service-card-body { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 24px; color: var(--white); }
.service-card-body span { color: #fff0af; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.service-card-body h3 { margin: 4px 0 0; color: var(--white); font-size: 1.65rem; }
.service-card-body p { margin: 5px 0 0; color: rgba(255,255,255,.78); }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; }
.service-list div { display: flex; min-height: 108px; flex-direction: column; justify-content: center; padding: 22px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-list div:nth-child(3n) { border-right: 0; }
.service-list div:nth-last-child(-n+3) { border-bottom: 0; }
.service-list strong { color: var(--navy); font-size: 1.08rem; }
.service-list span { color: var(--muted); }
.service-note { margin: 30px 0 0; padding: 18px 22px; border-left: 4px solid var(--yellow); background: #fff8d7; color: #504618; }

.team-section { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 760px; }
.person { overflow: hidden; border-radius: 14px; background: var(--paper); }
.person img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; object-position: center top; }
.person div { padding: 22px; }
.person h3 { margin-bottom: 5px; color: var(--navy); font-size: 1.6rem; }
.person p { margin: 0; color: var(--muted); }
.person-featured { outline: 3px solid var(--yellow); outline-offset: -3px; }

.contact-section { padding: 100px 0; background: var(--navy); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.contact-copy h2 { color: var(--white); }
.contact-copy > p:not(.eyebrow) { max-width: 650px; margin: 24px 0 30px; color: rgba(255,255,255,.75); font-size: 1.08rem; }
.hours-card { padding: 32px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.07); }
.hours-card h3 { font-size: 1.8rem; }
.hours-card dl { margin: 0; }
.hours-card dl div { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.13); }
.hours-card dt { color: rgba(255,255,255,.68); }
.hours-card dd { margin: 0; text-align: right; font-weight: 800; }
.hours-card address { margin-top: 24px; color: rgba(255,255,255,.75); font-style: normal; }
.text-link.light { color: #fff0af; }

.site-footer { padding: 42px 0; background: #041127; color: rgba(255,255,255,.65); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr auto; align-items: end; gap: 36px; }
.footer-logo { width: 120px; margin-bottom: 16px; padding: 7px 10px; border-radius: 7px; background: var(--white); }
.site-footer p { margin-bottom: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { text-decoration: underline; }
.copyright { white-space: nowrap; }
.mobile-actions { display: none; }

.vacation-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: rgba(4, 17, 39, .72); backdrop-filter: blur(3px); }
.vacation-overlay[hidden] { display: none; }
.vacation-card { width: min(590px, 100%); padding: clamp(30px, 6vw, 58px); border-top: 8px solid var(--yellow); border-radius: var(--radius); background: var(--white); box-shadow: 0 30px 90px rgba(0,0,0,.35); text-align: center; }
.vacation-card img { width: 132px; margin: 0 auto 24px; }
.vacation-kicker { margin-bottom: 9px; color: var(--blue-bright); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.vacation-card h2 { margin-bottom: 22px; color: var(--navy); font-size: clamp(2.5rem, 8vw, 4.3rem); text-transform: uppercase; }
.vacation-period { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; color: var(--blue); font-size: clamp(1.2rem, 4vw, 1.55rem); font-weight: 900; }
.vacation-card #vacation-description { max-width: 440px; margin: 0 auto 28px; color: var(--muted); }
.vacation-dismiss { min-height: 50px; padding: 12px 22px; border: 0; border-radius: 8px; background: var(--navy); color: var(--white); font: inherit; font-weight: 800; cursor: pointer; }
.vacation-dismiss:hover { background: var(--blue); }
body.vacation-active { overflow: hidden; }
body.vacation-active .site-header,
body.vacation-active main,
body.vacation-active .site-footer,
body.vacation-active .mobile-actions { filter: grayscale(1); pointer-events: none; user-select: none; }

.legal-main { min-height: 70vh; padding: 80px 0 100px; background: var(--paper); }
.legal-shell { max-width: 850px; padding: 48px clamp(22px, 5vw, 58px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.legal-shell h1 { margin-bottom: 35px; color: var(--navy); font-size: clamp(2.5rem, 7vw, 4.5rem); }
.legal-shell h2 { margin-top: 38px; color: var(--navy); font-size: 1.65rem; }
.legal-shell h3 { margin-top: 28px; font-family: inherit; font-size: 1.12rem; letter-spacing: 0; line-height: 1.35; }
.legal-shell h4 { margin-bottom: 8px; }
.legal-shell p, .legal-shell li { color: #3d4959; }
.legal-shell a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.legal-back { display: inline-flex; margin-bottom: 26px; color: var(--blue-bright); font-weight: 800; }

*:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }

@media (max-width: 900px) {
  .nav-shell { grid-template-columns: 1fr auto auto; gap: 16px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 81px; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 12px 20px 20px; background: var(--white); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .header-phone { padding-left: 0; border: 0; }
  .phone-kicker { display: none; }
  .hero { min-height: 600px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-item:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .quick-item:nth-child(2) { border-left: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-wide { grid-column: span 1; min-height: 290px; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .service-list div:nth-child(3n) { border-right: 1px solid var(--line); }
  .service-list div:nth-child(2n) { border-right: 0; }
  .service-list div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .service-list div:nth-last-child(-n+2) { border-bottom: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .copyright { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 28px, 1180px); }
  body { padding-bottom: 62px; }
  .site-header, .nav-shell { height: 72px; }
  .site-header { border-top-width: 4px; }
  .site-nav { top: 71px; }
  .brand img { width: 118px; }
  .header-phone { display: none; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .hero { min-height: 580px; }
  .hero-image { object-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,19,39,.9), rgba(5,19,39,.55)), linear-gradient(0deg, rgba(5,19,39,.45), transparent); }
  .hero-inner { padding: 68px 0 100px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
  .hero-actions, .contact-actions { flex-direction: column; }
  .button { width: 100%; }
  .quick-info { margin-top: -28px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-item { padding: 21px 22px; }
  .quick-item:first-child { grid-column: auto; }
  .quick-item + .quick-item { border-top: 1px solid var(--line); border-left: 0; }
  .section { padding: 78px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .section-heading h2, .contact-copy h2 { font-size: 2.65rem; }
  .service-grid, .service-list, .team-grid { grid-template-columns: 1fr; }
  .service-card, .service-card-wide { min-height: 315px; }
  .service-list div { min-height: 96px; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .service-list div:last-child { border-bottom: 0 !important; }
  .team-grid { gap: 16px; }
  .person { display: grid; grid-template-columns: 125px 1fr; align-items: center; }
  .person img { height: 100%; min-height: 150px; aspect-ratio: auto; }
  .contact-section { padding: 74px 0; }
  .hours-card { padding: 24px 20px; }
  .hours-card dl div { gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .copyright { grid-column: auto; }
  .mobile-actions { position: fixed; right: 0; bottom: 0; left: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; height: 62px; box-shadow: 0 -5px 20px rgba(7,26,52,.18); }
  .mobile-actions a { display: flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--navy); font-weight: 900; }
  .mobile-actions a + a { background: var(--blue); color: var(--white); }
  .legal-main { padding: 36px 0 60px; }
  .legal-shell { border-radius: 12px; }
  .vacation-overlay { padding: 14px; }
  .vacation-card { padding: 30px 20px; }
  .vacation-period { flex-wrap: wrap; }
}
