/* ============================================
   fih trump — styles
   ============================================ */

:root {
  --yellow: #f5c842;
  --yellow-deep: #e8a812;
  --mustard: #d4a017;
  --cream: #fff8e7;
  --cream-dark: #f5ecd4;
  --sky: #87c5e8;
  --sky-deep: #5ba8d4;
  --green: #6b9e4a;
  --green-deep: #4a7a32;
  --green-light: #8fc46a;
  --mountain: #7a8fa3;
  --mountain-deep: #5a6f82;
  --ink: #1a1a18;
  --ink-soft: #3d3d38;
  --white: #ffffff;
  --red: #e85a4f;
  --teal: #3db8a8;
  --orange: #f08a3a;
  --shadow: rgba(26, 26, 24, 0.18);
  --shadow-strong: rgba(26, 26, 24, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --header-h: 72px;
  --font-display: "Segoe UI Rounded", "Avenir Next Rounded", "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", "Avenir Next", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

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

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: lowercase;
  margin-bottom: 1.25rem;
}

.section-title-center {
  text-align: center;
}

.section-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-sub-center {
  text-align: center;
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2.5px solid var(--ink);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s ease;
  white-space: nowrap;
  user-select: none;
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 0 var(--ink);
}

.btn:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: 0 2px 0 var(--ink);
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--ink);
}

.btn-primary:hover {
  background: var(--yellow-deep);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--ink);
}

.btn-ghost {
  background: transparent;
  box-shadow: none;
  border-width: 2px;
}

.btn-ghost:hover {
  background: var(--white);
  box-shadow: 0 6px 0 var(--ink);
}

.btn-lg {
  padding: 1rem 1.85rem;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 1.15rem 2.4rem;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
}

/* ---------- Custom cursor ---------- */
.cursor-dot,
.cursor-ring {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-dot,
  .cursor-ring {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
  }

  .cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
    mix-blend-mode: multiply;
  }

  .cursor-ring {
    width: 28px;
    height: 28px;
    border: 2px solid var(--teal);
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
  }

  body.is-hoverable .cursor-ring {
    width: 44px;
    height: 44px;
    border-color: var(--red);
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 248, 231, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(26, 26, 24, 0.08);
}

.nav {
  width: min(100% - 1.5rem, var(--max));
  margin: 0.65rem auto 0;
  height: calc(var(--header-h) - 0.9rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled .nav {
  border-color: rgba(26, 26, 24, 0.12);
  background: rgba(255, 255, 255, 0.45);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  z-index: 2;
}

.nav-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--sky);
}

.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(245, 200, 66, 0.45);
}

.nav-cta {
  margin-left: 0.5rem;
  flex-shrink: 0;
  z-index: 2;
}

.nav-mobile-buy {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--white);
  z-index: 2;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 1.5rem) 0 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #9fd0ef 0%, #b8dff5 28%, #d4ebc8 62%, #8fc46a 100%);
}

.hero-sky {
  position: absolute;
  inset: 0 0 40%;
  background: radial-gradient(ellipse at 50% 20%, rgba(255, 255, 220, 0.7), transparent 55%);
}

.hero-sun {
  position: absolute;
  top: 12%;
  left: 50%;
  width: clamp(80px, 14vw, 160px);
  height: clamp(80px, 14vw, 160px);
  margin-left: calc(clamp(80px, 14vw, 160px) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, #fff9d6 0%, #ffe08a 40%, transparent 70%);
  box-shadow: 0 0 60px 20px rgba(255, 230, 120, 0.45);
  animation: sun-pulse 6s ease-in-out infinite;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50px;
  filter: blur(0.5px);
  animation: cloud-drift linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud-1 {
  width: 120px;
  height: 40px;
  top: 18%;
  left: -10%;
  animation-duration: 48s;
}

.cloud-1::before {
  width: 50px;
  height: 50px;
  top: -28px;
  left: 18px;
}

.cloud-1::after {
  width: 40px;
  height: 40px;
  top: -20px;
  left: 55px;
}

.cloud-2 {
  width: 90px;
  height: 32px;
  top: 28%;
  left: 40%;
  animation-duration: 62s;
  animation-delay: -20s;
  opacity: 0.75;
}

.cloud-2::before {
  width: 40px;
  height: 40px;
  top: -22px;
  left: 12px;
}

.cloud-2::after {
  width: 32px;
  height: 32px;
  top: -16px;
  left: 42px;
}

.cloud-3 {
  width: 140px;
  height: 44px;
  top: 14%;
  left: 70%;
  animation-duration: 55s;
  animation-delay: -10s;
}

.cloud-3::before {
  width: 55px;
  height: 55px;
  top: -30px;
  left: 25px;
}

.cloud-3::after {
  width: 45px;
  height: 45px;
  top: -22px;
  left: 70px;
}

.hill {
  position: absolute;
  bottom: 0;
  left: -10%;
  right: -10%;
  border-radius: 50% 50% 0 0;
}

.hill-far {
  height: 28%;
  background: linear-gradient(180deg, var(--mountain) 0%, #6a8498 100%);
  opacity: 0.55;
  transform: translateY(10%);
}

.hill-mid {
  height: 22%;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
  opacity: 0.7;
}

.hill-near {
  height: 14%;
  background: linear-gradient(180deg, var(--green-light) 0%, var(--green) 100%);
}

.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 10px 2px rgba(255, 255, 200, 0.8);
  animation: sparkle-twinkle 3s ease-in-out infinite;
}

.sparkle-1 { top: 22%; left: 18%; animation-delay: 0s; }
.sparkle-2 { top: 35%; left: 72%; animation-delay: 1s; }
.sparkle-3 { top: 16%; left: 55%; animation-delay: 1.8s; }

.candy {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: conic-gradient(#ff6b9d, #f5c842, #3db8a8, #8fc46a, #ff6b9d);
  animation: candy-spin 8s linear infinite;
  opacity: 0.7;
}

.candy-1 { top: 40%; left: 8%; animation-duration: 10s; }
.candy-2 { top: 55%; right: 12%; animation-duration: 7s; animation-direction: reverse; }
.candy-3 { top: 25%; right: 28%; width: 12px; height: 12px; }

.fih-particle {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: rgba(26, 26, 24, 0.25);
  animation: fih-float 9s ease-in-out infinite;
}

.fih-particle::before {
  content: attr(data-text);
}

.fih-p1 { top: 48%; left: 12%; animation-delay: 0s; }
.fih-p2 { top: 62%; right: 18%; animation-delay: 2s; }
.fih-p3 { top: 30%; left: 65%; animation-delay: 4s; }

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
  box-shadow: 3px 3px 0 var(--ink);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 11vw, 7.5rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin-bottom: 1.1rem;
}

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

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 28rem;
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
}

.hero-motto {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  margin-bottom: 1.75rem;
  position: relative;
  display: inline-block;
}

.hero-motto::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 6px;
  background: var(--yellow);
  border-radius: 3px;
  z-index: -1;
  transform: rotate(-1deg);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  --parallax-x: 0px;
  --parallax-y: 0px;
}

.hero-art-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 240, 150, 0.7), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}

.hero-character {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  filter: drop-shadow(0 20px 30px rgba(26, 26, 24, 0.25));
  animation: character-float 5s ease-in-out infinite;
  transform: translate(var(--parallax-x), var(--parallax-y));
  will-change: transform;
}

.propeller-deco {
  position: absolute;
  top: 8%;
  right: 18%;
  width: 36px;
  height: 36px;
  z-index: 2;
  background: conic-gradient(var(--red), var(--teal), var(--yellow), var(--green-light), var(--red));
  border-radius: 50%;
  border: 2px solid var(--ink);
  animation: candy-spin 2.5s linear infinite;
  box-shadow: 0 4px 0 var(--ink);
}

.float-label {
  position: absolute;
  z-index: 3;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.75rem;
  box-shadow: 3px 3px 0 var(--ink);
  animation: label-bob 4s ease-in-out infinite;
}

.float-label-1 { top: 18%; left: 0; background: var(--yellow); animation-delay: 0s; }
.float-label-2 { bottom: 28%; right: 0; background: #ffd4c8; animation-delay: 1s; }
.float-label-3 { bottom: 12%; left: 8%; background: #c8f0e8; animation-delay: 2s; }

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  opacity: 0.7;
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  background: var(--ink);
  border-radius: 2px;
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 0.85rem 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.ticker-sep {
  opacity: 0.7;
}

/* ---------- About ---------- */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-lead {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.45;
  margin-bottom: 2rem;
  max-width: 34rem;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-points li {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
  line-height: 1.2;
}

.about-points li span {
  background: linear-gradient(transparent 60%, var(--yellow) 60%);
  padding: 0 0.15rem;
}

.about-points li:nth-child(2) span {
  background: linear-gradient(transparent 60%, #b8e8de 60%);
}

.about-points li:nth-child(3) span {
  background: linear-gradient(transparent 60%, #ffc8b8 60%);
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-img {
  width: min(100%, 400px);
  border-radius: 40% 45% 38% 42%;
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  background: var(--sky);
}

.sticker {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 0.7rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: 3px 3px 0 var(--ink);
  animation: label-bob 3.5s ease-in-out infinite;
}

.sticker-hair { top: 8%; left: 0; background: var(--yellow); }
.sticker-conf { top: 20%; right: -4%; background: #ffd4c8; animation-delay: 0.7s; }
.sticker-chaos { bottom: 22%; left: -6%; background: #d4e8ff; animation-delay: 1.4s; }
.sticker-fih { bottom: 8%; right: 4%; background: #c8f0e8; animation-delay: 2s; }

/* ---------- Equation ---------- */
.equation {
  background: linear-gradient(180deg, var(--cream-dark), #e8f4dc);
  overflow: hidden;
}

.equation-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.eq-panel {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.1rem, 3.5vw, 2rem);
  letter-spacing: -0.02em;
  padding: 1rem 1.4rem;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--ink);
}

.eq-panel:nth-of-type(1) { background: #ffe8a0; }
.eq-panel:nth-of-type(3) { background: #c8e8ff; }
.eq-panel:nth-of-type(5) { background: #c8f0c8; }

.eq-result {
  background: var(--yellow) !important;
  font-size: clamp(1.3rem, 4vw, 2.4rem) !important;
  transform-origin: center;
}

.eq-op {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--ink-soft);
}

/* ---------- Lore ---------- */
.lore {
  padding: 0;
  background: var(--ink);
  color: var(--cream);
}

.lore-panels {
  display: flex;
  flex-direction: column;
}

.lore-panel {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 248, 231, 0.1);
}

.lore-panel:nth-child(1) {
  background: radial-gradient(ellipse at 30% 50%, rgba(245, 200, 66, 0.15), transparent 50%);
}

.lore-panel:nth-child(2) {
  background: radial-gradient(ellipse at 70% 40%, rgba(61, 184, 168, 0.12), transparent 50%);
}

.lore-panel-finale {
  min-height: 70vh;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(245, 200, 66, 0.25), transparent 55%),
    linear-gradient(180deg, #1a1a18, #2a2818);
}

.lore-line {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 7vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 16ch;
}

.lore-line-big {
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  background: linear-gradient(90deg, var(--yellow), #ffe08a, var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 14ch;
}

.lore-finale-sub {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  opacity: 0.85;
}

.lore-deco {
  position: absolute;
  font-size: 3rem;
  opacity: 0.25;
  top: 20%;
  right: 15%;
  animation: label-bob 5s ease-in-out infinite;
}

/* ---------- Showcase ---------- */
.showcase {
  background: var(--cream);
}

.showcase-stage {
  position: relative;
  margin-top: 1rem;
  border-radius: clamp(16px, 3vw, 28px);
  overflow: hidden;
  border: 4px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  background: var(--sky);
}

.showcase-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.showcase-stage.is-active .showcase-banner {
  transform: scale(1.04);
}

.showcase-label {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.75rem, 1.8vw, 0.95rem);
  padding: 0.45rem 0.9rem;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.25s var(--ease-bounce), background 0.2s ease;
  z-index: 2;
}

.showcase-label:hover,
.showcase-label:focus-visible {
  transform: scale(1.08) rotate(-2deg);
  background: var(--yellow);
}

.label-hair { top: 12%; left: 6%; }
.label-conf { top: 18%; right: 8%; }
.label-lolli { bottom: 22%; left: 10%; }
.label-fih { bottom: 14%; right: 12%; background: #c8f0e8; }

/* ---------- Philosophy ---------- */
.philosophy {
  background: linear-gradient(180deg, var(--cream), #e4f0d8);
}

.philo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.philo-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.75rem 1.4rem;
  box-shadow: 6px 6px 0 var(--ink);
  transform-style: preserve-3d;
  transition: box-shadow 0.25s ease;
  will-change: transform;
}

.philo-card:nth-child(1) { background: #fff3c4; }
.philo-card:nth-child(2) { background: #ffe4d6; }
.philo-card:nth-child(3) { background: #dceeff; }
.philo-card:nth-child(4) { background: #d4f5ec; }

.philo-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.philo-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.philo-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- How to buy ---------- */
.howtobuy {
  background: var(--cream);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  counter-reset: none;
}

.step-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 6px 6px 0 var(--ink);
  text-align: center;
  will-change: transform;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-shadow: 3px 3px 0 var(--ink);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  text-transform: lowercase;
}

.step-card p {
  color: var(--ink-soft);
}

.howto-cta {
  text-align: center;
}

.token-card {
  margin-top: 2.5rem;
  max-width: 640px;
  margin-inline: auto;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 1.5rem 1.4rem;
  text-align: left;
}

.token-meta {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 2px dashed rgba(26, 26, 24, 0.15);
}

.token-meta p {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-weight: 700;
}

.token-meta span {
  min-width: 4.5rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.token-ca-label {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.token-ca-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.token-ca-value {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: clamp(0.72rem, 2vw, 0.88rem);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-ca-btn {
  flex-shrink: 0;
  min-width: 5.5rem;
}

.copy-ca-btn.is-copied {
  background: #c8f0e8;
}

.ca-feedback {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-deep);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ca-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-ca {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.72rem;
  opacity: 0.65;
  word-break: break-all;
  max-width: 36rem;
}

/* ---------- Gallery ---------- */
.gallery {
  padding: 2.5rem 0;
  background: var(--ink);
  overflow: hidden;
}

.gallery-strip {
  overflow: hidden;
  margin: 0.75rem 0;
}

.gallery-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: gallery-scroll 40s linear infinite;
}

.gallery-track-reverse {
  animation-direction: reverse;
  animation-duration: 48s;
}

.gallery-frame {
  width: clamp(160px, 22vw, 280px);
  height: clamp(110px, 15vw, 180px);
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--cream);
  flex-shrink: 0;
  background: var(--sky);
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-frame-tilt {
  transform: rotate(-3deg);
}

.gallery-frame-crop img {
  object-position: center top;
  transform: scale(1.3);
}

/* ---------- Fih zone ---------- */
.fih-zone {
  background: linear-gradient(180deg, #e8f4dc, var(--cream));
  text-align: center;
  overflow: hidden;
}

.fih-zone-inner {
  position: relative;
}

.fih-btn {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 4vw, 2rem);
  padding: 1.4rem 2.8rem;
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: 8px 8px 0 var(--ink);
  margin: 1rem 0 1.25rem;
  transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s ease;
}

.fih-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 10px 12px 0 var(--ink);
}

.fih-btn:active,
.fih-btn.is-pressed {
  transform: translateY(4px) scale(0.96);
  box-shadow: 2px 2px 0 var(--ink);
}

.fih-level {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.fih-zone-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 28rem;
  margin-inline: auto;
}

.fih-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.fih-pop {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  pointer-events: none;
  animation: fih-pop-out 1.1s var(--ease-out) forwards;
  white-space: nowrap;
}

.fih-pop.is-candy {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: conic-gradient(#ff6b9d, #f5c842, #3db8a8, #8fc46a, #ff6b9d);
  font-size: 0;
}

body.fih-bounce {
  animation: page-nudge 0.4s var(--ease-bounce);
}

/* ---------- Manifesto ---------- */
.manifesto {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.manifesto-bg {
  position: absolute;
  inset: -8%;
  z-index: 0;
  will-change: transform;
}

.manifesto-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manifesto-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 24, 0.15) 0%,
    rgba(26, 26, 24, 0.45) 50%,
    rgba(26, 26, 24, 0.2) 100%
  );
  width: 100%;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.manifesto-line {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 10vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* ---------- Finale ---------- */
.finale {
  background: linear-gradient(180deg, var(--cream), var(--yellow));
  text-align: center;
  padding-bottom: 5rem;
}

.finale-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.finale-character {
  width: clamp(160px, 28vw, 260px);
  margin-bottom: 1.5rem;
  animation: character-float 5s ease-in-out infinite;
  filter: drop-shadow(0 12px 20px rgba(26, 26, 24, 0.2));
}

.finale-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 2rem;
}

.finale-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.finale-secondary {
  display: flex;
  gap: 0.75rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  object-fit: cover;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.footer-ticker {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 700;
}

.footer-links a {
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.footer-motto {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  opacity: 0.55;
  max-width: 36rem;
  line-height: 1.5;
}

/* ---------- Reveal system ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), filter 0.7s ease;
  filter: blur(4px);
}

.reveal-up {
  transform: translateY(32px);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-scale {
  transform: scale(0.94);
}

.reveal-bounce {
  transform: scale(0.7) translateY(20px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.reveal-bounce.is-visible {
  animation: eq-land 0.7s var(--ease-bounce) forwards;
}

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }

.philo-card.reveal:nth-child(1) { transition-delay: 0s; }
.philo-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.philo-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.philo-card.reveal:nth-child(4) { transition-delay: 0.3s; }

.step-card.reveal:nth-child(1) { transition-delay: 0s; }
.step-card.reveal:nth-child(2) { transition-delay: 0.12s; }
.step-card.reveal:nth-child(3) { transition-delay: 0.24s; }

.hero .reveal {
  transition-delay: 0s;
}

.hero .hero-label { transition-delay: 0.1s; }
.hero .hero-title { transition-delay: 0.2s; }
.hero .hero-tagline { transition-delay: 0.35s; }
.hero .hero-sub { transition-delay: 0.45s; }
.hero .hero-motto { transition-delay: 0.55s; }
.hero .hero-ctas { transition-delay: 0.65s; }

.hero-art {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out) 0.3s, transform 0.8s var(--ease-out) 0.3s;
}

.hero.is-ready .hero-art {
  opacity: 1;
  transform: scale(1);
}

.hero.is-ready .reveal {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ---------- Keyframes ---------- */
@keyframes character-float {
  0%, 100% { transform: translate(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) + 0px)) rotate(-1deg); }
  50% { transform: translate(var(--parallax-x, 0px), calc(var(--parallax-y, 0px) - 12px)) rotate(1deg); }
}

@keyframes candy-spin {
  to { transform: rotate(360deg); }
}

@keyframes cloud-drift {
  from { transform: translateX(0); }
  to { transform: translateX(120vw); }
}

@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes fih-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); opacity: 0.2; }
  50% { transform: translateY(-18px) rotate(4deg); opacity: 0.45; }
}

@keyframes label-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes sun-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

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

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes eq-land {
  0% { transform: scale(0.7) translateY(20px); opacity: 0; }
  60% { transform: scale(1.08) translateY(-4px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes fih-pop-out {
  0% { opacity: 1; transform: translate(0, 0) scale(0.6); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.2); }
}

@keyframes page-nudge {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
  60% { transform: translateY(3px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    order: 1;
  }

  .hero-art {
    order: 0;
    margin-bottom: 0.5rem;
  }

  .hero-character {
    width: min(78vw, 380px);
  }

  .hero-sub,
  .hero-motto {
    margin-inline: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
  }

  .philo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .float-label-1,
  .float-label-2,
  .float-label-3 {
    font-size: 0.75rem;
  }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(255, 248, 231, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
    margin-left: 0;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    padding: 0.75rem 1.5rem;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile-buy {
    display: inline-flex !important;
  }

  .philo-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  .equation-row {
    gap: 0.5rem;
  }

  .eq-panel {
    padding: 0.75rem 1rem;
  }

  .showcase-label {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }

  .label-hair { top: 8%; left: 4%; }
  .label-conf { top: 10%; right: 4%; }
  .label-lolli { bottom: 12%; left: 4%; }
  .label-fih { bottom: 8%; right: 4%; }

  .propeller-deco {
    display: none;
  }

  .candy,
  .fih-particle {
    display: none;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero-title {
    font-size: clamp(3.2rem, 18vw, 4rem);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .nav-wordmark {
    font-size: 1rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-art {
    opacity: 1;
    transform: none;
  }

  .ticker-track,
  .gallery-track {
    animation: none;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}
