/* =========================================================
   Amma's Mind — Design tokens
   Palette is locked (see color_pallete.pdf) — do not invent new hexes.
   ========================================================= */
:root{
  --berry:  #7A1F35;   /* headings, nav, primary actions */
  --rose:   #C7657B;   /* warm highlights, secondary actions */
  --blush:  #F2D3DA;   /* section washes, supportive accents */
  --mauve:  #B596A7;   /* borders, quiet emphasis */
  --sage:   #8EA896;   /* wellness / community accents, used sparingly */
  --ivory:  #FBF7F5;   /* default background */
  --plum:   #30252A;   /* body text, footer */
  --white:  #FFFFFF;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Karla', -apple-system, 'Segoe UI', sans-serif;

  --content-max: 1120px;
  --text-max: 62ch;

  --radius: 3px;
}

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

html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--ivory);
  color: var(--plum);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: inherit; }

h1, h2, h3, h4{
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--berry);
}

h1{ font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 460; }
h2{ font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3{ font-size: 1.2rem; }
h4{ font-size: 1.02rem; text-transform:none; }

p{ margin: 0 0 1em; max-width: var(--text-max); }

.italic{ font-style: italic; }

/* ---------- layout ---------- */
.container{
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 28px;
}

.section{
  padding: 72px 0;
}

.section--tight{ padding: 48px 0; }

.section--blush{ background: var(--blush); }
.section--mauve-wash{ background: linear-gradient(180deg, var(--ivory) 0%, #f4e9ec 100%); }
.section--plum{ background: var(--plum); color: var(--ivory); }
.section--plum h2, .section--plum h3{ color: var(--white); }

.eyebrow{
  font-family: var(--serif);
  font-style: italic;
  color: var(--rose);
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.lede{
  font-size: 1.12rem;
  color: #4a3a3f;
  max-width: 64ch;
}

/* ---------- section mark: recurring bloom glyph instead of a plain rule ---------- */
.section-mark{
  display:flex;
  align-items:center;
  gap:10px;
  margin: 14px 0 28px;
}
.section-mark svg{ width:22px; height:22px; color: var(--rose); flex:none; }
.section-mark::after{
  content:'';
  display:block;
  height:1px;
  width:64px;
  background: var(--mauve);
  opacity:.7;
}
.section-mark--center{ justify-content:center; }
.section--plum .section-mark::after{ background:#5c4a51; }

/* ---------- wave dividers between sections ---------- */
.wave-divider{ line-height:0; }
.wave-divider svg{ display:block; width:100%; height:64px; }
@media (max-width:700px){ .wave-divider svg{ height:36px; } }

/* ---------- nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251,247,245,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--mauve);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled{
  box-shadow: 0 8px 24px rgba(48,37,42,0.08);
  border-bottom-color: transparent;
}
.nav-wrap{
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 12px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
}
.brand{ display:flex; align-items:center; }
.brand img{ height: 40px; width:auto; }
.nav-links{
  display:flex;
  align-items:center;
  gap: 26px;
  list-style:none;
  margin:0; padding:0;
  font-size: 0.96rem;
}
.nav-links a{
  text-decoration:none;
  color: var(--plum);
  padding: 4px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"]{
  color: var(--berry);
  border-bottom-color: var(--rose);
}
.nav-cta{
  font-family: var(--sans);
  font-weight:600;
}
.nav-toggle{ display:none; }

@media (max-width: 760px){
  .nav-links{
    position:absolute;
    top: 100%; left:0; right:0;
    background: var(--ivory);
    border-bottom: 1px solid var(--mauve);
    flex-direction:column;
    align-items:flex-start;
    padding: 18px 28px 26px;
    gap: 16px;
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px; height:40px;
    border:1px solid var(--mauve);
    background:none;
    border-radius: var(--radius);
    cursor:pointer;
  }
  .nav-toggle svg{ width:18px; height:18px; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--sans);
  font-weight:600;
  font-size: 0.96rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration:none;
  border: 1.5px solid transparent;
  cursor:pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{ background: var(--berry); color: var(--white); box-shadow: 0 1px 2px rgba(48,10,20,0.05); }
.btn--primary:hover{ background:#611829; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(122,31,53,0.25); }

.btn--outline{ background:transparent; color: var(--berry); border-color: var(--berry); }
.btn--outline:hover{ background: var(--berry); color:var(--white); transform: translateY(-2px); }

.btn--on-dark{ background: var(--rose); color: var(--white); }
.btn--on-dark:hover{ background:#b1546a; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.25); }

.btn-row{ display:flex; gap:14px; flex-wrap:wrap; margin-top: 22px; }

/* ---------- hero ---------- */
.hero{
  position:relative;
  padding: 64px 0 92px;
  text-align:center;
  overflow:hidden;
  isolation:isolate;
}
.hero-bloom{
  position:absolute;
  z-index:-1;
  border-radius:50%;
  filter: blur(2px);
  opacity:.55;
}
.hero-bloom--1{ width:340px; height:340px; background: radial-gradient(circle, var(--blush) 0%, rgba(242,211,218,0) 72%); top:-120px; left:-90px; }
.hero-bloom--2{ width:420px; height:420px; background: radial-gradient(circle, #e7d3da 0%, rgba(181,150,167,0) 70%); bottom:-180px; right:-140px; opacity:.5; }
.hero-bloom--3{ width:220px; height:220px; background: radial-gradient(circle, var(--sage) 0%, rgba(142,168,150,0) 72%); top:40%; right:6%; opacity:.18; }

.hero-petal{
  position:absolute;
  z-index:-1;
  color: var(--rose);
  opacity:.35;
}
.hero-petal svg{ width:100%; height:100%; }
.hero-petal--a{ width:34px; height:34px; top:18%; left:9%; transform:rotate(-12deg); color:var(--mauve); }
.hero-petal--b{ width:26px; height:26px; top:62%; left:16%; transform:rotate(18deg); opacity:.3; }
.hero-petal--c{ width:30px; height:30px; top:22%; right:11%; transform:rotate(8deg); color:var(--sage); opacity:.3; }
.hero-petal--d{ width:22px; height:22px; top:70%; right:18%; transform:rotate(-20deg); }

.hero .logo-mark{
  max-width: 300px;
  margin: 0 auto 30px;
}
.hero h1{ max-width: 16ch; margin-left:auto; margin-right:auto; }
.hero .lede{ margin: 18px auto 0; text-align:center; }
.hero .btn-row{ justify-content:center; }

/* one orchestrated entrance moment — hero only */
@keyframes riseIn{
  from{ opacity:0; transform: translateY(16px); }
  to{ opacity:1; transform: translateY(0); }
}
.hero .logo-mark{ animation: riseIn .8s ease both; }
.hero h1{ animation: riseIn .8s .12s ease both; }
.hero .lede{ animation: riseIn .8s .22s ease both; }
.hero .btn-row{ animation: riseIn .8s .32s ease both; }

@media (prefers-reduced-motion: reduce){
  .hero .logo-mark, .hero h1, .hero .lede, .hero .btn-row{ animation:none; }
}

/* ---------- grids ---------- */
.grid{
  display:grid;
  gap: 26px;
}
.grid--2{ grid-template-columns: repeat(2, 1fr); }
.grid--3{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px){
  .grid--2, .grid--3{ grid-template-columns: 1fr; }
}

/* content block used across program/value/kit lists —
   flat wash + a hairline top accent, no card-shadow-kit look */
.tile{
  background: var(--white);
  border-top: 3px solid var(--rose);
  padding: 28px 24px;
  color: var(--rose);  /* tints the icon via currentColor */
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover{
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(48,37,42,0.09);
}
.tile--sage{ border-top-color: var(--sage); color: var(--sage); }
.tile--mauve{ border-top-color: var(--mauve); color: var(--mauve); }
.tile-icon{ width:34px; height:34px; margin-bottom:14px; }
.tile-icon svg{ width:100%; height:100%; }
.tile h4{ margin-bottom: 10px; color: var(--berry); }
.tile p{ font-size: 0.96rem; margin-bottom: 0; color: var(--plum); }

.tile-link{
  display:inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight:600;
  color: var(--berry);
  text-decoration:none;
  border-bottom: 1px solid var(--rose);
}

/* people / team */
.person{
  display:flex;
  gap:18px;
  align-items:flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--mauve);
}
.person:last-child{ border-bottom:none; }
.person .avatar{
  flex: none;
  width: 64px; height:64px;
  border-radius: 50%;
  background: var(--blush);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--serif);
  color: var(--berry);
  font-size:1.3rem;
  object-fit: cover;
}
.person h4{ margin-bottom: 2px; }
.person .role{ color: var(--rose); font-weight:600; font-size:0.88rem; margin-bottom:6px; }
.person p{ font-size: 0.94rem; margin-bottom:0; }

/* founder feature */
.founder{
  display:grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  align-items:start;
}
@media (max-width:700px){ .founder{ grid-template-columns:1fr; } }
.founder .avatar-lg{
  width: 100%;
  aspect-ratio:1;
  border-radius: 50%;
  background: var(--blush);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--berry);
  object-fit: cover;
}

/* pull quote / story */
blockquote{
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--berry);
  border-left: 3px solid var(--rose);
  padding-left: 22px;
  margin: 28px 0;
  max-width: 58ch;
}

/* forms */
.form-field{ margin-bottom: 18px; }
.form-field label{
  display:block;
  font-size:0.88rem;
  font-weight:600;
  margin-bottom:6px;
  color: var(--plum);
}
.form-field input,
.form-field textarea,
.form-field select{
  width:100%;
  font-family: var(--sans);
  font-size:1rem;
  padding: 11px 13px;
  border: 1.5px solid var(--mauve);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--plum);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus{
  outline: 2px solid var(--rose);
  outline-offset: 1px;
}
.form-note{ font-size:0.85rem; color:#6b5b60; margin-top:-6px; }

/* status/placeholder notes for not-yet-wired features */
.build-note{
  display:inline-block;
  font-size: 0.8rem;
  background: var(--blush);
  color: var(--berry);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* footer */
.site-footer{
  background: var(--plum);
  color: #e9dfe2;
  padding: 52px 0 30px;
}
.site-footer a{ color: #f1e6e9; text-decoration:none; }
.site-footer a:hover{ color: var(--rose); }
.footer-top{
  display:flex;
  justify-content:space-between;
  gap: 30px;
  flex-wrap:wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid #4d3f45;
}
.footer-brand img{ height:34px; margin-bottom:14px; }
.footer-brand p{ max-width: 34ch; font-size:0.9rem; color:#cbb9be; }
.footer-links{ display:flex; gap: 60px; flex-wrap:wrap; }
.footer-links h4{ color:#f1e6e9; font-size:0.85rem; margin-bottom:12px; }
.footer-links ul{ list-style:none; margin:0; padding:0; }
.footer-links li{ margin-bottom:8px; font-size:0.92rem; }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  padding-top: 22px;
  font-size: 0.82rem;
  color:#a9979d;
}
.social-row{ display:flex; flex-wrap:wrap; gap:14px; }
.social-row a{ font-size:0.85rem; border-bottom:1px solid transparent; margin-right:14px; }
.social-row a:last-child{ margin-right:0; }
.social-row a:hover{ border-bottom-color: var(--rose); }

/* page intro used on interior pages */
.page-intro{ padding: 54px 0 10px; }
.page-intro .eyebrow{ margin-bottom:8px; }

/* utility */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.stack{ display:flex; flex-direction:column; gap: 8px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; }
}
