/* New grid */

.columns {
  --page-margin-total: 3.2rem;
  --gutter: 2rem;
  --grid-cols: 12;
  max-width: calc(127rem + (var(--page-margin-total) * 2));
  margin-inline: auto;
  padding-inline: var(--page-margin-total);
  display: grid;
  column-gap: var(--gutter);
  row-gap: 2.4rem;
  grid-template-columns: repeat(var(--grid-cols), calc((100% - (var(--gutter) * (var(--grid-cols) - 1))) / var(--grid-cols)));
  grid-template-areas: "one two three four five six seven eight nine ten eleven twelve";
}

@media all and (max-width: 950px) {
  .columns {
    --page-margin-total: 2.5rem;
  }
}

.columns.no-gutter {
  --gutter: 0px;
  row-gap: 0;
}

.columns.full-bleed {
  max-width: none;
  padding-inline: 0;
}

.columns.full-width {
  max-width: none;
}

.gc {
  grid-column: var(--start, auto) / span var(--span, var(--grid-cols));
}

.gc-1 {
  --span: 1;
}
.gc-2 {
  --span: 2;
}
.gc-3 {
  --span: 3;
}
.gc-4 {
  --span: 4;
}
.gc-5 {
  --span: 5;
}
.gc-6 {
  --span: 6;
}
.gc-7 {
  --span: 7;
}
.gc-8 {
  --span: 8;
}
.gc-9 {
  --span: 9;
}
.gc-10 {
  --span: 10;
}
.gc-11 {
  --span: 11;
}
.gc-12 {
  --span: 12;
}

@media all and (max-width: 950px) {
  .gc-1,
  .gc-2,
  .gc-3,
  .gc-4,
  .gc-5,
  .gc-6,
  .gc-7,
  .gc-8,
  .gc-9,
  .gc-10,
  .gc-11,
  .gc-12 {
    --start: 1 !important;
    --span: 12;
  }
}

/* New type */

.new-type p:not([class]),
.new-type .p,
.new-type ul:not(.detail) li,
.new-type ol:not(.detail) li,
.new-type body {
  font-size: 1.4rem;
  line-height: 1.6rem;
  letter-spacing: 0;
  font-variation-settings: "wght" 400, "opsz" 14, "ital" 0;
}

.new-type .detail,
.new-type .type-detail {
  font-style: normal;
  font-size: 12px;
  line-height: 13px;
  letter-spacing: 0.02em;
  font-variation-settings: "wght" 450, "opsz" 14, "ital" 0;
  text-transform: uppercase;
}

/* Product Release specific */

.product-release-hero {
  height: calc(100svh - 18rem);
}

.gc-6 .product-release-hero {
  height: 100svh;
}

@media all and (max-width: 950px) {
  .product-release-hero {
    height: calc(100svh - 22rem);
  }
  .gc-6 .product-release-hero {
    height: 50svh;
  }
}

.product-release-hero img,
.product-release-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.breadcrumbs {
  margin-block-end: 4rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 0.8rem;

  *:not(.current):not(.final) {
    opacity: 0.6;
    transition: opacity 0.4s var(--easeOut);
  }

  a:not(.current):hover {
    opacity: 1;
  }
}

p.pr-title {
  font-weight: 400;
  font-size: 32px;
  line-height: 38px;
}

.pr-date {
  margin-block-end: 4.5rem;
}

.release-cat-title {
  padding-block: 2.4rem;
}

.gc-6 .media.pr-card {
  aspect-ratio: 189 / 212;
}

.gc-12 .media.pr-card {
  aspect-ratio: 189 / 106;
}

@media all and (max-width: 950px) {
  .gc-12 .media.pr-card {
    aspect-ratio: 189 / 175;
  }
}

.pr-cards-row {
  margin-bottom: 4rem;
}

section:has(.media.with-box) {
  overflow: visible;
}

@media all and (max-width: 950px) {
  .pr-cards-row {
    margin-bottom: 2.4rem;
  }
  .media.with-box {
    padding: 1.3rem;
  }
}

.with-box-wrap {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-row: 1fr;
  /* padding: 3.2rem 3.4rem; */
  align-items: end;
}

@media all and (max-width: 950px) {
  .with-box-wrap {
    display: flex;
    flex-direction: column;
    align-items: start;
  }
}

.with-box-wrap .media,
.with-box-wrap .media-box {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.with-box-wrap .media-box {
  margin-top: 3.2rem;
  margin-bottom: 3.2rem;
  margin-left: 3.2rem;
}

@media all and (max-width: 950px) {
  .with-box-wrap .media-box {
    margin-top: 0.8rem;
    margin-bottom: 2.5rem;
    margin-left: 0;
  }
}

.with-box-wrap .media-box {
  position: sticky;
  bottom: 3.2rem;
  z-index: 10;
}

@media all and (max-width: 950px) {
  .with-box-wrap .media-box {
    position: static;
  }
}

.media.with-box .media-sticker {
  position: sticky;
  bottom: 3.2rem;
  z-index: 10;
  width: 40rem;
  transition: all 2s var(--easeOut);
  transform-origin: center;
}

/* .media.with-box .media-sticker.no-transition {
  transition: none;
} */

.media.with-box .media-sticker.hide {
  transform: translate(-10%, 10%) rotate(-13deg);
}

.media.with-box .tool {
  position: absolute;
  top: 3.2rem;
  left: 8.3rem;
  width: 100%;
  max-width: 30rem;
  height: auto;
  object-fit: contain;
  z-index: 5;
  clip-path: polygon(0 0, 100% 0, 100% 15%, 0 15%);
}

.media.with-box .media-sticker img {
  position: relative;
  height: auto;
}

.with-box-wrap .media-box .box-title,
.with-box-wrap .media-box .box-content {
  padding-inline: 1.2rem;
}

@media all and (max-width: 950px) {
  .with-box-wrap .media-box .box-title,
  .with-box-wrap .media-box .box-content {
    padding-inline: 2.5rem;
  }
}

.media-box {
  background: #fff;
  width: 100%;
  max-width: 55rem;
}

@media all and (max-width: 950px) {
  .media-box {
    max-width: 100% !important;
  }
}

.media-box p {
  max-width: 100% !important;
}

.media-box .box-title {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-block: 1rem 0.7rem;
}

.media-box .box-content {
  padding-block: 1rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

a:has(.product-release-hero) {
  display: block;
}

a:has(.product-release-hero) .media {
  display: block;
  overflow: hidden;
}

a:has(.product-release-hero) img,
a:has(.product-release-hero) video {
  transition: 0.4s var(--easeOut);
}

a:has(.product-release-hero) .box-content {
  transition: 0.4s var(--easeOut);
}

a:has(.product-release-hero):hover img,
a:has(.product-release-hero):hover video {
  transform: scale(1.015);
}

a:has(.product-release-hero):hover .box-content {
  background: #f5f5f5;
}

a.box-content {
  transition: 0.4s var(--easeOut);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

a.box-content:last-child {
  border-bottom: 0;
}

a.box-content:hover {
  background: #f5f5f5;
}

.pr-extra-features {
  padding-inline: 4.6rem;
}

@media all and (max-width: 950px) {
  .pr-extra-features {
    padding-inline: 2.5rem;
  }
}

.pr-extra-features .media-box + .media-box {
  margin-block-start: 2.1rem;
}

.new-type section p {
  max-width: 60ch;
}

.pr-signoff {
  margin-top: 4.8rem;
  padding-block: 12rem !important;
}

.pr-signoff .columns {
  row-gap: 0;
}

@media all and (max-width: 950px) {
  .pr-signoff {
    padding-block: 6rem !important;
  }
  .pr-signoff .columns {
    row-gap: 4.4rem;
    padding-inline: 5rem;
  }
  .pr-signoff .columns .gc {
    margin-block-start: 0 !important;
  }
}

.signoff-chat {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  column-gap: 1.6rem;
  margin-top: 1.6rem;
}

.signoff-chat p {
  font-variation-settings: "wght" 500, "opsz" 14, "ital" 0;
}

.signoff-chat .profile {
  width: 3.6rem;
  height: 3.6rem;
  overflow: hidden;
  border-radius: 0.8rem;
}

.signoff-chat .profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signoff-chat .chat {
  padding-block-start: 0.2rem;
}

.signoff-chat .name {
  opacity: 0.5;
}

.pr-signoff .signoff {
  text-align: center;
  margin-top: 20rem;
}

.pr-signoff .signoff p {
  margin-inline: auto;
  font-variation-settings: "wght" 500, "opsz" 14, "ital" 0;
}

.pr-signoff .signoff svg {
  margin-top: 4rem;
}

.with-custom-cursor {
  cursor: none;
}

.custom-cursor {
  position: fixed;
  opacity: 0;
  visibility: hidden;
  width: 100%;
  z-index: 20;
  top: 50%;
  left: 50%;
  pointer-events: none;
}

@media all and (max-width: 950px) {
  .custom-cursor {
    display: none;
  }
}

.custom-cursor img {
  position: static !important;
  height: auto !important;
}

.with-custom-cursor:hover .custom-cursor {
  opacity: 1;
  visibility: visible;
}

.text-c {
  text-align: center;
}
.text-c > * {
  margin-inline: auto;
}

section.text-hero {
  padding-block-start: 16rem;
  padding-block-end: 7.2rem;
}

@media all and (max-width: 950px) {
  section.text-hero {
    padding-block-start: 12rem;
    padding-block-end: 2rem;
  }
}

.countdown-timer {
  font-variant-numeric: tabular-nums;
}

.type-on:not(:has(.word)) {
  opacity: 0.1;
}

.type-on .word {
  opacity: 0.1;
  transition: opacity 2s calc(var(--word-index) * 0.2s) var(--easeOut);
}

.type-on.animate .word {
  opacity: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffd051;
  padding: 1.5rem 2.4rem 1.2rem;
  border-radius: 4rem;
  font-variation-settings: "wght" 450, "opsz" 14, "ital" 0;
}
