/* Hellas Sat 25 Years — World Space Week 2026 microsite */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/worksans-var.woff2") format("woff2");
}

:root {
  --blue: #008fd0;
  --blue-light: #00a0dc;
  --blue-deep: #0078b8;
  --sky: #ddf2fb;
  --ink: #2b3138;
  --night: #06142b;
  --gutter: 40px;
  --container: 1240px;
  --font-head: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Work Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: #000;
  color: #fff;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.section-light :focus-visible {
  outline-color: var(--blue-deep);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}

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

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

/* On windows taller than the page, the starfield (or the programme sheet) stretches so the
   footer always sits on the bottom edge instead of leaving an empty black area below it */
main {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

.hero,
.programme-page {
  flex: 1 0 auto;
}

.hero {
  display: flex;
  align-items: center;
}

.hero {
  padding: 70px 0 84px;
  text-align: center;
  background-color: var(--night);
  background-image: linear-gradient(rgba(4, 14, 36, 0.22), rgba(4, 14, 36, 0.34)),
    url("../img/hero-desktop-1920.webp");
  background-size: cover;
  background-position: center top;
}

.hero__logo {
  width: 168px;
  margin: 0 auto 35px;
}

.hero__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  margin-bottom: 25px;
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* letter-spacing leaves a trailing gap after the last glyph; pull it back so the text is optically centred */
.hero__title-text {
  margin-right: -0.18em;
}

.hero__star {
  flex: none;
  width: 0.5em;
  height: 0.5em;
  fill: currentColor;
}

.hero__date {
  margin-bottom: 40px;
  font-family: var(--font-head);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__intro {
  max-width: 800px;
  margin: 0 auto 50px;
}

.hero__intro p + p {
  margin-top: 1.1em;
}

.hero__intro strong {
  font-weight: 700;
}

.section-title {
  font-family: var(--font-head);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__block-text {
  max-width: 660px;
  margin: 14px auto 0;
}

.programme__buttons {
  display: grid;
  grid-template-columns: repeat(4, 176px);
  justify-content: center;
  gap: 26px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 14px;
  border-radius: 2px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.btn[href]:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.btn[aria-disabled="true"] {
  background: rgba(0, 143, 208, 0.38);
  color: rgba(255, 255, 255, 0.72);
  cursor: not-allowed;
}

.programme__note {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.venue {
  margin-top: 55px;
}

.venue__map {
  max-width: 800px;
  margin: 26px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  background: var(--night);
}

.venue__map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.venue__link {
  margin-top: 16px;
  font-weight: 600;
}

.venue__link a,
.event-meta a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.venue__link a:hover,
.event-meta a:hover {
  color: var(--blue-light);
}

.connect {
  margin-top: 55px;
}

.social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social a:hover {
  color: var(--blue-light);
  transform: translateY(-2px);
}

.social svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

/* ---------- 25 Years / Auspices ---------- */

.section-light {
  padding: 68px 0 72px;
  background: var(--sky);
  color: var(--ink);
  text-align: center;
}

.section-light .section-title {
  color: var(--blue-deep);
}

.about__text {
  max-width: 740px;
  margin: 16px auto 0;
}

.auspices {
  margin-top: 54px;
}

.auspices__label {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4a5560;
}

.auspices__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px 64px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.auspices__logos img {
  width: auto;
  height: 96px;
  object-fit: contain;
}

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

.site-footer {
  padding: 12px 0;
  background: #000;
  font-size: 13px;
  text-align: center;
}

/* ---------- Entrance animation ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: reveal 0.7s ease-out both;
  }

  .reveal--2 {
    animation-delay: 0.12s;
  }

  .reveal--3 {
    animation-delay: 0.24s;
  }

  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- Large desktop ---------- */

@media (min-width: 1921px) {
  .hero {
    background-image: linear-gradient(rgba(4, 14, 36, 0.22), rgba(4, 14, 36, 0.34)),
      url("../img/hero-desktop-2560.webp");
  }
}

/* ---------- Laptop ---------- */

@media (max-width: 1279px) {
  .hero {
    background-image: linear-gradient(rgba(4, 14, 36, 0.22), rgba(4, 14, 36, 0.34)),
      url("../img/hero-desktop-1280.webp");
  }
}

@media (max-width: 1199px) {
  .hero__title {
    font-size: 40px;
    letter-spacing: 0.16em;
  }

  .hero__title-text {
    margin-right: -0.16em;
  }
}

/* ---------- Tablet ---------- */

@media (max-width: 991px) {
  :root {
    --gutter: 24px;
  }

  .hero {
    padding: 60px 0 74px;
  }

  .hero__logo {
    width: 150px;
  }

  .hero__title {
    font-size: 34px;
    letter-spacing: 0.14em;
  }

  .hero__title-text {
    margin-right: -0.14em;
  }

  .hero__date {
    font-size: 24px;
  }

  .programme__buttons {
    grid-template-columns: repeat(4, minmax(0, 168px));
    gap: 16px;
  }

  .auspices__logos {
    gap: 28px 44px;
  }

  .auspices__logos img {
    height: 84px;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 15px;
  }

  .hero {
    padding: 45px 0 58px;
    background-image: linear-gradient(rgba(4, 14, 36, 0.2), rgba(4, 14, 36, 0.32)),
      url("../img/hero-mobile-750.webp");
  }

  .hero__logo {
    width: 122px;
    margin-bottom: 30px;
  }

  .hero__title {
    gap: 0.5em;
    margin-bottom: 18px;
    font-size: clamp(21px, 6.2vw, 32px);
    letter-spacing: 0.1em;
  }

  .hero__title-text {
    margin-right: -0.1em;
  }

  .hero__date {
    margin-bottom: 30px;
    font-size: clamp(18px, 5vw, 24px);
  }

  .hero__intro {
    margin-bottom: 44px;
  }

  .section-title {
    font-size: 22px;
  }

  .programme__buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 420px;
    margin: 26px auto 0;
  }

  .btn {
    font-size: 15px;
  }

  .venue {
    margin-top: 48px;
  }

  .venue__map {
    margin-top: 22px;
  }

  .venue__map iframe {
    height: 300px;
  }

  .connect {
    margin-top: 48px;
  }

  .social {
    gap: 6px;
    margin-top: 20px;
  }

  .social svg {
    width: 24px;
    height: 24px;
  }

  .section-light {
    padding: 50px 0 54px;
  }

  .auspices {
    margin-top: 42px;
  }

  .auspices__logos {
    flex-direction: column;
    gap: 26px;
  }

  .auspices__logos img {
    height: auto;
    width: min(300px, 100%);
  }
}

@media (max-width: 767px) and (min-resolution: 1.5dppx) {
  .hero {
    background-image: linear-gradient(rgba(4, 14, 36, 0.2), rgba(4, 14, 36, 0.32)),
      url("../img/hero-mobile-1080.webp");
  }
}

/* ---------- Small mobile ---------- */

@media (max-width: 419px) {
  .hero__logo {
    width: 110px;
  }

  .hero__title {
    gap: 0.4em;
  }

  .programme__buttons {
    gap: 10px;
  }
}

/* ---------- Very small ---------- */

@media (max-width: 359px) {
  .hero__title {
    font-size: 19px;
    letter-spacing: 0.06em;
  }

  .hero__title-text {
    margin-right: -0.06em;
  }

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

/* ---------- Programme pages ---------- */

@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/commissioner-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/commissioner-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins and Work Sans have no Greek glyphs; Greek pages use Commissioner throughout */
.page-el {
  --font-head: "Commissioner", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Commissioner", "Segoe UI", Helvetica, Arial, sans-serif;
}

.hero--programme {
  flex: none;
  padding: 56px 0 60px;
}

.hero--programme .hero__logo {
  width: 132px;
  margin-bottom: 28px;
}

.hero--programme .hero__title {
  margin-bottom: 34px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 64px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.event-meta li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.event-meta svg {
  flex: none;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  fill: none;
  stroke: var(--blue-light);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.programme-page {
  padding: 64px 0 76px;
  background: #fff;
  color: #111;
}

.programme-page :focus-visible {
  outline-color: var(--blue-deep);
}

.programme-page__inner {
  max-width: 820px;
  margin-inline: auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.programme-page__title {
  margin-bottom: 34px;
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.schedule {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 20px;
  line-height: 1.45;
}

.schedule__item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  column-gap: 20px;
  padding: 26px 0;
  border-top: 1px solid #d9e6ee;
}

.schedule__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.schedule__item--host {
  grid-template-columns: minmax(0, 1fr);
}

.schedule__time {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.schedule__heading {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.schedule__people {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.schedule__people li + li {
  margin-top: 12px;
}

.schedule__people strong {
  font-weight: 700;
}

.schedule__item--minor .schedule__time {
  font-weight: 400;
}

.schedule__note {
  font-size: 21px;
  font-style: italic;
  line-height: 1.4;
}

.schedule__heading--plain {
  text-transform: none;
}

.schedule__kicker,
.schedule__moderator-label {
  color: var(--blue-deep);
}

.schedule__moderator {
  margin-top: 12px;
  font-style: italic;
}

.schedule__moderator-label {
  font-weight: 700;
}

.schedule sup {
  font-size: 0.6em;
  line-height: 0;
}

.programme-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 30px;
}

.programme-nav .back-link {
  margin: 0 auto 0 0;
}

.programme-switch {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.programme-switch a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--blue-deep);
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.programme-switch li:first-child a {
  border-radius: 2px 0 0 2px;
}

.programme-switch li + li a {
  border-left: 0;
  border-radius: 0 2px 2px 0;
}

.programme-switch a:hover {
  background: var(--sky);
}

.programme-switch a[aria-current="page"] {
  background: var(--blue-deep);
  color: #fff;
}

.section-light--auspices {
  padding: 50px 0 56px;
}

.section-light--auspices .auspices {
  margin-top: 0;
}

@media (max-width: 991px) {
  .hero--programme {
    padding: 48px 0 52px;
  }

  .programme-page__title {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  .hero--programme {
    padding: 38px 0 42px;
  }

  .hero--programme .hero__logo {
    width: 104px;
    margin-bottom: 24px;
  }

  .hero--programme .hero__title {
    margin-bottom: 26px;
  }

  .event-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    font-size: 16px;
  }

  .event-meta li {
    gap: 14px;
  }

  .event-meta svg {
    width: 28px;
    height: 28px;
  }

  .programme-page {
    padding: 40px 0 50px;
  }

  .back-link {
    margin-bottom: 24px;
  }

  /* The back link takes its own row so the day and language switches always sit side by side */
  .programme-nav {
    justify-content: space-between;
    margin-bottom: 24px;
  }

  .programme-nav .back-link {
    flex-basis: 100%;
    margin: 0;
  }

  .programme-page__title {
    margin-bottom: 26px;
    font-size: 32px;
  }

  .schedule {
    font-size: 16px;
  }

  .schedule__item {
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 14px;
    padding: 22px 0;
  }

  .schedule__item--host {
    grid-template-columns: minmax(0, 1fr);
  }

  .schedule__time,
  .schedule__heading {
    font-size: 18px;
  }

  .schedule__note {
    font-size: 17px;
  }

  .section-light--auspices {
    padding: 42px 0 46px;
  }
}

@media (max-width: 359px) {
  .schedule__item {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
  }

  .schedule__time {
    color: var(--blue-deep);
  }
}

/* ---------- Access gate ---------- */

.gate {
  justify-content: center;
}

.gate .hero__logo {
  margin-bottom: 44px;
}

.gate__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
  margin-inline: auto;
}

.gate__title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gate__input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  background: rgba(4, 14, 36, 0.55);
  color: #fff;
  font: inherit;
  font-size: 20px;
  letter-spacing: 0.3em;
  text-align: center;
}

.gate__input:focus-visible {
  outline-offset: 2px;
  border-color: #fff;
}

.gate__input[aria-invalid="true"] {
  border-color: #ff9d9d;
}

.gate__error {
  font-size: 15px;
  color: #ffc2c2;
}

.gate__submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.gate__submit:hover {
  background: var(--blue-light);
}
