/* All visuals are local. No third-party fonts, scripts, tracking or dependencies. */
:root {
  color-scheme: dark;
  --navy: #031e3e;
  --white: #faf9f7;
  --gutter: clamp(28px, 5.6vw, 108px);
}
*, *::before, *::after { box-sizing: border-box; }
html { min-width: 280px; background: var(--navy); }
body { margin: 0; color: var(--white); background: var(--navy); -webkit-font-smoothing: antialiased; }
a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }
.page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: clip;
  padding: max(clamp(32px, 5.4vh, 66px), env(safe-area-inset-top))
           max(var(--gutter), env(safe-area-inset-right))
           max(clamp(24px, 4vh, 44px), env(safe-area-inset-bottom))
           max(var(--gutter), env(safe-area-inset-left));
}
.scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--navy); }
.scene__poster, .scene__poster img, .scene__video, .scene__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__poster img, .scene__video { object-fit: cover; object-position: 50% 50%; }
/* Keep video visible from the first render. Do not wait for playback to show it. */
.scene__video { display: block; opacity: 1; visibility: visible; }
.scene__video.is-unavailable { opacity: 0; }
.masthead, .message, .footer { position: relative; z-index: 1; }
/* Only appears if autoplay is blocked or reduced motion is selected; never a Pause control. */
.start-background {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 10px 11px;
  color: var(--white); background: rgba(3, 30, 62, .72);
  border: 1px solid rgba(250, 249, 247, .35); border-radius: 4px;
  font: 11px/1.35 Arial, Helvetica, sans-serif; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.start-background svg { flex: 0 0 auto; }
.start-background:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
@media (max-width: 350px) {
  .start-background { position: fixed; bottom: 75px; right: 20px; }
}
.scene__shade {
  background:
    linear-gradient(0deg, rgba(0, 12, 28, .80) 0%, rgba(0, 14, 31, .46) 23%, rgba(0, 16, 34, .03) 58%, rgba(0, 14, 31, .32) 100%),
    linear-gradient(90deg, rgba(0, 14, 31, .25), rgba(0, 14, 31, .02) 65%);
}
.masthead { display: flex; align-items: center; position: relative; }
.wordmark { display: block; width: clamp(200px, 18vw, 287px); height: auto; }
.message { align-self: end; padding-top: 180px; padding-bottom: clamp(48px, 8vh, 94px); }
h1 {
  margin: 0;
  max-width: 1050px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(46px, 5.35vw, 100px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.037em;
  text-wrap: balance;
}
h1 span { white-space: nowrap; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; }
.contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 17px;
  min-height: 44px;
  width: fit-content;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .04em;
}
.contact::after { content: ''; position: absolute; left: 0; right: 34px; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.contact svg { flex-shrink: 0; transition: transform 180ms ease; }
@media (hover: hover) {
  .contact:hover::after { transform: scaleX(1); }
  .contact:hover svg { transform: translate(2px, -2px); }
}
a:focus-visible { outline: 2px solid var(--white); outline-offset: 6px; border-radius: 2px; }
@media (max-width: 600px) {
  :root { --gutter: 26px; }
  .page { padding-top: max(34px, env(safe-area-inset-top)); padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  .wordmark { width: 195px; }
  .message { padding-top: 190px; padding-bottom: clamp(40px, 7vh, 64px); }
  h1 { font-size: clamp(34px, 8.8vw, 51px); line-height: 1.15; letter-spacing: -.034em; }
  .contact { font-size: 12px; letter-spacing: .025em; gap: 12px; }
  .contact::after { right: 30px; }
  .footer { gap: 12px; }
  .scene__shade { background: linear-gradient(0deg, rgba(0, 12, 28, .90), rgba(0, 14, 31, .47) 25%, rgba(0, 16, 34, .05) 58%, rgba(0, 14, 31, .42)); }
}
@media (max-width: 350px) {
  :root { --gutter: 20px; }
  h1 { font-size: 30px; }
  .contact { font-size: 11px; gap: 10px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .page { padding-top: 24px; padding-bottom: 15px; }
  .wordmark { width: 182px; }
  .message { padding-top: 80px; padding-bottom: 22px; }
  h1 { font-size: clamp(32px, 4.7vw, 50px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .page { background: var(--navy); min-height: 100vh; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .scene__video { display: none; }
}
