:root {
  --white: #f8f5ef;
  --paper: #fffdf9;
  --graphite: #302e2b;
  --graphite-soft: #55514b;
  --gold: #b8944f;
  --gold-light: #dcc898;
  --line: rgba(48, 46, 43, 0.14);
  --shadow: 0 24px 70px rgba(48, 46, 43, 0.11);
  --radius: 26px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--graphite);
  background: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-is-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid transparent;
  background: rgba(248, 245, 239, 0.88);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(48, 46, 43, 0.06);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  padding: 9px 16px 10px;
  border-radius: 9px;
  color: #fff;
  background: var(--graphite);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.brand-cat {
  font-size: 1.3rem;
}

.brand-x {
  color: var(--gold-light);
  font-size: 1.42rem;
}

.brand-show {
  margin-left: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 27px);
}

.desktop-nav a,
.mobile-menu a {
  position: relative;
  color: var(--graphite);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--gold);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}

.language-switcher {
  display: flex;
  gap: 5px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.language-switcher a {
  min-width: 32px;
  padding: 7px 6px;
  border-radius: 999px;
  color: var(--graphite-soft);
  text-align: center;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 800;
}

.language-switcher a.is-current {
  color: #fff;
  background: var(--graphite);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--graphite);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

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

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  min-height: 760px;
  padding: 128px 0 72px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: stretch;
  gap: clamp(36px, 6vw, 84px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero-logo {
  width: fit-content;
  margin-bottom: 34px;
  padding: 20px 26px 22px;
  border-radius: 14px;
  color: #fff;
  background: var(--graphite);
  font-size: clamp(2.9rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.hero-branding {
  width: min(100%, 360px);
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.hero-branding .hero-logo {
  width: 100%;
  min-width: 0;
  font-size: clamp(2.9rem, 5.5vw, 4.6rem);
  margin-bottom: 0;
  text-align: center;
  white-space: nowrap;
}

.hero-sponsor {
  display: grid;
  min-width: 0;
  gap: 12px;
  color: var(--graphite);
  text-decoration: none;
  text-align: center;
}

.hero-sponsor-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Frame the supplied square artwork without its large blank margins. */
.proplan-mark {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.proplan-mark img,
.partner-logos .proplan-mark img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}

.hero-logo .logo-x {
  color: var(--gold-light);
}

.hero-logo .logo-show {
  margin-left: 0.13em;
  font-size: 0.35em;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.2rem, 6.8vw, 6.25rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 34px;
  color: var(--graphite-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-meta span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 25px;
  border: 1px solid var(--graphite);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-dark {
  color: #fff;
  background: var(--graphite);
  box-shadow: 0 14px 30px rgba(48, 46, 43, 0.18);
}

.button-gold {
  border-color: var(--gold);
  color: var(--graphite);
  background: var(--gold-light);
}

.button-ghost {
  background: transparent;
}

.arrow {
  font-size: 1.1rem;
  line-height: 1;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  border-radius: 180px 180px 28px 28px;
  background: var(--graphite) url("./assets/hero-full-bg.png") 69% center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(220, 200, 152, 0.65);
  border-radius: 168px 168px 20px 20px;
  pointer-events: none;
}

.hero-date-card {
  position: absolute;
  left: -35px;
  bottom: 44px;
  width: 205px;
  padding: 24px;
  border: 1px solid rgba(184, 148, 79, 0.4);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.hero-date-card strong {
  display: block;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.4rem;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.8;
}

.hero-date-card span {
  display: block;
  margin-top: 11px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admission-tag {
  position: absolute;
  top: 78px;
  right: -22px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--graphite);
  background: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(4deg);
}

.section {
  padding: 112px 0;
}

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

.section-graphite {
  color: #fff;
  background: var(--graphite);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 54px;
}

.section-heading h2,
.editorial-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--graphite-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.section-graphite .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(48px, 8vw, 108px);
  align-items: start;
}

.editorial-title span {
  color: var(--gold);
  font-style: italic;
}

.intro-copy > p {
  margin: 0 0 38px;
  color: var(--graphite-soft);
  font-size: 1.03rem;
  line-height: 1.85;
}

.fact-list {
  border-top: 1px solid var(--line);
}

.fact {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 25px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.fact strong {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.1rem;
  font-weight: 600;
}

.fact span {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

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

.feature-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.feature-card h3 {
  margin: auto 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
}

.feature-card p {
  margin: 0;
  color: var(--graphite-soft);
  font-size: 0.83rem;
  line-height: 1.65;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.day-card {
  position: relative;
  min-height: 380px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
}

.day-card::after {
  content: attr(data-day);
  position: absolute;
  right: -10px;
  bottom: -42px;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15rem;
  font-weight: 600;
  line-height: 1;
}

.day-date {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.day-card h3 {
  margin: 24px 0 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.75rem;
  font-weight: 500;
}

.day-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.day-card li {
  display: flex;
  gap: 11px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.5;
}

.day-card li::before {
  content: "✦";
  color: var(--gold-light);
}

.program-note {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.judge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.judge-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.judge-photo {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  background: var(--white);
}

.judge-photo--tatjana {
  object-position: 50% 30%;
}

.judge-photo--elena {
  object-position: 50% 45%;
}

.judge-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.judge-country {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.judge-body h3 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.02;
}

.judge-body h3 small {
  color: var(--graphite-soft);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.4em;
  font-weight: 700;
  letter-spacing: 0;
}

.judge-body p:last-child {
  margin: 0;
  color: var(--graphite-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.exhibitor-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 55px;
  padding: clamp(38px, 6vw, 76px);
  border-radius: 34px;
  color: #fff;
  background: var(--graphite);
  overflow: hidden;
}

.exhibitor-shell::after {
  content: "x";
  position: absolute;
  right: 2%;
  bottom: -34%;
  color: rgba(184, 148, 79, 0.1);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28rem;
  font-style: italic;
  line-height: 1;
}

.exhibitor-copy,
.exhibitor-steps {
  position: relative;
  z-index: 1;
}

.exhibitor-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 0.96;
}

.exhibitor-copy > p:not(.eyebrow) {
  margin: 24px 0 32px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.75;
}

.exhibitor-steps {
  align-self: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.exhibitor-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.exhibitor-step strong {
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
}

.exhibitor-step span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  line-height: 1.6;
}

.contact-line {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  line-height: 1.7;
}

.contact-line a {
  color: #fff;
}

.visitor-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(45px, 8vw, 110px);
  align-items: center;
}

.admission-card {
  min-height: 370px;
  display: grid;
  place-items: center;
  padding: 35px;
  border: 1px solid var(--gold);
  border-radius: 50% 50% 28px 28px;
  text-align: center;
  background: var(--paper);
}

.admission-card strong {
  display: block;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.3rem, 6vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.87;
}

.admission-card span {
  display: block;
  margin-top: 22px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.visitor-copy h2 {
  margin: 0 0 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  font-weight: 500;
  line-height: 0.96;
}

.visitor-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--graphite-soft);
  line-height: 1.8;
}

.visitor-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.visitor-points span {
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(184, 148, 79, 0.07);
  font-size: 0.8rem;
  font-weight: 700;
}

.location-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 32px;
  align-items: stretch;
}

.location-copy {
  padding: 42px;
  border-radius: var(--radius);
  background: var(--paper);
}

.location-copy h2 {
  margin: 0 0 25px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.3rem;
  font-weight: 500;
  line-height: 0.95;
}

.address {
  margin: 0 0 28px;
  color: var(--graphite-soft);
  line-height: 1.75;
}

.location-details {
  display: grid;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.location-details span {
  font-size: 0.8rem;
  font-weight: 700;
}

.map-shell {
  min-height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  filter: saturate(0.55) sepia(0.12);
}

.map-shell iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
}

.partners {
  padding: 62px 0;
  border-top: 1px solid var(--line);
}

.partners-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.partners-copy p {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.partners-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 28px;
}

.partner-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: opacity 180ms ease;
}

.partner-logos a:hover {
  opacity: 1;
}

.partner-logos img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.site-footer {
  padding: 45px 0 34px;
  color: #fff;
  background: var(--graphite);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
}

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.footer-brand .brand-x {
  font-size: 1em;
}

.footer-brand small {
  margin-left: 7px;
  font-size: 0.35em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-meta {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.74rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 14px;
  }

  .desktop-nav a {
    font-size: 0.74rem;
  }

  .hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 45px;
  }

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

  .judge-card {
    grid-template-columns: 130px 1fr;
  }
}

@media (max-width: 920px) {
  .container {
    width: min(100% - 34px, var(--container));
  }

  .desktop-nav,
  .nav-shell > .language-switcher {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    inset: 78px 0 auto;
    max-height: calc(100vh - 78px);
    display: grid;
    gap: 3px;
    padding: 18px 17px 28px;
    border-top: 1px solid var(--line);
    background: rgba(248, 245, 239, 0.98);
    box-shadow: 0 20px 40px rgba(48, 46, 43, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    overflow-y: auto;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mobile-menu > a {
    padding: 13px 5px;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
  }

  .mobile-menu .language-switcher {
    display: flex;
    margin-top: 14px;
    padding: 10px 0 0;
    border: 0;
  }

  .hero {
    min-height: 0;
  }

  .hero-grid,
  .intro-grid,
  .visitor-grid,
  .location-grid,
  .exhibitor-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    min-height: 570px;
    margin-left: 35px;
  }

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

  .exhibitor-shell {
    gap: 40px;
  }

  .location-copy {
    order: 1;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 82px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

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

  .mobile-menu {
    inset-block-start: 70px;
  }

  .hero {
    padding: 104px 0 50px;
  }

  .hero-copy {
    padding: 20px 0 0;
  }

  .hero-logo {
    margin-bottom: 28px;
    padding: 17px 21px 19px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 17vw, 4.6rem);
  }

  .hero-meta {
    display: grid;
    gap: 12px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
    margin: 15px 0 0 18px;
    border-radius: 100px 100px 22px 22px;
    background-position: 67% center;
  }

  .hero-visual::before {
    border-radius: 90px 90px 15px 15px;
  }

  .hero-date-card {
    left: -18px;
    bottom: 24px;
    width: 165px;
    padding: 19px;
  }

  .hero-date-card strong {
    font-size: 2.7rem;
  }

  .admission-tag {
    top: 45px;
    right: -6px;
  }

  .section {
    padding: 80px 0;
  }

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

  .section-heading h2,
  .editorial-title {
    font-size: clamp(2.6rem, 13vw, 3.8rem);
  }

  .feature-grid,
  .program-grid,
  .visitor-points {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 235px;
  }

  .day-card {
    min-height: 350px;
    padding: 28px;
  }

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

  .judge-photo {
    min-height: 190px;
    height: 360px;
  }

  .exhibitor-shell {
    padding: 33px 24px;
    border-radius: 26px;
  }

  .admission-card {
    min-height: 330px;
  }

  .location-copy {
    padding: 30px 24px;
  }

  .map-shell,
  .map-shell iframe {
    min-height: 390px;
  }

  .partners-shell,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .partners-shell {
    display: flex;
  }

  .partner-logos {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
  }

  .partner-logos a {
    min-height: 130px;
    padding: 12px;
  }

  .partner-logos img {
    width: 100%;
    height: 110px;
  }

  .footer-grid {
    display: flex;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

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

/* Published program, audience paths and September content update. */
.schedule-day { padding: 32px; }
.schedule-day::after { pointer-events: none; }
.schedule-list { position: relative; z-index: 1; padding: 0; margin: 0; list-style: none; }
.schedule-day .schedule-item {
  display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px;
  padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16);
}
.schedule-day .schedule-item::before { content: none; }
.schedule-time { color: var(--gold-light); font-size: .83rem; font-weight: 800; white-space: nowrap; }
.schedule-item h4 { margin: 0; font-size: .97rem; line-height: 1.5; }
.schedule-item p { margin: 6px 0 0; font-size: .8rem; line-height: 1.5; color: rgba(255,255,255,.75); }
.schedule-closing { color: var(--gold-light); }
.parallel-program { position: relative; z-index: 1; margin-top: 22px; padding: 22px; background: rgba(255,255,255,.06); border-radius: 16px; }
.parallel-program h4 { margin: 0 0 14px; color: var(--gold-light); }
.parallel-program p { font-size: .85rem; line-height: 1.8; margin: 10px 0 0; color: rgba(255,255,255,.85); }
.program-social { margin-top: 24px; }
.social-icon { width: 22px; height: 22px; flex: 0 0 auto; vertical-align: middle; }
.instagram-link { display: inline-flex; gap: 8px; align-items: center; }
.judge-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.judge-card { grid-template-columns: minmax(0,1fr); grid-template-rows: 340px 1fr; }
.judge-photo { min-height: 0; height: 340px; }
.judge-photo--doris { object-position: 50% 28%; }
.judge-body { justify-content: flex-start; padding: 28px; min-width: 0; }
.judge-body h3 { overflow-wrap: anywhere; }
.judge-qualification { font-size: .85rem; line-height: 1.6; font-weight: 700; }
.audience-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 28px 0; }
.audience-links a { font-size: .86rem; font-weight: 700; text-underline-offset: 5px; }
.participant-documents { padding: 26px 30px; border: 1px solid var(--line); border-radius: 18px; }
.participant-documents h3 { margin: 0 0 12px; }
.participant-documents p { line-height: 1.75; color: var(--graphite-soft); }
.visit-rules { padding-top: 0; }
.rules-grid, .partnership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.rules-grid p, .partnership-copy p { margin-top: 0; line-height: 1.8; color: var(--graphite-soft); }
.partnership-copy ul { padding-left: 20px; line-height: 1.7; margin: 24px 0 30px; }
.partnership-copy li { padding: 7px 0; }
.partnership-copy li::marker { color: var(--gold); }
.partnership-contact { margin-top: 24px !important; font-size: .84rem; }
.faq-list { max-width: 960px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { padding: 23px 4px; font-weight: 700; cursor: pointer; line-height: 1.5; }
.faq-item summary::marker { color: var(--gold); }
.faq-answer { padding: 0 24px 24px; line-height: 1.8; color: var(--graphite-soft); }
.faq-answer p { margin-top: 0; }
.faq-answer a { font-weight: 700; color: var(--graphite); }
.footer-links { max-width: 550px; }
.mobile-actions { display: none; }
.button { text-align: center; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
@media (max-width: 920px) {
  .judge-grid { grid-template-columns: 1fr; }
  .judge-card { grid-template-columns: minmax(180px, .7fr) minmax(0,1fr); grid-template-rows: auto; }
  .judge-photo { height: 330px; }
  .rules-grid, .partnership-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  body { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
  .mobile-actions {
    display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 8px;
    position: fixed; z-index: 25; bottom: 0; left: 0; right: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); background: rgba(248,245,239,.98);
    box-shadow: 0 -6px 24px rgba(48,46,43,.09);
  }
  .mobile-actions .button { padding: 10px 12px; min-height: 58px; font-size: .68rem; letter-spacing: .015em; line-height: 1.5; }
  .menu-is-open .mobile-actions { visibility: hidden; }
  .schedule-day { padding: 24px 20px; }
  .schedule-day .schedule-item { grid-template-columns: 1fr; gap: 6px; padding: 16px; margin-top: 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; }
  .judge-card { grid-template-columns: 1fr; }
  .judge-photo { height: 380px; }
  .participant-documents { padding: 22px; }
  .faq-answer { padding-inline: 4px; }
  .section-heading h2 { overflow-wrap: anywhere; }
  .visitor-grid { grid-template-columns: minmax(0, 1fr); }
  .admission-card { padding: 26px 20px; }
  .admission-card strong { font-size: clamp(2.4rem, 12vw, 3.3rem); }
}
