@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500&display=swap");

:root {
  --cream: #f0ebe0;
  --black: #1a1a1a;
  --orange: #c8481a;
  --tan: #75654b;
  --cream-dark: #e4ddd0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--black);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom cursor ── */
#cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    transform 0.08s ease,
    width 0.2s ease,
    height 0.2s ease,
    opacity 0.2s ease;
  mix-blend-mode: multiply;
}

#cursor.big {
  width: 48px;
  height: 48px;
  opacity: 0.35;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

nav.scrolled {
  border-color: rgba(117, 101, 75, 0.18);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo .logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.nav-logo .branding-img {
  height: 72px;
  width: 100px;
  object-fit: contain;
  display: block;
}

.branding-img {
  height: 72px;
  width: 72px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 100px;
  transition:
    background 0.2s,
    transform 0.15s;
}

.nav-cta:hover {
  background: #a8391180;
  transform: scale(1.04);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

/* Animated rings */
.ripple-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.ring {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(200, 72, 26, 0.15);
  opacity: 0;
  transform: scale(0.3);
  animation: ripple-effect 9s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
  pointer-events: none;
}

.ring:nth-child(1) {
  animation-delay: 0s;
}

.ring:nth-child(2) {
  animation-delay: 1.5s;
}

.ring:nth-child(3) {
  animation-delay: 3s;
}

.ring:nth-child(4) {
  animation-delay: 4.5s;
}

.ring:nth-child(5) {
  animation-delay: 6s;
}

.ring:nth-child(6) {
  animation-delay: 7.5s;
}

@keyframes ripple-effect {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  15% {
    opacity: 0.65;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Premium Interactive Clock */
.interactive-clock {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
  width: 180px;
  height: 180px;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clock-glass {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    inset 0 0 20px rgba(255, 255, 255, 0.5),
    inset 0 4px 10px rgba(255, 255, 255, 0.7),
    0 10px 40px rgba(200, 72, 26, 0.15);
  position: relative;
  transform-style: preserve-3d;
}

.clock-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.mark {
  position: absolute;
  background: rgba(26, 26, 26, 0.85);
  border-radius: 2px;
}

.mark.top { top: 12px; left: 50%; transform: translateX(-50%); width: 4px; height: 12px; }
.mark.bottom { bottom: 12px; left: 50%; transform: translateX(-50%); width: 4px; height: 12px; }
.mark.left { left: 12px; top: 50%; transform: translateY(-50%); width: 12px; height: 4px; }
.mark.right { right: 12px; top: 50%; transform: translateY(-50%); width: 12px; height: 4px; }

.hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.hand.hour {
  width: 6px;
  height: 38px;
  background: var(--black);
  margin-left: -3px;
}

.hand.minute {
  width: 4px;
  height: 52px;
  background: var(--orange);
  margin-left: -2px;
}

.clock-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--black);
  border: 2px solid var(--cream);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.clock-shadow {
  position: absolute;
  bottom: -15px;
  width: 110px;
  height: 15px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  filter: blur(6px);
}

.hero-logo-img {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 5px;
  object-fit: contain;
  margin-bottom: 20px;
}

.hero-eyebrow {
  position: relative;
  z-index: 1;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.hero-headline {
  position: relative;
  z-index: 1;
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--black);
  max-width: 780px;
  margin: 0 auto 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--orange);
}

.hero-sub {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  color: var(--tan);
  font-weight: 300;
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto 48px;
}

.hero-sub-line {
  display: block;
}

.hero-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: var(--cream);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 100px;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(26, 26, 26, 0.14);
}

.hero-btn:hover {
  background: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(200, 72, 26, 0.28);
}

.hero-btn .arrow {
  display: inline-flex;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.hero-btn:hover .arrow {
  transform: translateX(4px);
}

.hero-meta {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--tan);
  letter-spacing: 0.05em;
}

.hero-meta span {
  margin: 0 8px;
  opacity: 0.5;
}

/* ── Wait ticker ── */

.challenge-icon {
  font-family: "Material Symbols Outlined";
  font-size: 32px;
  color: var(--orange);
}

.ticker {
  background: var(--black);
  color: var(--cream);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: scroll-ticker 22s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.ticker-dot {
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes scroll-ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ── How it works ── */
.section {
  padding: 100px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 48px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.flow-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      var(--tan) 20%,
      var(--tan) 80%,
      transparent);
  opacity: 0.25;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step:nth-child(1) {
  transition-delay: 0s;
}

.step:nth-child(2) {
  transition-delay: 0.1s;
}

.step:nth-child(3) {
  transition-delay: 0.2s;
}

.step:nth-child(4) {
  transition-delay: 0.3s;
}

.step:nth-child(5) {
  transition-delay: 0.4s;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: var(--cream-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  border: 2px solid transparent;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.step:hover .step-icon {
  border-color: var(--orange);
  background: white;
}

.step-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--tan);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ── Challenges grid ── */
.challenges-section {
  padding: 80px 0 100px;
  background: var(--black);
}

.challenges-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

.challenges-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right,
      transparent,
      black 48px,
      black calc(100% - 48px),
      transparent);
  mask-image: linear-gradient(to right,
      transparent,
      black 48px,
      black calc(100% - 48px),
      transparent);
}

.challenges-section .section-label {
  color: rgba(240, 235, 224, 0.45);
}

.challenges-headline {
  font-family: "DM Serif Display", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  max-width: 560px;
  line-height: 1.2;
}

.challenges-filter {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid rgba(240, 235, 224, 0.15);
  background: transparent;
  color: rgba(240, 235, 224, 0.6);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s ease;
}

.filter-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

.challenges-grid {
  display: grid;
  grid-template-rows: repeat(2, 190px);
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 16px;
  overflow: hidden;
  padding: 12px 48px 24px 48px;
}

.challenge-card {
  background: rgba(240, 235, 224, 0.05);
  border: 1px solid rgba(240, 235, 224, 0.08);
  border-radius: 16px;
  padding: 24px 20px;
  cursor: default;
  transition:
    background 0.2s,
    border-color 0.2s,
    opacity 0.25s ease,
    transform 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.challenge-card:hover {
  background: rgba(200, 72, 26, 0.12);
  border-color: rgba(200, 72, 26, 0.35);
  transform: translateY(-4px);
}

.challenge-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

.challenge-name {
  font-weight: 500;
  color: var(--cream);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.challenge-desc {
  font-size: 0.76rem;
  color: rgba(240, 235, 224, 0.4);
  line-height: 1.4;
}

.challenge-time {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}

/* ── Manifesto ── */
.manifesto {
  padding: 120px 48px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-quote {
  font-family: "DM Serif Display", serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 32px;
}

.manifesto-quote em {
  color: var(--orange);
  font-style: italic;
}

.manifesto-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: 1px solid rgba(117, 101, 75, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--tan);
  background: transparent;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}

.pill:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(200, 72, 26, 0.05);
}

.pill-dot {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}

/* ── CTA bottom ── */
.cta-section {
  background: var(--orange);
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(ellipse at center,
      rgba(255, 255, 255, 0.12) 0%,
      transparent 65%);
  pointer-events: none;
}

.cta-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
}

.cta-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 48px;
  font-weight: 300;
  position: relative;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--orange);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 100px;
  transition:
    transform 0.15s,
    box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  position: relative;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

/* ── Feedback ── */
.feedback-section {
  padding: 60px 48px 20px;
  text-align: center;
  background: var(--cream);
}

.feedback-text {
  font-size: 0.95rem;
  color: var(--black);
  margin-bottom: 12px;
  font-weight: 500;
}

.feedback-link {
  display: inline-block;
  color: var(--orange);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s, border-bottom-color 0.2s;
  border-bottom: 1px solid rgba(200, 72, 26, 0.3);
  padding-bottom: 2px;
}

.feedback-link:hover {
  opacity: 0.8;
  border-bottom-color: var(--orange);
}

/* ── Footer ── */
footer {
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(117, 101, 75, 0.15);
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  text-align: left;
}

.footer-copy {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--tan);
}

.footer-credits {
  font-size: 0.75rem;
  color: var(--tan);
  opacity: 0.55;
}

.footer-link {
  color: var(--orange);
  text-decoration: none;
  transition: opacity 0.2s;
  font-weight: 500;
}

.footer-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-logo {
  font-family: "DM Serif Display", serif;
  font-size: 0.95rem;
  color: var(--tan);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--tan);
  opacity: 0.55;
  letter-spacing: 0.05em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav {
    padding: 16px 24px;
  }

  .section {
    padding: 64px 24px;
  }

  .challenges-section {
    padding: 64px 0;
  }

  .challenges-inner {
    padding: 0 24px;
  }

  .challenges-carousel-wrapper {
    -webkit-mask-image: linear-gradient(to right,
        transparent,
        black 24px,
        black calc(100% - 24px),
        transparent);
    mask-image: linear-gradient(to right,
        transparent,
        black 24px,
        black calc(100% - 24px),
        transparent);
  }

  .challenges-grid {
    padding: 12px 24px 24px 24px;
  }

  .manifesto {
    padding: 80px 24px;
  }

  .cta-section {
    padding: 80px 24px;
  }

  .feedback-section {
    padding: 40px 24px 12px;
  }

  footer {
    padding: 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-left {
    align-items: center;
    text-align: center;
  }

  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .flow-steps::before {
    display: none;
  }

  .step:nth-child(5) {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-link {
  color: var(--tan);
  opacity: 0.55;
  transition: opacity 0.2s, color 0.2s, transform 0.2s;
  display: flex;
}

.social-link:hover {
  color: var(--orange);
  opacity: 1;
  transform: scale(1.1);
}