.cems {
  --cems-field: #0c2923;
  --cems-accent: var(--lime);
  --cems-corner: 16px;
  color: var(--ink);
  background: var(--paper);
}
.cems-hero {
  background: var(--cems-field);
  color: white;
  overflow: hidden;
  padding: clamp(50px, 8vw, 110px) 0;
}
.cems-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
}
.cems-hero__copy { position: relative; z-index: 1; }
.cems h1,
.cems h2,
.cems h3 { margin: 0; text-wrap: balance; }
.cems h1 {
  font-size: clamp(2.7rem, 5.6vw, 5.3rem);
  letter-spacing: -.055em;
  line-height: .99;
  max-width: 10ch;
}
.cems h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  letter-spacing: -.045em;
  line-height: 1.05;
}
.cems h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.14; }
.cems p { margin: 16px 0 0; font-size: 17px; line-height: 1.58; max-width: 67ch; }
.cems .cems-hero h1, .cems .cems-close h2 { color: white; }
.cems-hero p { color: #e8f5ef; font-size: 18px; margin: 24px 0; }
.cems-back { color: white; display: inline-block; margin-bottom: 20px; }
.cems-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--cems-accent);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.cems-action:hover { background: white; }
.cems a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.cems-poster {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--cems-corner);
  isolation: isolate;
}
a.cems-poster::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 135%;
  height: 145%;
  top: -23%;
  left: 12%;
  border-radius: 40px;
  background: var(--lagoon);
}
.cems-poster .video-thumb__play { border: 0; box-shadow: none; }
.cems .channel-videos { background: var(--mist); }
.cems .channel-videos .dur { font-family: inherit; }
.cems .channel-videos .all-videos { border: 0; }
.cems-section { padding: clamp(48px, 7vw, 104px) 0; }
.cems-mist { background: #f6f9f7; }
.cems-intro {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(20px, 5vw, 72px);
  align-items: start;
}
.cems-intro p:first-child { margin-top: 0; }
.cems-guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.cems-guide-link { display: block; color: var(--ink); text-decoration: none; }
.cems-guide-link:hover h3 { text-decoration: underline; }
.cems-guide-link img { display: block; width: 100%; height: auto; border-radius: var(--cems-corner); margin-bottom: 16px; }
.cems-guide-link h3 { text-wrap: pretty; }
.cems-qa details { background: var(--mist); border-radius: var(--cems-corner); margin-bottom: 12px; padding: 16px 20px; }
.cems-qa summary { cursor: pointer; font-weight: 700; }
.cems-copy { display: grid; gap: 40px; }
.cems-copy > section { max-width: 72ch; }
.cems-intro ul { margin: 0; padding-left: 22px; line-height: 1.9; }
.cems-close { background: var(--cems-field); color: white; }
.cems-close .cems-action { margin-top: 20px; }
@media (max-width: 760px) {
  .cems-hero__inner, .cems-intro, .cems-guides { grid-template-columns: minmax(0, 1fr); }
  .cems-guides { gap: 32px; }
  .cems h1 { max-width: 14ch; }
  a.cems-poster::before { width: 105%; height: 104%; top: 6%; left: 5%; }
  .cems .channel-videos .walk h3 { font-size: 1.225rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .cems-hero h1, .cems-hero p, .cems-hero .cems-action, .cems-hero .cems-poster {
    animation: cems-arrive .5s ease-out both;
  }
  .cems-hero p { animation-delay: .05s; }
  .cems-hero .cems-action { animation-delay: .1s; }
  .cems-hero .cems-poster { animation-delay: .13s; }
  .cems-action, .cems-guide-link { transition: transform .18s ease-out; }
  .cems-action:hover, .cems-guide-link:hover { transform: translateY(-2px); }
  @supports (animation-timeline: view()) {
    .cems-guide-link img, .cems .walk .video {
      animation: cems-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 33%;
    }
  }
  @keyframes cems-arrive {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes cems-rise {
    from { opacity: .85; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
