* {
  box-sizing: border-box;
}

:root {
  --forest-950: #122119;
  --forest-900: #172d21;
  --forest-800: #214632;
  --forest-700: #2f6044;
  --cream-50: #fffaf0;
  --cream-100: #f5ead7;
  --cream-200: #e8d8bc;
  --amber-400: #f2b544;
  --amber-500: #dd941f;
  --rust-600: #a64d2d;
  --ink: #18231d;
  --muted: #5d675f;
  --line: rgba(24, 35, 29, 0.16);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 33, 25, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(18, 33, 25, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
}

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

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

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid var(--amber-400);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  left: 0;
  top: 0;
  z-index: 100;
  white-space: nowrap;
  padding: 10px 14px;
  color: var(--forest-950);
  background: var(--amber-400);
  font-weight: 900;
}

.skip-link:focus {
  position: fixed;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  left: 14px;
  top: 14px;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 3vw, 44px);
  min-height: 72px;
  padding: 12px clamp(14px, 4vw, 54px);
  color: var(--cream-50);
  background: rgba(18, 33, 25, 0.91);
  border-bottom: 1px solid rgba(255, 250, 240, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--forest-950);
  background:
    linear-gradient(135deg, var(--amber-400), #ffe0a0);
  font-size: 1.25rem;
  font-weight: 1000;
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
}

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

.brand strong {
  font-size: 1rem;
  font-weight: 1000;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.92rem;
  font-weight: 800;
}

nav a,
.proof-card,
.button,
.header-call {
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

nav a:hover {
  color: var(--cream-50);
}

.header-call {
  justify-self: end;
  min-height: 42px;
  min-width: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  color: var(--forest-950);
  background: var(--amber-400);
  font-weight: 1000;
}

.hero {
  position: relative;
  min-height: calc(92vh - 72px);
  overflow: hidden;
  display: grid;
  align-items: end;
  background: var(--forest-950);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 44% 52%;
  filter: saturate(1.02) contrast(1.08) brightness(0.86);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 33, 25, 0.9) 0%, rgba(18, 33, 25, 0.7) 43%, rgba(18, 33, 25, 0.28) 76%),
    linear-gradient(0deg, rgba(18, 33, 25, 0.82) 0%, rgba(18, 33, 25, 0.28) 52%, rgba(18, 33, 25, 0.14) 100%);
}

.hazard-rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background:
    repeating-linear-gradient(135deg, var(--amber-400) 0 18px, var(--forest-950) 18px 36px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 132px 0 clamp(48px, 8vh, 86px);
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 360px);
  align-items: end;
  gap: clamp(26px, 6vw, 70px);
  color: var(--cream-50);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--amber-400);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 6.2vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.12;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid transparent;
  font-weight: 1000;
}

.button.primary {
  color: var(--forest-950);
  background: var(--amber-400);
}

.button.secondary {
  color: var(--cream-50);
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(255, 250, 240, 0.42);
}

.button.secondary.light {
  color: var(--forest-950);
  background: rgba(255, 250, 240, 0.78);
  border-color: rgba(18, 33, 25, 0.18);
}

.button:hover,
.header-call:hover,
.proof-card:hover {
  transform: translateY(-2px);
}

.response-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  color: var(--forest-950);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.93), rgba(245, 234, 215, 0.82));
  border-left: 10px solid var(--amber-400);
  box-shadow: 0 30px 74px rgba(0, 0, 0, 0.25);
}

.response-card span,
.fact-strip span,
.proof-card span,
.contact-details span,
.number {
  color: var(--rust-600);
  font-size: 0.75rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.response-card strong {
  font-size: 1.16rem;
  line-height: 1.28;
}

.response-card a {
  width: fit-content;
  padding-bottom: 3px;
  color: var(--forest-800);
  border-bottom: 2px solid var(--amber-500);
  font-weight: 1000;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--cream-50);
  background: var(--forest-900);
}

.fact-strip div {
  min-height: 104px;
  padding: 22px clamp(16px, 4vw, 54px);
  border-right: 1px solid rgba(255, 250, 240, 0.14);
}

.fact-strip div:last-child {
  border-right: 0;
}

.fact-strip span {
  color: var(--amber-400);
}

.fact-strip strong {
  display: block;
  margin-top: 5px;
  font-size: 1.02rem;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(16px, 4vw, 54px);
}

.section-intro,
.service-copy,
.proof-section > div:first-child {
  max-width: 820px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.priority-grid article {
  min-height: 238px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 250, 240, 0.9);
}

.priority-grid p,
.service-copy p,
.service-list p,
.proof-card p,
.contact-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.media-band {
  display: grid;
  grid-template-columns: 1.28fr 0.86fr 0.86fr;
  gap: 12px;
  padding: 12px;
  background: var(--forest-950);
}

.media-tile {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  background: var(--forest-900);
}

.media-tile.large {
  min-height: 520px;
}

.media-tile picture,
.media-tile img {
  width: 100%;
  height: 100%;
}

.media-tile img {
  object-fit: cover;
  object-position: 50% 50%;
}

.media-tile.large img {
  object-position: 45% 50%;
}

.media-tile.amber img {
  object-position: 52% 58%;
}

.media-tile figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 11px;
  color: var(--forest-950);
  background: var(--amber-400);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.services-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(242, 181, 68, 0.16), transparent 42%),
    var(--cream-100);
}

.service-copy {
  position: sticky;
  top: 96px;
  margin-bottom: 0;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-list article {
  padding: clamp(22px, 3vw, 30px);
  background: var(--cream-50);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(18, 33, 25, 0.06);
}

.proof-section {
  background: var(--cream-50);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.proof-card {
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--forest-900);
  color: var(--cream-50);
  border-top: 8px solid var(--amber-400);
}

.proof-card span {
  color: var(--amber-400);
}

.proof-card strong {
  font-size: 1.4rem;
  line-height: 1.12;
}

.proof-card p {
  color: rgba(255, 250, 240, 0.78);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1px;
  padding: 0;
  background: rgba(255, 250, 240, 0.18);
}

.contact-panel,
.contact-details {
  padding: clamp(34px, 6vw, 76px) clamp(16px, 4vw, 54px);
}

.contact-panel {
  background:
    linear-gradient(135deg, rgba(18, 33, 25, 0.93), rgba(33, 70, 50, 0.93)),
    var(--forest-900);
  color: var(--cream-50);
}

.contact-panel h2 {
  max-width: 720px;
}

.contact-panel p {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 250, 240, 0.8);
}

.contact-details {
  display: grid;
  align-content: center;
  gap: 18px;
  background: var(--amber-400);
}

.contact-details div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(18, 33, 25, 0.22);
}

.contact-details div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-details strong {
  display: block;
  margin-top: 5px;
  font-size: 1.1rem;
  line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

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

  nav {
    display: none;
  }

  .hero-inner,
  .services-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .response-card {
    max-width: 430px;
  }

  .priority-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .media-band {
    grid-template-columns: 1fr 1fr;
  }

  .media-tile.large {
    grid-column: 1 / -1;
    min-height: 440px;
  }

  .service-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    padding: 10px 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.66rem;
  }

  .header-call {
    min-width: 68px;
    min-height: 40px;
  }

  .hero {
    min-height: calc(91vh - 64px);
  }

  .hero-media img {
    object-position: 48% 50%;
  }

  .hero-inner {
    width: min(100% - 24px, 1160px);
    padding: 98px 0 34px;
    gap: 20px;
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(2.35rem, 15vw, 3.3rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.8rem, 11vw, 2.65rem);
    line-height: 1.04;
  }

  .hero-copy > p:not(.eyebrow),
  .contact-panel p {
    font-size: 0.98rem;
  }

  .hero-actions,
  .contact-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
  }

  .response-card {
    padding: 16px;
  }

  .fact-strip {
    grid-template-columns: 1fr;
  }

  .fact-strip div {
    min-height: auto;
    padding: 18px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.14);
  }

  .fact-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 52px 14px;
  }

  .priority-grid article,
  .service-list article,
  .proof-card {
    min-height: auto;
    padding: 20px;
  }

  .media-band {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .media-tile,
  .media-tile.large {
    grid-column: auto;
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .media-tile figcaption {
    left: 10px;
    bottom: 10px;
  }

  .contact-panel,
  .contact-details {
    padding: 42px 14px;
  }
}

@media (max-width: 340px) {
  .brand {
    gap: 8px;
  }

  .brand small {
    display: none;
  }

  .header-call {
    min-width: 62px;
    padding: 0 12px;
  }

  .response-card {
    display: none;
  }

  .hero-inner {
    width: min(100% - 20px, 1160px);
  }

  h1 {
    font-size: 2.18rem;
  }
}
