/* ===========================
   Miss M — Taiwanese Garlic Chili Oil
   Stylesheet
   =========================== */

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

:root {
  --blush:    #F0A898;
  --blush-lt: #F7C8BE;
  --blush-dk: #D97B6A;
  --petal:    #FDE8E2;
  --cream:    #FDF8F5;
  --warm-wht: #FFFAF8;
  --charcoal: #2C2220;
  --stone:    #6B5650;
  --muted:    #A89490;
  --white:    #FFFFFF;
  --nav-h:    70px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--warm-wht);
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  background: rgba(253,248,245,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240,168,152,0.2);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 44px; height: 28px;
}
.nav-logo-text {
  display: flex; flex-direction: column; gap: 0;
}
.nav-logo-text .brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--blush);
  line-height: 1;
  text-transform: lowercase;
}
.nav-logo-text .tagline {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  color: var(--stone);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blush-dk); }
.nav-cta {
  background: var(--blush) !important;
  color: var(--white) !important;
  padding: 0.42rem 1.3rem;
  border-radius: 100px;
}
.nav-cta:hover { background: var(--blush-dk) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 5rem) 5vw 6rem;
  position: relative;
  overflow: hidden;
  background: var(--warm-wht);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 90%, rgba(240,168,152,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(247,200,190,0.08) 0%, transparent 60%),
    var(--warm-wht);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(240,168,152,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
}
.hero-eyebrow {
  position: relative; z-index: 1;
  font-size: 0.7rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 1.4rem;
  animation: fadeUp 0.8s ease both;
}
.hero-logo-display {
  position: relative; z-index: 1;
  margin-bottom: 0.6rem;
  animation: fadeUp 0.85s 0.05s ease both;
}
.hero-logo-img {
  width: clamp(220px, 34vw, 460px);
  height: auto;
  display: block;
  margin: 0 auto;
}
.missm-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(5rem, 16vw, 12rem);
  letter-spacing: -0.01em;
  color: var(--blush);
  line-height: 1;
  position: relative;
  text-shadow:
    0 0 0 var(--blush),
    2px 2px 0 rgba(240,168,152,0.25),
    4px 4px 0 rgba(240,168,152,0.12),
    6px 6px 0 rgba(240,168,152,0.06);
}
.hero-subtitle-brand {
  position: relative; z-index: 1;
  font-size: clamp(0.65rem, 1.4vw, 0.82rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.2rem;
  animation: fadeUp 0.9s 0.1s ease both;
}
.hero-sub {
  position: relative; z-index: 1;
  max-width: 480px;
  margin: 0 auto 2.8rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--stone);
  animation: fadeUp 1s 0.18s ease both;
}
.hero-btns {
  position: relative; z-index: 1;
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 1s 0.28s ease both;
}
.btn-primary {
  background: var(--blush); color: var(--white);
  padding: 0.9rem 2.4rem; border-radius: 100px;
  text-decoration: none; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--blush-dk); transform: translateY(-2px); }
.btn-outline {
  border: 1.5px solid var(--blush-lt); color: var(--stone);
  padding: 0.9rem 2.4rem; border-radius: 100px;
  text-decoration: none; font-size: 0.82rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--blush); color: var(--blush-dk); transform: translateY(-2px); }

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

/* ── PHOTO GALLERY ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: var(--petal);
}
.gallery-item { overflow: hidden; position: relative; aspect-ratio: 1 / 1; }
.gallery-item:first-child { grid-column: span 1; }
.gallery-item:nth-child(4) { grid-column: span 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ── SHARED SECTION STYLES ── */
section { padding: 6rem 5vw; }
.section-label {
  font-size: 0.68rem; letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--blush); margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: italic;
  color: var(--blush-dk);
}

/* ── ABOUT ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  background: var(--petal);
}
.about-text p {
  line-height: 1.9;
  color: var(--stone);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.about-visual {
  position: relative;
  height: 440px;
  border-radius: 120px 120px 60px 60px;
  overflow: hidden;
  background: linear-gradient(160deg, #F7C8BE 0%, #EFB0A2 60%, #E09080 100%);
  display: flex; align-items: center; justify-content: center;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-badge {
  position: absolute; bottom: 2rem; right: 2rem;
  background: var(--white); color: var(--blush-dk);
  border-radius: 50%; width: 96px; height: 96px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600; line-height: 1;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.about-badge span { font-family: 'DM Sans', sans-serif; font-size: 0.55rem; letter-spacing: 0.12em; color: var(--muted); }

.ingredient-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.8rem;
}
.chip {
  background: var(--white); border: 1px solid var(--blush-lt);
  color: var(--stone);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem; letter-spacing: 0.06em;
}

/* ── FOUNDER ── */
.founder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  background: var(--warm-wht);
}
.founder-text p {
  line-height: 1.9;
  color: var(--stone);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.founder-signoff {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--blush-dk);
  margin-top: 1.5rem;
}
.founder-quote {
  background: var(--white);
  border-radius: 12px;
  border-left: 3px solid var(--blush);
  padding: 2.5rem;
}
.founder-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--blush);
  line-height: 0.5;
  opacity: 0.6;
  margin-bottom: 1.2rem;
  display: block;
}
.founder-quote-mark--close {
  margin-top: 1.2rem;
  margin-bottom: 0;
  text-align: right;
}
.founder-quote blockquote {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--charcoal);
}
.founder-quote-attr {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--blush-lt);
}
.founder-quote-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blush);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.founder-quote-name { font-weight: 500; font-size: 0.86rem; color: var(--charcoal); }
.founder-quote-role { font-size: 0.76rem; color: var(--muted); }


/* ── MOMENTS ── */
.moments { background: var(--warm-wht); }
.moments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 3rem;
}
.moment-card {
  aspect-ratio: 3/4; border-radius: 12px;
  overflow: hidden; position: relative; cursor: pointer;
}
.moment-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.moment-card:hover img { transform: scale(1.05); }
.moment-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,10,5,0.55) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 1.2rem;
  pointer-events: none;
}
.moment-label {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ── TESTIMONIALS ── */
.testimonials { background: var(--petal); }
.testimonials-sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 3rem; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.testi-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.testi-stars { color: var(--blush); font-size: 0.85rem; margin-bottom: 1rem; }
.testi-text {
  font-size: 0.92rem; line-height: 1.78;
  color: var(--stone);
  margin-bottom: 1.4rem;
  font-style: italic;
  font-family: 'Instrument Serif', serif;
}
.testi-meta { display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blush-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 500; color: var(--blush-dk);
  flex-shrink: 0;
}
.testi-name { font-weight: 500; font-size: 0.86rem; color: var(--charcoal); }
.testi-when { color: var(--muted); font-size: 0.76rem; }

/* ── WHY US ── */
.why { background: var(--warm-wht); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.why-card { border-top: 2px solid var(--blush-lt); padding-top: 1.8rem; }
.why-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 300;
  color: var(--blush-lt);
  line-height: 1; margin-bottom: 0.5rem;
}
.why-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem;
  color: var(--charcoal); margin-bottom: 0.7rem;
}
.why-card p { font-size: 0.88rem; line-height: 1.78; color: var(--stone); }

/* ── WHERE TO BUY ── */
.where { background: var(--petal); }
.where-intro { max-width: 520px; color: var(--stone); line-height: 1.78; font-size: 0.93rem; margin-bottom: 3.5rem; }
.where-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.where-card {
  background: var(--white);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.where-map {
  height: 180px;
  background: linear-gradient(135deg, #F7D5CE 0%, #EFC0B0 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(240,168,152,0.6);
}
.where-info { padding: 1.5rem; }
.where-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 400;
  color: var(--charcoal); margin-bottom: 0.4rem;
}
.where-info address { font-style: normal; font-size: 0.83rem; color: var(--stone); line-height: 1.6; margin-bottom: 1rem; }
.where-hours { font-size: 0.79rem; }
.where-hours dt { color: var(--muted); float: left; width: 110px; }
.where-hours dd { color: var(--charcoal); margin-bottom: 0.3rem; }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  padding: 2.5rem 5vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 300; letter-spacing: 0.2em;
  color: var(--blush-lt);
}
footer p { font-size: 0.78rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.6rem; }
.footer-links a { font-size: 0.78rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--blush-lt); }

/* ── HAMBURGER (mobile nav) ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; height: 1.5px; width: 100%;
  background: var(--stone); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile slide-down menu */
.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(253,248,245,0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240,168,152,0.2);
  padding: 1.5rem 5vw 2rem;
  flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--stone); text-decoration: none;
  font-size: 1rem; font-weight: 400; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.9rem 0;
  border-bottom: 1px solid rgba(240,168,152,0.15);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--blush-dk); }
.mobile-menu .mob-cta {
  margin-top: 1.2rem;
  background: var(--blush); color: var(--white) !important;
  text-align: center; border-radius: 100px; border: none;
  padding: 0.9rem 2rem;
}

/* ── TABLET (≤ 900px) ── */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }

  .hero { padding: calc(var(--nav-h) + 3.5rem) 6vw 4rem; }
  .hero-eyebrow { letter-spacing: 0.25em; }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
  }
  .gallery-item:first-child  { grid-column: span 1; }
  .gallery-item:nth-child(4) { grid-column: span 1; }

  .about { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 6vw; }
  .about-visual { height: 300px; border-radius: 60px 60px 30px 30px; }

  .founder { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 6vw; }
  .founder-quote blockquote { font-size: 1.4rem; }

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

  .testi-grid { grid-template-columns: 1fr 1fr; }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card:last-child { grid-column: span 2; max-width: 480px; }

  .where-grid { grid-template-columns: 1fr; max-width: 520px; }

  section { padding: 4.5rem 6vw; }

  footer { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}

/* ── MOBILE (≤ 600px) ── */
@media (max-width: 600px) {
  :root { --nav-h: 62px; }

  .nav-logo-text .brand { font-size: 1.1rem; }
  .logo-mark { width: 36px; height: 22px; }

  .hero { padding: calc(var(--nav-h) + 2.5rem) 5vw 3.5rem; }
  .missm-wordmark { letter-spacing: -0.02em; }
  .hero-eyebrow { font-size: 0.62rem; letter-spacing: 0.2em; }
  .hero-sub { font-size: 0.93rem; }
  .hero-btns { flex-direction: column; align-items: center; width: 100%; }
  .btn-primary, .btn-outline { width: 100%; max-width: 300px; text-align: center; }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item:first-child  { grid-column: span 1; }
  .gallery-item:nth-child(4) { grid-column: span 1; }

  .about { padding: 3.5rem 5vw; gap: 2.5rem; }
  .about-visual { height: 260px; border-radius: 40px 40px 20px 20px; }
  .about-badge { width: 80px; height: 80px; font-size: 1.3rem; bottom: 1rem; right: 1rem; }

  .founder { padding: 3.5rem 5vw; gap: 2.5rem; }
  .founder-quote { padding: 1.8rem; }
  .founder-quote blockquote { font-size: 1.25rem; }

  .moments-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .moment-card { border-radius: 8px; }

  .testi-grid { grid-template-columns: 1fr; }

  .why-grid { grid-template-columns: 1fr; }
  .why-card:last-child { grid-column: span 1; max-width: 100%; }

  .where-grid { grid-template-columns: 1fr; max-width: 100%; }
  .where-hours dt { width: 90px; }

  section { padding: 3.5rem 5vw; }

  .footer-links { flex-wrap: wrap; gap: 1rem; }
}

/* ── VERY SMALL (≤ 380px) ── */
@media (max-width: 380px) {
  .moments-grid { grid-template-columns: 1fr; }
  .hero-sub { font-size: 0.88rem; }
  .testi-card { padding: 1.3rem; }
}
