:root {
  color-scheme: light;
  --teal: #00515a;
  --teal-dark: #003f46;
  --ink: #22212c;
  --paper: #faf9f6;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --gutter: clamp(24px, 5.5vw, 96px);
}

* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 24px }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); -webkit-font-smoothing: antialiased }
a { color: inherit; text-decoration: none; touch-action: manipulation }
button { font: inherit; cursor: pointer; touch-action: manipulation }
img { display: block; max-width: 100%; height: auto }
p, h1 { margin: 0 }
svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round }
::selection { background: #b9ddd4; color: var(--teal-dark) }
:focus-visible { outline: 3px solid #d7ae70; outline-offset: 6px }
[hidden] { display: none !important }
.frame { width: min(100% - 2 * var(--gutter), 1512px); margin-inline: auto }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 16px 20px; color: var(--teal-dark); background: #fff; font: 16px var(--sans); transform: translateY(-180%) }
.skip-link:focus { transform: translateY(0) }

.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; color: #fff; background: var(--teal-dark); overflow: hidden }
.hero-media, .hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100% }
.hero-media { z-index: -2 }
.hero-poster, .hero-video { object-fit: cover; object-position: 60% center }
.hero-video { opacity: 0; transition: opacity .65s ease }
.hero-video.is-ready { opacity: 1 }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #002c32eb 0%, #002c32b3 40%, #002c3226 80%), linear-gradient(180deg, #001e2a75, transparent 25%, transparent 65%, #001e2ab3) }
.site-header { position: relative; z-index: 2; padding-block: 28px }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px }
.brand { display: block; padding: 16px 20px; border-radius: 3px; background: #fff; flex-shrink: 0 }
.brand img { width: 224px; height: auto }
.main-nav { display: flex; align-items: center; gap: 38px; font: 14px/1.5 var(--sans) }
.nav-blog { padding-block: 12px; text-underline-offset: 7px }
.nav-blog:hover { text-decoration: underline }
.nav-contact { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; padding: 10px 20px; border: 1px solid #ffffffa6; border-radius: 3px; background: #003f4640 }
.nav-contact:hover { background: #003f46a6 }
.hero-content { flex: 1; display: flex; align-items: center; padding-block: clamp(72px, 8vh, 124px) }
.hero-copy { max-width: 780px; padding-bottom: 28px }
h1 { max-width: 15ch; font-size: clamp(48px, 5.65vw, 88px); font-weight: 400; line-height: 1.045; letter-spacing: -.03em; text-wrap: balance }
.hero-description { max-width: 48ch; margin-top: 28px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: #fff }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 56px; padding: 16px 22px; border: 1px solid #fff; border-radius: 3px; font: 12px/1.5 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; transition: background-color .2s ease, color .2s ease }
.button-primary { background: #fff; color: var(--teal-dark) }
.button-primary:hover { background: #dcebe7; border-color: #dcebe7 }
.button-outline { background: #003f4659; color: #fff }
.button-outline:hover { background: var(--teal-dark) }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; padding-bottom: 28px }
.hero-location { font: 12px/1.6 var(--sans); letter-spacing: 2px; text-transform: uppercase }
.hero-location span { margin-inline: 10px }
.video-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 14px; border: 1px solid #ffffff6b; border-radius: 3px; background: #002f36a6; color: #fff; font: 13px/1.5 var(--sans) }
.video-toggle:hover { background: var(--teal-dark) }
.pause-icon { display: none }
.video-toggle.is-playing .play-icon { display: none }
.video-toggle.is-playing .pause-icon { display: block }

.site-footer { padding-block: 48px 24px; background: var(--paper) }
.footer-main { display: grid; grid-template-columns: 1fr auto auto; gap: 64px; align-items: center; padding-bottom: 36px }
.footer-name { margin-bottom: 10px; color: var(--teal-dark); font-size: 30px; line-height: 1.1 }
.footer-identity > p:last-child { font: 14px/1.6 var(--sans); color: #5b6262 }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font: 14px/1.5 var(--sans); font-style: normal; color: var(--teal-dark) }
.footer-contact a { overflow-wrap: anywhere }
.footer-phone { display: flex; align-items: center; gap: 20px; font-size: 18px }
.footer-blog { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; font: 14px/1.5 var(--sans); color: var(--teal-dark) }
.footer-contact a:hover, .footer-blog:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 5px }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid #d6dfda; font: 12px/1.7 var(--sans); color: #5b6262 }
.footer-bottom a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--teal-dark) }
.footer-bottom svg { width: 18px; height: 18px }

@media(min-width:1700px) { .hero-copy { max-width: 860px } }
@media(max-width:980px) {
  .footer-main { grid-template-columns: 1fr auto; gap: 32px }
  .footer-blog { grid-column: 1 / -1; justify-content: flex-start; width: fit-content }
}
@media(max-width:640px) {
  .site-header { padding-block: 22px }
  .header-inner { gap: 16px }
  .brand { padding: 12px 14px }
  .brand img { width: 164px }
  .main-nav { gap: 20px }
  .main-nav a { font-size: 13px }
  .nav-contact { min-height: 44px; padding: 8px 0; border: 0; background: transparent; gap: 0 }
  .nav-contact svg { display: none }
  .hero-content { padding-block: 56px 44px }
  .hero-copy { padding-bottom: 0 }
  h1 { font-size: clamp(42px, 10.8vw, 62px); max-width: 14ch; line-height: 1.06 }
  .hero-description { max-width: 36ch; font-size: 18px; margin-top: 24px }
  .hero-actions { margin-top: 28px; gap: 12px; flex-direction: column; align-items: flex-start }
  .button { min-height: 54px; padding: 14px 18px; gap: 28px; font-size: 12px; width: min(100%, 286px) }
  .hero-bottom { gap: 16px; flex-wrap: wrap; padding-bottom: 24px }
  .hero-location { font-size: 12px; letter-spacing: 1px }
  .hero-location span { margin-inline: 5px }
  .video-toggle { padding-inline: 10px; font-size: 12px }
  .site-footer { padding-block: 36px 22px }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px }
  .footer-name { font-size: 28px }
  .footer-blog { grid-column: auto }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 22px }
}
@media(max-width:374px) {
  .brand { padding: 10px 12px }
  .brand img { width: 142px }
  .main-nav { gap: 14px }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 8px }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { transition: none !important }
}
