/* ==========================================================================
   The Digital Third — styles
   Rebuilt from the Webflow original as clean, hand-written CSS.
   ========================================================================== */

/* ---------- Fonts ---------- */

@font-face {
  font-family: "Druk Cond Super";
  src: url("/fonts/DrukCond-Super.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Druk Wide";
  src: url("/fonts/DrukWide-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --black: #000;
  --white: #fff;
  --dark-grey: #525252;
  --light-grey: #d6d6d6;
  --black-line: #0006;
  --white-line: #fff6;

  --red: #ff4848;
  --yellow: #fddd34;
  --green: #2bf3ab;
  --marquee-red: #ff4656;
  --marquee-blue: #06f;

  --font-display: "Druk Cond Super", Arial, sans-serif;
  --font-heading: "Druk Wide", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --font-body: "Inter", Arial, sans-serif;

  --border: 0.5px;
  --pad: 1.25rem;

  --ease: cubic-bezier(0.21, 1, 0.34, 1);
  --ease-accordion: cubic-bezier(0.625, 0.05, 0, 1);
  --ease-tabs: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --speed-slow: 0.6s;
  --speed: 0.45s;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--dark-grey);
  background-color: var(--black);
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
  overflow-x: clip;
}

::selection {
  background: var(--black);
  color: var(--white);
  text-shadow: none;
}

img {
  display: block;
  max-width: 100%;
}

p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  text-align: inherit;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--black);
  line-height: 0.8;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 {
  font-size: 10rem;
}

h2 {
  font-size: 9rem;
}

h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--black);
  font-size: 2rem;
  line-height: 0.96;
  text-transform: uppercase;
}

h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--black);
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
}

.text-white {
  color: var(--white);
}

.max-width-small {
  max-width: 20rem;
}

.sub-text {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---------- Layout primitives ---------- */

.page-wrapper {
  display: flex;
  flex-flow: column;
  align-items: center;
  overflow: visible;
}

.main-wrapper {
  z-index: 1;
  position: relative;
  display: flex;
  flex-flow: column;
  align-items: center;
  width: 100%;
  padding-top: 4rem;
  background-color: var(--white);
}

.section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.page-padding {
  width: 100%;
  max-width: 124rem;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.content-wrapper {
  width: 100%;
  border-left: var(--border) solid var(--black-line);
}

.content-wrapper--hero {
  border-top: var(--border) solid var(--black-line);
  border-right: var(--border) solid var(--black-line);
}

.content-wrapper--white {
  border-left-color: var(--white-line);
}

.flex-row {
  display: flex;
  overflow: clip;
}

.flex-row--reverse-mobile {
  /* reverses on mobile via media query below */
}

.col {
  width: 100%;
}

.col--medium {
  flex: 33.33%;
  max-width: 33.33%;
  position: relative;
}

.col--large {
  flex: 50%;
  max-width: 50%;
}

.col--xlarge {
  flex: 66.66%;
  max-width: 66.66%;
}

.col--no-padding {
  padding: 0;
}

/* The bordered content cell used everywhere */
.cell {
  width: 100%;
  height: 100%;
  padding: var(--pad);
  border-top: var(--border) solid var(--black-line);
  border-right: var(--border) solid var(--black-line);
}

.cell--white {
  border-top-color: var(--white-line);
  border-right-color: var(--white-line);
}

.cell--stretch {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  align-items: stretch;
  gap: var(--pad);
}

.cell--bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cell--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cell--min-h {
  min-height: 12.5rem;
}

.cell--gap-20 {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  gap: var(--pad);
}

.cell--statement {
  min-height: 18rem;
}

.stack {
  display: flex;
  flex-flow: column;
  gap: var(--pad);
}

.stack--gap-8 {
  gap: 0.5rem;
}

.stack--gap-12 {
  gap: 0.75rem;
}

.section-pad {
  width: 100%;
}

.section-pad--bottom {
  height: 4rem;
  border-top: var(--border) solid var(--black-line);
}

.section-pad--white {
  border-top-color: var(--white-line);
}

.section-pad--top {
  height: 4rem;
}

.section-pad--top-large {
  height: 6rem;
}

.media-frame {
  position: relative;
  width: 100%;
}

.media-frame--16-9 {
  aspect-ratio: 16 / 9;
}

.media-frame--3-2 {
  aspect-ratio: 3 / 2;
}

.media-frame img,
.media-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.number-heading {
  font-family: var(--font-display);
  font-size: 10rem;
  line-height: 0.8;
  letter-spacing: 0.01em;
  color: var(--black);
  text-transform: uppercase;
  text-align: right;
}

/* ---------- Loader ---------- */

.loader {
  z-index: 100;
  position: fixed;
  inset: 0;
  display: flex;
  width: 100vw;
  height: 100svh;
  background-color: var(--black);
  pointer-events: none;
}

.loader__wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(24rem, 85vw);
  height: 4rem;
  margin: auto;
  overflow: clip;
}

.loader__bar {
  position: absolute;
  inset: 0;
  width: 0;
  background-color: var(--white);
}

.loader__logo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 3rem;
  color: var(--white);
  opacity: 0;
}

.loader__logo svg {
  width: 100%;
  height: 100%;
}

/* ---------- Navbar ---------- */

.navbar {
  z-index: 9;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--white);
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.navbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 124rem;
  height: 4rem;
  margin-inline: auto;
  padding-inline: var(--pad);
  border-right: var(--border) solid var(--black-line);
  border-bottom: var(--border) solid var(--black-line);
  border-left: var(--border) solid var(--black-line);
}

.navbar__logo {
  display: block;
  width: 14rem;
  color: var(--black);
}

.navbar__logo svg {
  width: 100%;
  height: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--pad);
}

.navbar__link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.01rem;
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
}

/* ---------- Cover hover (wipe-away black block) ---------- */

.cover {
  position: relative;
  display: inline-block;
  line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
  .cover::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 1;
    background-color: var(--black);
    clip-path: inset(0 0 0 0);
    transition: clip-path var(--speed-slow) var(--ease);
  }

  .cover:hover::before {
    clip-path: inset(0 100% 0 0);
  }
}

.statement .cover {
  color: var(--white);
  background-color: var(--black);
}

@media (hover: hover) and (pointer: fine) {
  .statement .cover {
    color: inherit;
    background: none;
  }
}

/* ---------- Buttons ---------- */

.button {
  position: relative;
  display: block;
  width: 100%;
  padding: var(--pad);
  border: var(--border) solid var(--black-line);
  background-color: var(--black);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  overflow: clip;
}

.button__text {
  display: block;
}

.button--white {
  border-color: var(--white-line);
  background-color: var(--white);
  color: var(--black);
}

.button--red {
  background-color: var(--red);
}

.button--yellow {
  background-color: var(--yellow);
}

.button--green {
  background-color: var(--green);
}

@media (hover: hover) and (pointer: fine) {
  .button::before {
    content: "";
    position: absolute;
    inset: -1px;
    background-color: var(--white);
    clip-path: inset(100% 0 0 0);
    transform: scale(-1, -1);
    transition: clip-path var(--speed-slow) var(--ease);
  }

  .button .button__text {
    position: relative;
    background-color: var(--white);
    background-image: linear-gradient(var(--black), var(--black));
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100% 0;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    transition: background-size var(--speed-slow) var(--ease);
  }

  .button:hover::before,
  .button:focus-visible::before {
    clip-path: inset(0 0 0 0);
    transform: scale(1, 1);
  }

  .button:hover .button__text,
  .button:focus-visible .button__text {
    background-size: 100% 100%;
    background-position: top center;
  }

  /* Inverse combo */
  .button--white::before {
    background-color: var(--black);
  }

  .button--white .button__text {
    background-color: var(--black);
    background-image: linear-gradient(var(--white), var(--white));
  }
}

/* ---------- Hero tabs ---------- */

.tabs {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  height: 70svh;
  min-height: 520px;
  background-color: var(--black);
  overflow: hidden;
}

.tabs--mobile {
  display: none;
}

.tabs__content {
  position: relative;
  flex: 0 auto;
  width: 0%;
  overflow: hidden;
  transition: width 0.8s var(--ease-tabs);
}

.tabs__content.is-active {
  width: 100%;
}

.tabs__content--yt {
  background-color: var(--red);
}

.tabs__content--neue {
  background-color: var(--yellow);
}

.tabs__content--arena {
  background-color: var(--green);
}

.tabs__panel {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  padding: var(--pad);
}

.tabs__title {
  z-index: 1;
  position: relative;
  max-width: 16ch;
  flex: none;
}

.tabs__title--h1 {
  max-width: 12ch;
  font-size: 10rem;
}

.tabs__content--yt .tabs__title,
.tabs__content--neue .tabs__title,
.tabs__content--arena .tabs__title {
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 0.8;
}

.tabs__content--arena .tabs__title--two-lines {
  max-width: none;
  font-size: min(9rem, 9vw);
}

.tabs__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.tabs__link {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 12%;
  max-width: 6.5rem;
  padding: var(--pad);
  border-left: var(--border) solid var(--black-line);
  background-color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 0.8;
  color: var(--black);
  text-decoration: none;
  transition: background-color 0.3s, width 0.8s var(--ease-tabs);
}

.tabs__link--home {
  z-index: 1;
  position: relative;
  justify-content: flex-end;
  align-items: center;
  border-left: none;
  background: #fff;
  transition: background 0.8s;
}

.tabs__link--home.is-active {
  pointer-events: none;
}

.tabs__link--home:not(.is-active):hover {
  background: linear-gradient(#ef4a5a, #faa744, #fddd34, #6ec49a, #77d1f4, #ef4a5a);
  background-size: 200% 200%;
  animation: gradient-shift 1.2s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.tabs__link--yt:hover {
  background-color: var(--red);
}

.tabs__link--neue:hover {
  background-color: var(--yellow);
}

.tabs__link--arena:hover {
  background-color: var(--green);
}

.tabs__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
}

.tabs__link--home .tabs__icon {
  display: none;
}

.tabs__heading {
  align-self: flex-end;
  margin: 0;
  font-size: 0.9em;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
  transform: rotate(180deg);
}

@media (min-width: 768px) {
  .tabs__heading {
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
}

/* ---------- Hero below (logo + tab info) ---------- */

.hero__below {
  display: flex;
  overflow: clip;
}

.hero__logo-col,
.hero__info-col {
  flex: 50%;
  max-width: 50%;
  width: 100%;
}

.hero__logo-col {
  padding: var(--pad);
  border-top: var(--border) solid var(--black-line);
  min-height: 16rem;
}

.hero__info-col {
  position: relative;
  padding: var(--pad);
  border-top: var(--border) solid var(--black-line);
  border-right: var(--border) solid var(--black-line);
  min-height: 16rem;
  display: flex;
  align-items: flex-end;
}

.hero__logo {
  width: 20rem;
  color: var(--black);
}

.hero__logo svg {
  width: 100%;
  height: auto;
}

.info-container {
  display: none;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--pad);
  width: 100%;
  height: 100%;
}

.info-container.is-active {
  display: flex;
}

.info-container__text {
  width: 100%;
  text-align: right;
}

.info-container .button {
  width: fit-content;
  min-width: 18rem;
  padding-inline: 2.5rem;
}

/* ---------- Spotlight ---------- */

.spotlight__aside {
  display: flex;
  flex-flow: column;
  height: 100%;
}

.spotlight__aside > :first-child {
  flex: 1;
}

.spotlight__aside .cell--stretch h3 {
  align-self: flex-start;
}

/* ---------- Overview: mouse-follow hover reveal ---------- */

.hover-reveal {
  display: flex;
  width: 100%;
  height: 70svh;
  min-height: 540px;
}

.hover-reveal__zone {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
}

.hover-reveal__card {
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26vw;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  transform: translate(-50%, -50%);
}

.hover-reveal__medias {
  width: 100%;
  height: 100%;
}

.hover-reveal__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  visibility: hidden;
  pointer-events: none;
}

.hover-reveal__media.is-on {
  visibility: visible;
}

.hover-reveal__label {
  position: absolute;
  inset: 0;
  padding: var(--pad);
  border-top: var(--border) solid var(--black-line);
  border-right: var(--border) solid var(--black-line);
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  height: 100%;
  pointer-events: none;
}

/* ---------- Sliders ---------- */

.slider {
  border-top: var(--border) solid var(--black-line);
  border-right: var(--border) solid var(--black-line);
  overflow: clip;
}

.slider--white {
  border-top-color: var(--white-line);
  border-right-color: var(--white-line);
}

.slider__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--pad);
  border-bottom: var(--border) solid var(--black-line);
}

.slider__top--white {
  border-bottom-color: var(--white-line);
}

.slider__buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider__button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3em;
  height: 3em;
  padding: 0;
  background-color: var(--black);
  color: var(--white);
  transition: color 0.2s, background-color 0.2s;
}

.slider__button:hover {
  border: 1px solid var(--black);
  background-color: var(--white);
  color: var(--black);
}

.slider__button--white {
  background-color: var(--white);
  color: var(--black);
}

.slider__button--white:hover {
  border: var(--border) solid var(--white-line);
  background-color: var(--black);
  color: var(--white);
}

.slider__button.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.slider__arrow {
  width: 0.625rem;
}

.slider__arrow--left {
  transform: rotate(180deg);
}

.slider__link {
  position: relative;
  display: block;
  width: 100%;
}

.slider__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* ---------- Thumbnail hover (wipe up + text reveal) ---------- */

.thumbnail {
  z-index: 1;
  position: absolute;
  inset: 0;
  display: flex;
  place-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 1rem 1.5rem;
  overflow: clip;
  user-select: none;
}

.thumbnail__text {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .thumbnail::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    background-color: var(--black);
    clip-path: inset(100% 0 0 0);
    transform: scale(-1, -1);
    transition: clip-path var(--speed-slow) var(--ease);
  }

  .thumbnail .thumbnail__text {
    background-image: linear-gradient(var(--white), var(--white));
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% 0;
    background-clip: text;
    -webkit-background-clip: text;
    transition: background-size var(--speed) var(--ease);
  }

  .thumbnail:hover::before {
    clip-path: inset(0 0 0 0);
    transform: scale(1, 1);
  }

  .thumbnail:hover .thumbnail__text {
    background-size: 100% 100%;
  }

  .thumbnail--inverse::before {
    background-color: var(--white);
  }

  .thumbnail--inverse .thumbnail__text {
    background-image: linear-gradient(var(--black), var(--black));
  }
}

/* ---------- Statement (redacted-copy sections) ---------- */

.statement {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.3;
  color: var(--black);
  text-transform: uppercase;
}

/* ---------- Arena ---------- */

.section--arena {
  z-index: 4;
  position: relative;
  width: 100vw;
  background-color: var(--black);
  color: var(--light-grey);
  overflow: clip visible;
}

.page-padding--marquee {
  position: relative;
  overflow: visible;
}

.marquee {
  z-index: 1;
  position: absolute;
  top: 0;
  left: -20vw;
  width: 140vw;
  color: var(--black);
  background-color: var(--marquee-red);
  transform: rotate(3deg);
}

.marquee--blue {
  z-index: 2;
  background-color: var(--marquee-blue);
  transform: rotate(-3deg);
  box-shadow: 0 8px 12px 3px #00000059;
}

.marquee__scroll {
  position: relative;
  display: flex;
  width: 100%;
  padding-block: 0.75rem;
  will-change: transform;
}

.marquee__collection {
  position: relative;
  display: flex;
  will-change: transform;
}

.marquee__item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  font-size: max(4em, 8vw);
}

.marquee__text {
  margin: 0 0.25em 0 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.2em;
  white-space: nowrap;
}

/* ---------- Reviews ---------- */

.reviews {
  display: flex;
  width: 100%;
  height: 60svh;
  overflow: clip;
}

.review {
  display: flex;
  width: 100%;
  border-top: var(--border) solid var(--black-line);
  border-right: var(--border) solid var(--black-line);
  overflow: clip;
  cursor: pointer;
  transition: all 0.8s var(--ease-tabs);
}

.review.is-closed {
  flex: 0 auto;
  width: 10%;
}

.review.is-open {
  cursor: auto;
}

.review__image-wrapper {
  position: relative;
  width: 50%;
  height: 60svh;
  overflow: clip;
  will-change: width;
  transition: width 0.8s var(--ease-tabs);
}

.review.is-closed .review__image-wrapper {
  width: 100%;
}

.review__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  pointer-events: none;
  will-change: width;
}

.review__content {
  position: relative;
  width: 50%;
  overflow: hidden;
  transition: width 0.8s var(--ease-tabs);
}

.review.is-closed .review__content {
  width: 0%;
}

.review__wrap {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.review__contain {
  display: flex;
  flex-flow: column;
  flex: none;
  justify-content: space-between;
  width: 100%;
}

.review__quote {
  margin: 0;
  padding: var(--pad) var(--pad) 0;
  max-width: 28ch;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--black);
}

.review__info {
  display: flex;
  flex-flow: column;
  gap: 0.2rem;
  padding: var(--pad);
  max-width: 30ch;
  word-break: break-word;
}

.review__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--black);
  text-transform: uppercase;
}

/* ---------- Accordion (FAQs) ---------- */

.accordion {
  margin: 0;
  padding: 0;
  border-right: var(--border) solid var(--black-line);
  list-style: none;
}

.accordion__item {
  margin: 0;
}

.accordion__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  padding: var(--pad);
  border-top: var(--border) solid var(--black-line);
  cursor: pointer;
}

.accordion__title {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

.accordion__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  transform: rotate(180deg);
  transition: transform 0.6s var(--ease-accordion);
}

.accordion__icon svg {
  width: 0.625rem;
  color: var(--black);
  transform: rotate(-90deg);
}

[data-accordion-status="active"] .accordion__icon {
  transform: rotate(0.001deg);
}

.accordion__bottom {
  display: grid;
  grid-template-rows: 0fr;
  position: relative;
  overflow: hidden;
  transition: grid-template-rows 0.6s var(--ease-accordion);
}

[data-accordion-status="active"] .accordion__bottom {
  grid-template-rows: 1fr;
}

.accordion__bottom-wrap {
  display: flex;
  flex-flow: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.accordion__body {
  margin: 0;
  padding: 0 1.25em 1.25em;
}

/* ---------- Footer ---------- */

.footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  background-color: var(--black);
  color: var(--dark-grey);
  text-transform: uppercase;
}

.footer__links-grid {
  display: flex;
  min-height: 26rem;
  border-left: var(--border) solid var(--white-line);
}

.footer__col--small {
  flex: 25%;
  max-width: 25%;
  width: 100%;
}

.footer__col--large {
  flex: 50%;
  max-width: 50%;
  width: 100%;
}

.footer__link-wrapper {
  display: flex;
  flex-flow: column;
  gap: 0.75rem;
}

.footer__link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--white);
  word-break: break-word;
  text-decoration: none;
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__link--mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  border-left: var(--border) solid var(--white-line);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer__bottom-cell {
  display: flex;
  align-items: center;
  flex: 25%;
  max-width: 25%;
  width: 100%;
  min-height: 3.5rem;
  padding-block: 0.75rem;
  padding-inline: var(--pad);
  border-top: var(--border) solid var(--white-line);
  border-right: var(--border) solid var(--white-line);
}

.footer__bottom-cell--social {
  align-items: stretch;
  padding: 0;
}

.footer__bottom-links {
  display: flex;
  justify-content: space-between;
  gap: var(--pad);
  width: 100%;
}

.footer__bottom-links a {
  color: inherit;
  text-decoration: none;
}

.footer__bottom-links a:hover {
  color: var(--white);
}

.footer__rainbow {
  width: 100%;
  height: 0.6rem;
  object-fit: cover;
}

.button--social {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  padding: 0;
  border: none;
  border-right: var(--border) solid var(--white-line);
  background: none;
  color: var(--white);
  transition: color var(--speed) var(--ease);
}

.button--social-last {
  border-right: none;
}

/* Keep the icon above the button's white hover wipe */
.button--social svg {
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .button--social:hover {
    color: var(--black);
  }
}

.footer__logo-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--pad);
  border-top: var(--border) solid var(--white-line);
  overflow: hidden;
}

.footer__logo {
  width: 100%;
  height: auto;
  color: var(--white);
}

/* ---------- Visibility helpers ---------- */

.hide-mobile {
  display: block;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
  h2 {
    font-size: 7rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .tabs__title--h1 {
    font-size: 7rem;
  }

  .tabs__content--yt .tabs__title,
  .tabs__content--neue .tabs__title,
  .tabs__content--arena .tabs__title {
    font-size: 7rem;
    max-width: 12ch;
  }

  /* Narrow panels can't fit the forced two-line break — wrap naturally */
  .tabs__title--two-lines br {
    display: none;
  }

  .hover-reveal {
    height: 50svh;
    min-height: 380px;
  }

  .review__quote {
    max-width: 18ch;
  }

  .accordion__icon {
    width: 4rem;
    height: 4rem;
  }

  .footer__bottom-cell--rainbow {
    display: none;
  }

  .footer__bottom-cell--social {
    flex-basis: 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 6rem;
  }

  .flex-row {
    flex-flow: column;
  }

  .flex-row--reverse-mobile {
    flex-flow: column-reverse;
  }

  .col--medium,
  .col--large,
  .col--xlarge {
    flex-basis: 100%;
    max-width: 100%;
  }

  .hide-mobile {
    display: none;
  }

  .number-heading {
    font-size: 5rem;
  }

  .sub-text {
    font-size: 0.875rem;
  }

  .statement {
    font-size: 1.25rem;
  }

  .cell--statement {
    min-height: auto;
  }

  /* Hero: static mobile panel replaces interactive tabs */
  .tabs {
    display: none;
  }

  .tabs--mobile {
    display: flex;
    flex-flow: column;
    height: 50vh;
    min-height: 0;
  }

  .tabs__content--mobile {
    width: 100%;
    height: 100%;
  }

  .tabs--mobile .tabs__panel {
    position: relative;
    padding: 1em;
  }

  .tabs__title--h1 {
    font-size: 5rem;
  }

  .hero__below {
    flex-flow: column;
  }

  .hero__logo-col,
  .hero__info-col {
    flex-basis: 100%;
    max-width: 100%;
    min-height: 8rem;
  }

  .hero__logo {
    width: 14rem;
  }

  .info-container {
    flex-flow: column;
    align-items: flex-start;
  }

  .info-container .button {
    width: 100%;
    min-width: 0;
    padding-inline: var(--pad);
  }

  .hover-reveal {
    flex-flow: column;
    height: auto;
    min-height: 680px;
  }

  .hover-reveal__card {
    display: none;
  }

  /* Reviews: vertical expanding accordion — all five visible as tappable
     image strips, mirroring the desktop slat interaction rotated 90° */
  .reviews {
    flex-flow: column;
    height: clamp(30rem, 78svh, 44rem);
  }

  .reviews .review {
    position: relative;
    display: flex;
    flex-flow: column;
    width: 100%;
  }

  .review.is-closed {
    width: 100%;
    flex: 0 0 3.25rem;
  }

  .review.is-open {
    flex: 1 1 auto;
  }

  .review::after {
    content: "+";
    position: absolute;
    top: 1.625rem;
    right: var(--pad);
    z-index: 1;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 1rem;
    line-height: 1;
    color: var(--white);
    mix-blend-mode: difference;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-tabs), transform 0.8s var(--ease-tabs);
  }

  .review.is-open::after {
    opacity: 0;
    transform: translateY(-50%) rotate(45deg);
  }

  .review__image-wrapper {
    flex: 1.2 1 0%;
    width: 100%;
    height: auto;
    min-height: 0;
    transition: flex 0.8s var(--ease-tabs);
  }

  .review.is-closed .review__image-wrapper {
    width: 100%;
    flex: 1 1 0%;
  }

  .review__content {
    flex: 1 1 0%;
    width: 100%;
    transition: flex 0.8s var(--ease-tabs);
  }

  .review.is-closed .review__content {
    width: 100%;
    flex: 0 0 0px;
  }

  .accordion__icon {
    width: 3rem;
    height: 3rem;
  }

  .navbar__logo {
    width: 10rem;
  }

  .navbar__links {
    display: none;
  }

  .footer__links-grid {
    flex-flow: column;
    min-height: auto;
  }

  .footer__col--small,
  .footer__col--large {
    flex-basis: 100%;
    max-width: 100%;
  }

  .footer__bottom {
    flex-flow: column;
    align-items: flex-start;
  }

  .footer__bottom-cell {
    flex-basis: 100%;
    max-width: 100%;
  }

  .footer__bottom-cell--social {
    display: flex;
    width: 100%;
  }

  .section-pad--top-large {
    height: 4rem;
  }
}

@media (max-width: 479px) {
  .marquee {
    transform: rotate(6deg);
  }

  .marquee--blue {
    transform: rotate(-6deg);
  }

  .hero__logo {
    width: 100%;
  }

  .tabs--mobile {
    height: 60vh;
  }

  .navbar__inner {
    padding-inline: 0.75rem;
  }
}
