:root {
  --black: #0a0a0a;
  --ink: #111111;
  --text: #333333;
  --muted: #555555;
  --gold: #efbf04;
  --gold-hover: #d4a803;
  --white: #ffffff;
  --fog: #f6f6f6;
  --line: #e6e6e6;
  --header-h: 96px;
  --max: 1180px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-hover);
  text-decoration: none;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3,
h4 {
  font-family: Merriweather, Georgia, serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.55em;
}

p {
  margin: 0 0 1em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 200;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #000;
  min-height: var(--header-h);
}

.header-inner {
  width: min(1600px, calc(100% - 32px));
  margin: 0 auto;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
}

.logo {
  justify-self: center;
  display: grid;
  place-items: center;
}

.logo img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.nav-toggle {
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 8px 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 7px 0;
  border-radius: 2px;
}

.site-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(420px, 92vw);
  background: #000;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 110px 36px 40px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: auto;
}

.site-nav.is-open {
  transform: translateX(0);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 60;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.site-nav a {
  color: var(--white);
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    var(--hero, url("../images/hero.webp")) center / cover no-repeat;
  padding: 80px 20px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5.4vw, 4.3rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 16ch;
  margin: 0 auto 18px;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.08rem;
  max-width: 46ch;
  margin: 0 auto 28px;
}

.hero--page {
  min-height: 42vh;
  align-items: center;
}

.hero--page h1 {
  max-width: 22ch;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--white);
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 13px 22px;
  border: 2px solid var(--gold);
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--fog);
}

.rule {
  width: 72px;
  height: 3px;
  background: var(--gold);
  margin: 0 0 22px;
}

.section h1,
.section h2 {
  text-transform: uppercase;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}

.lede {
  font-size: 1.05rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split--flip {
  grid-template-columns: 0.95fr 1.05fr;
}

.frame {
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 280px;
  box-shadow: var(--shadow);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cards,
.skill-grid,
.reason-grid,
.step-grid {
  display: grid;
  gap: 22px;
}

.skill-grid {
  grid-template-columns: repeat(3, 1fr);
}

.reason-grid,
.step-grid {
  grid-template-columns: repeat(2, 1fr);
}

.reason-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.icon-tile,
.stat {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.icon-tile {
  padding: 24px 22px;
  border-top: 4px solid var(--gold);
}

.icon-tile h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.card {
  padding: 28px;
}

.card h3,
.stat h3 {
  font-size: 1.15rem;
}

.stat {
  padding: 26px;
  background: var(--ink);
  color: var(--white);
}

.stat h3,
.stat p,
.stat strong {
  color: var(--white);
}

.stat strong {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.list li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid var(--line);
}

.list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 20px;
}

.numbered {
  counter-reset: step;
  display: grid;
  gap: 28px;
}

.numbered article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
}

.num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
}

.salary-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.salary-table th,
.salary-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.salary-table th {
  background: var(--ink);
  color: var(--white);
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

.cta-band {
  background:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
    url("../images/hero.webp") center / cover no-repeat;
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band h2 {
  text-transform: uppercase;
}

.cta-band p {
  max-width: 62ch;
  margin: 0 auto 24px;
}

.site-footer {
  background: #000;
  color: var(--white);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer-brand img {
  width: 92px;
  margin-bottom: 14px;
}

.footer-brand p {
  margin-bottom: 18px;
}

.social-facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #1877f2;
  color: #fff !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-facebook svg {
  width: 22px;
  height: 22px;
  display: block;
}

.social-facebook:hover {
  background: #166fe5;
  color: #fff !important;
  transform: translateY(-1px);
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

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

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .split,
  .split--flip,
  .skill-grid,
  .reason-grid,
  .reason-grid--3,
  .step-grid,
  .stat-row,
  .footer-grid,
  .pair {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .logo img {
    width: 72px;
    height: 72px;
  }

  .hero {
    min-height: 70vh;
    padding: 64px 16px;
  }

  .section {
    padding: 56px 0;
  }

  .split,
  .split--flip,
  .skill-grid,
  .reason-grid,
  .reason-grid--3,
  .step-grid,
  .stat-row,
  .footer-grid,
  .pair,
  .numbered article {
    grid-template-columns: 1fr;
  }

  .frame,
  .frame img {
    min-height: 220px;
  }
}
