:root {
  color-scheme: light;
  --ink: #111713;
  --ink-soft: #38413b;
  --muted: #6d756f;
  --line: #dfe5df;
  --paper: #fbfcf9;
  --white: #ffffff;
  --green: #12875a;
  --green-dark: #0b5a3d;
  --yellow: #f4c84a;
  --yellow-dark: #c59610;
  --clay: #a9573c;
  --orange: #e58d1b;
  --navy: #173c58;
  --shadow: 0 24px 70px rgba(13, 20, 16, 0.18);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 48px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 252, 249, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 36px rgba(17, 23, 19, 0.1);
  backdrop-filter: blur(12px);
}

.brand,
.site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand img,
.site-footer img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  object-fit: cover;
}

.site-header.is-scrolled .brand img {
  border-color: rgba(17, 23, 19, 0.16);
}

.site-nav {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a,
.text-link {
  text-decoration: none;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--green);
}

.header-cta {
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-header.is-scrolled .header-cta {
  border-color: var(--line);
}

.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 12, 8, 0.82) 0%, rgba(5, 12, 8, 0.62) 38%, rgba(5, 12, 8, 0.14) 72%),
    url("assets/courier-hero.png") center / cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(5, 12, 8, 0.34), rgba(5, 12, 8, 0));
}

.hero-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding-top: 82px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.thanks-card h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(4rem, 11vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  width: 100%;
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 2vw, 1.36rem);
  line-height: 1.55;
  overflow-wrap: break-word;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  background: var(--yellow);
  color: var(--ink);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button:hover {
  transform: translateY(-1px);
}

.request-strip {
  width: min(var(--max), calc(100% - 36px));
  margin: -44px auto 0;
  position: relative;
  z-index: 2;
}

.quick-request {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 14px;
}

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

label span {
  font-size: 0.82rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(18, 135, 90, 0.14);
}

.hidden {
  display: none;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 118px) 0;
}

.section-heading {
  max-width: 760px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.service-grid,
.gallery-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

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

.service-card,
.process-grid article,
.coverage-panel,
.proof-stats,
.gallery-feature,
.gallery-card,
.gallery-slot,
.request-form,
.thanks-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  min-height: 250px;
  padding: 24px;
}

.service-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #e9f5ee;
  color: var(--green-dark);
  font-weight: 900;
}

.service-card h3,
.process-grid h3 {
  margin: 26px 0 10px;
  font-size: 1.28rem;
}

.service-card p,
.process-grid p,
.coverage-copy p,
.proof-copy p,
.section-heading > p:not(.eyebrow),
.site-footer p,
.thanks-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading > p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 18px;
}

.proof {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.proof-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1;
}

.proof-copy p {
  max-width: 650px;
  margin-top: 22px;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.proof-stats div {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.proof-stats div:last-child {
  border-right: 0;
}

.proof-stats strong {
  color: var(--green-dark);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 0.95;
}

.proof-stats span,
.gallery-card span,
.gallery-feature span,
.gallery-slot span {
  color: var(--muted);
  line-height: 1.55;
}

.gallery {
  border-top: 1px solid var(--line);
}

.gallery-grid {
  grid-template-columns: 1.25fr 0.75fr;
  grid-auto-rows: minmax(220px, auto);
}

.gallery-feature,
.gallery-card {
  margin: 0;
  overflow: hidden;
}

.gallery-feature {
  grid-row: span 2;
}

.gallery-feature img,
.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.gallery-card img {
  min-height: 190px;
}

.gallery-feature figcaption,
.gallery-card figcaption {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.gallery-feature strong,
.gallery-card strong,
.gallery-slot strong {
  font-size: 1.18rem;
}

.gallery-slot {
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 220px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(244, 200, 74, 0.32), rgba(18, 135, 90, 0.1)),
    var(--white);
}

.process {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.process-grid article {
  padding: 20px;
}

.process-grid span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 900;
}

.coverage {
  display: grid;
  grid-template-columns: 1fr minmax(290px, 0.72fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.coverage-copy p {
  max-width: 660px;
  margin-top: 22px;
}

.coverage-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.coverage-panel div {
  display: grid;
  gap: 5px;
  padding: 28px;
  background: var(--white);
}

.coverage-panel strong {
  font-size: 1.65rem;
}

.coverage-panel span {
  color: var(--muted);
  font-weight: 800;
}

.request-section {
  padding-top: 0;
}

.request-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  padding: clamp(18px, 4vw, 34px);
}

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

.text-link {
  color: var(--green-dark);
  font-weight: 900;
}

.request-section .section-heading a,
.site-footer a {
  color: inherit;
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 48px);
  background: var(--ink);
  color: var(--white);
}

.site-footer img {
  border-color: rgba(255, 255, 255, 0.18);
}

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

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

.thanks-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(5, 12, 8, 0.82), rgba(5, 12, 8, 0.3)),
    url("assets/courier-hero.png") center / cover no-repeat;
}

.thanks-card {
  width: min(620px, 100%);
  padding: clamp(26px, 6vw, 52px);
  box-shadow: var(--shadow);
}

.thanks-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
}

.thanks-card h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  margin-bottom: 22px;
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
  }

  .quick-request,
  .service-grid,
  .process-grid,
  .proof,
  .proof-stats,
  .gallery-grid,
  .coverage,
  .form-row {
    grid-template-columns: 1fr;
  }

  .proof-stats div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-stats div:last-child {
    border-bottom: 0;
  }

  .request-strip {
    margin-top: 18px;
  }

  .hero {
    min-height: 78svh;
    background-position: 58% center;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 6rem);
  }

  .process-grid {
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span {
    max-width: 100px;
    line-height: 1.05;
  }

  .header-cta {
    display: none;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(5, 12, 8, 0.86) 0%, rgba(5, 12, 8, 0.58) 64%, rgba(5, 12, 8, 0.18) 100%),
      url("assets/courier-hero.png") 60% center / cover no-repeat;
  }

  .hero-inner {
    width: calc(100% - 28px);
    max-width: var(--max);
  }

  .hero-copy {
    max-width: 32ch;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .service-card {
    min-height: auto;
  }

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