/* =========================================================
   The Sugar Garden Jersey — site stylesheet
   Brand palette: Botanical Teal #2E5E5C, Blush #D8A7B1,
   Cream #F7F1EA, Sage #8FA890, Charcoal #2B2B2B
   ========================================================= */

:root {
  --teal:     #2E5E5C;
  --teal-dk:  #234746;
  --blush:    #D8A7B1;
  --blush-lt: #EAD0D5;
  --cream:    #F7F1EA;
  --cream-dk: #ECE3D6;
  --sage:     #8FA890;
  --charcoal: #2B2B2B;
  --muted:    #6B6B6B;

  --serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(43,43,43,.05);
  --shadow-md: 0 6px 18px rgba(46,94,92,.10);

  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dk); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--teal);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; color: var(--charcoal); }
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 1rem;
}
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: #3a3a3a; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.alt-bg { background: var(--cream-dk); }
.teal-bg { background: var(--teal); color: var(--cream); }
.teal-bg h2, .teal-bg h3, .teal-bg .eyebrow { color: var(--blush-lt); }
.teal-bg .eyebrow { color: var(--blush); }

.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-12 { grid-column: span 12; }
@media (max-width: 800px) {
  .col-6, .col-4 { grid-column: span 12; }
  section { padding: 64px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--teal); color: var(--cream);
}
.btn-primary:hover { background: var(--teal-dk); color: var(--cream); transform: translateY(-1px); }
.btn-secondary {
  background: var(--blush); color: var(--charcoal);
}
.btn-secondary:hover { background: var(--blush-lt); color: var(--charcoal); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--teal); border-color: var(--teal);
}
.btn-ghost:hover { background: var(--teal); color: var(--cream); }
.btn-ghost.on-teal { color: var(--cream); border-color: var(--blush-lt); }
.btn-ghost.on-teal:hover { background: var(--blush); color: var(--charcoal); border-color: var(--blush); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dk);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 38px; width: auto; }
.nav-brand .brand-text {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--teal);
  line-height: 1;
}
.nav-brand .brand-text small {
  display: block; font-family: var(--sans);
  font-size: .58rem; letter-spacing: .3em; color: var(--sage); margin-top: 4px;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--charcoal); font-weight: 500; font-size: .95rem;
  padding: 6px 0; position: relative;
}
.nav-links a.active,
.nav-links a:hover { color: var(--teal); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--blush); border-radius: 2px;
}
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; color: var(--teal);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--cream-dk);
    padding: 8px 22px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--cream-dk); width: 100%; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(1100px 480px at 78% -10%, rgba(216,167,177,.35), transparent 60%),
    radial-gradient(900px 420px at 10% 100%, rgba(143,168,144,.25), transparent 60%),
    var(--cream);
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 small {
  display: block; font-family: var(--sans); font-size: .9rem;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--sage); font-weight: 600; margin-bottom: 1rem;
}
.hero .hero-art {
  background: var(--blush-lt);
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.6), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(143,168,144,.35), transparent 55%),
    var(--blush-lt);
}
.hero .hero-art img { max-width: 70%; opacity: .92; }
@media (max-width: 800px) {
  .hero { padding: 56px 0 48px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero .hero-art { aspect-ratio: 1/1; max-width: 460px; margin: 0 auto; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-dk);
}
.card h3 { margin-top: 0; }
.card .price {
  font-family: var(--serif); color: var(--teal);
  font-size: 1.8rem; line-height: 1;
}
.card .price small { font-family: var(--sans); font-size: .78rem; letter-spacing: .15em; color: var(--sage); text-transform: uppercase; margin-left: 6px; }
.card ul { padding-left: 1.2em; margin: .6em 0 1.2em; }
.card li { margin-bottom: .35em; }

.feature {
  text-align: left;
  padding: 24px 0;
}
.feature .icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blush-lt); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.3rem;
  margin-bottom: 14px;
}

/* ---------- Pillars / occasion strip ---------- */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--cream-dk);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
}
.pillar .em { font-family: var(--serif); color: var(--teal); font-size: 1.6rem; line-height: 1; margin-bottom: 8px; }
.pillar h4 { margin: 6px 0 4px; font-family: var(--sans); font-size: .95rem; letter-spacing: .04em; }
.pillar p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 800px) { .pillars { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery .tile {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  background: var(--blush-lt);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-family: var(--serif); font-size: 1.1rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery .tile:nth-child(3n+1) { background: var(--blush-lt); }
.gallery .tile:nth-child(3n+2) { background: var(--cream-dk); }
.gallery .tile:nth-child(3n+3) { background: #DCE5DD; }
.gallery .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery .tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery .tile .placeholder { padding: 10px 16px; text-align: center; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ accordion ---------- */
.faq details {
  background: #fff;
  border: 1px solid var(--cream-dk);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--teal);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--blush);
  line-height: 1; margin-left: 14px;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-top: 12px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--teal);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 44px;
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.cta-banner h2 { color: var(--blush-lt); margin: 0 0 .3em; }
.cta-banner p { margin: 0; opacity: .9; }
.cta-banner .btn-row { margin-top: 0; }
@media (max-width: 760px) {
  .cta-banner { grid-template-columns: 1fr; padding: 32px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal);
  color: var(--cream);
  padding: 56px 0 26px;
}
.site-footer .row { gap: 40px; }
.site-footer a { color: var(--blush-lt); }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: var(--blush-lt); font-family: var(--serif); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: .95rem; }
.site-footer .brand-block img { height: 56px; margin-bottom: 14px; }
.site-footer .legal {
  border-top: 1px solid rgba(247,241,234,.18);
  margin-top: 36px; padding-top: 22px;
  font-size: .82rem; color: rgba(247,241,234,.7);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(43,43,43,.88);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 28px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.lightbox .close {
  position: absolute; top: 22px; right: 26px;
  background: none; border: 0; color: var(--cream);
  font-size: 2rem; cursor: pointer;
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.divider {
  width: 60px; height: 2px; background: var(--blush);
  margin: 0 auto 22px; border-radius: 2px;
}
.note {
  font-size: .85rem; color: var(--muted);
  border-left: 3px solid var(--blush); padding-left: 12px;
}
