/* ============================================================
   EAT WELL GROUP — Interim Corporate & Investor Site
   ============================================================ */
:root {
  --forest: #0B4A33;
  --deep: #06301F;
  --deepest: #042518;
  --green: #0E7A50;
  --green-bright: #16A06A;
  --gold: #D9A441;
  --terracotta: #D96A4B;
  --cream: #F7F4EB;
  --cream-dark: #EFEAD9;
  --white: #FFFFFF;
  --ink: #122019;
  --ink-soft: #3E5147;
  --ink-muted: #6B7C73;
  --line: rgba(11, 74, 51, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 50px rgba(6, 48, 31, 0.14);
  --radius: 18px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; font-variant-ligatures: none; font-feature-settings: "liga" 0, "dlig" 0; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.35rem; line-height: 1.3; }
.kicker {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.kicker--green { color: var(--green); }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 46em; }
.on-dark { color: var(--white); }
.on-dark .lede, .on-dark p { color: rgba(255,255,255,0.82); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 235, 0.97);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: var(--ink); font-weight: 500; font-size: 0.95rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover { text-decoration: none; color: var(--green); }
.main-nav a.active { color: var(--green); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--forest); color: var(--white) !important;
  padding: 11px 22px !important; border-radius: 999px;
  font-weight: 600 !important; border-bottom: none !important;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--green); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--ink); margin: 5.5px 0; border-radius: 2px; transition: 0.25s; }

/* ---------- Ticker strip ---------- */
.ticker-strip {
  background: var(--deepest); color: rgba(255,255,255,0.85);
  font-size: 0.8rem; letter-spacing: 0.06em;
  padding: 8px 0; text-align: center;
}
.ticker-strip strong { color: var(--gold); font-weight: 700; }
.ticker-strip span { margin: 0 14px; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(152deg, var(--deep) 0%, var(--forest) 58%, #0d5c3e 100%);
  color: var(--white);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1100px 500px at 85% 15%, rgba(217,164,65,0.14), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 88px; }
.hero .kicker { color: var(--gold); }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero h1 .tm { font-size: 0.32em; vertical-align: super; font-weight: 500; letter-spacing: 0; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.85); margin: 26px 0 36px; max-width: 34em; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
.hero-badge {
  position: absolute; left: -26px; bottom: -26px;
  background: var(--gold); color: var(--deep);
  border-radius: 14px; padding: 18px 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.hero-badge .num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.hero-badge .lbl { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 15px 30px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; transition: 0.2s ease; text-decoration: none !important;
}
.btn-gold { background: var(--gold); color: var(--deep); }
.btn-gold:hover { background: #e6b458; transform: translateY(-1px); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-forest { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--green); transform: translateY(-1px); }
.btn-outline-dark { border: 1.5px solid var(--forest); color: var(--forest); }
.btn-outline-dark:hover { background: var(--forest); color: var(--white); }

/* ---------- Stat band ---------- */
.stat-band { background: var(--deepest); padding: 44px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.stat { text-align: center; padding: 0 6px; }
.stat .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem); color: var(--gold); line-height: 1.1;
}
.stat .lbl { font-size: 0.8rem; color: rgba(255,255,255,0.72); margin-top: 6px; line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-dark { background: linear-gradient(160deg, var(--deep), var(--forest)); }
.section-cream-dark { background: var(--cream-dark); }
.section-white { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 26px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 34px 30px; border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 12px; color: var(--forest); }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .icon { font-size: 1.9rem; margin-bottom: 16px; display: block; }
.card-dark { background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark); color: var(--white); }
.card-dark h3 { color: var(--gold); }
.card-dark p { color: rgba(255,255,255,0.8); }

.num-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest); color: var(--gold);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  margin-bottom: 18px;
}

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media img.no-frame { border-radius: 0; box-shadow: none; }
.figure figcaption { font-size: 0.82rem; color: var(--ink-muted); margin-top: 12px; text-align: center; }
.checklist { list-style: none; margin-top: 22px; }
.checklist li { padding-left: 34px; position: relative; margin-bottom: 14px; color: var(--ink-soft); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.on-dark .checklist li { color: rgba(255,255,255,0.85); }

/* ---------- News ---------- */
.news-card { display: flex; flex-direction: column; }
.news-date { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px; }
.news-card h3 { font-size: 1.18rem; flex-grow: 0; }
.news-card .more { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 0.92rem; }
.news-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; background: var(--cream-dark); color: var(--forest);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; width: fit-content;
}

/* ---------- Article (news release / charter) ---------- */
.article { background: var(--white); }
.article-head { border-bottom: 1px solid var(--line); padding-top: 64px; padding-bottom: 40px; }
.article-body { padding-top: 48px; padding-bottom: 80px; }
.article-body p { margin-bottom: 20px; color: var(--ink-soft); }
.article-body h2 { font-size: 1.5rem; margin: 40px 0 16px; color: var(--forest); }
.article-body h3 { font-size: 1.15rem; margin: 30px 0 12px; color: var(--forest); }
.article-body ul { margin: 0 0 20px 24px; color: var(--ink-soft); }
.article-body li { margin-bottom: 10px; }
.article-body blockquote {
  border-left: 4px solid var(--gold); background: var(--cream);
  padding: 24px 28px; border-radius: 0 12px 12px 0; margin: 28px 0;
  font-size: 1.05rem; color: var(--ink);
}
.fin-table { width: 100%; border-collapse: collapse; margin: 24px 0 32px; font-size: 0.95rem; }
.fin-table th {
  background: var(--forest); color: #fff; text-align: left;
  padding: 12px 16px; font-weight: 600; font-size: 0.88rem;
}
.fin-table th:not(:first-child), .fin-table td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.fin-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.fin-table tr.hl td { background: #EDF5F0; color: var(--forest); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.fine { font-size: 0.83rem; color: var(--ink-muted); }

/* ---------- Team ---------- */
.person { text-align: left; }
.person .photo {
  width: 132px; height: 132px; border-radius: 50%; overflow: hidden;
  border: 4px solid var(--cream-dark); margin-bottom: 20px;
  background: var(--cream-dark);
}
.person .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.person .role { color: var(--terracotta); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 4px 0 14px; }
.person p { font-size: 0.93rem; }

/* ---------- Governance ---------- */
.gov-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.gov-table th { background: var(--forest); color: #fff; padding: 14px 18px; text-align: left; font-size: 0.9rem; }
.gov-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-soft); }
.gov-table td:not(:first-child) { text-align: center; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.dot--chair { background: var(--gold); box-shadow: 0 0 0 3px rgba(217,164,65,0.3); }
.legend { display: flex; gap: 26px; margin-top: 16px; font-size: 0.85rem; color: var(--ink-muted); align-items: center; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin: 30px 0 10px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2.5px; background: var(--line); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -31px; top: 5px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--green); border: 3px solid var(--cream);
}
.tl-item.done::before { background: var(--green); }
.tl-item.next::before { background: var(--gold); }
.tl-date { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--terracotta); }
.tl-item h3 { font-size: 1.1rem; margin: 4px 0 6px; color: var(--forest); }
.tl-item p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Chart ---------- */
.chart-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.chart-title { font-weight: 700; font-size: 1.02rem; margin-bottom: 4px; }
.chart-sub { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 22px; }
.bars { display: flex; align-items: flex-end; gap: 34px; height: 210px; padding: 0 8px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar-val { font-weight: 700; font-size: 0.95rem; color: var(--forest); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.bar-rect { width: 100%; max-width: 110px; background: var(--forest); border-radius: 4px 4px 0 0; min-height: 8px; }
.bar-lbl { margin-top: 10px; font-size: 0.85rem; color: var(--ink-muted); }

/* ---------- Live feed ---------- */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); color: var(--ink-soft); font-family: var(--font-body);
  font-weight: 600; font-size: 0.85rem; cursor: pointer;
  -webkit-appearance: none; appearance: none; transition: 0.15s ease;
}
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.active { background: var(--forest); border-color: var(--forest); color: var(--white); }
.feed-list { display: flex; flex-direction: column; }
.feed-item {
  display: block; padding: 16px 4px; border-bottom: 1px solid var(--line);
  text-decoration: none !important; transition: background 0.15s ease;
}
.feed-item:hover { background: rgba(14, 122, 80, 0.05); }
.feed-date { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 4px; }
.feed-title { display: block; color: var(--ink); font-weight: 600; font-size: 0.98rem; line-height: 1.45; }
.feed-item:hover .feed-title { color: var(--green); }
.feed-loading { color: var(--ink-muted); font-size: 0.92rem; padding: 20px 4px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--forest), var(--green)); color: var(--white); text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 40em; margin: 0 auto 34px; }
.signup-form { position: relative; display: flex; gap: 12px; justify-content: center; align-items: stretch; flex-wrap: wrap; max-width: 560px; margin: 0 auto; }
button.btn { border: none; cursor: pointer; font-family: var(--font-body); font-size: 1rem; line-height: 1.65; -webkit-appearance: none; appearance: none; }
.signup-form input[type="email"] {
  flex: 1; min-width: 260px; padding: 15px 22px; border-radius: 999px;
  border: none; font-size: 1rem; font-family: var(--font-body);
}
.signup-form input:focus { outline: 3px solid var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deepest); color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-top: 64px; padding-bottom: 48px; }
.site-footer h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--gold); }
.footer-logo img { height: 40px; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 18px; }
.footer-tickers { color: var(--gold); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 14px; }
.footer-legal { border-top: 1px solid var(--line-dark); padding-top: 34px; padding-bottom: 44px; font-size: 0.78rem; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer-legal p { margin-bottom: 12px; }
.footer-legal strong { color: rgba(255,255,255,0.7); }

/* ---------- Reveal animation (progressive enhancement — content stays visible without JS) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(152deg, var(--deep), var(--forest)); color: var(--white); padding: 74px 0 64px; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.15rem; max-width: 44em; margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
  .hero-media { display: none; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .cols-3, .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .main-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--cream); flex-direction: column; padding: 24px 28px 30px;
    border-bottom: 1px solid var(--line); gap: 18px; align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4, .cols-5 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .bars { gap: 16px; }
}
