:root {
  --ink: #10201d;
  --muted: #60716c;
  --forest: #163c34;
  --forest-2: #0f2b27;
  --gold: #c79b46;
  --gold-2: #f0d58f;
  --paper: #fbfaf5;
  --mist: #edf2ee;
  --line: #d9e1db;
  --white: #ffffff;
  --shadow: 0 24px 70px rgb(10 32 29 / 18%);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.65rem 0.85rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgb(251 250 245 / 94%);
  box-shadow: 0 10px 30px rgb(16 32 29 / 10%);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: 0;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  color: var(--forest);
  border-color: var(--gold);
}

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

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

.brand small {
  margin-top: 0.1rem;
  color: currentColor;
  font-size: 0.78rem;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgb(11 28 26 / 88%) 0%, rgb(11 28 26 / 66%) 43%, rgb(11 28 26 / 20%) 100%),
    linear-gradient(0deg, rgb(11 28 26 / 88%) 0%, rgb(11 28 26 / 0%) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 8rem 0 2rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold-2);
}

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

h1,
h2,
h3 {
  line-height: 1.05;
}

h1 {
  max-width: 850px;
  margin-bottom: 1.2rem;
  margin-right: auto;
  margin-left: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 6.7rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.5vw, 4.3rem);
  font-weight: 700;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 670px;
  margin-right: auto;
  margin-bottom: 1.6rem;
  margin-left: auto;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1.03rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 4rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--forest-2);
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.button-secondary {
  color: var(--white);
  background: rgb(255 255 255 / 12%);
  border-color: rgb(255 255 255 / 42%);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 870px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 20%);
}

.proof-strip div {
  padding: 1rem;
  background: rgb(11 28 26 / 54%);
}

.proof-strip dt {
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
}

.proof-strip dd {
  margin: 0.3rem 0 0;
  color: rgb(255 255 255 / 82%);
  font-size: 0.9rem;
}

.section-pad {
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.content-grid,
.about-panel,
.contact-wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.lead-copy,
.about-copy,
.contact-wrap p {
  color: var(--muted);
  font-size: 1.05rem;
}

.muted-band {
  background: var(--mist);
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.section-heading h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.service-grid,
.fit-list,
.process-list {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

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

.service-card {
  min-height: 260px;
  padding: 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgb(16 32 29 / 6%);
  text-align: center;
}

.service-card p,
.fit-list p,
.process-list p {
  color: var(--muted);
}

.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 1.4rem;
  margin-right: auto;
  margin-left: auto;
  color: var(--forest);
  background: #f6efd8;
  border-radius: 50%;
  font-weight: 900;
}

.about-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--forest);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--white);
}

.about-panel h2 {
  color: var(--white);
}

.about-copy,
.about-copy .note {
  color: rgb(255 255 255 / 82%);
}

.note {
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 18%);
  font-size: 0.92rem;
}

.fit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.fit-list div {
  padding-top: 1.2rem;
  border-top: 3px solid var(--gold);
  text-align: center;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 250px;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.process-list span {
  display: block;
  margin-bottom: 2rem;
  color: var(--gold);
  font-weight: 900;
}

.contact {
  color: var(--white);
  background: var(--forest-2);
}

.contact-wrap {
  align-items: stretch;
}

.contact h2,
.contact p {
  color: var(--white);
}

.contact p {
  max-width: 540px;
  color: rgb(255 255 255 / 78%);
}

.contact-details {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
  color: var(--gold-2);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem;
  color: var(--ink);
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgb(199 155 70 / 30%);
  border-color: var(--gold);
}

.contact-form .button {
  width: fit-content;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem clamp(1rem, 4vw, 3rem);
  background: #081815;
  color: rgb(255 255 255 / 78%);
}

.site-footer div {
  display: grid;
  gap: 0.15rem;
}

.site-footer strong {
  color: var(--white);
}

.site-footer a {
  color: var(--gold-2);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    padding: 0.75rem 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 1rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .hero {
    min-height: 880px;
  }

  .hero-content {
    padding-top: 7rem;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgb(11 28 26 / 92%) 0%, rgb(11 28 26 / 70%) 62%, rgb(11 28 26 / 22%) 100%),
      linear-gradient(90deg, rgb(11 28 26 / 78%) 0%, rgb(11 28 26 / 10%) 100%);
  }

  .proof-strip,
  .service-grid,
  .fit-list,
  .process-list,
  .content-grid,
  .about-panel,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    max-width: 420px;
  }

  .service-card,
  .process-list li {
    min-height: auto;
  }
}

@media (max-width: 540px) {
  .brand strong {
    font-size: 0.95rem;
  }

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

  .hero {
    min-height: 820px;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .contact-form .button {
    width: 100%;
  }

  .proof-strip div {
    padding: 0.85rem;
  }
}

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