/* ============================================================
   Bake Cook & Create by Allie C — Main Stylesheet
   ============================================================ */

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

:root {
  --bg:        #faf7f2;
  --brown:     #3d2b1a;
  --caramel:   #b5834a;
  --rose:      #c4806e;
  --parchment: #f3ede1;
  --card-bg:   #2e1f10;
  --radius:    22px;
  --shadow:    0 8px 40px rgba(61,43,26,.18);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--brown);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Grain overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .55;
}

/* ── Animations ── */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise { opacity: 0; animation: riseIn .75s cubic-bezier(.22,1,.36,1) forwards; }
.rise-1 { animation-delay: .1s; }
.rise-2 { animation-delay: .22s; }
.rise-3 { animation-delay: .34s; }
.rise-4 { animation-delay: .46s; }
.rise-5 { animation-delay: .58s; }
.rise-6 { animation-delay: .70s; }

/* ── Scroll-triggered rises ── */
.scroll-rise {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.scroll-rise.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(181,131,74,.18);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 128px;
  width: 128px;
  object-fit: contain;
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--brown);
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--caramel);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brown);
  text-decoration: none;
  transition: color .2s;
}

.nav-links a:hover { color: var(--caramel); }

.nav-links .btn-nav {
  background: var(--caramel);
  color: #faf7f2;
  padding: .5rem 1.25rem;
  border-radius: 50px;
  transition: background .2s, transform .15s;
}
.nav-links .btn-nav:hover {
  background: var(--brown);
  color: var(--parchment);
  transform: translateY(-1px);
}

/* ── Hero ── */
.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-bg-circle-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(181,131,74,.09) 0%, transparent 70%);
  top: -100px; right: -150px;
}
.hero-bg-circle-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(196,128,110,.07) 0%, transparent 70%);
  bottom: -80px; left: -100px;
}

.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }

.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--brown);
  margin-bottom: 1.6rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--caramel);
}

.hero-logo {
  width: 240px;
  height: 240px;
  object-fit: contain;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--brown);
  opacity: .8;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--caramel);
  color: #faf7f2;
  font-family: 'Jost', sans-serif;
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .9rem 2.2rem;
  border-radius: 50px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(181,131,74,.3);
}
.hero-cta:hover {
  background: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(61,43,26,.25);
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--caramel);
  margin: 2.5rem auto 0;
  opacity: .4;
}

/* ── Section commons ── */
section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 5rem);
}

.section-label {
  font-family: 'Jost', sans-serif;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--brown);
  margin-bottom: 1.4rem;
}

.section-title em { font-style: italic; color: var(--caramel); }

.section-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--brown);
  opacity: .78;
  max-width: 580px;
}

/* ── About section ── */
.about {
  background: var(--parchment);
  border-radius: var(--radius);
  margin: 0 clamp(1rem, 3vw, 3rem);
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-decoration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(181,131,74,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-circle-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.about-circle-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px dashed rgba(181,131,74,.25);
}

/* ── How It Works ── */
.how {
  max-width: 1100px;
  margin: 0 auto;
}

.how-header { text-align: center; margin-bottom: 3.5rem; }
.how-header .section-body { margin: 0 auto; text-align: center; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(61,43,26,.25);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--caramel), var(--rose));
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--caramel);
  opacity: .35;
  line-height: 1;
  margin-bottom: .6rem;
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--parchment);
  margin-bottom: .75rem;
}

.step-text {
  font-family: 'Jost', sans-serif;
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(243,237,225,.65);
}

/* ── Details section ── */
.details {
  background: var(--parchment);
  border-radius: var(--radius);
  margin: 0 clamp(1rem, 3vw, 3rem);
}

.details-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.details-header { margin-bottom: 3rem; }

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.detail-card {
  background: var(--bg);
  border-radius: calc(var(--radius) - 6px);
  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(181,131,74,.15);
  transition: border-color .25s, transform .25s;
}
.detail-card:hover {
  border-color: rgba(181,131,74,.4);
  transform: translateY(-3px);
}

.detail-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: block;
}

.detail-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: .6rem;
}

.detail-text {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--brown);
  opacity: .72;
}

/* ── Cause section ── */
.cause {
  max-width: 1100px;
  margin: 0 auto;
}

.cause-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.cause-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(196,128,110,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(181,131,74,.08) 0%, transparent 60%);
  pointer-events: none;
}

.cause-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(196,128,110,.18);
  border: 1px solid rgba(196,128,110,.35);
  color: var(--rose);
  font-family: 'Jost', sans-serif;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
}

.cause-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--parchment);
  margin-bottom: 1.4rem;
}

.cause-title em {
  font-style: italic;
  color: var(--rose);
}

.cause-body {
  font-size: .95rem;
  line-height: 1.85;
  color: rgba(243,237,225,.7);
  margin-bottom: 2rem;
}

.cause-body strong {
  color: var(--parchment);
  font-weight: 400;
}

.cause-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: transparent;
  color: var(--rose);
  border: 1px solid rgba(196,128,110,.5);
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.cause-cta:hover {
  background: var(--rose);
  color: var(--parchment);
  border-color: var(--rose);
  transform: translateY(-2px);
}

.cause-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cause-heart-container {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(196,128,110,.08);
  border: 1px solid rgba(196,128,110,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cause-heart {
  font-size: 5rem;
  animation: heartPulse 2.8s ease-in-out infinite;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.cause-stat {
  position: absolute;
  background: rgba(243,237,225,.07);
  border: 1px solid rgba(243,237,225,.12);
  border-radius: 14px;
  padding: .7rem 1rem;
  text-align: center;
  backdrop-filter: blur(6px);
}

.cause-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--parchment);
  display: block;
}

.cause-stat-label {
  font-family: 'Jost', sans-serif;
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(243,237,225,.5);
}

.cause-stat-1 { top: 10px; right: -10px; }
.cause-stat-2 { bottom: 20px; left: -20px; }

/* ── Footer ── */
footer {
  background: var(--brown);
  color: var(--parchment);
  padding: 3.5rem clamp(1.5rem, 6vw, 5rem) 2.5rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(243,237,225,.1);
}

.footer-brand-logo {
  height: 104px;
  width: 104px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--parchment);
  margin-bottom: .5rem;
}

.footer-brand-tagline {
  font-size: .82rem;
  line-height: 1.7;
  color: rgba(243,237,225,.5);
}

.footer-col-title {
  font-family: 'Jost', sans-serif;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.footer-links a {
  color: rgba(243,237,225,.55);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--parchment); }

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .75rem;
  color: rgba(243,237,225,.35);
}

.footer-cause-link {
  color: var(--rose);
  text-decoration: none;
  opacity: .7;
  transition: opacity .2s;
}
.footer-cause-link:hover { opacity: 1; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-logo-text { display: none; }
  .nav-links { gap: 1.2rem; }
  .about-inner,
  .cause-card,
  .footer-inner { grid-template-columns: 1fr; }
  .about-decoration { order: -1; }
  .about-circle { width: 220px; height: 220px; }
  .about-circle-logo { width: 140px; height: 140px; }
  .cause-visual { order: -1; }
  .cause-heart-container { width: 180px; height: 180px; }
  .cause-heart { font-size: 3.5rem; }
}

@media (max-width: 480px) {
  nav { padding: 0 1rem; }
  .nav-links { gap: .8rem; }
  .nav-links li:not(:last-child) { display: none; }
}

/* ── Cause section label centering ── */
.cause-section-label-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}
