/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Libre Baskerville', Georgia, serif;
  background-color: #f3ebd9;
  color: #1a1a1a;
  line-height: 1.7;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

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

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

/* ===== VISUALLY HIDDEN (accessible) ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #1a1a1a;
  color: #f3ebd9;
  padding: 0.5rem 1rem;
  z-index: 100;
  font-size: 0.85rem;
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ===== STICKY NAV ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(243, 235, 217, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1.5px solid rgba(26, 26, 26, 0.1);
  transition: box-shadow 0.3s ease;
}

.site-nav.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.nav-links a {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #8b1e1e;
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

@media (max-width: 400px) {
  .nav-links {
    gap: 0.75rem;
  }
  .nav-links a {
    font-size: 0.75rem;
  }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  text-align: center;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
}

p {
  max-width: 65ch;
}

/* ===== ORNAMENTS ===== */
.ornament {
  text-align: center;
  font-size: 2rem;
  color: #8b1e1e;
  margin-bottom: 0.5rem;
  line-height: 1;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 2rem;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(139,30,30,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(0,80,80,0.06) 0%, transparent 60%);
}

.hero-content {
  max-width: 800px;
}

.tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  color: #4a3b2a;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: #8b1e1e;
  color: #f3ebd9;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid #8b1e1e;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  margin-bottom: 2.5rem;
}

.hero-cta:hover {
  background: transparent;
  color: #8b1e1e;
  transform: translateY(-2px);
}

.hero-illustration {
  max-width: 500px;
  margin: 0 auto;
  color: #4a3b2a;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #8b1e1e;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

section + section {
  border-top: 2px solid #1a1a1a;
  position: relative;
}

section + section::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: #1a1a1a;
  opacity: 0.3;
}

/* ===== STORY ===== */
.story {
  text-align: center;
}

.story p {
  margin: 0 auto 1rem;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #2a2015;
}

.map-element {
  max-width: 520px;
  margin: 2.5rem auto 0;
  color: #4a3b2a;
}

.tea-map {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== TEAS ===== */
.teas h2 {
  margin-bottom: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.product-card {
  border: 2px solid #1a1a1a;
  background: #faf5ec;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%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)' opacity='0.03'/%3E%3C/svg%3E");
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.product-illustration {
  padding: 1.5rem 1.5rem 0.5rem;
  color: #1a1a1a;
}

.product-illustration img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
}

.product-info {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  margin-bottom: 0.25rem;
}

.tea-type {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-style: italic;
  color: #8b1e1e;
  margin-bottom: 0.75rem;
  text-transform: lowercase;
}

.description {
  font-size: 0.95rem;
  color: #3a2e20;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.weight {
  font-size: 0.85rem;
  color: #5a4a35;
  margin-bottom: 0.25rem;
}

.price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.buy-button {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 0.85rem 1rem;
  background: #1a1a1a;
  color: #f3ebd9;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 2px solid #1a1a1a;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.buy-button:hover {
  background: transparent;
  color: #1a1a1a;
}

/* SKU accent colors */
.product-card[data-sku="black"] .tea-type { color: #8b1e1e; }
.product-card[data-sku="white"] .tea-type { color: #c9a227; }
.product-card[data-sku="green"] .tea-type { color: #1e5a4a; }

/* ===== WHOLESALE ===== */
.wholesale {
  text-align: center;
}

.wholesale p {
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.contact-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #1a1a1a;
  color: #f3ebd9;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid #1a1a1a;
  transition: background 0.2s, color 0.2s;
}

.contact-button:hover {
  background: transparent;
  color: #1a1a1a;
}

.contact-button.outline {
  background: transparent;
  color: #1a1a1a;
}

.contact-button.outline:hover {
  background: #1a1a1a;
  color: #f3ebd9;
}

.or {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #5a4a35;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 2px solid #1a1a1a;
  font-size: 0.9rem;
  color: #5a4a35;
}

footer p {
  margin: 0 auto 0.5rem;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer a:hover {
  color: #8b1e1e;
}

.footer-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.7;
}

.footer-privacy {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.footer-privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-privacy a:hover {
  color: #8b1e1e;
}

/* ===== FAQ ===== */
.faq {
  max-width: 750px;
}

.faq h2 {
  margin-bottom: 2rem;
}

.faq details {
  border-bottom: 1.5px solid rgba(26, 26, 26, 0.15);
  padding: 1.25rem 0;
}

.faq details:first-of-type {
  border-top: 1.5px solid rgba(26, 26, 26, 0.15);
}

.faq summary {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
  color: #1a1a1a;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #8b1e1e;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  margin-top: 0.75rem;
  color: #3a2e20;
  font-size: 0.95rem;
  max-width: 60ch;
}

.faq details p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq details p a:hover {
  color: #8b1e1e;
}

/* ===== NOTIFY ME ===== */
.notify {
  text-align: center;
}

.notify-form {
  max-width: 420px;
  margin: 1.5rem auto 0.75rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.notify-form input[type="email"] {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 2px solid #1a1a1a;
  background: #faf5ec;
  color: #1a1a1a;
  outline: none;
  flex: 1 1 220px;
  min-width: 220px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.notify-form input[type="email"]:focus {
  border-color: #8b1e1e;
  box-shadow: 0 0 0 3px rgba(139,30,30,0.15);
}

.notify-form input[type="email"]::placeholder {
  color: #8a7a65;
  font-style: italic;
}

.notify-form button {
  flex: 0 0 auto;
}

.notify-note {
  font-size: 0.8rem;
  color: #5a4a35;
  font-style: italic;
}

/* ===== COMING SOON ===== */
.coming-soon {
  text-align: center;
  max-width: 55ch;
  margin: 0 auto;
  padding: 2rem;
  border: 2px dashed #1a1a1a;
  background: rgba(250,245,236,0.6);
}

.coming-soon-lead {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.coming-soon p {
  margin: 0 auto 0.75rem;
  color: #3a2e20;
}

.coming-soon-cta {
  margin-top: 1.25rem;
  font-weight: 700;
}

.coming-soon-cta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.coming-soon-cta a:hover {
  color: #8b1e1e;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 480px;
  margin: 2rem auto 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4a3b2a;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1rem;
  padding: 0.75rem;
  border: 2px solid #1a1a1a;
  background: #faf5ec;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8b1e1e;
  box-shadow: 0 0 0 3px rgba(139,30,30,0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a7a65;
  font-style: italic;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button[type="submit"] {
  width: 100%;
  cursor: pointer;
  border: none;
}

/* ===== CONTACT ALT ===== */
.contact-alt {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #5a4a35;
}

.contact-alt a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-alt a:hover {
  color: #8b1e1e;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  section {
    padding: 3rem 1rem;
  }

  .product-grid {
    gap: 1.5rem;
  }

  .contact-actions {
    flex-direction: column;
  }

  .or {
    display: none;
  }

  .contact-button {
    width: 100%;
    max-width: 300px;
  }
}

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

  .scroll-indicator {
    animation: none;
  }

  .product-card {
    transition: none;
  }
}

/* ===== PRINT ===== */
@media print {
  .scroll-indicator,
  .buy-button,
  .contact-actions {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .product-card {
    break-inside: avoid;
    border: 1px solid #000;
  }
}
