/* ==========================================================================
   ECAP Week | FORGE 2027 — Landing page
   Visual system derived from the approved KV (ECW26_KV_v2):
   deep textured John Deere green, condensed white display type,
   JD yellow accents and hairlines, forge embers as the only warm color.

   Sizing rule: every section is built to fit one laptop screen
   (≈ 1366×768 and up). Type and spacing scale with viewport HEIGHT
   (vh) as well as width, so content doesn't spill below the fold.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --green-950: #071D0F;
  --green-900: #0B2A17;
  --green-800: #143D23;
  --green-700: #1C4F2D;
  --jd-green: #367C2B;
  --jd-yellow: #FFDE00;
  --ember: #FF7A1A;
  --ember-glow: rgba(255, 140, 40, 0.55);

  --white: #FFFFFF;
  --text: #EAF0E8;
  --text-soft: #C9D6CB;
  --muted: #9FB6A5;
  --line: rgba(255, 222, 0, 0.28);
  --line-soft: rgba(255, 222, 0, 0.14);

  --font-display: "JD Sans Pro Next Cond", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "JD Sans Pro Next", "Helvetica Neue", Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4.5vw, 64px);
  --section-y: clamp(56px, 10vh, 120px);
  --header-h: 76px;
  --strip-h: 72px;
  --forger-ar: 1.4493; /* hero-forger image aspect ratio (1400 / 966) */

  --radius: 4px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Fonts ---------- */
@font-face { font-family: "JD Sans Pro Next Cond"; src: url("../fonts/JDSansProNextCond-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "JD Sans Pro Next Cond"; src: url("../fonts/JDSansProNextCond-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JD Sans Pro Next Cond"; src: url("../fonts/JDSansProNextCond-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "JD Sans Pro Next"; src: url("../fonts/JDSansProNext-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "JD Sans Pro Next"; src: url("../fonts/JDSansProNext-Book.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JD Sans Pro Next"; src: url("../fonts/JDSansProNext-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "JD Sans Pro Next"; src: url("../fonts/JDSansProNext-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "JD Sans Pro Next"; src: url("../fonts/JDSansProNext-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  position: relative;
  background: var(--green-800);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* Fixed texture on its own composited layer (cheap to scroll) */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--green-800) url("../img/bg-plain.jpg") center / cover no-repeat; pointer-events: none; }

img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 0.95; text-transform: uppercase; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
hr.rule { border: 0; height: 2px; width: 72px; margin: 0 0 clamp(.8rem, 2vh, 1.3rem); background: var(--jd-yellow); transform-origin: left center; }

:focus-visible { outline: 2px solid var(--jd-yellow); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 14px; background: var(--jd-yellow); color: var(--green-900); font-weight: 600; border-radius: var(--radius); transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .95em 1.6em;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: .01em; line-height: 1;
  border-radius: var(--radius); border: 1.5px solid transparent;
  transition: transform .25s var(--ease-out), background-color .25s, border-color .25s, box-shadow .35s, color .25s;
  white-space: nowrap;
}
.btn--primary { background: var(--jd-yellow); color: var(--green-950); border-color: var(--jd-yellow); }
.btn--primary:hover { background: #FFE94D; border-color: #FFE94D; transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--ember-glow), 0 0 0 1px rgba(255,222,0,.25); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--jd-yellow); color: var(--jd-yellow); transform: translateY(-2px); }
.btn--sm { padding: .72em 1.15em; font-size: .9rem; }
.btn--lg { padding: 1.1em 2em; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 18px;
  transition: background-color .4s, box-shadow .4s, padding .4s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(11, 42, 23, .9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 -1px 0 var(--line-soft);
  padding-block: 10px;
}
.site-header__inner { padding-inline: var(--gutter); display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); }

/* Logo: full-color on top of the hero, white negative once the menu bar appears */
.brand { position: relative; display: block; flex: none; line-height: 0; transform-origin: left center; transition: transform .45s var(--ease-out); }
.brand__logo { height: 40px; width: auto; transition: opacity .35s ease; }
.brand__logo--white { position: absolute; left: 0; top: 0; opacity: 0; }
.site-header.is-scrolled .brand { transform: scale(.8); }
.site-header.is-scrolled .brand__logo--color { opacity: 0; }
.site-header.is-scrolled .brand__logo--white { opacity: 1; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); }
.site-nav a { position: relative; display: inline-block; padding: 8px 2px; font-weight: 500; font-size: .95rem; color: rgba(255,255,255,.8); transition: color .25s; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--jd-yellow); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.site-nav a:hover, .site-nav a.is-active { color: var(--white); }
.site-nav a.is-active::after { transform: scaleX(1); }

.site-header__cta { flex: none; }
.cta-short { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; flex: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform .3s var(--ease-out), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { background: rgba(7, 29, 15, .97); border-top: 1px solid var(--line-soft); margin-top: 10px; }
.mobile-menu ul { padding: 12px var(--gutter) 28px; display: grid; gap: 4px; }
.mobile-menu a:not(.btn) { display: block; padding: 14px 0; font-family: var(--font-display); font-weight: 700; font-size: 2rem; text-transform: uppercase; line-height: 1; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 18px; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  /* Title size follows both width and height so the whole hero fits one screen */
  --t: clamp(4.4rem, min(11vw, calc(33vh - 110px)), 12.5rem);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
}
.hero__texture { position: absolute; inset: 0; z-index: -3; background: var(--green-800) url("../img/bg-sparks-top.jpg") center / cover no-repeat; }

/* Forger cut-out: anchored bottom-left, sized by screen height, capped by width */
.hero__photo {
  position: absolute; z-index: -2;
  left: -2vw; bottom: var(--strip-h);
  width: min(66vw, calc((100vh - var(--strip-h)) * var(--forger-ar)));
  width: min(66vw, calc((100svh - var(--strip-h)) * var(--forger-ar)));
  pointer-events: none;
}
/* top and right fades are baked into the image alpha (no CSS masks needed) */
.hero__photo picture { display: block; }
.hero__photo img { width: 100%; height: auto; }
.hero__flash {
  position: absolute; z-index: -1; left: var(--fx, 22%); top: var(--fy, 58%);
  width: 60vmin; height: 60vmin; margin: -30vmin 0 0 -30vmin;
  background: radial-gradient(circle, rgba(255, 220, 150, .95) 0%, rgba(255, 140, 40, .45) 30%, rgba(255, 90, 20, 0) 65%);
  opacity: 0; visibility: hidden; pointer-events: none;
}
.hero__flash.is-on { visibility: visible; }
.hero__sparks { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

.hero__content {
  position: relative; z-index: 2; align-self: center;
  width: 100%;
  padding: calc(var(--header-h) + 1vh) var(--gutter) 2.5vh 44vw;
}
.hero__content > * { max-width: 860px; }

.hero__eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(.5rem, 1.6vh, 1.2rem);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(.82rem, 1.8vh, 1.3rem); letter-spacing: .3em; text-transform: uppercase; color: var(--white);
}
.hero__eyebrow i { width: 2px; height: 1.1em; background: var(--jd-yellow); }

.hero__title { display: block; color: var(--white); }
.hero__word { display: block; font-size: var(--t); line-height: .82; letter-spacing: -.01em; white-space: nowrap; }
.hero__word .ch { display: inline-block; }
.hero__concept { display: block; margin-top: calc(var(--t) * .07); font-weight: 700; font-size: calc(var(--t) * .42); line-height: 1; white-space: nowrap; }
.hero__year { color: var(--jd-yellow); }

.rule--hero { width: 100%; max-width: 560px; margin: clamp(.7rem, 2vh, 1.4rem) 0; }

.hero__tagline {
  margin: 0 0 clamp(.7rem, 2.2vh, 1.5rem);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(.92rem, 2.1vh, 1.5rem); line-height: 1.3; letter-spacing: .17em; text-transform: uppercase; color: var(--white);
}
.hero__tagline .line { display: block; }

.hero__copy { max-width: 62ch; margin-bottom: clamp(.9rem, 2.6vh, 1.8rem); }
.hero__lead { font-weight: 600; font-size: clamp(1rem, 2.1vh, 1.3rem); color: var(--white); margin-bottom: .35em; }
.hero__copy p:not(.hero__lead) { font-size: clamp(.94rem, 1.95vh, 1.08rem); line-height: 1.5; color: var(--text-soft); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__strip { position: relative; z-index: 2; min-height: var(--strip-h); display: flex; align-items: center; border-top: 1px solid var(--line); background: linear-gradient(to bottom, rgba(7,29,15,.6), rgba(7,29,15,.85)); }
.hero__strip-inner { width: 100%; padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.hero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 0; font-size: 1rem; color: var(--text-soft); }
.hero__meta strong { font-weight: 600; color: var(--white); }
.hero__meta i { width: 1px; height: 18px; background: var(--line); }

.countdown { display: flex; align-items: center; gap: 22px; }
.countdown__label { font-family: var(--font-display); font-weight: 500; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase; color: var(--jd-yellow); }
.countdown__unit { display: flex; align-items: baseline; gap: 6px; }
.countdown__unit b { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.countdown__unit small { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.countdown.is-live .countdown__unit { display: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--about { background: linear-gradient(to bottom, var(--green-950), rgba(7,29,15,0) 30%); }
.section--explore { background: url("../img/bg-sparks-left.jpg") center / cover no-repeat; }
.section--schedule { background: linear-gradient(to bottom, rgba(7,29,15,.55), rgba(7,29,15,0) 40%); }
.section--speakers { background: url("../img/bg-sparks-top.jpg") center / cover no-repeat; }
.section--venue { background: linear-gradient(to bottom, rgba(7,29,15,.55), rgba(7,29,15,.1)); }

.section__head { max-width: 760px; margin-bottom: clamp(24px, 4.5vh, 52px); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.section__head--row > div { max-width: 760px; }
.section__title { font-size: clamp(2.3rem, min(4.6vw, 7.4vh), 4.4rem); color: var(--white); }
.section__intro { margin-top: clamp(.6rem, 1.6vh, 1rem); max-width: 62ch; font-size: clamp(1rem, 2vh, 1.15rem); color: var(--text-soft); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__statement { font-weight: 700; font-size: clamp(2.3rem, min(4.8vw, 8vh), 4.6rem); color: var(--white); }
.about__statement .w { display: inline-block; }
.about__body { font-size: clamp(1rem, 2.05vh, 1.17rem); line-height: 1.6; color: var(--text-soft); }

/* ---------- Topics (pillars) ---------- */
.explore {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "head list" "stage list";
  gap: clamp(20px, 3.5vh, 36px) clamp(32px, 6vw, 96px);
  align-items: start;
}
.explore__head { grid-area: head; margin-bottom: 0; }
.pillars__list { grid-area: list; align-self: center; display: grid; border-top: 1px solid var(--line); }
.pillar {
  position: relative; display: block; width: 100%; text-align: left;
  padding: clamp(.75rem, 2vh, 1.2rem) 0 clamp(.75rem, 2vh, 1.2rem) 24px; border-bottom: 1px solid var(--line-soft);
  transition: padding-left .4s var(--ease-out);
}
.pillar::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 0; background: var(--jd-yellow); transform: translateY(-50%); transition: height .4s var(--ease-out); }
.pillar__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, min(2.4vw, 4vh), 2.2rem); line-height: 1; text-transform: uppercase; color: var(--muted); transition: color .35s; }
.pillar:hover .pillar__title { color: var(--text); }
.pillar.is-active { padding-left: 32px; }
.pillar.is-active .pillar__title { color: var(--white); }
.pillar.is-active::before { height: 62%; box-shadow: 0 0 18px var(--ember-glow); }

.pillars__stage { grid-area: stage; position: relative; min-height: clamp(170px, 25vh, 250px); padding: clamp(1.3rem, 3.2vh, 2.2rem) clamp(1.3rem, 2.5vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(7, 29, 15, .5); overflow: hidden; }
.pillars__ember { position: absolute; z-index: 0; right: -20%; bottom: -45%; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,140,40,.32) 0%, rgba(255,140,40,0) 65%); pointer-events: none; }
.pillar-panel { position: relative; z-index: 1; }
.pillar-panel__kicker { font-family: var(--font-display); font-weight: 500; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; color: var(--jd-yellow); margin-bottom: .8rem; }
.pillar-panel__text { font-weight: 500; font-size: clamp(1.2rem, min(1.9vw, 3.2vh), 1.75rem); line-height: 1.35; color: var(--white); max-width: 30ch; }

/* ---------- Schedule (horizontal timeline on desktop) ---------- */
.timeline { position: relative; padding-top: 34px; --p: 0; }
.timeline__rail { position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line-soft); }
.timeline__progress { width: 100%; height: 100%; background: linear-gradient(to right, var(--jd-yellow), var(--ember)); transform: scaleX(var(--p)); transform-origin: left center; box-shadow: 0 0 14px var(--ember-glow); }
.timeline__days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.day { position: relative; }
.day::before { content: ""; position: absolute; left: 0; top: -34px; width: 13px; height: 13px; border-radius: 50%; background: var(--green-800); border: 2px solid var(--muted); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.day.is-reached::before { background: var(--jd-yellow); border-color: var(--jd-yellow); box-shadow: 0 0 16px var(--ember-glow); }
.day__date { display: flex; align-items: baseline; gap: 8px; margin-bottom: clamp(.5rem, 1.6vh, .9rem); }
.day__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, min(4.6vw, 7.6vh), 4.4rem); line-height: .85; color: var(--muted); transition: color .4s; }
.day__month { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.day.is-reached .day__num { color: var(--white); }
.day.is-reached .day__month { color: var(--jd-yellow); }
.day__weekday { font-family: var(--font-display); font-weight: 500; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; color: var(--jd-yellow); margin-bottom: .4rem; }
.day__title { font-weight: 700; font-size: clamp(1.35rem, min(2vw, 3.6vh), 1.9rem); color: var(--white); margin-bottom: .6rem; }
.day__title span { color: var(--jd-yellow); }
.day__text { font-size: clamp(.95rem, 1.9vh, 1.05rem); line-height: 1.5; color: var(--text-soft); }
.day__note { font-size: clamp(.92rem, 1.85vh, 1rem); line-height: 1.45; font-weight: 600; color: var(--white); margin-top: .7rem; padding-left: 12px; border-left: 2px solid var(--jd-yellow); }

/* ---------- Speakers ---------- */
.speakers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.speaker { display: grid; grid-template-columns: clamp(120px, 20vh, 160px) 1fr; gap: 24px; align-items: start; padding-top: 24px; border-top: 1px solid var(--line); }
.speaker__photo {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(145deg, #2E4A38 0%, #0F2A1A 60%, #0A1F12 100%);
  box-shadow: inset 0 0 0 1px rgba(255,222,0,.22);
  display: grid; place-items: center;
}
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; }
.speaker__photo[data-initials]:not(:has(img))::after { content: attr(data-initials); font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; color: var(--jd-yellow); }
.speaker__photo--tba { color: rgba(255,255,255,.35); }
.speaker__name { font-weight: 700; font-size: clamp(1.5rem, min(2.4vw, 4vh), 2.1rem); color: var(--white); }
.speaker__role { margin: .45rem 0 .8rem; font-weight: 600; color: var(--jd-yellow); }
.speaker__bio { color: var(--text-soft); font-size: clamp(.95rem, 1.9vh, 1.02rem); line-height: 1.55; }
.speaker--tba .speaker__bio { color: var(--muted); }

/* ---------- Venue (three columns on desktop) ---------- */
.venue { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.venue__city { color: var(--text-soft); margin-bottom: .9rem; }
.venue__map-frame { position: relative; height: clamp(170px, 30vh, 290px); border-radius: var(--radius); overflow: hidden; background: var(--green-950); box-shadow: inset 0 0 0 1px var(--line); }
.venue__map-frame iframe { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.05); }
.venue__map-fallback { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 20px; color: var(--jd-yellow); background: var(--green-900) url("../img/bg-sparks-top.jpg") center / cover no-repeat; transition: opacity .5s; }
.venue__map-frame.is-loaded .venue__map-fallback { opacity: 0; pointer-events: none; }
.venue__map-btn { margin-top: 1rem; }

.info-block__label { font-family: var(--font-display); font-weight: 500; font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; color: var(--jd-yellow); margin-bottom: .5rem; }
.info-block__title { font-weight: 700; font-size: clamp(1.45rem, min(2.2vw, 3.8vh), 2rem); color: var(--white); margin-bottom: .35rem; }
.venue__text, .info-block p { color: var(--text-soft); font-size: clamp(.94rem, 1.9vh, 1.02rem); line-height: 1.5; }
.info-block p { margin-bottom: .7em; }
.info-block p:last-child { margin-bottom: 0; }
.info-block__contact { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: .4rem 0 clamp(.8rem, 2.4vh, 1.4rem) !important; }
.info-block__contact a { font-weight: 600; color: var(--white); border-bottom: 1px solid var(--line); }
.info-block__contact a:hover { color: var(--jd-yellow); border-color: var(--jd-yellow); }
.info-block--highlight { padding: clamp(1rem, 2.4vh, 1.4rem) clamp(1rem, 1.6vw, 1.5rem); border-left: 3px solid var(--jd-yellow); background: rgba(255,255,255,.04); border-radius: 0 var(--radius) var(--radius) 0; }
.info-block--highlight p.info-block__label { color: var(--jd-yellow); }
.info-block--highlight a { font-weight: 600; color: var(--jd-yellow); white-space: nowrap; }
.venue__col > .info-block + .info-block { margin-top: clamp(1.2rem, 3vh, 2rem); }

.copy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; font-size: .82rem; font-weight: 600; color: var(--text-soft); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); transition: color .25s, border-color .25s; }
.copy-btn:hover, .copy-btn.is-copied { color: var(--jd-yellow); border-color: var(--jd-yellow); }

.rates__per { margin-left: .5em; font-family: var(--font-body); font-weight: 400; font-size: .8rem; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.rates { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; border-top: 1px solid var(--line); }
.rates li { display: flex; flex-direction: column; gap: 2px; padding: clamp(.5rem, 1.4vh, .8rem) 0; border-bottom: 1px solid var(--line-soft); }
.rates__cat { font-size: .88rem; color: var(--text-soft); }
.rates__price { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.6vh, 1.45rem); line-height: 1.1; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rates__price small { font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--muted); margin-left: 2px; }
.rates__note { margin-top: .6rem; font-size: .84rem; line-height: 1.45; color: var(--muted); }

/* ---------- RSVP ---------- */
.rsvp { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(64px, 12vh, 150px); background: var(--green-900) url("../img/bg-sparks-left.jpg") center / cover no-repeat; }
.rsvp__photo { position: absolute; z-index: -1; right: -3vw; bottom: 0; width: min(62vw, 980px); pointer-events: none; }
.rsvp__photo picture { display: block; }
.rsvp__photo img { width: 100%; height: auto; transform: scaleX(-1); }
.rsvp__sparks { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.rsvp__inner { position: relative; z-index: 1; }
.rsvp__title { font-size: clamp(2.8rem, min(6.4vw, 10vh), 6rem); color: var(--white); max-width: 11ch; }
.rsvp__text { max-width: 52ch; margin: clamp(1rem, 2.6vh, 1.6rem) 0 clamp(1.4rem, 3.2vh, 2.2rem); font-size: clamp(1rem, 2.1vh, 1.2rem); color: var(--text-soft); }
.rsvp__hint { margin-top: 1rem; font-size: .92rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); border-top: 1px solid var(--line-soft); padding-block: 44px; }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.site-footer__brand { display: flex; align-items: center; gap: 22px; }
.site-footer__logo { height: 34px; width: auto; }
.site-footer__event { display: flex; align-items: center; gap: 10px; margin: 0; padding-left: 22px; border-left: 1px solid var(--line-soft); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; color: var(--white); }
.site-footer__event i { width: 1px; height: 16px; background: var(--jd-yellow); }
.site-footer__tagline span { display: block; white-space: nowrap; }
.site-footer__tagline { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; color: var(--jd-yellow); text-align: center; }
.site-footer__meta { margin: 0; font-size: .9rem; color: var(--muted); text-align: right; line-height: 1.6; }
.site-footer__meta a { color: var(--text-soft); border-bottom: 1px solid var(--line); }
.site-footer__meta a:hover { color: var(--jd-yellow); }

/* ---------- Modal + toast ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7, 29, 15, .92); }
.modal__box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px var(--line); }
.modal__video, .modal__video iframe, .modal__video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; color: var(--white); background: rgba(0,0,0,.5); border-radius: 50%; }
.modal__close:hover { color: var(--jd-yellow); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 0); padding: 12px 18px; background: var(--jd-yellow); color: var(--green-950); font-weight: 600; font-size: .95rem; border-radius: var(--radius); box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); }

/* ---------- Responsive ---------- */
@media (max-height: 720px) and (min-width: 900px) {
  :root { --strip-h: 60px; --header-h: 68px; }
  .site-header { padding-block: 14px; }
  .countdown__unit b { font-size: 1.5rem; }
}

@media (max-width: 1100px) and (min-width: 900px) {
  .venue { grid-template-columns: 1fr 1fr; }
  .venue__col:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .venue__col:last-child > .info-block + .info-block { margin-top: 0; }
  .site-nav ul { gap: 1rem; }
}

@media (max-width: 899px) {
  :root { --header-h: 58px; }
  .site-header { padding-block: 12px; }
  .brand__logo { height: 30px; }
  .site-nav { display: none; }
  .site-header__cta { margin-left: auto; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .nav-toggle { display: flex; }

  .hero { --t: clamp(4.4rem, 23vw, 9rem); min-height: 0; }
  .hero__photo { left: -16vw; top: calc(var(--header-h) - 12px); bottom: auto; width: 130vw; }
  .hero__photo { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 94%); mask-image: linear-gradient(to bottom, #000 55%, transparent 94%); }
  .hero__flash { width: 90vmin; height: 90vmin; margin: -45vmin 0 0 -45vmin; }
  .hero__content { padding: calc(var(--header-h) + 130vw / var(--forger-ar) * .6) var(--gutter) 36px; }
  .hero__content > * { max-width: none; }
  .hero__eyebrow { font-size: 1rem; letter-spacing: .22em; }
  .hero__tagline { font-size: 1.1rem; }
  .hero__lead { font-size: 1.15rem; }
  .hero__copy p:not(.hero__lead) { font-size: 1.02rem; }
  .hero__strip { min-height: 0; }
  .hero__strip-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 18px; }

  .about, .speakers { grid-template-columns: 1fr; }
  .explore { grid-template-columns: 1fr; grid-template-areas: "head" "list" "stage"; }
  .pillar { padding-left: 20px; }
  .pillar.is-active { padding-left: 26px; }

  .timeline { padding-top: 0; padding-left: 44px; }
  .timeline__rail { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline__progress { background: linear-gradient(to bottom, var(--jd-yellow), var(--ember)); transform: scaleY(var(--p)); transform-origin: top center; }
  .timeline__days { grid-template-columns: 1fr; gap: 0; }
  .day { padding: 1.4rem 0 1.6rem; border-bottom: 1px solid var(--line-soft); }
  .day:last-child { border-bottom: 0; }
  .day::before { left: -44px; top: 1.9rem; }

  .speaker { grid-template-columns: 110px 1fr; gap: 18px; }

  .venue { grid-template-columns: 1fr; gap: 40px; }
  .venue__map-frame { height: 220px; }

  .rsvp__photo { width: 150vw; right: -45vw; opacity: .4; }

  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__tagline, .site-footer__meta { text-align: left; }
}

@media (max-width: 480px) {
  .hero__meta { display: grid; gap: 4px; }
  .hero__meta i { display: none; }
  .countdown { gap: 14px; flex-wrap: wrap; }
  .speaker { grid-template-columns: 1fr; }
  .speaker__photo { width: 120px; }
  .section__head--row .btn { width: 100%; justify-content: center; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .site-footer__brand { flex-wrap: wrap; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero__sparks, .rsvp__sparks, .hero__flash { display: none; }
}
