/* ============================================================
   Arts-n-STEM 4 Hearts — shared styles
   Exact logo colors: pink #ED1556 · green #91CA57 · blue #8AD1F3
   Type: Playfair Display (display) + DM Sans (body) + DM Mono (labels)
   ============================================================ */

:root {
  --pink: #ED1556;
  --pink-deep: #C9123F;
  --pink-tint: #FBE0E8;
  --green: #91CA57;
  --green-deep: #6FA436;
  --green-tint: #E8F2DA;
  --blue: #8AD1F3;
  --blue-tint: #E1F2FB;
  --ink: #173A2A;
  --ink-2: #2C4A3C;
  --muted: #5E6F65;
  --cream: #FBF7EF;
  --cream-2: #F4ECDD;
  --white: #ffffff;
  --line: rgba(23, 58, 42, 0.10);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --shadow-card: 0 18px 50px -24px rgba(23, 58, 42, 0.28);
  --shadow-soft: 0 6px 22px -10px rgba(23, 58, 42, 0.22);
  --radius: 22px;
  --maxw: 1180px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 239, 0.86);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px clamp(20px, 4vw, 56px);
  max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); list-style: none; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
  letter-spacing: .1px; transition: color .18s; white-space: nowrap;
}
.nav-links a:hover { color: var(--pink); }
.nav-links a.is-active { color: var(--pink); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); font-size: 26px; line-height: 1; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 12px 28px -10px rgba(237, 21, 86, .55); }
.btn-pink:hover { background: var(--pink-deep); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-gold, .btn-green { background: var(--green); color: #15331f; }
.btn-green:hover { background: var(--green-deep); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- CREDENTIAL CHIP ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 9px 16px 9px 11px; box-shadow: var(--shadow-soft);
}
.chip .heart {
  width: 26px; height: 26px; border-radius: 8px; background: var(--pink-tint);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--pink); font-size: 14px; flex: none;
}
.chip b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.chip .sep { width: 1px; height: 15px; background: var(--line); }
.chip span { font-size: 13.5px; color: var(--muted); }

/* ---------- EYEBROW ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--green-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--green); }
.eyebrow.on-dark { color: var(--green); }

/* ---------- TYPE ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: -.3px; line-height: 1.13; }
.display { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.09; }
.h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; }
.h3 { font-size: clamp(19px, 2vw, 23px); line-height: 1.2; }
em.art { font-style: italic; color: var(--pink); }
.t-green { color: var(--green-deep); }
.t-pink { color: var(--pink); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); line-height: 1.72; }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 620px; margin-bottom: clamp(34px, 4vw, 52px); }
.section-head .lead { margin-top: 12px; }
.section.dark { background: linear-gradient(168deg, var(--ink) 0%, #0F2A1E 100%); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.tint { background: var(--cream-2); }

/* ---------- STAT BAR ---------- */
.statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.statbar .cell { background: var(--white); padding: 30px 18px; text-align: center; }
.stat-num { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 3.6vw, 40px); line-height: 1; }
.stat-num.c-pink { color: var(--pink); }
.stat-num.c-green { color: var(--green-deep); }
.stat-num.c-blue { color: #4FA9D8; }
.stat-num.c-ink { color: var(--ink); }
.stat-label { font-size: 13.5px; color: var(--muted); margin-top: 8px; font-weight: 500; }

/* ---------- CARDS ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px;
}
.ic.g { background: var(--green-tint); color: var(--green-deep); }
.ic.b { background: var(--blue-tint); color: #3E9ACB; }
.ic.p { background: var(--pink-tint); color: var(--pink); }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.66; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--pink); text-decoration: none; }
.card .more:hover { gap: 10px; }

/* ---------- FOOTER ---------- */
.foot { background: linear-gradient(168deg, var(--ink) 0%, #0F2A1E 100%); color: rgba(255,255,255,.7); padding: clamp(44px,6vw,68px) 0 28px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot .brand-line { font-family: var(--serif); font-size: 20px; color: #fff; margin-bottom: 12px; }
.foot p { font-size: 14px; line-height: 1.7; }
.foot h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--green); margin-bottom: 14px; font-weight: 700; }
.foot a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; display: block; margin-bottom: 9px; }
.foot a:hover { color: #fff; }
.foot-bot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- CAROUSEL ---------- */
.carousel { position: relative; height: clamp(340px, 42vw, 500px); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-card); background: var(--cream-2); }
.carousel .slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .9s ease, transform 5s ease; }
.carousel .slide.on { opacity: 1; transform: scale(1); }
.carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(23,58,42,.26); font-family: var(--mono); font-size: 30px; }
.carousel .grain { position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.10) 0 2px, transparent 2px 24px); mix-blend-mode: soft-light; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; border: none; cursor: pointer; background: rgba(255,255,255,.88); color: var(--ink); font-size: 22px; line-height: 1; box-shadow: var(--shadow-soft); display: flex; align-items: center; justify-content: center; padding-bottom: 3px; transition: background .2s; }
.car-btn:hover { background: #fff; }
.car-btn.prev { left: 16px; } .car-btn.next { right: 16px; }
.dots { position: absolute; right: 20px; bottom: 22px; display: flex; gap: 7px; }
.dots i { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.6); cursor: pointer; transition: width .3s; }
.dots i.on { width: 22px; background: #fff; }

/* ---------- MISC ---------- */
.divider-quote { background: var(--pink-tint); }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.45; color: var(--ink); max-width: 800px; margin: 0 auto; text-align: center; }
.quote-by { text-align: center; margin-top: 18px; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--pink); font-weight: 600; }

.award { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 16px 20px; }
.award .dot { width: 42px; height: 42px; border-radius: 11px; background: var(--pink); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex: none; }
.award b { display: block; color: var(--green); font-size: 14.5px; font-weight: 600; margin-bottom: 2px; }
.award span { font-size: 13px; color: rgba(255,255,255,.55); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 920px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--cream); border-bottom: 1px solid var(--line); padding: 10px clamp(20px,4vw,56px) 18px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 8px 0; width: 100%; }
  .nav-toggle { display: block; }
  .cards-3 { grid-template-columns: 1fr; }
  .statbar { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .statbar { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .nav-right .btn span.lbl { display: none; }
}
