:root {
  --brand: #6b6e1e;
  --brand-dark: #55571a;
  --brand-deep: #2b2e10;
  --brand-soft: #eef0d9;
  --deal: #ffd23f;
}

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

html,
body {
  height: 100%;
  margin: 0;
}

html {
  background: var(--brand);
}

body {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--brand);
  color: var(--brand-soft);
  font-family: "Onest", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Soft light pools + film grain give the flat brand colour some depth. */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.glow--a {
  width: 60vmax;
  height: 60vmax;
  top: -25vmax;
  right: -15vmax;
  background: radial-gradient(circle, rgb(238 240 217 / 0.22), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}

.glow--b {
  width: 70vmax;
  height: 70vmax;
  bottom: -35vmax;
  left: -20vmax;
  background: radial-gradient(circle, rgb(43 46 16 / 0.55), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top,
.hero,
.bottom {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: clamp(20px, 3vw, 32px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-soft);
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo__mark {
  width: 30px;
  height: 30px;
}

.logo__tld {
  color: var(--deal);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgb(238 240 217 / 0.25);
  border-radius: 999px;
  background: rgb(238 240 217 / 0.08);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--deal);
  box-shadow: 0 0 0 0 rgb(255 210 63 / 0.7);
  animation: pulse 2s ease-out infinite;
}

/* Hero */
.hero {
  display: grid;
  align-items: center;
  align-content: center;
  gap: clamp(40px, 6vw, 72px);
  padding-block: 24px 48px;
}

.copy {
  display: flex;
  flex-direction: column;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 1fr;
    padding-block: 24px;
  }
}

.kicker {
  margin: 0 0 clamp(8px, 1.5vw, 20px);
  display: inline-block;
  align-self: flex-start;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--deal);
  color: var(--brand-deep);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.01em;
  transform: rotate(-3deg);
  box-shadow: 0 10px 30px -10px rgb(43 46 16 / 0.6);
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.title {
  margin: 0;
  font-size: clamp(64px, 20vw, 172px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, var(--brand-soft) 30%, rgb(238 240 217 / 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.9s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.lead {
  margin: clamp(16px, 2.5vw, 32px) 0 0;
  max-width: 22ch;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: rgb(238 240 217 / 0.85);
  animation: rise 0.9s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.lead em {
  font-style: normal;
  color: var(--deal);
}

@media (min-width: 960px) {
  .title {
    font-size: clamp(80px, min(11.5vw, 19svh), 172px);
  }
}

/* Visual: a stack of listing cards, like items hanging in a wardrobe. */
.visual {
  position: relative;
  width: min(92%, 520px, 60svh);
  aspect-ratio: 1 / 1.02;
  justify-self: center;
  animation: rise 1s 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.card {
  position: absolute;
  margin: 0;
  width: 56%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 24px;
  border: 6px solid var(--brand-soft);
  background: var(--brand-soft);
  box-shadow: 0 30px 60px -20px rgb(43 46 16 / 0.7);
}

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

.card--left {
  top: 6%;
  left: 0;
  rotate: -9deg;
  animation: float 7s ease-in-out infinite;
}

.card--right {
  top: 2%;
  right: 0;
  rotate: 8deg;
  animation: float 8s 1s ease-in-out infinite;
}

.card--front {
  bottom: 0;
  left: 22%;
  width: 58%;
  rotate: -1deg;
  z-index: 2;
  animation: float 6s 0.5s ease-in-out infinite;
}

.card__meta {
  position: absolute;
  inset: auto 8px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgb(238 240 217 / 0.9);
  backdrop-filter: blur(10px);
  color: var(--brand-deep);
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 500;
  white-space: nowrap;
}

.card__meta strong {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 800;
}

.chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 700;
  box-shadow: 0 14px 30px -12px rgb(43 46 16 / 0.7);
}

.chip svg {
  width: 16px;
  height: 16px;
}

.chip--sold {
  top: 44%;
  left: 2%;
  background: var(--deal);
  color: var(--brand-deep);
  rotate: -6deg;
  animation: float 5s 0.8s ease-in-out infinite;
}

.chip--like {
  top: 38%;
  right: 0;
  background: var(--brand-deep);
  color: var(--brand-soft);
  rotate: 5deg;
  animation: float 5.5s 0.3s ease-in-out infinite;
}

.chip--like svg {
  color: #e5484d;
}

/* Footer */
.bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: clamp(20px, 3vw, 32px);
  font-size: 13px;
  color: rgb(238 240 217 / 0.6);
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 24px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes float {
  50% {
    translate: 0 -10px;
  }
}

@keyframes drift {
  to {
    transform: translate(-6vmax, 6vmax) scale(1.1);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgb(255 210 63 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(255 210 63 / 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
  }
}

/* Phones: keep the copy and the visual on one screen. */
@media (max-width: 959px) {
  .hero {
    gap: 28px;
    padding-block: 8px 20px;
  }

  .visual {
    width: min(100%, 46svh);
  }
}
