/* styles.css */
/* vendor/ui-sdk-layer.css */
/* Import first in the app's global stylesheet. It declares the ui-sdk layer
   before every other layer, so any style wins over it, and adds the rules
   server-rendered markup needs before the page hydrates. */
@layer ui-sdk;

@layer ui-sdk {
  :where([data-slot][hidden]:not([hidden="until-found"])) {
    display: none !important;
  }

  :where([data-mirror][aria-hidden]) {
    display: inline-block;
  }

  :where([data-mirror][aria-hidden]:dir(rtl)) {
    scale: -1 1;
  }

  :where([data-slot="slider-thumb"]:dir(rtl)) {
    --slider-thumb-sign: 1;
  }
}


/* styles.css */
@charset "UTF-8";

/* ============================================================
   CHRONO JOC 2026
   Poster colors, fluid layouts and a readable system typeface.
   ============================================================ */
:root {
  color-scheme: dark;
  --bg: #05050f;
  --bg-2: #0a0a18;
  --panel: #0d0d1c;
  --line: rgba(244, 242, 247, 0.18);
  --text: #f4f2f7;
  --muted: #b7b5c5;
  --pink: #ff2e8a;
  --pink-soft: #ff7ab5;
  --cyan: #3fe3ea;
  --font: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  --display: var(--font);
  --page-gutter: clamp(24px, 4vw, 112px);
  font-size: clamp(16px, 0.3vw + 12px, 20px);
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 5px;
}
::selection {
  background: var(--pink);
  color: #12020a;
}
.shell {
  width: calc(100% - var(--page-gutter) * 2);
  margin-inline: auto;
}
.section {
  padding-block: clamp(64px, 6vw, 112px);
}
.muted {
  color: var(--muted);
}
.accent-cyan {
  color: var(--cyan);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--pink-soft);
}
.signal {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 14px rgba(255, 46, 138, 0.8);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 10;
  background: var(--text);
  color: var(--bg);
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Capçalera ---------- */
.site-header {
  min-height: 88px;
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 30px;
}
.wordmark-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-mark {
  display: block;
  width: 150px;
  height: 28px;
  flex-shrink: 0;
  color: var(--text);
}
.brand-year {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-left: 8px;
}
#navigation {
  display: flex;
  gap: 30px;
  font-size: 0.95rem;
}
#navigation a {
  padding: 12px 0;
  color: var(--muted);
  transition: color 0.2s;
}
#navigation a:hover {
  color: var(--text);
}
.header-date {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--pink-soft);
  border: 1px solid rgba(255, 46, 138, 0.45);
  border-radius: 99px;
  padding: 9px 16px;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.header-date:hover {
  background: var(--pink);
  color: #12020a;
}
.header-date span {
  color: var(--muted);
  font-weight: 500;
  margin-left: 6px;
}
.header-date:hover span {
  color: #12020a;
}
.menu-toggle {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 100px);
  align-items: center;
  padding-block: clamp(32px, 4vw, 72px);
}
.hero-copy {
  min-width: 0;
}
.wordmark {
  display: block;
  width: min(42rem, 100%);
  height: auto;
  margin-top: 28px;
  color: var(--text);
}
.hero-place {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.2vw, 1.35rem);
  letter-spacing: 0;
  color: var(--cyan);
  margin-top: 18px;
}
.hero-tagline {
  font-family: var(--display);
  font-size: clamp(2rem, 2.8vw, 3.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 28px;
}
.hero-tagline em {
  font-style: normal;
  color: var(--pink);
}
.hero-description {
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-top: 18px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 26px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 10px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.button:not(:disabled):hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--pink);
  color: #12020a;
}
.button-primary:hover {
  background: var(--pink-soft);
}
.button-ghost {
  border-color: rgba(63, 227, 234, 0.45);
  color: var(--cyan);
  background: transparent;
}
.button-ghost:hover {
  border-color: var(--cyan);
}
.button .arrow,
.button span {
  font-size: 1.05em;
  line-height: 1;
}
.countdown {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.countdown > p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.countdown-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 16px);
  width: min(100%, 30rem);
}
.countdown-values > span {
  min-width: 0;
  text-align: center;
}
.countdown .flip-card {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.15;
  overflow: hidden;
  border: 1px solid rgba(244, 242, 247, 0.2);
  border-radius: 12px;
  background: #12131d;
  color: var(--text);
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  font-weight: 650;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  perspective: 400px;
  box-shadow: 0 3px 0 #020208;
}
.flip-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.65);
  z-index: 4;
}
.flip-face {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  background: #12131d;
  backface-visibility: hidden;
}
.is-flipping .flip-face {
  display: grid;
}
.flip-face--static-lower {
  clip-path: inset(50% 0 0);
  z-index: 1;
}
.flip-face--top {
  clip-path: inset(0 0 50%);
  transform-origin: center;
  animation: countdown-flip-top 260ms ease-in both;
  z-index: 3;
}
.flip-face--bottom {
  clip-path: inset(50% 0 0);
  transform-origin: center;
  animation: countdown-flip-bottom 260ms 260ms ease-out both;
  z-index: 2;
}
.countdown small {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
@keyframes countdown-flip-top {
  from {
    transform: rotateX(0);
  }
  to {
    transform: rotateX(-90deg);
  }
}
@keyframes countdown-flip-bottom {
  from {
    transform: rotateX(90deg);
  }
  to {
    transform: rotateX(0);
  }
}
.hero-media {
  margin: 0;
  min-width: 0;
  position: relative;
  isolation: isolate;
}
.teaser-frame {
  display: flex;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #020207;
  position: relative;
}
.teaser-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #05050f99, #05050f33),
    url('/uploads/9lPGubw_p0haESyjP52bK-amf-col-1440.webp') center / cover;
  opacity: 0.45;
}
.teaser-frame video {
  display: block;
  position: relative;
  width: 100%;
  height: clamp(480px, 43vw, 720px);
  object-fit: contain;
  z-index: 1;
}
.hero-media figcaption {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.hero-media figcaption strong {
  color: var(--text);
  font-weight: 500;
}
.media-error {
  font-size: 0.875rem;
  margin-top: 12px;
}
.media-error a {
  color: var(--cyan);
  text-decoration: underline;
}

/* ---------- Franja d'informació ---------- */
.event-strip {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
}
.event-strip-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.4fr 1fr;
  margin: 0;
  padding: 24px 0;
}
.event-strip-inner > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-inline: clamp(16px, 2vw, 32px);
  border-left: 1px solid var(--line);
}
.event-strip-inner > div:first-child {
  border-left: 0;
}
.event-strip dt {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}
.event-strip dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(0.85rem, 1.1vw, 1.05rem);
  font-weight: 600;
  line-height: 1.5;
}
.event-strip dd > span {
  font-size: 0.8em;
  color: var(--muted);
}
.event-strip a:hover {
  color: var(--cyan);
}

/* ---------- Event gallery ---------- */
.gallery {
  display: block;
  margin-top: clamp(40px, 5vw, 80px);
}
.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}
.gallery h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 10px;
}
.gallery-note {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 12px;
}
.gallery-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.gallery-position {
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-right: 8px;
  min-width: 4.5em;
}
.gallery-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--text);
  font-size: 1.2rem;
}
.gallery-arrow:hover:enabled {
  border-color: var(--cyan);
  color: var(--cyan);
}
.gallery-arrow:disabled {
  opacity: 0.35;
}
.gallery-arrow[data-disabled] {
  opacity: 0.35;
  cursor: default;
}
.gallery-track {
  display: block;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--muted) var(--bg-2);
  padding-bottom: 20px;
}
.gallery-content {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
}
.gallery-track:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 6px;
}
.gallery-slide {
  flex: 0 0 auto;
  width: min(72%, 760px);
  min-width: 0;
  scroll-snap-align: start;
}
.gallery-slide:has(img[height="1920"]) {
  width: min(34%, 300px);
}
.gallery-slide img {
  width: 100%;
  height: clamp(220px, 29vw, 420px);
  object-fit: cover;
  border-radius: 10px;
  background: var(--bg-2);
}
.gallery-slide:has(img[height="1920"]) img {
  object-fit: contain;
}
.gallery-slide figcaption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 0.8rem;
  margin-top: 14px;
  color: var(--muted);
}
.gallery-slide figcaption > span {
  color: var(--cyan);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

/* ---------- Seccions ---------- */
.section-number {
  color: var(--muted);
  margin-bottom: 22px;
}
.section h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.experience-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  margin-top: 44px;
}
.lead {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.1vw, 1.65rem);
  font-weight: 500;
  line-height: 1.45;
}
.lead em {
  color: var(--cyan);
  font-style: normal;
}
.experience-content > div {
  max-width: 70ch;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
}
.experience-content > div p + p {
  margin-top: 18px;
}
.experience-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 38px;
}
.experience-tags span {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.experience-tags span:hover {
  border-color: var(--pink);
  color: var(--pink-soft);
}

/* ---------- Programa ---------- */
.program {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.heading-inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.sessions {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.session {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.session:hover {
  background: rgba(244, 242, 247, 0.02);
}
.session-day {
  width: 84px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.session-day strong {
  font-family: var(--display);
  font-size: 3.6rem;
  color: var(--pink);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.session-day span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 8px;
}
.session-info {
  flex: 1;
}
.session-info p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.session-info h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.session-info > span {
  font-size: 1rem;
  color: var(--muted);
}
.session-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}
.visit-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: start;
  margin-top: 28px;
}
.visit-footer p {
  font-size: 0.86rem;
  line-height: 1.8;
}
.visit-footer .text-link {
  flex-shrink: 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  border-bottom: 1px solid rgba(63, 227, 234, 0.4);
  padding-bottom: 4px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.text-link:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ---------- Participa ---------- */
.participate {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.poll-intro h2 {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
}
.poll-intro h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--pink);
}
.poll-intro > p:not(.eyebrow) {
  font-size: 1.05rem;
  max-width: 48ch;
  color: var(--muted);
  margin-top: 24px;
  line-height: 1.75;
}
.poll-intro .small-note {
  font-size: 0.78rem !important;
  max-width: 320px !important;
}
.poll-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(26px, 3vw, 38px);
}
.poll-panel fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.poll-panel fieldset:disabled {
  opacity: 0.65;
}
.poll-panel legend {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.poll-choice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 2px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}
.poll-choice:hover {
  background: rgba(244, 242, 247, 0.03);
}
.poll-choice input {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.poll-choice:has(input:focus-visible) {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}
.choice-key {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  align-self: start;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.choice-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.choice-copy strong {
  font-size: 1rem;
  font-weight: 600;
}
.choice-copy small {
  color: var(--muted);
  font-size: 0.875rem;
}
.choice-radio {
  height: 19px;
  width: 19px;
  border: 2px solid rgba(244, 242, 247, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.poll-choice:has(input:checked) .choice-radio {
  border-color: var(--pink);
}
.poll-choice:has(input:checked) .choice-radio::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px rgba(255, 46, 138, 0.8);
}
.poll-choice:has(input:checked) .choice-copy strong {
  color: var(--pink-soft);
}
.poll-submit {
  width: 100%;
  margin-top: 18px;
}
.poll-submit:disabled {
  background: rgba(244, 242, 247, 0.15);
  color: var(--muted);
}
.poll-status {
  font-size: 0.82rem;
  min-height: 1.6em;
  margin-top: 14px;
  color: var(--muted);
}
.poll-results {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.results-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.results-heading h3 {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
}
.results-heading > span {
  font-size: 0.74rem;
  color: var(--muted);
}
.poll-results ul {
  margin: 16px 0 0;
}
.poll-results li + li {
  margin-top: 12px;
}
.poll-results li > div {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}
.poll-results li strong {
  font-variant-numeric: tabular-nums;
  color: var(--pink-soft);
}
.poll-results progress {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 7px;
  appearance: none;
  border: 0;
  border-radius: 99px;
  background: rgba(244, 242, 247, 0.1);
}
.poll-results progress::-webkit-progress-bar {
  background: rgba(244, 242, 247, 0.1);
  border-radius: 99px;
}
.poll-results progress::-webkit-progress-value {
  background: var(--pink);
  border-radius: 99px;
}
.poll-results progress::-moz-progress-bar {
  background: var(--pink);
  border-radius: 99px;
}
.refresh-results {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 12px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.refresh-results:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* ---------- Col·labora ---------- */
.support {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.support-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 68ch;
  margin-top: 26px;
  line-height: 1.75;
}
.sponsor-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 46px;
  border-block: 1px solid var(--line);
}
.sponsor-tier {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.sponsor-tier + .sponsor-tier {
  border-left: 1px solid var(--line);
}
.tier-index {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.sponsor-tier h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin-top: 18px;
}
.tier-price {
  font-family: var(--display);
  font-size: 2.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 12px;
}
.tier-price span {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 500;
}
.sponsor-tier ul {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-block: 22px 30px;
}
.sponsor-tier li {
  padding-left: 18px;
  position: relative;
}
.sponsor-tier li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--cyan);
}
.sponsor-tier li + li {
  margin-top: 12px;
}
.sponsor-tier .text-link {
  margin-top: auto;
}
.sponsor-tier-featured {
  background: rgba(255, 46, 138, 0.06);
  box-shadow: inset 0 2px 0 var(--pink);
}
.sponsor-tier-featured .tier-index {
  color: var(--pink-soft);
}
.sponsor-note {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 18px;
  max-width: 850px;
}

/* ---------- Amics ---------- */
.friend {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.friend > div > p:not(.eyebrow) {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 58ch;
  margin-top: 24px;
  line-height: 1.75;
}
.friend-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.button-outline {
  background: none;
  border-color: var(--line);
  color: var(--muted);
  min-height: 48px;
  font-size: 0.84rem;
}
.button-outline:hover {
  transform: none;
}
.friend-action small {
  font-size: 0.74rem;
  color: var(--muted);
}

/* ---------- Contacte ---------- */
.contact-band {
  background: var(--pink);
  color: #12020a;
  padding-block: clamp(36px, 4vw, 52px);
}
.contact-band > .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.contact-band p {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
}
.contact-band strong {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.contact-band a {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 2px solid rgba(18, 2, 10, 0.45);
  padding-block: 10px;
  display: flex;
  gap: 16px;
  transition: border-color 0.2s;
}
.contact-band a:hover {
  border-color: #12020a;
}
.contact-band a:focus-visible {
  outline-color: #12020a;
}

/* ---------- Peu ---------- */
.site-footer {
  padding-block: 48px 26px;
}
.footer-main {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
}
.footer-main p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
}
.footer-main p strong {
  font-weight: 600;
  color: var(--text);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 38px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.74rem;
  color: var(--muted);
  align-items: start;
}
.privacy {
  max-width: 420px;
}
.privacy summary {
  list-style: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy summary::-webkit-details-marker {
  display: none;
}
.privacy p {
  padding-top: 10px;
  line-height: 1.8;
}
[hidden] {
  display: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .hero {
    gap: 32px;
  }
  .shell {
    width: calc(100% - 64px);
  }
  #navigation {
    gap: 18px;
  }
  .experience-content,
  .participate {
    gap: 50px;
  }
  .sponsor-tier {
    padding: 26px 22px;
  }
}
@media (max-width: 800px) {
  :root {
    scroll-padding-top: 24px;
  }
  .shell {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 76px;
    padding-block: 16px;
    gap: 20px;
    position: relative;
  }
  .header-date {
    display: none;
  }
  .header-date span {
    display: none;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 99px;
    color: var(--text);
    padding: 10px 14px;
    font-size: 0.76rem;
    font-weight: 600;
    min-height: 44px;
    margin-left: auto;
  }
  .menu-icon {
    width: 13px;
    height: 8px;
    border-block: 1px solid var(--text);
  }
  #navigation {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 1px);
    background: var(--bg-2);
    z-index: 5;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 18px;
    gap: 4px;
    flex-direction: column;
  }
  #navigation[data-open="true"] {
    display: flex;
  }
  #navigation a {
    font-size: 1rem;
    padding-block: 12px;
  }
  .section {
    padding-block: 72px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  #main {
    display: flex;
    flex-direction: column;
  }
  .event-strip {
    order: -1;
    margin-top: 20px;
  }
  .hero-media {
    order: -1;
  }
  .teaser-frame video {
    height: min(66svh, 560px);
  }
  .event-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
    padding-block: 22px;
  }
  .event-strip-inner > div:nth-child(3) {
    border-left: 0;
  }
  .event-strip dd {
    font-size: 0.95rem;
  }
  .experience-content {
    gap: 35px;
  }
  .section h2 {
    font-size: 2rem;
  }
  .participate {
    gap: 35px;
  }
  .poll-intro h2 {
    font-size: 3rem;
  }
  .sponsor-tiers {
    grid-template-columns: 1fr;
  }
  .sponsor-tier + .sponsor-tier {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .sponsor-tier-featured {
    box-shadow:
      inset 0 2px 0 var(--pink),
      inset 2px 0 0 transparent;
  }
  .friend {
    gap: 30px;
    grid-template-columns: 1.4fr 1fr;
  }
  .friend h2 {
    font-size: 1.7rem;
  }
  .contact-band > .shell {
    gap: 20px;
  }
  .contact-band a {
    font-size: 0.95rem;
  }
}
@media (max-width: 580px) {
  .hero {
    padding-top: 24px;
  }
  .hero-place {
    letter-spacing: 0;
  }
  .hero-tagline {
    font-size: 2rem;
    margin-top: 28px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .button {
    width: 100%;
  }
  .event-strip-inner > div {
    padding-inline: 16px;
  }
  .event-strip dd {
    font-size: 0.85rem;
  }
  .gallery-heading {
    flex-wrap: wrap;
    gap: 20px;
  }
  .gallery-controls {
    margin-left: auto;
  }
  .gallery-slide {
    width: 88%;
  }
  .gallery-slide:has(img[height="1920"]) {
    width: 54%;
  }
  .gallery-slide img {
    height: 240px;
  }
  .countdown {
    gap: 14px;
  }
  .countdown > p {
    max-width: none;
  }
  .section {
    padding-block: 58px;
  }
  .section h2 {
    font-size: 1.75rem;
  }
  .section-number {
    margin-bottom: 18px;
  }
  .experience-content {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 30px;
  }
  .heading-inline {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .sessions {
    margin-top: 28px;
  }
  .session {
    gap: 18px;
    flex-wrap: wrap;
    padding-block: 24px;
  }
  .session-day {
    width: 54px;
  }
  .session-day strong {
    font-size: 2.7rem;
  }
  .session-info {
    min-width: 0;
  }
  .session-info h3 {
    font-size: 1.15rem;
  }
  .session-tag {
    flex-basis: 100%;
    padding-left: 72px;
  }
  .visit-footer {
    flex-direction: column;
    gap: 14px;
  }
  .participate {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .poll-intro h2 {
    font-size: 2.6rem;
  }
  .poll-intro > p:not(.eyebrow) {
    max-width: 100%;
  }
  .poll-intro .small-note {
    max-width: none !important;
  }
  .friend {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .friend-action {
    align-items: start;
    text-align: left;
  }
  .contact-band > .shell {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .contact-band a {
    word-break: break-word;
  }
  .footer-main {
    flex-direction: column;
    gap: 22px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
  }
  .privacy {
    max-width: none;
  }
  .footer-bottom > a {
    align-self: flex-end;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
