/* AGENTHON landing page. Build with AI 2026 kit tokens, same as posts/src/common.css. */

@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/GoogleSans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/GoogleSans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Google Sans Code';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/GoogleSansCode-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Google Sans Code';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/GoogleSansCode-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F0F0F0;
  --ink: #1E1E1E;
  --white: #FFFFFF;
  --blue: #4285F4;
  --h-blue: #57CAFF;
  --h-green: #5CDB6D;
  --h-yellow: #FFD427;
  --h-red: #FF7DAF;
  --p-blue: #C3ECF6;
  --p-yellow: #FFE7A5;
  --p-red: #F8D8D8;
  --stroke: 3px;

  --font: 'Google Sans', system-ui, sans-serif;
  --mono: 'Google Sans Code', ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --header-h: 76px;
  --brace-w: clamp(38px, 8.6vw, 140px);
  --tab-h: clamp(52px, 7vh, 66px);
  --space: clamp(80px, 10vw, 152px);

  --fs-title: clamp(44px, min(10.6vw, 18svh), 168px);
  --fs-h2: clamp(34px, 5vw, 72px);
  --fs-h3: clamp(23px, 2.2vw, 32px);
  --fs-lead: clamp(19px, 1.7vw, 24px);
  --fs-body: clamp(16.5px, 1.2vw, 18.5px);
}

@media (max-width: 599px) {
  :root { --header-h: 64px; }
}
/* Portrait tablets have height to spare: give the word more of it. */
@media (min-width: 600px) and (max-aspect-ratio: 4/5) {
  :root { --fs-title: clamp(44px, 12.6vw, 168px); }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
  scrollbar-color: var(--ink) var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* One language at a time: every bilingual pair carries lang="it" and lang="en". */
html[lang="it"] [lang="en"],
html[lang="en"] [lang="it"] { display: none !important; }

::selection { background: var(--h-yellow); color: var(--ink); }

img, svg { display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--blue); }
b, strong { font-weight: 700; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.025em; }
h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.015em; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
main { scroll-margin-top: var(--header-h); }

section[id], article[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.label { font-family: var(--mono); font-size: 15px; line-height: 1.2; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.lead { font-size: var(--fs-lead); line-height: 1.4; max-width: 36em; }
.note { margin-top: 14px; font-size: 15px; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--white); text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }

/* ---------- Kit atoms ---------- */

.brace path {
  fill: var(--brace-fill, var(--p-yellow));
  stroke: var(--ink);
  stroke-width: var(--brace-stroke, 3px);
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.brace--flip { transform: scaleX(-1); }

.chip { width: 1.7em; height: 1.7em; flex: none; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

.pill {
  display: inline-flex; align-items: center;
  height: 2.1em; padding: 0 0.9em;
  border: 2.5px solid var(--ink); border-radius: 999px;
  white-space: nowrap;
}
.pill--py { background: var(--p-yellow); }

.num {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 1.75em; height: 1.75em;
  border: 2.5px solid var(--ink); border-radius: 50%;
  background: var(--white);
  font-size: 14px; font-weight: 500; line-height: 1;
}
.num--t1 { background: var(--h-blue); }
.num--t2 { background: var(--h-green); }
.num--xl { width: 2em; height: 2em; border-width: 3px; font-size: 0.72em; font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  height: 56px; padding: 0 1.35em;
  border: var(--stroke) solid var(--ink); border-radius: 999px;
  font-size: 18px; font-weight: 500; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, scale 0.2s var(--ease-out);
}
.btn .ico { transition: translate 0.3s var(--ease-out); }
.btn:hover .ico { translate: 4px 0; }
.btn:active { scale: 0.97; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #000; color: var(--white); }
.btn--line { background: var(--white); color: var(--ink); }
.btn--line:hover { background: var(--p-yellow); }
.btn--l { height: clamp(54px, 6.4vh, 66px); font-size: clamp(17px, 1.55vw, 22px); }
.btn--s { height: 42px; padding: 0 18px; font-size: 16px; border-width: 2.5px; }

.facts {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px clamp(16px, 2.6vw, 40px);
  font-size: clamp(17px, 1.75vw, 26px); line-height: 1.2;
}
.facts li { display: flex; align-items: center; gap: 0.5em; }
.facts a { text-decoration-color: var(--h-red); }
.facts--left { justify-content: flex-start; }

/* ---------- Header ---------- */

.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}
.top.is-docked { border-bottom-color: var(--ink); }
.top__in {
  height: var(--header-h);
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 20px;
}
.top__home {
  position: relative; flex: none;
  display: flex; align-items: center;
  height: 44px; min-width: 150px;
  color: var(--ink); text-decoration: none;
}
.top__lockup { height: clamp(19px, 1.9vw, 27px); width: auto; transition: opacity 0.3s, translate 0.4s var(--ease-out); }
.top__mark {
  position: absolute; left: 0; top: 50%; translate: 0 -50%;
  display: flex; align-items: center; gap: 5px;
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: -0.02em;
  opacity: 0; transition: opacity 0.3s;
}
.top__mark .brace { width: 13px; height: 30px; --brace-stroke: 2px; transition: translate 0.55s var(--ease-out); }
.top__mark .brace:not(.brace--flip) { translate: 14px 0; }
.top__mark .brace--flip { translate: -14px 0; }
.is-docked .top__lockup { opacity: 0; translate: 0 -10px; }
.is-docked .top__mark { opacity: 1; }
.is-docked .top__mark .brace { translate: 0 0; }

.top__nav { display: none; }
.top__nav a { font-weight: 500; font-size: 16px; text-decoration: none; padding: 6px 2px; }
.top__nav a:hover { text-decoration: underline; text-decoration-color: var(--ink); }
.top__end { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang {
  display: inline-flex; padding: 2px;
  border: 2px solid var(--ink); border-radius: 999px;
  font-family: var(--mono); font-size: 14px;
}
.lang button {
  min-width: 36px; padding: 5px 9px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.lang button[aria-pressed="false"]:hover { background: var(--p-yellow); }

.top .btn--s { display: none; }
.top.is-docked .btn--s { display: inline-flex; }

@media (min-width: 600px) {
  .top .btn--s { display: inline-flex; }
}
@media (max-width: 599px) {
  .top__in { gap: 10px; }
  .top__home { min-width: 0; }
  .top__end { gap: 8px; }
  .top .btn--s { padding: 0 14px; font-size: 15px; }
}
@media (min-width: 980px) {
  .top__nav { display: flex; gap: 28px; margin-left: auto; }
  .top__end { margin-left: 28px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow-x: clip;
  overflow-anchor: none; /* its braces animate on load; anchoring to them made reloads jump down */
  min-height: max(560px, calc(100svh - var(--header-h)));
  display: grid; align-content: center;
  padding: clamp(28px, 5vh, 56px) 0 calc(var(--tab-h) + clamp(30px, 6vh, 64px));
  /* closed position of the braces: just outside the word */
  --closed-x: max(0px, calc((100vw - 5.35 * var(--fs-title)) / 2 - var(--gutter) - var(--brace-w) - 0.16 * var(--fs-title)));
  --bt: clamp(10px, 2.4vh, 28px);
  --bb: calc(var(--tab-h) + clamp(14px, 3vh, 30px));
}
.hero > .brace {
  position: absolute;
  top: var(--bt);
  width: var(--brace-w); height: calc(100% - var(--bt) - var(--bb));
  left: var(--gutter);
  animation: brace-open 1.15s var(--ease-out) 0.1s both;
}
.hero > .brace--flip { left: auto; right: var(--gutter); --dir: -1; }

@keyframes brace-open {
  from { translate: calc(var(--dir, 1) * var(--closed-x)) 0; scale: 1 0.3; }
  to { translate: 0 0; scale: 1 1; }
}

.hero__core {
  position: relative; z-index: 1;
  padding-inline: calc(var(--gutter) + var(--brace-w) + clamp(10px, 2.2vw, 36px));
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__title {
  font-size: var(--fs-title); line-height: 0.9; letter-spacing: -0.035em;
}
.hero__sub {
  margin-top: clamp(12px, 1.8vh, 22px);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px;
  font-size: clamp(17px, 1.9vw, 28px); font-weight: 500; line-height: 1.2;
}
.hero__sub .pill { font-size: 0.8em; font-weight: 400; }
.hero .facts { margin-top: clamp(18px, 3.2vh, 38px); }

.apply {
  display: flex; align-items: center; gap: 22px;
  max-width: 100%;
  padding: 8px 8px 8px clamp(22px, 2.6vw, 36px);
  border: var(--stroke) solid var(--ink); border-radius: 999px;
  background: var(--white);
}
.apply-row {
  --core-pad: calc(var(--gutter) + var(--brace-w) + clamp(10px, 2.2vw, 36px));
  position: relative; align-self: stretch;
  display: flex; justify-content: center;
  margin: clamp(22px, 4.4vh, 52px) calc(-1 * var(--core-pad)) 0;
  padding-inline: var(--core-pad);
}
.apply__status { font-size: clamp(16px, 1.45vw, 20px); line-height: 1.3; text-align: left; }
.apply__status .left { font-variant-numeric: tabular-nums; }
.apply__status .nowrap { white-space: nowrap; }

.hero__sponsors {
  margin-top: clamp(16px, 2.8vh, 32px);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px;
}
.sp { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.hero__sponsors .logo-ariete { height: clamp(28px, 2.9vw, 42px); width: auto; }
.hero__sponsors .logo-demetra { height: clamp(16px, 1.62vw, 23.5px); width: auto; }

.sticker {
  --st: clamp(84px, 11vw, 164px);
  position: absolute; z-index: 2;
  top: 50%; margin-top: calc(var(--st) / -2);
  left: calc(var(--gutter) + var(--brace-w) * 0.1);
  width: var(--st); height: var(--st);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: var(--stroke) solid var(--ink); border-radius: 50%;
  background: var(--h-yellow);
  rotate: -9deg;
  font-size: calc(var(--st) * 0.1); font-weight: 500; line-height: 1.1; text-align: center;
}
.sticker strong { margin: 0.1em 0; font-size: calc(var(--st) * 0.205); letter-spacing: -0.03em; line-height: 1; }

.hero__spark {
  position: absolute; z-index: 2;
  width: clamp(40px, 6vw, 92px); height: clamp(40px, 6vw, 92px);
  right: calc(var(--gutter) + var(--brace-w) * 0.62);
  bottom: calc(var(--bb) - clamp(20px, 3vw, 46px));
}

.hero__tabs {
  position: absolute; z-index: 3; bottom: -3px;
  left: calc(var(--gutter) + var(--brace-w) + 12px);
  right: calc(var(--gutter) + var(--brace-w) + 12px);
  max-width: 940px; margin-inline: auto;
  display: flex; gap: clamp(8px, 1.4vw, 18px);
}
.tab {
  flex: 1 1 0; min-width: 0;
  display: flex; align-items: center; gap: 12px;
  min-height: var(--tab-h);
  padding: 10px clamp(12px, 1.6vw, 20px) 12px;
  border: var(--stroke) solid var(--ink); border-bottom: 0;
  border-radius: 24px 24px 0 0;
  font-size: clamp(14px, 1.35vw, 19px); font-weight: 700; line-height: 1.15;
  text-decoration: none;
}
.tab--t1 { background: var(--h-blue); }
.tab--t2 { background: var(--h-green); }
.tab .ico { margin-left: auto; transition: translate 0.3s var(--ease-out); }
.tab:hover .ico { translate: 0 3px; }
.tab:hover .tab__label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

/* Entrance: the word is there from the first frame; the braces open and the rest settles in. */
.hero__sub, .hero .facts, .hero .apply, .hero__sponsors, .sticker, .hero__spark, .hero__tabs {
  animation: settle 0.9s var(--ease-out) both;
}
.hero__sub { animation-delay: 0.35s; }
.hero .facts { animation-delay: 0.45s; }
.hero .apply { animation-delay: 0.55s; }
.hero__sponsors { animation-delay: 0.65s; }
.sticker, .hero__spark { animation-delay: 0.8s; }
.hero__tabs { animation-delay: 0.7s; }

@keyframes settle {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}

/* Wherever the status wraps inside the pill, lead and detail take a line each and the separator goes. */
@media (max-width: 900px) {
  .apply__status b { display: block; }
  .apply__status .sep { display: none; }
}

@media (max-width: 639px) {
  .apply {
    flex-direction: column; align-items: stretch; gap: 12px;
    width: 100%; padding: 14px; border-radius: 28px;
  }
  .apply__status { text-align: center; }
  .apply .btn { width: 100%; height: auto; min-height: 54px; padding-block: 12px; white-space: normal; text-align: center; line-height: 1.2; }
  .hero .facts { flex-direction: column; align-items: center; gap: 10px; }
  .sticker { top: 0; margin-top: calc(var(--st) * -0.62); left: calc(var(--gutter) - 6px); rotate: -12deg; }
  .hero__spark { bottom: auto; top: calc(var(--bt) - 16px); right: calc(var(--gutter) - 10px); width: 46px; height: 46px; }
  .hero__tabs { left: var(--gutter); right: var(--gutter); gap: 8px; }
  .tab { gap: 8px; padding: 8px 10px 10px; font-size: 13.5px; border-radius: 20px 20px 0 0; }
  .tab .num { font-size: 12px; }
  .tab .ico { display: none; }
}

/* ---------- Tracks ---------- */

.tracks {
  position: relative;
  background: var(--white);
  border-block: var(--stroke) solid var(--ink);
  padding-block: var(--space);
}
.head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 1000px) {
  .head { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 64px; }
}

.scopes { display: grid; gap: clamp(36px, 4vw, 56px); }
@media (min-width: 920px) {
  /* equal columns, and the two cards share row tracks so title, text, brief and sponsor line up */
  .scopes { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); row-gap: 0; }
  .scopes > .scope { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 18px; }
  .scope > .scope__body { display: contents; }
  .scope__foot { align-self: end; }
}
.scope {
  --sb: clamp(30px, 3.6vw, 50px);
  position: relative;
  padding: clamp(22px, 2.6vw, 34px) calc(var(--sb) + clamp(14px, 2vw, 30px));
}
.scope--t1 { --brace-fill: var(--h-blue); }
.scope--t2 { --brace-fill: var(--h-green); }
.scope > .brace {
  position: absolute; top: 0; left: 0;
  width: var(--sb); height: 100%;
  transition: translate 0.45s var(--ease-out);
}
.scope > .brace--flip { left: auto; right: 0; }
.scope:hover > .brace { translate: -5px 0; }
.scope:hover > .brace--flip { translate: 5px 0; }

.scope__body { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.scope__title { display: flex; align-items: center; gap: 14px; font-size: clamp(26px, 2.5vw, 38px); }
.sealed {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 2px dashed var(--ink); border-radius: 999px;
  background: var(--bg);
  font-size: 15px; line-height: 1.3;
}
.sealed .ico { width: 20px; height: 20px; }
.scope__foot {
  margin-top: auto; padding-top: 10px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px;
}
.scope__sponsor { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.scope__sponsor .logo-ariete { height: 40px; width: auto; }
.scope__sponsor .logo-demetra { height: 22.4px; width: auto; }
.scope__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.seats { font-family: var(--mono); font-size: 14px; }

/* ---------- Prizes ---------- */

.prizes { padding-block: var(--space); }
.prizes__grid { display: grid; gap: clamp(40px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) {
  .prizes__grid { grid-template-columns: 1fr 1.1fr; }
}
.prizes__text { display: grid; gap: 18px; }
.prizes__text h2 { margin-bottom: 6px; }
.podiums { position: relative; }
.podium-scene { width: 100%; height: auto; overflow: visible; }
.podium-scene * { vector-effect: non-scaling-stroke; } /* keep the kit's 3px outline at any size */
.pd-num { font-family: var(--font); font-size: 60px; font-weight: 700; text-anchor: middle; fill: var(--ink); }

/* ---------- How it works ---------- */

.how { padding-block: var(--space); background: var(--white); border-block: var(--stroke) solid var(--ink); }
.steps-wrap { position: relative; margin-top: clamp(36px, 5vw, 64px); }
.steps { position: relative; display: grid; gap: 36px; }
.step h3 { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.date {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center;
  height: 52px; padding: 0 20px;
  border: var(--stroke) solid var(--ink); border-radius: 999px;
  background: var(--white);
  font-family: var(--mono); font-size: 18px; font-weight: 500; letter-spacing: 0;
}
.step--main .date { background: var(--h-yellow); }
.step__title { font-size: var(--fs-h3); }
.step p { margin-top: 10px; max-width: 34ch; }
@media (min-width: 920px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps::before {
    content: ""; position: absolute; left: 0; right: 0; top: 24.5px;
    height: var(--stroke); background: var(--ink);
  }
}

.day { margin-top: clamp(64px, 8vw, 112px); }
.day__bar { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.day__end { flex: none; font-family: var(--mono); font-size: 18px; font-weight: 500; }
.day__phases {
  flex: 1; display: flex; min-height: 64px; overflow: hidden;
  border: var(--stroke) solid var(--ink); border-radius: 999px;
  background: var(--white);
}
.ph {
  display: flex; align-items: center;
  padding: 10px 22px;
  border-left: var(--stroke) solid var(--ink);
  font-size: 17px; font-weight: 700; line-height: 1.2;
}
.ph:first-child { border-left: 0; }
.ph { flex: 1 1 0; }
.ph--kick { background: var(--h-blue); }
.ph--build { background: var(--h-green); }
.ph--pitch { background: var(--h-yellow); }
.ph--award { background: var(--h-red); }
@media (max-width: 759px) {
  .day__bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .day__phases { width: 100%; flex-direction: column; border-radius: 24px; }
  .ph { min-height: 54px; border-left: 0; border-top: var(--stroke) solid var(--ink); }
  .ph:first-child { border-top: 0; }
}

/* ---------- Who and jury ---------- */

.who { padding-block: var(--space); }
.who__grid { display: grid; gap: clamp(56px, 6vw, 96px); }
@media (min-width: 960px) {
  .who__grid { grid-template-columns: 1fr 1fr; }
}
.who__col > p { margin-top: 22px; max-width: 46ch; }
.checks { margin-top: 30px; display: grid; gap: 16px; }
.checks li { display: flex; align-items: center; gap: 16px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.3; }
.checks .chip { width: 44px; height: 44px; }

.seats-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.seat {
  width: 56px; height: 56px; display: grid; place-items: center;
  border: var(--stroke) solid var(--ink); border-radius: 50%;
  background: var(--white);
  font-family: var(--mono); font-size: 20px; font-weight: 500;
}
.seat.seat--sponsor, .dot.dot--sponsor { background: linear-gradient(90deg, var(--h-blue) 50%, var(--h-green) 50%); }
.seat.seat--gdg, .dot.dot--gdg { background: var(--h-yellow); }
.seats-legend { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: 13px; }
.seats-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 13px; height: 13px; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); }
.criteria__title { margin-top: 38px; font-size: 22px; }
.criteria { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.criteria li {
  padding: 9px 18px;
  border: 2.5px solid var(--ink); border-radius: 999px;
  background: var(--white);
  font-size: 16px; font-weight: 500; line-height: 1.25;
}

/* ---------- Place: the kit's folder card ---------- */

.place { padding-bottom: var(--space); }
.folder {
  --ft: 72px;
  position: relative;
  padding: calc(var(--ft) + clamp(26px, 4vw, 52px)) clamp(24px, 5vw, 72px) clamp(32px, 5vw, 64px);
}
html:not(.js) .folder { border: var(--stroke) solid var(--ink); border-radius: 44px; background: var(--white); --ft: 0px; }
.folder__shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.folder__outline { fill: var(--white); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.folder__scallops { fill: none; stroke: var(--ink); stroke-width: 3; }
.folder__body { position: relative; display: grid; gap: 18px; justify-items: start; }
.folder__body h2 { max-width: 14em; padding-right: clamp(88px, 12vw, 150px); }
.place__address { font-size: var(--fs-lead); }
.place__pin {
  position: absolute; top: calc(-1 * clamp(8px, 2vw, 24px)); right: 0;
  width: clamp(72px, 10vw, 128px); height: clamp(72px, 10vw, 128px);
  rotate: 8deg;
}
.folder .facts { font-size: clamp(17px, 1.5vw, 21px); }
.folder .btn { margin-top: 8px; }

/* ---------- FAQ ---------- */

.faq { padding-bottom: var(--space); }
.faq__grid { display: grid; gap: 32px; }
.faq__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: 0.75fr 1.25fr; align-items: start; }
}
.faq__list {
  overflow: hidden;
  border: var(--stroke) solid var(--ink); border-radius: 32px;
  background: var(--white);
}
.faq details + details { border-top: 2px solid var(--ink); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 21px clamp(20px, 2.4vw, 30px);
  font-size: clamp(17.5px, 1.45vw, 20.5px); font-weight: 500; line-height: 1.3;
  list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover > span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.faq summary:hover .ico { background: var(--p-yellow); }
.faq summary:focus-visible { outline-offset: -5px; border-radius: 0; }
.faq summary .ico {
  width: 30px; height: 30px; padding: 4px;
  border: 2.5px solid var(--ink); border-radius: 50%;
  transition: rotate 0.35s var(--ease-out), background-color 0.2s;
}
.faq details[open] summary .ico { rotate: 45deg; background: var(--h-yellow); }
.faq details p { padding: 0 clamp(20px, 2.4vw, 30px) 24px; max-width: 62ch; }

/* ---------- Partners ---------- */

.partners { padding-block: var(--space); background: var(--white); border-block: var(--stroke) solid var(--ink); }
.partners__grid {
  margin-top: clamp(32px, 4vw, 48px);
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.partner {
  display: flex; flex-direction: column; gap: 16px;
  min-height: clamp(140px, 14vw, 188px); padding: 20px 24px 26px;
  border: var(--stroke) solid var(--ink); border-radius: 28px;
  background: var(--bg);
}
.partner .label { display: flex; align-items: center; gap: 8px; }
.partner .num { font-size: 12px; }
.partner > a, .partner > .lockup { margin-block: auto; }
.partner > a { display: flex; align-items: center; min-height: 72px; }
.partner .logo-ariete { height: 50px; width: auto; }
.partner .logo-demetra { height: 28px; width: auto; }
.partner .logo-gdg { height: 44px; width: auto; }
.partner .logo-feat { width: min(100%, 230px); height: auto; }


/* ---------- Finale ---------- */

.finale {
  position: relative;
  display: grid; align-content: center;
  min-height: clamp(480px, 70vh, 680px);
  padding-block: clamp(96px, 11vw, 150px);
  --fb: clamp(34px, 7vw, 116px);
  --fy: clamp(40px, 6vw, 72px);
}
.finale > .brace {
  position: absolute; left: var(--gutter); top: var(--fy);
  width: var(--fb); height: calc(100% - 2 * var(--fy));
}
.finale > .brace--flip { left: auto; right: var(--gutter); }
.finale__core {
  padding-inline: calc(var(--gutter) + var(--fb) + clamp(10px, 2.2vw, 36px));
  display: flex; flex-direction: column; align-items: center; gap: clamp(24px, 4vh, 40px);
  text-align: center;
}
.finale h2 { font-size: clamp(36px, 6.4vw, 96px); letter-spacing: -0.03em; }
.finale__next a { font-weight: 500; }
.finale__next .ico { display: inline-block; margin-left: 0.3em; vertical-align: -0.18em; }
.finale__next a:hover .ico { translate: 4px 0; }
.finale__next .ico { transition: translate 0.3s var(--ease-out); }

/* ---------- Footer ---------- */

.foot { padding: 56px 0 36px; border-top: var(--stroke) solid var(--ink); background: var(--white); }
.foot__grid { display: grid; gap: 32px; }
@media (min-width: 860px) {
  .foot__grid { grid-template-columns: 1.5fr 1fr; }
}
.foot__brand img { height: 44px; width: auto; }
.foot__brand p { margin-top: 18px; max-width: 48ch; font-size: 16px; }
.foot__links { display: grid; gap: 10px; align-content: start; font-weight: 500; }
.foot__small { grid-column: 1 / -1; padding-top: 22px; border-top: 2px solid var(--ink); font-size: 14px; }

/* ---------- Kit glyph stickers: one per section, decorative ---------- */

.glyph { position: absolute; z-index: 2; height: auto; overflow: visible; pointer-events: none; }
.glyph path, .glyph circle {
  fill: var(--gf, var(--h-yellow));
  stroke: var(--ink); stroke-width: 3px; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
/* "//" closing the "Due track" heading */
.glyph--slashes {
  --gf: var(--h-yellow);
  position: static; display: inline-block;
  width: 0.6em; aspect-ratio: 110 / 120;
  margin-left: 0.2em; vertical-align: -0.06em;
  rotate: 8deg;
}
/* arrowhead at the end of the timeline */
.glyph--arrow {
  --gf: var(--h-blue);
  display: none;
  width: 66px; aspect-ratio: 120 / 80;
  right: max(-40px, calc(8px - var(--gutter))); top: 4px;
}
/* speech bubble beside the questions */
.glyph--speech {
  --gf: var(--h-green);
  position: static; flex: none;
  width: clamp(60px, 9vw, 128px); aspect-ratio: 130 / 110;
  rotate: -6deg;
}
/* "};" after the closing brace */
.glyph--semicolon {
  --gf: var(--h-red);
  display: none;
  width: 30px; aspect-ratio: 70 / 120;
  right: max(8px, calc(var(--gutter) - 44px)); bottom: var(--fy);
}
@media (min-width: 920px) {
  .glyph--arrow { display: block; }
}
@media (min-width: 960px) {
  .faq__head { display: block; position: sticky; top: calc(var(--header-h) + 24px); }
  .glyph--speech { margin-top: 32px; }
}
@media (min-width: 1200px) {
  .glyph--semicolon { display: block; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}
