:root {
  --ink: #14110f;
  --paper: #f3efe6;
  --leaf: #1f4d3a;
  --leaf-soft: #2f6b50;
  --steel: #8b939c;
  --wheel: #d62828;
  --sun: #f0c14a;
  --dust: #c4b39a;
  --shade: rgba(12, 18, 14, 0.55);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Syne", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(240, 193, 74, 0.28), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(47, 107, 80, 0.18), transparent 50%),
    linear-gradient(180deg, #e8f0ea 0%, var(--paper) 40%, #ebe4d6 100%);
  font-family: var(--font-body);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* —— Intro splash —— */
.intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.85rem;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(145deg, #0d1f18 0%, #1a3a2c 45%, #0f1720 100%);
  color: #f7f3ea;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 40, 40, 0.35), transparent 65%);
  filter: blur(12px);
  animation: pulse 1.8s ease-in-out infinite;
}

.intro__wheel {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 0.45rem solid var(--wheel);
  border-top-color: var(--sun);
  border-left-color: #fff;
  position: relative;
  z-index: 1;
  animation: spin 0.85s linear infinite;
  box-shadow: 0 0 0 0.35rem rgba(214, 40, 40, 0.2);
}

.intro__eyebrow {
  margin: 1rem 0 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #b7cfc2;
  position: relative;
  z-index: 1;
}

.intro__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 0.95;
  position: relative;
  z-index: 1;
}

.intro__line {
  margin: 0;
  min-height: 1.4em;
  color: #f0c14a;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.intro__hint {
  margin: 0.25rem 0 0;
  max-width: 22rem;
  font-size: 0.85rem;
  color: #9eb9ab;
  position: relative;
  z-index: 1;
}

.ticker {
  overflow: hidden;
  background: var(--ink);
  color: #f7f3ea;
  border-bottom: 3px solid var(--wheel);
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 18s linear infinite;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.55rem 0;
}

.ticker__track span {
  padding-right: 1rem;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.intro__bar {
  width: min(18rem, 70vw);
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.intro__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--wheel), var(--sun));
  transition: width 0.35s ease;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* —— Hero —— */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  position: relative;
}

.hero__media {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.08);
  animation: heroIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 55%, rgba(243, 239, 230, 0.92) 100%),
    linear-gradient(0deg, rgba(20, 17, 15, 0.35), transparent 40%);
  pointer-events: none;
}

.sticker {
  position: absolute;
  z-index: 2;
  margin: 0;
  padding: 0.45rem 0.7rem;
  font-weight: 800;
  font-size: 0.78rem;
  background: var(--sun);
  color: var(--ink);
  transform: rotate(-6deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  animation: wiggle 2.8s ease-in-out infinite;
}

.sticker--left {
  top: 1.1rem;
  left: 1.1rem;
}

.sticker--right {
  bottom: 18%;
  right: 8%;
  background: var(--wheel);
  color: #fff;
  transform: rotate(5deg);
  animation-delay: 0.4s;
}

@keyframes wiggle {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}

.mini-joke {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #5b554c;
  min-height: 1.3em;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  gap: 0.85rem;
  animation: rise 0.9s ease 0.55s both;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--leaf);
  font-weight: 700;
}

.hero__copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.tagline {
  margin: 0;
  max-width: 22rem;
  font-size: 1.15rem;
  line-height: 1.45;
  color: #3d3832;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cta,
.ghost {
  font: inherit;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta {
  background: var(--wheel);
  color: #fff;
}

.cta:hover,
.ghost:hover {
  transform: translateY(-2px);
}

.ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

@keyframes heroIn {
  from { transform: scale(1.18); filter: saturate(0.7) brightness(0.85); }
  to { transform: scale(1.08); filter: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Sections —— */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(20, 17, 15, 0.12);
  border-block: 1px solid rgba(20, 17, 15, 0.12);
}

.strip article {
  background: rgba(255, 255, 255, 0.55);
  padding: 1.35rem 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.strip strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--leaf-soft);
}

.strip span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}

.quotes,
.bites,
.farewell {
  width: min(720px, 92vw);
  margin: 0 auto;
  padding: 4.5rem 0 2rem;
}

.bites h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
}

.bites__grid {
  display: grid;
  gap: 1rem;
}

.bites__grid article {
  padding: 1.1rem 1.15rem;
  background: rgba(255, 255, 255, 0.55);
  border-top: 3px solid var(--leaf);
}

.bites__grid h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.bites__grid p {
  margin: 0;
  color: #4a453e;
  line-height: 1.45;
}

.quotes h2,
.farewell h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
}

.section-lead,
.farewell p {
  color: #4a453e;
  line-height: 1.55;
}

.quotes ul {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.quotes li {
  padding: 1rem 1.15rem;
  background: linear-gradient(120deg, rgba(31, 77, 58, 0.08), rgba(214, 40, 40, 0.08));
  border-left: 4px solid var(--wheel);
  font-weight: 600;
  animation: rise 0.6s ease both;
}

.quotes li em,
.bites__grid em {
  font-style: normal;
  color: var(--wheel);
  font-weight: 800;
}

.quotes li:nth-child(2) { animation-delay: 0.08s; }
.quotes li:nth-child(3) { animation-delay: 0.16s; }
.quotes li:nth-child(4) { animation-delay: 0.24s; }

.farewell {
  padding-bottom: 4.5rem;
}

.tiny {
  font-size: 0.85rem;
  opacity: 0.75;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.2rem;
  font-weight: 700;
  z-index: 40;
  transition: transform 0.35s ease;
  max-width: min(90vw, 22rem);
  text-align: center;
}

.toast.is-on {
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 58vh;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(243, 239, 230, 0.96) 0%, transparent 42%),
      linear-gradient(180deg, transparent 60%, rgba(20, 17, 15, 0.2));
  }

  .hero__copy {
    margin-top: -3.5rem;
    position: relative;
    z-index: 2;
  }

  .strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
