/* Styles used only on the EcoWise AI page.
   Load after shared.css. */

/* ---- Hero ---- */
.eco-hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(125% 125% at 50% 36%, var(--forest-1) 0%, var(--forest-2) 80%);
  color: var(--cream); overflow: hidden;
}
.eco-hero .hero-nav .logo { font-family: var(--serif); font-weight: 640; font-size: 22px; letter-spacing: -0.02em; color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5em; }
.eco-hero .logo .logo-ai { color: var(--lime); font-style: italic; font-weight: 560; }
.eco-center { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.eco-logomark { width: clamp(74px, 11vh, 100px); height: clamp(74px, 11vh, 100px); margin-bottom: 24px; }
.eco-logomark .spin { transform-origin: center; animation: spin 60s linear infinite; }
.wordmark { font-family: var(--serif); font-weight: 640; letter-spacing: -0.022em; font-size: clamp(46px, 9vw, 96px); line-height: 1; margin: 0; display: flex; align-items: baseline; gap: 0.16em; text-shadow: 0 8px 36px rgba(2, 14, 8, 0.55); }
.wordmark .eco { color: var(--cream); }
.wordmark .ai { color: var(--lime); font-style: italic; font-weight: 560; }
.tagline { margin: 18px 0 0; font-size: clamp(15px, 2.6vw, 19px); font-weight: 500; color: var(--sage); max-width: 40ch; line-height: 1.5; }
.tagline .rotator { color: var(--lime); font-style: italic; }
.rotator .word { display: inline-block; transition: opacity 0.7s ease; }
.rotator .word.fading { opacity: 0; }
.hero-ctas { margin-top: 30px; display: flex; align-items: center; gap: 26px; }
.hero-scroll { font-size: 14.5px; font-weight: 500; color: var(--sage); text-decoration: none; border-bottom: 1px solid transparent; }
.hero-scroll:hover { color: var(--lime); border-bottom-color: var(--lime); }
.eco-foot { position: relative; z-index: 2; text-align: center; padding-bottom: 18px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.07em; color: #6E8F7B; }

/* ---- About / team ---- */
/* Two-column split, matching the mission layout on the home page:
   heading, lede and credibility chips on the left, story on the right. */
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; }
.story-grid .story-body { margin-top: 6px; }
.story-grid .story-body p:last-child { margin-bottom: 0; }
.story p { color: var(--ink-soft); font-size: 17.5px; max-width: 36em; margin: 0 0 18px; }
.story p strong { color: var(--forest-1); font-weight: 600; }
.story .lede { margin-bottom: 28px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 8px; }
.proof { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 18px; font-size: 14.5px; font-weight: 500; color: var(--forest-1); }
.proof .pm { width: 22px; height: 22px; flex: none; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.member { background: #fff; border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.member .photo { aspect-ratio: 1 / 1; background: var(--forest-1); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member .photo .ph-fallback { font-family: var(--serif); font-weight: 560; font-size: 64px; color: var(--lime); opacity: 0.85; }
.member .photo .ph-tag { position: absolute; bottom: 10px; left: 12px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); background: rgba(10,36,23,0.55); padding: 3px 8px; border-radius: 6px; }
.member .info { padding: 20px 22px 24px; }
.member .info h3 { font-family: var(--serif); font-weight: 560; font-size: 20px; color: var(--forest-1); margin: 0 0 2px; }
.member .info .role { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #6f9244; margin-bottom: 12px; }
.member .info p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ---- Dynamic demo ---- */
.demo { background: var(--forest-1); color: var(--cream); }
.demo .eyebrow { color: var(--sage); }
.demo h2 { color: var(--cream); }
.demo .lede { color: var(--sage); }
.demo-stage { margin-top: 44px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: start; }
.store-picker { display: flex; flex-direction: column; gap: 12px; }
.store-picker .pick-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin-bottom: 4px; }
.store-btn { text-align: left; background: rgba(255,255,255,0.04); border: 1px solid rgba(159,195,170,0.22); border-radius: 13px; padding: 16px 18px; cursor: pointer; color: var(--cream); font-family: var(--sans); transition: border-color 0.2s, background-color 0.2s, transform 0.15s; }
.store-btn:hover { border-color: rgba(198,242,90,0.5); transform: translateY(-1px); }
.store-btn.active { border-color: var(--lime); background: rgba(198,242,90,0.10); }
.store-btn .sb-name { font-weight: 600; font-size: 15.5px; display: block; }
.store-btn .sb-type { font-size: 13px; color: var(--sage); }
.report-card { background: #FFFFFF; border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; font-size: 15px; color: var(--ink); }
.report-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--hairline); }
.report-head .report-title { font-weight: 600; font-size: 14px; }
.report-head .report-meta { font-size: 13px; color: var(--ink-soft); }
.report-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 24px; border-bottom: 1px solid var(--hairline); opacity: 0; transform: translateY(8px); animation: rowIn 0.5s ease forwards; }
.report-row:last-child { border-bottom: none; }
@keyframes rowIn { to { opacity: 1; transform: none; } }
.report-product { font-weight: 600; font-size: 15px; }
.report-reason { grid-column: 1 / -1; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin: 0; }
.tag-add { background: var(--forest-1); color: var(--cream); }
.tag-promote { background: var(--lime); color: var(--forest-2); }
.tag-delist { background: transparent; color: var(--ink-soft); border: 1px solid var(--hairline); }
.demo-uplift { display: flex; align-items: center; gap: 10px; padding: 16px 24px; background: #F3F8EC; border-top: 1px solid var(--hairline); font-size: 14px; color: var(--forest-1); }
.demo-uplift strong { font-weight: 700; }
.demo-uplift .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.35} }
.demo-note { margin: 18px 0 0; font-size: 13px; color: var(--sage); }

/* ---- Join ---- */
/* Centred column: heading and button align to the middle, while the
   checklist stays left-aligned for readability and centres as a block. */
#join .content { text-align: center; }
.pilot-list { list-style: none; margin: 40px auto 44px; padding: 0; display: grid; gap: 22px; max-width: 36em; text-align: left; }
.pilot-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; }
.pilot-list .tick { font-family: var(--serif); color: var(--forest-1); font-size: 18px; }
.pilot-list strong { font-weight: 600; }

@media (max-width: 860px) {
  .demo-stage { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .rotator .word { transition: none; }
  .eco-logomark .spin { animation: none; }
  .report-row { animation: none; opacity: 1; transform: none; }
  .demo-uplift .dot { animation: none; }
}
