@font-face {
  font-family: "Sweet Boys Futura";
  src: url("../FuturaStd-Bold.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Sweet Boys Pretender Bold";
  src: url("../The Pretender Bold Sans.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: "Sweet Boys Pretender Light";
  src: url("../The Pretender Light Sans.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

:root {
  --background: #f5edcb;
  --ink: #b52024;
  --ink-muted: rgba(181, 32, 36, 0.66);
  --line: rgba(181, 32, 36, 0.27);
  --flame-color: #b52024;
  --selected-border: #b52024;
  --selected-flame-color: #f5edcb;
  --selected-ink: #f5edcb;
  --selected-surface: #b52024;
  --surface: rgba(245, 237, 203, 0.72);
  --transition: 320ms ease;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  background: var(--background);
  color: var(--ink);
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  transition: background-color var(--transition), color var(--transition);
}

body[data-theme="dark"] {
  --background: #000;
  --ink: #f5edcb;
  --ink-muted: rgba(245, 237, 203, 0.64);
  --line: rgba(245, 237, 203, 0.27);
  --flame-color: #f5edcb;
  --selected-border: #000;
  --selected-flame-color: #000;
  --selected-ink: #000;
  --selected-surface: #f5edcb;
  --surface: rgba(0, 0, 0, 0.58);
}

button,
input,
select,
textarea {
  font: inherit;
}

.work-page {
  margin: 0 auto;
  max-width: 920px;
  min-height: 100vh;
  padding: clamp(26px, 4vw, 48px) clamp(20px, 5vw, 64px) clamp(60px, 8vw, 96px);
}

.form-fine-print a { color: inherit; text-underline-offset: .2em; }
.form-fine-print a:hover { opacity: .72; }
.form-fine-print a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.eyebrow,
.field span,
.form-fine-print,
.form-status {
  font-family: "Sweet Boys Futura", sans-serif;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--ink-muted);
  margin: 0 0 1.15rem;
}

h1 {
  font-family: "Sweet Boys Pretender Bold", sans-serif;
  font-size: clamp(2.2rem, 5.8vw, 5.5rem);
  font-synthesis: none;
  font-weight: normal;
  letter-spacing: 0.035em;
  line-height: 0.94;
  margin: 0;
  text-transform: uppercase;
}

.work-form-section {
  padding-top: 0;
}

.inquiry-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 18px);
}

.inquiry-option {
  align-items: start;
  background: var(--background);
  border: 1px solid var(--line);
  cursor: pointer;
  display: grid;
  min-height: clamp(101px, 9vw, 119px);
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 28px) clamp(18px, 2.2vw, 28px)
    clamp(38px, 4.5vw, 52px);
  position: relative;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.inquiry-option::after {
  background: var(--flame-color);
  bottom: 0;
  content: "";
  aspect-ratio: 4 / 1;
  left: 0;
  -webkit-mask: url("../div_flames.svg") center bottom / 100% auto no-repeat;
  mask: url("../div_flames.svg") center bottom / 100% auto no-repeat;
  position: absolute;
  width: 100%;
}

.inquiry-option input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.inquiry-option-copy {
  display: grid;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
}

.inquiry-option strong {
  font-family: "Sweet Boys Pretender Light", sans-serif;
  font-size: clamp(1.5rem, calc(3vw - 0.5rem), 2.2rem);
  font-synthesis: none;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 0.86;
  text-transform: uppercase;
}

.inquiry-option.is-selected,
.inquiry-option:has(input:focus-visible) {
  background: var(--selected-surface);
  border-color: var(--selected-border);
  color: var(--selected-ink);
}

.inquiry-option.is-selected::after {
  background: var(--selected-flame-color);
}

.inquiry-option:hover {
  transform: translateY(-4px);
}

.inquiry-option:has(input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.form-divider {
  border-top: 1px solid var(--line);
  margin: clamp(30px, 6vw, 68px) 0;
}

.form-fields,
.form-branch {
  display: grid;
  gap: 1.15rem;
}

.form-branch {
  border: 0;
  margin: clamp(16px, 3vw, 30px) 0 0;
  padding: 0;
}

.form-branch[hidden] {
  display: none;
}

.form-branch legend {
  font-family: "Sweet Boys Futura", sans-serif;
  font-size: clamp(1.14rem, 2vw, 1.5rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
  padding: 0;
  text-transform: uppercase;
}

.casting-intro { margin: 0 0 24px; color: var(--ink-muted); font: 700 .8rem/1.6 "Sweet Boys Futura", sans-serif; }
.custom-select .custom-control-button, .custom-control-option, .field select, .field select option { text-transform: uppercase; }

.field {
  display: grid;
  gap: 0.48rem;
}

.field span {
  color: var(--ink-muted);
}

.field:has([required], [data-required="true"]) > span::after {
  content: " *";
  color: var(--ink);
}


.field em {
  font-style: normal;
  opacity: 0.72;
}

.field input,
.field textarea {
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font-family: "Sweet Boys Futura", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  min-height: 48px;
  outline: none;
  padding: 0.78rem 0.84rem;
  transition: border-color 180ms ease, background-color 180ms ease;
  width: 100%;
}

.field textarea {
  line-height: 1.45;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-muted);
  opacity: 0.72;
  text-transform: uppercase;
}

.field input:focus,
.field textarea:focus {
  background: transparent;
  border-color: var(--ink);
}

.custom-select,
.custom-date {
  position: relative;
  width: 100%;
}

.native-control {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.custom-control-button {
  align-items: center;
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink-muted);
  cursor: pointer;
  display: flex;
  font-family: "Sweet Boys Futura", sans-serif;
  font-size: 0.78rem;
  justify-content: space-between;
  letter-spacing: 0.02em;
  min-height: 48px;
  padding: 0.78rem 0.84rem;
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
  width: 100%;
}

.has-value .custom-control-button {
  color: var(--ink);
}

.field .custom-control-button span {
  color: inherit;
}

.custom-control-button:hover,
.custom-control-button:focus-visible,
.custom-select.is-invalid .custom-control-button {
  background: transparent;
  border-color: var(--ink);
  outline: none;
}

.custom-select.is-invalid .custom-control-button {
  box-shadow: inset 0 -2px 0 var(--ink);
}
.custom-control-button:not(:disabled):is(:hover, :focus-visible) {
  background: var(--ink);
  color: var(--background);
  text-decoration: none;
}

.custom-control-button:disabled {
  cursor: default;
  opacity: 0.45;
}

.custom-control-icon {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  justify-content: center;
  line-height: 1;
  margin-left: 1rem;
  width: 1rem;
}

.custom-control-menu,
.custom-calendar {
  background: var(--background);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--ink) 16%, transparent);
  left: 0;
  position: absolute;
  top: calc(100% + 6px);
  width: 100%;
  z-index: 10;
}

.custom-control-menu[hidden],
.custom-calendar[hidden] {
  display: none;
}

.custom-select.opens-up .custom-control-menu {
  top: auto;
  bottom: calc(100% + 6px);
  max-height: min(18rem, 50svh);
  overflow-y: auto;
  box-shadow: 8px -8px 0 color-mix(in srgb, var(--ink) 16%, transparent);
}

.custom-control-option {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: block;
  font-family: "Sweet Boys Futura", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.025em;
  padding: 0.8rem 0.84rem;
  text-align: left;
  width: 100%;
}

.custom-control-option:last-child {
  border-bottom: 0;
}

.custom-control-option:hover,
.custom-control-option:focus-visible,
.custom-control-option.is-selected {
  background: var(--ink);
  color: var(--background);
  outline: none;
}

.custom-calendar {
  padding: 0.8rem;
}

.calendar-header {
  align-items: center;
  display: grid;
  grid-template-columns: 2rem 1fr 2rem;
  margin-bottom: 0.78rem;
}

.calendar-title,
.calendar-nav,
.calendar-weekdays,
.calendar-day {
  font-family: "Sweet Boys Futura", sans-serif;
}

.calendar-title {
  font-size: 0.7rem;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-nav,
.calendar-day {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

.calendar-nav {
  font-size: 1rem;
  height: 2rem;
  width: 2rem;
}

.calendar-nav:hover,
.calendar-nav:focus-visible,
.calendar-day:hover,
.calendar-day:focus-visible {
  background: var(--ink);
  color: var(--background);
  outline: none;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  color: var(--ink-muted);
  font-size: 0.56rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  text-align: center;
}

.calendar-day,
.calendar-day-spacer {
  align-items: center;
  aspect-ratio: 1;
  display: inline-flex;
  font-size: 0.66rem;
  justify-content: center;
  min-width: 0;
}

.calendar-day.is-today {
  box-shadow: inset 0 0 0 1px var(--line);
}

.calendar-day.is-selected {
  background: var(--ink);
  color: var(--background);
}

.field-grid {
  display: grid;
  gap: 1.15rem;
}

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

.honeypot {
  height: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.form-submit-row {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-top: clamp(34px, 6vw, 64px);
  padding-top: 1.1rem;
}

.form-fine-print {
  color: var(--ink-muted);
  line-height: 1.45;
  margin: 0;
  max-width: 270px;
}

.submit-button {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--background);
  cursor: pointer;
  display: inline-flex;
  font-family: "Sweet Boys Futura", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 2rem;
  letter-spacing: 0.11em;
  min-height: 52px;
  padding: 0 1rem 0 1.2rem;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.submit-button:not(:disabled):hover,
.submit-button:not(:disabled):focus-visible {
  background: var(--background);
  color: var(--ink);
  text-decoration: none;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.55;
  transform: none;
}

.form-status {
  color: var(--ink-muted);
  line-height: 1.45;
  margin: 0.9rem 0 0;
  min-height: 1.1rem;
}

.form-status.is-error {
  color: #b52024;
}

body[data-theme="dark"] .form-status.is-error {
  color: #ff8285;
}

@media (min-width: 641px) {
  .inquiry-option {
    padding-bottom: 68px;
  }

  .inquiry-option::after {
    aspect-ratio: auto;
    height: 48px;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
}

@media (max-width: 640px) {
  .work-page {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(2.1rem, 12vw, 3.3rem);
  }

  .inquiry-picker,
  .field-grid-two {
    grid-template-columns: 1fr;
  }

  .inquiry-option {
    min-height: 108px;
    padding: 1rem 1.1rem clamp(38px, 11vw, 48px);
  }

  .form-submit-row {
    align-items: stretch;
    flex-direction: column;
    gap: 1.2rem;
  }

  .submit-button {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
