:root {
  --pink: #bc3d73;
  --mint: #54b087;
  --mint-dark: #287559;
  --ink: #101010;
  --paper: #fff9f3;
  --white: #ffffff;
  --line: rgba(16, 16, 16, 0.18);
  --muted: #5f5b58;
  --display: "Nunito Sans", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, sans-serif;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(16, 16, 16, 0.12);
  --container: min(1180px, calc(100% - 40px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.local-file-notice {
  position: fixed;
  z-index: 2000;
  right: 16px;
  bottom: 16px;
  width: min(520px, calc(100% - 32px));
  padding: 16px 20px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  color: var(--ink);
  background: var(--mint);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--display);
  line-height: 1.08;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.42rem;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 249, 243, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  width: var(--container);
  min-height: 76px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-cat {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.brand-cat img {
  width: 100%;
  height: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.main-nav a {
  position: relative;
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  background: var(--mint);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 10px 17px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-cta:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(2px, 2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 76px);
  padding: 70px 20px 85px;
  place-items: center;
  overflow: hidden;
  background: var(--pink);
}

.hero::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  content: "";
  opacity: 0.12;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  text-align: center;
}

.hero-logo {
  width: clamp(160px, 23vw, 275px);
  margin: 0 auto 24px;
}

.hero h1 {
  max-width: 860px;
  margin: 0 auto 24px;
  font-size: clamp(3rem, 7.6vw, 7rem);
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: inline-block;
  color: var(--white);
  text-shadow: 3px 3px 0 var(--ink);
}

.hero-lead {
  max-width: 740px;
  margin: 0 auto;
  font-size: clamp(1.08rem, 2.1vw, 1.35rem);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  margin-top: 36px;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 13px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(3px, 3px);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--white);
}

.button-dark:hover {
  box-shadow: 1px 1px 0 var(--white);
}

.button-mint {
  color: var(--ink);
  background: var(--mint);
}

.text-link {
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.intro {
  background: var(--paper);
}

.split-intro {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.split-intro h2 {
  margin-bottom: 0;
}

.intro-copy {
  padding-top: 34px;
  border-top: 3px solid var(--ink);
  font-size: 1.12rem;
}

.intro-copy p {
  margin: 0 0 22px;
}

.offer-section {
  color: var(--white);
  background: var(--ink);
}

.section-heading {
  display: grid;
  margin-bottom: 52px;
  grid-template-columns: 1fr minmax(260px, 0.65fr);
  column-gap: 70px;
  align-items: end;
}

.section-heading .eyebrow,
.section-heading h2 {
  grid-column: 1;
}

.section-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  align-self: end;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.section-heading.compact {
  display: block;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.offer-card {
  position: relative;
  min-height: 350px;
  padding: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.offer-card:nth-child(2),
.offer-card:nth-child(4) {
  background: rgba(255, 255, 255, 0.04);
}

.card-number {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.offer-card h3 {
  margin: 30px 0 15px;
}

.offer-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.css-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  display: block;
  width: 50px;
  height: 50px;
  border: 2px solid var(--white);
  border-radius: 14px;
  transform: rotate(4deg);
}

.css-icon::before,
.css-icon::after {
  position: absolute;
  content: "";
}

.icon-meeple {
  background: var(--pink);
}

.icon-meeple::before {
  top: 7px;
  left: 18px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
}

.icon-meeple::after {
  right: 7px;
  bottom: 7px;
  left: 7px;
  height: 25px;
  background: var(--ink);
  clip-path: polygon(38% 0, 62% 0, 68% 24%, 100% 43%, 89% 65%, 68% 52%, 78% 100%, 55% 100%, 50% 72%, 45% 100%, 22% 100%, 32% 52%, 11% 65%, 0 43%, 32% 24%);
}

.icon-die {
  background: var(--mint);
}

.icon-die::before {
  top: 11px;
  left: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 20px 0 0 var(--ink), 10px 10px 0 var(--ink), 0 20px 0 var(--ink), 20px 20px 0 var(--ink);
}

.icon-pawn {
  background: var(--pink);
}

.icon-pawn::before {
  top: 7px;
  left: 17px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
}

.icon-pawn::after {
  right: 10px;
  bottom: 7px;
  left: 10px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 5px 5px;
  background: var(--white);
  clip-path: polygon(32% 0, 68% 0, 72% 46%, 100% 100%, 0 100%, 28% 46%);
}

.icon-card {
  background: var(--mint);
}

.icon-card::before {
  inset: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  transform: rotate(-7deg);
}

.icon-card::after {
  top: 16px;
  left: 21px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 11px 0 -2px var(--ink);
}

.process-section {
  background: var(--mint);
}

.process-list {
  display: grid;
  margin: 56px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.process-list li {
  position: relative;
  padding: 0 28px;
  border-left: 2px solid var(--ink);
}

.process-list li:last-child {
  border-right: 2px solid var(--ink);
}

.process-list li > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  font-family: var(--display);
  font-weight: 700;
}

.process-list h3 {
  margin-bottom: 10px;
}

.process-list p {
  margin: 0;
}

.projects-section {
  background: var(--paper);
}

.projects-heading {
  margin-bottom: 34px;
}

.projects-heading h2 {
  margin-bottom: 0;
}

.slider-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.slider-button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.slider-button:hover,
.slider-button:focus-visible {
  color: var(--ink);
  background: var(--mint);
}

.slider-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.slider-count {
  min-width: 52px;
  margin: 0;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
}

.slider-footer {
  display: flex;
  min-height: 42px;
  margin-top: 18px;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.projects-viewport {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 9px 9px 0 var(--ink);
  touch-action: pan-y;
}

.projects-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.project-slide {
  display: grid;
  min-width: 100%;
  grid-template-columns: 1fr 1fr;
}

.project-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: var(--project-color, var(--pink));
}

.project-visual::after {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  padding: 18px 20px;
  border: 2px dashed rgba(16, 16, 16, 0.55);
  border-radius: 14px;
  content: "Miejsce na zdjęcie projektu";
  font-weight: 800;
  text-align: center;
}

.project-visual.has-image::after {
  display: none;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-copy {
  display: flex;
  min-height: 480px;
  padding: clamp(34px, 6vw, 72px);
  flex-direction: column;
  justify-content: center;
}

.project-meta {
  display: flex;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 10px;
}

.project-meta span {
  padding: 6px 11px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-copy h3 {
  max-width: 500px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.project-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.project-link {
  display: inline-flex;
  min-height: 48px;
  margin-top: 28px;
  padding: 10px 19px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--ink);
  box-shadow: 3px 3px 0 var(--mint);
  font-weight: 800;
  text-decoration: none;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.project-link:hover,
.project-link:focus-visible {
  outline: none;
  box-shadow: 1px 1px 0 var(--mint);
  transform: translate(2px, 2px);
}

.swipe-hint {
  display: none;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.showcase-section {
  color: var(--white);
  background: var(--ink);
}

.showcase-heading {
  display: grid;
  margin-bottom: 52px;
  grid-template-columns: 1fr minmax(280px, 0.6fr);
  gap: 70px;
  align-items: end;
}

.showcase-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.showcase-heading > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.showcase-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 320px;
  padding: clamp(28px, 4vw, 48px);
  border: 2px solid var(--white);
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 170ms ease, transform 170ms ease;
}

.showcase-card::before {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 250px;
  height: 250px;
  border: 3px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.18;
  pointer-events: none;
}

.showcase-card::after {
  position: absolute;
  top: 40px;
  right: 48px;
  width: 86px;
  height: 86px;
  border: 3px solid currentColor;
  content: "";
  opacity: 0.26;
  pointer-events: none;
  transform: rotate(18deg);
}

.showcase-card-games {
  min-height: 420px;
  color: var(--ink);
  background: var(--pink);
}

.showcase-card-events {
  color: var(--ink);
  background: var(--mint);
}

.showcase-card-stands {
  color: var(--ink);
  background: var(--paper);
}

.showcase-card-talks {
  min-height: 420px;
  color: var(--white);
  background: #292929;
}

.showcase-index {
  position: absolute;
  top: 28px;
  left: 32px;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.showcase-copy {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 560px;
  pointer-events: none;
}

.showcase-label {
  display: block;
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase-card-title {
  display: block;
  max-width: 560px;
  margin-bottom: 15px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.08;
}

.showcase-description {
  display: block;
  max-width: 520px;
  opacity: 0.78;
  font-size: 1.02rem;
}

.showcase-action {
  display: inline-flex;
  margin-top: 26px;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-card:hover,
.showcase-card:focus-visible {
  z-index: 2;
  outline: none;
  box-shadow: 0 0 0 5px var(--mint);
  transform: translateY(-4px);
}

.showcase-card[aria-expanded="true"] {
  z-index: 2;
  box-shadow: 0 0 0 5px var(--white), 0 0 0 8px var(--mint);
}

.showcase-detail {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 44px);
  border: 2px solid var(--white);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--mint);
}

.showcase-detail[hidden] {
  display: none;
}

.showcase-detail-heading {
  display: grid;
  margin-bottom: 30px;
  grid-template-columns: minmax(0, 1fr);
}

.showcase-detail-heading h3 {
  max-width: 800px;
  margin-bottom: 12px;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.showcase-detail-heading > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.showcase-back {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.showcase-back:hover,
.showcase-back:focus-visible {
  color: var(--mint-dark);
}

.showcase-detail-viewport {
  box-shadow: 6px 6px 0 var(--ink);
}

.showcase-detail .project-visual,
.showcase-detail .project-copy {
  min-height: 400px;
}

.audience-section {
  background: var(--paper);
}

.audience-box {
  display: grid;
  padding: clamp(34px, 6vw, 72px);
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--pink);
  box-shadow: 8px 8px 0 var(--ink);
}

.audience-box h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}

.audience-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-box li {
  position: relative;
  padding: 18px 0 18px 44px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.audience-box li::before {
  position: absolute;
  top: 19px;
  left: 3px;
  display: grid;
  width: 26px;
  height: 26px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  place-items: center;
  background: var(--mint);
  content: "✓";
  font-size: 0.8rem;
}

.team-section {
  background: var(--white);
}

.team-heading {
  display: grid;
  margin-bottom: 52px;
  grid-template-columns: 1fr minmax(280px, 0.65fr);
  gap: 70px;
  align-items: end;
}

.team-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.team-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  display: grid;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.2fr);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
}

.team-photo {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: var(--pink);
}

.team-photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(16, 16, 16, 0.72);
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
}

.team-card:nth-child(even) .team-photo {
  background: var(--mint);
}

.team-photo img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-copy {
  display: flex;
  padding: clamp(28px, 4vw, 46px);
  flex-direction: column;
  justify-content: center;
}

.team-role {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.team-copy > p:last-child {
  margin: 0;
  color: var(--muted);
}

.partners-section {
  background: var(--pink);
}

.partners-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.partners-heading h2 {
  margin-bottom: 16px;
}

.partners-heading > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.partners-carousel {
  position: relative;
  margin-inline: calc((100vw - min(1180px, calc(100vw - 40px))) / -2);
  overflow: hidden;
}

.partners-carousel::before,
.partners-carousel::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: clamp(30px, 7vw, 110px);
  content: "";
  pointer-events: none;
}

.partners-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--pink), transparent);
}

.partners-carousel::after {
  right: 0;
  background: linear-gradient(-90deg, var(--pink), transparent);
}

.partners-viewport {
  display: flex;
  min-height: 220px;
  overflow-x: auto;
  padding: 34px 0 48px;
  align-items: center;
  cursor: grab;
  scrollbar-width: none;
  touch-action: pan-y;
  user-select: none;
}

.partners-viewport::-webkit-scrollbar {
  display: none;
}

.partners-viewport:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 5px;
}

.partners-viewport.is-dragging {
  cursor: grabbing;
}

.partners-track {
  display: flex;
  width: max-content;
  align-items: center;
}

.partners-group {
  display: flex;
  padding-right: 14px;
  gap: 14px;
}

.partner-card {
  display: flex;
  width: clamp(170px, 17vw, 230px);
  height: 132px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none;
  transition: box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.partner-card:hover,
.partner-card:focus-visible {
  outline: none;
  background: var(--mint);
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(3px, 3px);
}

.partner-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.faq-section {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(50px, 9vw, 120px);
}

.faq-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-intro h2 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}

.faq-intro > p:last-child {
  max-width: 400px;
  color: var(--muted);
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-list details {
  border-bottom: 2px solid var(--ink);
}

.faq-list summary {
  position: relative;
  padding: 28px 56px 28px 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "+";
  line-height: 28px;
  text-align: center;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--mint);
}

.faq-list details p {
  max-width: 670px;
  margin: -4px 56px 26px 0;
  color: var(--muted);
}

.contact-section {
  color: var(--white);
  background: var(--ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(50px, 9vw, 120px);
}

.contact-copy h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-mail {
  display: inline-block;
  margin-top: 24px;
  color: var(--pink);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  text-underline-offset: 6px;
}

.contact-form {
  padding: clamp(28px, 5vw, 50px);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 15px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: var(--white);
  transition: box-shadow 150ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 4px rgba(84, 176, 135, 0.28);
}

.form-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer {
  padding: 64px 0 26px;
  color: var(--white);
  background: #050505;
}

.footer-main {
  display: grid;
  padding-bottom: 54px;
  grid-template-columns: 0.7fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-main > p {
  max-width: 350px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact a,
.footer-bottom a {
  text-decoration-color: var(--mint);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 980px) {
  .section {
    padding: 85px 0;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: grid;
    padding: 22px 20px 30px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
    transform: translateY(-140%);
    transition: transform 230ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 8px 0;
    font-size: 1.05rem;
  }

  .nav-cta {
    padding: 12px 18px !important;
    text-align: center;
  }

  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
    gap: 42px 0;
  }

  .process-list li:nth-child(2) {
    border-right: 2px solid var(--ink);
  }

  .project-visual,
  .project-copy {
    min-height: 410px;
  }

  .showcase-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-card,
  .showcase-card-games,
  .showcase-card-talks {
    min-height: 330px;
  }

  .audience-box,
  .team-heading,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(1180px, calc(100% - 28px));
    --radius: 18px;
  }

  .section {
    padding: 72px 0;
  }

  .nav-shell {
    min-height: 68px;
  }

  .main-nav {
    inset: 68px 0 auto;
  }

  .hero {
    min-height: calc(100svh - 68px);
    padding: 54px 14px 64px;
  }

  .hero-logo {
    width: 168px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.3rem);
  }

  .hero h1 span {
    text-shadow: 2px 2px 0 var(--ink);
  }

  .hero-actions {
    flex-direction: column;
    gap: 18px;
  }

  .button {
    width: 100%;
  }

  .split-intro,
  .section-heading {
    display: block;
  }

  .intro-copy {
    margin-top: 36px;
  }

  .section-heading > p:last-child {
    margin-top: 24px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: auto;
    padding: 28px;
  }

  .offer-card p {
    padding-right: 38px;
  }

  .process-list {
    display: block;
    margin-top: 42px;
  }

  .process-list li,
  .process-list li:nth-child(2),
  .process-list li:last-child {
    display: grid;
    padding: 24px 0;
    border: 0;
    border-bottom: 2px solid var(--ink);
    grid-template-columns: 54px 1fr;
    gap: 18px;
  }

  .process-list li > span {
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .project-slide {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 290px;
  }

  .project-copy {
    min-height: 360px;
    padding: 34px 26px 40px;
  }

  .swipe-hint {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .showcase-heading {
    display: block;
  }

  .showcase-heading > p {
    margin-top: 22px;
  }

  .team-heading {
    display: block;
  }

  .team-heading > p {
    margin-top: 22px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-photo {
    min-height: 360px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card,
  .showcase-card-games,
  .showcase-card-talks {
    min-height: 300px;
  }

  .showcase-detail {
    padding: 20px;
  }

  .showcase-detail .project-visual {
    min-height: 250px;
  }

  .showcase-detail .project-copy {
    min-height: 320px;
  }

  .partners-carousel {
    margin-inline: -14px;
  }

  .partner-card {
    width: 165px;
    height: 112px;
    padding: 16px;
  }

  .audience-box {
    padding: 32px 24px;
    gap: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-main {
    display: block;
  }

  .footer-main > p {
    margin: 18px 0 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
