:root {
  --canvas: #050505;
  --surface: #0b0b0b;
  --surface-hover: #101010;
  --text: #f5f5f4;
  --text-muted: #a6a09b;
  --line: #2c2c2c;
  --accent: #ed9840;
  --content-width: 1480px;
  --gutter: 48px;
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--text);
  color: var(--canvas);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  width: min(100%, var(--content-width));
  height: 78px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 23px;
  height: 23px;
  fill: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--text-muted);
  font-size: 14px;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"]::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 5px;
  content: "";
  background: var(--accent);
}

.intro,
.openings,
.questions,
.site-footer {
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.intro-inner,
.openings-inner,
.questions,
.site-footer {
  width: min(100%, var(--content-width));
  margin-right: auto;
  margin-left: auto;
}

.intro {
  min-height: 610px;
  padding-top: clamp(92px, 10vw, 156px);
  padding-bottom: 100px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
}

.intro h1 {
  margin-top: 22px;
  font-size: clamp(64px, 7vw, 112px);
  font-weight: 680;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.intro-copy {
  max-width: 930px;
  margin-top: 56px;
  color: #d6d3d1;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.75;
}

.intro-copy p + p {
  margin-top: 18px;
}

.openings {
  padding-top: 66px;
  padding-bottom: 140px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(38px, 4vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.role-count {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.05em;
}

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

.job-card {
  display: flex;
  min-height: 270px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  gap: 48px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.job-card:hover {
  border-color: #464646;
  background: var(--surface-hover);
  transform: translateY(-3px);
}

.badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #232323;
  color: #d6d3d1;
  font-size: 12px;
  font-weight: 650;
}

.job-card h3 {
  margin-top: 22px;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 630;
  letter-spacing: -0.035em;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 10px;
  color: #8e8a87;
  font-size: 14px;
}

.job-meta span + span::before {
  margin: 0 10px;
  content: "·";
}

.apply-button {
  display: inline-flex;
  min-width: 170px;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--text);
  color: #111;
  font-size: 14px;
  font-weight: 720;
  transition: background-color 160ms ease, transform 160ms ease;
}

.apply-button:not(.is-disabled):hover {
  background: var(--accent);
  transform: translateX(3px);
}

.apply-button.is-disabled {
  cursor: default;
  background: #242424;
  color: #8e8a87;
}

.questions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 90px;
  padding-bottom: 90px;
  border-top: 1px solid var(--line);
}

.questions h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.045em;
}

.questions > a {
  color: #d6d3d1;
  font-size: clamp(18px, 1.7vw, 24px);
  text-decoration: underline;
  text-decoration-color: #555;
  text-underline-offset: 7px;
}

.questions > a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  color: #777;
  font-size: 12px;
}

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  :root {
    --gutter: 28px;
  }

  .intro {
    min-height: 560px;
  }

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

  .questions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }

  .header-inner {
    height: 68px;
  }

  .brand {
    font-size: 18px;
  }

  .site-nav {
    gap: 18px;
    font-size: 13px;
  }

  .intro {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 88px;
  }

  .intro h1 {
    font-size: clamp(54px, 17vw, 72px);
  }

  .intro-copy {
    margin-top: 38px;
    font-size: 17px;
  }

  .openings {
    padding-top: 52px;
    padding-bottom: 90px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .job-card {
    min-height: 248px;
    padding: 26px;
  }

  .apply-button {
    width: 100%;
  }

  .questions {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
