/* =========================================================
   Expo Mebel Astana
   Light-first brand UI: report blue (#4a7ff7) + red accent (#f83030 family), dark theme on toggle.
   Shape rule: interactive = pill, media + containers = 14px, inputs = 12px.
   ========================================================= */

/* ---------- 1. tokens ---------- */
:root {
  /* light is the default: white canvas, report blue as primary, report red as the sharp accent */
  --bg: #ffffff;
  --bg-2: #f3f6fe;
  --bg-3: #ffffff;
  --bg-4: #e3eafc;
  --line: rgba(15, 22, 48, 0.1);
  --line-strong: rgba(15, 22, 48, 0.22);
  --text: #0f1630;
  --text-2: #29314d;
  --muted: #566080;
  --brand: #4a7ff7;
  --brand-deep: #1f3fa8;
  --accent: #3668ee;
  --accent-ink: #ffffff;
  --accent-soft: rgba(54, 104, 238, 0.1);
  --signal: #d92b2b;
  --signal-ink: #ffffff;
  --btn2: #0f1630;
  --btn2-ink: #ffffff;
  --danger: #b3261e;
  --success: #2f6b3a;
  --on-media: #ffffff;
  --on-media-2: rgba(255, 255, 255, 0.84);
  --scrim: 10, 18, 48;
  --wash: 255, 255, 255;
  --shadow: 0 30px 70px -34px rgba(31, 63, 168, 0.35);
  --map-filter: none;
  --logo-tile: #ffffff;
  --logo-chair: #683c3c; /* the real logo is rosewood + near-black, never recoloured to the site palette */

  /* every face below covers full Kazakh Cyrillic (ә ғ қ ң ө ұ ү һ і);
     Unbounded doesn't, so it's reserved for the Latin-only brand lockup */
  --font-brand: "Unbounded", "Geologica", system-ui, sans-serif;
  --font-display: "Geologica", "Onest", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --r-media: 14px;
  --r-input: 12px;
  --r-pill: 999px;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1440px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* z-scale, keep it boring */
  --z-base: 1;
  --z-menu: 90;
  --z-nav: 100;
  --z-curtain: 300;
  --z-loader: 400;
  --z-grain: 500;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b1020;
  --bg-2: #111832;
  --bg-3: #172041;
  --bg-4: #1f2a52;
  --line: rgba(232, 238, 255, 0.1);
  --line-strong: rgba(232, 238, 255, 0.22);
  --text: #eef2ff;
  --text-2: #c3cce8;
  --muted: #98a3c4;
  --brand: #4a7ff7;
  --brand-deep: #2c4fc4;
  --accent: #6c9bff;
  --accent-ink: #081028;
  --accent-soft: rgba(108, 155, 255, 0.16);
  --signal: #ff6b63;
  --signal-ink: #1a0707;
  --btn2: #eef2ff;
  --btn2-ink: #0b1020;
  --danger: #ff8a80;
  --success: #9cc8a4;
  --scrim: 5, 8, 20;
  --wash: 11, 16, 32;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --map-filter: grayscale(0.4) invert(0.9) hue-rotate(180deg) contrast(0.9);
  --logo-tile: #eef2ff;
  --logo-chair: #c97f72;
  color-scheme: dark;
}

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a, button, label, input, select, textarea { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
main { overflow-x: clip; width: 100%; max-width: 100%; }

.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: fixed; top: 12px; left: 12px; z-index: calc(var(--z-loader) + 1);
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-ink); font-weight: 600;
  transform: translateY(-200%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* static noise; blend modes on a fixed layer repaint the whole page, so no */
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. layout + utilities ---------- */
.container {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.section { position: relative; padding-block: clamp(80px, 11vw, 168px); }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.bg-2 { background: var(--bg-2); }

.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 24px; }
.stack-lg > * + * { margin-top: 40px; }
.mt-xs { margin-top: 12px; }
.mt-sm { margin-top: 20px; }
.mt-md { margin-top: 28px; }
.mt-lg { margin-top: 48px; }
.mb-md { margin-bottom: 32px; }
.mb-lg { margin-bottom: 48px; }
.measure { max-width: 56ch; }

.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.row-between--center { align-items: center; }
.row-between--baseline { align-items: baseline; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--end { align-items: end; }
.split__sticky { position: sticky; top: calc(var(--nav-h) + 110px); }
.split .h2 { font-size: clamp(2rem, 3.6vw, 3.6rem); }
@media (max-width: 900px) {
  .split, .split--even { grid-template-columns: 1fr; }
  .split__sticky { position: static; }
}
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.media { position: relative; overflow: hidden; border-radius: var(--r-media); background: var(--bg-3); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--43 { aspect-ratio: 4 / 3; }
.media--169 { aspect-ratio: 16 / 9; }
.media--contain img { object-fit: contain; background: #fff; }

/* ---------- 4. type ---------- */
.display {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: -0.035em; line-height: 1.04;
  text-wrap: balance; overflow-wrap: break-word;
}
.h2 { font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1.05; }
.h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.12; letter-spacing: -0.025em; }
.h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.01em; }
.lead { max-width: 58ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.body { max-width: 65ch; color: var(--text-2); text-wrap: pretty; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.mono { font-family: var(--font-mono); font-size: 0.86em; font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }
.label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.eyebrow--on-media { color: var(--on-media-2); }
.icon-accent { font-size: 28px; color: var(--accent); }

/* split text: masks keep descenders, JS slides the inner span */
.split-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split-word, .split-char { display: inline-block; }
.split-word { white-space: nowrap; }

/* ---------- 5. buttons + links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: var(--r-pill);
  font-size: 15.5px; font-weight: 600; white-space: nowrap;
  transition: color 0.45s var(--ease), background-color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.2s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--text); transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(0.98); }
.btn i { font-size: 18px; transition: transform 0.45s var(--ease); }
.btn:hover .ph-arrow-up-right, .btn:hover .ph-arrow-right { transform: translateX(3px); }
/* every button is a filled shape: blue primary, navy secondary, white on photos, red for the one loud action */
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 28px -14px rgba(54, 104, 238, 0.7); }
.btn--primary::before { background: var(--brand-deep); }
.btn--primary:hover { color: #fff; }
.btn--ghost { background: var(--btn2); color: var(--btn2-ink); }
.btn--ghost::before { background: var(--accent); }
.btn--ghost:hover { color: var(--accent-ink); }
.btn--signal { background: var(--signal); color: var(--signal-ink); box-shadow: 0 12px 28px -14px rgba(217, 43, 43, 0.65); }
.btn--signal::before { background: var(--btn2); }
.btn--signal:hover { color: var(--btn2-ink); }
.btn--on-media { background: #fff; color: #0f1630; }
.btn--on-media::before { background: var(--brand); }
.btn--on-media:hover { color: #fff; }
.btn--current { color: inherit; border: 1px solid currentColor; background: transparent; }
.btn--current::before { background: currentColor; opacity: 0.12; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .lbl, .btn.is-loading i { opacity: 0; }
.btn.is-loading::after {
  content: ""; position: absolute; left: 20%; top: 50%; width: 60%; height: 2px;
  background: linear-gradient(90deg, transparent, currentColor, transparent) no-repeat;
  background-size: 50% 100%; animation: shimmer 1s linear infinite;
}
@keyframes shimmer { from { background-position: -50% 0; } to { background-position: 150% 0; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 15px;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.2s var(--ease);
}
.link-arrow:hover { background: var(--accent); color: var(--accent-ink); }
.link-arrow:active { transform: scale(0.98); }
.link-arrow i { transition: transform 0.4s var(--ease); }
.link-arrow:hover i { transform: translate(2px, -2px); }

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); font-size: 18px;
  transition: background-color 0.3s, border-color 0.3s, transform 0.2s;
}
.icon-btn:hover { background: var(--accent-soft); border-color: var(--line-strong); }
.icon-btn:active { transform: scale(0.95); }

/* ---------- 6. chrome: nav, menu, loader, curtain ---------- */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: var(--z-nav); pointer-events: none;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  transition: transform 0.6s var(--ease);
}
.nav.is-hidden { transform: translateY(-140%); }
.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }
.nav__bar {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--maxw); height: var(--nav-h); margin: 0 auto; padding: 0 10px 0 20px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  /* never fully transparent: at the top it matches the page bg so it reads as "no bar",
     but content can't bleed through during reload / scroll restoration */
  background: rgba(var(--wash), 0.78);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled .nav__bar {
  background: rgba(var(--wash), 0.9); border-color: var(--line);
  box-shadow: 0 18px 40px -22px rgba(31, 63, 168, 0.35);
}
.menu-open .nav { transform: none; }
.menu-open .nav .nav__bar { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__chair { width: 26px; height: 33px; color: var(--logo-chair); }
.brand__chair path, .curtain__chair path, .marquee__item path { fill: currentColor; }
.brand__word { font-family: var(--font-brand); font-size: 11.5px; font-weight: 500; line-height: 1.08; letter-spacing: 0.06em; text-transform: uppercase; }
.brand__word span { display: block; }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; padding: 9px 13px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 500; color: var(--text-2); white-space: nowrap;
  transition: color 0.3s, background-color 0.3s;
}
.nav__link:hover { color: var(--text); background: var(--accent-soft); }
.nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--accent);
}
.nav__right { display: flex; align-items: center; gap: 8px; }

.lang { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--r-pill); border: 1px solid var(--line); }
.lang a { padding: 6px 10px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 12px; color: var(--muted); transition: color 0.3s, background-color 0.3s; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { background: var(--text); color: var(--bg); }
.nav .lang { display: none; }
@media (min-width: 1360px) { .nav .lang { display: flex; } }

.burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; width: 18px; height: 1.5px; margin: 0 auto; background: currentColor; transition: transform 0.5s var(--ease); }
.menu-open .burger span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 1239px) { .nav__links { display: none; } }
@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  .nav { top: 10px; }
  .nav__cta, .nav .theme-toggle { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu); visibility: hidden;
  overflow-y: auto; overscroll-behavior: contain; background: var(--bg-2);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--ease-io);
}
.menu-open .menu { visibility: visible; clip-path: inset(0 0 0% 0); }
.menu-closing .menu { visibility: visible; }
.menu__inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px 64px;
  max-width: var(--maxw); min-height: 100vh; min-height: 100dvh; margin: 0 auto;
  padding: calc(var(--nav-h) + 72px) var(--gutter) 40px;
}
.menu__primary li { overflow: hidden; }
.menu__primary a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 4rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.03em;
  transform: translateY(110%); transition: transform 0.5s var(--ease), color 0.3s;
}
.menu__primary a small { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; color: var(--muted); transform: translateY(-1.2em); }
.menu__primary a:hover { color: var(--accent); }
.menu-open .menu__primary a { transform: translateY(0); transition: transform 0.9s var(--ease), color 0.3s; }
.menu-open .menu__primary li:nth-child(1) a { transition-delay: 0.25s, 0s; }
.menu-open .menu__primary li:nth-child(2) a { transition-delay: 0.3s, 0s; }
.menu-open .menu__primary li:nth-child(3) a { transition-delay: 0.35s, 0s; }
.menu-open .menu__primary li:nth-child(4) a { transition-delay: 0.4s, 0s; }
.menu-open .menu__primary li:nth-child(5) a { transition-delay: 0.45s, 0s; }
.menu-open .menu__primary li:nth-child(6) a { transition-delay: 0.5s, 0s; }
.menu__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 32px 28px; }
.menu__group h3 { margin-bottom: 14px; }
.menu__group a { display: block; padding: 5px 0; color: var(--text-2); transition: color 0.3s, transform 0.4s var(--ease); }
.menu__group a:hover { color: var(--text); transform: translateX(4px); }
.menu__group, .menu__foot { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.8s var(--ease); }
.menu-open .menu__group, .menu-open .menu__foot { opacity: 1; transform: none; transition-delay: 0.45s; }
.menu__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; grid-column: 1 / -1; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); }
.menu__foot a:hover { color: var(--text); }
@media (max-width: 900px) {
  .menu__inner { grid-template-columns: 1fr; gap: 40px; padding-top: calc(var(--nav-h) + 48px); }
}
@media (max-width: 520px) {
  .menu__groups { gap: 24px 16px; }
  .menu__primary a { font-size: 7.2vw; }
}

.loader { position: fixed; inset: 0; z-index: var(--z-loader); display: none; background: var(--bg); color: var(--text); }
.is-loading .loader { display: block; }
.is-loading body { overflow: hidden; }
.loader canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__meta {
  position: absolute; left: var(--gutter); bottom: clamp(20px, 4vh, 40px);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.loader__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; }

.curtain { position: fixed; inset: 0; z-index: var(--z-curtain); pointer-events: none; background: var(--bg-3); transform: translateY(100%); }
.curtain__chair { position: absolute; left: 50%; top: 50%; width: 46px; height: 58px; margin: -29px 0 0 -23px; color: var(--logo-chair); opacity: 0; }
.is-entering .curtain { transform: translateY(0); }
.is-entering .curtain__chair { opacity: 1; }

/* ---------- 7. home ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 40px) 0 72px; overflow: hidden; }
.hero__glow {
  position: absolute; top: -20%; right: -10%; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(74, 127, 247, 0.2), rgba(74, 127, 247, 0.07) 48%, transparent 72%);
}
.hero__grid { position: relative; z-index: var(--z-base); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: 32px; width: 100%; }
.hero__copy { position: relative; z-index: 2; }
.hero__title { margin-top: 26px; font-family: var(--font-brand); font-weight: 500; font-size: clamp(2.9rem, 7.2vw, 7.4rem); line-height: 0.96; letter-spacing: -0.045em; }
.hero__title .line-2 { color: var(--accent); }
.hero__sub { max-width: 34ch; margin-top: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__stage { position: relative; justify-self: center; width: min(100%, 560px); aspect-ratio: 54 / 69; }
.hero__stage canvas { position: absolute; inset: -12%; width: 124%; height: 124%; contain: strict; }
.hero__ring { position: absolute; inset: 6% -2% 2% 2%; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; }
.hero__photo { position: absolute; right: -4%; bottom: 4%; z-index: 3; width: 38%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-media); box-shadow: var(--shadow); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .hero { align-items: flex-start; padding-top: calc(var(--nav-h) + 48px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { order: 2; width: min(78vw, 420px); margin-top: 8px; }
  .hero__photo { width: 34%; right: -6%; }
}

.countdown { display: flex; gap: 18px; margin-top: 12px; }
.countdown div { display: flex; flex-direction: column; }
.countdown b { font-family: var(--font-display); font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.countdown span { margin-top: 6px; font-size: 12px; color: var(--muted); }

.manifesto__text { max-width: 22ch; font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 3.4rem); font-weight: 400; line-height: 1.18; letter-spacing: -0.03em; text-wrap: balance; }
.manifesto__text .w { opacity: 0.14; }
.inline-img { display: inline-block; width: 2.3em; height: 0.92em; margin: 0 0.12em; border-radius: var(--r-pill); vertical-align: -0.06em; background-size: cover; background-position: center; }
.inline-img--sofa { background-image: url("../img/sofa-green.webp"); }
.inline-img--panel { background-image: url("../img/panel.webp"); }

.hpan { position: relative; overflow: hidden; }
.hpan__wrap { padding-top: 48px; }
.hpan__track { display: flex; gap: 20px; padding-inline: var(--gutter); }
@media (min-width: 768px) and (hover: hover) {
  .hpan { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100dvh; padding-block: 48px; }
  .hpan__track { will-change: transform; }
}
.cat-card { position: relative; isolation: isolate; flex: 0 0 auto; display: block; width: clamp(280px, 30vw, 440px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-media); background: var(--bg-3); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transform: scale(1.04); transition: transform 1.2s var(--ease), filter 0.8s; }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(var(--scrim), 0) 40%, rgba(var(--scrim), 0.85) 100%); }
.cat-card:hover img { filter: saturate(1); transform: scale(1.1); }
.cat-card__body { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; color: var(--on-media); }
.cat-card__count { font-family: var(--font-mono); font-size: 12px; color: var(--on-media-2); }
.cat-card h3 { margin-top: 8px; font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; overflow-wrap: break-word; }
.cat-card__go {
  position: absolute; top: 18px; right: 18px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; color: var(--on-media); background: rgba(13, 13, 14, 0.4);
  opacity: 0; transform: scale(0.8) rotate(-45deg); transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.cat-card:hover .cat-card__go { opacity: 1; transform: scale(1) rotate(0); }
.cat-card--end { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; background: var(--accent); color: var(--accent-ink); }
.cat-card--end::after { display: none; }
.cat-card--end i { font-size: 44px; }
/* touch screens swipe the rail natively; only mouse + wide gets the scroll-pinned pan */
@media (max-width: 767px), (hover: none) {
  .hpan__track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hpan__track::-webkit-scrollbar { display: none; }
  .cat-card { scroll-snap-align: start; }
}
@media (max-width: 767px) { .cat-card { width: 78vw; } }

.aud__list { margin-top: 56px; border-top: 1px solid var(--line); }
.aud__row { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.aud__row .num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.aud__row h3 { font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 2.3rem); font-weight: 400; line-height: 1.15; letter-spacing: -0.03em; overflow-wrap: break-word; min-width: 0; transition: transform 0.6s var(--ease), color 0.4s; }
.aud__row .tag { max-width: 28ch; font-size: 14px; text-align: right; color: var(--muted); }
.aud__row:hover h3 { color: var(--accent); transform: translateX(16px); }
@media (max-width: 860px) {
  .aud__row { grid-template-columns: 40px 1fr; }
  .aud__row .tag { display: none; }
}

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); grid-auto-flow: dense; gap: 16px; margin-top: 56px; }
.tile {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: 260px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-3);
}
.tile--img { border: 0; color: var(--on-media); }
.tile--img > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--scrim), 0.15), rgba(var(--scrim), 0.82)); }
.tile--img:hover > img { transform: scale(1.06); }
.tile--img .body { color: var(--on-media-2); }
.tile--accent { border: 0; background: var(--accent); color: var(--accent-ink); }
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tile__icon { flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid currentColor; border-radius: 50%; font-size: 22px; opacity: 0.85; transition: transform 0.6s var(--ease); }
.tile:hover .tile__icon { transform: rotate(-45deg); }
.tile-a { grid-column: span 7; grid-row: span 3; }
.tile-b { grid-column: span 5; grid-row: span 2; }
.tile-c { grid-column: span 5; grid-row: span 1; }
.tile-d { grid-column: span 4; grid-row: span 2; }
.tile-e { grid-column: span 8; grid-row: span 2; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-a, .tile-e { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .tile-b, .tile-c, .tile-d { grid-column: span 1; grid-row: auto; }
  .tile-c { min-height: 0; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile-a, .tile-b, .tile-c, .tile-d, .tile-e { grid-column: span 1; }
}

.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 2.1rem); letter-spacing: -0.02em; white-space: nowrap; color: var(--text-2); }
.marquee__item svg { flex-shrink: 0; width: 18px; height: 23px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

.venue { position: relative; height: 180vh; }
.venue__sticky { position: sticky; top: 0; display: grid; place-items: center; height: 100vh; height: 100dvh; overflow: hidden; }
.venue__media { position: absolute; inset: 0; overflow: hidden; border-radius: var(--r-media); transform-origin: 50% 50%; will-change: transform; }
.venue__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); will-change: transform; }
.venue__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--scrim), 0.2) 0%, rgba(var(--scrim), 0.7) 100%); }
.venue__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 7vh, 72px); z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; color: var(--on-media); }
.venue__copy .lead { color: var(--on-media-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 767px) {
  .venue { height: auto; }
  .venue__sticky { position: relative; height: 92vh; height: 92svh; }
  .venue__media { border-radius: 0; }
  .venue__media img { transform: none; }
}

.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.path {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 520px; padding: clamp(28px, 3.4vw, 48px); overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-3);
}
.path > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 0.8s var(--ease), transform 1.4s var(--ease); }
.path::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(180deg, rgba(var(--scrim), 0.3), rgba(var(--scrim), 0.85)); transition: opacity 0.8s var(--ease); }
.path:hover, .path:focus-within { color: var(--on-media); }
.path:hover > img, .path:focus-within > img { opacity: 1; transform: scale(1); }
.path:hover::before, .path:focus-within::before { opacity: 1; }
.path__list { display: grid; gap: 10px; margin-top: 26px; }
.path__list li { display: flex; align-items: baseline; gap: 12px; }
.path__list i { color: var(--accent); transform: translateY(2px); }
@media (max-width: 860px) {
  .paths { grid-template-columns: 1fr; }
  .path { min-height: 440px; }
}

/* ---------- 8. inner page hero + sticky sub-tabs ---------- */
.phero { position: relative; padding: calc(var(--nav-h) + clamp(72px, 10vw, 128px)) 0 clamp(40px, 5vw, 64px); }
.phero--flat { padding-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: 0.5; }
.phero__title { margin-top: 22px; font-size: clamp(2.1rem, 10.4vw, 7rem); line-height: 0.98; letter-spacing: -0.045em; }
.phero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; margin-top: 32px; }
.phero__meta { display: flex; flex-wrap: wrap; gap: 32px; }
.phero__meta div { display: flex; flex-direction: column; gap: 4px; }
.phero__meta dt { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.phero__meta dd { font-weight: 600; }
.phero__media { position: relative; aspect-ratio: 21 / 8; margin-top: clamp(48px, 6vw, 80px); overflow: hidden; border-radius: var(--r-media); }
.phero__media img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
@media (max-width: 760px) {
  .phero__row { grid-template-columns: 1fr; }
  .phero__media { aspect-ratio: 4 / 3; }
}

.subnav { position: sticky; top: calc(var(--nav-h) + 22px); z-index: calc(var(--z-menu) - 1); /* stays under the full-screen menu */ margin-top: 8px; pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), top 0.6s var(--ease); }
.nav.is-hidden ~ main .subnav { top: 14px; } /* main bar slid away: take its slot */
.subnav--spaced { margin-top: 48px; }
.subnav-sentinel { height: 1px; margin-bottom: -1px; pointer-events: none; }
/* pinned: same pill, tighter, and never wider than the left column of the 5/7 split,
   so it can't touch the card next to it; extra items scroll inside the pill */
.subnav.is-stuck .subnav__inner { box-shadow: 0 14px 32px -22px rgba(31, 63, 168, 0.28); }
.subnav.is-stuck a { padding: 8px 12px; font-size: 13.5px; }
:root[data-theme="dark"] .subnav.is-stuck .subnav__inner { box-shadow: 0 14px 32px -20px rgba(0, 0, 0, 0.6); }
@media (min-width: 901px) {
  .subnav.is-stuck .subnav__inner {
    --cw: calc(min(100vw, var(--maxw)) - 2 * var(--gutter));
    --g: clamp(32px, 6vw, 96px);
    max-width: calc((var(--cw) - var(--g)) * 5 / 12 + var(--g) / 2);
  }
}
/* soft fade on the clipped edge so it reads as "scrolls", not "cut off" */
.subnav__inner.is-overflowing::after {
  content: ""; position: sticky; right: -5px; z-index: 2; flex: 0 0 32px; margin-left: -32px;
  border-radius: 0 var(--r-pill) var(--r-pill) 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--wash), 0), rgba(var(--wash), 0.95));
}
.subnav.is-off { opacity: 0; transform: translateY(-12px); }
.subnav__inner {
  position: relative; display: flex; gap: 4px; width: max-content; max-width: 100%; padding: 5px;
  overflow-x: auto; scrollbar-width: none; pointer-events: auto;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: rgba(var(--wash), 0.88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.subnav.is-off .subnav__inner { pointer-events: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { position: relative; z-index: 1; flex-shrink: 0; padding: 9px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--muted); transition: color 0.35s; }
.subnav a:hover { color: var(--text); }
.subnav a.is-active { color: var(--accent-ink); }
.subnav__pill { position: absolute; top: 5px; bottom: 5px; left: 0; z-index: 0; width: 0; border-radius: var(--r-pill); background: var(--accent); transition: transform 0.55s var(--ease), width 0.55s var(--ease); }
.anchor { scroll-margin-top: calc(var(--nav-h) + 100px); }

/* ---------- 9. content blocks ---------- */
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-2); }
.card .h4 { margin-bottom: 12px; }
.card--link { display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: border-color 0.3s; }
.card--link:hover { border-color: var(--accent); }
.card--link .h4 { margin: 0; }
.card--link i { font-size: 22px; color: var(--accent); }

.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-2); }

.callout { display: flex; align-items: flex-start; gap: 18px; padding: 24px 26px; border-radius: var(--r-media); background: var(--accent-soft); }
.callout > i { flex-shrink: 0; font-size: 24px; color: var(--accent); }
.callout p { color: var(--text-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: 14.5px; color: var(--text-2); }

.check-list { display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text-2); }
.check-list i { font-size: 18px; color: var(--accent); transform: translateY(3px); }

.profile-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 28px; }
.profile-list--single { grid-template-columns: 1fr; }
.profile-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.profile-list i { color: var(--accent); transform: translateY(4px); }
@media (max-width: 640px) { .profile-list { grid-template-columns: 1fr; } }

.adv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--line); }
.adv li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line); }
.adv li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.adv i { font-size: 24px; color: var(--accent); }
.adv p { color: var(--text-2); }
@media (max-width: 700px) {
  .adv { grid-template-columns: 1fr; }
  .adv li:nth-child(even) { padding-left: 0; border-left: 0; }
}

.tabs { margin-top: 48px; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs__btn {
  padding: 12px 20px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: 15px; font-weight: 500; color: var(--text-2);
  transition: color 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.tabs__btn:hover { color: var(--text); border-color: var(--text); }
.tabs__btn[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tabs__panel { margin-top: 32px; }
.tabs__panel[hidden] { display: none; }
.panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(28px, 4vw, 64px); }
@media (max-width: 860px) { .panel-grid { grid-template-columns: 1fr; } }

.woodexpo {
  position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 40px;
  min-height: 620px; padding: clamp(28px, 5vw, 72px); overflow: hidden; border-radius: var(--r-media); color: var(--on-media);
}
.woodexpo > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.woodexpo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(var(--scrim), 0.92) 10%, rgba(var(--scrim), 0.55) 60%, rgba(var(--scrim), 0.35)); }
.woodexpo .lead { color: var(--on-media-2); }
.woodexpo .chip { border-color: rgba(236, 234, 230, 0.3); color: var(--on-media); background: rgba(13, 13, 14, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 860px) { .woodexpo { grid-template-columns: 1fr; min-height: 0; } }

.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.spec { display: flex; flex-direction: column; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-2); transition: border-color 0.4s, transform 0.6s var(--ease); }
.spec:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.spec i { font-size: 28px; color: var(--accent); }
.spec b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; }
.spec span { font-size: 15px; color: var(--muted); }
.specs > :first-child { background: var(--bg-3); }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } }

.days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.day { position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-2); }
.day__date { display: flex; align-items: baseline; gap: 12px; }
.day__date b { font-family: var(--font-display); font-size: clamp(3.4rem, 5vw, 4.6rem); font-weight: 500; line-height: 0.9; letter-spacing: -0.05em; }
.day__date span { color: var(--muted); }
.day__time { margin-top: 26px; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; }
.day__note { margin-top: 8px; font-size: 15px; color: var(--muted); }
.day__tag { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 600; }
@media (max-width: 860px) { .days { grid-template-columns: 1fr; } }

.rules { display: grid; border-top: 1px solid var(--line); counter-reset: rule; }
.rules li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--text-2); counter-increment: rule; }
.rules li::before { content: counter(rule, decimal-leading-zero); padding-top: 4px; font-family: var(--font-mono); font-size: 14px; color: var(--accent); }

.explorer { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(28px, 4vw, 64px); margin-top: 48px; }
.explorer__btn {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 15px 0;
  border-bottom: 1px solid var(--line); text-align: left; color: var(--muted); transition: color 0.3s, padding 0.5s var(--ease);
}
.explorer__btn .n, .explorer__btn .c { font-family: var(--font-mono); font-size: 12px; }
.explorer__btn .t { font-family: var(--font-display); font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.25; letter-spacing: -0.015em; }
.explorer__btn:hover { color: var(--text); }
.explorer__btn[aria-selected="true"] { padding-left: 12px; color: var(--text); }
.explorer__btn[aria-selected="true"] .n { color: var(--accent); }
.explorer__panel { position: sticky; top: calc(var(--nav-h) + 110px); }
.explorer__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-media); background: var(--bg-3); }
.explorer__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.explorer__items { margin-top: 24px; }
.explorer__inline { display: none; }
@media (max-width: 900px) {
  .explorer { grid-template-columns: 1fr; }
  .explorer__panel { display: none; }
  .explorer__btn[aria-selected="true"] + .explorer__inline { display: flex; padding: 6px 0 22px; }
}

.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.logos > * { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 22px; border-radius: var(--r-media); background: var(--logo-tile); transition: transform 0.6s var(--ease); }
.logos a { display: grid; place-items: center; width: 100%; height: 100%; }
.logos > :hover { transform: translateY(-4px); }
.logos img { width: auto; max-width: 100%; max-height: 70px; object-fit: contain; filter: grayscale(1); opacity: 0.85; transition: filter 0.4s, opacity 0.4s; }
.logos > :hover img { filter: none; opacity: 1; }
@media (max-width: 1000px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 10. directories: exhibitors + program ---------- */
.pstats { display: flex; flex-wrap: wrap; gap: 28px 56px; margin-top: 16px; }
.pstats b { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pstats span { font-size: 14px; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 40px; }
.seg { position: relative; display: inline-flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 5px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--bg-2); }
.seg button { position: relative; z-index: 1; padding: 10px 18px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; transition: color 0.35s; }
.seg button[aria-pressed="true"] { color: var(--accent-ink); }
.seg__pill { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: var(--r-pill); background: var(--accent); transition: transform 0.55s var(--ease), width 0.55s var(--ease); }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search input { width: 100%; height: 50px; padding: 0 18px 0 46px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--bg-2); transition: border-color 0.3s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--accent); }
.search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.countries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.countries button { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 14px; color: var(--text-2); transition: color 0.3s, background-color 0.3s, border-color 0.3s; }
.countries button span { margin-left: 6px; color: var(--muted); font-variant-numeric: tabular-nums; }
.countries button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.countries button[aria-pressed="true"] span { color: inherit; opacity: 0.6; }
.plist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; border-top: 1px solid var(--line); }
.pcard { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 6px 14px; min-height: 104px; padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.pcard:nth-child(3n+2), .pcard:nth-child(3n+3) { padding-left: 22px; border-left: 1px solid var(--line); }
.pcard h3 { min-width: 0; font-size: 16.5px; font-weight: 600; line-height: 1.3; overflow-wrap: break-word; }
.pcard .country { grid-column: 1; font-size: 14px; color: var(--muted); }
.pcard .stand { grid-column: 2; grid-row: 1 / span 2; padding: 6px 10px; border-radius: 8px; background: var(--bg-3); font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; color: var(--text-2); }
.plist__empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--muted); }
.plist__empty i { display: block; margin: 0 auto 12px; font-size: 34px; color: var(--accent); }
@media (max-width: 1000px) {
  .plist { grid-template-columns: 1fr 1fr; }
  .pcard:nth-child(3n+2), .pcard:nth-child(3n+3) { padding-left: 0; border-left: 0; }
  .pcard:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .plist { grid-template-columns: 1fr; }
  .pcard:nth-child(even) { padding-left: 0; border-left: 0; }
}

.prog__day { margin-top: 48px; }
.prog__dayhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line-strong); }
.prog__dayhead b { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -0.03em; }
.prog__dayhead span { color: var(--muted); }
.prog__theme { max-width: 70ch; margin-top: 14px; font-size: 18px; color: var(--text-2); }
.slot { display: grid; grid-template-columns: 150px 160px minmax(0, 1fr); align-items: start; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.slot__time { font-family: var(--font-mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.slot__fmt { font-size: 13px; font-weight: 600; color: var(--accent); }
.slot__topic { font-size: 17.5px; font-weight: 600; line-height: 1.4; }
.slot__who { margin-top: 6px; font-size: 15px; color: var(--muted); }
.slot--break .slot__topic { font-weight: 400; color: var(--muted); }
@media (max-width: 760px) { .slot { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- 11. contest, press, contacts ---------- */
.noms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.nom { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; padding: 28px; overflow: hidden; border-radius: var(--r-media); color: var(--on-media); }
.nom img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.nom::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--scrim), 0) 30%, rgba(var(--scrim), 0.88)); }
.nom:hover img { transform: scale(1.07); }
.nom .n { position: absolute; top: 24px; left: 28px; font-family: var(--font-display); font-size: 4rem; line-height: 1; letter-spacing: -0.05em; }
.nom p { margin-top: 10px; font-size: 15.5px; color: var(--on-media-2); }
@media (max-width: 900px) { .noms { grid-template-columns: 1fr; } .nom { min-height: 360px; } }

.prize { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; }
.prize__main { display: flex; flex-direction: column; justify-content: space-between; min-height: 380px; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-media); background: var(--accent); color: var(--accent-ink); }
.prize__main i { font-size: 48px; }
.prize__kicker { font-family: var(--font-mono); font-size: 0.86em; opacity: 0.75; }
.prize__list { display: grid; gap: 16px; }
.prize__item { display: flex; align-items: center; gap: 16px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-2); }
.prize__item i { font-size: 26px; color: var(--accent); }
@media (max-width: 860px) { .prize { grid-template-columns: 1fr; } }

.fact { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-2); }
.fact b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 3.4vw, 3.2rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.fact > span { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); }
.fact--accent { border: 0; background: var(--accent); color: var(--accent-ink); }
.fact--accent > span { color: inherit; opacity: 0.8; }
@media (max-width: 900px) { .facts-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .facts-row { grid-template-columns: 1fr; } }

.social-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 320px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-3); transition: border-color 0.4s; }
.social-tile:hover { border-color: var(--accent); }
.social-tile .big { font-size: 56px; color: var(--accent); }

.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.kit a { display: flex; flex-direction: column; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-2); transition: border-color 0.3s, transform 0.5s var(--ease); }
.kit a:hover { border-color: var(--accent); transform: translateY(-3px); }
.kit__prev { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 10px; background: #ecebe8; }
.kit__prev--dark { background: #1c1c1e; }
.kit__prev img { width: auto; max-height: 64px; }
.kit__row { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.kit__row span { font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--muted); }
@media (max-width: 760px) { .kit { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ccard { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-2); }
.ccard .big { font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.3; letter-spacing: -0.02em; transition: color 0.3s; }
.ccard a.big:hover { color: var(--accent); }
.ccard__end { align-self: flex-start; margin-top: auto; }
.ccard--accent { border: 0; background: var(--accent); color: var(--accent-ink); }
.ccard--accent .label { color: inherit; opacity: 0.7; }
.socials { display: flex; gap: 10px; }
.map { overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-3); }
.map--wide { aspect-ratio: 21 / 9; }
.map--43 { aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; filter: var(--map-filter); }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map, .map--wide { aspect-ratio: 4 / 5; }
}

/* ---------- 12. forms ---------- */
.form-shell { padding: clamp(24px, 4vw, 52px); border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-2); }
.form-shell__title { margin-bottom: 24px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
fieldset.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--r-input); background-color: var(--bg); color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat;
}
.field input[type="file"] { padding: 12px; cursor: pointer; }
.field input[type="file"]::file-selector-button { margin-right: 14px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--bg-3); color: var(--text); font-weight: 600; cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.help { font-size: 13px; color: var(--muted); }
.err { display: none; font-size: 13px; color: var(--danger); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field.is-invalid .err { display: block; }
.options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; cursor: pointer; user-select: none;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: 14.5px; color: var(--text-2);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.opt span::before { content: ""; flex-shrink: 0; width: 14px; height: 14px; border: 1.5px solid var(--muted); border-radius: 50%; transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s; }
.opt input[type="checkbox"] + span::before { border-radius: 4px; }
.opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.opt input:checked + span::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 2.5px var(--bg-2); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 12px; font-size: 14.5px; color: var(--text-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.consent.is-invalid { color: var(--danger); }
.form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.form__note { font-size: 13.5px; color: var(--muted); }
.form-alert { display: none; grid-column: 1 / -1; padding: 14px 18px; border-radius: var(--r-input); background: rgba(239, 138, 122, 0.12); font-size: 14.5px; color: var(--danger); }
.form-alert.is-on { display: block; }
.form-success { display: none; padding: 12px 0; }
.form-success i { font-size: 48px; color: var(--success); }
.form-shell.is-sent .form, .form-shell.is-sent .form-shell__title { display: none; }
.form-shell.is-sent .form-success { display: block; }
/* honeypot: off-screen, not display:none (some bots skip hidden inputs) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 680px) { .form { grid-template-columns: 1fr; } }

/* ---------- 13. footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer h3 { margin-bottom: 18px; }
.footer__links a { display: block; padding: 4px 0; color: var(--text-2); transition: color 0.3s; }
.footer__links a:hover { color: var(--accent); }
.footer__contact a { display: block; font-family: var(--font-display); font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.35; letter-spacing: -0.02em; transition: color 0.3s; }
.footer__contact a:hover { color: var(--accent); }
.footer .socials { margin-top: 26px; }
.footer__word { position: relative; height: clamp(140px, 22vw, 330px); margin-top: 56px; }
.footer__word canvas { position: absolute; inset: 0; width: 100%; height: 100%; contain: strict; }
.footer__word .fallback { position: absolute; inset: auto 0 0; font-family: var(--font-brand); font-size: 12.4vw; font-weight: 600; line-height: 0.8; letter-spacing: -0.06em; text-align: center; white-space: nowrap; color: var(--bg-3); }
.footer__word.has-canvas .fallback { visibility: hidden; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 22px 0 max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- 14. 404 ---------- */
.nf { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; padding: 120px 0 60px; }
.nf__code { font-family: var(--font-brand); font-size: clamp(6rem, 22vw, 18rem); line-height: 0.85; letter-spacing: -0.07em; color: var(--accent); }

/* ---------- 15. motion prefs + perf tier ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .manifesto__text .w { opacity: 1 !important; }
  .marquee__track { animation: none; }
  .venue { height: auto; }
  .venue__sticky { position: relative; }
  .venue__media, .venue__media img { transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav__bar, .subnav__inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg-2); }
}

/* weak devices: no blur, no grain, no glow */
.perf-lite .grain, .perf-lite .hero__glow { display: none; }
.perf-lite .nav__bar,
.perf-lite .subnav__inner,
.perf-lite .woodexpo .chip { backdrop-filter: none; -webkit-backdrop-filter: none; }
.perf-lite .nav__bar { background: var(--bg); }
.perf-lite .nav.is-scrolled .nav__bar, .perf-lite .subnav__inner { background: var(--bg-2); }

/* ---------- 16. device classes ----------
   layout follows width; affordances follow the input. Touch screens of any
   size (phones, iPad, touch laptops) never depend on hover to show content. */
@media (hover: none) {
  .path { color: var(--on-media); }
  .path > img { opacity: 0.34; transform: none; }
  .path::before { opacity: 0.9; }
  .cat-card__go { opacity: 1; transform: none; }
  .cat-card img { filter: none; }
  .tile__icon { transform: none !important; }
}

/* tiny phones (iPhone SE 1st gen, old Androids) */
@media (max-width: 374px) {
  :root { --gutter: 14px; }
  body { font-size: 16px; }
  .btn { height: 50px; padding: 0 22px; font-size: 15px; }
  .seg button { padding: 9px 13px; }
  .countdown { gap: 12px; }
  .day, .card, .ccard, .spec, .tile { padding: 22px; }
}

/* tablets in portrait (iPad mini/Air/Pro 11): two-up grids, roomier type */
@media (min-width: 700px) and (max-width: 1023px) {
  .hero__stage { width: min(62vw, 480px); }
  .hero__title { font-size: clamp(4rem, 11vw, 6.4rem); }
  .phero__title { font-size: clamp(3.4rem, 9vw, 5.6rem); }
  .noms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .noms > :last-child { grid-column: 1 / -1; }
  .days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .day { padding: 22px; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* tablets in landscape + small laptops: keep two columns but tighten gaps */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .hero__title { font-size: clamp(3.6rem, 6.4vw, 5.4rem); } /* "Expo Mebel" must stay on one line */
  .phero__title { font-size: clamp(3.4rem, 7vw, 5.8rem); }
  .split { gap: 48px; }
  .footer__grid { gap: 28px; }
}

/* big desktops: use the room instead of floating in it */
@media (min-width: 1800px) {
  :root { --maxw: 1640px; }
  body { font-size: 18px; }
  .hero__stage { width: min(100%, 640px); }
}
@media (min-width: 2400px) {
  :root { --maxw: 1960px; }
  body { font-size: 19px; }
}

/* reduced motion: no pin, so the category rail must scroll natively everywhere */
@media (prefers-reduced-motion: reduce) {
  .hpan__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .cat-card { scroll-snap-align: start; }
}

/* ---------- 17. 2026 client updates ---------- */
.hero__date { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); max-width: max-content; margin-top: 30px; padding: 18px 28px 18px 22px; border-left: 5px solid var(--signal); border-radius: 0 var(--r-media) var(--r-media) 0; background: var(--bg-2); }
.hero__date strong { color: var(--signal); font-family: var(--font-display); font-size: clamp(3.6rem, 6.2vw, 6rem); line-height: .9; letter-spacing: -.06em; }
.hero__date span { color: var(--text); font-family: var(--font-display); font-size: clamp(1.12rem, 2vw, 1.65rem); font-weight: 600; line-height: 1.25; }
.hero__date small { color: var(--muted); font-family: var(--font-body); font-size: .56em; font-weight: 500; }
.hero__ctas { margin-top: 28px; }
.sibling-expos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 16px; }
.sibling-expo { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 380px; padding: clamp(24px, 3vw, 42px); overflow: hidden; border-radius: var(--r-media); color: #fff; background: var(--brand-deep); }
.sibling-expo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.sibling-expo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31,63,168,.1), rgba(18,36,110,.9)); }
.sibling-expo .eyebrow { color: #fff; }
.sibling-expo .h3 { margin: 16px 0 10px; }
.sibling-expo p { max-width: 42ch; color: rgba(255,255,255,.86); }
.sibling-expo i { display: inline-block; margin-left: 6px; }
.match-area { background: var(--bg-2); }
.match-area__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(28px, 6vw, 90px); }
.match-area .h2 { margin-top: 18px; }
.match-area__stats { display: grid; gap: 16px; }
.match-area__stats div { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 30px; border-radius: var(--r-media); background: var(--bg-3); }
.match-area__stats div:first-child { background: var(--brand); color: #fff; }
.match-area__stats b { font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 500; line-height: 1; letter-spacing: -.06em; }
.match-area__stats span { max-width: 14ch; font-size: 15px; line-height: 1.35; }
.plist { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; border: 0; }
.pcard, .pcard:nth-child(3n+2), .pcard:nth-child(3n+3), .pcard:nth-child(even) { min-height: 132px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-2); }
.pcard .stand { background: var(--bg-3); color: var(--accent); }
.toolbar { margin-top: 8px; margin-bottom: 28px; }
.prog__dayhead { align-items: center; padding: 18px 22px; border: 0; border-radius: var(--r-media) var(--r-media) 0 0; background: var(--brand); color: #fff; }
.prog__dayhead span { color: rgba(255,255,255,.82); }
.slot { padding: 20px 22px; border: 1px solid var(--line); border-top: 0; background: var(--bg-3); }
.slot:nth-child(even) { background: var(--bg-2); }
.slot:last-child { border-radius: 0 0 var(--r-media) var(--r-media); }
.slot__time { color: var(--accent); font-weight: 600; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-grid a { position: relative; display: block; height: 350px; overflow: hidden; border-radius: var(--r-media); background: var(--bg-2); }
.gallery-grid a:first-child { grid-column: span 2; }
.gallery-grid a img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-grid a span { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; padding: 12px 16px; border-radius: 10px; background: rgba(18,36,110,.9); color: #fff; font-weight: 500; }
#partners .logos img { filter: none; opacity: 1; }
.newsletter { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; padding: clamp(30px, 5vw, 64px); margin-bottom: clamp(64px, 8vw, 108px); border-radius: var(--r-media); background: var(--bg-2); }
.newsletter .h3 { margin: 14px 0; }
.newsletter__row { display: flex; gap: 10px; }
.newsletter__row input { min-width: 0; flex: 1; height: 54px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--bg-3); }
.newsletter__row input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.newsletter__consent { display: flex; align-items: start; gap: 10px; margin-top: 14px; color: var(--text-2); font-size: 13px; line-height: 1.45; }
.newsletter__consent input { flex: 0 0 auto; margin-top: 2px; accent-color: var(--accent); }
.newsletter__note { display: none; margin-top: 12px; color: var(--accent); font-size: 13px; }
.newsletter__note.is-visible { display: block; }
@media (max-width: 960px) {
  .match-area__grid, .newsletter { grid-template-columns: 1fr; }
  .facts-row--report { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .hero__date { padding: 15px 18px; }
  .sibling-expos, .gallery-grid, .plist { grid-template-columns: 1fr; }
  .gallery-grid a, .gallery-grid a:first-child { grid-column: auto; height: 320px; }
  .match-area__stats div { padding: 24px; }
  .newsletter { padding: 28px 20px; gap: 22px; }
  .newsletter__row { flex-direction: column; gap: 12px; }
  .newsletter__row input { flex: none; width: 100%; height: 56px; padding: 0 20px; font-size: 16px; } /* 16px keeps iOS from zooming */
  .newsletter__row .btn { width: 100%; height: 56px; }
}

/* ---------- 18. client round 2: blue/red system, tiles, slices, map ---------- */

/* hero countdown */
.hero__count { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.hero__count-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero__count .countdown { margin: 0; }
.hero__count .countdown b { color: var(--accent); }

/* results mosaic */
.mosaic {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 18vw, 260px); gap: 14px;
  grid-template-areas: "a b b c" "d b b e" "f f g h"; margin-top: clamp(28px, 4vw, 48px);
}
.mtile--a { grid-area: a; } .mtile--b { grid-area: b; } .mtile--c { grid-area: c; } .mtile--d { grid-area: d; }
.mtile--e { grid-area: e; } .mtile--f { grid-area: f; } .mtile--g { grid-area: g; } .mtile--h { grid-area: h; }
.mtile {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: clamp(20px, 2.2vw, 30px); overflow: hidden; border-radius: var(--r-media); background: var(--bg-2); color: var(--text);
}
.mtile__num { font-family: var(--font-display); font-size: clamp(3rem, 5.2vw, 5.4rem); font-weight: 500; line-height: 0.9; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.mtile > span:last-child:not(.btn) { max-width: 18ch; font-size: 15px; line-height: 1.35; }
.mtile--blue { background: var(--accent); color: var(--accent-ink); }
.mtile--soft { background: var(--bg-4); }
.mtile--soft .mtile__num { color: var(--accent); }
.mtile--plain { background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-strong); }
.mtile--plain .mtile__num { color: var(--text); }
.mtile--red { background: var(--signal); color: var(--signal-ink); }
.mtile--navy { background: var(--brand-deep); color: #fff; }
.mtile--navy h3 { max-width: 15ch; margin: 14px 0 auto; }
.mtile--navy .eyebrow { color: rgba(255, 255, 255, 0.82); }
.mtile--navy .eyebrow::before { background: var(--signal); }
.mtile--photo { padding: 18px; justify-content: flex-end; background: var(--brand-deep); }
.mtile--photo img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mtile--photo:hover img { transform: scale(1.06); }
.mtile .btn { margin-top: 18px; }
.mtile--photo .btn { margin-top: 0; }
.mtile:hover .btn--on-media { color: #fff; }
.mtile:hover .btn::before { transform: translateY(0); }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(176px, auto); grid-template-areas: "a c" "b b" "d e" "f f" "g h"; }
  .mtile--b { min-height: 280px; }
  .mtile--f { min-height: 240px; }
}

/* home: who it's for, as photo cards under a blue wash */
.paths .path { justify-content: flex-end; gap: 30px; min-height: clamp(520px, 44vw, 640px); border: 0; color: #fff; background: var(--brand-deep); }
.paths .path > img { opacity: 1; transform: scale(1.02); }
.paths .path::before { opacity: 1; background: linear-gradient(180deg, rgba(31, 63, 168, 0.06) 0%, rgba(24, 48, 140, 0.58) 45%, rgba(18, 36, 110, 0.95) 100%); }
.paths .path:hover > img, .paths .path:focus-within > img { transform: scale(1.07); }
.paths .path .h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.path__list li { align-items: center; padding: 12px 16px; border-radius: var(--r-input); background: rgba(255, 255, 255, 0.16); }
.path__list i { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--signal); color: #fff; font-size: 13px; transform: none; }

/* exhibitors: why take part */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(260px, 24vw, 340px); gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.why__tile {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: clamp(22px, 2.4vw, 34px); overflow: hidden; border-radius: var(--r-media); color: #fff; background: var(--brand-deep);
  transition: box-shadow 0.5s var(--ease);
}
.why__tile:hover { box-shadow: var(--shadow); }
.why__tile > i { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); font-size: 30px; }
.why__tile p { max-width: 24ch; font-family: var(--font-display); font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.why__tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.why__tile:hover img { transform: scale(1.07); }
.why__tile--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 63, 168, 0.22), rgba(18, 36, 110, 0.92)); }
.why__tile--blue { background: var(--accent); color: var(--accent-ink); }
.why__tile--red { background: var(--signal); color: var(--signal-ink); }
@media (max-width: 960px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .why { grid-template-columns: 1fr; grid-auto-rows: minmax(220px, auto); } }

/* exhibitors: participation formats as expanding photo slices */
.slices { display: flex; gap: 12px; height: clamp(560px, 46vw, 640px); margin-top: clamp(28px, 4vw, 48px); }
.slice {
  position: relative; isolation: isolate; display: flex; flex: 1 1 0; flex-direction: column; min-width: 0; overflow: hidden;
  border-radius: var(--r-media); color: #fff; background: var(--brand-deep); transition: flex-grow 0.8s var(--ease);
}
.slice.is-active { flex-grow: 5; }
.slice > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.slice.is-active > img { transform: scale(1); }
.slice::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 63, 168, 0.55), rgba(18, 36, 110, 0.95)); transition: opacity 0.6s var(--ease); }
.slice.is-active::before { background: linear-gradient(180deg, rgba(31, 63, 168, 0.18) 0%, rgba(24, 48, 140, 0.6) 50%, rgba(18, 36, 110, 0.95) 100%); }
.slice__toggle { display: flex; align-items: center; gap: 14px; padding: 22px; color: inherit; text-align: left; }
.slice:not(.is-active) .slice__toggle { flex: 1; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 0; }
.slice__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--signal); color: #fff; font-size: 22px; }
.slice__name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; line-height: 1.2; }
.slice:not(.is-active) .slice__name { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.slice__body { width: min(560px, 100%); margin-top: auto; padding: 0 clamp(22px, 2.6vw, 36px) clamp(22px, 2.6vw, 36px); }
.slice:not(.is-active) .slice__body { display: none; }
.slice.is-active .slice__body { animation: slice-in 0.7s var(--ease) 0.25s both; }
.slice__body .h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); color: #fff; }
.slice__body .body, .slice__body li { color: rgba(255, 255, 255, 0.9); }
.slice__body .check-list i { color: #fff; }
.slice__body .link-arrow { align-self: flex-start; background: #fff; color: #1f3fa8; }
.slice__body .link-arrow:hover { background: var(--signal); color: #fff; }
@keyframes slice-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .slices { flex-direction: column; height: auto; }
  .slice { flex: none; max-height: 84px; transition: max-height 0.7s var(--ease); }
  .slice.is-active { max-height: 1000px; min-height: 480px; }
  .slice:not(.is-active) .slice__toggle { flex-direction: row; justify-content: flex-start; padding: 18px 22px; }
  .slice:not(.is-active) .slice__name { writing-mode: horizontal-tb; transform: none; }
}
html:not(.js) .slices { flex-direction: column; height: auto; }
html:not(.js) .slice { max-height: none; }
html:not(.js) .slice__body { display: block; }

/* venue map */
.venue-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 16px; }
.venue-split > .media { height: 100%; min-height: 360px; aspect-ratio: auto; }
.mapcard { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--r-media); background: var(--bg-3); box-shadow: var(--shadow); }
.mapcard__frame { position: relative; min-height: clamp(380px, 42vw, 560px); }
.mapcard__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: var(--map-filter); }
.mapcard__shield { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: flex-end; padding: 16px; cursor: grab; }
.mapcard__hint { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 600; box-shadow: var(--shadow); transition: transform 0.4s var(--ease); }
.mapcard__shield:hover .mapcard__hint { transform: translateY(-2px); }
.mapcard.is-active .mapcard__shield { display: none; }
.mapcard__info { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px 16px; padding: 18px 20px; background: var(--bg-3); }
.mapcard__info .h4 { margin: 0; }
.mapcard__info p { color: var(--muted); font-size: 15px; }
.mapcard__pin { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--signal); color: var(--signal-ink); font-size: 24px; }
.mapcard__links { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: 8px; }
@media (min-width: 861px) {
  .mapcard__info { position: absolute; left: 16px; bottom: 16px; z-index: 3; width: min(440px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: var(--r-media); box-shadow: var(--shadow); }
}
@media (max-width: 860px) {
  .venue-split { grid-template-columns: 1fr; }
  .venue-split > .media { min-height: 260px; }
}

/* organiser + partners with real logos */
.partners-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pcard-logo { display: flex; align-items: center; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-3); }
.pcard-logo--lead { border-color: var(--accent); background: var(--accent-soft); }
.pcard-logo__img { display: grid; place-items: center; flex: 0 0 clamp(96px, 10vw, 132px); height: clamp(96px, 10vw, 132px); padding: 10px; border-radius: var(--r-input); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pcard-logo__img img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.pcard-logo .h4 { margin-bottom: 8px; }
.pcard-logo--link { justify-content: space-between; border: 0; background: var(--accent); color: var(--accent-ink); transition: background-color 0.4s var(--ease); }
.pcard-logo--link:hover { background: var(--brand-deep); color: #fff; }
.pcard-logo--link .h4 { margin: 0; }
.pcard-logo--link i { font-size: 26px; }
@media (max-width: 760px) { .partners-grid { grid-template-columns: 1fr; } }

/* newsletter audience */
.newsletter__aud { min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.newsletter__aud legend { padding: 0; margin-bottom: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* gallery lightbox */
.lb-open, .lb-open body { overflow: hidden; }
.gallery-grid a { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-curtain); display: grid; place-items: center;
  padding: clamp(64px, 9vh, 96px) clamp(16px, 7vw, 120px);
  background: rgba(10, 18, 48, 0); opacity: 0; transition: background-color 0.45s var(--ease), opacity 0.45s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { background: rgba(10, 18, 48, 0.94); opacity: 1; }
.lightbox__stage { display: grid; justify-items: center; gap: 14px; max-width: 100%; max-height: 100%; margin: 0; }
.lightbox__img {
  max-width: 100%; max-height: calc(100vh - 220px); max-height: calc(100svh - 220px); border-radius: var(--r-media); object-fit: contain; background: rgba(255, 255, 255, 0.06);
  opacity: 0; transform: translateY(18px) scale(0.94);
  transition: opacity 0.55s var(--ease), transform 0.7s var(--ease);
}
.lightbox.is-open .lightbox__img { opacity: 1; transform: none; }
.lightbox.is-swapping .lightbox__img { opacity: 0; transform: scale(0.98); transition-duration: 0.16s; }
.lightbox__cap { min-height: 1.4em; color: rgba(255, 255, 255, 0.86); font-size: 15px; text-align: center; }
.lightbox__count { position: absolute; left: 50%; bottom: clamp(18px, 3vh, 30px); transform: translateX(-50%); color: rgba(255, 255, 255, 0.7); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-size: 22px;
  background: rgba(255, 255, 255, 0.14); color: #fff; transition: background-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.2s var(--ease);
}
.lightbox__btn:hover { background: #fff; color: #1f3fa8; }
.lightbox__btn:active { transform: scale(0.94); }
.lightbox__btn:focus-visible { outline-color: #fff; }
.lightbox__close { top: max(18px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); width: 56px; height: 56px; background: #fff; color: #1f3fa8; }
.lightbox__close:hover { background: var(--signal); color: #fff; }
.lightbox__nav { top: 50%; margin-top: -26px; }
.lightbox__nav--prev { left: clamp(10px, 2.5vw, 36px); }
.lightbox__nav--next { right: clamp(10px, 2.5vw, 36px); }
@media (max-width: 640px) {
  .lightbox { padding-inline: 12px; }
  .lightbox__nav { top: auto; bottom: 12px; margin-top: 0; width: 46px; height: 46px; }
  .lightbox__nav--prev { left: 16px; }
  .lightbox__nav--next { right: 16px; }
  .lightbox__img { max-height: calc(100svh - 230px); }
}

/* newsletter on phones: three equal chips in one row, roomy fields */
@media (max-width: 680px) {
  .newsletter__aud .options { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
  .newsletter__aud .opt span { justify-content: center; width: 100%; height: 48px; padding: 0 8px; font-size: 14.5px; text-align: center; }
  .newsletter__aud .opt span::before { display: none; }
  .newsletter__aud .opt input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 600; }
  .newsletter__consent { margin-top: 16px; }
}


/* Clear email handoff for forms without a connected server. */
.form__mail-note { padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: var(--r-input); color: var(--text-2); background: var(--bg-3); font-size: .88rem; line-height: 1.5; }
/* Participant marks and short profiles within the existing directory cards. */
.pcard, .pcard:nth-child(3n+2), .pcard:nth-child(3n+3), .pcard:nth-child(even) { display: flex; align-items: flex-start; gap: 18px; min-height: 158px; }
.pcard__logo { display: grid; place-items: center; flex: 0 0 90px; width: 90px; height: 90px; padding: 10px; overflow: hidden; border: 1px solid rgba(28, 31, 44, .08); border-radius: 12px; background: #fff; }
.pcard__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pcard__body { flex: 1; min-width: 0; }
.pcard__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 12px; }
.pcard__top h3 { flex: 1 1 180px; }
.pcard .stand { display: inline-block; flex: 0 0 auto; }
.pcard__desc { margin-top: 9px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.pcard .country { display: block; margin-top: 11px; }
@media (max-width: 600px) {
  .pcard, .pcard:nth-child(3n+2), .pcard:nth-child(3n+3), .pcard:nth-child(even) { gap: 14px; min-height: 136px; padding: 18px; }
  .pcard__logo { flex-basis: 72px; width: 72px; height: 72px; padding: 7px; }
}

.brand-kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.brand-kit__item { display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; padding: 24px; border-radius: var(--r-media); background: var(--logo-tile); color: #151515; transition: transform .5s var(--ease); }
.brand-kit__item:hover { transform: translateY(-4px); }
.brand-kit__item img { width: 100%; height: 120px; object-fit: contain; }
.brand-kit__item span { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; font-size: .87rem; }
.form__mail-note { padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: var(--r-input); color: var(--text-2); background: var(--bg-3); font-size: .88rem; line-height: 1.5; }
@media (max-width: 760px) { .brand-kit { grid-template-columns: 1fr; } .brand-kit__item { min-height: 190px; } }

/* Client supplied exhibition marks, kept within the existing photo cards. */
.expo-panel-logo { display: inline-flex; align-items: center; justify-content: center; max-width: 180px; min-height: 68px; padding: 9px 13px; border-radius: 12px; background: rgba(255,255,255,.94); }
.expo-panel-logo img, .sibling-expo .expo-panel-logo img { position: static; z-index: auto; width: auto; max-width: 100%; height: 50px; object-fit: contain; }
.expo-panel-logo--wood { max-width: 190px; }
.expo-panel-logo--wood img { height: 54px; }
.sibling-expo .expo-panel-logo { margin-bottom: 8px; }
.sibling-expo::before { background: linear-gradient(180deg, rgba(15,29,69,.22), rgba(15,29,69,.72) 45%, rgba(15,29,69,.96)); }
.social-tile .stack-sm { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.social-tile .h3, .social-tile .body { display: block; }
.brand-kit { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.report-extra { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.report-extra span { flex: 1 1 230px; padding: 17px 21px; border: 1px solid var(--line); border-radius: var(--r-media); background: var(--bg-2); color: var(--text-2); }
.report-extra strong { margin-right: 10px; color: var(--accent); font-family: var(--font-display); font-size: 1.7rem; }
.nav__link { padding-inline: 9px; font-size: 13.5px; }
@media (max-width: 760px) { .brand-kit { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 479px) { .mosaic { gap: 9px; grid-auto-rows: minmax(146px,auto); } .mtile { padding: 16px; } .mtile__num { font-size: clamp(2.5rem, 11vw, 3.3rem); } .mtile > span:last-child:not(.btn) { font-size: 12.5px; } .mtile--b { min-height: 235px; } .mtile--f { min-height: 220px; } .brand-kit { grid-template-columns: 1fr; } }
.consent a,.newsletter__consent a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.em-privacy-footer{padding-top:14px;padding-bottom:20px;font-size:13px;opacity:.74}.em-privacy-footer a{color:inherit;text-decoration:underline;text-underline-offset:3px}.em-policy{padding-bottom:96px}.em-policy__inner{max-width:880px}.em-policy__intro{font-size:18px;line-height:1.7;color:var(--ink,#17213b);margin:0 0 34px}.em-policy__section{padding:28px 0;border-top:1px solid rgba(28,38,67,.15)}.em-policy__section h2{font-size:clamp(21px,3vw,29px);line-height:1.2;margin:0 0 15px}.em-policy__section p,.em-policy__section li{font-size:16px;line-height:1.75}.em-policy__section ul{padding-left:21px}.em-policy__section a{color:#3869df;text-decoration:underline;text-underline-offset:3px}.em-policy__meta{font-size:13px;opacity:.65;margin-top:30px}
.em-policy-title{font-size:clamp(38px,5.2vw,74px)!important;line-height:1.08!important;letter-spacing:-.045em!important;max-width:1100px}.em-policy__inner{padding-top:24px}@media(max-width:600px){.em-policy-title{font-size:clamp(34px,9vw,46px)!important}.em-policy{padding-bottom:72px}}
