:root {
  color-scheme: light;
  --forest: #14392f;
  --ink: #18392f;
  --muted: #406055;
  --line: #cadad0;
  --gutter: clamp(1rem, 4vw, 3.75rem);
  background: #f5f7f2;
  color: var(--ink);
  font: 1rem/1.55 "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid #197b82; outline-offset: 3px; }
.shell { max-width: 88rem; margin-inline: auto; padding-inline: var(--gutter); }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-content, .identity { display: flex; align-items: center; gap: .85rem; }
.header-content { justify-content: space-between; min-height: 5rem; padding-block: .75rem; }
.identity { flex-wrap: wrap; row-gap: .25rem; }
.identity span { font-size: .875rem; font-weight: 650; }
.login, .quick-links a, .play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .4rem 1rem;
  border: 1px solid var(--forest);
  border-radius: .55rem;
  background: #fff;
  color: var(--forest);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
}
.login { flex: none; white-space: nowrap; }
.login:hover, .quick-links a:hover, .play:hover { background: #e0ede3; }

.welcome {
  display: grid;
  grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  margin-top: clamp(1rem, 3vw, 2.5rem);
  overflow: hidden;
  border-radius: 1.2rem;
  background: var(--forest);
  color: #f9fcf7;
}
.welcome-copy { align-self: center; padding: clamp(1.25rem, 5vw, 4.7rem); }
h1 { font-size: clamp(2.45rem, 5.25vw, 5.05rem); line-height: 1.05; letter-spacing: -.045em; }
h1 span { display: block; color: #cae7c8; }
.welcome p { max-width: 29rem; margin-top: 1rem; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.welcome-image { width: 100%; height: 100%; max-height: 28rem; object-fit: cover; }
.quick-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1rem clamp(1.5rem, 4vw, 3rem); }
.quick-links a { border-color: var(--line); border-radius: 99rem; font-size: .925rem; }

section[id] { scroll-margin-top: 1rem; }
h2 { font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.14; letter-spacing: -.03em; }
section[id] p { color: var(--muted); margin-top: .5rem; }
.video-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #e7f0e7;
}
.video-frame { position: relative; overflow: hidden; border-radius: .7rem; background: var(--forest); }
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--forest); }
.video-frame .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; cursor: pointer; }
.video-frame .video-feedback { padding: .65rem .9rem; margin: 0; color: #fff; }
.video-frame noscript a { display: inline-block; padding: .65rem .9rem; color: #fff; }

#safety-posters, #public-notices { padding-block: clamp(2rem, 5vw, 4rem); }
#public-notices { border-top: 1px solid var(--line); }
.poster {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  max-width: 65rem;
  margin-top: 1.15rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  overflow: hidden;
  background: #fff;
}
.poster img { width: 100%; }
.poster > a:focus-visible { outline-offset: -4px; }
.poster-copy { padding: clamp(1rem, 3vw, 2rem); }
.poster-copy h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.2; }
.poster-copy a { display: inline-block; padding-block: .6rem; margin-top: .25rem; font-weight: 650; }
.site-footer { padding-block: 1rem; background: var(--forest); color: #f9fcf7; }

@media (max-width: 47rem) {
  .welcome, .video-section { grid-template-columns: minmax(0, 1fr); }
  .welcome-copy { padding: 1.6rem 1.35rem; }
  .welcome-image { height: auto; aspect-ratio: 2 / 1; object-position: center 55%; }
  h1 { font-size: clamp(2.15rem, 8.5vw, 3.7rem); }
}

@media (max-width: 31rem) {
  .header-content { min-height: 4.5rem; }
  .identity { flex-direction: column; align-items: flex-start; }
  .identity img { width: 7rem; }
  .identity span { font-size: .875rem; }
  .login { padding-inline: .75rem; }
  .quick-links { gap: .4rem; }
  .quick-links a { padding-inline: .5rem; font-size: .875rem; }
  .poster { grid-template-columns: minmax(0, 1fr); }
}
