/* Main definitions */
:root {
  --red: #da002f;
  --red-dark: #8E001E;
  --ink: #101014;
  --ink-soft: #30303a;
  --paper: #ffffff;
  --mist: #f4f5f7;
  --line: #dedfe5;
  --cyan: #58d6e8;
  --violet: #875cff;
  --max: 1180px;
  --radius: 10px;
  --smal-radius: 3px;
  --shadow: 0 24px 60px rgba(16, 16, 20, .12);
}

/* ---------- Base / reset ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(3.15rem, 8vw, 7.2rem);
}

h2 {
  font-size: clamp(2.15rem, 5vw, 4.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

/* Keyboard accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Shared layout / utilities ---------- */
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 750;
  letter-spacing: -.025em;
}

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

.section-muted {
  background: var(--mist);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head p {
  max-width: 650px;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.07rem, 1.8vw, 1.35rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 9999;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Header / navigation ---------- */
.header-wrap {
  width: min(1480px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(222, 223, 229, .8);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-group {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.recendt-brand,
.institution-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.host-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.institution-logo img {
  display: block;
  width: auto;
  object-fit: contain;
}

.recendt-logo {
  height: 55px;
  max-width: 170px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.nav-links a {
  color: #373740;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-cta {
  padding: 11px 16px;
  border-radius: var(--smal-radius);
  color: #fff !important;
  background: var(--ink);
}

/* ---------- Buttons ---------- */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid transparent;
  /* border-radius: 999px; */
  border-radius: var(--smal-radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--red);
}

.button-primary:hover {
  background: #A60000;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(20px);
}

.button-light {
  color: var(--ink);
  background: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 790px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 75% 25%, rgba(135, 92, 255, .35), transparent 31%),
    radial-gradient(circle at 28% 83%, rgba(88, 214, 232, .18), transparent 35%),
    #08080b;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  gap: 56px;
  align-items: center;
  padding: 110px 0 150px;
}

.hero .eyebrow {
  color: var(--red);
}

.hero h1 span {
  display: block;
  margin-top: 18px;
  color: #c8c8d2;
  font-size: .38em;
  letter-spacing: -.025em;
}

.hero-copy > p {
  max-width: 780px;
  margin-top: 28px;
  color: #c6c6ce;
}

.hero-location {
  margin-top: 28px;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero-location + .lead {
  margin-top: 10px;
}

.hero-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
}

.hero-card-top {
  padding: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.hero-card-top strong {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
}

.hero-card-top span {
  color: #c8c8cf;
}

.facts {
  display: grid;
}

.fact {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.fact:last-child {
  border-bottom: 0;
}

.fact-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  justify-self: center;
  color: #fff;
}

.fact-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.fact small {
  display: block;
  color: #a9a9b2;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

/* ---------- Previous editions / introduction ---------- */
.previous-year {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 48px;
  align-items: center;
}

.previous-copy {
  display: grid;
  gap: 24px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.metric {
  min-height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.metric strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: -.035em;
}

.metric strong small {
  color: #666671;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.metric span {
  max-width: 25ch;
  color: #6a6a74;
  font-size: .92rem;
  line-height: 1.55;
}

.qsl-history {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.qsl-history-label {
  display: block;
  margin-bottom: 12px;
  color: #777780;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.qsl-history-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.qsl-history-links a {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.qsl-history-links strong {
  color: var(--red);
  font-size: .88rem;
}

.qsl-history-links span {
  color: #55555f;
  font-size: .82rem;
}

.qsl-history-links a:hover span {
  color: var(--ink);
}

.qsl-media-link {
  display: inline-block;
  margin-top: 14px;
  color: #777780;
  font-size: .78rem;
  text-decoration: none;
}

.qsl-media-link:hover {
  color: var(--red);
}

/* ---------- Vision ---------- */
.vision {
  background: var(--mist);
}

.vision .section-head {
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: start;
  margin-bottom: 52px;
}

.vision-title {
  display: grid;
  gap: 14px;
}

.vision-title h2 {
  max-width: 10ch;
  text-wrap: balance;
}

.vision .section-head .lead {
  max-width: 650px;
  margin: 0;
  line-height: 1.58;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.vision-card {
  min-height: 330px;
  display: grid;
  grid-template-rows: 54px 72px 1fr;
  gap: 14px;
  align-content: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.vision-card .num {
  display: block;
  margin: 0;
  color: var(--red);
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}

.vision-card h3 {
  margin: 0;
  align-self: start;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.vision-card p {
  margin: 0;
  color: #595963;
  line-height: 1.55;
}

/* ---------- Scope ---------- */
.scope-grid {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
  grid-template-areas:
    "title empty"
    "topics copy";
  column-gap: clamp(52px, 7vw, 84px);
  row-gap: 34px;
  align-items: start;
}

.scope-title {
  grid-area: title;
}

.scope-title h2 {
  margin-top: 10px;
  text-wrap: balance;
}

.topic-list {
  grid-area: topics;
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  border-top: 1px solid var(--line);
}

.topic-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.35;
}


.topic-list span::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
}

.scope-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 0px;
  color: #3f3f48;
  font-size: 1.04rem;
  line-height: 1.58;
}

.scope-copy p {
  margin: 0;
}

/* ---------- Programme / agenda ---------- */
.agenda {
  color: #fff;
  background: #0d0d12;
}

.agenda .lead {
  color: #bdbdc7;
}

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

.day-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
}

.day-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.day-title strong {
  font-size: 1.7rem;
}

.day-title span {
  color: #b8b8c1;
}

.agenda-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.agenda-item:last-child {
  border-bottom: 0;
}

.agenda-item p {
  margin-top: 4px;
  color: #b8b8c1;
}

.dot {
  width: 10px;
  height: 10px;
  margin-top: .47rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(229, 0, 70, .14);
}

.preliminary {
  margin-top: 20px;
  color: #9b9ba4;
  font-size: .88rem;
}

/* ---------- Contribution / participation ---------- */
.participate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.participate-card {
  position: relative;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.participate-card.industry {
  color: #fff;
  background: var(--red);
}

.participate-card.science {
  background: #f2f0ff;
}

.participate-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  z-index: 0;
  width: 260px;
  height: 260px;
  border: 40px solid currentColor;
  border-radius: 50%;
  opacity: .07;
  pointer-events: none;
}

.participate-card > * {
  position: relative;
  z-index: 1;
}

.participate-card > .button {
  flex-shrink: 0;
}

.participate-card h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.participate-card p {
  max-width: 560px;
  margin-top: 18px;
}

.mini-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.mini-list div {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
}

.mini-list b {
  font-weight: 900;
}

.participation-note {
  display: grid;
  gap: 5px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.34);
}

.participation-note strong {
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.participation-note span {
  font-size: .9rem;
  line-height: 1.5;
}

.science .participation-note {
  border-color: rgba(16, 16, 20, .12);
  background: rgba(255, 255, 255, .65);
}

.science .participation-note strong {
  color: var(--red);
}

/* ---------- Venue ---------- */
.venue {
  background: var(--mist);
}

.venue-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr);
  gap: 28px;
  align-items: stretch;
}

.map-card,
.venue-info {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 45px rgba(16, 16, 20, .06);
}

.venue-info {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
}

.address {
  margin: 20px 0 10px;
  font-size: 1.28rem;
  font-weight: 800;
}

.venue-meta {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.venue-meta > div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

/* Google Maps consent gate */
.map-card.map-consent {
  width: 100%;
  min-width: 0;
  min-height: 560px;
  display: grid;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eeeeef;
}

.map-card.map-consent .map-placeholder {
  width: 100%;
  min-height: 560px;
  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 40px;
  text-align: center;
}

.map-placeholder-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  color: var(--red);
}

.map-placeholder-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.map-placeholder strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

.map-placeholder p {
  max-width: 390px;
  margin: 0 0 20px;
  color: #686871;
  font-size: .86rem;
  line-height: 1.55;
}

.map-consent-button {
  appearance: none;
  padding: 10px 18px;
  border: 1px solid #c8c8ce;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.map-consent-button:hover {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.map-card.map-consent iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 100%;
  border: 0;
}

/* Venue photographs */
.photo-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 28px;
}

.photo-collage figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: #ddd;
}

.photo-collage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-collage figure:first-child img {
  object-position: center 40%;
}

.photo-collage figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 16px 13px;
  color: #fff;
  font-size: .74rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .76));
}

/* ---------- Sponsors / partner organisations ---------- */
.partners-head {
  align-items: end;
}

.partners-head h2 {
  max-width: 12ch;
  text-wrap: balance;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.partner-card {
  min-width: 0;
  min-height: 175px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.partner-card:hover {
  transform: translateY(-3px);
  border-color: #c8c9d0;
  box-shadow: 0 18px 42px rgba(16, 16, 20, .08);
}

.partner-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 230px);
  max-height: 112px;
  object-fit: contain;
  object-position: center;
}

/* ---------- Committee ---------- */
.committee-head > div {
  grid-column: 1 / -1;
}

.committee-head h2 {
  max-width: none;
  text-wrap: balance;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 6vw, 72px);
}

.committee-column {
  min-width: 0;
}

.committee-column + .committee-column {
  padding-left: clamp(30px, 4vw, 54px);
  border-left: 1px solid var(--line);
}

.committee-column h3 {
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.committee-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.committee-list li {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 17px 2px 17px 18px;
  border-bottom: 1px solid var(--line);
}

.committee-list li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.committee-list strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.3;
}

.committee-list span {
  display: block;
  margin-top: 2px;
  color: #666671;
  font-size: .88rem;
  line-height: 1.45;
}

.committee-list a {
  width: fit-content;
  color: var(--red);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.committee-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Closing CTA ---------- */
.closing {
  padding: 90px 0;
  color: #fff;
  background: #707173;
}

.closing-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.closing p {
  max-width: 710px;
  margin-top: 14px;
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 42px 0;
  color: #b7b7c0;
  background: #09090c;
  font-size: .86rem;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.footer-organizers {
  display: grid;
  gap: 12px;
}

.footer-label {
  color: #85858f;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s ease;
}

.footer-logo-link:hover {
  opacity: .78;
}

.footer-recendt {
  gap: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.footer-recendt img {
  width: auto;
  height: 34px;
  object-fit: contain;
}

.footer-recendt span {
  color: #fff;
  font-size: .96rem;
}

.footer-jku img {
  width: auto;
  height: 30px;
  max-width: 145px;
  object-fit: contain;
}

.footer-divider {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, .18);
}

.footer-event {
  display: grid;
  gap: 3px;
  text-align: right;
}

.footer-event strong {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.footer-event span {
  color: #9f9fa8;
  line-height: 1.45;
}

/* ---------- Back-to-top control ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--smal-radius);
  color: #fff;
  background: #111217;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .18);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--red);
}

.back-to-top span {
  font-size: 1rem;
  line-height: 1;
}

/* =========================================================
   Responsive layout
   ========================================================= */

/* ---------- Large / medium screens ---------- */
@media (max-width: 1180px) {
  .header-wrap {
    width: calc(100% - 28px);
  }

  .brand-group {
    gap: 15px;
  }

  .host-logos {
    gap: 11px;
  }

  .recendt-logo {
    height: 32px;
    max-width: 145px;
  }

  .nav-links {
    gap: 18px;
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-grid,
  .previous-year,
  .section-head,
  .venue-grid,
  .committee-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 90px;
  }

  .hero-card {
    max-width: 620px;
  }

  .vision .section-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .vision-title h2,
  .vision .section-head .lead {
    max-width: none;
  }

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

  /* Scope becomes one main column; topics remain two columns on tablet. */
  .scope-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "topics"
      "copy";
    row-gap: 28px;
  }

  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

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

  .partners-head h2 {
    max-width: none;
  }

  .committee-column + .committee-column {
    padding-left: 0;
    border-left: 0;
  }

  .venue-info {
    min-height: auto;
  }

  .map-card.map-consent,
  .map-card.map-consent .map-placeholder {
    min-height: 480px;
  }

  .map-card.map-consent iframe {
    height: 480px;
    min-height: 480px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 36px));
  }

  .section {
    padding: 76px 0;
  }

  .nav {
    min-height: 66px;
  }

  .brand-group {
    gap: 11px;
  }

  .hero-grid {
    gap: 36px;
    padding: 72px 0 125px;
  }

  .section-head,
  .vision .section-head,
  .vision-head,
  .committee-head,
  .partners-head {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .section-head h2,
  .vision-title h2 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 3rem);
    text-wrap: balance;
  }

  .section-head .lead,
  .vision .section-head .lead {
    max-width: none;
    margin: 0;
  }

  .vision-title {
    gap: 10px;
  }

  .vision-grid,
  .agenda-days,
  .participate-grid,
  .photo-collage {
    grid-template-columns: 1fr;
  }

  .vision-card {
    min-height: auto;
    grid-template-rows: auto auto auto;
  }

  .participate-card {
    min-height: auto;
    padding: 30px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  /* Single-column topic list on phones. */
  .topic-list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .venue-info {
    padding: 28px;
  }

  .photo-collage figure {
    aspect-ratio: 4 / 3;
  }

  .map-card.map-consent,
  .map-card.map-consent .map-placeholder {
    min-height: 390px;
  }

  .map-card.map-consent .map-placeholder {
    padding: 28px;
  }

  .map-card.map-consent iframe {
    height: 390px;
    min-height: 390px;
  }

  .committee-grid {
    gap: 44px;
  }

  .closing-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer {
    padding: 36px 0;
  }

  .footer-event {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    text-align: left;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    padding: 10px 13px;
    font-size: .74rem;
  }
}

/* ---------- Small mobile ---------- */
@media (max-width: 560px) {
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .partner-card {
    min-height: 135px;
    padding: 24px;
  }

  .partner-card img {
    max-width: min(100%, 210px);
    max-height: 70px;
  }

  .recendt-logo {
    max-width: 110px;
  }

  .qsl-history-links {
    grid-template-columns: 1fr;
  }
}

/* ---------- Very small mobile ---------- */
@media (max-width: 430px) {
  .footer-logo-row {
    gap: 14px;
  }

  .footer-recendt img {
    height: 29px;
  }

  .footer-recendt span {
    font-size: .86rem;
  }

  .footer-jku img {
    height: 26px;
    max-width: 115px;
  }

  .footer-divider {
    height: 29px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Participation card actions */
.submission-deadline {
  margin-top: 18px;
}

.submission-deadline strong {
  color: var(--red);
}

.participate-actions {
  display: grid;
  gap: 16px;
}

.submission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-card-secondary {
  border: 1px solid rgba(16, 16, 20, .18);
  background: rgba(255, 255, 255, .58);
  color: var(--ink);
}

.button-card-secondary:hover {
  border-color: var(--red);
  background: white;
  color: var(--red);
}

.submission-actions,
.attendee-registration {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.submission-actions .button {
  width: 100%;
}

.attendee-registration {
  padding-top: 16px;
  border-top: 1px solid rgba(16, 16, 20, .12);
}

.attendee-registration > span {
  color: #666671;
  font-size: .82rem;
  line-height: 1.4;
}

.attendee-registration .button {
  width: 100%;
}

@media (max-width: 620px) {

  .submission-actions,
  .attendee-registration {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .submission-actions .button,
  .attendee-registration .button {
    width: 100%;
    min-height: 52px;

    justify-content: space-between;
  }

  .attendee-registration {
    padding-top: 16px;
  }

  .attendee-registration > span {
    margin-bottom: 2px;
  }
}

.footer-legal {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;

  color: #777781;
  font-size: .74rem;
  line-height: 1.4;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .footer-legal {
    justify-content: flex-start;
  }
}

/* Hero animation attempt*/
/* .hero {
  position: relative;
  min-height: 790px;

  display: grid;
  align-items: center;

  overflow: hidden;
  color: #fff;

  background:
    radial-gradient(
      circle at 75% 25%,
      rgba(135, 92, 255, .42) 0,
      rgba(135, 92, 255, .24) 14%,
      transparent 34%
    ),
    radial-gradient(
      circle at 69% 31%,
      rgba(218, 0, 47, .12) 0,
      transparent 23%
    ),
    radial-gradient(
      circle at 28% 83%,
      rgba(88, 214, 232, .23) 0,
      transparent 36%
    ),
    #08080b;
}  */

/* ---------- 404 page ---------- */

.error-page {
  min-height: 100vh;
  display: grid;
  align-items: center;

  color: #fff;

  background:
    radial-gradient(
      circle at 75% 25%,
      rgba(135, 92, 255, .42) 0,
      rgba(135, 92, 255, .24) 14%,
      transparent 34%
    ),
    radial-gradient(
      circle at 69% 31%,
      rgba(218, 0, 47, .12) 0,
      transparent 23%
    ),
    radial-gradient(
      circle at 28% 83%,
      rgba(88, 214, 232, .23) 0,
      transparent 36%
    ),
    #08080b;
}

.error-page-inner {
  padding-block: 80px;
}

.error-page h1 {
  margin-top: 20px;
  font-size: clamp(6rem, 18vw, 13rem);
  line-height: .8;
  color: #fff;
}

.error-page h2 {
  margin-top: 28px;
  font-size: clamp(2rem, 5vw, 4rem);
}

.error-page p {
  max-width: 560px;
  margin-top: 18px;
  color: #c6c6ce;
  font-size: 1.1rem;
}

.accessibility-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);

  color: #666671;
  font-size: .9rem;
  line-height: 1.5;
}

.accessibility-note a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.accessibility-note a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Speckles oh yeah */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    url("assets/hero-speint.webp") center center / cover no-repeat;

  opacity: 0.12;
  mix-blend-mode: screen;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

.footer-privacy-note {
  margin-top: 6px;
  color: #777781;
  font-size: .72rem;
  line-height: 1.4;
}

.qsl-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
}

.qsl-slider-track {
  position: relative;
  aspect-ratio: 16 / 10;
}

.qsl-slide {
  position: absolute;
  inset: 0;
  margin: 0;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity .45s ease,
    visibility .45s ease;
}

.qsl-slide.active {
  opacity: 1;
  visibility: visible;
}

.qsl-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qsl-slider-button {
  position: absolute;
  top: 50%;
  z-index: 2;

  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;

  color: #fff;
  background: rgba(8,8,11,.2);

  font: inherit;
  font-size: 1.8rem;
  line-height: 1;

  cursor: pointer;

  transform: translateY(-50%);
  backdrop-filter: blur(1px);

  transition:
    background .2s ease,
    border-color .2s ease;
}

.qsl-slider-button svg {
  display: block;
}

.qsl-slider-button:hover {
  background: var(--red);
  border-color: var(--red);
}

.qsl-slider-button.prev {
  left: 16px;
}

.qsl-slider-button.next {
  right: 16px;
}

.qsl-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;

  display: flex;
  gap: 7px;

  transform: translateX(-50%);
}

.qsl-slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;

  border: 0;
  border-radius: 50%;

  background: rgba(255,255,255,.45);

  cursor: pointer;
}

.qsl-slider-dots button.active {
  background: #fff;
}

