@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/archivo-black.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0b0a;
  --bg-panel: #121310;
  --line: rgba(255, 255, 255, 0.08);
  --lime: #d7ff6e;
  --lime-dim: rgba(215, 255, 110, 0.15);
  --text: #f2f2ec;
  --text-dim: #9a9c93;
  --border: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; color-scheme: dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
  transform: perspective(500px) rotateX(2deg);
  transform-origin: top center;
}

header, main, footer { position: relative; z-index: 1; }

/* Header */
.site-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.insta-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}
.insta-link:hover { color: var(--lime); }

/* Hero */
/* Stacking: bg (0) < title (1) < cutout (2) < shade (3) < eyebrow + bottom text (4).
   bg and cutout share size/position so the cutout lines up pixel-for-pixel. */
.hero {
  --hero-img-pos: 50% 0%;
  --hero-img-top: 60px;
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  max-width: 2160px;
  margin: 0 auto;
  min-height: clamp(560px, 88vh, 780px);
  padding: 40px 24px 40px;
  border-bottom: 1px solid var(--line);
}

.hero-bg,
.hero-cutout {
  position: absolute;
  inset: var(--hero-img-top) 0 0 0;
  pointer-events: none;
  background-size: var(--hero-img-size, cover);
  background-repeat: no-repeat;
  background-position: var(--hero-img-pos);
}

.hero-bg {
  z-index: 0;
  background-image: url('assets/hero-smoke.jpg');
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 22%);
  mask-image: linear-gradient(180deg, transparent 0%, black 22%);
}

.hero-cutout {
  z-index: 2;
  background-image: url('assets/hero-cutout.webp');
}

/* Desktop: scale past the frame edges to hide the studio softboxes, and track the
   title size so the boot tips keep overlapping the bottom of "HIRING". */
@media (min-width: 700px) {
  .hero {
    --hero-img-size: 118% auto;
    --hero-img-pos: 50% 0%;
    --hero-img-top: calc(48px + 10.24cqw);
  }

  /* At 118% width the image is 66.4cqw tall and can end above the hero bottom: fade that edge.
     cqw (not vw) so this stays correct once .hero's width is capped at 1600px — otherwise the
     image kept scaling past its native 1280x720 resolution on wide screens and looked blurry. */
  .hero-bg {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 22%, black calc(66.4cqw - 60px), transparent 66.4cqw);
    mask-image: linear-gradient(180deg, transparent 0%, black 22%, black calc(66.4cqw - 60px), transparent 66.4cqw);
  }

  .hero-cutout {
    -webkit-mask-image: linear-gradient(180deg, black calc(66.4cqw - 60px), transparent 66.4cqw);
    mask-image: linear-gradient(180deg, black calc(66.4cqw - 60px), transparent 66.4cqw);
  }
}

@media (min-width: 1118px) {
  /* Hero grows down to the image bottom (top + 66.4cqw) so the ground is in view. */
  .hero {
    --hero-img-top: calc(340px - 15.86cqw);
    min-height: min(calc(320px + 50.54cqw), calc(100vh + 160px));
  }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 11, 10, 0) 62%, rgba(10, 11, 10, 0.8) 100%);
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-title {
  position: relative;
  z-index: 1;
}

.hero .eyebrow,
.hero-bottom {
  position: relative;
  z-index: 4;
}

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

.hero-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(64px, 17vw, 190px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--lime);
  text-transform: uppercase;
}

.hero-tagline {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 32px;
  color: var(--text);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease, gap 0.15s ease;
}
.btn-arrow:hover { color: var(--lime); gap: 14px; }

/* Profiles */
.profiles {
  padding: 56px 24px;
  max-width: 1080px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.section-label {
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 28px;
}

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

.profile-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.profile-card:hover { background: #161710; border-color: var(--lime); }
.profile-card:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.profile-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 20px;
  text-transform: uppercase;
  color: var(--text);
}

.profile-role {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
  text-transform: none;
  margin-top: 6px;
  letter-spacing: 0;
}
.profile-role em { font-style: normal; font-weight: 400; color: var(--text-dim); }

.profile-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.meta-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.meta-col p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

/* Apply */
.apply {
  padding: 64px 24px 96px;
  max-width: 640px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.apply-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(36px, 6vw, 56px);
  margin: 0 0 40px;
  text-transform: uppercase;
  color: var(--text);
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.required-mark {
  color: #ff5c5c;
}

.char-count {
  align-self: flex-end;
  font-size: 12px;
  color: var(--text-dim);
}

.field input,
.field textarea {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 13px 14px;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s ease;
  resize: vertical;
}

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

.hp-field {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 13px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.custom-select-trigger:hover {
  border-color: var(--lime-dim);
}

.custom-select-trigger svg {
  flex-shrink: 0;
  color: var(--lime);
  transition: transform 0.15s ease;
}

.custom-select.is-open .custom-select-trigger svg {
  transform: rotate(180deg);
}

.custom-select.is-open .custom-select-trigger,
.custom-select-trigger:focus-visible {
  border-color: var(--lime);
  outline: none;
}

.custom-select-value.is-placeholder {
  color: var(--text-dim);
}

.custom-select-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 420px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.custom-select-list[hidden] {
  display: none;
}

.custom-select-list li {
  padding: 11px 12px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
}

.custom-select-list li:hover,
.custom-select-list li.is-active {
  background: var(--lime-dim);
}

.custom-select-list li[aria-selected="true"] {
  color: var(--lime);
  font-weight: 600;
}

.btn-submit {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--lime);
  color: #0a0b0a;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease;
}
.btn-submit:hover { background: #e4ff9a; }
.btn-submit:active { transform: scale(0.98); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-status {
  font-size: 14px;
  font-weight: 600;
  margin: 4px 0 0;
  min-height: 20px;
}
.form-status.success { color: var(--lime); }
.form-status.error { color: #ff8a6e; }

/* Footer */
.site-footer {
  padding: 28px 24px 40px;
  max-width: 1080px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--text-dim);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--text-dim);
  text-decoration: none;
}
.site-footer a:hover { color: var(--lime); }

.footer-privacy {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 11px;
  line-height: 1.6;
  opacity: 0.75;
}

.footer-privacy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 720px) {
  .profile-list { grid-template-columns: 1fr; }
  .hero { padding: 48px 20px 40px; }
  .profiles { padding: 40px 20px; }
  .apply { padding: 48px 20px 72px; }
  .site-header { padding: 16px 20px; }
}
