/* ============================================================
   PB CREST COMPANY LTD
   Celebrating Excellence. Creating Influence.
   ============================================================ */

:root {
  --gold:          #C9A84C;
  --gold-light:    #E8D5A3;
  --gold-dark:     #8B6A14;
  --gold-grad:     linear-gradient(135deg, #8B6A14 0%, #C9A84C 40%, #E8D5A3 60%, #C9A84C 80%, #8B6A14 100%);
  --black:         #090909;
  --dark:          #111111;
  --dark-2:        #181818;
  --dark-3:        #222222;
  --border:        rgba(255,255,255,0.07);
  --border-gold:   rgba(201,168,76,0.25);
  --white:         #FFFFFF;
  --muted:         #888888;
  --muted-2:       rgba(255,255,255,0.65);
  --font-serif:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:     'Raleway', 'Helvetica Neue', Arial, sans-serif;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --dur:           0.3s;
  --radius:        2px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font-sans); cursor: pointer; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.25; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.05rem; }

/* ---- Utilities ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

.gold-rule {
  width: 56px;
  height: 2px;
  background: var(--gold-grad);
  margin: 1.1rem auto;
  border: none;
}

.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.section-header h2 { color: var(--white); }
.section-lead {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 0.95rem;
  margin-top: 0.8rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.82rem 1.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-grad);
  color: var(--black);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.4);
  filter: brightness(1.1);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.4rem; font-size: 0.85rem; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- Fade-in animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-load {
  animation: fadeUp 0.9s var(--ease) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  padding: 1.1rem 0;
  transition: background var(--dur) var(--ease), padding var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
#navbar.scrolled {
  background: rgba(9,9,9,0.97);
  padding: 0.7rem 0;
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  color: var(--gold) !important;
  border: 1.5px solid var(--gold-dark) !important;
  padding: 0.45rem 1.15rem !important;
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease) !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
  border-color: var(--gold) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  width: 32px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--gold);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--black);
  overflow: hidden;
}
/* Atmospheric glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 55%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 45%, rgba(201,168,76,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 100% 40% at 50% 100%, rgba(201,168,76,0.04) 0%, transparent 50%);
  pointer-events: none;
}
/* Top gold line */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.5;
}
.hero-bg-ornament {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.05);
  pointer-events: none;
}
.hero-bg-ornament--left  { left: -200px; top: 50%; transform: translateY(-50%); }
.hero-bg-ornament--right { right: -200px; top: 50%; transform: translateY(-50%); }

.hero-content {
  text-align: center;
  z-index: 1;
  padding: 7rem 1.5rem 5rem;
  max-width: 820px;
}
.hero-logo {
  width: 260px;
  max-width: 65vw;
  margin: 0 auto 2rem;
  border-radius: 3px;
}
.hero-rule {
  width: 60px;
  height: 1px;
  background: var(--gold-grad);
  margin: 0 auto 2rem;
  opacity: 0.7;
}
.hero h1 { color: var(--white); font-weight: 400; letter-spacing: 0.01em; }
.hero-gold {
  color: var(--gold);
  margin-top: 0.15rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.hero-tagline {
  color: var(--muted-2);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 300;
  max-width: 600px;
  margin: 1.6rem auto 0;
  line-height: 1.8;
}

/* Countdown pill */
.hero-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin: 1.6rem auto 2rem;
}
.countdown-eyebrow {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.countdown-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  background: rgba(9, 9, 9, 0.75);
  padding: 0.55rem 1.6rem;
  gap: 0.15rem;
  backdrop-filter: blur(8px);
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.8rem;
}
.countdown-num {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
}
.countdown-label {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.22rem;
}
.countdown-sep {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0.45;
  padding: 0 0.05rem;
  align-self: flex-start;
  padding-top: 0.05rem;
  line-height: 1;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  opacity: 0.45;
  transition: opacity var(--dur);
}
.hero-scroll:hover { opacity: 0.75; }
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-chevron {
  width: 18px;
  height: 18px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  animation: chev 2s ease-in-out infinite;
}
@keyframes chev {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
  50%       { transform: rotate(45deg) translate(3px, 3px); opacity: 1; }
}


/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 7rem 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.about-lead {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
  color: var(--muted-2);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.mission-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  padding: 2.5rem 2rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.mission-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.mission-icon svg { width: 100%; height: 100%; }
.mission-card h3 { color: var(--gold); margin-bottom: 0.9rem; font-size: 1.25rem; }
.mission-card p  { color: var(--muted-2); font-size: 0.93rem; font-weight: 300; }

/* Values */
.values-wrap { border-top: 1px solid var(--border); padding-top: 3.5rem; }
.values-heading {
  text-align: center;
  color: var(--white);
  margin-bottom: 2.5rem;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 400;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.value-item:hover {
  border-color: var(--border-gold);
  background: rgba(201,168,76,0.03);
}
.value-star {
  display: block;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 0.7rem;
}
.value-item h4 { color: var(--white); margin-bottom: 0.4rem; font-weight: 500; }
.value-item p  { color: var(--muted); font-size: 0.82rem; line-height: 1.6; }


/* ============================================================
   CATEGORIES — zigzag timeline
   ============================================================ */
.categories-section {
  padding: 7rem 0;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Vertical centre line */
.categories-timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.categories-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--border-gold) 6%, var(--border-gold) 94%, transparent);
  pointer-events: none;
}

/* Row */
.tl-item {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: flex-start;
  margin-bottom: 3.5rem;
  position: relative;
}
.tl-item:last-child { margin-bottom: 0; }

/* Dot node */
.tl-dot {
  grid-column: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border-gold);
  background: var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 400;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  /* initial hidden state */
  opacity: 0;
  transform: scale(0.4);
}

/* Left item — content in col 1, dot in col 2 */
.tl-left .tl-dot   { grid-column: 2; }
.tl-left .tl-content {
  grid-column: 1;
  padding-right: 2rem;
  text-align: right;
  padding-top: 0.5rem;
  opacity: 0;
  transform: translateX(-30px);
}

/* Right item — dot in col 2, content in col 3 */
.tl-right .tl-dot   { grid-column: 2; }
.tl-right .tl-content {
  grid-column: 3;
  padding-left: 2rem;
  text-align: left;
  padding-top: 0.5rem;
  opacity: 0;
  transform: translateX(30px);
}

.tl-content h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.tl-content p {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.65;
}

/* Scroll-in animation (JS adds .visible to .tl-item) */
.tl-item.visible .tl-dot {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease 0.15s,
              transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s,
              border-color 0.3s ease,
              background  0.3s ease,
              box-shadow  0.3s ease;
}
.tl-item.visible .tl-content {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Hover glow on dot */
.tl-item:hover .tl-dot {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.07);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.22);
}

/* Event Details Strip */
.event-strip {
  background: var(--black);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 2rem 0;
}
.event-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.event-stat {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.event-stat svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 0.15rem;
}
.event-stat-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.event-stat-value {
  display: block;
  font-size: 0.88rem;
  color: var(--muted-2);
  font-weight: 300;
  line-height: 1.5;
}


/* ============================================================
   JURY
   ============================================================ */
.jury {
  padding: 7rem 0;
  background: var(--black);
}
.jury-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.judge-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.judge-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--border-gold);
}
.judge-photo-frame {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.judge-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--dark-2) 100%);
}
.judge-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease);
}
.judge-card:hover .judge-photo { transform: scale(1.05); }
.judge-body { padding: 1.5rem 1.6rem 1.8rem; }
.judge-body h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 0.3rem; }
.judge-role {
  display: block;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.judge-bio p {
  color: var(--muted-2);
  font-size: 0.88rem;
  font-weight: 300;
  margin-bottom: 0.7rem;
}
.bio-extra { display: none; }
.bio-extra.open { display: block; }
.bio-toggle {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0;
  margin-top: 0.4rem;
  transition: color var(--dur) var(--ease);
}
.bio-toggle:hover { color: var(--gold-light); }


/* ============================================================
   VENUE
   ============================================================ */
.venue {
  padding: 7rem 0;
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.venue-gallery-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.gallery-main-wrap {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.gallery-main-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-gold);
  pointer-events: none;
  z-index: 2;
}
.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s var(--ease);
}
.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3rem 1.5rem 1.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  z-index: 1;
}
.gallery-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.thumb {
  border: none;
  padding: 0;
  background: none;
  overflow: hidden;
  height: 96px;
  position: relative;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity var(--dur) var(--ease);
  border: 2px solid transparent;
  border-radius: var(--radius);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { opacity: 0.8; }
.thumb.active {
  opacity: 1;
  border-color: var(--gold);
}


/* ============================================================
   REGISTRATION
   ============================================================ */
.register {
  padding: 7rem 0;
  background: var(--black);
}
.form-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 3rem 3rem 2.5rem;
  border-radius: var(--radius);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-group--full { margin-bottom: 1.4rem; }
.form-group label,
.form-group--full label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.req { color: var(--gold); }
.form-group input,
.form-group--full input,
.form-group--full textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 400;
  padding: 0.82rem 1rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.form-group input:focus,
.form-group--full textarea:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
}
.form-group input::placeholder,
.form-group--full textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group--full textarea { resize: vertical; min-height: 130px; }
.field-hint { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }

/* Select */
.select-wrap { position: relative; }
.select-wrap select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 0.82rem 2.5rem 0.82rem 1rem;
  border-radius: var(--radius);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.select-wrap select:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
}
.select-wrap select option { background: var(--dark-3); color: var(--white); }
.select-wrap select option:disabled { color: var(--muted); }
.select-arrow {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--gold);
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 0;
}

/* Submit */
.form-submit { text-align: center; margin-top: 2rem; }
.form-msg {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 0.88rem;
  min-height: 1.4rem;
  transition: color var(--dur);
}
.form-msg.success { color: #6FCF97; }
.form-msg.error   { color: #EB5757; }
.form-msg.loading { color: var(--gold); }


/* ============================================================
   FLYER
   ============================================================ */
.flyer-section {
  padding: 6rem 0;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
}
.flyer-frame {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.flyer-img {
  max-width: 460px;
  width: 100%;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 8px 48px rgba(201, 168, 76, 0.18), 0 2px 16px rgba(0,0,0,0.6);
  display: block;
}
.flyer-cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 480px) {
  .flyer-img { max-width: 100%; }
}


/* Deadline notice */
.deadline-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-bottom: 1.6rem;
}
.deadline-notice svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gold);
}
.deadline-notice strong { color: var(--gold); }

/* How it works */
.how-it-works {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}
.how-step {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
}
.how-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.how-step h4 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.how-step p {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.5;
}
.how-arrow {
  color: var(--gold);
  opacity: 0.35;
  font-size: 1.3rem;
  padding-top: 0.9rem;
  flex-shrink: 0;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: 7rem 0;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
}
.contact-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}
.contact-card--single { display: block; }
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 2rem 2.5rem;
}
.contact-divider {
  height: 1px;
  background: var(--border);
  margin: 0 2.5rem;
}
.contact-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}
.contact-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.contact-value {
  display: block;
  color: var(--muted-2);
  font-size: 0.92rem;
  font-weight: 400;
  transition: color var(--dur) var(--ease);
  word-break: break-all;
  margin-bottom: 0.15rem;
}
.contact-value:hover { color: var(--gold); }

.footer-contact-list { margin-top: 0.9rem; }
.footer-contact-list li { margin-bottom: 0.4rem; }
.footer-contact-list li a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 300;
  transition: color var(--dur) var(--ease);
  word-break: break-all;
}
.footer-contact-list li a:hover { color: var(--gold); }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.4rem;
}
.footer-brand p { color: var(--muted); font-size: 0.88rem; max-width: 300px; font-weight: 300; }
.footer-col h4 {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1.1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--muted); font-size: 0.88rem; transition: color var(--dur); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col > p { color: var(--muted); font-size: 0.88rem; font-weight: 300; }
.footer-bottom { text-align: center; padding-top: 2rem; }
.footer-bottom .gold-rule { margin-bottom: 1.8rem; }
.footer-bottom p { color: var(--muted); font-size: 0.82rem; }
.footer-sub { color: var(--gold) !important; font-style: italic; margin-top: 0.35rem; font-family: var(--font-serif); }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .jury-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .event-strip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  /* Timeline collapses to left-aligned single column */
  .categories-timeline::before { left: 23px; transform: none; }
  .tl-item { grid-template-columns: 48px 1fr; }
  .tl-left .tl-dot, .tl-right .tl-dot   { grid-column: 1; }
  .tl-left .tl-content, .tl-right .tl-content {
    grid-column: 2;
    text-align: left;
    padding-left: 1.5rem;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(9,9,9,0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0.9rem;
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .form-row { grid-template-columns: 1fr; gap: 1.2rem; }
  .form-card { padding: 2rem 1.5rem; }

  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
  .gallery-main-wrap { height: 280px; }

  .jury-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
  .mission-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .event-strip-grid { grid-template-columns: 1fr; }
}
