/* =========================================================
   Loop Tie Studio — Phase 1 stylesheet
   Brand: deep teal + burgundy, warm cream background
   Type:  Fraunces (display) + Inter (body)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --teal:        #115E59;
  --teal-dark:   #0c4642;
  --teal-soft:   #1f7a73;
  --burgundy:    #7A1F2B;
  --burgundy-soft:#9a3543;
  --cream:       #FAF6EE;
  --cream-warm:  #F2EADC;
  --blush:       #E8D4D0;
  --text:        #2C2418;
  --text-soft:   #6B5D4F;
  --whatsapp:    #25D366;
  --whatsapp-dark:#1da851;

  --shadow-sm: 0 2px 8px rgba(44, 36, 24, 0.06);
  --shadow-md: 0 8px 24px rgba(44, 36, 24, 0.10);
  --radius:    14px;
  --radius-lg: 22px;

  --container: 1180px;
  --gutter:    24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--teal);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; color: var(--text); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ========== HEADER & NAV ========== */
.site-header {
  background: var(--teal);
  color: var(--cream);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--cream); }

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--burgundy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.brand-mark::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--burgundy-soft);
  opacity: 0.5;
}
.brand-mark::after {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 2px solid var(--cream);
  position: relative;
  z-index: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--cream);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--blush); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blush);
  border-radius: 2px;
}

.nav-icon {
  width: 22px;
  height: 22px;
  fill: var(--cream);
  transition: fill 0.2s ease;
}
.nav-links a:hover .nav-icon { fill: var(--blush); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--burgundy);
  margin-bottom: 18px;
}

.hero h1 {
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--burgundy);
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-art {
  aspect-ratio: 1;
  background: var(--burgundy);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  max-width: 380px;
  margin-left: auto;
}
.hero-art::before {
  content: '';
  position: absolute;
  inset: 30px;
  border: 2px dashed rgba(250, 246, 238, 0.35);
  border-radius: 50%;
}
.hero-art-text {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--cream);
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.4;
  padding: 0 40px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 0;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.btn-primary {
  background: var(--burgundy);
  color: var(--cream);
}
.btn-primary:hover { background: var(--burgundy-soft); color: var(--cream); }

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-secondary:hover { background: var(--teal); color: var(--cream); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
  width: 100%;
  justify-content: center;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: white; }

.btn-whatsapp svg { width: 18px; height: 18px; fill: white; }

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}
.section-tight { padding: 60px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}
.section-eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--burgundy);
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-soft);
  margin-top: 14px;
  font-size: 1.05rem;
}

/* ========== CATEGORY TEASERS (Home) ========== */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  background: var(--cream-warm);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(122, 31, 43, 0.08);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.category-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background: var(--blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.category-card h3 {
  font-family: 'Fraunces', serif;
  color: var(--teal);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.category-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

/* ========== PRODUCTS ========== */
.products-page-intro {
  background: var(--cream-warm);
  padding: 60px 0;
  text-align: center;
}
.products-page-intro h1 { margin-bottom: 12px; }
.products-page-intro p {
  color: var(--text-soft);
  max-width: 580px;
  margin: 0 auto;
}

.product-line {
  padding: 70px 0;
}
.product-line:nth-child(even) {
  background: var(--cream-warm);
}

.product-line-head {
  margin-bottom: 36px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.product-line-head h2 {
  font-style: italic;
}
.product-line-head .line-tagline {
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 380px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(44, 36, 24, 0.06);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.product-image {
  aspect-ratio: 1;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }

.product-image .coming-soon {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--burgundy);
  text-align: center;
  padding: 20px;
}
.product-image .coming-soon::before {
  content: '✿';
  display: block;
  font-size: 2rem;
  margin-bottom: 6px;
  opacity: 0.6;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3 {
  color: var(--teal);
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.product-body .product-desc {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: 14px;
  flex: 1;
}
.product-body .product-price {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  color: var(--burgundy);
  font-weight: 600;
  margin-bottom: 16px;
}

/* ========== ABOUT ========== */
.about-hero {
  padding: 90px 0 40px;
  text-align: center;
}
.about-hero h1 { margin-bottom: 14px; }
.about-hero p.lede {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--text-soft);
  font-size: 1.2rem;
  max-width: 560px;
  margin: 0 auto;
}

.about-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 0 90px;
}
.about-body p {
  font-size: 1.08rem;
  color: var(--text);
  margin-bottom: 22px;
  line-height: 1.8;
}
.about-body p em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--burgundy);
  font-weight: 500;
}
.about-pull {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--teal);
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid var(--blush);
  border-bottom: 1px solid var(--blush);
  margin: 40px 0;
  line-height: 1.4;
}

/* ========== CONTACT ========== */
.contact-section {
  padding: 90px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.contact-card {
  background: var(--cream-warm);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(122, 31, 43, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card .icon svg { width: 26px; height: 26px; fill: var(--cream); }
.contact-card h3 {
  font-family: 'Fraunces', serif;
  color: var(--teal);
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.contact-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.contact-card a {
  font-weight: 500;
  word-break: break-word;
}

.contact-note {
  text-align: center;
  margin-top: 50px;
  color: var(--text-soft);
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--teal-dark);
  color: var(--cream);
  padding: 50px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.site-footer h4 {
  font-family: 'Fraunces', serif;
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.site-footer p, .site-footer li {
  color: rgba(250, 246, 238, 0.75);
  font-size: 0.92rem;
  line-height: 1.7;
}
.site-footer ul { list-style: none; }
.site-footer a { color: rgba(250, 246, 238, 0.85); }
.site-footer a:hover { color: var(--blush); }
.footer-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  margin-top: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(250, 246, 238, 0.15);
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(250, 246, 238, 0.55);
}

/* ========== INSTAGRAM CALLOUT ========== */
.insta-callout {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--teal) 100%);
  color: var(--cream);
  text-align: center;
  padding: 60px 0;
}
.insta-callout h2 {
  color: var(--cream);
  margin-bottom: 14px;
  font-style: italic;
}
.insta-callout p {
  max-width: 520px;
  margin: 0 auto 24px;
  opacity: 0.92;
}
.insta-callout .btn {
  background: var(--cream);
  color: var(--burgundy);
}
.insta-callout .btn:hover { background: var(--blush); color: var(--burgundy); }

/* ========== RESPONSIVE ========== */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 280px; margin: 0 auto; }
  .categories { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--teal);
    flex-direction: column;
    padding: 18px 24px;
    gap: 14px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .site-header { position: relative; }
}

@media (max-width: 540px) {
  .product-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 70px; }
  .product-line-head { flex-direction: column; align-items: flex-start; }
}
