:root {
  --ink: #162226;
  --muted: #5c6663;
  --surface: #fbfaf5;
  --surface-2: #f0eee6;
  --line: #d8d2c4;
  --teal: #286b67;
  --teal-dark: #174a49;
  --copper: #b56f3e;
  --copper-dark: #7d482a;
  --blue: #234b63;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(22, 34, 38, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 250, 245, .94);
  border-bottom: 1px solid rgba(216, 210, 196, .86);
  backdrop-filter: blur(14px);
  transition: box-shadow .28s ease, background .28s ease;
}

.site-header.scrolled {
  background: rgba(251, 250, 245, .98);
  box-shadow: 0 12px 30px rgba(22, 34, 38, .1);
}

.nav {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  transition: transform .28s ease;
}

.brand:hover .brand-logo,
.brand:focus .brand-logo {
  transform: rotate(-4deg) scale(1.04);
}

.brand span:last-child {
  display: block;
  font-size: 1rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: .94rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a[aria-current="page"] {
  background: #e6e2d6;
  color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0;
  line-height: 0;
  font-weight: 800;
}

.menu-toggle::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.hero {
  min-height: min(640px, 66dvh);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
  transform: scale(1.04);
  transform-origin: center;
  transition: transform .35s ease-out;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 28, 32, .91), rgba(16, 28, 32, .44) 54%, rgba(16, 28, 32, .18));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 88px 0 66px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 16px;
  color: #d9e7e2;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .78rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 5.6rem;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  font-size: 1.14rem;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: #edf2ef;
  font-size: 1.08rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  max-width: 100%;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--copper);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  text-align: center;
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.button.secondary {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .45);
}

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

.button:hover,
.button:focus {
  filter: brightness(.96);
  outline: 3px solid rgba(181, 111, 62, .28);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(22, 34, 38, .16);
}

.section {
  padding: 82px 22px;
}

.section.alt {
  background: var(--surface-2);
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(22, 34, 38, .06);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(181, 111, 62, .46);
  box-shadow: 0 18px 42px rgba(22, 34, 38, .14);
}

.card-body {
  padding: 24px;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e6e2d8;
  transition: transform .7s ease;
}

.media-card:hover img {
  transform: scale(1.045);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.feature-row img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform .35s ease, box-shadow .35s ease;
}

.feature-row img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 22px 50px rgba(22, 34, 38, .18);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.metric {
  min-height: 120px;
  background: var(--white);
  padding: 22px;
  transition: background .24s ease, transform .24s ease;
}

.metric:hover {
  background: #fbf3e6;
  transform: translateY(-3px);
}

.metric strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.5rem;
  line-height: 1.1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

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

.list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.contact-band {
  background: var(--ink);
  color: var(--white);
}

.contact-band .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.contact-band p {
  color: #d9e4e0;
}

.form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
  font-size: .92rem;
}

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

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(40, 107, 103, .22);
  border-color: var(--teal);
}

.footer {
  padding: 34px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.enhanced .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.enhanced .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .nav {
    min-height: 66px;
    position: relative;
    padding-right: 88px;
  }

  .menu-toggle {
    position: absolute;
    right: 18px;
    top: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 22px 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
  }

  .hero {
    min-height: 620px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  .hero::after {
    background: rgba(16, 28, 32, .76);
  }

  .grid.three,
  .grid.two,
  .feature-row,
  .contact-band .container {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .nav {
    padding-left: 18px;
    padding-right: 76px;
    gap: 12px;
    width: min(100%, 390px);
    margin-left: 0;
    margin-right: auto;
  }

  .brand {
    max-width: 100%;
    gap: 10px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand span:last-child {
    font-size: .95rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    right: 16px;
    min-width: 50px;
    min-height: 44px;
  }

  .section {
    padding: 62px 18px;
  }

  .section .container {
    width: 100%;
    max-width: 354px;
    margin-left: 0;
    margin-right: auto;
  }

  h1 {
    max-width: 100%;
    font-size: 2.55rem;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 1.98rem;
  }

  .hero-content {
    width: calc(100% - 36px);
    max-width: 354px;
    margin-left: 18px;
    margin-right: auto;
    padding-bottom: 46px;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions,
  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

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

  .contact-band .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  html {
    scroll-behavior: auto;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .hero img,
  .button:hover,
  .card:hover,
  .feature-row img:hover,
  .metric:hover {
    transform: none !important;
  }
}
