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

:root {
  --bg:      #FDEBD0;
  --white:   #FFFFFF;
  --dark:    #1a1a1a;
  --purple:  #9485CC;
  --olive:   #7B9A40;
  --shadow:  0 4px 24px rgba(0,0,0,0.09);
  --radius:  20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.65;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
nav .logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
}
nav ul { list-style: none; display: flex; gap: 1.25rem; flex-wrap: wrap; }
nav a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.87rem; font-weight: 500; transition: color .15s; }
nav a:hover { color: #fff; }

/* ── Hero ── */
.hero-wrap {
  padding: 3rem 1.5rem 2rem;
  display: flex;
  justify-content: center;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 3rem 3rem;
  text-align: center;
  max-width: 580px;
  width: 100%;
}

/* hero illustration */
.hero-illo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  gap: 0;
}
.sun-svg {
  width: 148px;
  height: 148px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  animation: sun-bob 4s ease-in-out infinite;
  overflow: visible;
}
.sun-svg .rays {
  transform-box: fill-box;
  transform-origin: center;
  animation: sun-spin 28s linear infinite;
}
.cloud-svg {
  width: 130px;
  height: 86px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.cloud-left  { margin-right: -52px; animation: cloud-left  8s ease-in-out infinite; }
.cloud-right { margin-left:  -52px; animation: cloud-right 8s ease-in-out infinite; }

@keyframes sun-bob {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes sun-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes cloud-left {
  0%, 100% { transform: translate(0px, 0px); }
  50%       { transform: translate(-10px, -6px); }
}
@keyframes cloud-right {
  0%, 100% { transform: translate(0px, 0px); }
  50%       { transform: translate(10px, -6px); }
}

.hero-card h1 {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.hero-card .subtitle { font-size: 1rem; color: #666; }

/* ── Section wrapper ── */
.section-wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* ── Pill section headers ── */
.pill-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2.25rem;
}
.pill {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  color: var(--white);
  padding: 0.55rem 2.5rem;
  border-radius: 999px;
  text-align: center;
}
.pill-purple { background: var(--purple); }
.pill-olive  { background: var(--olive); }

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
}
.about-text h2 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.about-text p { color: #333; font-size: 0.95rem; margin-bottom: 0.75rem; }

/* photo bubble */
.photo-bubble {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto;
}
.bubble-shadow {
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 185px;
  height: 185px;
  border-radius: 50%;
  background: var(--dark);
}
.photo-circle {
  position: relative;
  z-index: 1;
  width: 185px;
  height: 185px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #d4a574, #e8c9a0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
}
.photo-circle img { width: 100%; height: 100%; object-fit: cover; }

/* SPICE card */
.spice-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 2rem;
}
.spice-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.spice-def {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--purple);
  margin-bottom: 0.75rem;
}
.spice-card p { font-size: 0.95rem; color: #333; }

/* ── Card grids ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

/* content card */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  flex-shrink: 0;
}
.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
}
.card-body.no-img { padding-top: 1.75rem; }
.card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.card p   { font-size: 0.88rem; color: #333; }
.card ul  { padding-left: 1.1rem; font-size: 0.88rem; color: #333; }
.card li  { margin-bottom: 0.2rem; }
.card p + p { margin-top: 0.5rem; }
.card p + ul, .card ul + p { margin-top: 0.5rem; }

/* card image color swatches */
.img-green  { background: linear-gradient(135deg, #a8d5b5, #6db88a); }
.img-blue   { background: linear-gradient(135deg, #a8c8e8, #5a9dc8); }
.img-yellow { background: linear-gradient(135deg, #f5e0a0, #e8c455); }
.img-orange { background: linear-gradient(135deg, #f5c8a0, #e8944a); }
.img-purple { background: linear-gradient(135deg, #c8b8e8, #9478cc); }
.img-pink   { background: linear-gradient(135deg, #f0b8c8, #e07898); }
.img-teal   { background: linear-gradient(135deg, #a0d8d0, #4ab0a8); }

/* ── Contact ── */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.contact-card h2 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.contact-card p { color: #555; font-size: 0.95rem; margin-bottom: 1.25rem; }
.email-btn {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity .2s;
}
.email-btn:hover { opacity: 0.85; }
.contact-note { margin-top: 1rem; font-size: 0.83rem; color: #aaa; }

/* ── Footer ── */
footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  font-size: 0.82rem;
  color: #bbb;
}

/* ── Utility ── */
.mt { margin-top: 0.5rem; }
a.inline-link { color: var(--purple); font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 680px) {
  .about-grid { grid-template-columns: 1fr; }
  .photo-bubble { margin: 0 auto 1.5rem; }
  nav ul { gap: 0.75rem; }
  .hero-card { padding: 2rem 1.25rem; }
  .section-wrap { padding: 2rem 1rem; }
}
