/* All outer edges follow the same centered column, including page headers. */
/* One outer edge surrounds the home. Each new surface overlaps the
   preceding scene, so its transparent wave reveals that scene. */
.home-surface {
  --depth: clamp(24px, 5.6cqw, 83px);
  --product-wave: clamp(24px, 4cqw, 60px);
  --news-wave: clamp(28px, 9cqw, 134px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: clamp(24px, 3.4cqw, 50px);
  background: #122235;
  box-shadow: 0 3px 0 -1px #3d757799, -6px 12px 24px #12223541;
}
.home-surface > section { flex: none; width: 100%; }
.home-surface > section + section {
  margin-top: calc(0px - var(--join-depth));
  mask-image: var(--join-shape), linear-gradient(black, black);
  mask-size: 100% var(--join-depth), 100% calc(100% - var(--join-depth) + 3px);
  mask-position: center top, center bottom;
  mask-repeat: no-repeat;
}
.home-surface .home-impact {
  --join-depth: var(--depth);
  --join-shape: url("./assets/wave-opening.svg");
}
.home-surface .numbers-layout { padding-bottom: calc(18px + var(--product-wave) * .75); }
.home-surface .products-scene {
  --join-depth: var(--product-wave);
  --join-shape: url("./assets/wave-learning.svg");
  padding-block: calc(var(--product-wave) + clamp(23px, 2.7cqw, 40px)) calc(var(--news-wave) + 22px);
}
.home-surface .news-scene {
  --join-depth: var(--news-wave);
  --join-shape: url("./assets/wave-studio.svg");
  padding-block: calc(var(--news-wave) + 25px) clamp(36px, 4cqw, 64px);
  background: #122235;
  color: #e5e5e5;
}
.home-sequence .news-terrain { opacity: .11; }
.home-sequence .news-copy .eyebrow,
.home-sequence .news-list .eyebrow { color: #e5e5e5; }
.home-sequence .news-copy .text-link { color: #e5e5e5; margin-top: 18px; }
.home-sequence .news-list { background: none; backdrop-filter: none; box-shadow: none; }
.home-sequence .news-list > a { border-color: #e5e5e560; }
.home-sequence .news-arrow { color: #122235; }
.home-sequence .news-objects { transform: scale(.72); transform-origin: top right; }
.product-status + .product-entry { margin-top: 15px; }
.product-line h3 a:hover { color: #3d7577; }
.main-nav a[aria-current="page"]:not(.nav-cta) { text-decoration: underline; text-decoration-color: #fba311; text-underline-offset: 6px; }
.inner-masthead { border-radius: clamp(20px, 2.5cqw, 35px); background: #122235; position: relative; z-index: 20; }
.inner-masthead .header { position: relative; min-height: 105px; border-bottom: 0; padding-block: 12px; }
.inner-masthead .logo img { width: clamp(125px, 16cqw, 205px); }
.breadcrumbs { color: #14213d; display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; font-size: 13px; padding-block: clamp(10px,1.1cqw,15px); }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.inner-page main { gap: clamp(24px, 2.5cqw, 40px); }
.inner-page .method, .inner-page .resources, .inner-page .school { width: 100%; }
.inner-page .wave-learning .reach-layout { padding-top: calc(var(--depth) + 16px); }
.inner-page .method h1, .inner-page .school h1, .inner-page .closing-layout h1,
.inner-page .products-heading h1, .inner-page .news-copy h1 {
  font-size: clamp(32px, 4cqw, 61px); line-height: 1.06; letter-spacing: -.035em;
}
.inner-page .school-sequence .resources .scene-content { padding-top: calc(var(--depth) + 24px); }
.inner-page .news-scene { padding-block: clamp(40px, 5cqw, 72px); }
.detail-hero { position: relative; isolation: isolate; overflow: hidden; color: #e5e5e5; }
.pocket-hero { background: #122235; }
.club-hero { background: #4a4b1f; }
.detail-grid { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 40px; padding-block: clamp(45px, 6cqw, 90px); }
.detail-grid h1 { font-size: clamp(38px, 5.5cqw, 82px); }
.detail-lead { color: #e5e5e5; max-width: 470px; font-size: clamp(17px, 1.8cqw, 25px); margin-top: 20px; }
.detail-symbol {
  display: grid; place-items: center; justify-self: center;
  width: clamp(165px, 25cqw, 350px); aspect-ratio: 3 / 2;
}
.detail-symbol img { display: block; width: 100%; height: 100%; object-fit: contain; }
.info-panel { position: relative; overflow: hidden; padding-block: clamp(35px, 4.5cqw, 68px); }
.info-panel h2 { font-size: clamp(27px, 3.7cqw, 52px); }
.info-panel .wrap > p:not(.eyebrow) { font-size: 18px; max-width: 660px; color: #3d7577; margin-block: 20px; }
.info-panel .product-status { display: inline-block; }
.store-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 30px; }
.store-list > div { border-top: 1px solid #3d757780; padding-top: 16px; }
.store-list h3 { font-size: 23px; }
.store-list p { margin-top: 10px; color: #3d7577; }
@container page (min-width: 801px) {
  .inner-page .school-sequence .resources { height: calc(clamp(610px, 46cqw, 760px) + var(--depth)); }
  .home-sequence .news-objects .globe { display: none; }
}
@container page (max-width: 800px) {
  .inner-masthead .header { min-height: 85px; }
  .inner-masthead .main-nav { top: 80px; }
  .breadcrumbs { font-size: 12px; }
  .detail-grid { grid-template-columns: 1fr; gap: 27px; }
  .detail-symbol { justify-self: start; width: clamp(125px, 44cqw, 200px); }
  .store-list { grid-template-columns: 1fr; gap: 19px; }
  .home-sequence .news-objects { display: none; }
  .home-sequence .news-list { border-radius: 0; padding-inline: 0; }
  .home-sequence .news-list > a { padding-block: 16px; min-height: 74px; }
  .home-sequence .news-list .eyebrow { margin-bottom: 8px; }
  .home-sequence .news-arrow { top: 23px; }
  .info-panel .wrap > p:not(.eyebrow) { font-size: 16px; }
}

/* The header and the two editorial highlights share a stable stage. */

.banner-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 32px; }
.banner-picker { display: inline-flex; align-items: center; gap: 7px; }
.banner-picker[hidden] { display: none; }
.banner-picker button {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid #e5e5e57d; border-radius: 50%; background: #122235a6; color: #e5e5e5;
  box-shadow: inset 1px 1px 2px #e5e5e538, 0 2px 2px #14213d55;
  font: 17px/1 Arial, sans-serif;
}
.banner-picker button:hover { background: #3d7577; }
.banner-index { font-size: 11px; letter-spacing: 1px; font-variant-numeric: tabular-nums; color: #e5e5e5; }
.hero .banner-tools .discover { margin: 0; font-size: 12px; gap: 9px; }
.hero .banner-tools .discover span { width: 21px; height: 21px; font-size: 13px; }
.banner-announcement { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.hero.school-highlight { background: #3d7577; }
.school-highlight .banner-text em { color: #fba311; }
.school-highlight .intro { color: #e5e5e5; }

.numbers-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6%; align-items: center; padding-block: calc(var(--depth) + 8px) 30px; }
.numbers-label .eyebrow { margin-bottom: 8px; font-size: 9px; letter-spacing: 1.7px; color: #e5e5e5; }
.numbers-label h2 { font-size: clamp(22px, 2.1cqw, 33px); line-height: 1.16; letter-spacing: -.7px; }
.home-impact .impact { position: static; inset: auto; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.home-impact .impact p { padding-left: clamp(16px, 3cqw, 45px); border-left: 1px solid #bdbebf5c; }
.home-impact .impact strong { font-size: clamp(34px, 3.4cqw, 52px); color: #fba311; }
.home-impact .impact small { margin-left: .16em; font-size: .58em; }
.home-impact .impact span { font-size: clamp(12px, 1.1cqw, 16px); color: #e5e5e5; }
.product-visual { width: 100%; display: grid; place-items: center; margin-bottom: 17px; }
.product-school .product-visual img { mix-blend-mode: multiply; filter: brightness(1.012); }
.product-visual img { width: 100%; max-width: 350px; height: clamp(145px, 15.5cqw, 224px); object-fit: contain; }
.products-list .product-heading { margin-bottom: 13px; }

@container page (min-width: 801px) {
  .hero .header, .inner-masthead .header {
    padding-block: 9px; min-height: 78px;
    display: flex; justify-content: space-between; align-items: center; column-gap: 24px;
  }
  /* Keep the logo on the opening copy's inset while the menu ends on
     the shared text column used by the product and news sections. */
  .hero .header .logo { margin-inline-start: max(0px, calc(72px - 50cqw + 50%)); }
  .hero .header .main-nav, .inner-masthead .header .main-nav {
    display: inline-flex; width: fit-content; margin-inline-start: auto;
    justify-content: center; align-items: center; gap: clamp(2px, .4cqw, 7px);
    padding: 7px; border-radius: 36px; border: 1px solid #e5e5e577;
    background: #14213dcf; backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 2px #e5e5e53d, 0 4px 7px #14213d41;
    font-size: clamp(15px, 1.36cqw, 20px); line-height: 1.2;
  }
  .header .main-nav > a { min-height: 38px; padding: 8px clamp(8px, .95cqw, 15px); display: inline-flex; align-items: center; justify-content: center; border-radius: 24px; white-space: nowrap; }
  .header .main-nav .nav-cta { min-height: 38px; padding: 7px clamp(10px, 1cqw, 16px); gap: 8px; border: 0; box-shadow: inset 0 1px 2px #bdbebf3b; background: #3d75774a; }
  .header .nav-cta span { font-size: 17px; }
  .header .main-nav a[aria-current="page"] { background: #3d757730; text-decoration: none; color: #fba311; }
  .wave-opening .hero { height: clamp(805px, 65cqw, 990px); }
  .wave-opening .hero .scene-content { padding-top: 215px; padding-bottom: calc(var(--depth) + 52px); }
  .wave-opening .hero .scene-note { bottom: calc(var(--depth) + 15px); }
  .hero-copy .eyebrow { margin-bottom: 24px; }
  .hero .banner-text .intro { margin-block: 25px 31px; }
}
@container page (min-width: 801px) and (max-width: 1050px) {
  .hero .header, .inner-masthead .header { padding-block: 9px; min-height: 75px; column-gap: 12px; }
  .hero .logo img, .inner-masthead .logo img { width: 156px; }
  .header .main-nav > a { padding-inline: 8px; }
  .hero .header .main-nav, .inner-masthead .header .main-nav { padding: 5px; gap: 1px; }
  .wave-opening .hero .scene-art {
    top: auto; bottom: 0; height: auto; aspect-ratio: 3 / 2; object-fit: contain; object-position: right bottom;
    mask-image: linear-gradient(to bottom, transparent, black 13%);
  }
  .wave-opening .hero .scene-content { padding-top: 190px; }
  .hero .banner-tools { gap: 14px; }
}
@container page (max-width: 800px) {
  .hero .header, .inner-masthead .header { min-height: 70px; padding-block: 9px; }
  .header .main-nav { top: calc(100% - 4px); left: 0; right: 0; margin-inline: auto; text-align: center; }
  .header .main-nav a { justify-content: center; font-size: 17px; line-height: 1.3; }
  .hero .scene-content { padding-top: 42px; }
  .hero .banner-tools { margin-top: 26px; }
  .hero .banner-tools .discover { font-size: 11px; }
  .numbers-layout { grid-template-columns: 1fr; gap: 23px; padding-block: calc(var(--depth) + 14px) 28px; }
  .home-impact .impact p:first-child { padding-left: 0; border-left: 0; }
  .home-impact .impact p + p { padding-left: 19px; }
  .product-visual { margin-bottom: 8px; }
  .product-visual img { height: clamp(130px, 38cqw, 215px); }
}
@container page (max-width: 480px) {
  .hero .header, .inner-masthead .header { min-height: 66px; padding-block: 8px; }
  .hero .scene-content { padding-top: 33px; }
  .home-impact .impact strong { font-size: 30px; }
  .home-impact .impact span { font-size: 11px; }
  .numbers-label .eyebrow { font-size: 7px; }
}

/* Pigments follow the navy, petrol, amber and olive of the product artwork. */
.word-teal { color: #3d7577; }
.word-ochre { color: #4a4b1f; }
.word-olive { color: #4a4b1f; }
.word-mint { color: #bdbebf; }
.word-honey { color: #fba311; }
.word-sage { color: #bdbebf; }

/* The upper rim catches the light; the short lower edge gives the control depth. */
.button {
  background: linear-gradient(165deg, #fba311 0%, #fba311 39%, #fba311 78%, #fba311 100%);
  border-color: #fba311; border-bottom-color: #fba311;
  box-shadow: inset 0 2px 2px #fba31184, inset 0 -2px 2px #f69e093b,
    0 4px 0 #f69e09, 0 8px 13px #14213d4d;
}
.button span {
  flex: none; display: inline-grid; place-items: center; width: 27px; height: 27px;
  margin-block: -2px; border-radius: 50%; border: 1px solid #fba311;
  background: #fba311; color: #122235; font: 18px/1 Arial,sans-serif;
  box-shadow: inset 0 1px 1px #fba311, 0 1px 2px #f69e0990;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 2px 2px #fba3119c, inset 0 -2px 2px #f69e093b,
    0 5px 0 #f69e09, 0 9px 15px #14213d50;
}
.button:active {
  transform: translateY(2px);
  box-shadow: inset 0 1px 3px #f69e0960, 0 2px 0 #f69e09, 0 3px 5px #14213d44;
}
.product-entry,
.home-sequence .news-copy .text-link,
.school .text-link, .resources .text-link, .reach-band .reach-link,
.hero .banner-tools .discover {
  display: inline-flex; align-items: center; justify-content: space-between;
  width: fit-content; max-width: 100%; min-height: 38px; gap: 13px;
  padding: 6px 7px 6px 15px; border-radius: 25px;
  border: 1px solid #3d7577; border-bottom-color: #3d7577;
  color: #e5e5e5; background: linear-gradient(165deg,#3d7577,#3d7577 76%);
  box-shadow: inset 0 1px 1px #e5e5e569, inset 0 -2px 3px #14213d56,
    0 2px 0 #122235, 0 4px 6px #12223526;
  font-weight: 700; font-size: 13px; line-height: 1.2;
  transition: transform .16s, box-shadow .16s, filter .16s;
}
.product-entry span,
.home-sequence .news-copy .text-link span,
.school .text-link span, .resources .text-link span, .reach-band .reach-link span,
.hero .banner-tools .discover span {
  flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px;
  border: 1px solid #bdbebf7a; border-radius: 50%;
  color: #fba311; background: #14213d; font: 16px/1 Arial,sans-serif;
  box-shadow: inset 0 1px 2px #14213d99, 0 1px 1px #e5e5e587;
}
.product-entry { min-height: 40px; font-size: 14px; }
.product-entry:hover, .text-link:hover, .reach-link:hover, .hero .banner-tools .discover:hover { transform: translateY(-1px); filter: brightness(1.08); }
.product-entry:active, .text-link:active, .reach-link:active, .hero .banner-tools .discover:active { transform: translateY(1px); }
.banner-picker button, .top-link {
  background: linear-gradient(145deg,#3d7577,#122235 70%); color: #e5e5e5;
  border-color: #bdbebf8a; box-shadow: inset 0 1px 1px #e5e5e580, inset 0 -2px 2px #14213d77, 0 2px 0 #14213d;
}
.banner-picker button:hover, .top-link:hover { filter: brightness(1.15); }
.banner-picker button:active, .top-link:active { transform: translateY(1px); }
.news-arrow { background: linear-gradient(155deg,#e5e5e5,#bdbebf); border-color: #e5e5e5; box-shadow: inset 0 1px 2px #fff, 0 3px 0 #3d7577, 0 5px 7px #1222352b; }
.news-list > a:hover h3, .product-line h3 a:hover, .breadcrumbs a:hover,
.contact-email:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@container page (min-width: 801px) {
  .header .main-nav .nav-cta {
    border: 1px solid #bdbebf6b; border-bottom-color: #3d7577;
    background: linear-gradient(155deg,#3d7577,#3d7577); color: #fba311;
    box-shadow: inset 0 1px 2px #e5e5e571, 0 2px 0 #14213d;
  }
  .header .main-nav a:hover { color: #fba311; background-color: #3d757733; }
  .header .main-nav a[aria-current="page"] { box-shadow: inset 0 1px 1px #e5e5e563, inset 0 -1px 2px #14213d8c; }
}
@container page (max-width: 480px) {
  .product-entry, .home-sequence .news-copy .text-link,
  .school .text-link, .resources .text-link, .hero .banner-tools .discover { font-size: 12px; gap: 8px; padding-left: 12px; }
  .hero .banner-tools { gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-entry, .text-link, .discover, .button, .reach-link { transition: none; }
}

/* A single baseline for the mark and the navigation capsule. */
body.inner-page { padding-top: clamp(16px, 2.15vw, 36px); }
.hero .header .logo img, .inner-masthead .header .logo img {
  width: clamp(114px, 12cqw, 157px); height: auto; display: block;
}
.inner-masthead { border-radius: clamp(18px, 2cqw, 29px); }
@container page (max-width: 800px) {
  .header .menu-toggle { min-width: 44px; min-height: 44px; }
  .inner-masthead .header .main-nav, .hero .header .main-nav { top: calc(100% - 2px); }
}
