/* Ukrainian Livestock Summit 2026 - by MaxICo Labs. Engine base.css loads first. */

:root {
  --ground: #0b0a08;      /* barn shadow, the page ground */
  --shade: #15130f;       /* raised ground, deep shadow of the contract */
  --shade-2: #1d1a15;
  --bone: #ede8df;        /* off-white type */
  --wheat: #d6c29e;       /* laser mono on dark */
  --mute: rgba(237, 232, 223, 0.66);
  --line: rgba(222, 204, 170, 0.26);
  --line-soft: rgba(222, 204, 170, 0.14);
  --tag: #f2c500;         /* the only loud colour */
  --tag-ink: #16130b;     /* laser print on a tag */
  --accent: var(--tag);   /* recoloured by the sector route */
  --accent-ink: var(--tag-ink);

  /* Roboto Flex at its compressed end: the ranked face's own advice (a wdth-axis variable, heavier) */
  --f-display: 'Roboto Flex', 'Oswald', 'Arial Narrow', sans-serif;
  --f-head: 'Geologica', 'Manrope', 'Helvetica Neue', Arial, sans-serif; /* Максим 26.09: заголовки менш масивні */
  --f-mark: var(--f-head);
  --f-body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gutter: clamp(1.25rem, 4.1vw, 4.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  /* hero unit: 1px of the 1536x1024 comp = 1/15.36 u; u follows width and never outgrows the height */
  --u: min(1vw, 1.5vh);
}
@property --accent { syntax: '<color>'; inherits: true; initial-value: #f2c500; }
@supports (height: 100svh) {
  :root { --u: min(1vw, 1.5svh); }
}

html { background: var(--ground); color-scheme: dark; }
body {
  background: var(--ground);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
::selection { background: var(--tag); color: var(--tag-ink); }
:focus-visible { outline: 2px solid var(--tag); outline-offset: 4px; }
a { text-decoration: none; }
img { height: auto; }
input, select, textarea, button { caret-color: var(--tag); }
html { scrollbar-color: #4a4133 var(--ground); }

.skip {
  position: fixed; left: var(--gutter); top: 0.75rem; z-index: 200;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  background: var(--tag); color: var(--tag-ink);
  font: 600 0.9375rem/1 var(--f-body);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
[hidden] { display: none !important; }
.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;
}

/* ------------------------------------------------------------------ */
/* Bar (top navigation)                                                */
/* ------------------------------------------------------------------ */
.bar {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0;
  height: calc(var(--u) * 7.45);
  display: flex; align-items: center;
  padding-inline: 3.39vw;
}
.display, .bar__mark, .hero__title {
  font-family: var(--f-head);
}
.bar__mark {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700;
  font-size: calc(var(--u) * 1.9);
  line-height: 1; letter-spacing: -0.01em;
  color: var(--bone);
  white-space: nowrap;
}
.bar__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.bar__all {
  display: inline-flex; align-items: center; min-height: 24px; margin-top: -0.35rem;
  font: 500 max(0.75rem, calc(var(--u) * 0.86))/1 var(--f-body); color: var(--wheat);
  text-decoration: underline; text-decoration-color: rgba(214, 194, 158, 0.4); text-underline-offset: 0.3em;
  transition: color 0.3s, text-decoration-color 0.3s;
}
.bar__all:hover { color: var(--tag); text-decoration-color: currentColor; }
.bar.is-solid .bar__all { font-size: 0.75rem; margin-top: -0.55rem; }
.bar__nav { position: absolute; left: 35.1vw; }
.bar__nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: calc(var(--u) * 2.72); }
.bar__nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 500; font-size: calc(var(--u) * 1.42); letter-spacing: 0.005em;
  color: var(--bone);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 0.6em) / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease-out), color 0.3s;
}
.bar__nav a:hover { background-size: 100% 1px; }
.bar__cta {
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: calc(var(--u) * 15.04); height: calc(var(--u) * 4.1); min-height: 44px;
  border: 1px solid var(--tag); color: var(--tag);
  font-weight: 500; font-size: calc(var(--u) * 1.33);
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.bar__cta:hover { background: var(--tag); color: var(--tag-ink); }
.bar__toggle { display: none; }

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 36rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--ground);
}
.hero__plate { position: absolute; inset: 0; z-index: -1; }
.hero__plate img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 100% 50%;
  /* registers the regenerated plate on the comp: tag and muzzle land where the approved comp has them */
  transform: translate(-2.3%, 1.93%) scale(1.05);
}

.hero__copy {
  position: absolute; left: 3.95vw;
  top: 52.3%; transform: translateY(-50%);
  width: 44vw;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero__kicker {
  font-family: var(--f-mono); font-weight: 700;
  font-size: max(0.75rem, calc(var(--u) * 1.29)); line-height: 1.2;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--tag);
}
.hero__title {
  margin-top: calc(var(--u) * 1.5);
  font-weight: 700;
  font-size: calc(var(--u) * 6.1);
  line-height: 1; letter-spacing: -0.025em;
  color: var(--bone);
  text-wrap: balance;
}
.hero__title .ln { display: block; }
.hero__sub {
  margin-top: calc(var(--u) * 1.2);
  max-width: calc(var(--u) * 40);
  font-weight: 500;
  font-size: max(1rem, calc(var(--u) * 1.48)); line-height: 1.5;
  color: var(--bone);
}
.br-d { display: inline; }
.hero__actions {
  margin-top: calc(var(--u) * 2.2);
  display: flex; align-items: center; gap: calc(var(--u) * 2.65);
}

/* buttons: square corners, the tag's own yellow */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; white-space: nowrap;
  font-weight: 600; letter-spacing: 0.005em;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--tag { background: var(--accent); color: var(--accent-ink); }
.btn--tag:hover { background: var(--bone); color: var(--tag-ink); }
.hero .btn--tag {
  width: calc(var(--u) * 19.3); height: calc(var(--u) * 4.36); min-width: max-content; padding-inline: 1.25rem;
  font-size: max(1rem, calc(var(--u) * 1.42)); font-weight: 700;
}
.link-tag {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--tag); font-weight: 500;
  font-size: max(1rem, calc(var(--u) * 1.46)); line-height: 1.2;
  transition: color 0.3s;
}
.link-tag__in {
  display: inline-flex; align-items: center; gap: 0.45em;
  padding-bottom: 0.12em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease-out);
}
.link-tag:hover { color: var(--bone); }
.link-tag__arrow { display: inline-block; transition: transform 0.4s var(--ease-out); }
.link-tag:hover .link-tag__arrow { transform: translateX(0.3em); }

.hero__info {
  position: absolute; left: 0; right: 0;
  bottom: calc(var(--u) * 2.45);
  height: calc(var(--u) * 4.4);
  display: grid; grid-template-columns: 16.86vw 27.84vw 22.75vw 1fr;
  align-items: center;
  background: rgba(8, 7, 5, 0.62);
  font-family: var(--f-mono); font-weight: 400;
  font-size: max(0.75rem, calc(var(--u) * 1.27)); line-height: 1; letter-spacing: 0.01em;
  color: var(--wheat);
  white-space: nowrap;
}
.hero__info::before, .hero__info::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  transform-origin: 0 50%; transform: scaleX(var(--rule, 1));
}
.hero__info::before { top: 0; background: rgba(222, 204, 170, 0.36); }
.hero__info::after { bottom: 0; background: rgba(222, 204, 170, 0.3); }
.hero__info dd { margin: 0; }
.hero__cell { position: relative; padding-left: 5.15vw; }
.hero__cell:first-child { padding-left: 4.17vw; }
.hero__cell + .hero__cell::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 1px; height: calc(var(--u) * 1.4);
  transform: translateY(-50%);
  background: rgba(222, 204, 170, 0.5);
}

/* ------------------------------------------------------------------ */
/* Shared: layout, type, the ear tag                                   */
/* ------------------------------------------------------------------ */
.wrap { width: 100%; max-width: 90rem; margin-inline: auto; padding-inline: var(--gutter); }
.ap { margin-inline: 0.03em -0.06em; }
.display {
  font-family: var(--f-head);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.025em;
}
.h2 { font-size: clamp(2.125rem, 4.2vw, 3.5rem); color: var(--bone); text-wrap: balance; }
.lede {
  max-width: 36rem; margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 1.2vw, 1.25rem); line-height: 1.55;
  color: var(--mute); text-wrap: pretty;
}
.footnote {
  margin-top: 2.5rem; font: 400 0.875rem/1.5 var(--f-body); color: rgba(214, 194, 158, 0.72);
}
.mono { font-family: var(--f-mono); }

/* the ear tag: a photographed blank tag, tinted by its colour and laser-printed in code */
.tag {
  position: relative; aspect-ratio: 470 / 720;
  container-type: inline-size;
  color: var(--tag-ink);
  filter: drop-shadow(0 1.2rem 1.4rem rgba(0, 0, 0, 0.5));
}
.tag__body, .tag__shade { position: absolute; inset: 0; }
.tag__body {
  background: var(--tagc, var(--tag));
  -webkit-mask: url(../img/tag.webp) center / 100% 100% no-repeat;
          mask: url(../img/tag.webp) center / 100% 100% no-repeat;
  transition: background-color 0.6s var(--ease-out);
}
.tag__shade {
  background: url(../img/tag.webp) center / 100% 100% no-repeat;
  mix-blend-mode: multiply;
}
.tag__print {
  position: absolute; left: 11%; right: 11%; top: 46%; bottom: 7%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; mix-blend-mode: multiply;
}
.barcode { display: block; width: 62cqi; height: 8cqi; margin-top: 5cqi; fill: currentColor; }

/* ------------------------------------------------------------------ */
/* Sections: rhythm                                                    */
/* ------------------------------------------------------------------ */
main > section:not(.hero) { position: relative; padding-block: clamp(5.5rem, 10vw, 10rem); }

/* ------------------------------------------------------------------ */
/* ABOUT: numbers on hanging tags                                      */
/* ------------------------------------------------------------------ */
.field { background: var(--ground); overflow: hidden; }
.field__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem 4rem; align-items: end; }
.field__head .h2 { max-width: 9.5em; }
.field__head .lede { margin-top: 0; }
.rail {
  --tagw: clamp(8.5rem, 12.2vw, 11.5rem);
  position: relative; margin-top: clamp(3.5rem, 6vw, 5.5rem);
}
.rail__wire {
  position: absolute; left: 0; right: 0; top: calc(var(--tagw) * 0.108); height: 2px;
  background: linear-gradient(90deg, rgba(222, 204, 170, 0.08), rgba(222, 204, 170, 0.55) 20%, rgba(222, 204, 170, 0.55) 80%, rgba(222, 204, 170, 0.08));
}
ul.rail__tags {
  max-width: 90rem; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; justify-content: space-between; gap: 1rem;
}
.rail__item { flex: none; width: var(--tagw); }
.tag--num { transform-origin: 50% 7%; }
.tag--num .tag__num {
  font-family: var(--f-display); font-stretch: 25%; font-variation-settings: 'YTLC' 570, 'opsz' 144;
  font-weight: 700; font-size: 34cqi; line-height: 0.95;
}
.tag--num .tag__cap { margin-top: 2cqi; font: 500 7.4cqi/1.2 var(--f-mono); letter-spacing: 0.02em; }

/* ------------------------------------------------------------------ */
/* FORUMS                                                              */
/* ------------------------------------------------------------------ */
.forums { background: var(--shade); }
.forums__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
/* the title and the frame stay under the bar while the forums scroll past (Максим: «верхня інформація пропадає») */
.forums__aside { position: sticky; top: 6.25rem; display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
.forums__title { max-width: 9em; }
.forums__frame {
  position: relative; height: clamp(14rem, calc(100svh - 26rem), 26rem); overflow: hidden; background: var(--ground);
}
.forums__main { padding-top: 0.35rem; }
.forums__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(0 0 100% 0); transform: scale(1.06);
  transition: clip-path 0.9s var(--ease-out), transform 1.4s var(--ease-out);
}
.forums__frame img.is-on { z-index: 1; clip-path: inset(0 0 0 0); transform: scale(1); }
.forum {
  padding-block: clamp(2rem, 3.6vw, 3.25rem);
  border-top: 1px solid var(--line);
  transition: opacity 0.5s var(--ease-out);
}
.forum:last-child { border-bottom: 1px solid var(--line); }
.forum__img { display: none; }
.forum__name {
  font-family: var(--f-head); letter-spacing: -0.02em;
  font-weight: 700; line-height: 1.05; font-size: clamp(1.625rem, 2.5vw, 2.25rem); color: var(--bone);
  text-wrap: balance;
}
.forum__topics { margin-top: 0.9rem; font-size: 1.125rem; color: var(--bone); }
.forum__org { margin-top: 0.75rem; font: 400 0.9375rem/1.55 var(--f-body); color: var(--wheat); max-width: 46ch; }
.forum__label { color: rgba(214, 194, 158, 0.66); margin-right: 0.5em; font-weight: 600; }
.forum__note { margin-top: 0.5rem; font: 500 0.9375rem/1.55 var(--f-body); color: var(--tag); }
@media (hover: hover) and (min-width: 768px) {
  .forums__list:hover .forum:not(:hover) { opacity: 0.42; }
}
.panels { margin-top: clamp(2.5rem, 4vw, 3.5rem); display: grid; gap: 1.1rem; }
.panels__title { font: 600 1rem/1.4 var(--f-body); color: var(--wheat); }
.panels__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 0; }
.panels__list li {
  padding: 0.2rem 1.25rem; border-left: 1px solid var(--line);
  font-size: 1rem; line-height: 1.4; color: var(--bone);
}

/* ------------------------------------------------------------------ */
/* MY DAY: sector rail (the signature)                                 */
/* ------------------------------------------------------------------ */
.day {
  --accent: #f2c500; --accent-ink: var(--tag-ink);
  background:
    radial-gradient(60% 50% at 80% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    var(--ground);
  transition: --accent 0.7s var(--ease-out);
}
.day__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 2rem 4rem; align-items: end; }
.day__head .lede { margin-top: 0; }
.day__rail {
  --tw: clamp(4.5rem, 7vw, 6.4rem);
  position: relative; margin-top: clamp(3rem, 5vw, 4.5rem);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem;
}
.day__wire {
  position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1);
  top: calc(var(--tw) * 0.108); height: 2px;
  background: rgba(222, 204, 170, 0.4);
}
.sector {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  padding: 0 0 0.5rem; min-height: 44px; color: var(--mute);
  transition: color 0.4s var(--ease-out);
}
.sector .tag {
  width: var(--tw); transform-origin: 50% 7%;
  transition: scale 0.6s var(--ease-out), rotate 0.6s var(--ease-out), opacity 0.4s var(--ease-out);
  opacity: 0.55;
}
.sector .tag__print { top: 47%; }
.tag__code {
  font-family: var(--f-display); font-stretch: 25%; font-weight: 700; font-size: 40cqi; line-height: 0.9;
}
.tag__short { margin-top: 1cqi; font: 600 10.5cqi/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.04em; }
.tag--sm .barcode { width: 60cqi; height: 7cqi; margin-top: 4cqi; }
.sector__name { font-weight: 600; font-size: clamp(0.875rem, 1.05vw, 1rem); line-height: 1.25; text-align: center; }
.sector:hover .tag, .sector:focus-visible .tag { opacity: 0.85; rotate: -4deg; }
.sector[aria-checked="true"] { color: var(--bone); }
.sector[aria-checked="true"] .tag { opacity: 1; scale: 1.1; rotate: 0deg; }
.sector:focus-visible { outline-offset: 6px; }

.day__board {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
}
.day__photo { position: relative; }
.day__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--shade); }
.day__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tag--pin {
  position: absolute; z-index: 2; top: -1.6rem; right: 1.5rem; width: clamp(4rem, 6vw, 5.5rem);
  --tagc: var(--accent); transform-origin: 50% 7%;
}
.tag--pin .tag__print { top: 47%; }
.day__plan { padding-top: 0.25rem; }
.day__name {
  font-family: var(--f-head); letter-spacing: -0.02em;
  font-weight: 700; font-size: clamp(1.625rem, 2.4vw, 2.25rem); line-height: 1.05; color: var(--bone);
}
.day__date { margin-top: 0.75rem; font: 400 0.875rem/1.4 var(--f-mono); color: var(--wheat); }
ol.day__list {
  position: relative; margin-top: 1.75rem; display: grid; gap: 0.85rem;
}
.day__list li { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: 1rem; align-items: baseline; }
.day__list time { font: 500 0.9375rem/1.4 var(--f-mono); color: var(--accent); transition: color 0.6s var(--ease-out); }
.day__list span { font-size: 1.0625rem; line-height: 1.45; color: var(--bone); }
.day__list li.is-common span { color: var(--mute); }
.day__meta { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.day__meta dt { font: 500 0.8125rem/1.4 var(--f-body); letter-spacing: 0.01em; color: rgba(214, 194, 158, 0.8); }
.day__meta dd { margin: 0.35rem 0 0; font-size: 1rem; line-height: 1.45; color: var(--bone); }
.day__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.day .btn { padding-inline: 1.5rem; height: 3.5rem; font-size: 1rem; }
.day .link-tag { font-size: 1rem; color: var(--accent); }
.day .link-tag:hover { color: var(--bone); }

/* ------------------------------------------------------------------ */
/* TICKETS                                                             */
/* ------------------------------------------------------------------ */
.tickets { background: var(--shade); }
.tickets__head { max-width: 50rem; }
.tickets__grid {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.tickets__tagcol { position: sticky; top: 6rem; display: flex; justify-content: center; }
.tag--ticket { width: min(100%, 22rem); transform-origin: 50% 7%; }
.tag--ticket .tag__print { top: 47%; }
.tt__cat { font: 600 5.6cqi/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: 0.04em; }
.tt__price {
  margin-top: 2cqi;
  font-family: var(--f-display); font-stretch: 25%; font-variation-settings: 'YTLC' 570, 'opsz' 144;
  font-weight: 700; font-size: 33cqi; line-height: 0.9;
}
.tt__unit { font: 500 6cqi/1.3 var(--f-mono); }
.tt__wave { margin-top: 2cqi; font: 400 5.4cqi/1.3 var(--f-mono); }

.calc { display: grid; gap: 2.25rem; }
.calc__legend { display: block; margin-bottom: 0.9rem; font: 600 0.9375rem/1.4 var(--f-body); color: var(--wheat); }
.calc__cat { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__cat legend { padding: 0; }
.calc__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__box {
  display: grid; gap: 0.35rem; height: 100%; padding: 1.25rem 1.35rem 1.35rem;
  border: 1px solid var(--line); background: rgba(11, 10, 8, 0.4);
  transition: border-color 0.3s, background-color 0.3s;
}
.choice__title { font-weight: 700; font-size: 1.125rem; color: var(--bone); }
.choice__desc { font-size: 0.9375rem; line-height: 1.45; color: var(--mute); }
.choice__price { margin-top: 0.5rem; font: 500 1rem/1 var(--f-mono); color: var(--wheat); }
.choice input:checked + .choice__box { border-color: var(--tag); background: rgba(242, 197, 0, 0.06); }
.choice input:checked + .choice__box .choice__price { color: var(--tag); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--tag); outline-offset: 3px; }
.choice:hover .choice__box { border-color: rgba(242, 197, 0, 0.6); }

.waves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.wave { position: relative; padding: 1rem 1rem 0 0; display: grid; gap: 0.3rem; }
.wave + .wave { padding-left: 1rem; border-left: 1px solid var(--line-soft); }
.wave__when { font: 400 0.875rem/1.3 var(--f-mono); color: var(--mute); }
.wave__price {
  font-family: var(--f-head); letter-spacing: -0.02em;
  font-weight: 700; font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1; color: var(--bone);
}
.wave.is-now .wave__when { color: var(--tag); }
.wave.is-now::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--tag);
}
.wave + .wave.is-now::before { left: 0; }
.wave.is-past .wave__price, .wave.is-past .wave__when { color: rgba(237, 232, 223, 0.38); }
.wave.is-past .wave__price { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgba(242, 197, 0, 0.85); }

.calc__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2.5rem; align-items: end; }
.stepper { display: flex; align-items: stretch; border: 1px solid var(--line); width: max-content; }
.stepper__btn {
  width: 3.25rem; height: 3.25rem; font: 400 1.5rem/1 var(--f-mono); color: var(--bone);
  transition: background-color 0.25s, color 0.25s;
}
.stepper__btn:hover { background: var(--tag); color: var(--tag-ink); }
.stepper__input {
  width: 4rem; height: 3.25rem; text-align: center; border: 0;
  border-inline: 1px solid var(--line); background: transparent;
  font: 500 1.25rem/1 var(--f-mono); color: var(--bone); -moz-appearance: textfield; appearance: textfield;
}
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__sum { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 1rem 2.25rem; }
.calc__sum dt { font: 500 0.8125rem/1.4 var(--f-body); letter-spacing: 0.01em; color: rgba(214, 194, 158, 0.8); }
.calc__sum dd { margin: 0.3rem 0 0; font: 500 1.0625rem/1.2 var(--f-mono); color: var(--bone); white-space: nowrap; }
.calc__total dd {
  font-family: var(--f-display); font-stretch: 25%; font-variation-settings: 'YTLC' 570, 'opsz' 144;
  font-weight: 700; font-size: 2.25rem; line-height: 0.95; color: var(--tag);
}
.calc__hint { font-size: 1rem; color: var(--bone); }
.calc__hint strong { color: var(--tag); font-weight: 600; }
.calc__go { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.calc__go .btn { height: 3.5rem; padding-inline: 1.75rem; font-size: 1.0625rem; }
.calc__demo { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.calc__demo-label { font: 500 0.875rem/1 var(--f-body); color: rgba(214, 194, 158, 0.75); margin-right: 0.25rem; }
.chip {
  min-height: 44px; min-width: 44px; padding: 0 0.9rem; border: 1px solid var(--line);
  font: 500 0.8125rem/1 var(--f-mono); color: var(--wheat);
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}
.chip:hover { border-color: var(--tag); color: var(--tag); }
.chip.is-on { background: var(--bone); border-color: var(--bone); color: var(--tag-ink); }

.includes {
  margin-top: clamp(3.5rem, 6vw, 5rem); padding-top: 1.75rem; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 2rem; align-items: baseline;
}
.includes__title { font: 600 1rem/1.4 var(--f-body); color: var(--wheat); }
.includes__list { display: flex; flex-wrap: wrap; gap: 0.75rem 2.25rem; }
.includes__list li { font-size: 1.0625rem; color: var(--bone); }

/* ------------------------------------------------------------------ */
/* WHO ATTENDS: two doors                                              */
/* ------------------------------------------------------------------ */
.doors { background: var(--ground); }
.doors__roles { margin-top: 1.25rem; font-size: clamp(1.0625rem, 1.2vw, 1.25rem); color: var(--mute); }
.doors__grid { margin-top: clamp(3rem, 5vw, 4.5rem); display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.door { position: relative; padding: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 3.5vw, 3.5rem) clamp(2rem, 3.5vw, 3rem) 0; display: grid; gap: 1.75rem; align-content: start; justify-items: start; }
.tag--door { position: absolute; top: -0.85rem; right: clamp(1.5rem, 3.5vw, 3.5rem); width: clamp(7rem, 10vw, 9.5rem); transform-origin: 50% 7%; }
.door--supply .tag--door { right: 0; }
.tag--door .tag__print { top: 46%; }
.dt__from { font: 600 8cqi/1 var(--f-mono); }
.dt__price { font-family: var(--f-display); font-stretch: 25%; font-variation-settings: 'YTLC' 570, 'opsz' 144; font-weight: 720; font-size: 34cqi; line-height: 0.95; }
.dt__unit { font: 600 8cqi/1 var(--f-mono); }
.door--supply { padding-left: clamp(1.5rem, 3.5vw, 3.5rem); padding-right: 0; border-left: 1px solid var(--line); }
.door__title {
  font-family: var(--f-head); letter-spacing: -0.02em;
  font-weight: 700; font-size: clamp(1.625rem, 2.4vw, 2.25rem); line-height: 1.05; color: var(--bone);
}
.door__list { display: grid; gap: 0.6rem; }
.door__list li { font-size: 1.125rem; line-height: 1.4; color: var(--bone); }
.door .btn { height: 3.5rem; padding-inline: 1.75rem; font-size: 1.0625rem; }
.door .link-tag { font-size: 1.0625rem; }

/* ------------------------------------------------------------------ */
/* FIVE SUMMITS                                                        */
/* ------------------------------------------------------------------ */
.years { background: var(--shade); overflow: hidden; }
.years .wrap { position: relative; }
ol.years__list {
  position: relative; z-index: 1; margin-top: clamp(3.5rem, 6vw, 5rem);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem;
}
.yr { position: relative; padding-top: calc(clamp(5.5rem, 7.8vw, 7.25rem) * 1.53 + 0.25rem); display: grid; gap: 0.4rem; align-content: start; }
.tag--yr { position: absolute; left: 0; top: -0.62rem; width: clamp(4.5rem, 6.4vw, 6rem); transform-origin: 50% 7%; --tagc: #9a8a6c; }
.yr--now .tag--yr { --tagc: var(--tag); width: clamp(5.5rem, 7.8vw, 7.25rem); top: -0.76rem; }
.tag--yr .tag__print { top: 47%; }
.yr__n {
  font-family: var(--f-display); font-stretch: 25%; font-variation-settings: 'YTLC' 570, 'opsz' 144;
  font-weight: 720; font-size: 36cqi; line-height: 0.9;
}
.yr__date { font: 500 1rem/1.3 var(--f-mono); color: var(--bone); }
.yr__place { font-size: 0.9375rem; line-height: 1.4; color: var(--mute); }
.yr--now .yr__place { color: var(--bone); }
.years__list::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(222, 204, 170, 0.45);
  transform-origin: 0 50%; transform: scaleX(var(--draw, 1));
}

/* ------------------------------------------------------------------ */
/* VENUE                                                               */
/* ------------------------------------------------------------------ */
.venue { min-height: min(56rem, 100svh); display: flex; align-items: flex-end; overflow: hidden; }
.venue__plate { position: absolute; inset: 0; z-index: 0; }
.venue__plate img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 40%; }
.venue__plate::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(11, 10, 8, 0.96) 8%, rgba(11, 10, 8, 0.45) 55%, rgba(11, 10, 8, 0.2)),
    linear-gradient(to right, rgba(11, 10, 8, 0.7), transparent 60%);
}
.venue__copy { position: relative; z-index: 1; display: grid; gap: 2rem; justify-items: start; }
.venue__copy .h2 { max-width: 7em; }
.venue__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 1rem 3rem; }
.venue__facts dt { font: 500 0.8125rem/1.4 var(--f-body); letter-spacing: 0.01em; color: rgba(214, 194, 158, 0.85); }
.venue__facts dd { margin: 0.35rem 0 0; font-size: 1.0625rem; line-height: 1.45; color: var(--bone); max-width: 30ch; }
.venue .link-tag { font-size: 1.0625rem; }

/* ------------------------------------------------------------------ */
/* REGISTRATION                                                        */
/* ------------------------------------------------------------------ */
.register { background: var(--shade); }
.register__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.register__photo { position: sticky; top: 6rem; aspect-ratio: 4 / 5; overflow: hidden; }
.register__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.form { margin-top: 2.5rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.5rem; }
.field-row { display: grid; gap: 0.5rem; align-content: start; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row--wide { grid-column: 1 / -1; }
.field-row label, .field-row legend { font-weight: 600; font-size: 0.9375rem; color: var(--bone); padding: 0; }
.opt { font-weight: 400; color: rgba(237, 232, 223, 0.6); margin-left: 0.35em; }
.field-row input, .field-row select {
  width: 100%; height: 3.25rem; padding: 0 1rem;
  border: 1px solid rgba(222, 204, 170, 0.34); border-radius: 0; background: #0d0b09;
  font-size: 1rem; color: var(--bone);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field-row select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--wheat) 50%), linear-gradient(135deg, var(--wheat) 50%, transparent 50%); background-position: calc(100% - 1.25rem) 50%, calc(100% - 0.9rem) 50%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.field-row input::placeholder { color: rgba(237, 232, 223, 0.6); }
.field-row input:focus, .field-row select:focus { outline: none; border-color: var(--tag); box-shadow: 0 0 0 1px var(--tag); }
.field-row__err { display: none; font-size: 0.875rem; color: #ff9b7a; }
.field-row.is-bad input, .field-row.is-bad select { border-color: #ff9b7a; }
.field-row.is-bad .field-row__err { display: block; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(222, 204, 170, 0.34); }
.seg__opt { position: relative; cursor: pointer; }
.seg__opt + .seg__opt { border-left: 1px solid rgba(222, 204, 170, 0.34); }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.5rem 1rem; text-align: center; font-size: 0.9375rem; color: var(--mute); transition: background-color 0.25s, color 0.25s; }
.seg__opt input:checked + span { background: var(--bone); color: var(--tag-ink); font-weight: 600; }
.seg__opt input:focus-visible + span { outline: 2px solid var(--tag); outline-offset: -4px; }
.form__foot { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form__total { font: 500 1.0625rem/1.3 var(--f-mono); color: var(--wheat); }
.form__foot .btn { height: 3.5rem; padding-inline: 2rem; font-size: 1.0625rem; }
.form__note { margin-top: 1rem; font: 400 0.875rem/1.5 var(--f-body); color: rgba(214, 194, 158, 0.75); }
.done { margin-top: 2.5rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2.5rem; align-items: center; outline: none; }
.tag--done { width: 12rem; transform-origin: 50% 7%; }
.done__label { font: 600 8.5cqi/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: 0.03em; }
.done__no { margin-top: 3cqi; font-family: var(--f-display); font-stretch: 25%; font-weight: 700; font-size: 14cqi; line-height: 1; white-space: nowrap; }
.done__text { display: grid; gap: 0.75rem; justify-items: start; font-size: 1.0625rem; color: var(--bone); }
.done__title { font-family: var(--f-head); letter-spacing: -0.02em; font-weight: 700; font-size: 2rem; line-height: 1.05; }
.done .link-tag { font-size: 1rem; }

/* ------------------------------------------------------------------ */
/* CONTACTS + FOOTER                                                   */
/* ------------------------------------------------------------------ */
.contacts { background: var(--ground); }
.contacts__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem 4rem; align-items: start; }
.contacts__list { display: grid; gap: 1.75rem; }
.contacts__list div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.contacts__list dt { font: 500 0.875rem/1.6 var(--f-body); color: rgba(214, 194, 158, 0.8); }
.contacts__list dd { margin: 0; display: grid; gap: 0.35rem; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.3; color: var(--bone); }
.contacts__list a { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; background: linear-gradient(currentColor, currentColor) 0 88% / 0 1px no-repeat; transition: background-size 0.45s var(--ease-out), color 0.3s; }
.contacts__list a:hover { color: var(--tag); background-size: 100% 1px; }

.foot { border-top: 1px solid var(--line); background: var(--ground); padding-block: 3rem 3.5rem; }
.foot__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 3rem; align-items: baseline; }
.foot__brand { display: grid; gap: 0.35rem; }
.foot__all { justify-self: start; display: inline-flex; align-items: center; min-height: 32px; font-size: 0.9375rem; color: var(--wheat); text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: rgba(214, 194, 158, 0.4); }
.foot__all:hover, .menu__all:hover { color: var(--tag); }
.foot__mark { font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; line-height: 1; color: var(--bone); }
.foot__concept { font-size: 0.9375rem; color: var(--mute); }
.foot__concept a { color: var(--bone); text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.foot__concept a:hover { color: var(--tag); }
.foot__star { font: 400 0.875rem/1.4 var(--f-body); color: rgba(214, 194, 158, 0.7); }

/* ------------------------------------------------------------------ */
/* Bar after the hero: solid, compact                                  */
/* ------------------------------------------------------------------ */
.bar { position: fixed; transition: background-color 0.45s var(--ease-out), transform 0.5s var(--ease-out); }
.bar.is-solid {
  height: 4.25rem; background: rgba(11, 10, 8, 0.94);
  box-shadow: 0 1px 0 var(--line-soft);
}
.bar.is-solid .bar__mark { font-size: 1.6rem; }
.bar.is-solid .bar__nav a { font-size: 0.9375rem; }
.bar.is-solid .bar__cta { height: 2.75rem; width: auto; padding-inline: 1.25rem; font-size: 0.9375rem; }
.bar.is-hidden { transform: translateY(-100%); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 30; padding: 6rem var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: 2rem; background: var(--ground);
}
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a {
  display: flex; align-items: center; min-height: 3.75rem; border-bottom: 1px solid var(--line);
  font-family: var(--f-head); letter-spacing: -0.02em;
  font-weight: 650; font-size: 1.875rem; line-height: 1; color: var(--bone);
}
.menu__cta { height: 3.5rem; font-size: 1.0625rem; }
.menu__all { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; color: var(--wheat); text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: rgba(214, 194, 158, 0.4); }
.menu__foot { margin-top: auto; font: 400 0.8125rem/1.4 var(--f-mono); color: var(--wheat); }


/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 1099.98px) {
  .bar { height: 4.25rem; padding-inline: var(--gutter); }
  .bar__mark, .bar.is-solid .bar__mark { font-size: 1.55rem; }
  .bar__nav, .bar__cta, .bar__all { display: none; }
  .bar__toggle {
    display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; padding: 0 1.1rem;
    border: 1px solid rgba(242, 197, 0, 0.8); color: var(--tag); font-weight: 600; font-size: 0.9375rem;
  }
  .calc__sum { grid-template-columns: repeat(2, auto); }
}

@media (max-width: 767.98px) {
  :root { --gutter: 1.25rem; }
  main > section:not(.hero) { padding-block: 4.5rem; }
  .bar { height: 3.75rem; padding-inline: var(--gutter); }
  .bar__mark, .bar.is-solid .bar__mark { font-size: 1.125rem; }
  .bar.is-solid { height: 3.75rem; }

  .field__head, .day__head, .expo__head, .voices__head { grid-template-columns: minmax(0, 1fr); }
  .field__head .lede, .day__head .lede, .expo__head .lede, .voices__head .lede { margin-top: 0; }
  .h2 { font-size: 2.125rem; }

  .rail { --tagw: 8.25rem; }
  ul.rail__tags {
    justify-content: flex-start; gap: 1.1rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; padding-bottom: 1.5rem; scrollbar-width: none;
  }
  ul.rail__tags::-webkit-scrollbar { display: none; }
  .rail__item { scroll-snap-align: start; }

  .forums__body { grid-template-columns: minmax(0, 1fr); }
  .forums__aside { position: static; }
  .forums__frame { display: none; }
  .forum__img { display: block; width: 100%; aspect-ratio: 3 / 2; margin-bottom: 1.25rem; background-color: var(--ground); background-position: center; background-size: cover; background-repeat: no-repeat; }
  .forum__name { font-size: 1.625rem; }
  .panels { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .panels__list { grid-template-columns: 1fr 1fr; row-gap: 1rem; }

  .day__rail {
    --tw: 4.3rem;
    display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 1rem; scrollbar-width: none;
  }
  .day__rail::-webkit-scrollbar { display: none; }
  .day__wire { left: 0; right: 0; }
  .sector { flex: none; width: 5.4rem; scroll-snap-align: start; }
  .sector__name { font-size: 0.8125rem; }
  .day__board { grid-template-columns: minmax(0, 1fr); }
  .day__frame { aspect-ratio: 3 / 2; }
  .tag--pin { width: 3.6rem; top: -1.2rem; right: 1rem; }
  .day__meta { grid-template-columns: minmax(0, 1fr); }
  .day__list li { grid-template-columns: 3.4rem minmax(0, 1fr); gap: 0.75rem; }
  .day__list span { font-size: 1rem; }

  .tickets__grid { grid-template-columns: minmax(0, 1fr); }
  .tickets__tagcol { position: static; }
  .tag--ticket { width: 14.5rem; }
  .calc__choices { grid-template-columns: minmax(0, 1fr); }
  .wave { padding-right: 0.5rem; }
  .wave + .wave { padding-left: 0.6rem; }
  .wave__when { font-size: 0.75rem; }
  .wave__price { font-size: 1.375rem; }
  .calc__row { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .calc__go { flex-direction: column; align-items: stretch; }
  .calc__go .btn { width: 100%; }
  .includes { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .includes__list { gap: 0.5rem 1.5rem; }



  .doors__grid { grid-template-columns: minmax(0, 1fr); }
  .door { padding-right: 0; }
  .door--supply { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .door { padding-top: 2.5rem; }
  .door .door__title { max-width: calc(100% - 7rem); }
  .tag--door, .door--supply .tag--door { right: 0; width: 6rem; }

  ol.years__list { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-left: 4rem; }
  ol.years__list::before { left: 1.45rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: 50% 0; transform: scaleY(var(--draw, 1)); }
  ol.years__list { padding-left: 5.25rem; gap: 2.5rem; }
  ol.years__list::before { left: 2rem; }
  .yr { padding-top: 0; min-height: 5rem; }
  .tag--yr, .yr--now .tag--yr { left: -5.25rem; top: -0.35rem; width: 4rem; }
  .yr--now .tag--yr { width: 4.4rem; left: -5.45rem; }
  .yr__date { font-size: 1.0625rem; }

  .partners__head { grid-template-columns: minmax(0, 1fr); }

  .venue { min-height: 40rem; }
  .venue__facts { grid-template-columns: minmax(0, 1fr); gap: 1rem; }

  .register__grid { grid-template-columns: minmax(0, 1fr); }
  .register__photo { position: static; order: -1; aspect-ratio: 3 / 2; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .seg { grid-template-columns: minmax(0, 1fr); }
  .seg__opt + .seg__opt { border-left: 0; border-top: 1px solid rgba(222, 204, 170, 0.34); }
  .form__foot .btn { width: 100%; }
  .done { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .tag--done { width: 9.5rem; }

  .contacts__grid { grid-template-columns: minmax(0, 1fr); }
  .contacts__list div { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
}


/* ------------------------------------------------------------------ */
/* Preloader: a tag lights up with the load count                      */
/* ------------------------------------------------------------------ */
.preloader {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
  background: var(--ground); z-index: 100;
}
.preloader__hang { position: relative; }
.preloader__hang::before {
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 50vh; background: rgba(222, 204, 170, 0.3);
}
.preloader__tag { width: clamp(9rem, 14vw, 12rem); transform-origin: 50% 7%; --tagc: #3a321c; }
.preloader__tag .tag__print { top: 48%; }
.pre__count {
  font-family: var(--f-display); font-stretch: 25%; font-variation-settings: 'YTLC' 570, 'opsz' 144;
  font-weight: 700; font-size: 40cqi; line-height: 0.9; font-variant-numeric: tabular-nums;
}
.pre__line { margin-top: 2cqi; font: 600 8cqi/1 var(--f-mono); letter-spacing: 0.04em; }
.pre__bar { display: block; width: 62cqi; margin-top: 5cqi; clip-path: inset(0 100% 0 0); }
.pre__bar .barcode { margin-top: 0; }
.preloader__mark {
  font-family: var(--f-head); font-weight: 700; font-size: 1rem; letter-spacing: 0;
  color: rgba(237, 232, 223, 0.7);
}

/* motion-only starting states live in JS; this keeps the tags' pivot honest */
.rail__item .tag, .sector .tag { will-change: transform; }

/* stacked hero: phones and portrait tablets */
@media (max-width: 767.98px), (max-width: 1099.98px) and (orientation: portrait) {
  /* hero: photo on top, text on the barn shadow below */
  .hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; }
  .hero__plate { position: relative; inset: auto; flex: none; height: 50svh; min-height: 21rem; }
  .hero__plate img {
    transform: none; object-position: 50% 30%;
    -webkit-mask-image: linear-gradient(#000 62%, transparent 98%); mask-image: linear-gradient(#000 62%, transparent 98%);
  }
  .hero__copy { position: relative; left: auto; top: auto; transform: none; width: auto; margin-top: -4.25rem; padding-inline: var(--gutter); }
  .hero__kicker { font-size: 0.75rem; }
  .hero__title { margin-top: 0.6rem; font-size: clamp(2.125rem, 8.6vw, 3.25rem); line-height: 1.02; }
  .hero__sub { margin-top: 0.85rem; font-size: 0.9375rem; line-height: 1.45; max-width: 30rem; }
  .br-d { display: none; }
  .hero__actions { margin-top: 1.1rem; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
  .hero .btn--tag { width: auto; height: 3.25rem; font-size: 1rem; }
  .hero .link-tag { font-size: 0.9375rem; }
  .hero__info {
    position: relative; bottom: auto; height: auto; margin-top: 1.25rem;
    grid-template-columns: 1fr 1fr; background: none;
    font-size: 0.75rem; line-height: 1.35; white-space: normal;
  }
  .hero__cell, .hero__cell:first-child { padding: 0.8rem var(--gutter); border-bottom: 1px solid var(--line); }
  .hero__cell:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1rem; }
  .hero__cell + .hero__cell::before { display: none; }
  .hero__info::after { display: none; }

}


/* one barn, not stacked slabs: raised sections fade into the ground at both edges */
.forums, .tickets, .voices, .years, .register {
  background: linear-gradient(to bottom, var(--ground), var(--shade) 7rem, var(--shade) calc(100% - 7rem), var(--ground));
}

/* ================================================================== */
/* Round 3 (26.09): their own materials from livestock-summit.com.ua   */
/* ================================================================== */

/* panels: long words («Кормовиробництво») never push into the next column */
.panels__list li { min-width: 0; overflow-wrap: break-word; hyphens: auto; }

/* logo cards: light plates so every partner's own colours stay recognisable on the dark barn */
ul.logos { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.logo {
  display: flex; align-items: center; justify-content: center; min-width: 0;
  aspect-ratio: 16 / 9; padding: 1rem 1.25rem; background: var(--bone); border-radius: 0.35rem;
}
.logo img { width: 100%; height: 100%; object-fit: contain; }
.logo--lab { flex-direction: column; gap: 0.5rem; aspect-ratio: auto; padding: 1rem 1rem 0.75rem; }
.logo--lab img { height: 3.5rem; }
.logo--lab span { font: 600 0.75rem/1.2 var(--f-body); color: rgba(22, 19, 11, 0.7); text-align: center; }

/* organizers + support */
.orgs { background: var(--ground); padding-block: clamp(3.5rem, 6vw, 5.5rem) !important; }
.orgs__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2.2fr); gap: 2rem clamp(2rem, 4vw, 3.5rem); align-items: start; }
.orgs__title { margin-bottom: 1.1rem; font: 600 1rem/1.3 var(--f-body); color: var(--wheat); }
.logos--orgs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.logos--support { grid-template-columns: minmax(0, 1fr); }
.logos--support .logo { aspect-ratio: 5 / 1.4; }

/* speakers carousel */
.voices { background: var(--shade); }
.voices__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 1.5rem 4rem; align-items: end; }
.voices__side { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; }
.voices__side .lede { margin-top: 0; }
.carousel__nav { display: flex; gap: 0.5rem; flex: none; }
.carousel__btn {
  width: 3.25rem; height: 3.25rem; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--bone); border-radius: 50%;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}
.carousel__btn svg { width: 1.25rem; height: 1.25rem; }
.carousel__btn:hover:not(:disabled) { background: var(--tag); border-color: var(--tag); color: var(--tag-ink); }
.carousel__btn:disabled { opacity: 0.3; cursor: default; }
.carousel { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
ul.carousel__track, ul.strip__track {
  display: flex; gap: clamp(0.85rem, 1.4vw, 1.25rem); margin: 0; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0.25rem max(var(--gutter), calc((100vw - 90rem) / 2 + var(--gutter))) 1rem;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 90rem) / 2 + var(--gutter)));
}
.carousel__track::-webkit-scrollbar, .strip__track::-webkit-scrollbar { display: none; }
.carousel__track.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.carousel__track:focus-visible, .strip__track:focus-visible { outline-offset: -2px; }
.sp { flex: none; width: clamp(12.5rem, 17vw, 16rem); scroll-snap-align: start; }
.sp__img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.35rem; background: var(--ground);
  filter: saturate(0.9); transition: filter 0.4s var(--ease-out);
  -webkit-user-drag: none; user-select: none;
}
.sp:hover .sp__img { filter: saturate(1.05); }
.sp__name { margin-top: 0.9rem; font-family: var(--f-head); letter-spacing: -0.02em; font-weight: 700; font-size: 1.1875rem; line-height: 1.15; color: var(--bone); }
.sp__role { margin-top: 0.4rem; font-size: 0.875rem; line-height: 1.45; color: var(--mute); }

/* expo: their real scheme */
.expo { background: var(--ground); }
.expo__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.expo__copy { position: sticky; top: 6.25rem; display: grid; gap: 1.5rem; justify-items: start; }
.expo__copy .lede { margin-top: 0; }
ul.expo__list { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.expo__list li { position: relative; padding-left: 1.25rem; font-size: 1.0625rem; line-height: 1.45; color: var(--bone); }
.expo__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.55rem; height: 2px; background: var(--tag); }
.expo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 0.5rem; }
.expo__actions .btn { height: 3.5rem; padding-inline: 1.75rem; font-size: 1.0625rem; }
.scheme { margin: 0; }
.scheme__link { display: block; padding: 0.75rem; background: #fff; border-radius: 0.35rem; box-shadow: 0 1.5rem 3rem -1.5rem rgba(0, 0, 0, 0.7); }
.scheme__link img { width: 100%; height: auto; }
.scheme figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--wheat); }
.expo__sub { margin-top: clamp(3rem, 5vw, 4.5rem); font: 600 1rem/1.3 var(--f-body); color: var(--wheat); }
.strip { margin-top: 1.1rem; }
.strip__track li { flex: none; width: clamp(17rem, 30vw, 27rem); scroll-snap-align: start; }
.strip__track img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0.35rem; }

/* video review */
.video { background: var(--shade); }
.video__frame { position: relative; margin-top: clamp(2rem, 4vw, 3rem); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0.35rem; background: #000; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; }
.video__play img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter 0.5s; filter: brightness(0.8); }
.video__play:hover img { transform: scale(1.02); filter: brightness(0.95); }
.video__btn {
  position: absolute; left: 50%; top: 50%; width: 5.5rem; height: 5.5rem; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--tag); color: var(--tag-ink); box-shadow: 0 1rem 2rem -0.5rem rgba(0, 0, 0, 0.6);
}
.video__btn svg { width: 2rem; height: 2rem; margin-left: 0.2rem; }

/* photo review: one wide lead photo, the rest in an even grid */
.gallery { background: var(--ground); }
ul.gal {
  margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.6rem, 1vw, 0.9rem);
}
.gal__item img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0.3rem; }
.gal__item:first-child, .gal__item:nth-child(6) { grid-column: span 2; grid-row: span 2; }

/* past participants */
.past { margin-top: clamp(3rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 1rem 2rem; }
.past__title { font: 600 1rem/1.3 var(--f-body); color: var(--wheat); }
ul.past__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.past__list li { display: grid; gap: 0.2rem; justify-items: start; }
.past__date { font: 500 1rem/1.3 var(--f-mono); color: var(--bone); margin-bottom: 0.2rem; }
.past__link { display: inline-flex; align-items: center; min-height: 32px; font-size: 0.9375rem; color: var(--tag); text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: rgba(242, 197, 0, 0.45); }
.past__link:hover { color: var(--bone); }

/* partners: tiers in one line each + their 2025 logos */
.partners { background: var(--ground); }
.partners__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem 4rem; align-items: start; }
.partners__intro { display: grid; gap: 1.5rem; justify-items: start; }
.partners__intro .lede { margin-top: 0; }
.partners__intro .btn { height: 3.5rem; padding-inline: 1.75rem; font-size: 1.0625rem; }
.tierline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 2rem; margin: 0; width: 100%; }
.tierline div { padding-top: 0.75rem; border-top: 1px solid var(--line); }
.tierline dt { font-family: var(--f-head); font-weight: 700; font-size: 1.125rem; color: var(--bone); }
.tierline div:first-child dt { color: var(--tag); }
.tierline dd { margin: 0.2rem 0 0; font-size: 0.9375rem; color: var(--mute); }
.partners__year { margin-top: clamp(3.5rem, 6vw, 5rem); font-family: var(--f-head); font-weight: 700; font-size: clamp(1.5rem, 2.2vw, 2rem); color: var(--bone); letter-spacing: -0.02em; }
.pwall { margin-top: 1.5rem; display: grid; gap: 1.75rem; }
.pwall__row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 9.8fr); gap: 1rem 2rem; align-items: start; padding-top: 1.25rem; border-top: 1px solid var(--line-soft); }
.pwall__tier { font: 600 0.9375rem/1.3 var(--f-body); color: var(--wheat); padding-top: 0.5rem; }
.logos--gen { grid-template-columns: minmax(0, 20rem); }
.logos--gen .logo { border: 2px solid var(--tag); }
.logos--ex { grid-template-columns: repeat(2, minmax(0, 16rem)); }
.logos--off { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.logos--spec { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.logos--spec .logo { padding: 0.7rem 0.9rem; }
.logos--ind { grid-template-columns: repeat(8, minmax(0, 1fr)); }

/* info partners */
.infop { background: var(--ground); padding-top: 0 !important; }
.logos--info { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0.6rem; }
.logo--sm { padding: 0.6rem 0.8rem; }

/* venue photos */
.venue-photos { background: var(--ground); padding-block: clamp(1.5rem, 3vw, 2.5rem) 0 !important; }

@media (max-width: 1099.98px) {
  .logos--orgs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .orgs__grid { grid-template-columns: minmax(0, 1fr); }
  .logos--support { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos--off, .logos--spec { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logos--ind, .logos--info { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .expo__grid { grid-template-columns: minmax(0, 1fr); }
  .expo__copy { position: static; }
  ul.past__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners__head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
  .logos--orgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos--support { grid-template-columns: minmax(0, 1fr); }
  .voices__head, .voices__side { display: grid; grid-template-columns: minmax(0, 1fr); }
  .sp { width: 13.5rem; }
  .pwall__row { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .logos--gen { grid-template-columns: minmax(0, 14rem); }
  .logos--ex { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos--off, .logos--spec, .logos--ind, .logos--info { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .logo { padding: 0.6rem 0.7rem; }
  .logo--lab img { height: 2.5rem; }
  .tierline { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.75rem 1rem; }
  ul.gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal__item:nth-child(6) { grid-column: auto; grid-row: auto; }
  .past { grid-template-columns: minmax(0, 1fr); }
  ul.past__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .strip__track li { width: 16rem; }
  .video__btn { width: 4rem; height: 4rem; }
}
