:root {
  --ink: #172126;
  --muted: #526067;
  --paper: #fff;
  --soft: #f1f3f2;
  --brand: #d6a316;
  --brand-dark: #a77900;
  --dark: #10191d;
  --line: #d9dfdc;
  --focus: #1769aa;
  --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: .7rem 1rem;
  color: #fff;
  background: var(--dark);
}
.skip-link:focus { top: 1rem; }
.shell { width: min(calc(100% - 2.5rem), var(--shell)); margin-inline: auto; }
.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 2rem; }
.brand img { display: block; width: 82px; height: auto; }
nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
nav a, .footer-inner a { font-weight: 700; text-decoration: none; }
nav a:hover, .footer-inner a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 16, 20, .95), rgba(8, 16, 20, .76)),
    url('/frontend/background.jpg') center/cover;
}
.hero-grid { min-height: 610px; display: grid; grid-template-columns: 1.35fr .75fr; align-items: center; gap: 4rem; padding-block: 5rem; }
.eyebrow { margin: 0 0 .8rem; color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.16; }
h1 { max-width: 800px; margin-bottom: 1.4rem; font-size: clamp(2.5rem, 5.5vw, 4.8rem); letter-spacing: -.04em; }
h2 { margin-bottom: 1.2rem; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.025em; }
h3 { font-size: 1.2rem; }
.lead { max-width: 690px; color: #e2e8e5; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border: 2px solid var(--brand);
  color: #111;
  background: var(--brand);
  font-weight: 800;
  text-decoration: none;
}
.button:hover { border-color: #efbf35; background: #efbf35; }
.button-small { min-height: 42px; padding: .45rem .9rem; }
.button-outline { color: #fff; border-color: currentColor; background: transparent; }
.header-inner .button-outline { color: var(--ink); }
.button-outline:hover { color: #111; border-color: #fff; background: #fff; }
.choice-card { border-top: 5px solid var(--brand); color: var(--ink); background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.choice-card > div { padding: 1.7rem; }
.choice-card > div + div { border-top: 1px solid var(--line); background: var(--soft); }
.choice-card h2 { margin-bottom: .6rem; font-size: 1.45rem; }
.choice-card a, .text-link { color: var(--brand-dark); font-weight: 800; text-underline-offset: 4px; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-muted { background: var(--soft); }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); }
.split p:first-child { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.cards article { padding: 2rem; border: 1px solid var(--line); background: #fff; }
.cards article > span { display: block; margin-bottom: 1.5rem; color: var(--brand-dark); font-weight: 800; }
.worker-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.check-list { margin: 0; padding: 2rem; list-style: none; border-left: 5px solid var(--brand); background: var(--soft); }
.check-list li { position: relative; padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--line); font-weight: 700; }
.check-list li:last-child { border: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-dark); }
.section-dark { color: #fff; background: var(--dark); }
.cards-dark article { border-color: #344047; background: #19252a; }
.cards-dark p { color: #c8d0cd; }
.contact { padding-block: 4rem; background: var(--brand); }
.contact .eyebrow { color: #292000; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.contact-inner > div { max-width: 760px; }
.contact-inner h2 { margin-bottom: .5rem; }
.button-light { flex: 0 0 auto; border-color: var(--dark); color: #fff; background: var(--dark); }
footer { color: #dbe2df; background: #091014; }
.footer-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

@media (max-width: 850px) {
  .header-inner { flex-wrap: wrap; gap: .8rem 1.2rem; padding-block: .8rem; }
  nav { order: 3; width: 100%; margin: 0; padding-top: .7rem; border-top: 1px solid var(--line); overflow-x: auto; }
  .header-inner .button { margin-left: auto; }
  .hero-grid, .split, .worker-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 2.5rem; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 1.5rem), var(--shell)); }
  nav { gap: 1.1rem; font-size: .9rem; }
  .hero-grid { min-height: auto; padding-block: 3.5rem; }
  h1 { font-size: 2.45rem; }
  .actions .button { width: 100%; }
  .contact-inner, .footer-inner { align-items: stretch; flex-direction: column; }
  .contact-inner .button { align-self: flex-start; }
  .footer-inner { min-height: auto; padding-block: 1.5rem; }
}

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