:root {
  color-scheme: dark;
  --ink: #f4efe8;
  --muted: #aca7a0;
  --line: rgba(244, 239, 232, 0.18);
  --paper: #0d0e10;
  --panel: #151619;
  --clover: #c4da9d;
  --lilac: #c8bce6;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { min-height: 76px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 13px; letter-spacing: .09em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.maker { font-weight: 700; }
.staff-link { color: var(--clover); }
.hero { min-height: 680px; padding: 110px 0 72px; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { margin: 0 0 24px; color: var(--clover); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 34px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(76px, 13vw, 170px); font-weight: 400; letter-spacing: -.07em; line-height: .78; }
h1 em { color: var(--lilac); font-weight: 400; }
.intro { color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: clamp(20px, 2.5vw, 29px); line-height: 1.45; }
.text-link, .back-link { border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.text-link { margin-top: auto; }
.roles { padding: 110px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 48px; }
.section-heading h2, .schedule h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6vw, 80px); font-weight: 400; line-height: 1; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.role-card { min-height: 290px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; background: var(--panel); border: 1px solid var(--line); transition: transform .2s ease, border-color .2s ease; }
.role-card:hover { transform: translateY(-4px); border-color: var(--clover); }
.role-number { color: var(--clover); font-size: 12px; letter-spacing: .16em; }
.role-card h3 { margin-bottom: 9px; font-family: Georgia, "Times New Roman", serif; font-size: 46px; font-weight: 400; }
.role-card p { color: var(--muted); }
.apply { display: inline-block; margin-top: 24px; color: var(--lilac); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.schedule { padding: 110px 0 130px; border-top: 1px solid var(--line); }
.schedule h2 { max-width: 930px; }
.site-footer { padding: 28px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }

.form-page { padding: 70px 0 110px; }
.form-intro { margin: 70px 0 60px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 40px; }
.form-intro h1 { margin: 0; font-size: clamp(72px, 12vw, 145px); }
.form-intro > p { max-width: 390px; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.5; }
.casting-form { max-width: 920px; }
fieldset { margin: 0 0 24px; padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border: 1px solid var(--line); background: var(--panel); }
legend { padding: 0 12px; color: var(--clover); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full, .upload-note.full { grid-column: 1 / -1; }
label { font-size: 13px; }
label span, .upload-note { color: var(--muted); }
input, select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: #0f1012; color: var(--ink); font: inherit; }
input:focus, select:focus { outline: 2px solid var(--clover); outline-offset: 1px; }
input[type="file"] { padding: 12px; }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 12px; border: 0; background: var(--lilac); color: #17131e; cursor: pointer; }
.upload-note { margin: -8px 0 0; font-size: 12px; }
.confirmations { display: block; }
.check-row { margin: 0 0 18px; display: grid; grid-template-columns: 22px 1fr; gap: 12px; line-height: 1.55; }
.check-row:last-child { margin-bottom: 0; }
.check-row input { width: 18px; min-height: 18px; margin-top: 2px; accent-color: var(--clover); }
.hidden-field { position: absolute; left: -9999px; }
.submit-button { min-height: 56px; padding: 0 24px; display: inline-flex; align-items: center; gap: 30px; border: 0; background: var(--clover); color: #10130d; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.form-error { min-height: 24px; color: #f2a79f; }
.thanks-page { min-height: calc(100vh - 76px); padding: 110px 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.thanks-page h1 { margin-bottom: 42px; }
.thanks-page > p:not(.eyebrow) { max-width: 600px; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.5; }
.inline-button { margin-top: 25px; }

.staff-page { min-height: calc(100vh - 76px); padding: 72px 0 110px; }
.staff-login { max-width: 650px; margin: 40px auto 0; }
.staff-login h1, .staff-dashboard h1 { font-size: clamp(68px, 11vw, 130px); }
.login-card { padding: 34px; border: 1px solid var(--line); background: var(--panel); }
.login-card label { display: block; margin-bottom: 10px; }
.login-card .submit-button { margin-top: 10px; }
.staff-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 38px; }
.staff-toolbar h1 { margin-bottom: 14px; }
.staff-count { margin: 0; color: var(--muted); }
.toolbar-actions { display: flex; gap: 10px; }
.quiet-button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; cursor: pointer; }
.quiet-button:hover { border-color: var(--clover); }
.applicant-list { display: grid; gap: 18px; }
.applicant-card { padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.applicant-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.applicant-header h2 { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 5vw, 54px); font-weight: 400; }
.applicant-header time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.role-pill { color: var(--clover); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.applicant-body { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding-top: 26px; }
.applicant-body img { width: 220px; height: 280px; display: block; border: 1px solid var(--line); object-fit: cover; }
.applicant-body dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 22px 28px; }
.applicant-detail { min-width: 0; }
.applicant-detail dt { margin-bottom: 6px; color: var(--muted); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.applicant-detail dd { margin: 0; overflow-wrap: anywhere; }
.applicant-detail a { color: var(--lilac); text-decoration: underline; text-underline-offset: 4px; }
.empty-state { padding: 50px; border: 1px solid var(--line); color: var(--muted); text-align: center; }

@media (max-width: 700px) {
  .wrap { width: min(100% - 30px, 1180px); }
  .site-header { min-height: 66px; padding: 0 15px; }
  .site-header nav { gap: 15px; }
  .hero { min-height: 610px; padding-top: 85px; }
  .role-grid, .form-intro, fieldset { grid-template-columns: 1fr; }
  .roles, .schedule { padding: 75px 0; }
  .section-heading { display: block; }
  .role-card { min-height: 245px; }
  .form-page { padding-top: 45px; }
  .form-intro { margin: 60px 0 42px; gap: 20px; }
  fieldset { padding: 24px 18px; }
  .site-footer { gap: 20px; flex-direction: column; }
  .staff-toolbar, .applicant-header { align-items: flex-start; flex-direction: column; }
  .applicant-body { grid-template-columns: 1fr; }
  .applicant-body img { width: 100%; height: min(115vw, 440px); }
  .applicant-body dl { grid-template-columns: 1fr; }
}
