:root {
  --bg: #f7f3ed;
  --bg-elevated: #fdfbf8;
  --bg-card: #ffffff;
  --cream: #2c2622;
  --cream-muted: rgba(44, 38, 34, 0.62);
  --gold: #9a7348;
  --gold-light: #c4a06a;
  --gold-glow: rgba(154, 115, 72, 0.18);
  --border: rgba(44, 38, 34, 0.1);
  --border-hover: rgba(154, 115, 72, 0.35);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-h: 72px;
  --announce-h: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(165deg, #faf7f2 0%, #f3ede4 45%, #f8f4ee 100%);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: var(--gold-light);
  opacity: 0;
  animation: twinkle var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}

.star--small {
  width: 1px;
  height: 1px;
}

.star:not(.star--small):not(.star--bright) {
  width: 2px;
  height: 2px;
}

.star--bright {
  width: 2px;
  height: 2px;
  box-shadow: 0 0 6px 1px rgba(154, 115, 72, 0.45);
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 0.85;
    transform: scale(1);
    box-shadow: 0 0 4px 1px rgba(154, 115, 72, 0.5);
  }
}

.announcement {
  position: relative;
  z-index: 50;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #f0ebe3, #faf6f0, #f0ebe3);
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
}

.header--scrolled {
  background: rgba(247, 243, 237, 0.88);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
  transition: color 0.3s;
}

.logo__leaf {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

.logo__text {
  line-height: 1;
}

.logo:hover {
  color: var(--gold);
}

.logo:hover .logo__leaf {
  transform: scale(1.08) rotate(-4deg);
}

.footer__brand .logo {
  font-size: 1.55rem;
}

.footer__brand .logo__leaf {
  width: 1.25rem;
  height: 1.25rem;
}

.nav {
  display: flex;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-muted);
  position: relative;
  transition: color 0.3s;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--cream);
}

.nav__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cream-muted);
  transition: color 0.3s, background 0.3s;
}

.icon-btn:hover {
  color: var(--cream);
  background: rgba(44, 38, 34, 0.05);
}

.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cream-muted);
  transition: color 0.3s, background 0.3s;
}

.cart-btn:hover {
  color: var(--gold);
  background: rgba(201, 169, 98, 0.08);
}

.cart-btn__count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: #fdfbf8;
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}

.cart-btn__count--visible {
  transform: scale(1);
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.35s var(--ease);
}

.btn--primary {
  background: var(--gold);
  color: #fdfbf8;
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--gold-glow);
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--cream);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline {
  border: 1px solid var(--border-hover);
  color: var(--cream);
  padding: 1rem 2.5rem;
}

.btn--outline:hover {
  background: rgba(201, 169, 98, 0.08);
  border-color: var(--gold);
  color: var(--gold);
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - var(--announce-h));
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__desc {
  max-width: 440px;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--cream-muted);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}

.stat__label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  filter: blur(40px);
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.tee-showcase {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
}

.tee-showcase__img {
  position: absolute;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 24px 64px rgba(44, 38, 34, 0.12);
  transition: transform 0.6s var(--ease);
}

.tee-showcase__img--back {
  width: 75%;
  height: 85%;
  top: 5%;
  left: 0;
  z-index: 1;
  opacity: 0.85;
}

.tee-showcase__img--front {
  width: 70%;
  height: 80%;
  bottom: 0;
  right: 0;
  z-index: 2;
  border: 1px solid var(--border);
}

.tee-showcase:hover .tee-showcase__img--front {
  transform: translateY(-8px) rotate(1deg);
}

.tee-showcase:hover .tee-showcase__img--back {
  transform: translateX(-8px);
}

.tee-badge {
  position: absolute;
  top: 12%;
  right: 8%;
  z-index: 3;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: #fdfbf8;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.marquee {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  padding: 1rem 0;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.marquee__dot {
  color: var(--gold);
  font-size: 0.6rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  color: var(--cream-muted);
  font-weight: 300;
  font-size: 1.05rem;
}

.section__cta {
  text-align: center;
  margin-top: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(44, 38, 34, 0.1);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f0ebe3;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.06);
}

.product-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--cream);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

.product-card__tag--new {
  background: var(--gold);
  color: #fdfbf8;
  border-color: var(--gold);
}

.product-card__quick {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  padding: 0.65rem 1.5rem;
  background: var(--cream);
  color: #fdfbf8;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity 0.35s, transform 0.35s var(--ease), background 0.3s;
}

.product-card:hover .product-card__quick {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-card__quick:hover {
  background: var(--gold);
  color: #fdfbf8;
}

.product-card__info {
  padding: 1.25rem 1.25rem 1.5rem;
}

.product-card__info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.product-card__meta {
  font-size: 0.78rem;
  color: var(--cream-muted);
  margin-bottom: 1rem;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold);
}

.product-card__swatches {
  display: flex;
  gap: 0.35rem;
}

.product-card__swatches span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(44, 38, 34, 0.12);
}

.craft {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.craft__visual {
  position: relative;
}

.craft__visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.craft__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gold);
  color: #fdfbf8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 16px 40px var(--gold-glow);
}

.craft__badge strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.craft__text {
  color: var(--cream-muted);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.craft__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.craft__list li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.craft__icon {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.7;
}

.craft__list strong {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.craft__list p {
  font-size: 0.9rem;
  color: var(--cream-muted);
  font-weight: 300;
}

.testimonials {
  border-top: 1px solid var(--border);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.4s;
}

.testimonial:hover {
  border-color: var(--border-hover);
}

.testimonial p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: var(--cream);
}

.testimonial footer strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.testimonial footer span {
  font-size: 0.75rem;
  color: var(--cream-muted);
}

.newsletter {
  position: relative;
  z-index: 1;
  padding: 0 2rem 6rem;
}

.newsletter__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #faf6f0 50%, #ffffff 100%);
  border: 1px solid var(--border-hover);
  border-radius: 24px;
  box-shadow: 0 8px 48px rgba(154, 115, 72, 0.08);
}

.newsletter__inner p {
  color: var(--cream-muted);
  font-weight: 300;
  margin-bottom: 2rem;
}

.newsletter__form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter__form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  background: rgba(44, 38, 34, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter__form input::placeholder {
  color: rgba(44, 38, 34, 0.35);
}

.newsletter__form input:focus {
  border-color: var(--gold);
}

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: #f0ebe3;
  padding: 4rem 2rem 2rem;
}

.footer__grid {
  max-width: 1280px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--cream-muted);
  font-weight: 300;
  max-width: 260px;
  line-height: 1.7;
}

.footer__col h4 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer__col a {
  display: block;
  font-size: 0.88rem;
  color: var(--cream-muted);
  margin-bottom: 0.65rem;
  transition: color 0.3s;
}

.footer__col a:hover {
  color: var(--cream);
}

.footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--cream-muted);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a:hover {
  color: var(--cream);
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 2000;
  padding: 1rem 2rem;
  background: var(--cream);
  color: #fdfbf8;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 999px;
  box-shadow: 0 16px 48px rgba(44, 38, 34, 0.15);
  transition: transform 0.5s var(--ease);
  white-space: nowrap;
}

.toast--visible {
  transform: translateX(-50%) translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .hero__desc {
    margin-inline: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .tee-showcase {
    max-width: 320px;
    margin: 0 auto;
  }

  .craft {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .craft__badge {
    right: 1rem;
    bottom: -1rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .announcement p {
    font-size: 0.62rem;
    padding: 0 1rem;
    text-align: center;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero__stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .newsletter__form {
    flex-direction: column;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
