:root {
  --expo-blue: #2f70b7;
  --expo-blue-deep: #123653;
  --expo-sky: #dcecf8;
  --expo-pale: #eef5fb;
  --expo-line: rgb(18 54 83 / .28);
}

html { scroll-padding-top: var(--header); }
body { background: var(--expo-pale); }
#fruit-attraction-2026,
#eurasia-packaging-2026,
#past-events { scroll-margin-top: var(--header); }

.expo-hero {
  min-height: 100dvh;
  padding: calc(var(--header) + clamp(58px, 7vw, 106px)) var(--edge) 72px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--expo-blue);
}
.expo-hero::before {
  content: "";
  width: 38vw;
  aspect-ratio: 1;
  position: absolute;
  top: 4vh;
  right: -12vw;
  border: 1px solid rgb(255 255 255 / .18);
  border-radius: 50%;
  box-shadow: 0 0 0 9vw rgb(255 255 255 / .025), 0 0 0 18vw rgb(255 255 255 / .018);
}
.expo-hero-copy { width: min(49vw, 760px); position: relative; z-index: 4; }
.expo-hero-copy > p {
  margin: 0 0 32px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.expo-hero h1 {
  max-width: 8.4ch;
  margin: 0;
  font-size: clamp(62px, 6.7vw, 96px);
  font-weight: 300;
  line-height: .87;
  letter-spacing: -.04em;
}
.expo-hero-copy > div {
  width: min(360px, 27vw);
  margin-top: 42px;
  display: grid;
  gap: 26px;
}
.expo-hero-copy > div p { margin: 0; font-size: 16px; line-height: 1.52; }
.expo-hero-copy > div a {
  width: max-content;
  padding-bottom: 5px;
  border-bottom: 1px solid rgb(255 255 255 / .72);
  font-size: 13px;
}
.expo-hero-gallery { position: absolute; inset: var(--header) 0 56px; z-index: 2; pointer-events: none; }
.expo-hero-gallery figure { margin: 0; position: absolute; overflow: hidden; background: #204e82; }
.expo-hero-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; }
.expo-hero-primary {
  width: min(46vw, 760px);
  height: 57dvh;
  right: 0;
  bottom: 0;
  clip-path: inset(0 0 0 100%);
  animation: expo-image-in 1.2s .12s var(--ease) forwards;
}
.expo-hero-primary img { object-position: center 42%; }
.expo-hero-secondary {
  width: min(24vw, 390px);
  height: 31dvh;
  min-height: 220px;
  top: 8vh;
  right: min(38vw, 620px);
  z-index: 2;
  clip-path: inset(100% 0 0);
  animation: expo-image-in 1.05s .34s var(--ease) forwards;
}
.expo-hero-rail {
  min-height: 56px;
  padding: 0 var(--edge);
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-top: 1px solid rgb(255 255 255 / .46);
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.expo-hero-rail span:nth-child(2) { text-align: center; }
.expo-hero-rail span:nth-child(3) { text-align: right; }
@keyframes expo-image-in { to { clip-path: inset(0); } }

.expo-upcoming { color: var(--expo-blue-deep); background: var(--expo-sky); }
.expo-upcoming-heading {
  padding: clamp(100px, 12vw, 180px) var(--edge) clamp(90px, 10vw, 150px);
  display: grid;
  grid-template-columns: .34fr 1.08fr .58fr;
  gap: clamp(40px, 7vw, 108px);
  align-items: end;
}
.expo-upcoming-heading > p:first-child,
.archive-intro > div,
.show-copy > p:first-child,
.expo-close > div > p {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.expo-upcoming-heading h2,
.archive-intro h2,
.expo-close h2 {
  margin: 0;
  font-size: clamp(58px, 6.7vw, 96px);
  font-weight: 300;
  line-height: .91;
  letter-spacing: -.04em;
}
.expo-upcoming-heading h2 { max-width: 11ch; }
.expo-upcoming-heading > p:last-child { max-width: 34ch; margin: 0 0 5px; font-size: 16px; line-height: 1.5; }

.show-story { min-height: 88dvh; display: grid; grid-template-columns: 1fr 1fr; }
.show-media { min-height: 680px; margin: 0; overflow: hidden; background: #bad2e7; }
.show-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 1.1s var(--ease); }
.show-story:hover .show-media img { transform: scale(1.025); }
.show-madrid .show-media img { object-position: 59% center; }
.show-istanbul .show-media img { object-position: 62% 58%; }
.show-copy {
  padding: clamp(84px, 9vw, 142px) var(--edge);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.show-madrid .show-copy { color: #fff; background: #245b94; }
.show-istanbul .show-copy { color: var(--expo-blue-deep); background: #fff; }
.show-copy h3 {
  max-width: 11ch;
  margin: 26px 0 clamp(54px, 6vw, 88px);
  font-size: clamp(52px, 5.8vw, 88px);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -.04em;
}
.show-copy dl { margin: 0; border-top: 1px solid currentColor; }
.show-copy dl > div {
  min-height: 68px;
  padding: 17px 0;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid currentColor;
}
.show-copy dt { font-size: 11px; text-transform: uppercase; }
.show-copy dd { margin: 0; font-size: 15px; line-height: 1.35; }
.show-summary { max-width: 58ch; margin: 34px 0 0; font-size: 15px; line-height: 1.55; }
.show-actions { margin-top: 38px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.show-actions a { min-height: 48px; display: inline-flex; align-items: center; font-size: 13px; }
.show-primary { padding: 0 21px; border: 1px solid currentColor; border-radius: 999px; transition: color .3s ease, background .3s ease, transform .3s var(--ease); }
.show-secondary { padding-bottom: 2px; border-bottom: 1px solid currentColor; }
.show-madrid .show-primary:hover,
.show-madrid .show-primary:focus-visible { color: #245b94; background: #fff; transform: translateY(-2px); }
.show-istanbul .show-primary:hover,
.show-istanbul .show-primary:focus-visible { color: #fff; background: var(--expo-blue-deep); transform: translateY(-2px); }

.expo-archive { color: var(--expo-blue-deep); background: #fff; }
.archive-intro {
  padding: clamp(110px, 13vw, 200px) var(--edge);
  display: grid;
  grid-template-columns: .42fr 1fr .58fr;
  gap: clamp(42px, 8vw, 120px);
  align-items: end;
  background: var(--expo-pale);
}
.archive-intro > div {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--expo-line);
}
.archive-intro h2 { max-width: 9ch; }
.archive-intro > p { max-width: 37ch; margin: 0 0 4px; font-size: 16px; line-height: 1.5; }

.archive-event {
  padding: clamp(96px, 11vw, 164px) var(--edge) clamp(120px, 14vw, 210px);
  display: grid;
  grid-template-columns: minmax(220px, .38fr) minmax(0, 1.62fr);
  gap: clamp(52px, 8vw, 124px);
  border-top: 1px solid var(--expo-line);
}
.archive-event-reverse { background: var(--expo-sky); }
.archive-event-head {
  padding-top: 18px;
  position: sticky;
  top: calc(var(--header) + 30px);
  align-self: start;
  border-top: 1px solid var(--expo-line);
}
.archive-event-head > span { font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.archive-event-head h3 { margin: 28px 0 20px; font-size: clamp(38px, 4.3vw, 64px); font-weight: 300; line-height: .94; letter-spacing: -.04em; }
.archive-event-head p { max-width: 28ch; margin: 0; font-size: 14px; line-height: 1.55; }
.archive-event-images {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 38px);
  align-items: start;
}
.archive-event-images figure { margin: 0; overflow: hidden; background: #d8e7f3; }
.archive-event-images img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .85s var(--ease), filter .45s ease; }
.archive-event-images figure:hover img { transform: scale(1.025); filter: saturate(1.05); }
.archive-wide { grid-column: 1 / 9; grid-row: 1; aspect-ratio: 4 / 3; }
.archive-tall { grid-column: 9 / 13; grid-row: 1; margin-top: clamp(96px, 11vw, 166px) !important; aspect-ratio: 3 / 4; }
.archive-event-reverse .archive-wide { grid-column: 5 / 13; }
.archive-event-reverse .archive-tall { grid-column: 1 / 5; grid-row: 1; }
.archive-event:not(.archive-event-reverse) .archive-tall:first-child { grid-column: 1 / 6; margin-top: 0 !important; }
.archive-tall-offset { grid-column: 7 / 12; margin-top: clamp(108px, 12vw, 180px) !important; }
.archive-wide-small { grid-column: 9 / 13; margin-top: clamp(88px, 10vw, 150px) !important; }

.expo-close {
  min-height: 78dvh;
  padding: clamp(96px, 12vw, 180px) var(--edge);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 60px;
  color: #fff;
  background: var(--expo-blue);
}
.expo-close > div > p { margin-bottom: 28px; }
.expo-close h2 { max-width: 12ch; }
.expo-close > a {
  min-height: 56px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgb(255 255 255 / .72);
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
  transition: color .3s ease, background .3s ease, transform .3s var(--ease);
}
.expo-close > a:hover,
.expo-close > a:focus-visible { color: var(--expo-blue); background: #fff; transform: translateY(-2px); }

.js .expo-reveal > * { opacity: 0; transform: translateY(32px); }
.js .expo-reveal.in-view > * { opacity: 1; transform: none; transition: opacity .72s ease, transform .72s var(--ease); }
.js .expo-reveal.in-view > *:nth-child(2) { transition-delay: .08s; }
.js .expo-reveal.in-view > *:nth-child(3) { transition-delay: .16s; }

@media (max-width: 1080px) {
  .expo-hero-primary { width: 50vw; }
  .expo-hero-secondary { right: 40vw; }
  .expo-upcoming-heading { grid-template-columns: .28fr 1fr .72fr; gap: 50px; }
  .show-copy { padding-right: clamp(50px, 6vw, 84px); padding-left: clamp(50px, 6vw, 84px); }
  .archive-intro { grid-template-columns: .3fr 1fr .7fr; gap: 54px; }
}

@media (max-width: 900px) {
  .expo-hero-copy { width: 58vw; }
  .expo-hero-primary { width: 54vw; height: 48dvh; }
  .expo-hero-secondary { width: 27vw; right: 43vw; }
  .expo-upcoming-heading { grid-template-columns: 1fr; align-items: start; }
  .expo-upcoming-heading h2 { max-width: 12ch; }
  .show-story { min-height: 0; grid-template-columns: 1fr; }
  .show-story .show-copy { min-height: 720px; }
  .show-media { min-height: 620px; }
  .show-istanbul .show-copy { order: 2; }
  .show-istanbul .show-media { order: 1; }
  .archive-intro { grid-template-columns: 1fr; align-items: start; }
  .archive-intro > div { max-width: 320px; }
  .archive-event { grid-template-columns: 1fr; }
  .archive-event-head { position: relative; top: auto; }
  .archive-event-head p { max-width: 40ch; }
}

@media (max-width: 767px) {
  .expo-hero { min-height: 960px; padding: 102px 20px 64px; }
  .expo-hero-copy { width: 100%; }
  .expo-hero-copy > p { margin-bottom: 24px; }
  .expo-hero h1 { max-width: 7.4ch; font-size: clamp(58px, 16.5vw, 74px); }
  .expo-hero-copy > div { width: min(330px, 100%); margin-top: 32px; gap: 22px; }
  .expo-hero-gallery { inset: auto 0 50px; height: 350px; }
  .expo-hero-primary { width: 84vw; height: 292px; right: 0; }
  .expo-hero-secondary { width: 44vw; height: 170px; min-height: 0; top: -88px; right: auto; left: 20px; }
  .expo-hero-rail { min-height: 50px; padding: 0 20px; grid-template-columns: 1fr 1fr; font-size: 8px; }
  .expo-hero-rail span:nth-child(2) { text-align: right; }
  .expo-hero-rail span:nth-child(3) { display: none; }

  .expo-upcoming-heading { padding: 92px 20px 82px; gap: 34px; }
  .expo-upcoming-heading h2,
  .archive-intro h2,
  .expo-close h2 { font-size: clamp(54px, 15.5vw, 72px); }
  .expo-upcoming-heading > p:last-child { max-width: 340px; }
  .show-media { min-height: 430px; }
  .show-story .show-copy { min-height: 0; padding: 82px 20px 92px; }
  .show-copy h3 { margin: 22px 0 52px; font-size: clamp(49px, 14vw, 66px); }
  .show-copy dl > div { min-height: 64px; grid-template-columns: 94px 1fr; gap: 16px; }
  .show-summary { font-size: 15px; }
  .show-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .show-primary { min-height: 50px !important; }

  .archive-intro { padding: 94px 20px; gap: 36px; }
  .archive-intro > p { max-width: 340px; }
  .archive-event { padding: 82px 20px 108px; gap: 54px; }
  .archive-event-head h3 { font-size: clamp(42px, 12vw, 58px); }
  .archive-event-images { display: block; }
  .archive-event-images figure { width: 100%; margin: 0 0 26px !important; }
  .archive-event-images .archive-tall,
  .archive-event-images .archive-tall-offset { width: 76%; margin-left: auto !important; aspect-ratio: 3 / 4; }
  .archive-event-images .archive-wide-small { width: 86%; margin-left: auto !important; }

  .expo-close { min-height: 82dvh; padding: 92px 20px 44px; grid-template-columns: 1fr; align-items: start; gap: 72px; }
  .expo-close > a { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .expo-hero-primary,
  .expo-hero-secondary { clip-path: inset(0); animation: none; }
  .js .expo-reveal > * { opacity: 1; transform: none; }
}
