/* DOE Live · /hosts — host recruiting page; shares tokens and components with styles.css */

/* the board starts right under the header, so the header is solid from the top */
:root .hdr { background: rgba(7, 7, 8, .96); border-color: var(--hair); }

/* ---------- hero: centred pitch, then a row of live hosts with the open seat in the middle ---------- */

.hb { display: flex; flex-direction: column; justify-content: center; gap: clamp(36px, 6vh, 64px); min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + clamp(24px, 5vh, 56px)) 0 clamp(28px, 4vh, 48px); }
.hb-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hb-copy .eyebrow { justify-content: center; }
.hb-title { font-family: var(--display); font-size: clamp(44px, min(5.6vw, 10vh), 96px); line-height: .95; letter-spacing: -0.045em; }
.hb-title > span { display: block; }
.hb-title .t-b { font-weight: 700; }
.hb-title .t-l { font-weight: 300; letter-spacing: -0.04em; }
.hb-lede { max-width: 36em; margin-top: clamp(18px, 2.6vh, 28px); font-size: 18px; line-height: 1.6; color: var(--mute); }
:root .hb .ctas { justify-content: center; margin-top: clamp(22px, 3.4vh, 34px); }

/* the row: drafting cells, crosshairs at the top and bottom of every divider */
.hb-row { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-block: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.hb-row > li { position: relative; height: clamp(190px, 31vh, 300px); padding: 10px; border-right: 1px solid var(--hair); transition: background-color .35s var(--ease); }
.hb-row > li::before, .hb-row > li::after {
  content: "";
  position: absolute;
  left: -6px;
  z-index: 2;
  width: 11px;
  height: 11px;
  background: linear-gradient(var(--accent), var(--accent)) center / 11px 1px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 1px 11px no-repeat;
  pointer-events: none;
}
.hb-row > li::before { top: -6px; }
.hb-row > li::after { bottom: -6px; }
.hb-row > li:last-child { box-shadow: none; }
.hb-tile:hover { background: rgba(110, 91, 255, .08); }
.hb-media { position: relative; height: 100%; overflow: hidden; border-radius: 12px; background: #151517; }
.hb-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hb-set { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hb-crop { position: absolute; left: 50%; top: 52%; width: 380%; max-width: none; height: auto; transform: translate(calc(var(--x) * -100%), -50%); }
.hb-live { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 7px 3px 3px; border-radius: 6px; background: rgba(0, 0, 0, .45); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hb-live b { padding: 2px 6px; border-radius: 4px; background: var(--live); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.hb-d .hb-media { opacity: .55; transition: opacity .4s var(--ease); }
.hb-d:hover .hb-media { opacity: 1; }

/* the open seat */
.hb-you a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 100%; border: 1.5px dashed rgba(189, 180, 255, .55); border-radius: 12px; background: rgba(110, 91, 255, .07); text-align: center; transition: border-color .3s, background-color .3s; }
.hb-you a:hover { border-color: var(--accent-soft); background: rgba(110, 91, 255, .15); }
.hb-plus { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; }
.hb-plus svg { width: 24px; height: 24px; }
.hb-plus::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--accent); animation: hb-ping 2.2s var(--ease) infinite; }
@keyframes hb-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.hb-you b { padding-inline: 8px; font-family: var(--display); font-size: clamp(16px, 1.3vw, 20px); font-weight: 600; letter-spacing: -0.02em; }
.hb-you-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent-soft); }
.hb-you-cta svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.hb-you a:hover .hb-you-cta svg { transform: translateX(3px); }

@media (min-width: 901px) { .hb-title > span { white-space: nowrap; } }
@media (max-width: 900px) {
  .hb-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hb-d { display: none; }
  .hb-row > li { height: min(52vw, 280px); }
  .hb-title { font-size: clamp(40px, 11vw, 64px); }
}
@media (max-width: 640px) {
  .hb { min-height: 0; padding-top: calc(var(--nav-h) + 28px); }
  .hb-lede { font-size: 16.5px; }
  :root .hb .ctas { flex-wrap: wrap; gap: 14px 22px; }
  .hb-row > li { padding: 6px; }
  .hb-you b { font-size: 14px; }
  .hb-you-cta { font-size: 12px; }
  .hb-plus { width: 40px; height: 40px; }
  .hb-plus svg { width: 19px; height: 19px; }
}

/* ---------- how it works: six steps in the drafting grid ---------- */

.hs { padding-block: clamp(90px, 10vw, 150px) clamp(80px, 9vw, 130px); }
.hs-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hair); }
.hs-steps::before, .hs-steps::after { content: ""; position: absolute; right: -6px; z-index: 2; width: 11px; height: 11px; background: linear-gradient(var(--accent), var(--accent)) center / 11px 1px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 1px 11px no-repeat; pointer-events: none; }
.hs-steps::before { top: -6px; }
.hs-steps::after { bottom: -6px; }
.hs-steps li { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: clamp(200px, 17vw, 250px); padding: clamp(24px, 2.4vw, 36px); border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); transition: background-color .35s var(--ease); }
.hs-steps li:nth-child(3n + 1) { border-left: 1px solid var(--hair); }
.hs-steps li:hover { background: rgba(110, 91, 255, .08); }
.hs-n { font-size: 14px; font-weight: 600; color: var(--accent-soft); font-variant-numeric: tabular-nums; }
.hs-steps h3 { margin-top: auto; font-family: var(--display); font-size: clamp(24px, 2.2vw, 34px); font-weight: 600; letter-spacing: -0.03em; }
.hs-steps p { max-width: 24em; font-size: 16px; color: var(--mute); }

/* ---------- pay ---------- */

.hp { padding-block: clamp(100px, 11vw, 160px); }
.hp-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(36px, 4vw, 56px); border-block: 1px solid var(--hair-d); }
.hp-grid li { display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 30px; transition: background-color .35s var(--ease); }
.hp-grid li:first-child { padding-left: 0; }
.hp-grid li + li { border-left: 1px solid var(--hair-d); }
.hp-grid li:hover { background: rgba(87, 74, 226, .07); }
.hp-grid b { font-family: var(--display); font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; letter-spacing: -0.025em; }
.hp-grid span { font-size: 15.5px; line-height: 1.5; color: var(--mute-d); }

/* ---------- what we look for: you bring / the studio / we bring ---------- */

.hl { padding-block: clamp(100px, 11vw, 160px); }
.hl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1fr); gap: clamp(28px, 3.6vw, 56px); align-items: center; }
.hl-k { margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--accent-soft); }
.hl-list { border-top: 1px solid var(--hair); }
.hl-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; padding: 15px 0; border-bottom: 1px solid var(--hair); }
.hl-list .n { grid-row: span 2; padding-top: 4px; font-size: 13px; font-weight: 600; color: rgba(244, 242, 237, .4); font-variant-numeric: tabular-nums; }
.hl-list b { font-family: var(--display); font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; letter-spacing: -0.02em; }
.hl-list li > span:last-child { font-size: 15px; color: var(--mute); }
.hl-frame { position: relative; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border-radius: 24px; background: #151517; }
.hl-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hl-frame .tag-live { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(7, 7, 8, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 600; }

/* ---------- apply: the form in the violet panel ---------- */

.ha .cta-panel { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); min-height: 0; }
.ha .cta-copy { align-self: start; padding-right: clamp(16px, 2vw, 32px); }
.ha-lede { max-width: 26em; margin-top: 22px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .82); }
.ha-next { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ha-next li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 14.5px; font-weight: 600; }
.ha-next span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--accent-deep); font-size: 11.5px; font-weight: 700; }
.ha-form { display: flex; flex-direction: column; gap: 14px; margin: clamp(14px, 1.6vw, 22px); padding: clamp(22px, 2.6vw, 38px); border-radius: 22px; background: var(--bg); color: var(--white); }
.ha-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ha-row:has(> .ha-wide) { grid-template-columns: minmax(0, 1fr); }
.ha-f { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.ha-f > span, .ha-f legend { padding: 0; font-size: 13.5px; font-weight: 600; color: rgba(244, 242, 237, .78); }
.ha-f em { font-style: normal; font-weight: 500; color: var(--mute); }
.ha-f input, .ha-f select, .ha-f textarea { width: 100%; min-height: 48px; padding: 12px 15px; border: 1px solid rgba(244, 242, 237, .16); border-radius: 12px; background: #121214; color: var(--white); font: 500 15.5px/1.4 var(--body); transition: border-color .25s, background-color .25s; }
.ha-f textarea { resize: vertical; }
.ha-f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23BDB4FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.ha-f input::placeholder, .ha-f textarea::placeholder { color: rgba(244, 242, 237, .38); }
.ha-f input:focus, .ha-f select:focus, .ha-f textarea:focus { outline: none; border-color: var(--accent-soft); background: #17171a; }
.ha-f .is-bad, .ha-langs.is-bad .ha-chip span { border-color: #FF6B81; }
.ha-langs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.ha-langs legend { width: 100%; margin-bottom: 7px; }
.ha-chip { position: relative; flex: 1; cursor: pointer; }
.ha-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ha-chip span { display: grid; place-items: center; min-height: 48px; border: 1px solid rgba(244, 242, 237, .16); border-radius: 12px; background: #121214; font-size: 15px; font-weight: 600; transition: background-color .25s, border-color .25s, color .25s; }
.ha-chip input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.ha-chip input:focus-visible + span { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.ha-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--mute); cursor: pointer; }
.ha-consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); }
.ha-consent.is-bad span { color: #FF8597; }
.ha-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.ha-submit .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.ha-msg { font-size: 14.5px; font-weight: 500; color: var(--accent-soft); }
.ha-msg.is-bad { color: #FF8597; }

@media (max-width: 900px) {
  .hs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs-steps li:nth-child(3n + 1) { border-left: 0; }
  .hs-steps li:nth-child(2n + 1) { border-left: 1px solid var(--hair); }
  .hp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hp-grid li:nth-child(n + 3) { border-top: 1px solid var(--hair-d); }
  .hl-grid { grid-template-columns: minmax(0, 1fr); }
  .hl-frame { order: -1; aspect-ratio: 4 / 3; border-radius: 20px; }
  .ha .cta-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hs-steps { grid-template-columns: minmax(0, 1fr); }
  .hs-steps::before, .hs-steps::after, .hs-steps li::before, .hs-steps li::after { display: none; }
  .hs-steps li, .hs-steps li:nth-child(2n + 1) { min-height: 0; padding: 22px 0; border-left: 0; border-right: 0; }
  .hs-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 6px 10px; }
  .hs-n { grid-row: span 2; padding-top: 6px; }
  .hs-steps h3 { margin-top: 0; font-size: 24px; }
  .hp-grid { grid-template-columns: minmax(0, 1fr); }
  .hp-grid li, .hp-grid li + li { padding: 18px 0; border-left: 0; }
  .hp-grid li + li { border-top: 1px solid var(--hair-d); }
  .ha-row { grid-template-columns: minmax(0, 1fr); }
  .ha-form { margin: 8px; padding: 20px 16px; }
}
