/* Press Print Party 2026
   Display type is all caps Uncut Sans Bold with single vowels swapped to Avara Bold Italic (.av).
   Images sit as inset blocks; display type runs over their edges, as on the posters. */
@font-face {
  font-family: "Uncut Sans";
  src: url("../fonts/UncutSans-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Avara";
  src: url("../fonts/Avara-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
:root {
  --black: #000;
  --white: #fff;
  --blue: #1000E4;
  --yellow: #FFE400;
  --green: #15D902;
  --magenta: #F300EB;
  --cyan: #25F3FF;
  --pink: #FF0186;
  --gutter: clamp(16px, 4vw, 48px);
  --inset: calc(var(--gutter) + clamp(12px, 3vw, 48px));
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Uncut Sans", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.5;
  font-feature-settings: "ss01"; /* Uncut Sans alternate R */
}
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--black); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 700; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Display type */
.display {
  font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: .88;
}
/* Headings set tighter than the hero lockup, whose sizes are fitted to its spacing. */
h1.display, h2.display { letter-spacing: -0.045em; }
/* Avara's capitals stand ~14% taller than Uncut Sans; scale to match cap height. */
.av { font-family: "Avara", serif; font-style: italic; font-weight: 700; font-size: .88em; }

/* Running text */
.ticker { background: var(--yellow); color: var(--black); overflow: hidden; }
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 45s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker p {
  margin: 0; padding: 8px 0; white-space: nowrap;
  text-transform: uppercase; font-weight: 600; font-size: .9375rem; letter-spacing: .01em;
}
.ticker p > span { padding-right: 2.5em; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; width: auto; }
  .ticker p { white-space: normal; padding-inline: var(--gutter); }
  .ticker p[aria-hidden] { display: none; }
}

/* Header */
.site-header .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 8px 32px; padding-block: 16px;
}
.site-header .org { margin: 0; font-weight: 600; }
.site-header .home img { width: clamp(150px, 15vw, 216px); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.nav a { color: var(--black); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

/* Home hero */
.hero { position: relative; isolation: isolate; max-width: 1440px; margin-inline: auto; }
.hero-img, .hero-img img {
  position: absolute; z-index: -1; object-fit: cover;
}
.hero-img { inset: clamp(40px, 8%, 96px) var(--inset) 0; }
.hero-img img { inset: 0; width: 100%; height: 100%; }
.hero-inner { padding: 8px var(--gutter) clamp(80px, 14vw, 240px); }
.hero-top {
  container-type: inline-size;
  display: flex; flex-direction: column; gap: 6cqi;
}
/* Logo PNG is trimmed to the artwork, so its width is the artwork's width. */
.hero-logo { margin: 0; width: 100%; }
.hero-logo img { width: 100%; }
.lockup { container-type: inline-size; margin: 0; }
.lockup > span { display: block; white-space: nowrap; }
.lockup .date { font-size: 24.8cqi; }
/* The dash between the days stretches so both date lines run the same width, as on the posters. */
.lockup .days { display: flex; align-items: center; }
.lockup .rule { flex: 1; height: .085em; margin: .04em .1em 0; background: currentColor; }
.lockup .venue { font-size: 11.9cqi; line-height: .95; }
.lockup .venue:first-of-type { margin-top: .12em; }
/* Desktop: logo and lockup on one line, like the short lockup in the identity system.
   The lockup's ink (cap top of 06 to baseline of FATMAWATI) is 0.635 × its width and the logo
   artwork is 1.995:1, so these widths give both the same height. The negative margin lifts the
   line box so the cap top of 06 sits level with the top of the logo. */
@media (min-width: 900px) {
  .hero-top { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 0; }
  .hero-logo { width: 54.21cqi; }
  .lockup { width: 42.79cqi; margin-top: -0.95cqi; }
}

/* Facts under the home hero */
.facts .wrap {
  display: grid; gap: 12px 32px; padding-block: 20px 48px;
}
.facts p { margin: 0; font-weight: 600; }
@media (min-width: 768px) { .facts .wrap { grid-template-columns: repeat(3, 1fr); } }

/* Inner page title: display heading over the top edge of an inset still */
.page-hero { position: relative; isolation: isolate; max-width: 1440px; margin-inline: auto; }
.page-hero > img {
  position: absolute; z-index: -1; top: clamp(24px, 3vw, 44px); bottom: 0;
  left: var(--inset); right: var(--inset);
  width: calc(100% - 2 * var(--inset)); height: calc(100% - clamp(24px, 3vw, 44px));
  object-fit: cover;
}
.page-hero .inner { padding: 8px var(--gutter) clamp(56px, 8vw, 120px); }
.page-hero h1 { font-size: clamp(2.5rem, 9vw, 7.5rem); margin-left: -0.03em; }

/* Codex band (home) */
.theme { position: relative; isolation: isolate; max-width: 1440px; margin-inline: auto; }
.theme > img {
  position: absolute; z-index: -1; top: clamp(28px, 3.5vw, 48px); bottom: 0;
  left: var(--inset); right: var(--inset);
  width: calc(100% - 2 * var(--inset)); height: calc(100% - clamp(28px, 3.5vw, 48px));
  object-fit: cover;
}
.theme .inner { padding: 0 var(--gutter) 36px; display: grid; gap: 20px; }
.theme h2 { font-size: clamp(4.5rem, 10vw, 8.5rem); margin-left: -0.03em; }
.theme .text {
  max-width: 38em; font-size: 1.0625rem; font-weight: 600; line-height: 1.45;
  padding-inline: calc(var(--inset) - var(--gutter) + 8px);
}
.theme .text p:last-child { margin-bottom: 0; }
.theme a { color: var(--black); }
@media (min-width: 900px) {
  .theme .inner { grid-template-columns: 1fr 1.25fr; align-items: start; padding-bottom: 40px; }
  .theme .text { padding: clamp(72px, 6vw, 88px) calc(var(--inset) - var(--gutter) + 32px) 0 0; }
}

/* Sections */
.section .wrap { padding-block: 64px; }
.section.program, .section.green { background: var(--green); }
.section.exhibitors, .section.yellow { background: var(--yellow); }
.section.cyan { background: var(--cyan); }
.section.pink { background: var(--pink); }
.section.program a, .section.green a, .section.cyan a, .section.pink a,
.section.exhibitors a, .section.yellow a { color: var(--black); }
[hidden] { display: none !important; }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end;
  gap: 12px 24px; margin-bottom: 32px; padding-bottom: 12px;
  border-bottom: 2px solid var(--black);
}
.section-head h2 { font-size: clamp(2.5rem, 7vw, 6rem); }
.section-head a { font-weight: 600; }
.lede { max-width: 40em; margin-bottom: 32px; font-size: 1.1875rem; }

/* Running text set as paragraphs (About, Program) */
.prose { max-width: 40em; font-size: 1.1875rem; line-height: 1.55; }
.prose p:last-child { margin-bottom: 0; }

/* Labelled rows: label left, content right (Visitor guide, Contact, About) */
.rows { margin: 0; }
.rows > div {
  display: grid; gap: 6px 32px; padding: 20px 0;
  border-top: 2px solid var(--black);
}
.rows > div:last-child { border-bottom: 2px solid var(--black); }
.section-head + .rows > div:first-child { border-top: 0; padding-top: 0; }
.rows dt, .rows .label { font-size: 1.375rem; font-weight: 700; line-height: 1.2; }
.rows dd { margin: 0; max-width: 40em; }
.rows dd p:last-child { margin-bottom: 0; }
.rows .big { font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.25; }
@media (min-width: 768px) {
  .rows > div { grid-template-columns: minmax(200px, 1fr) 2fr; }
}
/* Ticket prices: pass name left, price right */
.tickets { margin: 4px 0 16px; padding: 0; list-style: none; max-width: 28em; }
.tickets li {
  display: flex; justify-content: space-between; gap: 16px; padding: 8px 0;
  border-bottom: 2px solid var(--black); font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.25;
}
.tickets li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Program strands */
.programs { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.programs h3 { font-size: 1.375rem; margin-bottom: 8px; }
.programs p { margin: 0; max-width: 32em; }
@media (min-width: 700px) { .programs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .programs { grid-template-columns: repeat(4, 1fr); } }

/* Program rundown: one coloured section per day, sessions as time + details rows */
.day-jump { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 32px; }
.day-jump a { color: var(--black); font-weight: 600; }
.rundown .day-date { margin: 0; font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.25; text-align: right; }
.sessions { margin: 0; padding: 0; list-style: none; }
.session { display: grid; gap: 4px 32px; padding: 20px 0; border-top: 2px solid var(--black); }
.session:first-child { border-top: 0; padding-top: 0; }
.session .when { margin: 0; font-size: 1.375rem; font-weight: 700; line-height: 1.2; }
.session .meta { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 600; }
.session .kind { text-transform: uppercase; letter-spacing: .02em; }
.session .lead { margin: 0 0 8px; font-size: .9375rem; }
.session h4 { margin: 10px 0 2px; font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.15; }
.session .meta + h4, .session .lead + h4 { margin-top: 0; }
.session .with { margin: 0; }
.session .with em { font-style: italic; }
/* Country tags, as on the venue map and booklet */
.cc { font-size: .62em; font-weight: 600; vertical-align: super; line-height: 0; margin-left: .2em; letter-spacing: .02em; }
@media (min-width: 768px) {
  .session { grid-template-columns: 220px 1fr; }
}

/* Exhibitor index */
.index { columns: 1; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.index li { break-inside: avoid; display: flex; gap: 12px; padding: 3px 0; }
.index .booth { font-weight: 600; min-width: 2.6em; font-variant-numeric: tabular-nums; }
.index-group + .index-group { margin-top: 36px; }
.index-group h3 { font-size: 1.25rem; margin-bottom: 10px; }
.index-group .section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--black);
}
@media (min-width: 560px) { .index { columns: 2; } }
@media (min-width: 900px) { .index { columns: 3; } }
@media (min-width: 1200px) { .index { columns: 4; } }

/* Exhibitors page: venue map on top, list in columns below */
.ex-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .ex-list .index { columns: 4; } }
@media (min-width: 1500px) { .ex-list .index { columns: 6; } }

/* Venue map with booth hotspots; a booth lights up when it or its name is pointed at */
.venue-map { margin: 0; }
.map-frame { position: relative; border: 2px solid var(--black); }
.map-frame img { display: block; width: 100%; }
.map-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-frame rect { fill: transparent; stroke: transparent; stroke-width: 6; cursor: pointer; transition: fill .12s; }
.map-frame rect.is-match { fill: rgba(243, 0, 235, .38); }
.map-frame rect.is-hot { fill: var(--magenta); stroke: var(--black); }
.venue-map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; margin-top: 10px; font-weight: 600; }
.map-readout { margin: 0; min-height: 1.5em; }
.index li.is-hot { background: var(--black); color: var(--yellow); box-shadow: -6px 0 0 var(--black), 6px 0 0 var(--black); }
.ex-list .index li { cursor: default; }
@media (prefers-reduced-motion: reduce) { .map-frame rect { transition: none; } }

/* Exhibitor search */
.filter { display: grid; gap: 6px; max-width: 28rem; margin-bottom: 36px; }
.filter label { font-weight: 600; }
.filter input {
  font: inherit; font-feature-settings: inherit; color: var(--black);
  padding: 10px 12px; border: 2px solid var(--black); border-radius: 0; background: var(--white);
}
.filter input:focus-visible { outline-offset: 0; }
.no-results { font-weight: 600; }

/* Sponsors: logos sized by tier, centred like the sponsor slides */
.sponsors .wrap { text-align: center; }
.tier-title { margin: 56px 0 20px; font-size: 1.25rem; font-weight: 600; }
.sponsors .tier-title:first-child { margin-top: 0; }
.logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 16px clamp(16px, 3vw, 40px); margin: 0 auto; padding: 0; list-style: none; max-width: 1200px;
}
/* --f (set per logo) evens out visual weight: square marks get taller, long wordmarks shorter. */
.logos img { width: auto; height: calc(var(--h) * var(--f, 1)); max-width: 100%; }
.tier-1 { --h: clamp(96px, 14vw, 170px); }
.tier-2 { --h: clamp(48px, 6vw, 80px); margin-top: 16px; }
.tier-3 { --h: clamp(40px, 4.4vw, 60px); }
.tier-4 { --h: clamp(30px, 3.4vw, 46px); }
.partners {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px;
  margin: 56px auto 0; padding: 0; list-style: none; max-width: 1200px;
}
.partners li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.partners .role { margin: 0; font-size: 1.125rem; font-weight: 600; }
.partners img { width: auto; height: calc(clamp(44px, 4.6vw, 64px) * var(--f, 1)); max-width: 100%; }
.partners .age { height: 28px; width: auto; }
@media (min-width: 768px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .partners { grid-template-columns: repeat(6, 1fr); } }
.organizers { display: grid; gap: 8px 48px; justify-content: center; margin-top: 120px; }
.organizers > div { display: flex; flex-direction: column; align-items: center; }
.organizers img { height: calc(clamp(56px, 6vw, 80px) * var(--f, 1)); width: auto; }
.organizers .tier-title { margin-top: 0; }
@media (min-width: 768px) { .organizers { grid-template-columns: auto auto; } }
.fineprint { margin: 56px auto 0; max-width: 60em; font-size: .75rem; }

/* Visit (home) */
.visit-grid { display: grid; gap: 28px; }
.visit-grid h3 { font-size: 1.375rem; margin-bottom: 8px; }
.visit-grid p { max-width: 34em; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: repeat(3, 1fr); } }

/* Footer */
.site-footer { background: var(--blue); color: var(--white); }
.site-footer .wrap {
  padding-block: 32px; display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--white); }
