:root {
  --bg: #fffaef;
  --oro-large: #fceecf;
  --blue: #01428c;
  --red: #c52a1c;
  --navy: #082652;
  --navy-ink: #03204a;
  --ink: #1f1a17;
  --page-pad-x: 48px;
  --nav-shrink: 0;
  --header-fade: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "sofia-pro", sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  width: 100%;
}

.section {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  padding: 0px var(--page-pad-x) 56px;
  overflow: hidden;
}

.section-one {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  padding-top: 18vh;
  position: relative;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 12;
  padding: calc(18px - 10px * var(--nav-shrink)) var(--page-pad-x);
  background: rgba(255, 250, 239, calc(0.85 * var(--header-fade)));
  backdrop-filter: blur(calc(12px * var(--header-fade)));
  -webkit-backdrop-filter: blur(calc(12px * var(--header-fade)));
  box-shadow: 0 1px 3px rgba(0, 0, 0, calc(0.08 * var(--header-fade)));
  display: flex;
  align-items: center;
  transition: padding 0.3s ease;
  box-sizing: border-box;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: calc(28px - 14px * var(--nav-shrink));
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 15;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--navy);
  z-index: 14;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-close {
  position: absolute;
  top: clamp(20px, 4vw, 32px);
  right: clamp(20px, 4vw, 32px);
  width: clamp(44px, 8vw, 56px);
  height: clamp(44px, 8vw, 56px);
  border: none;
  background: transparent;
  color: var(--red);
  font-size: clamp(44px, 8vw, 56px);
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 0;
  z-index: 15;
}

.mobile-menu-close:hover {
  opacity: 0.7;
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 6vw, 40px);
  padding: 40px;
  width: 100%;
}

.mobile-nav-link {
  font-family: "bitcrusher-variable", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 7vw, 78px);
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.2s ease;
}

.mobile-nav-link:hover {
  opacity: 0.7;
}

.mobile-nav-footer {
  margin-top: clamp(30px, 8vw, 60px);
}

.mobile-nav-footer .lang-toggle {
  font-size: clamp(18px, 4vw, 26px);
}

.mobile-nav-footer .lang-toggle a,
.mobile-nav-footer .lang-toggle span {
  color: var(--red);
}

.mobile-nav-footer .lang-toggle a.active {
  opacity: 1;
  font-weight: 700;
  color: #fffaef;
}

.mobile-nav-footer .lang-toggle a:not(.active) {
  opacity: 0.5;
}

.site-header.shrunk {
  background: rgba(255, 250, 239, calc(0.85 * var(--header-fade)));
  backdrop-filter: blur(calc(12px * var(--header-fade)));
  -webkit-backdrop-filter: blur(calc(12px * var(--header-fade)));
  box-shadow: 0 2px 8px rgba(0, 0, 0, calc(0.08 * var(--header-fade)));
}

.logo {
  width: calc(clamp(120px, 12vw, 170px) * (1 - 0.5 * var(--nav-shrink)));
  height: auto;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: calc(clamp(16px, 2.5vw, 30px) * (1 - 0.3 * var(--nav-shrink)));
  justify-content: center;
  font-family: "bitcrusher-variable", sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px);
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.8px;
  justify-self: center;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  padding: 4px 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.nav-links a.active::after {
  transform: translateX(-50%) scale(1);
}

.nav-divider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1;
  padding: 0 clamp(4px, 0.8vw, 12px);
  font-weight: 300;
}

.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(8px, 1vw, 14px);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.site-header.shrunk .header-actions {
  flex-direction: row;
  align-items: center;
  gap: clamp(12px, 1.5vw, 18px);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(16px, 1.6vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-toggle a {
  color: #9da5b4;
}

.lang-toggle a.active {
  color: var(--blue);
  font-weight: 700;
}

.lang-toggle span {
  color: var(--red);
}

.cta {
  background: var(--red);
  color: #fffaef;
  padding: clamp(14px, 1.6vw, 16px) clamp(28px, 2.8vw, 32px);
  border-radius: 8px;
  border: 2px solid var(--red);
  font-family: "bitcrusher-variable", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 38px);
  letter-spacing: 1.1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 12px 26px rgba(197, 42, 28, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(197, 42, 28, 0.32);
  background: #ac2115;
  border-color: #ac2115;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  padding: 24px 0 72px;
  flex: 1;
  max-width: 1720px;
  width: 100%;
  margin: 0 auto;
}

.bg-word {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "bitcrusher-variable", sans-serif;
  font-weight: 500;
  font-size: clamp(180px, 24vw, 420px);
  letter-spacing: clamp(4px, 0.9vw, 14px);
  color: var(--oro-large);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.tiki {
  width: clamp(240px, 22vw, 360px);
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.08));
}

.section-one .social-links {
  position: absolute;
  bottom: clamp(30px, 4vw, 50px);
  left: var(--page-pad-x);
  display: flex;
  gap: clamp(14px, 2vw, 20px);
  z-index: 6;
}

.section-one .social-link {
  width: clamp(44px, 6vw, 60px);
  height: clamp(44px, 6vw, 60px);
  background: var(--red);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.section-one .social-link:hover {
  transform: translateY(-4px);
  background: #ac2115;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.section-one .social-link svg {
  width: 60%;
  height: 60%;
  fill: var(--bg);
}

.video-thumb {
  position: absolute;
  bottom: 40px;
  right: var(--page-pad-x);
  width: clamp(260px, 30vw, 420px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  display: block;
  z-index: 6;
}

.section-two-wrap {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 50%, #FCEECF 50%, #FCEECF 100%);
  /* padding: clamp(40px, 6vw, 80px) 0; */
}

.section-two {
  background: var(--navy);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
}

.section-two__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(24px, 6vw, 64px);
  max-width: min(1100px, 92vw);
  width: 100%;
  height: 100%;
}

.section-two__title {
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(180px, 24vw, 420px);
  font-weight: 500;
  letter-spacing: clamp(4px, 0.9vw, 14px);
  line-height: clamp(180px, 24vw, 420px);
  text-transform: uppercase;
  display: inline-block;
}

.section-product {
  background: var(--bg);
  color: var(--ink);
  height: auto;
  min-height: auto;
  padding: clamp(180px, 16vw, 240px) var(--page-pad-x) clamp(100px, 12vw, 160px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
}

.product-layout {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 5vw, 70px);
  align-items: start;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 18px);
  position: sticky;
  top: clamp(96px, 10vw, 140px);
  align-self: flex-start;
}

.product-hero {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: linear-gradient(135deg, #d8d8d8, #b5b5b5);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.4vw, 14px);
}

.product-thumb {
  border: none;
  padding: 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-thumb.active {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.product-thumb__img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: linear-gradient(135deg, #d8d8d8, #b5b5b5);
  object-fit: cover;
}

.product-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(8, 38, 82, 0.9);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.product-expand:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
  background: rgba(8, 38, 82, 1);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
  color: var(--navy);
}

.product-title {
  margin: 0;
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(62px, 6vw, 90px);
  letter-spacing: 1px;
  color: var(--navy);
}

.product-price {
  font-size: clamp(20px, 2.2vw, 24px);
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.product-price__note {
  font-size: 0.85em;
  color: #6b7280;
}

.product-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  width: fit-content;
  font-family: "bitcrusher-variable", sans-serif;
  font-weight: 600;
  letter-spacing: 0.6px;
  box-shadow: 0 10px 24px rgba(8, 38, 82, 0.22);
}

.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 2px solid #0c2f63;
  background: #0c2f63;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.qty-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.qty-value {
  min-width: 28px;
  text-align: center;
  font-size: 22px;
}

.product-total {
  margin-left: 12px;
  font-size: 14px;
  color: #dbeafe;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-cta {
  margin-top: clamp(6px, 1vw, 10px);
  background: var(--red);
  color: #fffaef;
  padding: clamp(14px, 1.6vw, 16px) clamp(28px, 2.8vw, 32px);
  border-radius: 10px;
  border: 2px solid var(--red);
  font-family: "bitcrusher-variable", sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(197, 42, 28, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  width: fit-content;
}

.product-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(197, 42, 28, 0.32);
  background: #ac2115;
  border-color: #ac2115;
}

.product-copy {
  margin-top: clamp(12px, 2vw, 16px);
  font-size: 19.2px;
  line-height: 1.6;
  max-width: 530px;
}

.product-lists {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 26px);
  margin-top: clamp(12px, 2vw, 18px);
}

.product-list h4 {
  margin: 0 0 8px;
  font-family: "sofia-pro", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--navy);
}

.product-list ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 18px;
  color: #1f2937;
}

.product-list li {
  line-height: 1.5;
}

.product-list--wide {
  grid-column: auto;
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: clamp(30px, 6vw, 40px);
  }

  .product-hero {
    aspect-ratio: 4 / 3;
  }

  .product-info {
    gap: clamp(10px, 2vw, 14px);
  }

  .product-gallery {
    position: static;
  }
}

@media (max-width: 720px) {
  .section-product {
    padding: clamp(120px, 16vw, 160px) var(--page-pad-x) clamp(80px, 12vw, 120px);
  }

  .product-title {
    font-size: clamp(48px, 10vw, 64px);
  }

  .product-qty {
    width: 100%;
    justify-content: space-between;
  }

  .product-cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .product-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-qty {
    flex-wrap: wrap;
    gap: 8px;
  }

  .product-total {
    width: 100%;
    justify-content: flex-end;
  }
}

.section-two__pill {
  background: transparent;
  color: var(--red);
  padding: clamp(14px, 2.6vw, 20px) clamp(20px, 6.5vw, 56px);
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(22px, 2.8vw, 55px);
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1.3;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.4vw, 38px);
  width: auto;
  max-width: 100%;
  white-space: nowrap;
}

.learn-more-btn {
  margin-top: clamp(28px, 4vw, 60px);
  background: var(--red);
  color: #fffaef;
  padding: clamp(14px, 1.6vw, 16px) clamp(28px, 2.8vw, 32px);
  border-radius: 8px;
  border: 2px solid var(--red);
  font-family: "bitcrusher-variable", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 38px);
  letter-spacing: 1.1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(197, 42, 28, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.learn-more-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(197, 42, 28, 0.28);
  background: #ac2115;
  border-color: #ac2115;
}

.learn-more-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(197, 42, 28, 0.22);
}

.pill-dot {
  font-size: 1.4em;
  line-height: 1;
}

/* ==========================================
   SECTION THREE - NGĀ KĒMU (Cards)
   ========================================== */

.section-three {
  background: #FCEECF;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(120px, 15vw, 200px) var(--page-pad-x) clamp(60px, 8vw, 120px);
  min-height: auto;
  height: auto;
  position: relative;
  overflow: visible;
}

.section-three__content {
  max-width: 1400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  position: relative;
  z-index: 1;
}

.section-three__title {
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(180px, 24vw, 420px);
  font-weight: 500;
  letter-spacing: clamp(4px, 0.9vw, 14px);
  line-height: clamp(180px, 24vw, 420px);
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
}

/* Categories */
.categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, 0.6vw, 6px);
  padding: clamp(4px, 0.5vw, 6px) clamp(8px, 1vw, 12px);
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(16px, 2vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 8px;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.category-tag:hover {
  transform: translateY(-2px);
}

.category-tag:not(.active) {
  opacity: 0.4;
}

.category-tag:not(.active) .check-icon {
  opacity: 0;
  transform: scale(0.5);
}

.category-tag--kakano {
  background: #a8c77e;
  color: #4a5d3a;
}

.category-tag--taupuhi {
  background: #f5a962;
  color: #7d4a1f;
}

.category-tag--tipu {
  background: #e87661;
  color: #7d2f23;
}

.category-tag--puruwai {
  background: #b58bb7;
  color: #5a3a5c;
}

.check-icon {
  width: clamp(18px, 2.5vw, 24px);
  height: clamp(18px, 2.5vw, 24px);
  fill: currentColor;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(14px, 2vw, 24px);
  width: 100%;
}

.card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(110px, 14vw, 150px);
  border-radius: clamp(10px, 1.6vw, 16px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease, max-height 0.3s ease;
  cursor: pointer;
  opacity: 1;
  max-height: 1000px;
  border: 3px solid transparent;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  padding: clamp(16px, 2vw, 22px);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

.card.hidden {
  opacity: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
  border-width: 0;
  overflow: hidden;
  pointer-events: none;
  display: none;
}

.card__title {
  padding: 0;
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 500;
  text-transform: none;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

/* Card Color Variants */
.card--kakano {
  border-color: #a8c77e;
  background: #eff7e2;
}

.card--kakano .card__title {
  color: #4a5d3a;
}

.card--taupuhi {
  border-color: #f5a962;
  background: #fff1e4;
}

.card--taupuhi .card__title {
  color: #7d4a1f;
}

.card--tipu {
  border-color: #e87661;
  background: #fee9e5;
}

.card--tipu .card__title {
  color: #7d2f23;
}

.card--puruwai {
  border-color: #b58bb7;
  background: #f4eaf5;
}

.card--puruwai .card__title {
  color: #5a3a5c;
}

/* Download Section */
.download-section {
  display: flex;
  justify-content: center;
  margin-top: clamp(20px, 4vw, 40px);
}

.download-btn {
  background: var(--red);
  color: #fffaef;
  padding: clamp(14px, 1.6vw, 16px) clamp(28px, 2.8vw, 32px);
  border-radius: 8px;
  border: 2px solid var(--red);
  font-family: "bitcrusher-variable", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 38px);
  letter-spacing: 1.1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(197, 42, 28, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(197, 42, 28, 0.32);
  background: #ac2115;
  border-color: #ac2115;
}

/* ==========================================
   SECTION FOUR - WHAKAPĀ (Contact)
   ========================================== */

.section-four-wrap {
  background: linear-gradient(180deg, #FCEECF 0%, #FCEECF 50%, var(--navy) 50%, var(--navy) 100%);
  padding: clamp(40px, 6vw, 80px) 0;
}

.section-four {
  background: #01428C;
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(120px, 15vw, 200px) var(--page-pad-x) clamp(80px, 10vw, 140px);
  height: auto;
  min-height: auto;
  border-radius: 100px;
}

.section-four__content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(50px, 7vw, 50px);
}

.section-four__title {
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(180px, 24vw, 420px);
  font-weight: 500;
  letter-spacing: clamp(4px, 0.9vw, 14px);
  line-height: clamp(180px, 24vw, 320px);
  text-transform: uppercase;
  color: var(--bg);
  margin: 0;
}

/* Contact Form */
.contact-form {
  width: 97%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 4vw, 50px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: clamp(10px, 1vw, 10px);
  width: 100%;
}

.form-group {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  background: var(--bg);
  padding-left: 18px;
}

.form-label {
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  white-space: nowrap;
  flex-shrink: 0;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: clamp(16px, 2.5vw, 24px) clamp(20px, 3vw, 32px);
  background: var(--bg);
  border: none;
  border-radius: 0;
  font-family: "sofia-pro", sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--ink);
  transition: box-shadow 0.2s ease;
  height: clamp(50px, 8vw, 80px);
  flex: 1;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--blue);
}

.form-textarea {
  resize: none;
}

.submit-btn {
  align-self: center;
  background: var(--red);
  color: var(--bg);
  padding: clamp(14px, 1.6vw, 16px) clamp(28px, 2.8vw, 32px);
  border: 2px solid var(--red);
  border-radius: 8px;
  font-family: "bitcrusher-variable", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 38px);
  letter-spacing: 1.1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(197, 42, 28, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  margin-top: clamp(10px, 2vw, 20px);
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(197, 42, 28, 0.32);
  background: #ac2115;
  border-color: #ac2115;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-group--captcha {
  justify-content: center;
  padding: clamp(12px, 2.5vw, 20px) 0 clamp(16px, 3vw, 24px);
  background: transparent;
  width: 100%;
}

.g-recaptcha {
  transform-origin: center top;
  margin: 0 auto;
}

.form-message {
  padding: clamp(16px, 2vw, 20px);
  border-radius: 8px;
  font-family: "sofia-pro", sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
}

.form-message--success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 2px solid rgba(34, 197, 94, 0.3);
}

.form-message--error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 2px solid rgba(239, 68, 68, 0.3);
}

/* Social Links */
.social-links {
  position: absolute;
  bottom: clamp(30px, 4vw, 50px);
  left: clamp(30px, 4vw, 50px);
  display: flex;
  gap: clamp(14px, 2vw, 20px);
}

.social-link {
  width: clamp(44px, 6vw, 60px);
  height: clamp(44px, 6vw, 60px);
  background: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.social-link svg {
  width: 60%;
  height: 60%;
  fill: var(--red);
}

@media (max-width: 1120px) {
  .section-two,
  .section-four {
    border-radius: 50px;
  }

  .site-header__inner {
    grid-template-columns: auto auto 1fr auto;
    justify-items: start;
    gap: 16px;
  }

  .logo {
    order: 1;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 2;
    justify-self: start;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    order: 4;
    justify-self: end;
    justify-content: flex-end;
  }

  .header-actions .lang-toggle {
    display: none;
  }

  .cta {
    white-space: nowrap;
  }

  .hero {
    padding: 40px 0 96px;
  }

  .section-one .social-links {
    bottom: clamp(30px, 4vw, 50px);
    left: 28px;
  }

  .video-thumb {
    bottom: 28px;
    right: 28px;
  }

  /* Section Three - Cards */
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 2.2vw, 24px);
  }

  .section-three__title {
    font-size: clamp(180px, 24vw, 420px);
  }

  .categories {
    gap: clamp(12px, 2.5vw, 24px);
  }
}

@media (max-width: 820px) {
  :root {
    --page-pad-x: 22px;
  }

  .section {
    padding: 140px var(--page-pad-x) 40px;
  }

  .logo {
    width: 82px;
  }

  .site-header {
    padding: 16px var(--page-pad-x);
  }

  .cta {
    /* font-size: 13px; */
  }

  .section-one {
    padding-bottom: 120px;
  }

  .hero {
    padding: 34px 0 40px;
  }

  .bg-word {
    font-size: clamp(140px, 28vw, 300px);
    letter-spacing: 6px;
    top: 49%;
    font-weight: 500;
  }

  .tiki {
    width: clamp(180px, 46vw, 260px);
  }

  .video-thumb {
    width: clamp(240px, 60vw, 380px);
    bottom: 28px;
    right: var(--page-pad-x);
  }

  .section-one .social-links {
    bottom: clamp(24px, 3.5vw, 40px);
    left: var(--page-pad-x);
  }

  .section-two__title {
    font-size: clamp(140px, 28vw, 300px);
    font-weight: 500;
    line-height: clamp(140px, 28vw, 300px);
  }

  .section-two__pill {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: transparent;
    color: var(--red);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(6px, 1.5vw, 10px);
    padding: 0;
    border: none;
    font-size: clamp(38px, 6vw, 54px);
    line-height: 1;
    width: auto;
    white-space: normal;
  }

  .pill-dot {
    display: none;
  }

  /* Section Three - Cards */
  .section-three {
    padding: clamp(100px, 12vw, 140px) var(--page-pad-x) clamp(50px, 7vw, 80px);
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 3vw, 24px);
  }

  .section-three__title {
    font-size: clamp(140px, 28vw, 300px);
    font-weight: 500;
    line-height: clamp(140px, 28vw, 300px);
  }

  .categories {
    gap: clamp(10px, 2vw, 16px);
  }

  .category-tag {
    font-size: clamp(15px, 3vw, 20px);
    padding: clamp(4px, 0.8vw, 6px) clamp(8px, 1.2vw, 12px);
  }


  /* Section Four - Contact */
  .section-four {
    padding: clamp(100px, 12vw, 140px) var(--page-pad-x) clamp(60px, 8vw, 100px);
  }

  .section-four__title {
    font-size: clamp(140px, 28vw, 300px);
    font-weight: 500;
    line-height: clamp(140px, 28vw, 300px);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: clamp(24px, 3.5vw, 36px);
  }

  .form-label {
    font-size: clamp(18px, 2.8vw, 26px);
  }

  .form-input,
  .form-textarea {
    font-size: clamp(15px, 2.2vw, 19px);
    padding: clamp(14px, 2.2vw, 20px) clamp(18px, 2.8vw, 28px);
  }


  .social-links {
    bottom: clamp(24px, 3.5vw, 40px);
    left: clamp(24px, 3.5vw, 40px);
  }

  .social-link {
    width: clamp(40px, 5.5vw, 52px);
    height: clamp(40px, 5.5vw, 52px);
  }
}

@media (max-width: 560px) {
  .site-header__inner {
    align-items: center;
  }

  .section {
    padding: 100px var(--page-pad-x) 40px;
  }

  .section-one {
    padding-bottom: 100px;
  }

  .mobile-menu-toggle {
    width: 28px;
    height: 21px;
  }

  .hamburger-line {
    height: 2.5px;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .cta {
    /* font-size: 12px; */
    letter-spacing: 0.6px;
  }

  .bg-word {
    font-size: clamp(120px, 34vw, 260px);
    letter-spacing: 6px;
    top: 48%;
    font-weight: 500;
  }

  .tiki {
    width: clamp(160px, 50vw, 200px);
  }

  .section-one .social-links {
    left: var(--page-pad-x);
    bottom: clamp(20px, 3vw, 32px);
    gap: clamp(10px, 1.5vw, 14px);
  }

  .section-one .social-link {
    width: clamp(36px, 5vw, 44px);
    height: clamp(36px, 5vw, 44px);
  }


  .video-thumb {
    right: var(--page-pad-x);
    bottom: 20px;
    width: clamp(200px, 55vw, 280px);
    border-radius: 12px;
  }

  .section-two__title {
    font-size: clamp(120px, 34vw, 260px);
    letter-spacing: 6px;
    font-weight: 500;
    line-height: clamp(120px, 34vw, 260px);
  }

  .section-two__pill {
    gap: 5px;
    font-size: clamp(34px, 7vw, 46px);
    line-height: 0.95;
  }

  /* Section Three - Cards */
  .section-three {
    padding: clamp(80px, 10vw, 120px) var(--page-pad-x) clamp(40px, 6vw, 60px);
  }

  .section-three__content {
    gap: clamp(30px, 5vw, 50px);
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 3vw, 18px);
  }

  .section-three__title {
    font-size: clamp(120px, 34vw, 260px);
    letter-spacing: 6px;
    font-weight: 500;
    line-height: clamp(120px, 34vw, 260px);
  }

  .card__title {
    font-size: clamp(24px, 2.4vw, 38px);
    padding: 0;
  }


  /* Section Four - Contact */
  .section-four {
    padding: clamp(80px, 10vw, 120px) var(--page-pad-x) clamp(50px, 7vw, 80px);
  }

  .section-four__title {
    font-size: clamp(120px, 34vw, 260px);
    letter-spacing: 6px;
    font-weight: 500;
    line-height: clamp(120px, 34vw, 260px);
  }

  .contact-form {
    gap: clamp(24px, 3.5vw, 40px);
  }

  .form-group {
    gap: clamp(10px, 1.8vw, 16px);
  }

  .form-label {
    font-size: clamp(16px, 3.2vw, 22px);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 30px);
  }

  .form-input,
  .form-textarea {
    font-size: clamp(14px, 2.5vw, 18px);
    padding: clamp(12px, 2vw, 18px) clamp(16px, 2.5vw, 24px);
  }

  .form-textarea {
    min-height: 140px;
  }

  .learn-more-btn {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: none;
    font-size: clamp(24px, 2.4vw, 38px);
    padding: clamp(14px, 1.6vw, 16px) clamp(28px, 2.8vw, 32px);
    border-radius: 8px;
    letter-spacing: 1.1px;
  }


  .social-links {
    bottom: clamp(20px, 3vw, 32px);
    left: clamp(20px, 3vw, 32px);
    gap: clamp(10px, 1.5vw, 14px);
  }

  .social-link {
    width: clamp(36px, 5vw, 44px);
    height: clamp(36px, 5vw, 44px);
  }
}

@media (max-width: 420px) {
  :root {
    --page-pad-x: 14px;
  }

  .section {
    padding: 90px var(--page-pad-x) 30px;
  }

  .section-one {
    padding-bottom: 90px;
  }

  .site-header {
    padding: 14px var(--page-pad-x);
  }

  .site-header__inner {
    gap: 12px;
  }

  .logo {
    width: 70px;
  }

  .mobile-menu-toggle {
    width: 26px;
    height: 20px;
  }

  .hamburger-line {
    height: 2.5px;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  .cta {
    /* font-size: 11px; */
    letter-spacing: 0.4px;
  }

  .download-btn,
  .submit-btn,
  .learn-more-btn {
    letter-spacing: 0.4px;
  }

  .hero {
    padding: 30px 0 70px;
  }

  .tiki {
    width: clamp(140px, 45vw, 180px);
  }

  .section-one .social-links {
    bottom: clamp(40px, 2.5vw, 24px);
    gap: clamp(8px, 1.2vw, 12px);
  }

  .section-one .social-link {
    width: clamp(32px, 4.5vw, 40px);
    height: clamp(32px, 4.5vw, 40px);
    border-radius: 6px;
  }


  .video-thumb {
    bottom: 40px;
    width: clamp(170px, 48vw, 240px);
    border-radius: 10px;
  }

  .bg-word {
    font-size: 110px;
    top: 45%;
    font-weight: 500;
  }

  .section-two__title {
    font-size: 110px;
    letter-spacing: 6px;
    font-weight: 500;
    line-height: 110px;
  }

  .section-two__pill {
    gap: 4px;
    font-size: clamp(30px, 7.5vw, 42px);
    line-height: 0.9;
  }

  .cta,
  .download-btn,
  .submit-btn,
  .learn-more-btn {
    letter-spacing: 0.6px;
  }

  /* Section Three - Cards */
  .section-three {
    padding: clamp(70px, 9vw, 100px) var(--page-pad-x) clamp(30px, 5vw, 50px);
  }

  .section-three__content {
    gap: clamp(24px, 4vw, 40px);
  }

  .section-three__title {
    font-size: 110px;
    letter-spacing: 6px;
    font-weight: 500;
    line-height: 110px;
  }

  .cards-grid {
    gap: clamp(10px, 2.5vw, 14px);
  }

  .card {
    border-radius: clamp(8px, 1.5vw, 12px);
  }

  .card__title {
    font-size: clamp(24px, 2.4vw, 38px);
    padding: 0;
  }

  .category-tag {
    font-size: clamp(17px, 3.4vw, 18px);
    padding: clamp(4px, 1vw, 6px) clamp(8px, 1.6vw, 12px);
  }

  .check-icon {
    width: clamp(14px, 2vw, 18px);
    height: clamp(14px, 2vw, 18px);
  }

  .download-btn {
    letter-spacing: 0.6px;
  }

  /* Section Four - Contact */
  .section-four {
    padding: clamp(70px, 9vw, 100px) var(--page-pad-x) clamp(40px, 6vw, 60px);
  }

  .section-four__title {
    font-size: 110px;
    letter-spacing: 6px;
    font-weight: 500;
    line-height: 110px;
  }

  .section-four__content {
    gap: clamp(40px, 6vw, 70px);
  }

  .contact-form {
    gap: clamp(20px, 3vw, 32px);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: clamp(18px, 2.5vw, 26px);
  }

  .form-group {
    gap: clamp(18px, 1.5vw, 12px);
  }
  
  .form-label {
    font-size: clamp(14px, 3.5vw, 20px);
  }

  .form-input,
  .form-textarea {
    font-size: clamp(13px, 2.8vw, 16px);
    padding: clamp(10px, 1.8vw, 14px) clamp(14px, 2.2vw, 18px);
  }

  .form-textarea {
    min-height: 120px;
  }

  .submit-btn {
    letter-spacing: 0.6px;
  }

  .social-links {
    bottom: clamp(16px, 2.5vw, 24px);
    left: clamp(16px, 2.5vw, 24px);
    gap: clamp(8px, 1.2vw, 12px);
  }

  .social-link {
    width: clamp(32px, 4.5vw, 40px);
    height: clamp(32px, 4.5vw, 40px);
    border-radius: 6px;
  }
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: var(--navy);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(80px, 12vw, 140px) var(--page-pad-x) clamp(30px, 4vw, 50px);
  min-height: 50vh;
  position: relative;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 6vw, 80px);
  flex: 1;
  width: 100%;
  max-width: 1400px;
}

.footer__title {
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(60px, 10vw, 140px);
  font-weight: 500;
  letter-spacing: clamp(2px, 0.5vw, 8px);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
}

.footer__title--red {
  color: var(--red);
}

.footer__title--white {
  color: var(--bg);
}

.footer__socials {
  display: flex;
  gap: clamp(14px, 2vw, 20px);
  justify-content: center;
  align-items: center;
}

.footer__cta {
  background: var(--red);
  color: #fffaef;
  padding: clamp(14px, 1.6vw, 16px) clamp(28px, 2.8vw, 32px);
  border-radius: 8px;
  border: 2px solid var(--red);
  font-family: "bitcrusher-variable", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 38px);
  letter-spacing: 1.1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(197, 42, 28, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.footer__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(197, 42, 28, 0.32);
  background: #ac2115;
  border-color: #ac2115;
}

.footer__socials {
  display: flex;
  gap: clamp(14px, 2vw, 20px);
  justify-content: center;
  align-items: center;
}

.footer__socials {
  display: flex;
  gap: clamp(14px, 2vw, 20px);
  justify-content: center;
  align-items: center;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  padding-top: clamp(40px, 6vw, 80px);
  font-size: clamp(13px, 1.5vw, 16px);
  color: var(--bg);
}

.footer__links {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}

.footer__links a {
  color: var(--bg);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer__links a:hover {
  opacity: 0.7;
}

.footer__copyright {
  color: var(--bg);
  opacity: 0.9;
}

@media (max-width: 820px) {
  .footer {
    padding: clamp(60px, 10vw, 100px) var(--page-pad-x) clamp(30px, 4vw, 50px);
    min-height: auto;
  }

  .footer__title {
    font-size: clamp(96px, 18vw, 200px);
    gap: clamp(8px, 1.5vw, 16px);
    line-height: 0.95;
  }

  .footer__bottom {
    flex-direction: column;
    gap: clamp(16px, 3vw, 24px);
    align-items: center;
    text-align: center;
  }

  .footer__links {
    flex-direction: column;
    gap: clamp(12px, 2vw, 16px);
    align-items: center;
  }
}

@media (max-width: 560px) {
  .footer {
    min-height: auto;
  }

  .footer__title {
    font-size: clamp(72px, 16vw, 120px);
    flex-direction: column;
    gap: clamp(6px, 1vw, 12px);
    line-height: 0.9;
  }

  .footer__bottom {
    font-size: clamp(11px, 1.3vw, 14px);
  }
}

@media (max-width: 420px) {
  .footer {
    padding: clamp(50px, 8vw, 80px) var(--page-pad-x) clamp(24px, 3vw, 40px);
    min-height: auto;
  }

  .footer__title {
    font-size: clamp(64px, 15vw, 100px);
    line-height: 0.85;
  }
}

/* ==========================================
   INFO MODAL (Kaupapa Learn More)
   ========================================== */

.info-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 32;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.info-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.info-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.info-modal__content {
  position: relative;
  width: min(800px, 92vw);
  max-height: 86vh;
  background: var(--bg);
  color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  padding: clamp(24px, 4vw, 36px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.info-modal__close {
  position: absolute;
  top: clamp(10px, 2vw, 16px);
  right: clamp(10px, 2vw, 16px);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: var(--bg);
  font-size: 26px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.info-modal__close:hover {
  transform: scale(1.05) rotate(90deg);
  background: #ac2115;
}

.info-modal__title {
  margin: 0 0 12px;
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 1px;
  color: var(--blue);
}

.info-modal__body {
  overflow-y: auto;
  max-height: calc(86vh - 80px);
  padding-right: 4px;
}

.info-modal__video {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 0 0 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.info-modal__body p {
  margin: 0 0 12px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.info-modal__body ul {
  padding-left: 22px;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: clamp(16px, 2vw, 20px);
}

/* ==========================================
   CARD MODAL
   ========================================== */

.card-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.card-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.card-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card-modal__content {
  position: relative;
  width: min(1200px, 94vw);
  max-height: 90vh;
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.card-modal__close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: var(--bg);
  font-size: 32px;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card-modal__close:hover {
  transform: scale(1.1) rotate(90deg);
  background: #ac2115;
}

.card-modal__inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: clamp(30px, 4vw, 60px);
  padding: clamp(40px, 5vw, 60px);
  max-height: 90vh;
  overflow-y: auto;
}

.card-modal__video {
  position: sticky;
  top: 0;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.card-modal__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-modal__text {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}

.card-modal__title {
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.2;
}

.card-modal__rules {
  font-family: "sofia-pro", sans-serif;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.7;
}

.card-modal__game-info {
  display: flex;
  gap: clamp(16px, 2vw, 24px);
  flex-wrap: wrap;
  margin: 0 0 clamp(20px, 2.5vw, 32px) 0;
  padding: clamp(12px, 1.5vw, 16px) clamp(16px, 2vw, 20px);
  background: rgba(59, 130, 246, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.game-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-info-icon {
  color: var(--blue);
  flex-shrink: 0;
  width: clamp(20px, 2vw, 24px);
  height: clamp(20px, 2vw, 24px);
}

.game-info-label {
  font-size: clamp(14px, 1.6vw, 18px);
  color: var(--blue);
  font-weight: 500;
  white-space: nowrap;
}

/* Default style (Kimi Pū style) - applied to all modals */
.card-modal__rules h3 {
  font-family: "sofia-pro", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--blue);
  text-transform: none;
  margin: clamp(24px, 3vw, 36px) 0 clamp(10px, 1.2vw, 14px) 0;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.card-modal__rules p {
  margin: 0 0 clamp(12px, 1.5vw, 16px) 0;
}

.card-modal__rules ul,
.card-modal__rules ol {
  background: rgba(59, 130, 246, 0.03);
  padding: clamp(14px, 1.8vw, 20px) clamp(20px, 2.5vw, 32px);
  border-radius: 8px;
  margin: 0 0 clamp(16px, 2vw, 24px) 0;
  padding-left: clamp(20px, 2.5vw, 32px);
}

.card-modal__rules li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* STYLE VARIATION 1: Minimal & Clean (now default, kept for compatibility) */
.card-modal__rules.style-1 h3 {
  font-family: "sofia-pro", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--blue);
  text-transform: none;
  margin: clamp(24px, 3vw, 36px) 0 clamp(10px, 1.2vw, 14px) 0;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.card-modal__rules.style-1 ol,
.card-modal__rules.style-1 ul {
  background: rgba(59, 130, 246, 0.03);
  padding: clamp(14px, 1.8vw, 20px) clamp(20px, 2.5vw, 32px);
  border-radius: 8px;
  margin: 0 0 clamp(16px, 2vw, 24px) 0;
}

.card-modal__rules.style-1 li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* STYLE VARIATION 2: Bold & Boxed */
.card-modal__rules.style-2 h3 {
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: white;
  background: var(--blue);
  text-transform: uppercase;
  margin: clamp(20px, 2.5vw, 28px) 0 clamp(14px, 1.8vw, 18px) 0;
  padding: clamp(10px, 1.2vw, 14px) clamp(16px, 2vw, 20px);
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.card-modal__rules.style-2 ol,
.card-modal__rules.style-2 ul {
  border-left: 4px solid var(--blue);
  padding-left: clamp(24px, 3vw, 36px);
  margin: 0 0 clamp(16px, 2vw, 24px) 0;
}

.card-modal__rules.style-2 li {
  margin-bottom: 12px;
  font-size: clamp(15px, 1.8vw, 20px);
}

/* STYLE VARIATION 3: Playful & Rounded */
.card-modal__rules.style-3 h3 {
  font-family: "sofia-pro", sans-serif;
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 700;
  color: var(--blue);
  text-transform: capitalize;
  margin: clamp(20px, 2.5vw, 30px) 0 clamp(12px, 1.5vw, 16px) 0;
  padding: clamp(8px, 1vw, 12px) clamp(14px, 1.8vw, 18px);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-radius: 20px;
  border-left: 5px solid var(--blue);
}

.card-modal__rules.style-3 ol,
.card-modal__rules.style-3 ul {
  background: white;
  border: 2px solid rgba(59, 130, 246, 0.15);
  padding: clamp(16px, 2vw, 22px) clamp(24px, 3vw, 36px);
  border-radius: 12px;
  margin: 0 0 clamp(18px, 2.2vw, 26px) 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-modal__rules.style-3 li {
  margin-bottom: 11px;
  line-height: 1.65;
}

.card-modal__rules li {
  margin-bottom: clamp(8px, 1vw, 12px);
}

/* Mobile responsive */
@media (max-width: 820px) {
  /* Section Four socials stack under the form */
  .section-four .social-links {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: clamp(20px, 4vw, 32px);
    justify-content: center;
  }

  .card-modal__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(24px, 3vw, 32px);
    padding: clamp(30px, 4vw, 40px);
  }

  .card-modal__video {
    position: relative;
    top: auto;
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
    order: 1;
    z-index: 1;
    background: #000;
    min-height: 320px;
  }

  /* Force a fixed ratio on mobile (robust on iOS Safari) */
  .card-modal__video::before {
    content: "";
    display: block;
    padding-top: 177.78%; /* 9:16 portrait */
  }

  .card-modal__video video,
  .card-modal__video img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
  }
  
  .card-modal__text {
    width: 100%;
    order: 2;
    position: relative;
    z-index: 0;
  }

  .card-modal__close {
    width: 44px;
    height: 44px;
    font-size: 28px;
    right: 16px;
    top: 16px;
  }
}

@media (max-width: 560px) {
  .card-modal__content {
    width: 96vw;
    max-height: 94vh;
    border-radius: 16px;
  }

  .card-modal__inner {
    padding: clamp(24px, 3.5vw, 32px);
    gap: clamp(20px, 2.5vw, 24px);
  }

  .card-modal__video {
    position: relative;
    top: auto;
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
  }

  .card-modal__close {
    width: 40px;
    height: 40px;
    font-size: 26px;
    right: 12px;
    top: 12px;
  }

  .card-modal__title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .card-modal__rules {
    font-size: clamp(15px, 2vw, 18px);
  }

  /* Section Four socials stack under the form on small phones */
  .section-four .social-links {
    margin-top: clamp(16px, 4vw, 24px);
    gap: clamp(10px, 3vw, 14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta,
  .video-thumb,
  .card,
  .card-modal,
  .category-tag,
  .download-btn,
  .submit-btn,
  .social-link,
  .form-input,
  .form-textarea,
  .footer__cta,
  .footer__links a {
    transition: none;
  }
}

/* Desktop override for category buttons */
@media (min-width: 1121px) {
  .category-tag {
    font-size: 32px !important;
    padding: 6px 12px !important;
    gap: 6px !important;
  }
}

@media (max-width: 680px) {
  .g-recaptcha {
    transform: scale(0.9);
  }
}

@media (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.82);
  }

  .form-group--captcha {
    padding-bottom: clamp(12px, 3vw, 18px);
  }
}
.product-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.product-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.product-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-lightbox__content {
  position: relative;
  width: min(900px, 94vw);
  aspect-ratio: 4 / 3;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-lightbox__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s ease, transform 0.15s ease;
}

.product-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.05);
}

.product-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s ease, transform 0.15s ease;
}

.product-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.05);
}

.product-lightbox__nav--prev {
  left: 10px;
}

.product-lightbox__nav--next {
  right: 10px;
}

/* ==========================================
   LEGAL PAGES
   ========================================== */

.legal-page {
  background: var(--bg);
  color: var(--navy);
  min-height: 100vh;
  padding: clamp(160px, 14vw, 220px) var(--page-pad-x) clamp(90px, 10vw, 130px);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(8, 38, 82, 0.1);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 10px 24px rgba(8, 38, 82, 0.08);
}

.legal-title {
  margin: 0 0 12px;
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
}

.legal-updated {
  margin: 0 0 24px;
  color: #4b5563;
  font-size: 15px;
}

.legal-content h2 {
  margin: 28px 0 10px;
  font-family: "sofia-pro", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--blue);
}

.legal-content p,
.legal-content li {
  margin: 0 0 14px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: #1f2937;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-content a {
  color: var(--red);
  text-decoration: underline;
}

@media (max-width: 820px) {
  .legal-page {
    padding-top: clamp(120px, 16vw, 170px);
  }

  .legal-content {
    border-radius: 14px;
  }
}

/* ==========================================
   BASIC GAMES LIST OVERRIDE
   ========================================== */

.section-three {
  overflow: visible;
}

.section-three .section-three__content {
  max-width: 1100px;
  align-items: stretch;
  gap: clamp(22px, 3vw, 34px);
}

.section-three .section-three__title {
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  letter-spacing: 1px;
  text-align: left;
}

.games-list {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 22px);
}

.games-list__loading,
.games-list__error {
  margin: 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d1d5db;
  color: #1f2937;
  font-size: clamp(16px, 2vw, 18px);
}

.game-row {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: clamp(16px, 2vw, 24px);
  box-shadow: 0 8px 20px rgba(2, 16, 38, 0.06);
}

.game-row__header {
  margin-bottom: 12px;
}

.game-row__name {
  margin: 0 0 6px;
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  color: var(--navy);
}

.game-row__meta {
  margin: 0;
  color: #4b5563;
  font-size: clamp(14px, 1.8vw, 16px);
}

.game-row__rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.game-row__rules.game-row__rules--single {
  grid-template-columns: 1fr;
}

.game-rules {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: clamp(12px, 1.8vw, 16px);
}

.game-rules__lang {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.2vw, 24px);
  color: var(--blue);
}

.game-rules__label {
  margin: 12px 0 6px;
  font-weight: 700;
  color: #1f2937;
}

.game-rules p {
  margin: 0 0 8px;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.55;
  color: #1f2937;
}

.game-rules ul {
  margin: 0 0 8px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.game-rules li {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.5;
  color: #1f2937;
}

.game-rules__empty {
  color: #6b7280;
  font-style: italic;
}

.games-idea {
  margin-top: 2px;
  display: flex;
  justify-content: center;
}

.games-idea__link {
  display: inline-block;
  background: var(--red);
  color: #fffaef;
  padding: 12px 18px;
  border-radius: 8px;
  border: 2px solid var(--red);
  font-family: "bitcrusher-variable", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.6px;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.games-idea__link:hover {
  transform: translateY(-1px);
  background: #ac2115;
  border-color: #ac2115;
}

@media (max-width: 900px) {
  .game-row__rules {
    grid-template-columns: 1fr;
  }
}
