/* ============================================================
   Evergreen — design system
   Bright, wide, image-forward. Poppins (display) + Inter (text)
   with Fraunces italic accents.
   ============================================================ */

:root {
  /* palette */
  --pine-900: #0c2f27;
  --pine-800: #123e33;
  --pine-700: #1a5245;
  --green-600: #00693e;
  --leaf-500: #3fa877;
  --leaf-400: #7acb9b;
  --mint-300: #a9dec0;
  --mint-200: #cdebd9;
  --mint-100: #e9f6ee;
  --sky-300: #a8cdef;
  --sky-200: #cce2f6;
  --sky-100: #eaf3fc;
  --sun-300: #f7d98b;
  --sun-200: #fbedc0;
  --sun-100: #fdf6e3;
  --cream: #fefcf6;
  --white: #ffffff;
  --ink: #22332d;
  --muted: #587065;
  --line: rgba(18, 62, 51, 0.1);

  /* type */
  --font-display: "Poppins", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-accent: "Fraunces", Georgia, serif;

  /* shape */
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 10px 40px rgba(18, 62, 51, 0.09);
  --shadow-lift: 0 18px 60px rgba(18, 62, 51, 0.16);

  /* layout */
  --container: min(1240px, 92vw);
  --container-wide: min(1480px, 95vw);
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* body links carry a persistent leaf underline so they stand out from prose;
   navigational components (nav, buttons, chips, arrow links) opt out below */
a {
  color: var(--green-600);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(63, 168, 119, 0.5);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
a:hover {
  text-decoration-color: var(--green-600);
  color: var(--pine-700);
}
.band-pine a { text-decoration-color: rgba(122, 203, 155, 0.6); }
.band-pine a:hover { text-decoration-color: var(--leaf-400); color: var(--mint-100); }

::selection { background: var(--mint-200); color: var(--pine-900); }

/* ---------- typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--pine-800);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.7rem, 5.6vw, 4.4rem);
  font-weight: 600;
}

.h-xl { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
.h-lg { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.h-md { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.accent-i {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--green-600);
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--leaf-400), var(--sky-300));
}

/* the tiny-tiniest trademark mark: scales with text but never grows past 10px */
sup.tm {
  font-size: clamp(6px, 0.2em, 8px);
  font-weight: 500;
  opacity: 0.45;
  line-height: 0;
  letter-spacing: 0;
  margin-left: 1px;
  font-family: var(--font-body);
  font-style: normal;
}

.muted { color: var(--muted); }
.center { text-align: center; }
.center .eyebrow::before { display: none; }

/* ---------- layout ---------- */

.container { width: var(--container); margin-inline: auto; }
.container-wide { width: var(--container-wide); margin-inline: auto; }

.section { padding-block: clamp(4rem, 8.5vw, 7.25rem); position: relative; }
.section-tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); position: relative; }

.band-mint { background: linear-gradient(180deg, var(--mint-100), #f3faf5); }
.band-sky { background: linear-gradient(180deg, var(--sky-100), var(--cream)); }
.band-sun { background: linear-gradient(180deg, var(--sun-100), var(--cream)); }
.band-pine {
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(122, 203, 155, 0.16), transparent 60%),
    radial-gradient(800px 460px at 92% 110%, rgba(168, 205, 239, 0.14), transparent 60%),
    var(--pine-900);
  color: var(--mint-100);
}
.band-pine h2, .band-pine h3 { color: var(--white); }
.band-pine .lead { color: var(--mint-200); }
.band-pine .eyebrow { color: var(--leaf-400); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }

@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  text-decoration: none !important;
}
.btn svg { flex: none; }

.btn-dark {
  background: var(--pine-800);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(12, 47, 39, 0.24);
}
.btn-dark:hover { transform: translateY(-2px); background: var(--pine-700); box-shadow: 0 12px 30px rgba(12, 47, 39, 0.3); }

.btn-gradient {
  background: linear-gradient(100deg, var(--sun-200), var(--mint-300) 70%);
  color: var(--pine-900);
  box-shadow: 0 8px 24px rgba(122, 203, 155, 0.35);
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(122, 203, 155, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--pine-800);
  box-shadow: inset 0 0 0 1.5px rgba(18, 62, 51, 0.28);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(18, 62, 51, 0.05); }

.band-pine .btn-ghost { color: var(--mint-100); box-shadow: inset 0 0 0 1.5px rgba(233, 246, 238, 0.4); }
.band-pine .btn-ghost:hover { background: rgba(233, 246, 238, 0.08); }

/* buttons keep their own text color on hover — the prose a:hover rule above
   (higher specificity than .btn-*) must not repaint button labels */
a.btn-dark:hover { color: var(--white); }
a.btn-gradient:hover { color: var(--pine-900); }
a.btn-ghost:hover { color: var(--pine-800); }
.band-pine a.btn-ghost:hover { color: var(--mint-100); }

.link-arrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform 0.25s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(254, 252, 246, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 30px rgba(18, 62, 51, 0.06); }

.header-inner {
  width: var(--container-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
}
.brand img { width: 38px; height: auto; transition: transform 0.4s ease; }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--pine-800);
  letter-spacing: -0.01em;
}
.brand-name sup { font-size: 7px; font-weight: 500; opacity: 0.4; letter-spacing: 0; }

.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); margin-left: auto; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--pine-700);
  position: relative;
  padding-block: 0.4rem;
  text-decoration: none !important;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--leaf-500), var(--sky-300));
  transition: right 0.3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--pine-900); }
.main-nav .btn { padding: 0.6rem 1.25rem; font-size: 0.9rem; }
.main-nav a.btn-dark { color: var(--white); }
.main-nav a.btn::after { display: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 70;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2.5px;
  border-radius: 2px;
  background: var(--pine-800);
  margin: 5.5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  /* backdrop-filter would make the header the containing block for the
     fixed overlay (its background would only paint inside the header bar),
     so at hamburger widths the header goes solid instead */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(254, 252, 246, 0.97);
  }
  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    background: linear-gradient(170deg, var(--sky-100) 0%, var(--mint-100) 60%, var(--cream) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 65;
  }
  .main-nav a { font-size: 1.35rem; }
  body.nav-open .main-nav { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(1100px 600px at 85% -20%, rgba(168, 205, 239, 0.5), transparent 65%),
    radial-gradient(900px 640px at -10% 30%, rgba(169, 222, 192, 0.42), transparent 60%),
    radial-gradient(700px 500px at 60% 110%, rgba(251, 237, 192, 0.5), transparent 65%),
    var(--cream);
}

.hero-inner {
  width: var(--container-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5.5rem);
}

.hero-copy .lead { max-width: 56ch; margin-top: 1.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.4rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--pine-700);
  backdrop-filter: blur(6px);
}

/* organic leaf marker — echoes the pinecone's leaf shapes; gradient + tilt set per chip */
.leafdot {
  flex: none;
  width: 13px;
  height: 13px;
  background: linear-gradient(135deg, var(--g1, var(--leaf-400)), var(--g2, var(--mint-300)));
  border-radius: 62% 38% 55% 45% / 48% 55% 45% 52%;
  transform: rotate(var(--tilt, 0deg));
}

.hero-visual { position: relative; display: grid; place-items: center; }

.phone {
  width: min(330px, 78vw);
  border-radius: 46px;
  border: 9px solid var(--pine-900);
  box-shadow: 0 40px 90px rgba(12, 47, 39, 0.28);
  overflow: hidden;
  background: var(--white);
  position: relative;
  z-index: 2;
}
.phone img { width: 100%; }

/* cycling app screens inside the hero phone */
.phone-screens { position: relative; aspect-ratio: 760 / 1647; }
.phone-screens .scr {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.phone-screens .scr.is-on { opacity: 1; transform: none; }

/* floating feature cards around the phone */
.float-card {
  position: absolute;
  z-index: 3;
  animation: floaty var(--dur, 6s) ease-in-out infinite alternate;
}
.fc-inner {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 44px rgba(18, 62, 51, 0.16);
  padding: 0.75rem 1.05rem;
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--pine-800);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  backdrop-filter: blur(8px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  /* backwards (not both): once the entrance finishes, the animation releases
     the transform so the .active scale transition can take over */
  animation: pop-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: var(--pop, 0.4s);
}
.float-card .dot {
  width: 38px; height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--pine-800);
  flex: none;
}
.float-card small { display: block; font-weight: 400; font-size: 0.8rem; color: var(--muted); font-family: var(--font-body); }
.float-card.active .fc-inner {
  transform: scale(1.12) rotate(-1deg);
  box-shadow: 0 18px 54px rgba(18, 62, 51, 0.24), 0 0 0 2.5px var(--leaf-400);
}
/* cards hang off the phone's edges rather than covering the screen */
.fc-1 { top: 3%; left: -5%; }
.fc-2 { top: 26%; right: 2%; }
.fc-3 { bottom: 32%; left: -9%; }
.fc-4 { bottom: 8%; right: 0; }
.fc-5 { bottom: -4%; left: 6%; }
@media (max-width: 1180px) {
  .fc-1 { left: 0; } .fc-2 { right: 0; } .fc-3 { left: 0; } .fc-4 { right: 0; } .fc-5 { left: 8%; }
}

@keyframes floaty {
  0% { transform: translateY(0) rotate(-1.2deg); }
  55% { transform: translateY(-14px) rotate(0.6deg); }
  100% { transform: translateY(-7px) rotate(1.4deg); }
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.55) translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 520px) {
  .fc-4, .fc-5 { display: none; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: 2; margin-top: 1rem; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
}
@media (max-width: 520px) {
  .fc-inner { font-size: 0.85rem; padding: 0.6rem 0.85rem; gap: 0.5rem; }
  .float-card small { display: none; }
  .float-card .dot { width: 30px; height: 30px; border-radius: 10px; }
  .float-card .dot svg { width: 16px; height: 16px; }
}

/* phone-framed app screenshot galleries */
.phone-sm { width: min(240px, 60vw); border-width: 7px; border-radius: 36px; }
.phone-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
.phone-shot { margin: 0; text-align: center; }
.phone-shot .phone-sm { transition: transform 0.45s ease; }
.phone-shot:nth-child(odd) .phone-sm { transform: rotate(-2.5deg); }
.phone-shot:nth-child(even) .phone-sm { transform: rotate(2deg) translateY(16px); }
.phone-shot:hover .phone-sm { transform: rotate(0) translateY(0); }
.phone-cap {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--pine-700);
}
@media (prefers-reduced-motion: reduce) {
  .phone-shot .phone-sm { transition: none; transform: none; }
}

/* soft floating blobs (decoration) */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -30px) scale(1.08); }
}

/* ---------- cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.card-body { padding: clamp(1.3rem, 2vw, 1.8rem); }

.card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-img img { transform: scale(1.05); }

.date-chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--mint-100);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  margin-bottom: 0.8rem;
}

.quote-band {
  background: linear-gradient(120deg, var(--mint-100), var(--sky-100));
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.25rem);
  position: relative;
  overflow: hidden;
}
.quote-band blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.5;
  color: var(--pine-800);
  max-width: 62ch;
}
.quote-band cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-600);
}

.highlight-box {
  background: linear-gradient(115deg, var(--sun-100), var(--mint-100));
  border-radius: var(--radius-md);
  padding: 1.5rem 1.7rem;
  font-size: 1.05rem;
}

/* ---------- video ---------- */

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(6, 26, 21, 0.5);
  background: var(--pine-800);
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: var(--pine-900);
}
/* full-bleed video band: edge-to-edge, flush with the section's bottom */
.anthem-band { padding-bottom: 0; }
.video-bleed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--pine-900);
}
.video-bleed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-glow {
  position: relative;
}
.video-glow::before {
  content: "";
  position: absolute;
  inset: -6%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(122, 203, 155, 0.28), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

/* ---------- stats ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.stat { text-align: center; padding: 1rem; }
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  background: linear-gradient(120deg, var(--green-600), var(--leaf-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.band-pine .stat-value { background: linear-gradient(120deg, var(--leaf-400), var(--sky-300)); -webkit-background-clip: text; background-clip: text; }
.stat-label { margin-top: 0.55rem; color: var(--muted); font-size: 0.95rem; max-width: 30ch; margin-inline: auto; }
.band-pine .stat-label { color: var(--mint-200); }

/* ---------- chat mock (Evie) ---------- */

.chat-mock {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 420px;
}
.bubble {
  padding: 0.85rem 1.15rem;
  border-radius: 20px;
  font-size: 0.98rem;
  line-height: 1.55;
  box-shadow: var(--shadow-soft);
  width: fit-content;
  max-width: 92%;
}
.bubble-evie {
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  align-self: flex-start;
}
.bubble-you {
  background: var(--pine-700);
  color: var(--white);
  border-bottom-right-radius: 6px;
  align-self: flex-end;
}
.bubble-meta {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-display);
  margin: -0.3rem 0 0 0.4rem;
}

/* ---------- Evie conversation demo ---------- */

.evie-demo { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.ed-phone { width: min(330px, 80vw); }
.ed-screen {
  position: relative;
  aspect-ratio: 760 / 1647; /* same proportions as a real phone screen */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(320px 260px at 85% 8%, rgba(214, 233, 214, 0.9), transparent 70%),
    radial-gradient(300px 300px at 8% 55%, rgba(196, 225, 205, 0.7), transparent 70%),
    linear-gradient(168deg, #eef4ec 0%, #dcead9 48%, #cfe3d6 100%);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* lock screen the nudge lands on */
.ed-lock {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4.6rem;
  background:
    radial-gradient(300px 240px at 80% 12%, rgba(122, 203, 155, 0.16), transparent 70%),
    radial-gradient(280px 280px at 12% 70%, rgba(168, 205, 239, 0.12), transparent 70%),
    linear-gradient(172deg, #0d2b24 0%, #123e33 55%, #17493c 100%);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.ed-lock.away { opacity: 0; transform: scale(1.05); pointer-events: none; }
.ed-lock-day {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  color: rgba(205, 235, 217, 0.85);
  letter-spacing: 0.06em;
}
.ed-lock-clock {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.4rem;
  letter-spacing: -0.02em;
  color: #f2f8f4;
  line-height: 1.1;
}
.ed-lock-mark {
  width: 34px;
  height: auto;
  margin-top: auto;
  margin-bottom: 3.2rem;
  opacity: 0.5;
}

/* touch indicator: the "finger" that taps */
.ed-touch {
  position: absolute;
  z-index: 9;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: rgba(18, 62, 51, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 10px rgba(12, 47, 39, 0.3);
  pointer-events: none;
  animation: ed-touch 0.55s ease both;
}
@keyframes ed-touch {
  0% { opacity: 0; transform: scale(0.4); }
  35% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.35); }
}
.ed-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 1rem 0.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--pine-900);
}
.ed-status-icons { display: inline-flex; gap: 0.3rem; align-items: center; }
.ed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.9rem 0.5rem;
  color: var(--pine-900);
}
.ed-header img { width: 26px; height: auto; }
.ed-header-spacer { width: 18px; }

.ed-nudge {
  position: absolute;
  top: 32%;
  left: 8px;
  right: 8px;
  z-index: 5;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(12, 47, 39, 0.22);
  padding: 0.65rem 0.8rem;
  transform: translateY(-130%);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.4s ease;
}
.ed-nudge.show { transform: none; opacity: 1; }
.ed-nudge.dismiss { transform: translateY(-130%); opacity: 0; }
.ed-nudge img { width: 26px; height: auto; margin-top: 2px; }
.ed-nudge-body { font-size: 0.76rem; color: var(--ink); }
.ed-nudge-body b { display: block; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; text-transform: uppercase; }

.ed-feed {
  flex: 1;
  overflow-y: auto;
  padding: 0.4rem 0.8rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  scrollbar-width: none;
}
.ed-feed::-webkit-scrollbar { display: none; }

.ed-msg {
  max-width: 86%;
  padding: 0.6rem 0.8rem;
  border-radius: 16px;
  animation: ed-pop 0.4s cubic-bezier(0.34, 1.3, 0.64, 1) both;
}
.ed-msg.evie {
  align-self: flex-start;
  background: var(--white);
  color: var(--ink);
  border-bottom-left-radius: 5px;
  box-shadow: 0 3px 12px rgba(12, 47, 39, 0.08);
}
.ed-msg.student {
  align-self: flex-end;
  background: #0d5f4e;
  color: #f2f8f4;
  border-bottom-right-radius: 5px;
}
.ed-meta {
  font-size: 0.62rem;
  color: #7d8a80;
  padding-inline: 0.35rem;
  animation: ed-fade 0.5s ease both;
}
.ed-meta.right { align-self: flex-end; }

.ed-media {
  margin-top: 0.55rem;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.ed-media img { width: 100%; display: block; }
.ed-media .ed-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.ed-media .ed-play span {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  display: grid;
  place-items: center;
  color: var(--pine-800);
  box-shadow: 0 4px 14px rgba(12, 47, 39, 0.3);
}
.ed-media-sub { display: block; font-size: 0.64rem; color: #7d8a80; margin-top: 0.35rem; }

.ed-typing {
  align-self: flex-start;
  background: var(--white);
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  padding: 0.7rem 0.9rem;
  display: inline-flex;
  gap: 4px;
  box-shadow: 0 3px 12px rgba(12, 47, 39, 0.08);
  animation: ed-pop 0.3s ease both;
}
.ed-typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #9db3a6;
  animation: ed-dot 1.1s ease-in-out infinite;
}
.ed-typing i:nth-child(2) { animation-delay: 0.15s; }
.ed-typing i:nth-child(3) { animation-delay: 0.3s; }

.ed-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
  align-self: flex-end;
  max-width: 92%;
  padding-top: 0.15rem;
}
.ed-chip {
  border: 1.5px solid rgba(13, 95, 78, 0.55);
  color: #0d5f4e;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.74rem;
  animation: ed-pop 0.35s cubic-bezier(0.34, 1.3, 0.64, 1) both;
  transition: background-color 0.25s ease, color 0.25s ease, opacity 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.ed-chip.tapped {
  background: #0d5f4e;
  color: #fff;
  animation: ed-press 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) both;
  box-shadow: 0 0 0 5px rgba(13, 95, 78, 0.22);
}
.ed-chips.resolve .ed-chip:not(.tapped) { opacity: 0; }
@keyframes ed-press {
  0% { transform: scale(1); }
  40% { transform: scale(0.82); }
  100% { transform: scale(1.02); }
}

/* when it's the visitor's turn, chips are real buttons */
.ed-chips.live .ed-chip { cursor: pointer; }
.ed-chips.live .ed-chip:hover { background: #fff; box-shadow: 0 4px 12px rgba(13, 95, 78, 0.2); transform: translateY(-1px); }
.ed-chips.live .ed-chip:first-child { animation: ed-pop 0.35s cubic-bezier(0.34, 1.3, 0.64, 1) both, ed-nudge-pulse 2.2s ease-in-out 1.2s 2; }
@keyframes ed-nudge-pulse {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 5px rgba(13, 95, 78, 0.16); }
}
.ed-hint {
  align-self: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d8377;
  padding-block: 0.2rem;
  animation: ed-fade 0.6s ease both;
}

.ed-inputbar {
  margin: 0.35rem 0.7rem 0.8rem;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 3px 12px rgba(12, 47, 39, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.5rem 0.55rem 0.95rem;
}
.ed-input-text {
  flex: 1;
  min-width: 0;
  font-size: 0.76rem;
  font-family: var(--font-body);
  color: var(--ink);
  border: 0;
  background: transparent;
  outline: none;
}
.ed-input-text::placeholder { color: #93a29a; }
.ed-input-text:disabled { pointer-events: none; }
.ed-send {
  width: 28px; height: 28px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--pine-700);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.ed-send:disabled { cursor: default; opacity: 0.7; }
.ed-send:not(:disabled) { background: #0d5f4e; color: #fff; }
.ed-inputbar.live { box-shadow: 0 3px 12px rgba(12, 47, 39, 0.1), 0 0 0 2px rgba(13, 95, 78, 0.35); }

.ed-replay {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid rgba(18, 62, 51, 0.25);
  background: transparent;
  color: var(--pine-800);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.ed-replay:hover { background: rgba(18, 62, 51, 0.06); transform: translateY(-1px); }
.ed-replay[hidden] { display: none; }
.ed-caption { font-size: 0.85rem; color: var(--muted); text-align: center; max-width: 40ch; }

@keyframes ed-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.92); }
  to { opacity: 1; transform: none; }
}
@keyframes ed-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ed-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ed-msg, .ed-meta, .ed-chip, .ed-typing, .ed-nudge { animation: none; transition: none; }
}

/* ---------- people ---------- */

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: clamp(1.1rem, 2vw, 1.7rem);
}
.person { text-align: center; }
.person-photo {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--mint-200), var(--sky-200));
  margin-bottom: 0.7rem;
  position: relative;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.person:hover .person-photo img { transform: scale(1.06); }
.person-initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  color: var(--pine-700);
}
.person-name { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--pine-800); line-height: 1.3; }
.person-detail { font-size: 0.82rem; color: var(--muted); margin-top: 0.15rem; line-height: 1.45; }

/* ---------- accordion ---------- */

.accordion { display: grid; gap: 0.9rem; }
.accordion details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.accordion details[open] { box-shadow: var(--shadow-lift); }
.accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--pine-800);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint-100);
  color: var(--green-600);
  font-size: 1.3rem;
  font-weight: 500;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.accordion details[open] summary::after { transform: rotate(45deg); background: var(--sun-200); }
.accordion .acc-body { padding: 0 1.5rem 1.4rem; color: var(--ink); overflow: hidden; }
/* while the close animation runs, the + icon rotates back immediately */
.accordion details.closing summary::after { transform: rotate(0); background: var(--mint-100); }
.accordion .acc-body ul { padding-left: 1.2rem; display: grid; gap: 0.5rem; margin-block: 0.6rem; }
.accordion .acc-body p + p { margin-top: 0.8rem; }

/* ---------- marquee (partners) ---------- */

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 5rem);
  width: max-content;
  animation: marquee 36s linear infinite;
  padding-block: 1rem;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 56px;
  width: auto;
  filter: grayscale(1) brightness(1.05);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- full-bleed photo bands & strips ---------- */

.photo-band-full {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px) { .photo-band-full { aspect-ratio: 4 / 3; } }

/* statement band: a single mission line, set large in the accent face */
.statement {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.1vw, 2.35rem);
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--pine-800);
  text-align: center;
  max-width: 34ch;
  margin-inline: auto;
  text-wrap: balance;
}
.statement em, .statement .hl { font-style: inherit; color: var(--green-600); }
.band-pine .statement { color: var(--mint-100); }
.band-pine .statement em, .band-pine .statement .hl { color: var(--leaf-400); }

/* standard photo caption: use <figure class="photo-figure"> around any
   full-bleed band or strip, with a <figcaption> underneath */
.photo-figure { margin: 0; }
.photo-figure figcaption {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
  max-width: 78ch;
  margin: 0.95rem auto 1.8rem;
  padding-inline: 1.2rem;
}
.photo-figure figcaption::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--leaf-400), var(--sky-300));
  vertical-align: middle;
  margin-right: 0.6rem;
}

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 3 / 3.4; }
@media (max-width: 720px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- photo reel (life at Evergreen) ---------- */

.photo-reel .marquee-track {
  gap: clamp(1rem, 2vw, 1.6rem);
  animation-duration: 55s;
  padding-block: 1.6rem;
}
.photo-reel .marquee-track img {
  height: clamp(200px, 26vw, 300px);
  width: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  filter: none;
  opacity: 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.photo-reel .marquee-track img:nth-child(odd) { transform: rotate(-1.1deg); }
.photo-reel .marquee-track img:nth-child(even) { transform: rotate(1.1deg) translateY(8px); }
.photo-reel .marquee-track img:hover { transform: scale(1.04); box-shadow: var(--shadow-lift); z-index: 2; }

/* ---------- footer ---------- */

.site-footer {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(122, 203, 155, 0.12), transparent 60%),
    var(--pine-900);
  color: var(--mint-200);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-brand img { width: 42px; }
.footer-brand span { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--white); }

.footer-tag {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--mint-300);
  max-width: 30ch;
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: grid; gap: 0.55rem; }
.footer-links a { color: var(--mint-200); font-size: 0.97rem; font-weight: 400; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--leaf-400); }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(233, 246, 238, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(205, 235, 217, 0.7);
}

/* ---------- reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .fc-inner, .blob { animation: none; }
  .phone-screens .scr { transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .card, .btn, .person-photo img, .card-img img { transition: none; }
}

/* ---------- misc ---------- */

.checklist { list-style: none; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist .ico {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  margin-top: 0.15rem;
}
.checklist .yes { background: var(--mint-200); color: var(--green-600); }
.checklist .no { background: #fbe3dc; color: #b34a2e; }

.pill-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.section-head { max-width: 70ch; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pine-800);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 12px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--leaf-500);
  outline-offset: 3px;
  border-radius: 4px;
}
