/* ── Base ── */

@font-face {
  font-family: 'Filson Pro';
  src: url("/assets/FilsonProLight-314c3a46.otf") format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Filson Pro';
  src: url("/assets/FilsonProLightItalic-3241e0fc.otf") format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Filson Pro';
  src: url("/assets/FilsonProBook-76e89fde.otf") format('opentype');
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Filson Pro';
  src: url("/assets/FilsonProBookItalic-58da81ae.otf") format('opentype');
  font-weight: 350;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Filson Pro';
  src: url("/assets/FilsonProRegular-fdb6f987.otf") format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Filson Pro';
  src: url("/assets/FilsonProRegularItalic-98d820a4.otf") format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Filson Pro';
  src: url("/assets/FilsonProMedium-316e3f68.otf") format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Filson Pro';
  src: url("/assets/FilsonProMediumItalic-1b625067.otf") format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Filson Pro';
  src: url("/assets/FilsonProBold-e74d28fb.otf") format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Filson Pro';
  src: url("/assets/FilsonProBoldItalic-8b93408e.otf") format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Filson Pro';
  src: url("/assets/FilsonProHeavy-13a92fba.otf") format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Filson Pro';
  src: url("/assets/FilsonProBlack-849147df.otf") format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

html {
  overscroll-behavior: none;
  overflow-x: clip;
}
body {
  font-family: var(--font-system);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: var(--leading-normal);
  overscroll-behavior: none;
  overflow-x: clip;
}

main {
  padding-top: 0;
}

/* ── Upload shimmer (shared) ── */
@keyframes shimmer-sweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.is-uploading {
  position: relative;
  overflow: hidden;
}
.is-uploading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 70%
  );
  animation: shimmer-sweep 1.2s ease-in-out infinite;
}

/* ── Typography ── */

.page-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-2);
  color: var(--color-charcoal);
}

.page-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.section-label {
  font-family: var(--font-display);
  font-size: var(--text-3xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-tertiary);
}

.field-label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  letter-spacing: 0.2px;
  color: #4a4a44;
  margin-bottom: 6px;
}

.section-header {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.3px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-surface-hover);
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  color: var(--color-text-secondary);
}

/* ── Nominee Links ── */

.nominee-link {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.nominee-link:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}
.nominee-link--website {
  font-weight: var(--weight-medium);
}

/* ── Info Tooltip ── */

.info-tip {
  position: relative;
  cursor: help;
  color: var(--color-text-tertiary);
}
.info-tip-text {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  color: #4a4a44;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: var(--text-2xs);
  font-weight: var(--weight-normal);
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}
.info-tip:hover .info-tip-text,
.info-tip:focus .info-tip-text {
  display: block;
}

/* ── Required Field Indicator ── */

.required-star {
  color: var(--color-danger);
  font-weight: var(--weight-semibold);
  margin-left: 2px;
}
