/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variables */
:root {
  --bg-primary: #faf5eb;
  --bg-card: #fff9f0;
  --bg-hero: #f0c96a;
  --gold: #d4941a;
  --gold-dark: #b07a12;
  --gold-light: #e8b840;
  --brown: #5a3e10;
  --brown-light: #8a6a28;
  --text: #4a3a20;
  --text-muted: #8a7a60;
  --border: #e0d4b8;
  --sky: #8ab4c8;
  --sage: #7a9a6d;
  --footer-bg: #3D2E0F;
  --footer-text: #e0d4b8;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(90, 68, 21, 0.08);
  --shadow-hover: 0 4px 20px rgba(90, 68, 21, 0.14);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius);
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

/* Layout */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.25;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.section-title.centered {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}

.btn-solid {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.btn-solid:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 148, 26, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 148, 26, 0.35);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 235, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.nav-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--brown);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn) {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-hero) url('assets/hero-bg.webp') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 245, 235, 0.55) 0%,
    rgba(250, 245, 235, 0.35) 40%,
    rgba(240, 201, 106, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 680px;
}

.hero-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  filter: drop-shadow(0 4px 12px rgba(90, 68, 21, 0.15));
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--brown);
  margin-bottom: 0.25rem;
  letter-spacing: 0.03em;
}

.hero-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--brown-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 5rem 0;
}

/* Scroll reveal */
.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Story */
.story-section {
  background: var(--bg-card);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-text p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.story-text p:last-child {
  margin-bottom: 0;
}

.story-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Collections */
.collections-section {
  background: var(--bg-primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  color: var(--text);
}

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5ead6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image svg {
  width: 100%;
  height: 100%;
}

.product-name {
  font-size: 1.1rem;
  padding: 1rem 1rem 0.25rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 1rem;
  flex: 1;
}

.product-link {
  display: block;
  padding: 0.75rem 1rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

.product-card:hover .product-link {
  color: var(--gold-dark);
}

/* About */
.about-section {
  background:
    linear-gradient(180deg, rgba(250, 245, 235, 0.92), rgba(255, 249, 240, 0.92)),
    url('assets/section-bg.webp') center/cover no-repeat;
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
  text-align: center;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Connect */
.connect-section {
  background: var(--bg-card);
}

.connect-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.connect-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.connect-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 2.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-width: 180px;
}

.connect-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-light);
  color: var(--text);
}

.connect-icon {
  color: var(--gold);
}

.connect-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brown);
}

.connect-handle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem 0 2rem;
}

.footer-inner {
  text-align: center;
}

.footer-divider {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: 0 auto 2rem;
}

.footer-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--footer-text);
  opacity: 0.6;
}

.footer-legal a {
  color: var(--footer-text);
  text-decoration: underline;
  text-decoration-color: rgba(224, 212, 184, 0.3);
  text-underline-offset: 2px;
}

.footer-legal a:hover {
  color: var(--gold-light);
}

/* Responsive */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(250, 245, 235, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(90, 68, 21, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-image {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .connect-links {
    flex-direction: column;
    align-items: center;
  }

  .connect-card {
    width: 100%;
    max-width: 320px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .about-text p {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}
