:root {
  --bg: #f6f1ec;
  --bg-strong: #1d1715;
  --card: #fffaf6;
  --text: #241d1a;
  --muted: #776b65;
  --accent: #b86b48;
  --accent-dark: #8f4d31;
  --line: rgba(36, 29, 26, 0.12);
  --shadow: 0 24px 80px rgba(36, 29, 26, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 72px);
  background: rgba(246, 241, 236, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.logo,
.main-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.logo {
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-image {
  width: 44px;
  height: 44px;
}

.main-nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a.active {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.6fr);
  gap: 40px;
  min-height: 680px;
  padding: 96px clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 82% 18%, rgba(184, 107, 72, 0.48), transparent 28%),
    radial-gradient(circle at 15% 82%, rgba(255, 200, 168, 0.16), transparent 34%),
    linear-gradient(110deg, #1d1715, #3b2a24 58%, #1d1715);
  color: #fff;
}

.hero-content {
  align-self: center;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffc8a8;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.hero-text {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 34px rgba(184, 107, 72, 0.35);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button-dark,
.admin-section .button-secondary,
.casting-editor .button-secondary {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
}

.danger-button {
  color: #9f2d1f;
}

.hero-card {
  align-self: end;
  padding: 32px;
  background: rgba(255, 250, 246, 0.92);
  border-radius: 34px;
  color: var(--text);
  box-shadow: var(--shadow);
}

.hero-card-label {
  color: var(--muted);
  font-weight: 800;
}

.hero-card strong {
  display: block;
  margin: 10px 0;
  font-size: 86px;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.page-hero {
  padding: 96px clamp(20px, 5vw, 72px) 80px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 16%, rgba(184, 107, 72, 0.42), transparent 26%),
    radial-gradient(circle at 10% 90%, rgba(255, 200, 168, 0.14), transparent 32%),
    linear-gradient(110deg, #1d1715, #372720 62%, #1d1715);
}

.compact-hero {
  min-height: 420px;
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero .eyebrow {
  color: #ffc8a8;
}

.section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.section-muted {
  background:
    radial-gradient(circle at 8% 0%, rgba(184, 107, 72, 0.18), transparent 32%),
    #fffaf6;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading p,
.application-copy p,
.about-section p {
  color: var(--muted);
  line-height: 1.7;
}

.casting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.info-card {
  min-height: 250px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 16px 44px rgba(36, 29, 26, 0.08);
}

.step-number {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.info-card h3 {
  margin: 0 0 14px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.info-card p {
  color: var(--muted);
  line-height: 1.6;
}

.casting-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 16px 44px rgba(36, 29, 26, 0.08);
}

.casting-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tag {
  padding: 7px 10px;
  color: var(--accent-dark);
  background: rgba(184, 107, 72, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.casting-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.casting-card p {
  color: var(--muted);
  line-height: 1.6;
}

.casting-card .button {
  margin-top: auto;
}

.casting-month {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 800;
}

.empty-message {
  padding: 24px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 48px;
  background: var(--bg);
}

.trust-content {
  display: grid;
  gap: 18px;
  padding: 32px;
  background: #fffaf6;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.trust-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.trust-points span {
  padding: 10px 12px;
  color: var(--accent-dark);
  background: rgba(184, 107, 72, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.trust-note {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 20px;
  background: #fffaf6;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.trust-note strong {
  color: var(--text);
}

.trust-note span {
  color: var(--muted);
  line-height: 1.6;
}

.application-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.application-copy {
  position: sticky;
  top: 110px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.instruction-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.instruction-list li {
  padding-left: 6px;
}

.instruction-list li::marker {
  color: var(--accent);
  font-weight: 800;
}

.check-list li {
  padding: 16px 18px;
  background: #fffaf6;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-weight: 700;
}

.application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.field-help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.checkbox-label input {
  width: auto;
  min-height: auto;
  margin-top: 3px;
}

.checkbox-label a {
  color: var(--accent-dark);
  text-decoration: underline;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(184, 107, 72, 0.16);
}

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

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 48px;
  color: #fff;
  background: var(--bg-strong);
}

.document-section {
  max-width: 900px;
}

.document-section h2 {
  margin-top: 36px;
  font-size: clamp(26px, 4vw, 38px);
}

.document-section p {
  color: var(--muted);
  line-height: 1.8;
}

.admin-section {
  background: var(--bg);
}

.admin-login {
  display: grid;
  gap: 16px;
  max-width: 520px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.admin-dashboard {
  display: grid;
  gap: 28px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-toolbar h2,
.admin-panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

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

.stat-card,
.admin-panel,
.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 16px 44px rgba(36, 29, 26, 0.08);
}

.stat-card {
  padding: 22px;
}

.stat-card span {
  color: var(--muted);
  font-weight: 800;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 42px;
  letter-spacing: -0.06em;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.admin-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.admin-list {
  display: grid;
  gap: 16px;
}

.admin-card {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.compact-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.admin-card-header,
.admin-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.admin-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.admin-card p,
.admin-card dd {
  color: var(--muted);
  line-height: 1.6;
}

.panel-description {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.6;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.details-grid dt {
  color: var(--text);
  font-weight: 800;
}

.details-grid dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.file-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.file-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.file-list a,
.details-grid a,
.document-section a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.casting-editor,
.outreach-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #fffaf6;
}

@media (max-width: 980px) {
  .hero,
  .application-section,
  .trust-section,
  .about-section {
    grid-template-columns: 1fr;
  }

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

  .filter-panel,
  .stats-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

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

  .application-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header,
  .main-nav,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .casting-grid,
  .steps-grid,
  .filter-panel,
  .details-grid,
  .file-columns,
  .casting-editor,
  .outreach-form,
  .application-form {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
