@font-face {
  font-family: "Lexend";
  src: url("fonts/lexend-variable.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
}

:root {
  color: #00263e;
  background: #7eddd3;
  font-family: "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --font-size-title: clamp(2.6875rem, 8vw, 5.25rem);
  --font-size-heading: clamp(2.1875rem, 5vw, 4rem);
  --line-height-body: 1.6;
  --line-height-heading: 1.08;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background: #7eddd3;
  line-height: var(--line-height-body);
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.75rem 1rem;
  background: #003865;
  color: #7eddd3;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.page-shell {
  min-height: calc(100vh - 4.5rem);
  width: min(100%, 80rem);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 1.5rem clamp(5rem, 10vw, 9rem);
}

.page-shell--compact {
  display: grid;
  min-height: 100vh;
  align-content: center;
  gap: clamp(2rem, 6vw, 4rem);
}

.site-header {
  margin-bottom: clamp(3rem, 8vw, 7rem);
  text-align: center;
}

.page-shell--compact .site-header { margin-bottom: 0; }

.brand-mark {
  display: block;
  width: clamp(5rem, 12vw, 7.5rem);
  height: auto;
}

.brand-lockup {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  width: clamp(16rem, 30vw, 20rem);
}

.story { width: 100%; }

.story--compact { width: min(100%, 36rem); }

.editorial-panel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.editorial-panel + .editorial-panel { margin-top: clamp(5rem, 12vw, 10rem); }

.editorial-copy--hero { grid-column: 1 / 6; }

.production-frame--hero { grid-column: 6 / -1; }

.editorial-panel--history .production-frame { grid-column: 1 / 6; }

.editorial-copy--history { grid-column: 7 / -1; }

.editorial-panel--transition {
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 2rem;
  background: #003865;
  color: #7eddd3;
}

.editorial-copy--transition { grid-column: 1 / 7; }

.editorial-panel--transition .production-frame { grid-column: 8 / -1; }

.production-frame {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 0.125rem solid #003865;
  border-radius: 1.5rem;
  background: #003865;
}

.editorial-panel--transition .production-frame { border-color: #7eddd3; }

.production-frame--portrait {
  width: min(100%, 28rem);
  justify-self: center;
}

.production-scene {
  display: block;
  width: 100%;
}

.production-scene img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #003865;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: #003865;
  font-size: var(--font-size-title);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: var(--line-height-heading);
}

h2 {
  max-width: 14ch;
  margin: 0;
  color: #003865;
  font-size: var(--font-size-heading);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: var(--line-height-heading);
}

.section-label {
  margin: 0 0 0.75rem;
  color: #003865;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tide-line {
  width: min(15rem, 60%);
  height: 1.25rem;
  margin: clamp(2rem, 5vw, 3.25rem) 0;
  border-top: 0.25rem solid #84754e;
  border-radius: 50% 50% 0 0;
  opacity: 0.9;
}

.story-copy {
  max-width: 34rem;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
  font-size: clamp(1.25rem, 2vw, 1.4375rem);
}

.story--compact > p { margin: 0 0 1.5rem; }

.editorial-panel--transition h2,
.editorial-panel--transition .section-label { color: #7eddd3; }

.editorial-copy--transition { text-align: center; }

.editorial-copy--transition .story-copy { margin-left: auto; margin-right: auto; }

.service-status {
  margin: 2.5rem 0 0;
  color: #7eddd3;
  font-size: 0.9375rem;
  font-weight: 700;
}

.story--compact .service-status { color: #003865; }

.bridge-cta {
  display: inline-flex;
  min-width: min(12rem, 100%);
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  border: 0.125rem solid #7eddd3;
  border-radius: 999px;
  background: #7eddd3;
  color: #003865;
  font-weight: 700;
  text-decoration: none;
}

.bridge-cta:hover { background: #00b0b9; }

.story--compact .bridge-cta {
  border-color: #003865;
  background: #003865;
  color: #7eddd3;
}

.story--compact .bridge-cta:hover { background: #00263e; }

:focus-visible {
  outline: 0.1875rem solid #003865;
  outline-offset: 0.1875rem;
}

.editorial-panel--transition :focus-visible { outline-color: #7eddd3; }

.site-footer {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-top: 0.0625rem solid #7eddd3;
  color: #003865;
  font-size: 0.8125rem;
}

.site-footer p { margin: 0; }

.site-footer a {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
}

@media (max-width: 34rem) {
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 50rem) {
  .editorial-panel { grid-template-columns: 1fr; }

  .editorial-copy--hero,
  .production-frame--hero,
  .editorial-panel--history .production-frame,
  .editorial-copy--history,
  .editorial-copy--transition,
  .editorial-panel--transition .production-frame { grid-column: auto; }

  .production-frame--portrait { width: min(100%, 32rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
