@font-face {
  font-family: "Corebery Display";
  src: url("fonts/nunito-corebery.woff") format("woff");
  font-style: normal;
  font-weight: 1000;
  font-display: swap;
}

.corebery-home {
  --frame: clamp(7px, 1vw, 15px);
  --studio-wall: linear-gradient(90deg, #0b2846 3%, #125584 62%, #2787b3);
}
.corebery-home > header.mast {
  top: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  gap: 12px;
  min-height: 74px;
  margin: clamp(8px,2.4vw,36px) auto 0;
  padding: 0 clamp(14px,2.2vw,34px);
  border: var(--frame) solid white;
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  color: #fff;
  background: var(--studio-wall);
  box-shadow: none;
}
.corebery-home header.mast .logo {
  grid-area: 1 / 2;
  position: relative;
  align-self: start;
  width: clamp(138px, 13vw, 183px);
  padding: 5px 20px 12px;
  border-radius: 0 0 22px 22px;
  background: white;
}
.corebery-home header .logo::before, .corebery-home header .logo::after {
  content: "";
  position: absolute;
  top: 0;
  width: 18px;
  height: 18px;
}
.corebery-home header .logo::before { right: 100%; background: radial-gradient(circle at 0 100%, transparent 17.5px, white 18.5px); }
.corebery-home header .logo::after { left: 100%; background: radial-gradient(circle at 100% 100%, transparent 17.5px, white 18.5px); }
.corebery-home header.mast > nav { grid-area: 1 / 1; gap: clamp(12px,1.6vw,24px); flex-wrap: nowrap; font: 520 .82rem var(--body); }
.corebery-home header.mast > nav a { white-space: nowrap; }
.corebery-home header.mast > nav a:hover { color: #c9efff; }
.corebery-home header .mast-contacts { grid-area: 1 / 3; justify-self: end; color: #fff; font: 550 .85rem var(--body); }
.corebery-home header.mast > nav .nav-quote { position: absolute; right: 205px; top: 50%; transform: translateY(-50%); color: #102f49; background: #e7f8ff; }
.corebery-home header.mast .mobile-menu { grid-area: 1 / 1; justify-self: start; color: #15384a; }
.product-hero {
  padding: 0 var(--frame) var(--frame);
  background: white;
  border-radius: 0 0 34px 34px;
  box-shadow: 0 18px 48px -36px #083553b0;
}
.product-stage {
  container-type: inline-size;
  isolation: isolate;
  overflow: hidden;
  position: relative;
  height: clamp(470px,43vw,595px);
  border-radius: 0 0 22px 22px;
  color: #f7fbff;
  background: radial-gradient(ellipse at 63% 82%, #5ccdf57a, transparent 48%),
              radial-gradient(ellipse at 20% 116%, #081c32, transparent 66%), var(--studio-wall);
}
.product-wordmark {
  position: absolute;
  inset: -1% 0 auto;
  text-align: center;
  font: 1000 21.9cqw/.98 "Corebery Display", var(--body);
  letter-spacing: -.020em;
  padding-right: .02em;
  color: #fafcff;
  user-select: none;
}
.product-silhouette {
  position: absolute;
  z-index: 1;
  width: 52%;
  left: 24%;
  top: 29%;
  pointer-events: none;
}
.product-silhouette::before {
  content: "";
  position: absolute;
  left: 9%; right: 7%; bottom: -1%; height: 17%;
  border-radius: 50%;
  background: #051723b8;
  filter: blur(15px);
}
.product-silhouette img { position: relative; display: block; width: 100%; height: auto; }
.product-story, .product-request, .product-models { position: absolute; z-index: 2; }
.product-story { left: 3%; bottom: 17%; width: 22%; }
.product-story h1 { font: 660 clamp(20px,2.2cqw,33px)/1.07 var(--body); letter-spacing: -.045em; text-wrap: balance; }
.product-story p, .product-request p { margin: .65em 0 1.15em; font: 430 clamp(13px,1.08cqw,16px)/1.42 var(--body); }
.product-story p { color: #e0f0f8; }
.product-stage .cta {
  display: inline-flex; gap: 10px; align-items: center;
  min-height: 44px; padding: 10px 17px;
  border-radius: 99px; border: 0; box-shadow: none;
  background: #f6fcff; color: #103859;
  font: 620 clamp(12px,1.05cqw,15px)/1.2 var(--body);
  transition: transform .22s ease, box-shadow .22s ease;
}
.product-stage .cta.button-twist::after, .product-stage .cta::after { content: none; }
.product-stage .cta::before {
  content: ""; order: 2; flex: none; width: 7px; height: 7px;
  border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg);
}
.product-stage .cta:hover { transform: translateY(-2px); box-shadow: 0 6px 16px #042c4429; }
.product-stage .cta:active { transform: scale(.97); }
.product-request {
  right: 2%; bottom: 4%; width: 21%;
  padding: clamp(14px,1.5cqw,23px); border-radius: 22px 22px 22px 7px;
  background: #f5fbff; color: #113d5c;
}
.product-request h2 { font: 670 clamp(15px,1.5cqw,22px)/1.1 var(--body); letter-spacing: -.035em; }
.product-request p { font-size: clamp(12px,1cqw,14px); margin: 8px 0 13px; }
.product-request .cta { background: #123e60; color: #fff; }
.product-models { left: 3%; bottom: 4%; display: flex; gap: 4px; }
.product-models a {
  display: inline-grid; place-items: center; padding: 5px 8px;
  border: 1px solid #cfefff66; border-radius: 99px; color: #fff;
  font: 500 11px/1.3 var(--mono);
  transition: background .2s, color .2s, transform .2s;
}
.product-models a:is(:hover,:focus-visible) { color: #123752; background: #ddf5ff; transform: translateY(-2px); }
.product-stage a:focus-visible, .corebery-home header a:focus-visible { outline: 2px solid #8adfff; outline-offset: 3px; }
@media (prefers-reduced-motion:no-preference) {
  .product-wordmark { animation: studio-type .9s cubic-bezier(.16,1,.3,1) both; }
  .product-silhouette img { animation: studio-product 1.15s cubic-bezier(.16,1,.3,1) both; }
  .product-story, .product-request, .product-models { animation: studio-copy .72s .1s cubic-bezier(.16,1,.3,1) backwards; }
  .product-request { animation-delay: .18s; }
  .product-models { animation-delay: .24s; }
}
@keyframes studio-type { from { opacity: .48; transform: translateY(9%) scale(.97); } }
@keyframes studio-product { from { opacity: .55; transform: translateY(7%) scale(.94) rotate(-1deg); } }
@keyframes studio-copy { from { opacity: .35; transform: translateY(9px); } }
@media (max-width: 980px) {
  .corebery-home > header.mast { min-height: 67px; }
  .product-stage { height: clamp(390px,48vw,480px); }
  .product-story { width: 25%; }
  .product-request { width: 23%; }
}
@media (min-width: 701px) and (max-width: 980px) {
  .product-stage {
    display: grid;
    grid-template-columns: minmax(0,1.3fr) minmax(0,.8fr);
    gap: 12px 6%; align-items: end;
    height: auto; padding: 0 4% 24px;
  }
  .product-wordmark { top: 0; font-size: 23.3cqw; }
  .product-silhouette {
    position: relative; grid-column: 1 / -1;
    left: auto; top: auto; width: 66%; margin: 14cqw auto 0;
  }
  .product-story, .product-request, .product-models { position: static; width: auto; }
  .product-story h1 { font-size: 26px; }
  .product-request { grid-column: 2; grid-row: 2 / 4; }
  .product-models { grid-column: 1; }
  .product-models a { min-height: 36px; }
}
@media (max-width: 700px) {
  .corebery-home > header.mast, .product-hero { width: calc(100% - 16px); }
  .corebery-home > header.mast {
    grid-template-columns: auto 1fr auto;
    min-height: 56px; padding: 0 10px; gap: 6px; border-radius: 24px 24px 0 0;
  }
  .corebery-home header.mast .logo { grid-column: 1; align-self: center; width: clamp(96px,29vw,140px); padding: 7px 10px; border-radius: 99px; }
  .corebery-home header .logo::before, .corebery-home header .logo::after { display: none; }
  .corebery-home header .mast-contacts { grid-column: 2; font-size: clamp(10px,2.8vw,14px); }
  .corebery-home header.mast .mobile-menu { grid-column: 3; }
  .corebery-home .mobile-menu summary { color: #fff; background: transparent; }
  .product-hero { border-radius: 0 0 24px 24px; }
  .product-stage {
    display: grid; grid-template-columns: minmax(0,1fr); height: auto;
    padding: 0 15px 19px; border-radius: 0 0 17px 17px;
    background: radial-gradient(ellipse at 70% 41%, #3596bf88, transparent 57%), var(--studio-wall);
  }
  .product-wordmark { top: 2px; font-size: 22.2cqw; }
  .product-silhouette { position: relative; left: auto; top: auto; width: 96%; margin: 15.5cqw auto 12px; }
  .product-story, .product-request, .product-models { position: static; width: auto; }
  .product-story h1 { font-size: clamp(25px,6.6vw,36px); max-width: 19em; }
  .product-story p { max-width: 34em; font-size: 14px; margin: 8px 0 14px; }
  .product-story .stage-link { width: 100%; }
  .product-request { margin-top: 7px; padding: 0; background: none; }
  .product-request h2, .product-request p { display: none; }
  .product-request .cta { width: 100%; color: #fff; background: #113151; border: 1px solid #8dd4f1; }
  .product-models { margin-top: 10px; }
  .product-models a { min-height: 44px; flex: 1; border-color: transparent; font-size: 12px; }
  .product-stage .cta { font-size: 14px; }
}

@media (min-width:701px) {
  .corebery-home > header.mast, .product-hero {
    width: min(1960px, calc(100% - clamp(20px, 2.4vw, 48px)));
  }
  .corebery-home > header.mast { margin-top: clamp(8px,1vw,20px); }
}
@media (min-width:981px) {
  .product-stage { height: clamp(510px, min(49vw, 83svh), 890px); }
  .product-wordmark { font-size: min(21.9cqw, 39svh); }
  .product-silhouette { width: min(54%, 96svh); left: 50%; translate: -50% 0; top: 29%; }
}
