/* The two sections use opposite sides of one silhouette at the same scale. */
.wave-pair {
  --depth: clamp(28px, 9cqw, 134px);
  --channel: clamp(6px, .82cqw, 13px);
  --corner: clamp(24px, 3.4cqw, 50px);
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  filter: drop-shadow(0 2px 0 #3d757799) drop-shadow(-6px 12px 12px #12223541);
}
.wave-opening { --wave: url("assets/wave-opening.svg"); }
.wave-learning { --wave: url("assets/wave-learning.svg"); --depth: clamp(34px, 11cqw, 154px); }
.wave-studio { --wave: url("assets/wave-studio.svg"); }
.wave-pair > section {
  width: 100%;
  flex: none;
  margin-inline: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e5e54d;
}
.wave-pair > section:first-child {
  border-radius: var(--corner) var(--corner) 0 0;
  border-bottom: 0;
  mask-image: linear-gradient(black, black), var(--wave);
  mask-position: center, bottom center;
  mask-size: 100% 100%, 100% var(--depth);
  mask-repeat: no-repeat;
  mask-composite: subtract;
}
.wave-pair > section:last-child {
  margin-top: calc(var(--channel) - var(--depth));
  border-radius: 0 0 var(--corner) var(--corner);
  border-top: 0;
  mask-image: var(--wave), linear-gradient(black, black);
  mask-position: top center, bottom center;
  mask-size: 100% var(--depth), 100% calc(100% - var(--depth) + 3px);
  mask-repeat: no-repeat;
}
.wave-opening .reach-layout { padding-top: calc(var(--depth) + 14px); }
.wave-studio .news-scene { padding-top: calc(var(--depth) + 32px); }

@container page (min-width: 801px) {
  .wave-opening .hero {
    height: calc(clamp(650px, 50cqw, 840px) + var(--depth) * .48);
  }
  .wave-opening .hero .scene-content { padding-bottom: calc(65px + var(--depth) * .55); }
  .wave-opening .hero .scene-note { bottom: calc(var(--depth) + 12px); }
  .wave-learning .method {
    height: calc(clamp(680px, 54cqw, 820px) + var(--depth) * .42);
  }
  .wave-learning .method .scene-content { padding-bottom: calc(65px + var(--depth) * .4); }
  .wave-learning .school {
    height: calc(clamp(840px, 67cqw, 1120px) + var(--depth) * .5);
  }
  .wave-learning .school .scene-content { padding-top: calc(42px + var(--depth)); }
  .wave-studio .resources {
    height: calc(clamp(610px, 46cqw, 760px) + var(--depth) * .8);
  }
  .wave-studio .resources .scene-content { padding-bottom: calc(46px + var(--depth) * .85); }
}
@container page (max-width: 800px) {
  .wave-learning .school .scene-content { padding-top: calc(var(--depth) + 32px); }
  .wave-opening .hero .scene-note { bottom: calc(var(--depth) + 8px); }
}

.products-scene {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 4.2cqw, 65px);
  background: #e5e5e5;
}
.products-heading { margin-bottom: clamp(27px, 3cqw, 45px); }
.products-heading .eyebrow { margin-bottom: 12px; }
.products-heading h2 { font-size: clamp(34px, 3.8cqw, 57px); }
.products-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.product-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 clamp(18px, 2.3cqw, 36px);
  border-left: 1px solid #3d75773d;
  --symbol: #3d7577;
}
.product-line:first-child { border: 0; padding-left: 0; }
.product-line:last-child { padding-right: 0; }
.product-pocket { --symbol: #fba311; }
.product-club { --symbol: #4a4b1f; }
.product-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 23px; }
.product-symbol {
  flex: none;
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  border-radius: 16px;
  background: var(--symbol);
  color: #fba311;
  box-shadow: inset 1px 2px 2px #ffffff4d, inset -2px -2px 3px #12223538, 0 3px 0 #12223573, -3px 7px 10px #12223524;
}
.product-symbol svg { width: 35px; height: 35px; }
.product-kind { color: #3d7577; font-size: 9px; font-weight: 700; letter-spacing: 1.35px; }
.product-line h3 { color: #122235; font-size: clamp(23px, 2.15cqw, 33px); line-height: 1.09; letter-spacing: -.5px; }
.product-line > p { font-size: clamp(15px, 1.26cqw, 18px); line-height: 1.48; color: #3d7577; margin: 16px 0 24px; }
.product-entry, .product-status { margin-top: auto; color: #3d7577; font-size: 13px; }
.product-entry { display: inline-flex; align-items: center; gap: 15px; font-weight: 700; }
.product-entry span { border-radius: 50%; border: 1px solid #3d757759; width: 30px; height: 30px; display: grid; place-items: center; font: 18px Arial; }
.product-status { background: #e5e5e5; padding: 6px 11px; border-radius: 12px; font-size: 12px; }
@container page (min-width: 801px) and (max-width: 1050px) {
  .hero .intro { max-width: 290px; }
  .hero .main-nav { gap: 11px; }
  .product-heading { gap: 9px; }
  .product-kind { font-size: 8px; letter-spacing: .7px; }
}
@container page (max-width: 800px) {
  .products-list { grid-template-columns: 1fr; gap: 24px; }
  .product-line, .product-line:first-child, .product-line:last-child {
    border: 0;
    border-top: 1px solid #3d75773d;
    padding: 24px 0 0;
  }
  .product-heading { margin-bottom: 16px; gap: 12px; }
  .product-line > p { margin: 12px 0 17px; }
  .product-symbol { width: 44px; height: 44px; border-radius: 13px; }
  .product-symbol svg { width: 30px; height: 30px; }
  .product-kind { font-size: 8px; letter-spacing: .9px; }
}
