* {
  box-sizing: border-box;
}

:root {
  --blue-950: #03142b;
  --blue-900: #061c3d;
  --blue-800: #0a2d5c;
  --blue-700: #0f3d78;
  --gold: #d9a04a;
  --gold-light: #f4d18a;
  --paper: #fbf8f1;
  --text: #10213f;
  --muted: #66728a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(2, 15, 33, .18);
  --radius: 26px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f4ec 0%, #ffffff 38%, #f6f2e9 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 30;
  width: 100%;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 20, 43, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 160, 74, .25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--blue-950);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand strong {
  display: block;
  font-size: 17px;
}

.brand small {
  display: block;
  opacity: .78;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255,255,255,.84);
  font-size: 14px;
}

.nav a {
  transition: .2s;
}

.nav a:hover {
  color: var(--gold-light);
}

.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  color: var(--blue-950) !important;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: white;
}

.hero {
  min-height: 100vh;
  padding: 130px clamp(20px, 7vw, 120px) 80px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(3, 20, 43, .96), rgba(3, 20, 43, .65) 48%, rgba(3, 20, 43, .82)),
    url("assets/poster-dot-2026.png");
  background-size: cover;
  background-position: center top;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -16% -8%;
  height: 34%;
  background: var(--paper);
  border-top: 4px solid var(--gold);
  transform: rotate(-3deg);
  transform-origin: left top;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    radial-gradient(circle at 15% 18%, rgba(244,209,138,.6) 0 2px, transparent 3px),
    radial-gradient(circle at 79% 21%, rgba(244,209,138,.4) 0 2px, transparent 3px),
    linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.08) 49% 51%, transparent 52%);
  background-size: 170px 170px, 220px 220px, 90px 90px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 940px;
}

.eyebrow,
.label,
.section-heading span {
  display: inline-block;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: 13px;
}

.hero h1 {
  margin: 18px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 7.2vw, 92px);
  line-height: .98;
  max-width: 850px;
}

.hero-title {
  margin: 4px 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(54px, 9vw, 132px);
  line-height: .95;
  color: var(--gold-light);
  text-shadow: 0 16px 50px rgba(0,0,0,.45);
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 20px);
  color: rgba(255,255,255,.88);
}

.hero-cards {
  margin: 34px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  max-width: 760px;
}

.hero-card {
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(244,209,138,.38);
  border-radius: 22px;
  background: rgba(3, 20, 43, .56);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(217, 160, 74, .16);
  border: 1px solid rgba(244,209,138,.5);
}

.hero-card strong,
.hero-card small {
  display: block;
}

.hero-card small {
  margin-top: 3px;
  color: rgba(255,255,255,.68);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  color: var(--blue-950);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 18px 45px rgba(217, 160, 74, .25);
}

/* .btn.ghost {
  color: white;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
} */

.btn.ghost {
  color: #061c3d;
  border-color: #d9a04a;
  background: linear-gradient(135deg, #f4d18a, #d9a04a);
  box-shadow: 0 18px 45px rgba(217, 160, 74, .22);
}

.btn.ghost:hover {
  color: #061c3d;
  background: linear-gradient(135deg, #ffe2a1, #d9a04a);
}

.section {
  padding: 86px clamp(18px, 6vw, 110px);
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2,
.text-block h2,
.contact-card h2 {
  margin: 10px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  color: var(--blue-950);
}

.section-heading p,
.text-block p {
  max-width: 880px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.partners {
  position: relative;
  z-index: 4;
  background: var(--paper);
}

.organizers {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 34px;
}

.organizers article {
  padding: 28px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(217,160,74,.22);
}

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

.organizers h3 {
  margin: 16px 0 0;
  font-size: 18px;
}

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

.partner-list span {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(217,160,74,.2);
  font-size: 14px;
  color: #21304c;
}

.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.feature-grid,
.publication-grid,
.nomination-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid article,
.publication-grid article,
.nomination-grid span {
  padding: 24px;
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217,160,74,.2);
}

.feature-grid span {
  color: var(--gold);
  font-weight: 900;
}

.feature-grid h3,
.publication-grid h3 {
  margin: 10px 0 8px;
  color: var(--blue-900);
}

.sections,
.timeline-section,
.contest {
  background: linear-gradient(180deg, #ffffff, #f7f1e5);
}

.section-table {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(217,160,74,.45);
  box-shadow: var(--shadow);
  background: white;
}

.section-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid rgba(217,160,74,.22);
}

.section-table div:last-child {
  border-bottom: 0;
}

.section-table strong {
  padding: 20px;
  color: var(--gold-light);
  background: var(--blue-900);
  text-transform: uppercase;
}

.section-table span {
  padding: 20px 24px;
  font-size: 18px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline article {
  padding: 26px;
  border-radius: 22px;
  color: white;
  background: linear-gradient(160deg, var(--blue-950), var(--blue-700));
  box-shadow: var(--shadow);
  border: 1px solid rgba(244,209,138,.3);
}

.timeline time {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: 20px;
  font-weight: 900;
}

.publication-grid {
  grid-template-columns: repeat(4, 1fr);
}

.notice {
  margin-top: 22px;
  padding: 22px 26px;
  border-radius: 20px;
  color: white;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
  border-left: 6px solid var(--gold);
}

.contest {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

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

.nomination-grid span {
  font-weight: 700;
}

.contacts {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.contact-card {
  max-width: 1100px;
  margin: auto;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 34px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: white;
  background:
    radial-gradient(circle at 18% 10%, rgba(217,160,74,.22), transparent 34%),
    rgba(255,255,255,.08);
  border: 1px solid rgba(244,209,138,.3);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  color: white;
}

.contact-card p {
  color: rgba(255,255,255,.75);
  font-size: 18px;
}

.contact-links {
  display: grid;
  gap: 14px;
  align-content: center;
  min-width: min(100%, 360px);
}

.contact-links a {
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(244,209,138,.28);
  color: var(--gold-light);
  font-weight: 800;
}

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

.app-form {
  max-width: 980px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 32px;
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217,160,74,.25);
}

.app-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.app-form .wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #d9deea;
  border-radius: 14px;
  font: inherit;
  outline: none;
  background: #fbfcff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(217,160,74,.14);
}

.footer {
  padding: 28px clamp(18px, 6vw, 110px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,.8);
  background: var(--blue-950);
}

.footer a {
  color: var(--gold-light);
  font-weight: 800;
}

/* placeholder SVG images generated below */
@media (max-width: 1020px) {
  .nav {
    position: fixed;
    inset: 74px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 22px;
    background: rgba(3,20,43,.96);
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .about,
  .contest,
  .contact-card {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .feature-grid,
  .publication-grid,
  .timeline,
  .partner-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-cards,
  .organizers,
  .feature-grid,
  .publication-grid,
  .timeline,
  .partner-list,
  .nomination-grid,
  .app-form {
    grid-template-columns: 1fr;
  }

  .section-table div {
    grid-template-columns: 1fr;
  }

  .section-table strong,
  .section-table span {
    padding: 16px;
  }

  .app-form {
    padding: 20px;
  }

  .footer {
    flex-direction: column;
  }
}


.template-downloads {
  max-width: 980px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.template-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217,160,74,.32);
  transition: transform .2s ease, border-color .2s ease;
}

.template-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.template-card strong,
.template-card small {
  display: block;
}

.template-card small {
  margin-top: 4px;
  color: var(--muted);
}

.template-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
  font-size: 25px;
  flex: 0 0 auto;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.consent {
  grid-template-columns: 22px 1fr !important;
  align-items: start;
  font-weight: 500 !important;
  color: var(--muted);
}

.consent input {
  min-height: auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

@media (max-width: 720px) {
  .template-downloads {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 96px;
    padding-bottom: 46px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 0.96;
  }

  .hero-title {
    font-size: 62px;
    line-height: 0.95;
  }

  .hero-subtitle {
    font-size: 17px;
    line-height: 1.35;
  }

  .hero-cards {
    margin: 24px 0;
    gap: 14px;
  }

  .hero-card {
    padding: 16px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn {
    min-height: 50px;
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 28px 0 40px;
    }

    .hero-content,
    .hero-inner,
    .hero .container {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .hero h1 {
        font-size: 52px;
        line-height: 0.95;
        margin-bottom: 14px;
    }

    .hero h2,
    .hero-title-top,
    .hero-subtitle {
        font-size: 18px;
        line-height: 1.25;
    }

    .hero-lead,
    .hero-text,
    .hero-tags {
        font-size: 15px;
        line-height: 1.4;
    }

    .hero-cards,
    .hero-info {
        gap: 14px;
        margin-top: 18px;
    }

    .hero-card {
        padding: 16px 18px;
    }

    .hero-actions,
    .hero-buttons {
        margin-top: 20px;
        gap: 12px;
    }

    .hero-actions a,
    .hero-buttons a {
        padding: 14px 22px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 22px 0 34px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero h2,
    .hero-title-top,
    .hero-subtitle {
        font-size: 16px;
    }

    .hero-card {
        padding: 14px 16px;
    }

    .hero-actions a,
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
}

.form-message {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  font-weight: 700;
  display: none;
}

.form-message.loading,
.form-message.success,
.form-message.error {
  display: block;
}

.form-message.loading {
  color: #061c3d;
  background: #fff3cd;
  border: 1px solid #d9a04a;
}

.form-message.success {
  color: #0f5132;
  background: #d1e7dd;
  border: 1px solid #badbcc;
}

.form-message.error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
}