:root {
  --bg: #e9e5df;
  --bg-deep: #d8cfc2;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --card-border: rgba(75, 56, 28, 0.12);
  --text: #2f2a24;
  --muted: #6d6255;
  --gold: #ba8a32;
  --gold-deep: #97691d;
  --shadow: 0 24px 60px rgba(58, 42, 22, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(186, 138, 50, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(151, 105, 29, 0.16), transparent 28%),
    linear-gradient(180deg, #f3eee7 0%, var(--bg) 48%, #ddd3c5 100%);
}

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

button,
a {
  transition: all 0.22s ease;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 36px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.brand img {
  width: 72px;
  height: auto;
}

.language-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.lang-btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  color: var(--text);
  background: rgba(186, 138, 50, 0.12);
  outline: none;
}

.lang-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 10px 24px rgba(151, 105, 29, 0.28);
}

.section-card {
  position: relative;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero {
  overflow: hidden;
  padding: 48px;
  min-height: 540px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.74) 52%, rgba(255,255,255,0.48) 100%),
    url('../img/hero.svg') center right / cover no-repeat;
}

.hero__content,
.judge__content,
.sponsors > .lang-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-deep);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.lead {
  max-width: 760px;
  margin: 0 0 28px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero__meta,
.details-grid,
.sponsor-grid {
  display: grid;
  gap: 16px;
}

.hero__meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 860px;
  margin-bottom: 28px;
}

.meta-card,
.detail-item,
.interview-list article,
.sponsor-card {
  border: 1px solid rgba(151, 105, 29, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.meta-card,
.detail-item {
  padding: 18px 20px;
}

.meta-card span,
.detail-item span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}

.meta-card strong,
.detail-item strong {
  font-size: 1rem;
  line-height: 1.45;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 12px 28px rgba(151, 105, 29, 0.28);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(151, 105, 29, 0.34);
}

.btn--ghost {
  color: var(--text);
  border: 1px solid rgba(151, 105, 29, 0.2);
  background: rgba(255, 255, 255, 0.74);
}

.info-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.info-grid > article,
.judge,
.sponsors {
  padding: 34px;
}

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

.details-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 28px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(151, 105, 29, 0.15);
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(151, 105, 29, 0.15);
}

.price-list span {
  color: var(--muted);
  line-height: 1.55;
}

.price-list strong {
  white-space: nowrap;
}

.note,
.sponsor-copy,
.site-footer p {
  margin: 18px 0 0;
  line-height: 1.7;
  color: var(--muted);
}

.judge {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  margin-top: 24px;
}

.judge__media {
  position: relative;
  min-height: 640px;
  padding: 20px 120px 20px 20px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(186, 138, 50, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.42));
}

.judge-photo {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(151, 105, 29, 0.10);
}

.judge-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.judge-photo--main {
  position: relative;
  z-index: 1;
  min-height: 600px;
  max-width: 430px;
}

.judge-photo--accent {
  position: absolute;
  right: 0;
  bottom: 32px;
  z-index: 2;
  width: 220px;
  min-height: 360px;
  transform: rotate(4deg);
}

.judge-photo--accent img {
  object-position: center center;
}

.interview-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.interview-list article {
  padding: 20px 22px;
}

.interview-list article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.sponsors {
  margin-top: 24px;
}

.sponsor-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  margin-top: 24px;
  align-items: stretch;
}

.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 24px;
  text-decoration: none;
}

.sponsor-card img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

.sponsor-card:hover,
.sponsor-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.site-footer {
  margin-top: 28px;
  padding: 22px 18px 8px;
  text-align: center;
}

.site-footer a {
  color: var(--gold-deep);
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.lang-panel {
  display: none;
}

.lang-panel.is-active {
  display: block;
}

@media (max-width: 1024px) {
  .hero,
  .info-grid > article,
  .judge,
  .sponsors {
    padding: 28px;
  }

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

  .judge__media {
    min-height: auto;
    padding: 20px;
  }

  .judge-photo--main {
    max-width: none;
    min-height: 460px;
  }

  .judge-photo--accent {
    right: 20px;
    bottom: 20px;
    width: 200px;
    min-height: 280px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 18px;
  }

  .site-header {
    flex-direction: column;
  }

  .brand {
    width: 88px;
    height: 88px;
  }

  .hero {
    min-height: auto;
    padding: 24px;
  }

  .hero__bg {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.84) 100%),
      url('../img/hero.svg') center / cover no-repeat;
  }

  .hero__actions,
  .price-list li {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .info-grid > article,
  .judge,
  .sponsors {
    padding: 24px;
  }

  .judge__media {
    padding: 14px;
  }

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

  .judge-photo--accent {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 240px;
    margin-top: 14px;
    transform: none;
  }
}
