/* ==========================================
   GrannyHeart — Tribute Apparel Theme CSS
   ========================================== */

:root {
  --bg: #F8F3EC;
  --bg-alt: #F0EAE0;
  --dark: #18130F;
  --accent: #C9946A;
  --accent-light: #E8C9A8;
  --muted: #8A7B6E;
  --light: #FFFDF9;
  --text: #18130F;
  --text-light: #6B5F53;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 80px 24px 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(201, 148, 106, 0.08) 0%, transparent 70%),
    var(--bg);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.hero-wings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: min(480px, 85vw);
  z-index: 0;
  pointer-events: none;
}

.wings-svg {
  width: 100%;
  height: auto;
}

.hero-tee {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(220px, 40vw);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.tee-svg {
  width: 100%;
  height: auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.8;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.8; transform: translateX(-50%) translateY(6px); }
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 80px 24px;
  background: var(--dark);
}

.manifesto-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
  margin: 28px 0;
}

.manifesto-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-style: italic;
  color: var(--bg);
  line-height: 1.65;
  opacity: 0.9;
  font-weight: 400;
}

.manifesto-attr {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 16px;
  opacity: 0.7;
}

/* ---- PRODUCTS ---- */
.products {
  padding: 100px 24px;
  background: var(--bg);
}

.products-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.8;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.65;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-visual {
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.product-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-alt);
}

.product-visual--1::before { background: radial-gradient(ellipse 60% 50% at 50% 40%, #EDE5D8, #F8F3EC); }
.product-visual--2::before { background: radial-gradient(ellipse 60% 50% at 50% 40%, #F5EDE0, #EDE5D8); }
.product-visual--3::before { background: radial-gradient(ellipse 60% 50% at 50% 40%, #2A231E, #1C1A15); }

.product-tee {
  width: 55%;
  height: auto;
  position: relative;
  z-index: 1;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 10px;
}

.product-detail {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---- STORY ---- */
.story {
  padding: 100px 24px;
  background: var(--bg-alt);
}

.story-inner {
  max-width: 700px;
  margin: 0 auto;
}

.story-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

.story-body p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 20px;
}

.story-body em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--accent);
}

.story-quote-block {
  margin-top: 48px;
}

.story-quote-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.35;
  margin-bottom: 24px;
}

.story-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.6;
  opacity: 0.75;
}

/* ---- PROMISE ---- */
.promise {
  padding: 80px 24px;
  background: var(--bg);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.promise-item {
  text-align: center;
}

.promise-icon {
  margin-bottom: 16px;
}

.promise-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.promise-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ---- CLOSING ---- */
.closing {
  padding: 100px 24px 120px;
  background: var(--dark);
  text-align: center;
}

.closing-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.closing-wings {
  width: min(400px, 80vw);
  margin: 0 auto 48px;
}

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 600;
  color: var(--bg);
  line-height: 1.15;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.closing-body {
  font-size: 1rem;
  color: rgba(248, 243, 236, 0.6);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ---- FOOTER ---- */
.footer {
  padding: 40px 24px;
  background: #110E0B;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--bg);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(138, 123, 110, 0.6);
  letter-spacing: 0.05em;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .hero { padding: 60px 20px 50px; }
  .products-grid { grid-template-columns: 1fr; gap: 40px; }
  .manifesto { padding: 60px 20px; }
  .story { padding: 70px 20px; }
  .promise { padding: 60px 20px; }
  .closing { padding: 70px 20px 90px; }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
  .hero-headline, .manifesto-quote, .section-heading, .story-heading, .closing-headline {
    animation: fadeUp 0.8s ease-out both;
  }
  .hero-headline { animation-delay: 0.1s; }
  .manifesto-quote { animation: fadeIn 1s ease-out 0.2s both; }
  .section-heading { animation: fadeUp 0.7s ease-out 0.1s both; }
  .story-heading { animation: fadeUp 0.7s ease-out 0.1s both; }
  .closing-headline { animation: fadeUp 0.7s ease-out 0.1s both; }
  .product-card {
    animation: fadeUp 0.6s ease-out both;
  }
  .product-card:nth-child(2) { animation-delay: 0.15s; }
  .product-card:nth-child(3) { animation-delay: 0.3s; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}