/* ============================================================
   HEALTHY ORGANIC SHOW 2026 — Design System
   Direction: "Expo Wayfinding" — business-grade organic editorial.
   Palette: pine ink, brand leaf green, warm paper, honey amber.
   Type: Bricolage Grotesque (display) · Instrument Sans (body)
         Spline Sans Mono (signage / data)
   ============================================================ */

:root {
  --ink: #16241b;
  --pine: #0e3b28;
  --pine-deep: #0a2c1e;
  --leaf: #39b54a;
  --leaf-dark: #2b9c3c;
  --mint: #e6f2dd;
  --mint-soft: #f1f7ec;
  --paper: #fbfaf5;
  --white: #ffffff;
  --honey: #e7a83e;
  --muted: #5c6b60;
  --line: rgba(22, 36, 27, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
  --font-mono: "Spline Sans Mono", "Consolas", monospace;

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1180px;
  --shadow: 0 18px 50px -18px rgba(14, 59, 40, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .lead { color: rgba(255, 255, 255, 0.78); }

/* ---------- Signage plate (signature element) ----------
   Every section opens with a directional-signage plate,
   the wayfinding language of an exhibition hall. */
.plate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pine);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 16px 8px 12px;
  border-radius: 8px;
  margin-bottom: 22px;
  white-space: nowrap;
}
.plate::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(57, 181, 74, 0.25);
}
.plate.honey::before { background: var(--honey); box-shadow: 0 0 0 3px rgba(231, 168, 62, 0.25); }
.plate.ghost { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(6px); border: 1px solid var(--line-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--leaf); color: var(--white); box-shadow: 0 10px 26px -10px rgba(57, 181, 74, 0.65); }
.btn-primary:hover { background: var(--leaf-dark); }
.btn-dark { background: var(--pine); color: var(--white); }
.btn-dark:hover { background: var(--pine-deep); }
.btn-outline { border: 2px solid var(--pine); color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: var(--white); }
.btn-light { background: var(--white); color: var(--pine); }
.btn-light:hover { background: var(--mint); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: 10px 22px; font-size: 0.92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 245, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(14, 59, 40, 0.35); }
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--mint); color: var(--pine); }
.nav-links a.active { background: var(--pine); color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

/* Event strip above nav */
.event-strip {
  background: var(--pine);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
}
.event-strip strong { color: var(--leaf); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 860px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.hero-media, .hero-media img, .hero-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 44, 30, 0.25) 0%, rgba(10, 44, 30, 0.45) 55%, rgba(10, 44, 30, 0.9) 100%);
}
.hero-inner { width: 100%; padding: 120px 0 64px; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--leaf); }
.hero .lead { color: rgba(255, 255, 255, 0.85); margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Lanyard-style event badge */
.badge-lanyard {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--leaf);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.badge-lanyard strong { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0; }

/* Hero stats row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
  backdrop-filter: blur(10px);
}
.hero-stats > div { background: rgba(10, 44, 30, 0.55); padding: 20px 24px; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; color: var(--leaf); line-height: 1.1; }
.hero-stats span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }

/* ---------- Marquee ticker ---------- */
.ticker {
  background: var(--leaf);
  color: var(--pine-deep);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.ticker-track { display: inline-flex; gap: 48px; animation: ticker 38s linear infinite; will-change: transform; }
.ticker span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.ticker span::after { content: "✳"; font-size: 0.9em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.dark { background: var(--pine); color: var(--white); }
.section.dark-deep { background: var(--pine-deep); color: var(--white); }
.section.mint { background: var(--mint-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 16px; }

/* Editorial split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-media .float-chip {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--pine);
  color: var(--white);
  border-radius: 14px;
  padding: 16px 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}
.split-media .float-chip b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--leaf); letter-spacing: 0; text-transform: none; }

/* ---------- Cards — ticket-stub system (v2, no icons) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 28px 66px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  left: 46px;
  top: 20px;
  bottom: 20px;
  border-left: 1.5px dashed rgba(22, 36, 27, 0.22);
}
.card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--pine);
  box-shadow: 9px 9px 0 -1px var(--mint), 9px 9px 0 0 var(--pine);
}
.card-tag {
  position: absolute;
  left: 0;
  top: 26px;
  width: 46px;
  display: flex;
  justify-content: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--leaf-dark);
}
.card-tag::after {
  content: "";
  width: 1px;
  height: 18px;
  background: var(--leaf);
  margin-top: 10px;
  align-self: center;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card ul { margin-top: 14px; display: grid; gap: 8px; }
.card ul li { font-size: 0.92rem; color: var(--muted); padding-left: 22px; position: relative; }
.card ul li::before { content: "—"; position: absolute; left: 0; color: var(--leaf); font-weight: 600; }
/* numeric step chip (kept for ordered process lists only) */
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--pine);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
}
.section.dark .card, .section.dark-deep .card { background: rgba(255, 255, 255, 0.05); border-color: var(--line-light); }
.section.dark .card::before { border-color: rgba(255, 255, 255, 0.25); }
.section.dark .card-tag { color: var(--leaf); }
.section.dark .card-tag::after { background: var(--leaf); }
.section.dark .card h3 { color: var(--white); }
.section.dark .card p, .section.dark .card ul li { color: rgba(255, 255, 255, 0.72); }
.section.dark .card:hover {
  border-color: var(--leaf);
  box-shadow: 9px 9px 0 -1px rgba(57, 181, 74, 0.2), 9px 9px 0 0 var(--leaf);
}

/* ---------- Gallery / bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  grid-column: span 4;
}
.tile.wide { grid-column: span 8; }
.tile.half { grid-column: span 6; }
.tile.tall { min-height: 420px; }
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 0.7s var(--ease);
}
.tile:hover img { transform: scale(1.05); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 44, 30, 0) 35%, rgba(10, 44, 30, 0.86) 100%);
}
.tile-label { padding: 24px; width: 100%; }
.tile-label .tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf);
  display: block;
  margin-bottom: 6px;
}
.tile-label h3 { color: var(--white); font-size: 1.2rem; }
.tile-label p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.8); margin-top: 4px; }

/* ---------- Chips ---------- */
.chip-wall { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 0.93rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.chip:hover { background: var(--mint); border-color: var(--leaf); transform: translateY(-2px); }
.section.dark .chip { background: rgba(255, 255, 255, 0.06); border-color: var(--line-light); color: var(--white); }
.section.dark .chip:hover { background: rgba(57, 181, 74, 0.2); border-color: var(--leaf); }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; text-align: center; }
.stats-band b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--leaf); line-height: 1; }
.stats-band span { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); display: block; margin-top: 10px; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--leaf); font-weight: 400; transition: transform 0.3s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muted); }
.faq-item .faq-body a { color: var(--leaf-dark); font-weight: 600; text-decoration: underline; }

/* ---------- Answer box (AEO quick answers) ---------- */
.answer-box {
  background: var(--mint-soft);
  border-left: 4px solid var(--leaf);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 26px;
  margin: 22px 0;
  font-size: 1.02rem;
}
.answer-box strong { color: var(--pine); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--pine);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(44px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 20%, rgba(57, 181, 74, 0.35), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(231, 168, 62, 0.22), transparent 45%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.8); max-width: 55ch; margin: 0 auto 30px; }
.cta-band .hero-actions { justify-content: center; margin-top: 0; }

/* ---------- Forms ---------- */
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
input[type="email"], input[type="text"], input[type="tel"], select, textarea {
  font: inherit;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  min-width: 0;
  flex: 1;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(57, 181, 74, 0.15); }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.form-msg { margin-top: 12px; font-weight: 600; font-size: 0.95rem; }
.form-msg.ok { color: var(--leaf-dark); }
.form-msg.err { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: rgba(255, 255, 255, 0.75); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 56px; }
.footer-grid h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--leaf); margin-bottom: 18px; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-logo img { height: 54px; margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 18px 0 0;
}
.breadcrumb a:hover { color: var(--leaf-dark); }
.breadcrumb span { margin: 0 8px; color: var(--leaf); }

/* Page hero (interior pages) */
.page-hero { position: relative; padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 6vw, 80px); }
.page-hero.with-image { min-height: 420px; display: flex; align-items: flex-end; color: var(--white); isolation: isolate; overflow: hidden; }
.page-hero.with-image .hero-media { z-index: -2; }
.page-hero.with-image::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 44, 30, 0.35), rgba(10, 44, 30, 0.85));
}
.page-hero.with-image h1 { color: var(--white); }
.page-hero.with-image .lead { color: rgba(255, 255, 255, 0.85); }

/* ---------- Table (schedule) ---------- */
.info-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.info-table th, .info-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.info-table th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; background: var(--mint-soft); color: var(--pine); }
.info-table tr:last-child td { border-bottom: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.22s; }
.reveal[data-delay="3"] { transition-delay: 0.34s; }
.reveal[data-delay="4"] { transition-delay: 0.46s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .btn, .card, .tile img, .chip { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile, .tile.wide, .tile.half { grid-column: span 6; }
  .tile.half { grid-column: span 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    background: var(--paper);
    z-index: 99;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0s 0.45s;
  }
  .nav-links.open { visibility: visible; transform: none; transition: transform 0.4s var(--ease), visibility 0s 0s; }
  .nav-links a { font-size: 1.3rem; font-family: var(--font-display); }
  .nav-toggle { display: flex; z-index: 100; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-cta .btn { display: none; }
  .split { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .tile.half { grid-column: span 6; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .split-media .float-chip { left: 12px; bottom: -14px; }
}
