@font-face {
  font-family: 'Wetris';
  src: url('assets/WetrisTest-Regular.otf') format('opentype');
}



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

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #1B0E08;
}

body {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}

.bg-sauce {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#sauceSvg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero {
  position: sticky;
  top: 0;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 160px;
  padding-bottom: 40px;
  overflow: hidden;
  will-change: transform;
  transform-origin: center center;
}

.hero-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-tagline {
  font-family: 'Public Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.7;
  margin-bottom: 20px;
}

/* ── Contact button ────────────────────────────────────────────── */
.contact-btn,
.about-btn {
  font-family: 'bricolage-grotesque-cond', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #EEEFEC;
  transition: color 0.4s ease, opacity 0.4s ease;
}

.contact-btn {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 15;
}

.nav-left {
  position: fixed;
  top: 28px;
  left: 28px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-btn:hover,
.about-btn:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.contact-btn.is-dark,
.about-btn.is-dark { color: #E70000; }

.about-btn.is-current {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

/* ── Navbar ────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;          /* above .menu-overlay content (10) */
  width: 220px;
  transform-origin: top center;
  will-change: transform;
}

.badge-wrap {
  position: relative;
  width: 100%;
}

.badge-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* Content sits in the solid body of the badge, above the zigzag teeth (bottom ~7%) */
.badge-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 50px;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.menu-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.badge-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 4px 0;
}

.nav-logo-wrap {
  position: relative;
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.15s linear;
}

.nav-logo--icon {
  position: absolute;
  inset: 0;
  width: 55%;
  height: auto;
  margin: auto;
  opacity: 0;
}

/* ── Headline ──────────────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 28px;
  gap: 20px;
  transition: padding 0.7s ease;
}

.headline {
  font-family: 'bricolage-grotesque-cond', sans-serif;
  font-size: clamp(2rem, 11vw, 6.5rem);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: #EEEFEC;
  line-height: 0.88;
  text-align: center;
  width: 100%;
  transition: font-size 0.7s ease;
}

.subheadline {
  font-family: 'Public Sans', sans-serif;
  font-size: clamp(0.9rem, 3.5vw, 1.15rem);
  font-weight: 400;
  color: #EEEFEC;
  line-height: 1.6;
  text-align: center;
  opacity: 0.75;
  max-width: 480px;
  transition: font-size 0.7s ease, max-width 0.7s ease;
}


/* ── Morph text ─────────────────────────────────────────────────── */
#morphText {
  display: inline-block;
  cursor: default;
}

/* ── CTA circle ─────────────────────────────────────────────────── */

.cta-circle {
  position: fixed;
  top: 0;
  left: 0;
  width: 148px;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  z-index: 8;
  cursor: pointer;
  will-change: transform;
  transform-origin: center center;
  user-select: none;
}

.cta-circle span {
  position: relative;
  z-index: 1;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #EEEFEC;
  line-height: 1.3;
  pointer-events: none;
  padding: 0 12px;
}

.cta-circle--ideator span {
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .hero {
    padding-top: 110px;
  }

  .nav-left {
    top: 28px;
    left: 20px;
    gap: 12px;
  }

  .nav-left .about-btn[href="index.html"] {
    display: none;
  }

  .contact-btn {
    top: 28px;
    right: 20px;
    font-size: 0.95rem;
  }

  .about-btn {
    font-size: 0.95rem;
  }

  .cta-circle {
    width: 118px;
    height: 118px;
  }
  .cta-circle span {
    font-size: 0.85rem;
  }
  .cta-circle--ideator span {
    font-size: 0.75rem;
  }

  .menu-overlay-body {
    padding: 100px 32px 40px;
  }

  .menu-overlay-contact {
    margin-bottom: 60px;
  }

  .site-footer-btn {
    font-size: clamp(4.5rem, 18vw, 7rem);
  }

  .site-footer-copy {
    white-space: normal;
    text-align: center;
    padding: 0 24px;
    width: 100%;
  }
}

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 32px 0 40px;
}

.footer p {
  font-family: 'Public Sans', sans-serif;
  font-size: 0.7rem;
  color: #1B0E08;
  opacity: 0.35;
  letter-spacing: 0.04em;
}

/* ── Process section ───────────────────────────────────────────── */
.process-section {
  position: relative;
  z-index: 3;
  background: #EEEFEC;
  min-height: 100vh;
  padding: 80px 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.process-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 460px 1fr;
  grid-template-rows: auto auto;
  column-gap: 80px;
  row-gap: 32px;
}

.process-left {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.process-meta {
  grid-column: 1;
  grid-row: 2;
}

.process-tag {
  font-family: 'Public Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E70000;
}

.process-tagline {
  font-family: 'bricolage-grotesque', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #1B0E08;
  line-height: 1.15;
}

.process-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

.process-meta-label {
  font-family: 'bricolage-grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1B0E08;
}

.process-description {
  font-family: 'Public Sans', sans-serif;
  font-size: 1rem;
  color: #1B0E08;
  line-height: 1.65;
}

.process-disclaimer {
  font-family: 'Public Sans', sans-serif;
  font-size: 0.85rem;
  color: #1B0E08;
  opacity: 0.45;
  line-height: 1.6;
  font-style: italic;
  margin-top: 4px;
}

.process-right {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.process-deck {
  position: relative;
  width: 380px;
  height: 460px;
  cursor: pointer;
}

.process-card {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 24px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  text-align: left;
  will-change: transform;
  box-shadow: 0 4px 28px rgba(27, 14, 8, 0.05);
}

.process-card-title {
  font-family: 'bricolage-grotesque-cond', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #1B0E08;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.process-card-days {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(27, 14, 8, 0.08);
}

.process-card-days li {
  font-family: 'Public Sans', sans-serif;
  font-size: 0.88rem;
  color: #1B0E08;
  opacity: 0.5;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .process-section { padding: 100px 48px; }
  .process-inner { gap: 48px; }
  .process-deck { width: 320px; height: 400px; }
}

@media (max-width: 767px) {
  .navbar { width: 160px; }
  .process-section { padding: 120px 24px 64px; min-height: auto; }
  .process-inner { display: flex; flex-direction: column; gap: 40px; align-items: center; }
  .process-left  { order: 1; max-width: 100%; text-align: center; }
  .process-right { order: 2; width: 100%; }
  .process-meta  { order: 3; text-align: center; }
  .process-deck { width: 280px; height: 360px; margin: 0 auto; }
}

/* ── Services section ──────────────────────────────────────────── */
.services-section {
  position: relative;
  z-index: 3;
  background: #EEEFEC;
  min-height: 100vh;
  padding: 180px 0 100px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 40px;
  overflow: visible;
}

.services-header {
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.services-tag {
  font-family: 'Public Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E70000;
}

.services-headline {
  font-family: 'bricolage-grotesque', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #1B0E08;
  line-height: 1.05;
  text-align: center;
}

/* Desktop: snap + scale carousel */
.services-carousel {
  display: flex;
  gap: 24px;
  padding: 40px calc(50% - 170px);
  overflow-x: auto;
  scrollbar-width: none;
  cursor: default;
  user-select: none;
  align-items: center;
}
.services-carousel::-webkit-scrollbar { display: none; }

.services-cursor-btn {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1B0E08;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 20;
  top: 0;
  left: 0;
  will-change: transform, left, top;
}

.services-cursor-btn.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
  cursor: none;
}

/* Desktop: carousel card */
.services-card {
  flex: 0 0 340px;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  padding: 12px 12px 0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  will-change: transform, opacity;
  cursor: pointer;
  --card-text: #fff;
  --card-text-dim: rgba(255, 255, 255, 0.7);
}

.services-card-video {
  width: 100%;
  height: 48%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border-radius: 12px;
}

.services-card-text {
  flex: 1;
  padding: 14px 4px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  overflow: hidden;
}

.services-card[data-color="0"] { background: #E70000; --card-text: #fff; --card-text-dim: rgba(255,255,255,0.7); }
.services-card[data-color="1"] { background: #FAC21A; --card-text: #fff; --card-text-dim: rgba(255,255,255,0.7); }
.services-card[data-color="2"] { background: #FF7010; --card-text: #fff; --card-text-dim: rgba(255,255,255,0.7); }
.services-card[data-color="3"] { background: #4D2205; --card-text: #fff; --card-text-dim: rgba(255,255,255,0.7); }

.services-card-title {
  font-family: 'bricolage-grotesque-cond', sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--card-text);
  line-height: 1;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.services-card-body {
  font-family: 'Public Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--card-text-dim);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .services-header { padding: 0 24px; text-align: center; }
  .services-section {
    overflow: hidden;
    padding-top: 130px;
    padding-bottom: 60px;
    gap: 28px;
    min-height: unset;
  }
  .services-cursor-btn { display: none; }
  .services-carousel {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 40px calc(50% - 130px);
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: auto;
    align-items: center;
    cursor: default;
  }
  .services-carousel::-webkit-scrollbar { display: none; }
  .services-card {
    position: static;
    flex: 0 0 260px;
    width: 260px;
    height: 420px;
    left: auto;
    bottom: auto;
    margin-left: 0;
    transform-origin: center center;
    padding: 10px 10px 0;
  }
  .services-card-title { font-size: 1.6rem; line-height: 1.05; }
  .services-card-body  { font-size: 0.88rem; }
}

/* ── Page indicator ────────────────────────────────────────────── */
.page-indicator {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  pointer-events: auto;
}

.page-indicator-dot {
  position: relative;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.35s ease,
              transform 0.35s ease;
}

.page-indicator-dot::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Public Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.page-indicator-dot:hover::after {
  opacity: 1;
}

.page-indicator-dot.is-active {
  height: 18px;
  background: rgba(255, 255, 255, 0.9);
}

/* Dark variant (light-bg sections) */
.page-indicator.is-dark .page-indicator-dot {
  background: rgba(27, 14, 8, 0.2);
}
.page-indicator.is-dark .page-indicator-dot::after {
  color: rgba(27, 14, 8, 0.6);
}
.page-indicator.is-dark .page-indicator-dot:hover::after {
  opacity: 1;
}
.page-indicator.is-dark .page-indicator-dot.is-active {
  background: rgba(27, 14, 8, 0.7);
}

@media (max-width: 767px) {
  .page-indicator { right: 12px; gap: 6px; }
  .page-indicator-dot { width: 3px; }
  .page-indicator-dot::after { display: none; }
}

/* ── Site footer ───────────────────────────────────────────────── */
.site-footer {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #E70000;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.site-footer-eyebrow {
  font-family: 'Public Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

button.site-footer-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.site-footer-btn {
  font-family: 'bricolage-grotesque-cond', sans-serif;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-decoration: none;
  color: #fff;
}

.site-footer-btn:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 6px;
}
.site-footer-btn--outline { color: #fff; }

.site-footer-copy {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Public Sans', sans-serif;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ── Menu overlay ──────────────────────────────────────────────── */
/*
  The red shape lives in #menuMorphPath inside #sauceSvg.  When the menu
  opens, JS raises .bg-sauce above the page content (z-index 9) and GSAP
  morphs the path from badge size → full screen.  This div is just the
  content layer that sits on top of the morphed background.
*/
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;          /* above .bg-sauce (raised to 9) */
  pointer-events: none;
}

.menu-overlay-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 120px 44px 52px;
  opacity: 0;
  pointer-events: none;
  text-align: center;
}

.menu-overlay-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.menu-overlay-link {
  font-family: 'bricolage-grotesque-cond', sans-serif;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  color: #EEEFEC;
  text-decoration: none;
  line-height: 0.95;
  display: block;
  position: relative;
  transition: opacity 0.22s ease;
}

.menu-overlay-link--current {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.menu-overlay-link:not(.menu-overlay-link--current) {
  cursor: pointer;
}

.menu-overlay-link:not(.menu-overlay-link--current):hover {
  opacity: 1;
  color: #FAC21A;
}

.menu-overlay-num {
  font-family: 'Public Sans', sans-serif;
  font-size: clamp(0.6rem, 1.2vw, 0.75rem);
  font-weight: 400;
  vertical-align: super;
  margin-right: 10px;
  opacity: 0.65;
  letter-spacing: 0.02em;
}

.menu-overlay-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 150px;
}

.menu-overlay-contact-label {
  font-family: 'Public Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #EEEFEC;
  opacity: 0.5;
}

.menu-overlay-contact-email {
  font-family: 'Public Sans', sans-serif;
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  color: #EEEFEC;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.menu-overlay-contact-email:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ── Desktop ───────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .navbar {
    width: 220px;
  }

  .hero {
    padding-top: 160px;
    padding-bottom: 40px;
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 0;
    flex: 1;
  }

  .headline {
    font-size: clamp(3rem, 9vw, 10rem);
    text-align: center;
    margin-bottom: 0;
  }

  .subheadline {
    font-size: clamp(0.95rem, 1.3vw, 1.2rem);
    max-width: 560px;
    text-align: center;
  }

  .menu-overlay-body {
    padding: 145px 72px 64px;
  }

}
