/* Reunion Hackathon v2 · red + white, split-flap board, code as the second motif */

  /* v3: red + white, Trepkowski blocks, thin caps, serif accents, the split-flap board as a component */
  :root {
    --red: #C8102E; --red-deep: #8E0B20; --white: #FBF9F5; --paper: #F1ECE3; --ink: #141210; --ink-60: rgba(20,18,16,.62);
    --ink-14: rgba(20,18,16,.14); --w-70: rgba(255,255,255,.72); --w-25: rgba(255,255,255,.25);
    --block: "Big Shoulders Display"; --thin: "Barlow Condensed"; --body: "Barlow"; --serif: "Instrument Serif"; --mono: "IBM Plex Mono";
    --wrap: 1280px; --g: 56px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { background: var(--white); color: var(--ink); font: 400 18px/1.55 var(--body), sans-serif; }
  img { display: block; max-width: 100%; height: auto; }
  .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); position: relative; }
  .sec { padding: 128px 0; position: relative; overflow: hidden; }
  .sec.red { background: var(--red); color: #fff; }
  .sec.red .label { color: var(--w-70); }
  .grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .3;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='5'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncA type='table' tableValues='0 .16'/></feComponentTransfer></filter><rect width='220' height='220' filter='url(%23n)'/></svg>"); }
  .label { font: 500 13px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
  .title { font-family: var(--block); font-weight: 900; text-transform: uppercase; font-size: 104px; line-height: .9; letter-spacing: .005em; margin-top: 18px; }
  .title em { font-style: normal; color: var(--red); } .red .title em { color: #fff; text-decoration: underline; text-decoration-thickness: 6px; text-underline-offset: 10px; }
  .thin { font-family: var(--thin); font-weight: 100; text-transform: uppercase; line-height: .82; letter-spacing: .03em; }
  .serif { font-family: var(--serif); font-weight: 400; font-size: 1.12em; }
  .serif i, .serif em { font-style: italic; }
  .mono { font: 500 13px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
  .lede { font-size: 21px; line-height: 1.5; max-width: 40ch; }
  .muted { color: var(--ink-60); } .red .muted { color: var(--w-70); }
  .btn { display: inline-flex; align-items: center; gap: 12px; background: var(--red); color: #fff; font: 600 14px var(--mono); letter-spacing: .14em;
    padding: 20px 34px; text-transform: uppercase; text-decoration: none; }
  .red .btn { background: #fff; color: var(--red); }
  .link { font: 600 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: inherit; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 4px; }
  .x { text-shadow: var(--x-red); } .red .x { text-shadow: var(--x-white); }  /* extruded block (set by JS) */
  .title.x { text-shadow: var(--x-white-s); }
  .board { border: 0; display: block; }
  .photo { position: relative; }
  .photo img { width: 100%; height: 100%; object-fit: cover; }
  .cap { display: flex; justify-content: space-between; margin-top: 12px; }
  .globe { position: absolute; pointer-events: none; }

  /* 2 misja */
  .m-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: start; }
  .m-grid .title { font-size: 96px; }
  .m-grid .lede { margin-top: 36px; }
  .m-grid .photo { aspect-ratio: 4 / 3; box-shadow: 18px 18px 0 var(--paper); }
  .stats { display: flex; justify-content: space-between; gap: 32px; margin-top: 110px; }
  .stat b { display: block; font-family: var(--block); font-weight: 900; font-size: 104px; white-space: nowrap; line-height: .85; color: var(--red); }
  .stat span { display: block; margin-top: 28px; }
  .m-low { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; margin-top: 90px; }
  .m-low .codebox { margin-top: 0; }
  .quote { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; border-top: 2px solid var(--ink); padding-top: 26px; }
  .quote .serif { font-size: 30px; line-height: 1.25; }
  .quote .mono { color: var(--red); padding-top: 12px; max-width: 26ch; line-height: 1.6; }

  /* 3 skad */
  .s-head { position: relative; z-index: 1; }
  .s-head .thin { font-size: 230px; color: #fff; }
  .s-head .serif { font-size: 30px; margin-top: 18px; max-width: 30ch; }
  .countries { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin-top: 72px; position: relative; z-index: 1; max-width: 830px; }
  .ctry { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--w-25); }
  .ctry b { font-family: var(--block); font-weight: 700; font-size: 34px; text-transform: uppercase; letter-spacing: .02em; }
  .ctry span { font-family: var(--thin); font-weight: 200; font-size: 64px; line-height: .9; }
  .ctry.waw b, .ctry.waw span { font-weight: 900; }
  .ctry.waw { border-top: 3px solid #fff; }
  .ctry span i { font-style: normal; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
  .ctry .coord { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .12em; }
  .s-head .thin { font-size: 150px; max-width: 11ch; }
  .s-head .serif { font-size: 24px; line-height: 1.4; max-width: 44ch; }
  .s-note { margin-top: 28px; position: relative; z-index: 1; }

  /* 1 misja v2: photo with a floating dark editor window (the numbers as code), text on the right */
  .m2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: center; }
  .m2-left { position: relative; padding-bottom: 150px; }
  .m2-photo { aspect-ratio: 4 / 3.1; }
  .m2-photo::after { content: ""; position: absolute; left: -22px; top: -22px; width: 120px; height: 120px; border-left: 8px solid var(--red); border-top: 8px solid var(--red); }
  .editor { position: absolute; right: -70px; bottom: 0; width: 540px; background: #141210; color: #fff; box-shadow: 0 40px 60px -30px rgba(20,18,16,.6); }
  .editor .bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.12); font: 500 13px var(--mono); letter-spacing: .1em; color: rgba(255,255,255,.6); }
  .editor .bar span { margin-right: auto; }
  .editor .bar i { width: 11px; height: 11px; background: rgba(255,255,255,.25); } .editor .bar i:last-child { background: var(--red); }
  .editor .code { font-size: 23px; padding: 22px 26px 26px; color: #fff; }
  .editor .code .k, .editor .code .n { color: #ff4a4a; } .editor .code .s { color: #F1C9CE; } .editor .code .c { color: rgba(255,255,255,.45); }
  .m2-right .title { font-size: 88px; }
  .m2-right .lede.big { margin-top: 30px; font-size: 26px; line-height: 1.35; max-width: 24ch; }
  .m2-right .org { margin-top: 40px; color: var(--ink-60); }
  .m2-right .quote { margin-top: 44px; border-top: 3px solid var(--red); padding-top: 22px; }
  .m2-right .quote .serif { font-size: 25px; line-height: 1.3; }
  .m2-right .quote .mono { display: block; margin-top: 16px; color: var(--ink-60); font-size: 11px; line-height: 1.6; max-width: none; padding-top: 0; }

  /* 3 kto jest na sali: the original radar in its original colours, vehicles arrive in Warsaw */
  .k-grid { display: grid; grid-template-columns: .5fr 1.5fr; gap: 90px; align-items: center; }
  .radar-box { padding-left: 0; }
  .k-grid .title { font-size: 80px; }
  .radar-box { margin: -40px -110px -40px 0; }
  .radar { width: 100%; height: auto; overflow: visible; }
  .radar__rings circle { fill: none; stroke: #141210; stroke-width: 1; stroke-opacity: .08; }
  .radar__cross line { stroke: rgba(20,18,16,.22); stroke-width: 1; }
  .radar__dial { fill: none; stroke: #C8102E; stroke-width: 1.5; }
  .radar__ticks { transform-origin: 400px 400px; animation: radar-spin 90s linear infinite; }
  .radar__ticks line { stroke: #C8102E; stroke-width: 1.5; }
  .radar__links line { stroke: #C8102E; stroke-width: 1.4; opacity: .6; stroke-dasharray: 2 6; stroke-linecap: round; animation: route 1.2s linear infinite; }
  @keyframes route { to { stroke-dashoffset: -8; } }
  .radar__cities circle { fill: #141210; r: 5; }
  .veh { transform-box: fill-box; } .veh > g { transform: scale(1.35); transform-origin: center; }
  .radar__labels text { font-family: var(--block); font-size: 24px; font-weight: 800; letter-spacing: .03em; fill: #141210; }
  .radar__leaders polyline { fill: none; stroke: rgba(20,18,16,.35); stroke-width: 1; }
  .radar text { paint-order: stroke; stroke: #F1ECE3; stroke-width: 7px; stroke-linejoin: round; }
  .radar__stat { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: .04em; fill: #C8102E; }
  .radar__core { fill: #C8102E; transform-origin: 400px 400px; animation: radar-pulse 3s ease-in-out infinite; }
  .radar__here { font-family: var(--block); font-weight: 900; font-size: 26px; letter-spacing: .03em; fill: #C8102E; }
  .radar__coords { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; fill: #6f6a62; }
  @keyframes radar-spin { to { transform: rotate(360deg); } }
  @keyframes radar-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .55; } }

  /* 4 dlaczego */

  /* 5 tracki */
  .t-head { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; }
  .t-head .serif { font-size: 32px; line-height: 1.25; }
  .tracks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 80px; }
  .track { background: #fff; color: var(--ink); min-height: 540px; padding: 28px; display: flex; flex-direction: column; }
  .track .n { font-family: var(--block); font-weight: 900; font-size: 210px; line-height: .8; color: var(--red); }
  .track .mono { color: var(--ink-60); margin-top: 20px; }
  .track h3 { font-family: var(--block); font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; margin-top: 20px; }
  .track .lead4 { font-family: var(--block); font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; margin-top: 18px; }
  .track .slot { margin-top: auto; height: 78px; border: 2px dashed rgba(20,18,16,.28); display: grid; place-items: center; }
  .track.open { background: transparent; color: #fff; border: 3px solid #fff; }
  .track.open .n { color: #fff; font-weight: 100; }
  .track.open .mono { color: var(--w-70); }
  .track.open p { margin-top: 14px; font-size: 17px; }
  .track.open .slot { border: 0; background: #fff; color: var(--red); }

  /* 6 agenda */
  .a-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: end; }
  .a-board { margin: 72px 0 0; display: flex; justify-content: center; }
  .days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 72px; }
  .day .board { margin: 0 auto 8px; }
  .day .photo { aspect-ratio: 4 / 3; }
  .day .mono { color: var(--red); display: block; margin-top: 22px; }
  .day h3 { font-family: var(--block); font-weight: 900; font-size: 64px; line-height: .9; text-transform: uppercase; margin-top: 6px; }
  .day p { color: var(--ink-60); margin-top: 10px; font-size: 17px; }
  .a-foot { display: flex; gap: 28px; align-items: center; margin-top: 56px; }

  /* template cards: dashed = data we will fill in */
  .slot-line { display: block; border-bottom: 2px dashed currentColor; opacity: .45; height: 1.1em; margin-top: 6px; }
  .field { padding: 16px 0; border-top: 1px solid var(--ink-14); }
  .field .mono { color: var(--ink-60); font-size: 12px; }
  .venue { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 88px; background: #fff; box-shadow: 0 30px 50px -40px rgba(20,18,16,.5); }
  .venue .ph { aspect-ratio: 16 / 10; border: 2px dashed rgba(20,18,16,.25); margin: 28px; display: grid; place-items: center; color: var(--ink-60); }
  .venue .info { padding: 36px 40px 36px 12px; }
  .venue h3 { font-family: var(--block); font-weight: 900; font-size: 56px; text-transform: uppercase; line-height: .9; }
  .venue .note { margin-top: 12px; color: var(--ink-60); font-size: 17px; }
  .venue .map { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
  .venue .map svg { width: 64px; height: 64px; }
  .venue .map .mono { color: var(--red); }


  /* code motif: syntax colours in the brand palette */
  .code { font: 500 30px/1.5 var(--mono); letter-spacing: 0; white-space: pre; }
  .code .k { color: var(--red); font-weight: 600; } .code .s { color: var(--ink); } .code .n { color: var(--red); font-weight: 600; }
  .code .c { color: var(--ink-60); } .code .p { color: var(--ink-60); }
  .red .code .k, .red .code .n { color: #fff; } .red .code .s { color: #F1C9CE; } .red .code .c, .red .code .p { color: rgba(255,255,255,.62); }
  .codebox { margin-top: 96px; padding: 44px 52px; background: #fff; box-shadow: 0 30px 50px -40px rgba(20,18,16,.5); position: relative; }
  .codebox::before { content: "reunion.js"; position: absolute; top: -34px; left: 0; font: 500 13px var(--mono); letter-spacing: .12em; color: var(--ink-60); }
  .caret { display: inline-block; width: .55em; height: 1.05em; background: currentColor; vertical-align: -.15em; animation: caret 1s steps(1) infinite; }
  @keyframes caret { 50% { opacity: 0; } }
  /* git graph: 4 tracks branch off main and merge on demo day */
  .git { margin-top: 72px; }
  .git svg { width: 100%; height: auto; display: block; }
  .git text { font: 500 13px var(--mono); letter-spacing: .08em; fill: #fff; }
  /* 48h ruler */
  .ruler { margin-top: 64px; }
  .ruler svg { width: 100%; height: auto; display: block; }
  .ruler text { font: 500 13px var(--mono); letter-spacing: .1em; fill: var(--ink); }
  /* terminal CTA */
  .term { margin-top: 40px; background: #141210; color: #fff; padding: 22px 26px; font: 500 20px var(--mono); max-width: 520px; box-shadow: 0 24px 40px -26px rgba(0,0,0,.6); }
  .term .dim { color: rgba(255,255,255,.45); }
  .term .red { color: #ff4a4a; background: none; }

  /* final: the original return(home); block with the blinking cursor */
  .final { padding: 170px 0 160px; text-align: center; }
  .return-home { display: flex; align-items: center; justify-content: center; gap: .15em; font: 500 124px var(--mono); letter-spacing: -.02em; color: #fff; }
  .cursor { display: inline-block; width: .5em; height: .95em; background: #fff; animation: blink 1.06s steps(1) infinite; }
  @keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
  .cta-lead { font-size: 26px; color: rgba(255,255,255,.8); margin-top: 26px; }
  .final .row { margin-top: 52px; }
  /* disabled apply button, as on the live site until the form opens */
  .btn.off { background: transparent; border: 2px solid currentColor; opacity: .75; cursor: not-allowed; }
  .red .btn.off { color: #fff; background: transparent; }

  /* apply CTA: white button with a red sweep every 4 s and an arrow that keeps nudging; hover fills it */
  .btn.go { position: relative; overflow: hidden; gap: 14px; font-size: 16px; padding: 22px 36px; cursor: pointer; }
  .btn.go svg { width: 22px; height: 22px; animation: nudge 1.4s ease-in-out infinite; }
  .btn.go::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(200,16,46,.18), transparent); animation: sweep 4s ease-in-out infinite; }
  .btn.go:hover, .btn.go.hot { background: #141210; color: #fff; }
  @keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
  @keyframes sweep { 0%, 70% { transform: translateX(0) skewX(-20deg); } 100% { transform: translateX(533%) skewX(-20deg); } }   /* 160% of the button = 533% of the 30% shine; transform, not left, so no relayout per frame */
  .big100 { transition: transform .4s cubic-bezier(.2,.8,.2,1); }

  /* 7 rekrutacja */
  .r-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
  .big100 { font-family: var(--block); font-weight: 900; font-size: 430px; line-height: .8; color: #fff; transform: rotate(-4deg); display: inline-block; }
  .big100 + .thin { font-size: 120px; margin-top: 30px; }
  .r-grid .title { font-size: 92px; }
  .chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 40px; }
  .chips span { border: 2px solid #fff; padding: 10px 16px; font: 600 13px var(--mono); letter-spacing: .1em; }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; border-top: 2px solid #fff; padding-top: 22px; }
  .steps b { display: block; font-family: var(--thin); font-weight: 100; font-size: 96px; line-height: .8; }
  .steps span { display: block; margin-top: 12px; font-family: var(--block); font-weight: 700; font-size: 26px; text-transform: uppercase; }
  .steps i { display: block; margin-top: 10px; }

  /* 8 partnerzy */
  .p-head { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; position: relative; z-index: 1; }
  .p-head .serif { font-size: 32px; line-height: 1.25; }
  .plane-row { width: 760px; margin: 56px -40px -40px auto; transform: rotate(-4deg); }
  .plane-top { width: 700px; margin: 0 auto 36px; transform: rotate(-4deg) scaleX(-1); }
  .benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 40px; }
  .benefits .n { font-family: var(--thin); font-weight: 100; font-size: 110px; line-height: .8; color: var(--red); }
  .benefits h3 { font-family: var(--block); font-weight: 800; font-size: 28px; line-height: 1.05; text-transform: uppercase; margin-top: 18px; }
  .benefits p { color: var(--ink-60); margin-top: 10px; font-size: 16px; }
  .tiers-head { margin-top: 90px; display: flex; align-items: baseline; gap: 28px; }
  .t3 { font-family: var(--block); font-weight: 900; font-size: 48px; text-transform: uppercase; }
  .tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
  .tier { border: 2px solid var(--ink); padding: 28px; min-height: 250px; display: flex; flex-direction: column; }
  .tier .mono { color: var(--ink-60); }
  .tier h3 { font-family: var(--block); font-weight: 900; font-size: 48px; line-height: .92; text-transform: uppercase; margin-top: 16px; }
  .tier p { margin-top: auto; font: 500 12px var(--mono); letter-spacing: .08em; color: var(--ink-60); }
  .tier.top { background: var(--red); border-color: var(--red); color: #fff; } .tier.top .mono, .tier.top p { color: var(--w-70); }
  .wall { margin-top: 56px; border-top: 2px solid var(--ink); }
  .wrow { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--ink-14); }
  .wrow .mono { color: var(--ink-60); }
  .wslots { display: flex; gap: 14px; }
  .wslots i { flex: 1; height: 86px; border: 2px dashed rgba(20,18,16,.25); }
  .wslots i.w1 { flex: none; width: 60%; height: 120px; border-color: rgba(200,16,46,.55); }
  .wslots i.s { height: 60px; }
  .contact { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; margin-top: 56px; padding-top: 32px; border-top: 2px solid var(--ink); }
  .contact .serif { font-size: 28px; line-height: 1.3; max-width: 44ch; }
  .unis { display: grid; grid-template-columns: repeat(10, 1fr); gap: 28px; align-items: center; margin-top: 72px; }
  .unis img { height: 30px; width: auto; margin: 0 auto; filter: grayscale(1) contrast(1.1); opacity: .7; }

  /* 9 zespol */
  .z-head .thin { font-size: 200px; }
  .team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 32px; margin-top: 80px; }
  .person .ph { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--red-deep); }
  .person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
  .person .ph { background: #fff; box-shadow: 0 0 0 6px #fff, 0 26px 40px -24px rgba(20,16,10,.55); }
  .person .ph.empty { background: transparent; border: 2px dashed var(--w-25); }
  .person h3 { font-family: var(--block); font-weight: 800; font-size: 34px; text-transform: uppercase; margin-top: 24px; line-height: 1; }
  .person .mono { margin-top: 8px; color: #fff; }
  .person p { color: var(--w-70); font-size: 15px; margin-top: 6px; }

  /* 10 faq */
  .f-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .f-grid .title { font-size: 96px; }
  .qa { border-top: 3px solid var(--ink); }
  .q { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--ink-14); font-family: var(--block); font-weight: 700; font-size: 30px; text-transform: uppercase; line-height: 1.1; }
  .q::after { content: "+"; font: 300 34px var(--mono); color: var(--red); line-height: 1; }

  .a { padding: 0 0 28px; border-bottom: 1px solid var(--ink-14); color: var(--ink-60); font-size: 18px; max-width: 58ch; }

  /* 11 final */
  .final { padding: 150px 0 140px; }
  .final .thin { font-size: 250px; text-align: center; }
  .final .x-title { font-family: var(--block); font-weight: 900; font-size: 150px; line-height: .86; text-transform: uppercase; text-align: center; color: #fff; }
  .final .row { display: flex; justify-content: center; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 64px; }

  footer { background: var(--ink); color: #fff; padding: 72px 0 40px; }
  footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--g); }
  footer .brand { display: flex; gap: 12px; align-items: center; font-family: var(--block); font-weight: 800; font-size: 26px; letter-spacing: .05em; }
  footer .brand svg { width: 36px; height: 36px; }
  footer a, footer p { display: block; font: 400 15px/2 var(--mono); color: rgba(255,255,255,.7); text-decoration: none; }
  footer .bottom { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); }
  footer .code { font-family: var(--block); font-weight: 900; font-size: 34px; color: #fff; margin-top: 20px; }
  footer .code b { color: var(--red); }

  .person .ph.empty { background: transparent; box-shadow: none; border: 2px dashed rgba(255,255,255,.4); }

  html { scroll-behavior: smooth; scroll-padding-top: var(--barh, 67px); }   /* a menu link lands the section right under the sticky bar */
  a { color: inherit; }
  .skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; }
  .skip:focus { left: 8px; }
  :focus-visible { outline: 3px solid #141210; outline-offset: 3px; }
  .red :focus-visible, .hero :focus-visible, .bar :focus-visible { outline-color: #fff; }
  .btn.sm { padding: 13px 22px; font-size: 12px; }
  .red .btn.sm, .hero .btn, .bar .btn { background: #fff; color: var(--red); }
  .btn.off { background: transparent !important; color: inherit !important; border: 2px solid currentColor; opacity: .8; cursor: not-allowed; }

  /* hero: red, REUNION, the countdown board */
  .hero { position: relative; overflow: hidden; background: var(--red); color: #fff; min-height: 100svh;
    display: grid; grid-template-rows: auto auto 1fr auto; padding: 28px 56px 36px; }
  .nav { display: flex; align-items: center; gap: 32px; position: relative; z-index: 5; }
  .brand { display: flex; align-items: center; gap: 10px; font-family: var(--block); font-weight: 800; font-size: 20px; letter-spacing: .06em; text-decoration: none; color: #fff; }
  .brand svg { width: 30px; height: 30px; }
  .links { display: flex; gap: 16px; margin-left: auto; }
  .links a { font: 500 13px var(--mono); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; padding: 8px 2px; }
  .links a:hover { text-decoration: underline; text-underline-offset: 6px; }
  .hero-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; font: 500 12px var(--mono); letter-spacing: .2em; position: relative; z-index: 5; }
  .globe { position: absolute; left: 50%; bottom: calc(min(1360px, 150vw) * -0.58); width: min(1360px, 150vw); aspect-ratio: 1; transform: translateX(-50%); opacity: .16; pointer-events: none; }
  .hero-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding-top: 58px; position: relative; z-index: 3; }
  .hang { margin-bottom: 30px; translate: 0 -24px; }   /* translate, not transform: the drop animates transform */   /* straight (user, 2026-10-12); the gap clears the extrusion and its shadow, so the word never touches the board */
  .block { font-family: var(--block); font-weight: 900; font-size: clamp(76px, 10.5vw, 150px); line-height: .86; letter-spacing: .005em; text-transform: uppercase; white-space: nowrap; color: #fff; text-shadow: var(--x-hero); }
  .board { border: 0; display: block; max-width: 100%; }
  .hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-top: 28px; position: relative; z-index: 3; }
  .headline { font-family: var(--serif); font-size: clamp(30px, 3.1vw, 44px); line-height: 1.1; max-width: 26ch; }
  .headline em { font-style: italic; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
  .cta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
  .cta .link { font: 600 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid #fff; padding-bottom: 4px; }

  /* intro overlay: runs once per session, then lands on the hero board */
  .intro { position: fixed; inset: 0; width: 100vw; height: 100vh; border: 0; z-index: 60; transform-origin: 0 0; background: var(--red); will-change: transform, opacity; }
  .git path, .git line, .git circle, .ruler rect { transition: opacity .3s; }
  body.pre { overflow: hidden; }
  body.pre .nav, body.pre .hero-meta, body.pre .hero-bottom, body.pre .globe { opacity: 0; }
  body.pre .hang { opacity: .01; }   /* under the opaque intro: invisible, yet painted, so the title counts as the page's LCP (opacity 0 never does) */
  body.pre #heroBoard { visibility: hidden; }
  .nav, .hero-meta, .hero-bottom, .globe, .hang { transition: opacity .6s ease; }

  /* sticky bar once the hero is gone */
  .bar { position: fixed; left: 0; right: 0; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 12px 56px;
    background: var(--red); color: #fff; transform: translateY(-100%); transition: transform .3s ease; box-shadow: 0 10px 30px -20px rgba(0,0,0,.5); }
  .bar.on { transform: none; }

  /* FAQ as a real accordion */
  details summary { list-style: none; cursor: pointer; } details summary::-webkit-details-marker { display: none; }
  details[open] .q { border-bottom: 0; } details[open] .q::after { content: "–"; }
  .a a { color: var(--red); }
  a.slot { text-decoration: none; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
  }

  /* ---------------------------------------------------------------- phones and tablets */
  @media (max-width: 1100px) {
    .links { display: none; }
    .m2, .k-grid, .t-head, .a-head, .r-grid, .p-head, .f-grid, .venue { grid-template-columns: 1fr !important; }
    .editor { position: relative; right: auto; width: auto; margin: -60px 0 0 28px; }
    .m2-left { padding-bottom: 0; }
    .radar-box { margin: 0 !important; }
    .benefits, .tracks, .tiers { grid-template-columns: 1fr 1fr; }
    .team { grid-template-columns: repeat(3, 1fr); }
    .plane-row { width: 90%; margin: 40px auto 0; }
  }
  @media (max-width: 700px) {
    :root { --g: 20px; }
    body { font-size: 16px; }
    .sec { padding: 72px 0; }
    .hero { padding: 18px 20px 26px; }
    .hero-meta { flex-direction: column; gap: 6px; font-size: 10px; letter-spacing: .14em; }
    .hero-stage { padding-top: 56px; gap: 22px; }
    .hero-bottom { flex-direction: column; align-items: start; gap: 20px; }
    .bar { padding: 10px 20px; }
    .brand { font-size: 16px; } .brand svg { width: 24px; height: 24px; }
    .title, .m2-right .title, .k-grid .title { font-size: 52px !important; }
    .thin, .s-head .thin { font-size: 72px !important; }
    .big100 { font-size: 220px; }
    .benefits, .tracks, .tiers, .days, .team { grid-template-columns: 1fr; }
    .team { grid-template-columns: 1fr 1fr; }
    .track { min-height: 0; }
    .track .n { font-size: 130px; }
    .editor .code { font-size: 15px; }
    .editor { margin: -40px 0 0 12px; }
    .return-home { font-size: 46px; }
    .wrow { grid-template-columns: 1fr; gap: 10px; }
    .contact { grid-template-columns: 1fr; }
    .unis { grid-template-columns: repeat(5, 1fr); gap: 16px; }
    footer .cols { grid-template-columns: 1fr; }
    .git, .ruler { overflow-x: auto; } .git svg, .ruler svg { min-width: 640px; }
    .term { font-size: 15px; }
  }

  /* ?shot: fixed hero height for full-page screenshots in headless Chrome */
  .shot .hero { min-height: 900px; }

  /* ---------------------------------------------------------------- every section fits one screen */
  .sec { min-height: calc(100svh - var(--barh, 67px)); display: flex; align-items: center; padding: clamp(32px, 5vh, 110px) 0; }
  .sec > .wrap { width: 100%; }
  .title { font-size: clamp(40px, min(6.4vw, 10vh), 104px); }
  .m2-right .title { font-size: clamp(40px, min(5.6vw, 9vh), 88px); }
  .k-grid .title { font-size: clamp(40px, min(5.4vw, 9vh), 80px); }
  .thin, .z-head .thin { font-size: clamp(56px, min(11vw, 15vh), 200px); }
  .git { margin-top: clamp(20px, 4vh, 72px); }
  .git svg { max-height: 22vh; width: auto; max-width: 100%; margin: 0 auto; }
  .tracks { margin-top: clamp(20px, 4vh, 80px); }
  .track { min-height: clamp(240px, 36vh, 540px); }
  .track .n { font-size: clamp(90px, min(12vw, 17vh), 210px); }
  .ruler { margin-top: clamp(16px, 3vh, 64px); }
  .a-board { margin-top: clamp(16px, 3vh, 72px); }
  .days { margin-top: clamp(20px, 4vh, 72px); }
  .day h3 { font-size: clamp(34px, 6vh, 64px); }
  .venue { margin-top: 0; }
  .big100 { font-size: clamp(170px, min(26vw, 42vh), 430px); }
  .p-head { align-items: center; }
  .plane-row { width: 100%; max-width: 620px; margin: 28px 0 0 auto; }
  .benefits { margin-top: clamp(28px, 6vh, 90px); }
  .benefits .n { font-size: clamp(60px, 11vh, 110px); }
  .tiers-head { margin-top: 0; }
  .tier { min-height: clamp(150px, 22vh, 250px); }
  .wall { margin-top: clamp(20px, 4vh, 56px); }
  .wrow { padding: 10px 0; } .wslots i { height: 60px; } .wslots i.w1 { height: 84px; } .wslots i.s { height: 44px; }
  .unis { margin-top: clamp(28px, 6vh, 72px); overflow: hidden; display: block; padding-top: 24px; border-top: 1px solid var(--ink-14);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .unis-track { display: flex; gap: 72px; width: max-content; animation: unis 40s linear infinite; will-change: transform; }
  .unis-track img { height: 40px; width: auto; filter: none; opacity: .8; }   /* pre-greyed PNGs: a CSS filter on 20 SVGs in a moving strip made phones stutter */
  @keyframes unis { to { transform: translateX(-50%); } }
  .team { grid-template-columns: repeat(8, 1fr); gap: 20px; margin-top: clamp(24px, 5vh, 80px); }
  .person h3 { font-size: 20px; margin-top: 14px; }
  .person p { font-size: 13px; }
  .final { padding: clamp(40px, 7vh, 110px) 0; }
  .return-home { font-size: clamp(44px, min(8vw, 14vh), 124px); }
  @media (max-width: 1100px) { .team { grid-template-columns: repeat(4, 1fr); } }
  @media (max-width: 700px) { .sec { min-height: 0; } .team { grid-template-columns: 1fr 1fr; } }

  /* FAQ: rows slide in, answers open smoothly, the plus turns into a minus */
  .faq-row { opacity: 1; }
  .faq-in .faq-row { animation: row-in .5s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes row-in { from { opacity: 0; transform: translateY(16px); } }
  .q::after { content: "+" !important; transition: transform .3s cubic-bezier(.2,.8,.2,1), color .3s; display: inline-block; }
  details[open] > .q::after { transform: rotate(45deg); color: var(--red); }
  .q { transition: color .2s, padding-left .25s; }
  .q:hover { color: var(--red); padding-left: 8px; }
  details .a { overflow: hidden; }
  /* fit pass 2 (measured at 1440x900 and 1280x720) */
  .q { font-size: clamp(19px, 2.9vh, 30px); padding: clamp(9px, 1.7vh, 22px) 0; }
  .a { padding-bottom: clamp(10px, 2vh, 26px); font-size: clamp(15px, 2.2vh, 18px); }
  .f-grid .title { font-size: clamp(40px, min(6vw, 9vh), 96px); }
  .git svg { max-height: 17vh; }
  .track { min-height: clamp(200px, 29vh, 540px); padding: clamp(16px, 2.6vh, 28px); }
  .track .n { font-size: clamp(80px, min(11vw, 14vh), 210px); }
  .track h3 { font-size: clamp(22px, 3.4vh, 34px); margin-top: 10px; }
  .track .slot { height: clamp(44px, 7vh, 78px); }
  .t-head .title, .a-head .title { font-size: clamp(40px, min(5.4vw, 8.4vh), 104px); }
  .day h3 { font-size: clamp(28px, 4.6vh, 64px); }
  .ruler svg { max-height: 11vh; width: auto; max-width: 100%; }
  .benefits .n { font-size: clamp(54px, 9vh, 110px); }
  .benefits h3 { font-size: clamp(20px, 3vh, 28px); }
  .plane-row { max-width: 520px; }
  .tier { min-height: clamp(120px, 17vh, 250px); padding: clamp(16px, 2.6vh, 28px); }
  .tier h3 { font-size: clamp(30px, 5vh, 48px); }
  .wrow { padding: 7px 0; } .wslots i { height: clamp(34px, 5.5vh, 60px); } .wslots i.w1 { height: clamp(48px, 8vh, 84px); } .wslots i.s { height: clamp(28px, 4vh, 44px); }
  .contact { margin-top: clamp(20px, 4vh, 56px); padding-top: clamp(16px, 2.6vh, 32px); }
  .m2-left { padding-bottom: clamp(60px, 16vh, 150px); max-width: calc(58vh * 1.29 + 60px); }
  .big100 { font-size: clamp(160px, min(26vw, 36vh), 430px); }
  .venue .ph { aspect-ratio: auto; height: clamp(220px, 52vh, 520px); }
  @media (max-height: 780px) and (min-width: 701px) {
    .sec, .final { padding: 26px 0; }
    .label { font-size: 11px; }
    .title, .r-grid .title { margin-top: 8px; }
    .lede, .r-grid .lede { font-size: 16px; margin-top: 12px !important; }
    .chips { margin: 16px 0 18px; } .chips span { padding: 6px 12px; font-size: 11px; }
    .term { margin-top: 14px; padding: 14px 18px; font-size: 16px; }
    .btn.go { padding: 16px 28px; }
    .venue .ph { height: 46vh; margin: 18px; } .venue .info { padding: 22px 26px 22px 6px; }
    .venue .field { padding: 10px 0; } .venue h3 { font-size: 42px; }
    .benefits { margin-top: 20px; } .plane-row { max-width: 440px; margin-top: 12px; }
    .p-head .serif { font-size: 24px; }
    .q { font-size: 18px; padding: 8px 0; } .a { font-size: 14px; padding-bottom: 8px; }
    .unis { margin-top: 18px; padding-top: 14px; } .unis-track img { height: 30px; }
  }
  .unis { margin-top: clamp(18px, 3.4vh, 72px); }
  /* agenda centred: heading, ruler, board and the three days on one axis */
  #agenda .a-head { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; }
  #agenda .a-head .title { max-width: none; }
  #agenda .ruler svg { margin: 0 auto; }
  #agenda .days { text-align: center; }
  /* section 02: globe (ported from the aviation portfolio) + the country list */
  #skad .k-grid { grid-template-columns: .85fr 1.15fr; gap: 40px; }
  .countries { list-style: none; margin-top: clamp(20px, 4vh, 44px); border-top: 2px solid var(--ink); max-width: 460px; }
  .countries li { display: flex; justify-content: space-between; align-items: baseline; padding: clamp(6px, 1.1vh, 11px) 0; border-bottom: 1px solid var(--ink-14); }
  .countries b { font-family: var(--block); font-weight: 800; font-size: clamp(18px, 2.7vh, 26px); text-transform: uppercase; letter-spacing: .02em; }
  .countries span { font: 600 13px var(--mono); letter-spacing: .06em; color: var(--red); text-transform: uppercase; }
  .countries .waw { border-bottom: 3px solid var(--red); } .countries .waw b { color: var(--red); } .countries .waw span { color: var(--ink-60); }
  .globe3d { height: min(80vh, 760px); width: 100%; cursor: grab; touch-action: pan-y; }
  .globe3d:active { cursor: grabbing; }
  .globe3d canvas { display: block; }
  .globe-failed { background: radial-gradient(circle at 50% 50%, #fff 0 38%, transparent 38.2%); }
  /* partners: plane on the right, under the line about the schools */
  .p-right .plane-row { width: 100%; max-width: 560px; margin: 24px 0 0 auto; }
  /* agenda: ruler centred */
  #agenda .ruler { display: flex; justify-content: center; }
  @media (max-width: 1100px) { #skad .k-grid { grid-template-columns: 1fr; } .globe3d { height: 60vh; } }
  #skad .countries { display: block; max-width: 460px; }
  #skad .countries li { gap: 20px; }
  #skad .countries b { white-space: nowrap; }
  #skad .countries span { white-space: nowrap; }

  /* globe v2: zoomed on Europe, pushed right, soft edges */
  #skad { overflow: hidden; }
  #skad .k-grid { grid-template-columns: .75fr 1.25fr; }
  .globe3d { height: min(80vh, 760px); }
  .gpss-note { margin-top: 14px; font: 500 12px var(--mono); letter-spacing: .08em; color: var(--ink-60); text-transform: uppercase; }


/* agenda: the board carries the programme, the 48H ruler above it is redundant */
#agenda .ruler { display: none; }


/* partner CTAs jump to the contact card; keep it clear of the sticky bar */
#kontakt { scroll-margin-top: 120px; }

/* section 02 globe, Cloudflare-like dome: overlay tiles, swallows, frame line with corner squares */
.globe3d { position: relative; overflow: hidden; }
.globe3d::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink-14);
  box-shadow: -1px 0 0 0 transparent; pointer-events: none; }
.globe3d::before { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 9px; pointer-events: none; z-index: 2;
  background: linear-gradient(var(--ink), var(--ink)) left center / 9px 9px no-repeat, linear-gradient(var(--ink), var(--ink)) right center / 9px 9px no-repeat; opacity: .5; }
.g-layer { position: absolute; inset: 0; pointer-events: none; }
.g-tile { position: absolute; left: 0; top: 0; font: 500 calc(10px * var(--gk, 1))/1 var(--mono); letter-spacing: .12em; color: var(--ink-60); transition: opacity .3s; white-space: nowrap; }
.g-tile.waw { font-weight: 700; font-size: calc(12px * var(--gk, 1)); color: #fff; background: var(--red); padding: calc(4px * var(--gk, 1)) calc(6px * var(--gk, 1)); }
.g-tile.waw::after { content: ""; position: absolute; inset: -5px; border: 1px solid var(--red); opacity: 0; }
.g-tile.waw.land::after { animation: g-land .9s ease-out; }
@keyframes g-land { 0% { opacity: .8; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.5); } }
.g-bird { position: absolute; left: 0; top: 0; width: 18px; height: 17px; opacity: 0; transition: opacity .2s; }
.g-bird svg { width: 100%; height: 100%; fill: var(--red); }
.g-dot { position: absolute; left: 0; top: 0; width: 4px; height: 4px; background: var(--ink); transition: opacity .3s; }
.globe3d canvas { -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(transparent, #000 12%); -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(transparent, #000 12%); mask-composite: intersect; }

/* ---------------------------------------------------------------- round 2026-10-05
   GPSS planet next to the name, no section numbers, card 03 as a staircase, icons instead of 01-04,
   work on all three days, a contact card that stands out, school logos above the team */
.hero { grid-template-rows: auto 1fr auto; }
.brand-row { display: flex; align-items: center; }
.by { display: flex; align-items: center; align-self: stretch; margin-left: 4px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.45); }
.by img { width: 30px; height: 30px; object-fit: contain; }
footer .by img { width: 36px; height: 36px; }
@media (max-width: 700px) { .by img { width: 24px; height: 24px; } }

/* 02: who organises it */
.org-gpss { display: flex; align-items: center; gap: 16px; margin-top: clamp(14px, 2.6vh, 28px); padding: clamp(10px, 1.6vh, 16px) 18px; background: #fff; border-left: 6px solid var(--red); max-width: 460px; }
.org-gpss img { width: clamp(48px, 7vh, 68px); height: auto; flex: none; }
.org-gpss b { display: block; font: 800 clamp(20px, 2.8vh, 28px)/1 var(--block); text-transform: uppercase; color: var(--red); margin: 4px 0 5px; }
.org-gpss .mono { display: block; font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-60); }
#skad .countries { margin-top: clamp(12px, 2.4vh, 32px); }

/* 04: icons instead of numbers */
.ico { display: block; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.track .ico { width: clamp(52px, 9vh, 96px); height: auto; color: var(--red); }
.track.open .ico { color: #fff; }
.track h3 { margin-top: clamp(10px, 2vh, 20px); }
.track > p.mono { margin-top: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* 05: every day has work, Friday opens and Sunday ends with the final */
#agenda .days { gap: 0; text-align: left; }
.day > .mono { margin-top: 0; }
.day h3 { font-size: clamp(26px, 4.2vh, 56px); }
.seg { display: flex; margin-top: clamp(8px, 1.6vh, 16px); }
.seg b { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: clamp(9px, 1.6vh, 16px) 16px; background: var(--ink); color: #fff;
  font: 800 clamp(18px, 2.8vh, 28px)/1 var(--block); text-transform: uppercase; letter-spacing: .02em; }
.seg b i { font: 500 11px var(--mono); font-style: normal; letter-spacing: .12em; color: rgba(255,255,255,.72); }
.seg .o, .seg .f { flex: 0 0 44%; background: var(--red); }
.days.pre-in .seg b { clip-path: inset(0 100% 0 0); }
/* the three days as one winding road, like a board game (user, 2026-10-16): Friday, a turn, Saturday's work round the clock, a turn,
   Sunday and the final. The road (svg) and the day labels share one unit grid (--u), so they stay aligned at any width; the road is
   28-unit fields, every label is a big field whose plate spans whole small ones, and each plate wipes in as the road (1400 ms, linear,
   drawn by main.js) passes it: --d / --t are its start and length along the road in ms. Wide screens: a road with two S-bends (1168 units);
   phones and tablets: a snake with two U-turns (350 units). */
#agenda .days { position: relative; display: block; container-type: inline-size; text-align: left; }
.snake { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.days .day, .days .seg { display: contents; }
.days .day > .mono, .days .day h3, .days .seg b { position: absolute; margin: 0; white-space: nowrap; }
.days .day > .mono { font-size: calc(11 * var(--u)); line-height: 1; }
.days .day h3 { font-size: calc(30 * var(--u)); line-height: 1; }
.days .seg b { height: calc(58 * var(--u)); justify-content: center; gap: calc(5 * var(--u)); padding: 0 0 0 calc(12 * var(--u)); box-shadow: none; font-size: calc(22 * var(--u)); }
.days .seg b i { font-size: calc(10.5 * var(--u)); }
.days.pre-in.in .seg b { clip-path: inset(0); transition: clip-path linear; transition-duration: calc(var(--t) * 1ms); transition-delay: calc(var(--d) * 1ms); }
@media (min-width: 1000px) {
  #agenda .days { --u: calc(100cqw / 1168); aspect-ratio: 1168 / 226; max-width: min(100%, 129vh); margin-inline: auto; }   /* at most a quarter of the screen tall: the section keeps fitting one screen */
  .snake-h { display: block; }
  .days .day h3 { font-size: calc(34 * var(--u)); }
  .days .seg b { font-size: calc(24 * var(--u)); }
  .days .seg b i, .days .day > .mono { font-size: calc(12 * var(--u)); }
  .days .day:nth-of-type(1) > .mono { left: 0; top: 0; }
  .days .day:nth-of-type(1) h3 { left: 0; top: calc(17 * var(--u)); }
  .days .day:nth-of-type(1) .o { left: 0; top: calc(64 * var(--u)); width: calc(140 * var(--u)); --d: 0; --t: 153; }
  .days .day:nth-of-type(1) .w { left: calc(140 * var(--u)); top: calc(64 * var(--u)); width: calc(140 * var(--u)); --d: 153; --t: 153; }
  .days .day:nth-of-type(2) > .mono { left: calc(475 * var(--u)); top: calc(104 * var(--u)); }
  .days .day:nth-of-type(2) h3 { left: calc(475 * var(--u)); top: calc(121 * var(--u)); }
  .days .day:nth-of-type(2) .w { left: calc(475 * var(--u)); top: calc(164 * var(--u)); width: calc(224 * var(--u)); --d: 581; --t: 245; }
  .days .day:nth-of-type(3) > .mono { left: calc(894 * var(--u)); top: 0; }
  .days .day:nth-of-type(3) h3 { left: calc(894 * var(--u)); top: calc(17 * var(--u)); }
  .days .day:nth-of-type(3) .w { left: calc(894 * var(--u)); top: calc(64 * var(--u)); width: calc(168 * var(--u)); --d: 1101; --t: 183; }
  .days .day:nth-of-type(3) .f { left: calc(1062 * var(--u)); top: calc(64 * var(--u)); width: calc(106 * var(--u)); --d: 1284; --t: 116; }
}
@media (max-width: 999px) {
  #agenda .days { --u: calc(100cqw / 350); aspect-ratio: 350 / 384; max-width: 440px; margin: 48px auto 0; }
  .snake-v { display: block; }
  .days .day:nth-of-type(1) > .mono { left: 0; top: 0; }
  .days .day:nth-of-type(1) h3 { left: 0; top: calc(18 * var(--u)); }
  .days .day:nth-of-type(1) .o { left: 0; top: calc(64 * var(--u)); width: calc(112 * var(--u)); --d: 0; --t: 145; }
  .days .day:nth-of-type(1) .w { left: calc(112 * var(--u)); top: calc(64 * var(--u)); width: calc(112 * var(--u)); --d: 145; --t: 145; }
  .days .day:nth-of-type(2) > .mono, .days .day:nth-of-type(2) h3 { right: calc(105 * var(--u)); text-align: right; }
  .days .day:nth-of-type(2) > .mono { top: calc(134 * var(--u)); }
  .days .day:nth-of-type(2) h3 { top: calc(150 * var(--u)); }
  .days .day:nth-of-type(2) .w { left: calc(99 * var(--u)); top: calc(192 * var(--u)); width: calc(140 * var(--u)); padding: 0; align-items: center; --d: 617; --t: 181; }
  .days .day:nth-of-type(3) > .mono { left: calc(106 * var(--u)); top: calc(262 * var(--u)); }
  .days .day:nth-of-type(3) h3 { left: calc(106 * var(--u)); top: calc(278 * var(--u)); }
  .days .day:nth-of-type(3) .w { left: calc(110 * var(--u)); top: calc(320 * var(--u)); width: calc(140 * var(--u)); --d: 1089; --t: 181; }
  .days .day:nth-of-type(3) .f { left: calc(250 * var(--u)); top: calc(320 * var(--u)); width: calc(100 * var(--u)); --d: 1270; --t: 130; }
  .days.pre-in .day:nth-of-type(2) .w { clip-path: inset(0 0 0 100%); }   /* Saturday runs right to left */
  .days.pre-in.in .day:nth-of-type(2) .w { clip-path: inset(0); }
}
@media (min-width: 701px) and (max-width: 999px) { #agenda .days { max-width: min(440px, 30vh); } }   /* tablets: the section still fits one screen */

/* 07: line icon, a meter that fills 1/4 .. 4/4 (the order), title and the original one-line body */
.benefits { gap: clamp(24px, 3vw, 44px); }
.benefits .ico { width: clamp(40px, 6vh, 56px); height: auto; color: var(--red); stroke-width: 1.3; }
.benefits .meter { display: block; height: 4px; margin-top: clamp(12px, 2vh, 20px); background: linear-gradient(var(--red), var(--red)) left / calc(var(--p) * 25%) 100% no-repeat, var(--ink-14); }
.benefits h3 { margin-top: clamp(12px, 2vh, 18px); }
.benefits p { font-size: clamp(14px, 1.9vh, 16px); line-height: 1.45; max-width: 30ch; }
.benefits.pre-in .meter { background-size: 0 100%, auto; }
.benefits.pre-in.in .meter { background-size: calc(var(--p) * 25%) 100%, auto; transition: background-size .8s cubic-bezier(.6,0,.2,1); transition-delay: calc(var(--p) * 180ms); }

/* 8: partnerships contact, big and red */
.contact { grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 48px); align-items: center; background: var(--red); color: #fff; border-top: 0;
  padding: clamp(16px, 2.8vh, 32px) clamp(20px, 3vw, 40px); }
.contact .mono { display: block; font: 500 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--w-70); }
.contact .who b { display: block; font: 900 clamp(34px, 5.4vh, 56px)/.95 var(--block); text-transform: uppercase; margin: 6px 0; }
.contact .how { display: grid; gap: 2px; padding-left: clamp(20px, 3vw, 48px); border-left: 2px solid rgba(255,255,255,.4); }
.contact .how a { font: 400 clamp(22px, 3.4vh, 34px)/1.2 var(--serif); color: #fff; text-decoration: none; }
.contact .how a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact .btn { background: #fff; color: var(--red); }
.contact :focus-visible { outline-color: #fff; }
@media (max-width: 1100px) { .contact { grid-template-columns: 1fr; } .contact .how { padding: 14px 0 0; border-left: 0; border-top: 2px solid rgba(255,255,255,.4); } .contact .how a { overflow-wrap: anywhere; } }

/* team: school logo above each person instead of the caption */
.person .uni { height: clamp(36px, 5.6vh, 52px); display: flex; align-items: center; justify-content: center; padding: 6px 8px; margin-bottom: 18px; background: #fff; box-shadow: 0 0 0 6px #fff; }
.person .uni img { max-height: 100%; max-width: 100%; object-fit: contain; }
.person .uni.empty { background: transparent; box-shadow: none; border: 2px dashed rgba(255,255,255,.4); }
.person .uni.empty .mono { font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--w-70); text-align: center; }
/* 02: the organiser sits on the globe, top right, so the list keeps its height */
.globe-wrap { position: relative; }
.globe-wrap .org-gpss { position: absolute; top: clamp(8px, 3vh, 36px); right: 0; z-index: 3; margin: 0; max-width: 400px; box-shadow: 0 18px 40px -26px rgba(20,16,10,.5); }
.globe-wrap .org-gpss img { width: clamp(60px, 9vh, 88px); }
.globe-wrap .org-gpss b { font-size: clamp(22px, 3.2vh, 32px); }
@media (max-width: 1100px) { .globe-wrap .org-gpss { position: static; margin-bottom: 12px; } }
.globe-wrap .org-gpss { top: auto; bottom: clamp(28px, 7vh, 80px); }
.brand { white-space: nowrap; }
@media (max-width: 700px) { .nav { gap: 0; } .nav .lang { margin-right: 8px; } }   /* like the sticky bar: the GPSS name keeps two lines */
@media (max-width: 700px) { .contact .how a { font-size: 19px; } }
.p-head .title em { white-space: nowrap; }
/* GPSS links to globalpolsoc.com: planet next to the name, the badge on the 02 globe, every written name */
.by { margin-left: 14px; transition: opacity .2s; } .by:hover { opacity: .75; }
a.org-gpss { color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
a.org-gpss:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -24px rgba(20,16,10,.55); }
.org a, footer p a { display: inline; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.org a:hover, footer p a:hover { color: var(--red); }
footer p a:hover { color: #fff; }
footer .by { margin-left: 4px; }
/* team members without a photo yet: initials in the frame */
.person .ph.init { display: grid; place-items: center; background: var(--red-deep); }
.person .ph.init span { font: 100 clamp(40px, 7vh, 76px)/1 var(--thin); color: #fff; letter-spacing: .02em; }


/* phone: wide things go vertical (2026-10-12) */
.git svg.git-v { display: none; }
@media (max-width: 700px) {
  .git { overflow-x: visible; }
  .git svg.git-h { display: none; }
  .git svg.git-v { display: block; min-width: 0; width: 100%; max-width: 360px; max-height: none; height: auto; margin: 0 auto; }
  .tiers-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .wslots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .wslots i, .wslots i.s { height: 56px; }
  .wslots i.w1 { width: auto; grid-column: 1 / -1; height: 84px; }
  .term { font-size: 13px; padding: 16px; }
}
/* the heavy display face is Big Shoulders (the thin numerals stay Barlow Condensed): its caps are tall, so wrapped lines need room for Ę Ó Ś Ć */
.title { line-height: 1.08; }
.tier h3 { line-height: 1; }
.track .lead4 { margin-bottom: 16px; }
/* hero: the full name hangs over the board, one line on desktop, two on phones; the column never grows with it (it did while fonts loaded, so the phone board was sized too wide) */
.hero { grid-template-columns: minmax(0, 1fr); }
.block { font-size: clamp(68px, min(9vw, 13vh), 140px); }   /* one line, a little wider than the board */
.block span { display: inline; }
.hero-bottom .theme { font-family: var(--block); font-weight: 800; font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-align: right; }
/* brand row: hackathon mark | GPSS globe + the organiser's name */
.by { gap: 10px; text-decoration: none; color: #fff; }
.by span { font-family: var(--block); font-weight: 800; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 700px) {
  .block { font-size: min(80px, 20.5vw); }
  .hang { translate: 0 -18px; }
  .block span { display: block; }
  .hero-bottom .theme { text-align: left; }
  .by { gap: 8px; }
  .by span { font-size: 14px; line-height: 1.05; letter-spacing: .04em; white-space: normal; max-width: 7em; }   /* GLOBAL POLISH / STUDENT SOCIETY */
}
/* a member who chose not to show a photo: a finished split-flap monogram, not a "photo soon" placeholder */
.person .ph.flap { display: flex; align-items: center; justify-content: center; gap: 5%; background: #141210; container-type: inline-size; }
.person .ph.flap span { position: relative; width: 34%; aspect-ratio: 3 / 4.2; display: grid; place-items: center; border-radius: 4px;
  background: linear-gradient(#2b2927 0 50%, #1c1a18 50% 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 3px 6px rgba(0,0,0,.45);
  font: 700 40px/1 var(--block); font-size: 30cqw; color: #fff; }
.person .ph.flap span::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: #0b0a09; }
/* applications are not open yet: every Apply is a quiet, inert "Apply soon" */
span.btn.soon { pointer-events: none; }   /* the Apply in the section: no hover, no click */
/* the Apply in the menu and the bar takes you to the recruitment section until the form opens */
.btn.go.soon::after, .btn.go.soon svg { animation: none; }
@media (max-width: 700px) {
  .nav .btn.soon, .bar .btn.soon { flex-direction: column; gap: 0; max-width: 96px; padding: 7px 10px; font-size: 11px; line-height: 1.25; letter-spacing: .08em; text-align: center; white-space: normal; }
}
/* team: names take two lines everywhere, so every role sits on the same line */
.person h3 { min-height: 2em; }
/* footer: the organiser and the address each on their own line, the name never split */
footer .org-line { margin-top: 10px; } footer .brand + .org-line { margin-top: 18px; }
footer .org-line a { white-space: nowrap; }
footer .org-line .lbl { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .72;   /* 4.5:1 on the footer ink */ }
/* intro: the speaker in the corner while the browser keeps the board silent; tapped, it shows "on" and fades */
.snd { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 61; width: 52px; height: 52px;
  display: grid; place-items: center; padding: 0; border: 2px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(20,16,10,.22); color: #fff; cursor: pointer;
  transition: opacity .5s .15s, transform .5s .15s; }
.snd svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.snd:hover { background: rgba(20,16,10,.4); }
.snd:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.snd.on { opacity: 0; transform: scale(.9); pointer-events: none; }
body:not(.pre) .snd { display: none; }
/* team: a card with a LinkedIn profile is one link; the photo lifts on hover */
a.person { display: block; color: inherit; text-decoration: none; }
a.person .ph { transition: transform .2s ease; }
a.person:hover .ph, a.person:focus-visible .ph { transform: translateY(-4px); }
a.person:focus-visible { outline: 2px solid #fff; outline-offset: 8px; }
/* PL/EN switch: it leads the right-hand group, so on tablets and phones (links hidden) it pushes the group right */
.lang { font: 600 13px var(--mono); letter-spacing: .12em; color: #fff; text-decoration: none; padding: 12px 4px; border-bottom: 2px solid transparent; }
.lang:hover { border-bottom-color: #fff; }
.bar-end { display: flex; align-items: center; gap: 20px; }
@media (max-width: 1100px) { .nav .lang { margin-left: auto; } }
@media (max-width: 700px) { .by span { letter-spacing: .02em; } .bar-end { gap: 8px; } .lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; } }
@media (max-width: 340px) { .lang { min-width: 32px; } .nav .lang { margin-right: 2px; } .bar-end { gap: 2px; } .nav .by, .bar .by { margin-left: 6px; padding-left: 6px; } .by span { font-size: 13px; } .nav .btn.soon, .bar .btn.soon { width: min-content; } }
.paused { animation-play-state: paused !important; }   /* main.js pauseOffscreen */
/* mission: one plain sentence (what, where, when, for whom) under the slogan, for search and AI answers */
.m2-right .lede.def { margin-top: 18px; font-size: 18px; line-height: 1.5; max-width: 38ch; }
/* venue: no photo frame until the venue is announced; the info takes the whole card */
.venue .ph { display: none; }
.venue { grid-template-columns: 1fr; }
.venue .info { padding: 36px 40px; }
/* partner benefits: titles reserve two lines, so every description starts at the same height */
@media (min-width: 701px) { .benefits h3 { min-height: 2.1em; } }
/* text for screen readers and search engines that mirrors a visual-only element (the agenda board) */
.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}

/* iPhones with a notch or Dynamic Island (viewport-fit=cover): backgrounds run to the screen edges, text stays in the safe area */
.wrap { padding-left: max(var(--g), env(safe-area-inset-left)); padding-right: max(var(--g), env(safe-area-inset-right)); }
.hero, .bar { padding-left: max(var(--g), env(safe-area-inset-left)); padding-right: max(var(--g), env(safe-area-inset-right)); }
footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
@media (max-width: 700px) { .hero { padding-top: calc(18px + env(safe-area-inset-top)); } .bar { padding-top: calc(10px + env(safe-area-inset-top)); } }
