:root {
  color-scheme: light dark;

  /* Ocean surfaces and readable text over the footage. */
  --color-ocean: #031d2b;
  --color-on-ocean: #f1faff;
  --color-on-ocean-muted: #c6e4f0;
  --color-ocean-rule: #b4def04a;
  --color-control-background: #082d40;
  --color-control-border: #b4def075;
  --color-brand-outline: #b4def055;

  /* Links and the main action share the cool turquoise accent. */
  --color-accent: #9ae8f6;
  --color-accent-hover: #c2f4ff;
  --color-on-accent: #073348;
  --color-hero-name: var(--color-accent);
  --color-ocean-heading: #c6f1fa;

  /* Reading surfaces respond to the system theme. */
  --color-surface: #eaf7fc;
  --color-on-surface: #102e40;
  --color-on-surface-muted: #345b6f;
  --color-surface-rule: #b5d5e4;

  --font-family: "Helvetica Neue", Arial, sans-serif;
  --font-base: 1rem;
  --line-body: 1.55;
  --font-body: clamp(1.04rem, 1.7vw, 1.25rem);
  --font-wordmark: 1.22rem;
  --font-hero-name: clamp(4.05rem, 10.1vw, 9rem);
  --font-hero-subtitle: clamp(1.85rem, 3.4vw, 3.35rem);
  --font-section-title: clamp(2rem, 4.1vw, 4.35rem);
  --font-project-title: var(--font-section-title);
  --font-section-label: .9rem;
  --weight-brand: 680;
  --weight-hero: 640;
  --weight-section: 620;
  --weight-label: 670;
  --weight-action: 690;
  --line-hero-name: .91;
  --line-hero-subtitle: 1.08;
  --line-section-title: 1;
  --tracking-brand: -.035em;
  --tracking-hero-name: -.07em;
  --tracking-hero-subtitle: -.055em;
  --tracking-section-title: -.052em;

  --content-width: 1250px;
  --page-gutter: clamp(20px, 5vw, 72px);
  --body-measure: 53ch;
  --hero-body-measure: 37ch;
  --hero-subtitle-measure: 27rem;
  --hero-copy-measure: 35rem;
  --section-title-measure: 16ch;
  --section-columns: minmax(135px, .62fr) 2fr;
  --section-gap: clamp(22px, 4vw, 64px);
  --section-padding: clamp(48px, 7vw, 102px);
  --section-label-inset: .4rem;
  --section-title-spacing: 1.3rem;
  --ocean-height: 950px;
  --video-position: center 48%;
  --video-color-grade: hue-rotate(-22deg) saturate(1.1);
  --video-overlay:
    linear-gradient(to bottom, #031d2b68, transparent 29%, #031d2b28 60%, var(--color-ocean) 100%),
    linear-gradient(95deg, #031d2bef, #031d2bb5 31%, #031d2b35 57%, #189ac82e);
  --hero-height: clamp(580px, 51vw, 740px);
  --hero-padding: 54px 82px;
  --hero-align: center;
  --hero-subtitle-spacing: 1.35rem;
  --hero-body-spacing: 1.25rem 1.9rem;

  --header-height: 88px;
  --header-padding: 0;
  --header-gap: clamp(14px, 5vw, 68px);
  --header-wrap: nowrap;
  --nav-gap: clamp(16px, 3vw, 40px);
  --nav-order: 0;
  --nav-width: auto;
  --nav-start: auto;
  --locale-start: 0;
  --locale-padding: .55rem;
  --locale-radius: .45rem;
  --brand-gap: .68rem;
  --brand-radius: 25%;
  --brand-icon-size: 42px;
  --footer-icon-size: 36px;
  --footer-height: 84px;
  --footer-gap: 1rem;
  --contact-spacing: 1.4rem;
  --platform-gap: .5rem 1.4rem;
  --platform-spacing: 1.45rem;
  --platform-inset: .47rem;
  --platform-min-width: 5ch;
  --hit-target: 44px;
  --action-height: 54px;
  --action-gap: 1.8rem;
  --action-padding: .75rem 1.15rem;
  --action-radius: .35rem;
  --action-press-offset: 2px;
  --motion-interaction: .18s ease;
  --stroke: 1px;
  --focus-stroke: 2px;
  --focus-offset: 5px;
  --underline-offset: .26em;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-surface: #0b2b40;
    --color-on-surface: #eef9ff;
    --color-on-surface-muted: #c1deed;
    --color-surface-rule: #41677c;
  }
}

@media (max-width: 760px) {
  :root {
    --hero-align: start;
    --hero-height: 680px;
    --hero-padding: 40px 0;
    --hero-copy-measure: 29rem;
    --video-position: 53% center;
    --video-overlay: linear-gradient(to bottom, #031d2bcd, #031d2bbd 27%, #031d2b42 58%, var(--color-ocean) 100%);
  }
}

@media (max-width: 510px) {
  :root {
    --header-height: 0;
    --header-padding: 12px 4px;
    --header-gap: 2px 14px;
    --header-wrap: wrap;
    --brand-icon-size: 36px;
    --locale-start: auto;
    --nav-gap: .8rem;
    --nav-order: 3;
    --nav-width: 100%;
    --nav-start: 0;
    --hero-height: 685px;
    --font-project-title: clamp(1.6rem, 7.5vw, 2rem);
    --section-columns: minmax(0, 1fr);
    --section-gap: .8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root { --motion-interaction: 0s; }
}
