:root {
  --cherry: #e63946;
  --butter: #ffd166;
  --denim: #457b9d;
  --mint: #2a9d8f;
  --ink: #1e2430;
  --paper: #f0f4f8;
  --white: #ffffff;
  --beta-h: 2.35rem;
  --font-display: "Fredoka", "Futura", sans-serif;
  --font-body: "Karla", "Gill Sans", sans-serif;
  --ease: cubic-bezier(0.34, 1.2, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(255, 209, 102, 0.35), transparent 50%),
    radial-gradient(70% 50% at 0% 30%, rgba(69, 123, 157, 0.18), transparent 55%),
    linear-gradient(180deg, var(--white) 0%, var(--paper) 55%, #e4ebf2 100%);
  min-height: 100vh;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.beta-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  min-height: var(--beta-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1rem;
  background: linear-gradient(90deg, var(--cherry), #c1121f 45%, var(--denim));
  color: var(--white);
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.35;
  box-shadow: 0 2px 12px rgba(30, 36, 48, 0.15);
}

.beta-bar p {
  margin: 0;
}

.beta-bar em {
  font-style: normal;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-nav {
  position: fixed;
  inset: var(--beta-h) 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(to bottom, rgba(30, 36, 48, 0.35), transparent);
  color: var(--white);
  transition: backdrop-filter 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.site-nav.is-scrolled {
  backdrop-filter: blur(12px);
  background: rgba(240, 244, 248, 0.92);
  color: var(--ink);
  border-bottom: 1px solid rgba(30, 36, 48, 0.08);
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
}

.nav-links a:hover {
  color: var(--cherry);
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(30, 36, 48, 0.88) 0%, rgba(30, 36, 48, 0.28) 48%, rgba(230, 57, 70, 0.18) 100%),
    url("assets/hero-gladrags.png") center 20% / cover no-repeat;
  transform: scale(1.03);
  animation: hero-drift 16s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(1%, -0.6%, 0); }
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.25rem, 5vw, 4rem) clamp(2.5rem, 6vh, 4rem);
  max-width: 36rem;
  animation: rise 1s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.brand-mark {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  color: var(--butter);
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 30rem;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.cta-primary {
  background: var(--cherry);
  color: var(--white);
}

.cta-primary:hover {
  background: #c92d3a;
  transform: translateY(-2px);
}

.cta-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.cta-ghost:hover {
  border-color: var(--butter);
  color: var(--butter);
}

.section {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.25rem, 5vw, 4rem);
}

.section-sort,
.section-relabel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

@media (max-width: 860px) {
  .section-sort,
  .section-relabel {
    grid-template-columns: 1fr;
  }

  .section-relabel .section-visual {
    order: -1;
  }
}

.section-text h2,
.drop-head h2,
.list-panel h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.8vw, 2.7rem);
  letter-spacing: 0.01em;
  color: var(--ink);
}

.section-text p,
.drop-head p,
.list-panel > p {
  margin: 0;
  max-width: 34rem;
  color: rgba(30, 36, 48, 0.78);
  font-size: 1.05rem;
}

.section-visual,
.drop-visual {
  position: relative;
  min-height: clamp(280px, 42vw, 520px);
  overflow: hidden;
  background: #d7e0ea;
}

.section-visual::after,
.drop-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 60%, rgba(255, 209, 102, 0.2));
}

.section-drop {
  display: grid;
  gap: 2.5rem;
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 2px solid rgba(30, 36, 48, 0.12);
}

.price-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 2px solid rgba(30, 36, 48, 0.12);
}

.price-code {
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--cherry);
}

.price-row strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

.price-row span:last-child {
  font-size: 0.92rem;
  color: rgba(30, 36, 48, 0.62);
}

.drop-visual {
  min-height: clamp(240px, 38vw, 460px);
}

.section-list {
  padding-bottom: clamp(5rem, 12vh, 8rem);
}

.list-panel {
  max-width: 32rem;
  padding: 2rem 0 0;
}

.list-form {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.list-form input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 2px solid rgba(30, 36, 48, 0.18);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

.list-form input:focus {
  border-color: var(--cherry);
}

.list-form button {
  padding: 0.9rem 1.3rem;
  border: 0;
  background: var(--denim);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.list-form button:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.form-note {
  margin-top: 1rem;
  color: var(--mint);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-footer {
  padding: 2rem clamp(1.25rem, 5vw, 4rem) 2.5rem;
  border-top: 2px solid rgba(30, 36, 48, 0.1);
  background: var(--ink);
  color: rgba(240, 244, 248, 0.7);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0 0 0.4rem;
}

.site-footer strong {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--butter);
}

.fine {
  font-size: 0.75rem;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.section-text h2,
.drop-head h2 {
  position: relative;
}

.section-text h2::after,
.drop-head h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 4px;
  margin-top: 0.7rem;
  background: var(--cherry);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.65s var(--ease) 0.12s;
}

.reveal.is-in h2::after,
.drop-head.reveal.is-in h2::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .hero-media {
    animation: none;
  }

  .hero-copy,
  .reveal {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .section-text h2::after,
  .drop-head h2::after {
    transform: scaleX(1);
  }
}
