:root {
  --ink: #171015;
  --ink-soft: #67565c;
  --paper: #fffaf7;
  --panel: #f7eee9;
  --line: #eadbd4;
  --red: #b5122d;
  --red-dark: #7f0d20;
  --red-deep: #3a0710;
  --gold: #d6ad63;
  --gold-soft: #f4dfb7;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(69, 7, 18, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.62;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 0 6vw;
  background: rgba(255, 250, 247, 0.94);
  border-bottom: 1px solid rgba(181, 18, 45, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid rgba(214, 173, 99, 0.55);
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.22;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--red);
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.header-action,
.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 10px 22px rgba(181, 18, 45, 0.25);
}

.header-action:hover,
.primary-button:hover {
  background: linear-gradient(135deg, #c91b38, var(--red-dark));
}

.secondary-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 56px;
  min-height: calc(100vh - 78px);
  padding: 96px 6vw 88px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(58, 7, 16, 0.98) 0%, rgba(127, 13, 32, 0.94) 52%, rgba(181, 18, 45, 0.9) 100%),
    radial-gradient(circle at 74% 18%, rgba(214, 173, 99, 0.3), transparent 34%);
}

.hero-copy {
  align-self: center;
  max-width: 780px;
}

.eyebrow,
.card-label {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-card {
  align-self: center;
  padding: 30px;
  background: rgba(255, 250, 247, 0.96);
  border: 1px solid rgba(214, 173, 99, 0.5);
  border-radius: 10px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.crest {
  display: grid;
  place-items: center;
  min-height: 180px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #b5122d, #6d0b1c);
  border-radius: 8px;
}

.crest img {
  width: min(210px, 78%);
  height: auto;
  border-radius: 4px;
}

.hero-card h2 {
  margin: 8px 0 22px;
  font-size: 28px;
  line-height: 1.18;
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.hero-stat span {
  color: var(--ink-soft);
}

.hero-stat strong {
  color: var(--red);
  font-size: 20px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.metrics article {
  padding: 30px 6vw;
  border-right: 1px solid var(--line);
}

.metrics strong {
  display: block;
  color: var(--red);
  font-size: 34px;
  line-height: 1.1;
}

.metrics span {
  color: var(--ink-soft);
  font-weight: 700;
}

.section {
  padding: 88px 6vw;
}

.muted {
  background: var(--panel);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.18;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

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

.role-card,
.requirement-grid article,
.benefit-list div,
.apply-form,
.apply-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.role-card {
  min-height: 380px;
  padding: 30px;
  box-shadow: 0 14px 34px rgba(58, 7, 16, 0.08);
}

.role-card.featured {
  border-color: rgba(181, 18, 45, 0.32);
  box-shadow: var(--shadow);
}

.job-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 11px;
  color: var(--red-dark);
  background: #f8e8e7;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.role-card h3,
.requirement-grid h3 {
  margin: 0 0 10px;
  font-size: 23px;
}

.role-card p,
.requirement-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.role-card ul {
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.role-card li + li {
  margin-top: 10px;
}

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

.requirement-grid article {
  min-height: 190px;
  padding: 24px;
}

.benefit-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
}

.salary-panel {
  padding: 34px;
  color: var(--white);
  background: linear-gradient(145deg, var(--red-deep), var(--red));
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.salary-panel span {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.salary-panel strong {
  display: block;
  margin: 12px 0;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 1;
}

.salary-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.benefit-list div {
  padding: 24px;
}

.benefit-list strong,
.benefit-list span {
  display: block;
}

.benefit-list span {
  margin-top: 7px;
  color: var(--ink-soft);
}

.apply-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 247, 0.94), rgba(247, 238, 233, 0.94)),
    linear-gradient(135deg, rgba(181, 18, 45, 0.12), transparent);
}

.apply-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 980px;
  margin-bottom: 22px;
  padding: 26px;
  box-shadow: 0 14px 34px rgba(58, 7, 16, 0.08);
}

.email-link {
  display: block;
  margin-top: 6px;
  color: var(--red);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
}

.apply-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.apply-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(181, 18, 45, 0.14);
}

.apply-form textarea {
  resize: vertical;
}

.wide,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--red-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 6vw;
  color: rgba(255, 255, 255, 0.78);
  background: var(--red-deep);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--white);
  font-size: 18px;
}

.site-footer address {
  font-style: normal;
  text-align: right;
}

.site-footer a {
  color: var(--gold-soft);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .role-grid,
  .benefit-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    gap: 14px;
    padding: 0 20px;
  }

  .brand small,
  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 62px 20px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p,
  .section-heading p {
    font-size: 16px;
  }

  .hero-actions a,
  .apply-box .primary-button {
    width: 100%;
  }

  .metrics,
  .requirement-grid,
  .benefit-list,
  .apply-form {
    grid-template-columns: 1fr;
  }

  .metrics article,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .apply-box {
    display: block;
  }

  .apply-box .primary-button {
    margin-top: 18px;
  }

  .site-footer {
    display: block;
  }

  .site-footer address {
    margin-top: 18px;
    text-align: left;
  }
}
