:root {
  color-scheme: light;
  --ink: #24333b;
  --muted: #5f6d74;
  --paper: #f6f3ee;
  --panel: #ffffff;
  --line: #d8ddd8;
  --green: #1f4d45;
  --green-dark: #173c35;
  --blue: #6d92a8;
  --sage: #8aa091;
  --amber: #c77d25;
  --soft-green: #edf5ef;
  --soft-blue: #eef4ff;
  --shadow: 0 18px 55px rgba(28, 44, 37, 0.14);
}

* {
  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;
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

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

.site-header {
  align-items: center;
  background: rgba(251, 251, 247, 0.93);
  border-bottom: 1px solid rgba(217, 225, 218, 0.92);
  display: flex;
  gap: 28px;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  height: 34px;
  width: 34px;
}

.brand-lockup {
  color: var(--ink);
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.brand-name {
  font-size: 24px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-subtitle {
  color: var(--green);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.34em;
  padding-left: 2px;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: center;
}

.nav-links a,
.header-cta {
  color: #33443d;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.header-cta {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 14px;
}

.hero {
  background-image:
    linear-gradient(90deg, rgba(24, 54, 44, 0.86), rgba(24, 54, 44, 0.58), rgba(24, 54, 44, 0.12)),
    url("./assets/hero-background-brand-v1.jpg");
  background-position: center right;
  background-size: cover;
  color: #ffffff;
  min-height: min(690px, calc(100vh - 72px));
  position: relative;
}

.hero-inner {
  max-width: 760px;
  padding: clamp(74px, 11vw, 128px) clamp(22px, 7vw, 86px) 88px;
  position: relative;
}

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

.hero .eyebrow {
  color: #f2c27e;
}

.hero-tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 680;
  margin: 0 0 14px;
}

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

h1 {
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 22px;
  max-width: 720px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 670px;
}

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

.button {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 760;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

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

.button.primary {
  background: var(--blue);
  color: #ffffff;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

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

.strip-item {
  border-right: 1px solid var(--line);
  min-height: 112px;
  padding: 24px clamp(18px, 3vw, 34px);
}

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

.strip-item strong,
.strip-item span {
  display: block;
}

.strip-item strong {
  font-size: 16px;
  margin-bottom: 7px;
}

.strip-item span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(72px, 9vw, 112px) clamp(18px, 5vw, 70px);
}

.section-heading {
  margin: 0 auto 38px;
  max-width: 820px;
  text-align: center;
}

.section-heading h2,
.about-band h2,
.final-cta h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.fix-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.fix-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 210px;
  padding: 24px;
}

.fix-number {
  color: var(--green);
  display: block;
  font-size: 13px;
  font-weight: 820;
  margin-bottom: 30px;
}

.fix-card h3 {
  font-size: 20px;
  line-height: 1.18;
  margin-bottom: 10px;
}

.fix-card p,
.case-content p,
.pilot-panel li,
.process-list p,
.about-band p,
.final-cta p {
  color: var(--muted);
}

.examples {
  background: #f3f6f1;
}

.case-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: clamp(24px, 5vw, 56px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  margin: 0 auto 26px;
  max-width: 1180px;
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--shadow);
}

.case-card.alt {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.case-card.alt .case-media {
  order: 2;
}

.image-button {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  padding: 0;
  width: 100%;
}

.case-media img,
.case-media picture {
  aspect-ratio: 11 / 15;
  border-radius: 7px;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.case-media picture {
  display: block;
}

.case-kicker {
  color: var(--green);
  font-size: 13px;
  font-weight: 820;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.case-content h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  margin-bottom: 16px;
}

.case-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.case-list li {
  background: var(--soft-green);
  border: 1px solid #d4e4d8;
  border-radius: 7px;
  padding: 12px 14px;
}

.pilot-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: 1060px;
}

.pilot-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.pilot-panel.included {
  background: #ffffff;
}

.pilot-panel.excluded {
  background: var(--soft-blue);
}

.pilot-panel h3 {
  font-size: 24px;
  margin-bottom: 18px;
}

.pilot-panel ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding-left: 20px;
}

.process {
  background: #ffffff;
}

.process-list {
  counter-reset: steps;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0 auto;
  max-width: 1120px;
  padding: 0;
}

.process-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}

.process-list span {
  align-items: center;
  background: var(--green-dark);
  border-radius: 7px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  margin-bottom: 24px;
  width: 34px;
}

.process-list strong {
  display: block;
  font-size: 20px;
  line-height: 1.22;
  margin-bottom: 10px;
}

.about-band {
  align-items: start;
  background: var(--green-dark);
  color: #ffffff;
  display: grid;
  gap: 48px;
  grid-template-columns: 0.9fr 1.1fr;
  padding: clamp(66px, 8vw, 98px) clamp(22px, 7vw, 90px);
}

.about-copy p,
.advantage-stack > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.advantage-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
}

.advantage-grid div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 16px;
}

.advantage-grid strong,
.advantage-grid span {
  display: block;
}

.advantage-grid strong {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 7px;
}

.advantage-grid span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.comparison-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 30px;
  padding-top: 28px;
}

.comparison-panel h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 16px;
}

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

.comparison-grid div {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 16px;
}

.comparison-grid strong,
.comparison-grid span {
  display: block;
}

.comparison-grid strong {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 7px;
}

.comparison-grid span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.final-cta {
  padding: clamp(72px, 9vw, 112px) 22px;
  text-align: center;
}

.final-cta p {
  font-size: 18px;
  margin: 0 auto 26px;
  max-width: 650px;
}

.lightbox {
  background: #ffffff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.32);
  max-height: 92vh;
  max-width: min(980px, 92vw);
  padding: 18px;
}

.lightbox::backdrop {
  background: rgba(14, 22, 19, 0.72);
}

.lightbox img {
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  background: var(--green-dark);
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 760;
  margin-bottom: 12px;
  min-height: 40px;
  padding: 9px 14px;
}

@media (max-width: 960px) {
  .site-header {
    gap: 14px;
  }

  .nav-links {
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    font-size: 13px;
  }

  .problem-strip,
  .fix-grid,
  .pilot-layout,
  .process-list,
  .about-band,
  .advantage-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .strip-item {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .case-card,
  .case-card.alt {
    grid-template-columns: 1fr;
  }

  .case-card.alt .case-media {
    order: 0;
  }

  .case-media img,
  .case-media picture {
    aspect-ratio: 64 / 45;
    max-height: 760px;
    object-fit: contain;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    height: auto;
    min-height: 68px;
    padding: 12px 16px;
  }

  .nav-links {
    order: 3;
    width: 100%;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-subtitle {
    font-size: 9px;
    letter-spacing: 0.28em;
  }

  .header-cta {
    font-size: 13px;
    padding: 9px 10px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-inner {
    padding: 70px 18px 64px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 16px;
  }

  .case-card {
    padding: 14px;
  }

  .case-content h3 {
    font-size: 28px;
  }
}
