/* ═══════════════════════════════════════════════════════
   LATTÉ & TAROT — style.css
   Vintage editorial one-page website
   ═══════════════════════════════════════════════════════ */


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

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

body {
  background-color: #f7f1e3;
  color: #3d2b1f;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  line-height: 1.8;
  /* Subtle antique paper texture via SVG data URI */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

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

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

ul {
  list-style: none;
}


/* ─────────────────────────────────────────
   1. TYPOGRAPHY SCALE
───────────────────────────────────────── */

/* Display / logo script */
.logo-text-fallback {
  font-family: 'Pinyon Script', cursive;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  color: #3d2b1f;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* Large banner titles */
.banner-title {
  font-family: 'Pinyon Script', cursive;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #faf6eb;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-align: center;
  text-shadow:
    0 1px 3px rgba(40, 20, 5, 0.55),
    0 0 18px rgba(40, 20, 5, 0.3);
  line-height: 1.15;
}

/* Section headings */
.section-heading {
  font-family: 'Pinyon Script', cursive;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #3d2b1f;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

/* Body paragraph */
p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: #3d2b1f;
  line-height: 1.85;
}

/* Header eyebrow */
.header-eyebrow {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8b6f47;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Tagline */
.tagline-text {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8b6f47;
  text-align: center;
  font-style: italic;
}

/* Section sub-text */
.section-subtext {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  font-style: italic;
  color: #6b5040;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 0.01em;
}


/* ─────────────────────────────────────────
   2. SITE HEADER — MIRROR CENTREPIECE
───────────────────────────────────────── */
.site-header {
  padding: 3.5rem 1.5rem 2rem;
  text-align: center;
  background-color: #f7f1e3;
  position: relative;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

/* The ornate mirror wrapper */
.mirror-frame {
  position: relative;
  width: min(360px, 88vw);
  margin: 0 auto 2rem;
}

.mirror-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Logo image sits centered inside the mirror oval */
.mirror-logo-area {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: 54%;
  height: 72%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-placeholder {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Header tagline row with ruled lines */
.header-tagline {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 380px;
  margin-top: 0.5rem;
}

.rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #b8a98a, transparent);
}


/* ─────────────────────────────────────────
   3. ORNAMENTAL DIVIDER
───────────────────────────────────────── */
.ornamental-divider {
  max-width: 600px;
  margin: 1.5rem auto;
  padding: 0 2rem;
}

.ornamental-divider svg {
  width: 100%;
  height: auto;
  display: block;
}


/* ─────────────────────────────────────────
   4. BANNER SECTIONS
───────────────────────────────────────── */
.banner-section {
  margin: 0;
}

/* The image + overlay + title stack */
.banner-image-wrap {
  position: relative;
  width: 100%;
  min-height: 220px;
  background-color: #c9b89a; /* placeholder tint */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 18, 8, 0.38);
}

/* Title sits on top of image via z-index */
.banner-title {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
}

/* Content below the banner image */
.section-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.8rem 2rem 1rem;
}

.welcome-content p {
  margin-bottom: 1.2rem;
}

.welcome-content p:last-child {
  margin-bottom: 0;
}

.welcome-closing {
  font-style: italic;
}


/* ─────────────────────────────────────────
   5. OFFER LISTS
───────────────────────────────────────── */
.offer-content {
  padding-top: 2.2rem;
  padding-bottom: 0.5rem;
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plain-list li {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  font-style: italic;
  color: #3d2b1f;
  line-height: 1.9;
  letter-spacing: 0.02em;
}


/* ─────────────────────────────────────────
   6. TEXT SECTIONS (Reviews, Support, Contact)
───────────────────────────────────────── */
.text-section {
  text-align: center;
  padding: 3rem 2rem 2.5rem;
}

.text-section-inner {
  max-width: 520px;
  margin: 0 auto;
}


/* ─────────────────────────────────────────
   7. VINTAGE BUTTON
───────────────────────────────────────── */
.vintage-btn {
  display: inline-block;
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3d2b1f;
  border: 1px solid #8b6f47;
  padding: 0.7rem 2.4rem;
  margin-top: 0.5rem;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease;
  background: transparent;
}

.vintage-btn::before,
.vintage-btn::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid #b8a98a;
  pointer-events: none;
  transition: border-color 0.2s ease;
}

.vintage-btn::after {
  inset: 5px;
  border-color: transparent;
}

.vintage-btn:hover {
  background-color: #3d2b1f;
  color: #f7f1e3;
}

.vintage-btn:hover::before {
  border-color: #5a3e2b;
}

.vintage-btn:focus-visible {
  outline: 2px solid #8b6f47;
  outline-offset: 4px;
}


/* ─────────────────────────────────────────
   8. CONTACT
───────────────────────────────────────── */
.contact-links {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  transition: opacity 0.2s;
}

.contact-link:hover {
  opacity: 0.72;
}

.contact-label {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b6f47;
  font-style: italic;
}

.contact-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #3d2b1f;
  font-style: italic;
  letter-spacing: 0.02em;
}


/* ─────────────────────────────────────────
   9. FOOTER
───────────────────────────────────────── */
.site-footer {
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  border-top: 1px solid #d6c9b0;
  background-color: #f0e9d6;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  max-width: 400px;
  margin: 0 auto;
}

.footer-ornament svg {
  width: 200px;
  height: auto;
  display: block;
}

.footer-name {
  font-family: 'Pinyon Script', cursive;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: #3d2b1f;
  line-height: 1;
  font-weight: 400;
}

.footer-tagline {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b6f47;
  font-style: italic;
}


/* ─────────────────────────────────────────
   10. RESPONSIVE
───────────────────────────────────────── */

@media (max-width: 600px) {
  .site-header {
    padding: 2.5rem 1rem 1.5rem;
  }

  .mirror-frame {
    width: min(300px, 86vw);
  }

  .banner-image-wrap {
    min-height: 180px;
  }

  .banner-title {
    padding: 2.2rem 1.5rem;
  }

  .section-content {
    padding: 2rem 1.5rem 0.8rem;
  }

  .text-section {
    padding: 2.4rem 1.5rem 2rem;
  }

  .ornamental-divider {
    padding: 0 1rem;
  }

  .header-tagline {
    max-width: 300px;
  }
}

@media (min-width: 900px) {
  .mirror-frame {
    width: 380px;
  }

  .banner-image-wrap {
    min-height: 280px;
  }

  .section-content {
    padding: 3.5rem 3rem 1.5rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
