/* =====================================================================
   Ethiopian Agri-Business Expo 2026 — main stylesheet
   Design tokens → base → components →
   responsive (1400 / 1180 / 1070 / 1024 / 985 / 920 / 560 / 380)
===================================================================== */
:root{
  /* Earth + forest palette */
  --forest-950:#08190f;--forest-900:#0c2316;--forest-800:#123420;--forest-700:#1a4a2e;
  --forest-600:#236b40;--forest-500:#2f8a54;--forest-400:#54a874;
  --brass-800:#7e5a1a;--brass-700:#9a6f24;--brass-600:#b8862f;--brass-500:#cda14a;--brass-400:#e3c074;--brass-300:#f0d59a;
  --clay:#bd6a3a;
  --paper:#f7f2e8;--paper-2:#efe7d6;--paper-3:#e7dcc6;
  --ink:#13201a;--muted:#5c6b60;--line:#ddd2bd;--line-soft:#e8dfcd;--white:#fff;
  --err:#9c2f25;--err-line:#c65f56;
  --radius:14px;--radius-lg:22px;
  --shadow:0 24px 60px -24px rgba(8,25,15,.35);--shadow-sm:0 10px 30px -16px rgba(8,25,15,.28);
  --maxw:1440px;
  /* Poppins throughout. Two role-based names are kept so display and body type
     can diverge again later without touching every rule. Every fallback is a
     sans — Poppins is geometric, so a serif fallback would misrender badly. */
  --display:"Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --body:"Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --ease:cubic-bezier(.22,.61,.36,1);
}
*{box-sizing:border-box;margin:0;padding:0}
/* 17px, not 18px: Poppins' x-height is ~10% larger than the grotesque this was
   originally set for, so 17px Poppins reads at about the same optical size as
   18px did. Spacing here is nearly all px, so this rescales type only. */
/* scroll-padding-top must clear the 116px sticky bar, or anchor targets land
   underneath it. Bar height + ~36px breathing room. */
html{scroll-behavior:smooth;scroll-padding-top:152px;font-size:17px}
body{font-family:var(--body);color:var(--ink);background:var(--paper);line-height:1.7;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
/* subtle paper grain */
body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.5;
  background-image:radial-gradient(rgba(120,100,60,.05) 1px,transparent 1px);background-size:3px 3px}
/* Poppins is geometric and runs wide, so display type is tracked tighter than
   Fraunces needed — without this, large headings look loose and unset. */
h1,h2,h3,h4{font-family:var(--display);line-height:1.16;font-weight:600;letter-spacing:-.025em;text-wrap:balance}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
::selection{background:var(--brass-400);color:var(--forest-900)}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px;position:relative;z-index:1}

/* Keyboard focus — visible ring on light surfaces, brass on dark bands */
:focus-visible{outline:2px solid var(--forest-600);outline-offset:2px;border-radius:4px}
.hero :focus-visible,.price :focus-visible,.sticky-cta :focus-visible,footer :focus-visible{outline-color:var(--brass-400)}

/* Skip link — off-screen until focused */
.skip-link{position:fixed;top:0;left:0;z-index:100;transform:translateY(-120%);background:var(--forest-800);color:#fff;
  padding:12px 22px;border-radius:0 0 12px 0;font-weight:600;font-size:.9rem;transition:transform .2s var(--ease)}
.skip-link:focus{transform:none}

.eyebrow{display:inline-flex;align-items:center;gap:10px;font-family:var(--body);font-size:.74rem;font-weight:600;
  letter-spacing:.22em;text-transform:uppercase;color:var(--brass-800)}
.eyebrow::before{content:"";width:26px;height:1px;background:var(--brass-600)}
.eyebrow.center-eb::before{display:none}
.section{padding:104px 0;position:relative}
/* Trimmed for Poppins, which is ~23% wider than Fraunces at the same cap-height
   and so fills far more of the container. The vw term is trimmed alongside the
   rem cap, otherwise only viewports past the cap would shrink and mid-widths
   would keep the old size. */
.section h2{font-size:clamp(1.95rem,4vw,3rem);margin:14px 0 16px;font-weight:700}
.section .lead{max-width:680px;color:var(--muted);font-size:1.1rem}
.center{text-align:center}
.center .lead{margin:0 auto}

/* NAV */
header.nav{position:sticky;top:0;z-index:50;background:rgba(247,242,232,.82);backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;transition:.3s var(--ease)}
header.nav.scrolled{border-bottom-color:var(--line);box-shadow:0 8px 30px -22px rgba(8,25,15,.5)}
header.nav.scrolled .nav-inner{height:88px}
header.nav.scrolled .brand-logo{height:72px}
/* 116px: logo raised to 100px with 8px clear above and below.
   Must be kept in sync with .nav-links{top:} below and
   html{scroll-padding-top:} above, or the mobile menu detaches from the bar
   and anchor links land underneath it. */
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:116px;gap:16px;transition:height .3s var(--ease)}
/* flex-shrink:0 belongs on the link, not only on the logo inside it: as a flex
   item of .nav-inner the link shrinks first, and the logo then overflows a box
   narrower than itself. Measured crushing the brand from 108px to 21px in the
   band just above the burger breakpoint. */
.brand{display:flex;align-items:center;gap:13px;color:var(--forest-800);flex-shrink:0}
/* The .mark / .bt / small icon-and-text lockup rules that used to live here are
   gone: header and footer both show the logo artwork now, and nothing on this
   page uses them. terms.html still has a lockup, but it carries its own copy in
   terms.css, so it is unaffected. */
/* Header and footer both use the official logo image, sized by height with
   width:auto so it never distorts and does not depend on the asset's pixel
   dimensions — the current export is 1149x767, trimmed to the ink, transparent
   background.
   100px (from 72px): the logo is a 5-line stacked lockup; at 72px the smallest
   text lines rendered at ~7px, below the readable threshold. 100px keeps those
   lines at ~10–11px rendered height — legible at 1x and above. */
.brand-logo{height:100px;width:auto;flex-shrink:0;object-fit:contain;display:block;transition:height .3s var(--ease)}
.nav-links{display:flex;gap:2px;align-items:center}
.nav-links a{font-size:.9rem;font-weight:500;color:var(--ink);padding:9px 14px;border-radius:9px;transition:.2s;position:relative;white-space:nowrap}
.nav-links a:not(.cta)::after{content:"";position:absolute;left:14px;right:14px;bottom:5px;height:1.5px;
  background:var(--brass-600);transform:scaleX(0);transform-origin:left;transition:transform .25s var(--ease)}
.nav-links a:not(.cta):hover::after{transform:scaleX(1)}
.nav-links a.cta{margin-left:8px;background:var(--forest-700);color:#fff;padding:11px 22px;border-radius:50px;font-weight:600;
  box-shadow:0 10px 24px -12px rgba(26,74,46,.9)}
.nav-links a.cta:hover{background:var(--forest-800);transform:translateY(-1px)}
.burger{display:none;background:none;border:0;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;flex-shrink:0}
.burger span{width:24px;height:2px;background:var(--forest-800);border-radius:2px;transition:.25s}

/* BUTTONS */
.btn{display:inline-flex;align-items:center;gap:10px;font-family:var(--body);font-weight:600;padding:15px 30px;
  border-radius:50px;font-size:1rem;cursor:pointer;border:1.5px solid transparent;transition:.22s var(--ease);white-space:nowrap}
.btn svg{transition:transform .22s var(--ease)}
.btn-gold{background:linear-gradient(135deg,var(--brass-500),var(--brass-600));color:var(--forest-950);
  box-shadow:0 14px 30px -14px rgba(184,134,47,.9)}
.btn-gold:hover{transform:translateY(-2px)}.btn-gold:hover svg{transform:translateX(4px)}
.btn-ghost{background:transparent;border-color:rgba(255,255,255,.45);color:#fff}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.btn-green{background:var(--forest-700);color:#fff;box-shadow:0 14px 30px -14px rgba(26,74,46,.9)}
.btn-green:hover{background:var(--forest-800);transform:translateY(-2px)}
.btn-green:disabled{opacity:.7;cursor:default;transform:none}

/* HERO — left-aligned editorial */
.hero{position:relative;min-height:82vh;display:flex;align-items:center;
  padding:122px 0 86px;color:#fff;overflow:hidden}
.hero-bg{position:absolute;inset:0;background:var(--forest-900) url('assets/hero_wheat.jpg') center/cover no-repeat;transform:scale(-1.04,1.04)}
.hero-overlay{position:absolute;inset:0;background:
  linear-gradient(90deg,rgba(8,25,15,.92) 0%,rgba(8,25,15,.74) 44%,rgba(8,25,15,.3) 100%),
  linear-gradient(0deg,rgba(8,25,15,.72),transparent 52%)}
.hero-grain{position:absolute;inset:0;opacity:.3;mix-blend-mode:overlay;pointer-events:none;
  background-image:repeating-linear-gradient(0deg,rgba(255,255,255,.04) 0 1px,transparent 1px 3px)}
.hero .wrap{position:relative;z-index:2;width:100%}
.hero .eyebrow{color:var(--brass-400)}
/* 1.04 was tuned to Fraunces' short ascenders; Poppins is taller and collides
   at that leading, so the hero headline gets a little more room. */
.hero h1{font-size:clamp(2.3rem,5.1vw,4.2rem);margin:18px 0 0;max-width:20ch;font-weight:600;line-height:1.1}
.hero h1 .accent{font-style:italic;color:var(--brass-400)}
.hero .tagline{font-family:var(--display);font-style:italic;font-size:clamp(1.15rem,2.3vw,1.55rem);font-weight:500;
  color:var(--brass-300);margin:14px 0 18px}
.hero-desc{font-size:1.12rem;color:rgba(255,255,255,.97);max-width:64ch;margin:0 0 24px;line-height:1.65}
.hero-line{display:flex;flex-wrap:wrap;align-items:center;gap:11px 20px;margin:0 0 32px;
  font-weight:500;font-size:.96rem;color:#fff}
.hero-line .hl{display:inline-flex;align-items:center;gap:9px}
.hero-line .hl svg{color:var(--brass-400);flex-shrink:0}
.hero-line .sep{width:1px;height:17px;background:rgba(255,255,255,.26)}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:38px}

/* COUNTDOWN */
.countdown{display:inline-flex;gap:10px;background:rgba(8,25,15,.5);backdrop-filter:blur(8px);
  border:1px solid rgba(227,192,116,.26);border-radius:16px;padding:14px 20px;box-shadow:var(--shadow-sm)}
.cd-cell{min-width:56px;text-align:center;padding-left:14px}
.cd-cell:first-child{padding-left:0}
.cd-cell+.cd-cell{border-left:1px solid rgba(255,255,255,.14)}
.cd-cell .n{font-family:var(--display);font-size:1.7rem;font-weight:600;color:#fff;line-height:1;font-variant-numeric:tabular-nums}
.cd-cell .l{display:block;font-size:.6rem;letter-spacing:.15em;text-transform:uppercase;color:rgba(255,255,255,.75);margin-top:6px}

.logo-pill{background:#fff;border-radius:12px;padding:11px 18px;display:flex;align-items:center;box-shadow:var(--shadow-sm);height:58px}
.logo-pill img{height:32px;width:auto;object-fit:contain}

/* CROP TICKER */
.ticker{background:var(--forest-900);color:var(--brass-300);overflow:hidden;border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06)}
.ticker-track{display:flex;gap:0;white-space:nowrap;animation:scrollx 38s linear infinite;will-change:transform}
.ticker:hover .ticker-track{animation-play-state:paused}
.ticker span{font-family:var(--display);font-style:italic;font-size:1.15rem;padding:16px 30px;display:inline-flex;align-items:center;gap:30px}
.ticker span::after{content:"✦";font-style:normal;color:var(--brass-600);font-size:.8rem}
@keyframes scrollx{to{transform:translateX(-50%)}}

/* STATS */
.stats{background:var(--forest-950);color:#fff;position:relative}
.stats .grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat{padding:54px 24px;text-align:center;border-right:1px solid rgba(255,255,255,.09)}
.stat:last-child{border-right:0}
.stat .num{font-family:var(--display);font-size:clamp(2.6rem,4vw,3.4rem);font-weight:700;color:var(--brass-400);line-height:1}
.stat .lbl{font-size:.86rem;color:rgba(255,255,255,.72);margin-top:12px;font-weight:500;letter-spacing:.04em}
/* Expected-audience breakdown sitting under the figures on the same dark band */
.aud{border-top:1px solid rgba(255,255,255,.09);padding:26px 0 34px;display:flex;flex-wrap:wrap;
  align-items:center;justify-content:center;gap:14px 24px}
.aud .aud-h{font-size:.74rem;letter-spacing:.2em;text-transform:uppercase;color:var(--brass-400);font-weight:600}
.aud ul{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.aud li{font-size:.86rem;font-weight:500;color:rgba(255,255,255,.88);background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);padding:7px 16px;border-radius:50px}

/* SECTION HEAD */
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;flex-wrap:wrap;margin-bottom:50px}
.sec-head .lead{margin:0}

/* ORGS */
/* minmax(0,…), not 1fr: the logo lockups inside have a fixed pixel width, and an
   auto-min track would let that width push the card past the viewport on phones */
.about-org{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px}
.org{background:var(--white);border:1px solid var(--line-soft);border-radius:var(--radius-lg);overflow:hidden;
  box-shadow:var(--shadow-sm);display:flex;flex-direction:column;transition:.3s var(--ease)}
.org:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.org .photo{height:200px;background-color:var(--paper-3);background-size:cover;background-position:center;position:relative}
.org .photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(8,25,15,.4))}
.org .body{padding:32px;flex:1;display:flex;flex-direction:column}
/* Width drives the size — that is what keeps the ECPEA name legible, since it is
   four lines of text where Nordic's is one word. max-height then reins Nordic in:
   at 2.86 aspect it would otherwise tower over ECPEA's 4.78 at the same width.
   Fixed box height keeps the two pills level while each lockup centres inside. */
.org .logobox{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;display:inline-flex;
  align-self:flex-start;margin:-70px 0 20px;box-shadow:var(--shadow-sm);align-items:center;justify-content:center;
  position:relative;max-width:100%;height:78px}
.org .logobox img{width:200px;max-width:100%;height:auto;max-height:54px;object-fit:contain}
.org .role{font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;font-weight:600;color:var(--brass-800);margin-bottom:8px}
.org h3{font-size:1.4rem;margin-bottom:12px;line-height:1.2}
.org p{color:var(--muted);font-size:.98rem;margin-bottom:14px}
/* host-association credibility stats */
.org-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:2px 0 20px;padding:16px 0;
  border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.org-stat .n{font-family:var(--display);font-size:1.4rem;font-weight:700;color:var(--forest-700);line-height:1}
.org-stat .l{display:block;margin-top:5px;font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.facts{list-style:none;display:grid;gap:10px;margin-top:auto;padding-top:6px}
.facts li{display:flex;gap:11px;align-items:flex-start;font-size:.92rem;font-weight:500}
.facts svg{flex-shrink:0;color:var(--forest-600);margin-top:4px}

/* SPLIT */
.split{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}
.split.rev .media{order:2}
.bullet-list{list-style:none;margin-top:22px;display:grid;gap:13px}
.bullet-list li{display:flex;gap:13px;align-items:flex-start;font-weight:500}
.bullet-list li svg{flex-shrink:0;color:var(--forest-600);margin-top:4px}
.media{position:relative}
/* object-fit keeps the crop centered whatever aspect ratio the final photography ships in */
.media img{border-radius:var(--radius-lg);box-shadow:var(--shadow);width:100%;height:100%;
  object-fit:cover;object-position:center;max-height:480px;background:var(--paper-3)}
.media .frame{position:absolute;inset:14px -14px -14px 14px;border:1.5px solid var(--brass-500);border-radius:var(--radius-lg);z-index:-1}
.split.rev .media .frame{inset:14px 14px -14px -14px}
.panel{background:linear-gradient(165deg,var(--forest-800),var(--forest-600));border-radius:var(--radius-lg);padding:42px;
  color:#fff;box-shadow:var(--shadow);position:relative;overflow:hidden}
.panel::before{content:"";position:absolute;top:-40px;right:-40px;width:160px;height:160px;border-radius:50%;
  background:radial-gradient(circle,rgba(227,192,116,.25),transparent 70%)}
.panel h3{color:var(--brass-400);font-size:1.45rem;margin-bottom:22px}
.panel-lead{color:rgba(255,255,255,.8);font-size:.94rem;margin:-8px 0 24px;position:relative;z-index:1}
.panel ul{list-style:none;display:grid;gap:15px}
.panel ul li{display:flex;gap:12px;align-items:flex-start;color:rgba(255,255,255,.92);position:relative;z-index:1}
.panel ul li svg{flex-shrink:0;color:var(--brass-400);margin-top:3px}
/* Two-line entries: the label carries the scan, the sub-line the detail. Muted
   and a step down in size so a run of five still reads as a list, not prose. */
.panel ul li strong{display:block;font-weight:600}
.panel ul li .sub{display:block;margin-top:3px;font-size:.86rem;font-weight:400;line-height:1.5;color:rgba(255,255,255,.68)}

.alt{background:linear-gradient(180deg,var(--paper-2),var(--paper));border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.crop-tags{display:flex;flex-wrap:wrap;gap:11px;margin-top:26px}
.crop-tags span{background:#fff;border:1px solid var(--line);padding:9px 18px;border-radius:50px;font-weight:600;
  color:var(--forest-700);font-size:.92rem}

/* "The Expo will convene" — audience roster closing the overview section */
.convene{margin-top:clamp(46px,5vw,70px);padding-top:clamp(34px,3.6vw,46px);border-top:1px solid var(--line-soft)}
.convene h3{font-size:1.4rem}
.convene>p{color:var(--muted);font-size:.98rem;margin-top:8px;max-width:60ch}

/* BUSINESS MATCHMAKING — white card closing the participate section */
.match{margin-top:clamp(46px,5vw,70px);background:#fff;border:1px solid var(--line-soft);border-radius:var(--radius-lg);
  padding:clamp(28px,3.2vw,44px);box-shadow:var(--shadow-sm);
  display:grid;grid-template-columns:.92fr 1.08fr;gap:clamp(26px,3vw,44px);align-items:center}
.match h3{font-size:1.5rem;margin:12px 0 10px}
.match-head p{color:var(--muted)}
.match-list{list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:13px}
.match-list li{display:flex;gap:11px;align-items:flex-start;font-weight:500;font-size:.95rem;
  background:var(--paper);border:1px solid var(--line-soft);border-radius:var(--radius);padding:14px 16px}
.match-list svg{flex-shrink:0;color:var(--forest-600);margin-top:2px}

/* MEDIA & PROMOTION — channel cards */
.promo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.promo{background:#fff;border:1px solid var(--line-soft);border-radius:var(--radius-lg);padding:30px 28px;
  box-shadow:var(--shadow-sm);transition:transform .3s var(--ease),box-shadow .3s var(--ease)}
.promo:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.promo .ico{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;margin-bottom:16px;
  background:linear-gradient(150deg,var(--forest-600),var(--forest-800));color:var(--brass-400)}
.promo h3{font-size:1.1rem;margin-bottom:7px}
.promo p{color:var(--muted);font-size:.93rem}

/* OBJECTIVES — "mission index": a brass spine threading five aims */
/* highlighted band so the section stands apart from its neighbours */
#objectives{background:#eef2ea;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.aims{display:grid;grid-template-columns:.82fr 1.18fr;gap:clamp(40px,5vw,72px);align-items:start}
/* left column stays pinned while the list scrolls past it */
.aims-head{position:sticky;top:160px;align-self:start}
.aims-head .lead{max-width:42ch}
.aims-list{list-style:none;position:relative;padding-left:0}
/* the spine — a vertical brass line the nodes sit on (Motion draws it on scroll) */
.aim-spine{position:absolute;left:25px;top:34px;bottom:34px;width:2px;transform-origin:top;
  background:linear-gradient(180deg,var(--brass-400),var(--brass-600) 60%,transparent)}
.aim{position:relative;display:flex;gap:18px;align-items:flex-start;padding:26px 0;
  border-bottom:1px solid var(--line-soft)}
.aim:last-child{border-bottom:0}
.aim-node{position:relative;z-index:1;flex-shrink:0;width:52px;height:52px;border-radius:50%;
  display:grid;place-items:center;background:#eef2ea;border:1px solid var(--line);color:var(--forest-700);
  box-shadow:0 0 0 6px #eef2ea;transition:.3s var(--ease)}
.aim.is-active .aim-node{background:linear-gradient(135deg,var(--forest-600),var(--forest-800));
  color:var(--brass-400);border-color:transparent;transform:scale(1.06)}
/* index sits to the left, top-aligned with the title + description */
.aim-idx{flex-shrink:0;min-width:1.6em;padding-top:3px;text-align:right;
  font-family:var(--display);font-style:italic;font-size:1.25rem;color:var(--brass-600);letter-spacing:.02em}
.aim-text{flex:1;min-width:0;padding-top:3px}
.aim h3{font-size:1.22rem;margin:0 0 5px;line-height:1.25;transition:color .25s var(--ease)}
.aim.is-active h3{color:var(--forest-800)}
.aim p{color:var(--muted);font-size:.98rem;max-width:54ch}

/* PROGRAM */
.days{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.day{background:#fff;border:1px solid var(--line-soft);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm);transition:.3s var(--ease)}
.day:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.day .top{background:linear-gradient(150deg,var(--forest-700),var(--forest-900));color:#fff;padding:28px 28px 24px;position:relative;overflow:hidden}
.day .top::after{content:"";position:absolute;bottom:-30px;right:-30px;width:110px;height:110px;border-radius:50%;border:1px solid rgba(227,192,116,.3)}
.day .top .d{font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;color:var(--brass-400);font-weight:600}
.day .top h3{font-size:1.6rem;margin:8px 0 4px}
.day .top .date{font-size:.9rem;color:rgba(255,255,255,.78)}
.day ul{list-style:none;padding:26px 28px;display:grid;gap:15px}
.day ul li{display:flex;gap:12px;align-items:flex-start;font-weight:500;font-size:.97rem}
.day ul li svg{flex-shrink:0;color:var(--forest-600);margin-top:3px}

/* PACKAGES */
.price{position:relative;color:#fff;overflow:hidden}
.price-bg{position:absolute;inset:0;background:var(--forest-950) url('assets/field_corn.jpg') center/cover no-repeat}
.price-ov{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,25,15,.95),rgba(12,35,22,.97))}
.price .wrap{position:relative;z-index:2}
.price .eyebrow{color:var(--brass-400)}.price .eyebrow::before{background:var(--brass-400)}
.price h2{color:#fff}.price .lead{color:rgba(255,255,255,.82)}
.price-tabs{display:inline-flex;gap:6px;padding:6px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);
  border-radius:50px;margin:30px auto 40px}
.price-tabs button{background:transparent;border:0;color:rgba(255,255,255,.85);font-weight:600;padding:11px 28px;border-radius:50px;
  cursor:pointer;font-size:.95rem;transition:.25s var(--ease);font-family:var(--body)}
.price-tabs button.active{background:linear-gradient(135deg,var(--brass-500),var(--brass-600));color:var(--forest-950)}
.price-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:26px;max-width:860px;margin:0 auto}
.tier{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-radius:var(--radius-lg);padding:38px;
  backdrop-filter:blur(8px);position:relative;transition:.3s var(--ease)}
.tier:hover{transform:translateY(-5px);background:rgba(255,255,255,.09);z-index:2}
/* Downward-only shadow: spread = -blur gives zero horizontal reach, so nothing bleeds into the gap */
.tier.feat{border-color:var(--brass-500);box-shadow:0 0 0 1px var(--brass-500),0 22px 40px -40px rgba(8,25,15,.6)}
.tier .badge{position:absolute;top:-13px;right:26px;background:linear-gradient(135deg,var(--brass-400),var(--brass-600));
  color:var(--forest-950);font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:6px 15px;border-radius:50px}
.tier h3{font-size:1.4rem;color:#fff}
.tier .size{color:var(--brass-400);font-weight:500;margin:4px 0 20px;font-size:.95rem}
.tier .amount{font-family:var(--display);font-size:2.4rem;font-weight:700;color:#fff;line-height:1}
.tier .amount small{font-family:var(--body);font-size:.95rem;font-weight:500;color:rgba(255,255,255,.65)}
.tier ul{list-style:none;margin:22px 0 28px;display:grid;gap:12px}
.tier ul li{display:flex;gap:11px;align-items:flex-start;color:rgba(255,255,255,.9);font-size:.95rem}
.tier ul li svg{flex-shrink:0;color:var(--brass-400);margin-top:3px}
.tier .btn{width:100%;justify-content:center}
/* Registration windows — local participants only, so .win-block is a
   [data-pricing] panel like the two .price-grid panels and takes its
   display:grid from the [data-pricing].show rule at the end of this block.
   Nothing here may set .win-block's display, or the tabs could no longer
   hide it.
   The 860px measure matching .price-grid above it — so the two blocks share
   one edge — sits on .win-block's track rather than on .windows itself: as a
   grid item, .windows with margin:0 auto would shrink to max-content instead
   of stretching, and auto-fit would then resolve every column to its 210px
   floor rather than the 272px the full width gives. A definite track keeps
   that width definite.
   The left brass rule carries the same role it does on the printed
   registration form: it groups the three dated windows without giving them the
   card weight of a .tier, which would read as three more packages to choose
   from.
   auto-fit rather than repeat(3,1fr) plus breakpoints: the columns fall to 2-up
   and then 1-up on their own before a date can break across lines. The 210px
   floor is measured, not guessed — "until 30 September 2026" sets the longest
   line at 181.5px, and the rule plus its 18px of padding adds 21px, so 203px
   is the true minimum; the floor sits a few px above it for font-rendering
   variance. Re-measure if the window labels or dates change. */
.win-block{gap:18px;margin-top:54px;grid-template-columns:min(860px,100%);justify-content:center}
.win-lead{text-align:center;color:rgba(255,255,255,.78);font-size:.9rem;max-width:640px;margin:0 auto}
/* The local-only scope carries the brass the .win-name labels use, so the
   restriction reads at a glance rather than only on a careful read. */
.win-lead strong{color:var(--brass-300);font-weight:600}
.windows{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:22px}
.window{padding:2px 0 2px 18px;border-left:3px solid var(--brass-500)}
.win-name{font-family:var(--display);font-size:1.15rem;font-weight:600;color:var(--brass-400);line-height:1.2}
.win-rate{color:#fff;font-weight:500;font-size:.95rem;margin-top:4px}
.win-date{color:rgba(255,255,255,.7);font-size:.88rem;line-height:1.45}
.price-note{text-align:center;color:rgba(255,255,255,.78);margin-top:30px;font-size:.9rem;max-width:760px;margin-left:auto;margin-right:auto}
[data-pricing]{display:none}[data-pricing].show{display:grid}

/* Floor plan — the closing block of #packages, shared by both pricing tabs.
   It must never carry a [data-pricing] attribute or the rule directly above
   would hide it, so nothing here may depend on .show either.
   The rule above it is the same divider weight .win-block would use, marking
   the shift from "what a stand costs" to "which stands are left".
   Column ratio: the plan is landscape and its stand numbers are already at the
   edge of legibility inline — the side column is held to .42fr so the artwork
   keeps the larger share, and the full-size link covers the rest. */
.floor{margin-top:60px;padding-top:54px;border-top:1px solid rgba(255,255,255,.14)}
.floor-h{color:#fff;font-size:clamp(1.55rem,3vw,2.05rem);margin-top:12px}
.floor-lead{color:rgba(255,255,255,.8);font-size:.95rem;max-width:660px;margin:12px auto 0}
.floor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.62fr);
  gap:clamp(28px,3.5vw,52px);align-items:start;margin-top:40px}
.floor-sh{font-family:var(--display);font-weight:600;color:#fff;font-size:1.02rem;line-height:1.3;margin-bottom:14px}

/* Stand numbers are tabular so the numeral column aligns as a rail. */
.floor-conf{list-style:none;display:grid;gap:9px}
.floor-conf li{display:flex;gap:10px;color:rgba(255,255,255,.85);font-size:.88rem;line-height:1.45}
.floor-conf b{color:var(--brass-400);font-weight:600;font-variant-numeric:tabular-nums;flex-shrink:0}

.floor-cta .btn{width:100%;justify-content:center}
.floor-note{margin-top:14px;font-size:.84rem;color:rgba(255,255,255,.7);line-height:1.6}
.floor-note a,.fp-asof a{color:var(--brass-300);font-weight:600;text-decoration:underline}
.fp-asof{margin-top:20px;font-size:.82rem;color:rgba(255,255,255,.62);line-height:1.6}

/* ---------------------------------------------------------------------
   THE PLAN ITSELF
   Built from elements, not the poster JPEG. Every status colour, cue and
   dimension below is keyed off [data-st], which is the single attribute the
   client edits to change a stand — see the comment on .floor in index.html.
--------------------------------------------------------------------- */
.fp-wrap{margin-top:36px}
.fp-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.fp-counts{color:rgba(255,255,255,.82);font-size:.9rem;margin:0}
.fp-counts b{color:#fff;font-weight:600;font-variant-numeric:tabular-nums}
.fp-filters{display:inline-flex;flex-wrap:wrap;gap:6px;padding:5px;background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.16);border-radius:50px}
.fp-filters button{background:transparent;border:0;color:rgba(255,255,255,.85);font-family:var(--body);
  font-weight:600;font-size:.82rem;padding:8px 16px;border-radius:50px;cursor:pointer;transition:.25s var(--ease)}
.fp-filters button:hover{color:#fff;background:rgba(255,255,255,.08)}
.fp-filters button.active{background:linear-gradient(135deg,var(--brass-500),var(--brass-600));color:var(--forest-950)}

/* The hall has a floor below which stand numbers stop being legible, so it
   scrolls rather than shrinks. overscroll-behavior-x keeps a swipe that runs
   off the end of the plan from triggering the browser's back gesture. */
.fp-scroll{overflow-x:auto;overscroll-behavior-x:contain;border-radius:var(--radius-lg);
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14);padding:20px}
.fp-scroll::-webkit-scrollbar{height:8px}
.fp-scroll::-webkit-scrollbar-track{background:rgba(255,255,255,.06);border-radius:50px}
.fp-scroll::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22);border-radius:50px}
.fp{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;min-width:940px;align-items:stretch}
.fp-hall{display:grid;gap:22px}
/* One zone = one aisle of the drawing. Pods sit on a row with a wide gap where
   the drawing has a walkway, which is what makes the hall readable as a hall
   rather than as a wall of squares. */
.fp-zone{display:flex;gap:26px;align-items:flex-start}
.fp-pod{display:grid;grid-auto-flow:column;gap:2px}
.fp-pod-col{grid-auto-flow:row}
.fp-pod-2{grid-auto-flow:row;grid-template-columns:repeat(2,auto)}
.fp-pod-3{grid-auto-flow:row;grid-template-columns:repeat(3,auto)}
.fp-pod-big{gap:2px}

/* A stand. 12 m² is the base cell; .st-md is the deeper 18 m² and .st-lg the
   36 m² corner block, sized by the same ratio the drawing uses. The m² figure
   comes from data-m so the markup states the size once. */
.st{position:relative;display:flex;align-items:center;justify-content:center;
  width:46px;height:40px;border:1px solid rgba(8,25,15,.55);border-radius:3px;
  font-family:var(--body);font-size:.78rem;font-weight:600;color:var(--forest-950);
  font-variant-numeric:tabular-nums;text-decoration:none;transition:.18s var(--ease)}
.st-md{height:58px}
.st-lg{width:94px;height:60px;font-size:.9rem}
.st[data-m]::after{content:attr(data-m) "m²";position:absolute;left:3px;bottom:1px;
  font-size:.44rem;font-weight:500;opacity:.72;letter-spacing:0}
.st-lg[data-m]::after{font-size:.5rem;left:5px;bottom:3px}

/* Status. Colour carries the message at a glance, but never alone — each state
   also has an edge or texture, so the plan still reads in greyscale and for
   colour-blind visitors. */
.st[data-st="open"]{background:#fff}
.st[data-st="talk"]{background:#f2e841;border-style:dashed;border-color:rgba(8,25,15,.7)}
.st[data-st="book"]{background:#f3a63a;
  background-image:repeating-linear-gradient(45deg,rgba(8,25,15,.16) 0 2px,transparent 2px 6px)}
.st[data-st="conf"]{background:#2eb872;color:#062314;box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)}

/* Only available stands are links, so only they get affordances. */
a.st{cursor:pointer}
a.st:hover{transform:scale(1.14);z-index:3;box-shadow:0 6px 18px -4px rgba(0,0,0,.5);border-color:var(--forest-950)}
a.st:focus-visible{outline:2px solid var(--brass-300);outline-offset:2px;z-index:3}

/* Filtering dims rather than hides: a stand that vanished would collapse the
   pod around it and the hall would stop being a map. */
.fp[data-filter="open"] .st:not([data-st="open"]),
.fp[data-filter="talk"] .st:not([data-st="talk"]),
.fp[data-filter="book"] .st:not([data-st="book"]),
.fp[data-filter="conf"] .st:not([data-st="conf"]){opacity:.16;filter:grayscale(1)}

/* Landmarks — the fixed features that orient a visitor: what they walk in
   through, and what the stands back onto. */
.fp-amenity{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  width:150px;height:40px;border:1px dashed rgba(255,255,255,.4);border-radius:3px;
  color:rgba(255,255,255,.8);font-size:.72rem;font-weight:600;text-align:center}
.fp-amenity small{font-size:.58rem;font-weight:500;opacity:.7}
.fp-rail{display:flex;flex-direction:column;justify-content:center;gap:18px;
  border-radius:var(--radius);border:1px dashed rgba(255,255,255,.22);background:rgba(255,255,255,.04);
  padding:14px 10px;width:84px;text-align:center;color:rgba(255,255,255,.7);
  font-size:.68rem;font-weight:600;line-height:1.35;text-transform:uppercase;letter-spacing:.08em}
.fp-rail small{font-size:.62rem;font-weight:500;letter-spacing:0;text-transform:none;opacity:.75}
.fp-rail-l span{writing-mode:vertical-rl;transform:rotate(180deg);margin:0 auto}
.fp-entry{color:var(--brass-300);border-top:1px dashed rgba(255,255,255,.22);padding-top:14px}

.fp-hint{margin:12px 0 0;font-size:.8rem;color:rgba(255,255,255,.55)}
.fp-key{list-style:none;display:flex;flex-wrap:wrap;gap:12px 26px;margin-top:22px}
.fp-key li{display:flex;align-items:center;gap:10px;color:rgba(255,255,255,.88);font-size:.88rem}
/* The legend swatches are .st elements, so they inherit every status rule
   above and cannot drift from the plan's own colours and textures. */
.fp-key .st{width:24px;height:20px;flex-shrink:0}

/* GALLERY — scroll-snap carousel */
.gal{position:relative;color:#fff;overflow:hidden}
.gal-bg{position:absolute;inset:0;background:var(--forest-950)}
.gal-ov{position:absolute;inset:0;background:linear-gradient(180deg,var(--forest-900),var(--forest-950) 60%,var(--forest-900))}
.gal .wrap{position:relative;z-index:2}
.gal .eyebrow{color:var(--brass-400)}
.gal h2{color:#fff}
.gal .lead{color:rgba(255,255,255,.82);max-width:660px}
/* The scroller itself. overflow-x:auto plus mandatory snapping is the whole
   mechanism — the buttons below just call scrollBy on this element, so touch,
   trackpad, arrow keys and the controls all move the same single source of
   truth. Scrollbar is hidden because the dots already indicate position. */
.gal-track{display:flex;gap:var(--gal-gap);list-style:none;margin:0;padding:0 0 4px;
  overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;
  scrollbar-width:none;-ms-overflow-style:none}
.gal-track::-webkit-scrollbar{display:none}
.gal-track:focus-visible{outline:2px solid var(--brass-400);outline-offset:6px;border-radius:var(--radius-lg)}
/* Whole slides only — no half-image peeking past the right edge. Slide width is
   an exact share of the track, so --gal-per slides fit with nothing cut off, and
   the JS pages by exactly that many at a time. The count steps down with the
   viewport (see the ≤1000px and ≤640px blocks) rather than letting slides shrink
   indefinitely. The arrows and dots carry the "there is more" cue that a cut-off
   slide used to give. */
.gal-carousel{--gal-per:3;--gal-gap:20px;
  --gal-slide:calc((100% - (var(--gal-per) - 1) * var(--gal-gap)) / var(--gal-per))}
.gal-slide{flex:0 0 var(--gal-slide);scroll-snap-align:start}
/* No trailing spacer. An earlier version padded the tail so the last slide could
   reach the left edge, but that is exactly what left empty background beside it.
   The looping clones the script inserts now supply that content instead, so
   every slide can be leftmost with real images either side of it. */
.gal-slide figure{margin:0;height:100%;display:flex;flex-direction:column}
/* height:auto is load-bearing, not tidying. The slides carry width/height
   attributes, which are presentational hints mapping to the CSS height
   property — and once both width and height are definite, aspect-ratio is
   ignored, so every slide rendered at its full 934px instead of 4:3. */
.gal-slide img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-lg);
  border:1px solid rgba(255,255,255,.14);background:var(--forest-800)}

.gal-tag{display:inline-block;font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--brass-300);border:1px solid rgba(227,192,116,.4);border-radius:50px;padding:3px 10px;margin-right:8px}
.gal-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:30px}
.gal-btn{width:46px;height:46px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;cursor:pointer;
  border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.07);color:#fff;transition:.2s var(--ease)}
/* No :disabled state — the carousel wraps at both ends, so the buttons stay
   live for the life of the page. */
.gal-btn:hover{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.5)}
.gal-dots{display:flex;align-items:center;gap:8px}
.gal-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.28);cursor:pointer;
  transition:.25s var(--ease)}
.gal-dot:hover{background:rgba(255,255,255,.55)}
.gal-dot[aria-current="true"]{width:24px;border-radius:50px;background:var(--brass-400)}

/* SPONSORSHIP
   Light section by design, and .alt so it alternates against the plain-paper
   #promotion above it. Going dark here would collide with the dark .price
   block immediately below and read as one over-long band; on paper, Platinum
   can invert to forest instead and be the one dark card in the section. */
.spon-sec .lead{max-width:720px}
/* start, not stretch: stretch ties the three cards to a shared row height, so
   opening one card's <details> stretched all three and left two cards padded
   with empty space. Each card now sizes to its own content and only the opened
   one grows. Nothing is lost by this — every card carries five single-line
   benefits, so their collapsed heights already match to the pixel. That parity
   is what keeps the CTAs level; it is a property of the content, so a card
   given a sixth benefit or a wrapping line will sit lower than its siblings. */
.spon-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:start}
.spon{background:#fff;border:1px solid var(--line-soft);border-radius:var(--radius-lg);padding:36px 32px;
  box-shadow:var(--shadow-sm);position:relative;display:flex;flex-direction:column;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease)}
.spon:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
/* Platinum: inverted card. The forest gradient is the one already used by
   .panel, so the lead tier reads as part of the same system. */
.spon.feat{background:linear-gradient(165deg,var(--forest-800),var(--forest-600));border-color:var(--forest-700);
  color:#fff;box-shadow:0 24px 50px -28px rgba(8,25,15,.6)}
.spon-badge{position:absolute;top:-13px;left:32px;background:linear-gradient(135deg,var(--brass-400),var(--brass-600));
  color:var(--forest-950);font-size:.7rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  padding:6px 15px;border-radius:50px}
.spon h3{font-family:var(--display);font-size:1.55rem;font-weight:700;letter-spacing:-.01em}
.spon.feat h3{color:#fff}
.spon-price{font-family:var(--display);font-size:1.85rem;font-weight:700;line-height:1.1;margin-top:8px;color:var(--forest-700)}
.spon.feat .spon-price{color:var(--brass-300)}
.spon-price small{font-family:var(--body);font-size:.9rem;font-weight:500;color:var(--muted)}
.spon.feat .spon-price small{color:rgba(255,255,255,.7)}
.spon-booth{font-size:.92rem;font-weight:500;color:var(--brass-700);margin:10px 0 22px;padding-bottom:22px;
  border-bottom:1px solid var(--line-soft)}
.spon.feat .spon-booth{color:var(--brass-400);border-bottom-color:rgba(255,255,255,.18)}
.spon-list{list-style:none;display:grid;gap:12px;margin:0}
/* .88rem, with the headline lines held to ~31 characters, so every benefit sits
   on one line at every width: 3-up gives a 345px text column at 1440px and the
   longest line needs 265px. Type size alone could not do this — the original
   68-character wording would have needed 9.4px type to fit a 3-up card, so the
   copy carries most of the work here. Both halves of that bargain matter:
   lengthening a bullet past ~31 characters wraps it again at the narrow end of
   the 3-up range and on phones. */
.spon-list li{display:flex;gap:11px;align-items:flex-start;font-size:.88rem;color:var(--ink)}
.spon.feat .spon-list li{color:rgba(255,255,255,.92)}
.spon-list li svg{flex-shrink:0;margin-top:4px;color:var(--forest-500)}
.spon.feat .spon-list li svg{color:var(--brass-400)}
/* The remaining prospectus benefits — 6, 4 and 1 of them, the five that
   distinguish each level having led above. Opening one only grows its own card;
   see the align-items note on .spon-grid. */
.spon-more{margin:22px 0 26px}
.spon-more summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;font-size:.88rem;font-weight:600;
  color:var(--forest-600);padding:9px 0;transition:color .2s}
.spon-more summary::-webkit-details-marker{display:none}
.spon-more summary:hover{color:var(--forest-800)}
.spon.feat .spon-more summary{color:var(--brass-400)}
.spon.feat .spon-more summary:hover{color:var(--brass-300)}
.spon-more summary svg{transition:transform .25s var(--ease)}
.spon-more[open] summary svg{transform:rotate(180deg)}
.spon-more ul{list-style:none;display:grid;gap:9px;margin:6px 0 0;padding-left:15px}
/* below .spon-list's .88rem, or the secondary benefits would outrank the
   headline ones they sit under. These still wrap, and should — they are the
   full prospectus wording, not the tightened labels above. */
.spon-more li{position:relative;font-size:.85rem;color:var(--muted);line-height:1.55}
.spon-more li::before{content:"";position:absolute;left:-15px;top:.62em;width:5px;height:5px;border-radius:50%;
  background:var(--brass-500)}
.spon.feat .spon-more li{color:rgba(255,255,255,.78)}
/* no margin-top:auto here — with align-items:start a card is never taller than
   its content, so there is no free space for it to absorb. The 26px below
   .spon-more is the gap. */
.spon .btn{width:100%;justify-content:center}
.spon-note{text-align:center;color:var(--muted);font-size:.9rem;max-width:780px;margin:34px auto 0}
.spon-note a{color:var(--forest-600);font-weight:600;border-bottom:1px solid rgba(35,107,64,.35)}
.spon-note a:hover{color:var(--forest-800);border-bottom-color:var(--forest-800)}

/* REGISTER */
.reg{background:linear-gradient(180deg,var(--paper),var(--paper-2))}
.form-card{max-width:780px;margin:44px auto 0;background:#fff;border:1px solid var(--line-soft);border-radius:var(--radius-lg);
  padding:44px;box-shadow:var(--shadow)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field{margin-bottom:18px}
.field label{display:block;font-weight:600;font-size:.92rem;margin-bottom:7px;color:var(--ink);letter-spacing:.01em}
.field input,.field select,.field textarea{width:100%;padding:13px 15px;border:1px solid var(--line);border-radius:11px;
  font-family:inherit;font-size:.98rem;background-color:var(--paper);color:var(--ink);transition:.2s}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--forest-500);background-color:#fff;
  box-shadow:0 0 0 3px rgba(47,138,84,.16)}
/* custom dropdown chevron, inset from the right edge with breathing room */
.field select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:46px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6b60' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;background-size:16px}
/* inline validation state — applied by JS before anything is sent */
.field.invalid input,.field.invalid select,.field.invalid textarea{border-color:var(--err-line);background-color:#fffafa}
.field.invalid input:focus,.field.invalid select:focus,.field.invalid textarea:focus{
  border-color:var(--err-line);box-shadow:0 0 0 3px rgba(198,95,86,.18)}
.field-err{color:var(--err);font-size:.82rem;font-weight:500;margin-top:6px}
/* Readonly (the derived Registration Window): reads as a reported value rather
   than an empty box awaiting input, so it gets the tinted ground and no focus
   ring or colour shift. It stays focusable and keeps the global :focus-visible
   outline — a keyboard user still needs to reach and hear it. */
.field input[readonly]{background-color:var(--paper-3);border-color:var(--line-soft);font-weight:600;cursor:default}
.field input[readonly]:focus{border-color:var(--line-soft);background-color:var(--paper-3);box-shadow:none}
.field-hint{color:var(--muted);font-size:.82rem;margin-top:6px}
/* honeypot — hidden from humans, still submitted by naive bots */
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.form-note{font-size:.9rem;color:var(--muted);margin-top:12px}
.form-note a{color:var(--forest-700);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.msg{display:none;padding:16px 18px;border-radius:12px;margin-top:18px;font-weight:500}
.msg.ok{background:#e8f5ec;border:1px solid var(--forest-500);color:var(--forest-800)}
.msg.err{background:#fdecec;border:1px solid #e0746a;color:var(--err)}
.msg.err a{color:var(--err);text-decoration:underline;text-underline-offset:2px;font-weight:600}

/* STICKY REGISTER BAR — visibility toggles with the transform so the hidden
   bar is out of the tab order and the accessibility tree */
.sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:45;background:rgba(8,25,15,.96);backdrop-filter:blur(10px);
  color:#fff;transform:translateY(110%);visibility:hidden;border-top:1px solid rgba(227,192,116,.25);
  padding-bottom:env(safe-area-inset-bottom);
  transition:transform .35s var(--ease),visibility 0s linear .35s}
.sticky-cta.show{transform:none;visibility:visible;transition:transform .35s var(--ease)}
.sticky-cta .wrap{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 28px}
.sticky-cta .sc-text{min-width:0}
.sticky-cta .sc-title{font-family:var(--display);font-size:1.05rem;font-weight:600;line-height:1.2}
.sticky-cta .sc-sub{font-size:.82rem;color:rgba(255,255,255,.7)}
.sticky-cta .btn{padding:11px 24px;flex-shrink:0}

/* FOOTER */
footer{background:var(--forest-950);color:rgba(255,255,255,.74);padding:80px 0 30px;position:relative}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:48px;margin-bottom:48px}
footer h4{font-family:var(--body);color:#fff;font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;margin-bottom:20px;font-weight:600}
footer .brand{color:#fff;margin-bottom:16px}
footer .brand .bt{color:#fff}
footer p{max-width:340px;font-size:.95rem}
footer a{color:rgba(255,255,255,.74);transition:.2s}
footer a:hover{color:var(--brass-400)}
.foot-list{list-style:none;display:grid;gap:12px;font-size:.94rem}
.foot-list li{display:flex;gap:11px;align-items:flex-start}
.foot-list svg{flex-shrink:0;color:var(--brass-400);margin-top:3px}
/* The footer brand needs the white panel that the partner logos already get: the
   expo artwork is near-black text with green and orange accents, which would all
   but vanish against the forest footer. */
.foot-brand{display:inline-flex;background:#fff;border-radius:14px;padding:12px 18px;
  box-shadow:var(--shadow-sm);margin-bottom:20px}
/* Sized independently of the header, which is the point. Both used to share the
   one .brand-logo height, but the header's is set by a constraint the footer does
   not have — the stacked lockup must stay legible in a 116px nav bar, which drove
   it to 100px. At that size it dominates the footer column, so the footer keeps
   the 72px the two shared before. Raising the header logo again will not drag this
   with it. */
.foot-brand .brand-logo{height:72px}
.foot-logos{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}
/* height:auto + the row's default stretch keeps both pills level even though the
   two lockups render at different heights for the same width */
.foot-logos .logo-pill{height:auto;padding:8px 12px;justify-content:center}
.foot-logos .logo-pill img{width:160px;max-width:100%;height:auto;max-height:44px}
.foot-bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:26px;display:flex;justify-content:space-between;
  flex-wrap:wrap;gap:12px;font-size:.84rem;color:rgba(255,255,255,.55)}
.foot-bottom em{font-family:var(--display);font-style:italic;color:var(--brass-400)}

/* ---------------------------------------------------------------------
   LAUNCH CEREMONY
   Copy left, poster right. The poster asset is portrait (1132×1600), so the
   image column is the narrower of the two — at the 1440px cap it lands near
   520px wide and ~735px tall, which is about the height the copy column fills.
   Keep that ratio in mind if the copy is shortened: a much shorter left column
   leaves the poster overhanging it.
--------------------------------------------------------------------- */
.launch-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.78fr);gap:clamp(40px,5vw,72px);align-items:start}
.launch-copy .lead{margin-top:6px}

/* Date and venue. Icons are top-aligned to the first line rather than centred
   on the two-line block, which would float them below the bold line. */
.launch-meta{list-style:none;margin:30px 0 0;display:grid;gap:14px}
.launch-meta li{display:flex;gap:14px;align-items:flex-start;font-size:.95rem;color:var(--muted)}
.launch-meta svg{color:var(--forest-600);flex-shrink:0;margin-top:5px}
.launch-meta strong{color:var(--ink);font-weight:600}

.launch-who-h{font-size:.74rem;letter-spacing:.2em;text-transform:uppercase;color:var(--brass-800);
  font-weight:600;margin:32px 0 14px}
.launch-who{list-style:none;display:flex;flex-wrap:wrap;gap:9px;margin:0}
.launch-who li{background:var(--white);border:1px solid var(--line);border-radius:50px;
  padding:8px 16px;font-size:.86rem;color:var(--ink);box-shadow:var(--shadow-sm)}

/* Forward-looking callout — the section's only job beyond reporting the news is
   to push the reader at the November dates and the form. */
.launch-next{margin-top:36px;padding:26px 28px;background:var(--forest-900);color:rgba(255,255,255,.82);
  border-radius:var(--radius);border-left:4px solid var(--brass-500)}
.launch-next .ln-label{display:inline-block;font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;
  font-weight:700;color:var(--brass-400);margin-bottom:8px}
.launch-next p{margin:0 0 20px;font-size:.98rem}
.launch-next strong{color:#fff;font-weight:600}

/* The <a> is display:block so the whole poster is the hit area; the hover lift
   is on the figure so the caption travels with the image. */
.launch-poster{margin:0}
.launch-poster a{display:block;border-radius:var(--radius-lg);overflow:hidden;background:var(--paper-3);
  border:1px solid var(--line-soft);box-shadow:var(--shadow-sm);transition:.3s var(--ease)}
.launch-poster a:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
/* height:auto is required — the width/height attributes on the <img> would
   otherwise lock it to the intrinsic 1600px. */
.launch-poster img{display:block;width:100%;height:auto}
.launch-poster figcaption{margin-top:14px;font-size:.84rem;color:var(--muted);line-height:1.6}

/* REVEAL */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}

@media(prefers-reduced-motion:reduce){
  *{animation-duration:.001ms !important;animation-iteration-count:1 !important;scroll-behavior:auto !important;transition-duration:.001ms !important}
  .reveal{opacity:1;transform:none}
  .ticker-track{animation:none}
}

/* ≤1400px — buy back 16px of text width in the sponsorship cards by trimming
   their side padding, which keeps the benefit lines unwrapped a further ~120px
   down before the grid has to stack. */
@media(max-width:1400px){
  .spon{padding:36px 24px}
  .spon-badge{left:24px}
}

/* Gallery slides-per-view. Stepping the count down keeps every slide whole
   instead of shrinking three of them into strips: at 1000px three-up would leave
   each slide ~300px, and at 640px two-up would leave ~280px. */
@media(max-width:1000px){ .gal-carousel{--gal-per:2} }
@media(max-width:640px){  .gal-carousel{--gal-per:1} }

/* ≤1180px — sponsorship stacks. Measured to where one-line rendering fails,
   not set to a round number: the longest benefit line ("Homepage & sponsor page
   feature") needs 265px, and three-up only clears that above ~1130px. The
   threshold sits 50px higher for rendering variance. Stacked, cards get 481px
   and every line fits from 375px up. Editing the benefit copy moves this — the
   ~31-character ceiling on those lines is what holds it here. */
@media(max-width:1180px){
  .spon-grid{grid-template-columns:1fr;max-width:560px;margin:0 auto}
}

/* ---------------------------------------------------------------------
   ≤1024px — mid-tier tablets & foldables: stack the two-column layouts
   before headings and sticky columns start colliding
--------------------------------------------------------------------- */
@media(max-width:1024px){
  .hero{min-height:auto;padding:120px 0 84px}
  .split,.about-org{grid-template-columns:minmax(0,1fr);gap:40px}
  .split.rev .media{order:0}
  .aims{grid-template-columns:1fr;gap:28px}
  .aims-head{position:static}
  .days{grid-template-columns:1fr}
  .stats .grid{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(2){border-right:0}
  .stat:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.09)}
  .price-grid{grid-template-columns:1fr;max-width:560px}
  .sec-head{flex-direction:column;align-items:flex-start;gap:14px}
  /* matchmaking card and promo grid stack before their columns get too narrow */
  .match{grid-template-columns:1fr;align-items:start}
  .promo-grid{grid-template-columns:repeat(2,1fr)}
  /* Launch stacks copy-then-poster. The poster is capped at 520px rather than
     left to fill the column: a portrait 1132×1600 run to full tablet width is
     ~1450px tall and pushes the whole page down by a screen and a half. */
  .launch-grid{grid-template-columns:minmax(0,1fr);gap:44px}
  .launch-poster{max-width:520px;margin:0 auto;width:100%}
  /* The plan itself does not reflow — it scrolls, see .fp-scroll — so only the
     exhibitor list and CTA below it stack, held to the same 560px measure the
     stacked .price-grid uses. */
  .floor-grid{grid-template-columns:minmax(0,1fr);gap:36px;max-width:560px;margin-left:auto;margin-right:auto}
  .fp-toolbar{justify-content:flex-start}
}

/* ≤1070px — the nav condenses rather than collapsing. Adding the Launch link
   took the full-size bar from 912px to 1032px, which would have put the burger
   breakpoint at ~1070px and dropped every 1024px tablet into the drawer. This
   step buys that width back instead: 4px off each link's side padding across
   eight items is 64px, and .9rem→.86rem is another ~25px, bringing the bar to
   ~944px. The threshold sits just under the width the full-size bar needs, so
   nothing condenses while there is still room for it. Must stay above the
   burger block in source order — both set .nav-links a padding at the same
   specificity, and the drawer's 13px has to win. */
@media(max-width:1070px){
  .nav-links a{padding:9px 10px;font-size:.86rem}
  .nav-links a:not(.cta)::after{left:10px;right:10px}
  .nav-links a.cta{padding:11px 18px;margin-left:4px}
}

/* ≤985px — nav collapses to the burger. Measured, not guessed: the brand is
   150px and the eight links condense to ~722px, so with the 16px gap and 56px
   of page padding the bar needs ~944px. The threshold sits ~40px above that so
   browser zoom or different font rendering can't tip it over. This was 950px
   for seven links before Launch was added, 840px for six, and 1120px before
   that while a text lockup sat beside the logo and made the brand 415px wide.
   Re-measure whenever the logo size or the nav labels change — the "Sponsorship"
   link alone measures 124px at full size, 111px condensed. */
@media(max-width:985px){
  .nav-links{position:fixed;top:116px;left:0;right:0;background:var(--paper);flex-direction:column;align-items:stretch;
    padding:18px 28px;border-bottom:1px solid var(--line);gap:4px;display:none;box-shadow:var(--shadow);transition:top .3s var(--ease)}
  .nav-links.open{display:flex}
  .nav-links a{padding:13px}.nav-links a.cta{text-align:center;margin-left:0;margin-top:6px}
  .nav-links a:not(.cta)::after{display:none}
  .burger{display:flex}
  header.nav.scrolled .nav-links{top:88px}
}

/* ≤920px — footer condenses to two columns */
@media(max-width:920px){
  .foot-grid{grid-template-columns:1fr 1fr;gap:38px}
  .foot-grid>div:first-child{grid-column:1/-1}
}

/* ≤560px — phones */
@media(max-width:560px){
  .section{padding:72px 0}.wrap{padding:0 20px}
  /* The count line is four stats on one line at desktop width; here it has to
     wrap, and a pill-shaped container that wraps onto two rows reads as a
     mistake — so the filter group drops the 50px radius and becomes a plain
     rounded block of buttons that can stack. The buttons keep their own pill
     shape, which is what marks the active one. */
  .fp-counts{line-height:1.7}
  .fp-filters{border-radius:var(--radius);width:100%;justify-content:flex-start}
  .fp-filters button{padding:8px 13px;font-size:.78rem}
  .fp-scroll{padding:14px}
  .nav-inner{gap:10px;height:68px}
  .brand{gap:9px}
  .brand .mark{width:36px;height:36px}
  .brand-logo{height:50px}
  /* Restated for the footer because .foot-brand .brand-logo outranks the bare
     class above and would otherwise hold 72px here, leaving the footer logo
     larger on a phone than in the header. */
  .foot-brand .brand-logo{height:50px}
  .nav-links{top:68px}
  .hero{padding:100px 0 56px}
  .hero h1{margin-top:14px}
  /* Primary action becomes a full-width, thumb-friendly button; secondary stacks beneath it */
  .hero-actions{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:30px}
  .hero-actions .btn{width:100%;justify-content:center}
  /* Countdown reflows from an inline pill to a full-width band with evenly distributed cells */
  .countdown{display:flex;width:100%;gap:6px;padding:14px 8px}
  .cd-cell{flex:1;min-width:0;padding-left:0}
  .cd-cell .n{font-size:1.5rem}
  .aim{gap:18px}
  .aim-node{width:46px;height:46px}
  .aim-spine{left:22px}
  .form-row{grid-template-columns:1fr}
  /* phones: 20px of card padding and a step down in type keep the two longest
     bullets on one line at 430px. Below ~410px they wrap — holding the line
     there would need ~13px type, too small to be worth it. */
  .spon{padding:30px 20px}
  .spon-badge{left:20px}
  .spon-list li{font-size:.85rem}
  .foot-grid{grid-template-columns:1fr;gap:34px}
  .form-card{padding:28px}
  .stats .grid{grid-template-columns:1fr}
  .stat{border-right:0;border-bottom:1px solid rgba(255,255,255,.09)}
  .stat:last-child{border-bottom:0}
  .promo-grid{grid-template-columns:1fr}
  .match-list{grid-template-columns:1fr}
  .launch-next{padding:22px 20px}
  .launch-next .btn{width:100%;justify-content:center}
  .aud{flex-direction:column;gap:16px}
  .sticky-cta .sc-sub{display:none}
  .sticky-cta .wrap{padding:12px 20px}
  .sticky-cta .btn{padding:13px 22px}
  /* Larger touch targets for footer text links */
  footer a{display:inline-block;padding:9px 0}
}

/* ≤380px — narrow Android. One sponsorship bullet ("Homepage & sponsor
   promotion") still overruns the text column by 5px here, so the cards give up
   4px of side padding rather than the type getting smaller again: 16px padding
   buys 8px of text width and clears it with room to spare at 360px. */
@media(max-width:380px){
  .spon{padding:26px 16px}
  .spon-badge{left:16px}
}
