:root {
  color-scheme: light;
  --navy: #090a09;
  --navy-2: #050605;
  --forest: #1a3d2b;
  --forest-2: #214934;
  --cream: #f7f4ef;
  --cream-2: #ebe4d8;
  --paper: #fffdf8;
  --copper: #c68642;
  --copper-dark: #9f6229;
  --ink: #142018;
  --muted: #5d675f;
  --line: rgba(26, 61, 43, 0.16);
  --line-dark: rgba(247, 244, 239, 0.16);
  --shadow: 0 22px 54px rgba(13, 27, 42, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

[x-cloak] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid rgba(247, 244, 239, 0.12);
  background: rgba(9, 10, 9, 0.94);
  color: var(--cream);
  backdrop-filter: blur(16px);
}

.brand,
.desktop-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 14px;
  font-size: 0.98rem;
  font-weight: 800;
}

.brand-icon {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    var(--paper)
    url("assets/veach-logo-square.png")
    center 34% / 235% auto
    no-repeat;
  box-shadow: 0 0 0 1px rgba(247, 244, 239, 0.28);
}

.desktop-nav {
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 800;
}

.desktop-nav > a:not(.button) {
  color: rgba(247, 244, 239, 0.78);
}

.desktop-nav > a:not(.button):hover,
.desktop-nav > a:not(.button):focus-visible {
  color: var(--cream);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  line-height: 1;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-copper {
  background: var(--copper);
  color: #17100a;
  box-shadow: 0 16px 34px rgba(198, 134, 66, 0.24);
}

.button-copper:hover,
.button-copper:focus-visible {
  background: #d99a54;
}

.button-small {
  min-height: 42px;
  padding: 11px 16px;
}

.menu-button,
.close-button {
  display: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-button {
  width: 44px;
  height: 44px;
  place-items: center;
}

.menu-button span,
.close-button span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
}

.menu-button span + span {
  margin-top: 7px;
}

.mobile-nav {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: rgba(8, 19, 31, 0.72);
  color: var(--cream);
}

.mobile-nav-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  background: var(--navy);
}

.mobile-nav-panel > a:not(.button) {
  padding: 26px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(2.2rem, 13vw, 4.6rem);
  font-weight: 900;
  line-height: 0.95;
}

.mobile-nav-panel .button {
  margin-top: 30px;
}

.close-button {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
}

.close-button span {
  position: absolute;
  top: 23px;
  left: 12px;
}

.close-button span:first-child {
  transform: rotate(45deg);
}

.close-button span:last-child {
  transform: rotate(-45deg);
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(26, 61, 43, 0.36), transparent 42%),
    var(--navy);
  color: var(--cream);
}

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

.section-warm {
  background: var(--paper);
}

.hero {
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  padding: clamp(42px, 6vw, 70px) 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  width: min(calc(100% - 40px), 1040px);
  margin: 0 auto;
}

.hero-logo-card {
  order: 2;
  width: 100%;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow:
    0 0 0 1px rgba(247, 244, 239, 0.16),
    0 22px 70px rgba(0, 0, 0, 0.28);
}

.hero-content-block {
  order: 1;
}

.hero-logo-card img {
  width: 100%;
  height: auto;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 5.4vw, 5.45rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 830px;
  margin-bottom: 34px;
  color: rgba(247, 244, 239, 0.8);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.trust-bar {
  border-bottom: 1px solid var(--line);
  background: var(--forest);
  color: var(--cream);
}

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

.trust-grid div {
  min-height: 104px;
  padding: 24px 20px;
  border-left: 1px solid rgba(247, 244, 239, 0.14);
}

.trust-grid div:last-child {
  border-right: 1px solid rgba(247, 244, 239, 0.14);
}

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

.trust-grid strong {
  color: #fff8ec;
  font-size: 1.28rem;
  line-height: 1.1;
}

.trust-grid span {
  margin-top: 8px;
  color: rgba(247, 244, 239, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.about,
.services,
.engagement,
.industries,
.proof,
.final-cta {
  padding: clamp(72px, 9vw, 118px) 0;
}

.compact {
  padding-block: clamp(64px, 8vw, 94px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.section-heading.narrow {
  max-width: 820px;
  margin-bottom: 38px;
}

.prose {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.13rem);
}

.prose p {
  margin-bottom: 22px;
}

.prose p:last-child {
  margin-bottom: 0;
  color: var(--forest);
  font-weight: 800;
}

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

.service-card {
  min-height: 330px;
  padding: 26px;
  border: 1px solid var(--line);
  border-left: 5px solid rgba(26, 61, 43, 0.72);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 12px 34px rgba(13, 27, 42, 0.06);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-card:hover {
  border-left-color: var(--copper);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 68px;
  place-items: center;
  border-radius: 50%;
  background: rgba(198, 134, 66, 0.14);
  color: var(--copper-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card p,
.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.steps article {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.steps span {
  display: block;
  margin-bottom: 46px;
  color: var(--copper-dark);
  font-weight: 900;
}

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ede7dc;
}

.inline-cta strong {
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  line-height: 1.05;
}

.industries .section-label {
  color: var(--copper);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-grid span {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(247, 244, 239, 0.16);
  border-radius: 999px;
  background: rgba(247, 244, 239, 0.06);
  color: rgba(247, 244, 239, 0.88);
  font-weight: 800;
}

.compliance-note {
  max-width: 780px;
  margin: 26px 0 0;
  color: rgba(247, 244, 239, 0.66);
  font-size: 0.95rem;
}

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

.quote-card {
  min-height: 420px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-left: 6px solid var(--forest);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 12px 34px rgba(13, 27, 42, 0.06);
}

.quote-card blockquote {
  position: relative;
  margin-bottom: 30px;
  color: #203124;
  font-size: clamp(1.02rem, 1.55vw, 1.23rem);
  line-height: 1.58;
}

.quote-card blockquote::before {
  display: block;
  margin-bottom: 12px;
  color: var(--copper);
  content: "“";
  font-family: Georgia, serif;
  font-size: 4.8rem;
  line-height: 0.65;
}

.quote-card figcaption strong,
.quote-card figcaption span {
  display: block;
}

.quote-card figcaption strong {
  color: var(--forest);
}

.quote-card figcaption span {
  margin-top: 4px;
  color: var(--muted);
}

.final-cta {
  text-align: center;
}

.final-cta-inner {
  max-width: 820px;
}

.final-cta h2 {
  margin-bottom: 18px;
}

.final-cta p:not(.section-label) {
  max-width: 760px;
  margin: 0 auto 30px;
  color: rgba(247, 244, 239, 0.76);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(20px, 4vw, 48px);
  background: var(--cream);
  color: var(--muted);
  font-size: 0.92rem;
}

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

.site-footer p {
  justify-self: end;
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-weight: 800;
  color: var(--ink);
}

.legal-hero {
  padding: clamp(62px, 9vw, 112px) 0 clamp(44px, 7vw, 76px);
}

.legal-hero-inner {
  width: min(calc(100% - 40px), 980px);
  margin: 0 auto;
}

.legal-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
}

.legal-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(247, 244, 239, 0.76);
  font-size: clamp(1.04rem, 1.7vw, 1.24rem);
}

.legal-layout {
  padding: clamp(54px, 8vw, 92px) 0;
}

.legal-card {
  width: min(calc(100% - 40px), 980px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(13, 27, 42, 0.06);
}

.legal-meta {
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.legal-section + .legal-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 12px;
  color: var(--forest);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.15;
}

.legal-section h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
}

.legal-section a {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(26, 61, 43, 0.36);
  text-underline-offset: 3px;
}

.legal-section p {
  margin-bottom: 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-list li + li {
  margin-top: 8px;
}

.legal-contact {
  margin-top: 14px;
  padding: 18px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 800;
}

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

  .menu-button {
    display: grid;
  }

  .brand span {
    max-width: 190px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-logo-card {
    order: 1;
    width: min(430px, 100%);
  }

  .hero-content-block {
    order: 2;
  }

  .trust-grid,
  .service-grid,
  .steps,
  .quote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .wrap,
  .hero-inner {
    width: min(calc(100% - 30px), var(--max));
  }

  .site-header {
    min-height: 70px;
    padding: 9px 15px;
  }

  .brand {
    gap: 10px;
    font-size: 0.9rem;
  }

  .brand-icon {
    width: 46px;
    height: 46px;
  }

  .hero {
    padding: 42px 0 58px;
  }

  .hero-logo-card {
    width: min(310px, 100%);
    margin-bottom: 24px;
    padding: 14px 16px;
  }

  h1 {
    font-size: clamp(3.05rem, 14vw, 4.65rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.45rem);
  }

  .button {
    width: 100%;
  }

  .trust-grid,
  .service-grid,
  .steps,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid div,
  .trust-grid div:last-child {
    min-height: auto;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(247, 244, 239, 0.14);
  }

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

  .service-icon {
    margin-bottom: 42px;
  }

  .inline-cta {
    align-items: stretch;
    flex-direction: column;
  }

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

  .site-footer nav {
    flex-direction: column;
    gap: 8px;
  }
}

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