:root {
  color-scheme: light;
  --white: #ffffff; --navy: #102b46; --blue: #234d70;
  --red: #c62835; --red-hover: #a51e2a;
  --text: #334e68; --muted: #526579; --line: #dce5ed; --tint: #f3f7fa;
  --shadow: 0 16px 44px #102b460b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--white); color: var(--text); font-family: 'Manrope Variable', sans-serif; }
h1, h2, h3 { color: var(--navy); }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
::selection { background: var(--navy); color: var(--white); }
.text-blue { color: var(--navy); }
.text-muted { color: var(--muted); }
.bg-blue { background: var(--navy); }
.border-line { border-color: var(--line); }
.shell { width: min(100% - 3rem, 1200px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--white); color: var(--navy); }
.brand-container { display: flex; justify-content: center; padding: .5rem 0; background: var(--white); }
.brand-link { display: block; }
.brand-logo {
  display: block; width: clamp(3.75rem, 6.75vw, 4.875rem); max-width: 100%; height: auto;
  aspect-ratio: 1; object-fit: contain; background: var(--white); filter: contrast(1.06);
}
.site-nav { overflow-x: auto; border-top: 1px solid var(--line); background: var(--white); }
.nav-list {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(.125rem, 1vw, .75rem); width: max-content; min-width: 100%;
  list-style: none; margin: 0; padding: .25rem 0;
}
.nav-link {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  padding: .75rem clamp(.25rem, 1.5vw, 1.5rem); border-radius: 10px;
  color: var(--navy); font-size: clamp(.875rem, 2.7vw, 1rem); font-weight: 600;
  line-height: 1.5; text-decoration: none; white-space: nowrap; transition: background .2s;
}
.nav-link:hover { background: var(--tint); }
.nav-link:focus-visible { outline-offset: -3px; }
.nav-link[aria-current="page"] { background: var(--tint); box-shadow: inset 0 -2px var(--red); }
.eyebrow { font-size: .75rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.hero { position: relative; isolation: isolate; background: var(--white); }
.headline { margin: 0; color: var(--navy); font-size: clamp(3.25rem, 8.8vw, 7.5rem); line-height: 1.03; font-weight: 800; letter-spacing: -.065em; overflow-wrap: anywhere; }
.headline span { display: block; }
.headline .period { display: inline; color: var(--navy); }
.secondary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  border: 1px solid var(--red); border-radius: 12px; background: var(--white); color: var(--red);
  padding: .85rem 1.25rem; font-size: .875rem; font-weight: 700; text-decoration: none;
  transition: background .2s, color .2s;
}
.secondary:hover { background: var(--red); color: var(--white); }
.signature { position: relative; width: 100%; max-width: 400px; margin: auto; padding: 28px 10px; }
.signature::after {
  content: ''; position: absolute; bottom: 0; left: 15%; width: 70%; height: 22px;
  background: #102b4612; filter: blur(16px); z-index: -1;
}
.metal {
  position: relative; aspect-ratio: 4 / 4.5; border-radius: 26px; padding: 30px;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 1rem; color: var(--navy);
  border: 1px solid var(--line); transform: perspective(1000px) rotateY(-12deg) rotateZ(5deg);
  background: linear-gradient(135deg, var(--white), var(--tint) 65%, #e8eff5);
  box-shadow: -8px 9px 0 #e8eff5, -9px 10px 0 var(--line), 0 28px 55px #102b4614, inset 1px 1px 2px var(--white);
}
.metal::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--line); border-radius: 18px; pointer-events: none; }
.portrait-backdrop {
  position: relative; isolation: isolate; overflow: hidden; background-color: var(--navy);
  background-image: radial-gradient(ellipse at 50% 28%, #52789399, transparent 72%), linear-gradient(140deg, #234d70, var(--navy) 65%, #0b2238);
  border: 1px solid #ffffff24; box-shadow: inset 0 1px 0 #ffffff26, 0 12px 32px #102b4614;
}
.portrait-frame { min-height: 0; border-radius: 14px; }
.portrait-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.contact-panel {
  position: relative; background: var(--navy); color: var(--white); border: 1px solid var(--navy);
  border-radius: 24px; box-shadow: var(--shadow); overflow-wrap: anywhere;
}
.contact-panel :is(h1, h2, h3, p, span), .experience-panel :is(h1, h2, h3, p, span) { color: var(--white); }
.contact-panel a:focus-visible { outline-color: var(--white); }
.contact-panel::before { content: ''; position: absolute; top: -1px; left: 32px; width: 72px; height: 3px; background: var(--red); }
.primary {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 68px; padding: 1.1rem 1.5rem; border-radius: 14px;
  background: var(--red); color: var(--white); font-size: 1rem; font-weight: 800;
  text-align: center; text-decoration: none; box-shadow: 0 8px 24px #c6283517;
  transition: background .2s, transform .2s;
}
.primary:hover { background: var(--red-hover); transform: translateY(-2px); }
.primary:active { transform: translateY(0); }
.step { min-width: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 50; padding: 12px 20px; background: var(--white); color: var(--navy); border-radius: 8px; }
.skip:focus { top: 16px; }
.site-page { min-height: 100svh; display: flex; flex-direction: column; }
.site-page main { flex: 1; }
.page-intro { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 2.5rem; }
.page-title { max-width: 56rem; margin: 1rem 0 1.5rem; font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -.045em; overflow-wrap: anywhere; }
.page-lead { max-width: 46rem; color: var(--muted); font-size: 1.125rem; line-height: 1.8; }
.page-closing { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 3rem 4rem; flex-wrap: wrap; }
.page-closing p { color: var(--navy); font-size: 1.125rem; }
.about-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 3rem; padding-bottom: 4rem; }
.team-intro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-copy { min-width: 0; }
.team-intro .page-title { font-size: clamp(2.25rem, 4vw, 3.5rem); }
.team-copy .experience-panel { margin-top: 2rem; }
.team-photo {
  display: grid; place-items: center; min-width: 0; width: 100%; margin: 0; aspect-ratio: 4 / 5;
  padding: clamp(1rem, 3vw, 2rem); border-radius: 24px;
  box-shadow: inset 0 1px 0 #ffffff26, 0 24px 56px #102b4629;
}
.team-photo img { display: block; width: 100%; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.experience-panel { padding: 2.5rem; border: 1px solid var(--navy); border-top: 3px solid var(--navy); border-radius: 24px; background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.experience-number { display: block; color: var(--navy); font-size: clamp(5rem, 9vw, 8rem); line-height: 1; font-weight: 800; letter-spacing: -.06em; }
.experience-label { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; line-height: 1.6; }
.values-section { padding-block: 2.5rem; background: var(--navy); }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.value-card { min-width: 0; padding: 1.75rem; border: 1px solid var(--line); border-radius: 20px; background: var(--white); overflow-wrap: anywhere; }
.value-card h2 { margin: 0 0 .75rem; color: var(--navy); font-size: 1.25rem; line-height: 1.3; font-weight: 700; }
.value-card p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.contact-page { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 4rem; text-align: center; }
.contact-page .page-title, .contact-page .page-lead { margin-inline: auto; }
.contact-card { max-width: 54rem; margin: 2.5rem auto 0; padding: clamp(1.5rem, 5vw, 3.5rem); }
.contact-primary { max-width: 42rem; min-height: 88px; margin-inline: auto; font-size: 1.125rem; }
.contact-phone { margin-top: 1.5rem; color: var(--navy); font-size: 1.125rem; font-weight: 700; }
.contact-note { max-width: 34rem; margin: 1rem auto 0; color: var(--muted); font-size: .875rem; line-height: 1.8; }
.services-page { background: var(--white); }
.services-intro { padding-block: clamp(3.5rem, 6vw, 5rem) 3.5rem; text-align: center; }
.services-eyebrow { color: var(--blue); }
.services-intro h1 { margin: 1rem 0 1.5rem; color: var(--navy); font-size: clamp(2.5rem, 4.8vw, 4.25rem); line-height: 1.12; font-weight: 750; letter-spacing: -.045em; }
.services-intro > p:last-child { margin: 0; font-size: 1.0625rem; line-height: 1.8; color: var(--muted); }
.specialties-band { padding-block: 2.5rem; background: var(--navy); }
.specialties-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.specialty { min-width: 0; padding: 2rem 1.25rem; border-radius: 16px; background: var(--white); text-align: center; scroll-margin-top: 2rem; }
.specialty-icon { display: flex; justify-content: center; margin-bottom: 1.75rem; color: var(--red); }
.specialty-icon svg { width: 56px; height: 56px; }
.specialty h2 { margin: 0 0 1rem; color: var(--navy); font-size: 1.25rem; font-weight: 750; letter-spacing: .09em; }
.specialty p { max-width: 17rem; margin: 0 auto; color: var(--muted); font-size: .9375rem; line-height: 1.9; }
.specialty:target { outline: 3px solid var(--red); outline-offset: -3px; }
.services-closing { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; padding-block: 2rem 2.5rem; }
.services-closing p { margin: 0; color: var(--navy); font-size: .9375rem; }
.services-contact-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: .35em; }
.services-contact-link:hover { color: var(--red-hover); }
.home-services { margin-top: 2.5rem; padding-block: clamp(3.5rem, 6vw, 5.5rem); background: var(--navy); }
.home-services-intro { max-width: 52rem; margin: 0 auto 3rem; text-align: center; }
.home-services .services-eyebrow { color: var(--white); }
.home-services-intro h2 { margin: 1rem 0 1.25rem; color: var(--white); font-size: clamp(2rem, 3.1vw, 2.875rem); font-weight: 750; line-height: 1.22; letter-spacing: -.035em; }
.home-services-intro > p:last-child { max-width: 42rem; margin: 0 auto; color: var(--white); font-size: 1rem; line-height: 1.8; }
.service-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.service-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 16px; background: var(--white); color: var(--navy); box-shadow: var(--shadow); }
.service-card > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.service-card-body { display: flex; flex: 1; flex-direction: column; align-items: center; padding: 1.5rem 1.25rem 1.75rem; text-align: center; }
.service-card h3 { margin: 0 0 1rem; color: var(--navy); font-size: 1.25rem; line-height: 1.4; font-weight: 750; letter-spacing: -.025em; }
.service-card p { margin: 0 0 1.5rem; color: var(--muted); font-size: .9375rem; line-height: 1.8; }
.service-read-more { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; margin-top: auto; padding: .65rem 1.75rem; border: 1px solid var(--red); border-radius: 8px; background: var(--white); color: var(--red); font-size: .875rem; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.service-read-more:hover { background: var(--red); color: var(--white); }
.site-footer { background: var(--navy); color: var(--white); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 2rem; font-size: .875rem; line-height: 1.8; }
.footer-inner p { margin: 0; }
.footer-brand { font-weight: 700; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; text-underline-offset: .3em; }
.footer-inner a:focus-visible { outline-color: var(--white); }
@media (max-width: 1023px) { .specialties-grid, .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .shell { width: min(100% - 2.5rem, 1200px); }
  .signature { max-width: 300px; padding: 8px 14px 24px; }
  .metal { aspect-ratio: 4 / 5; padding: 22px; border-radius: 20px; transform: perspective(1000px) rotateY(-8deg) rotateZ(4deg); }
  .signature .eyebrow { font-size: .75rem; letter-spacing: .1em; }
  .about-intro, .values-grid { grid-template-columns: minmax(0, 1fr); }
  .about-intro { gap: 2rem; }
  .experience-panel { padding: 2rem; }
  .contact-primary { padding-inline: 1rem; }
}
@media (max-width: 599px) {
  .specialties-grid, .service-cards { grid-template-columns: minmax(0, 1fr); }
  .services-intro { padding-bottom: 2rem; }
  .desktop-break { display: none; }
  .specialty { padding: 2rem 1.5rem; }
  .specialty-icon { margin-bottom: 1.25rem; }
  .services-closing { flex-direction: column; gap: .5rem; text-align: center; }
  .home-services-intro { margin-bottom: 2rem; }
  .service-card-body { padding: 1.5rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

