:root {
  color-scheme: light;
  --ink: #1b1713;
  --muted: #665b50;
  --green: #173323;
  --green-2: #244d34;
  --cedar: #7b3f1e;
  --gold: #d8a85d;
  --paper: #fffaf1;
  --panel: #fffdf8;
  --wash: #f1e8d9;
  --line: rgba(56, 36, 20, 0.18);
  --shadow: 0 14px 34px rgba(25, 18, 10, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 10px clamp(16px, 4vw, 44px);
  background: rgba(255, 250, 241, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
}

.menu-button {
  display: none;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--green);
  color: #fff9ed;
  font: inherit;
  font-weight: 900;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--muted);
  border-radius: var(--radius);
  font-weight: 800;
}

nav a:hover,
nav a:focus-visible {
  color: var(--green);
  background: var(--wash);
}

nav .nav-cta {
  background: var(--cedar);
  color: #fff9ed;
}

nav .nav-cta:hover,
nav .nav-cta:focus-visible {
  background: var(--green);
  color: #fff9ed;
}

.hero {
  position: relative;
  min-height: clamp(560px, 82svh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #102016;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 19, 12, 0.88), rgba(13, 19, 12, 0.48) 58%, rgba(13, 19, 12, 0.18)),
    linear-gradient(0deg, rgba(13, 19, 12, 0.8), transparent 48%);
}

.hero-content {
  position: relative;
  min-width: 0;
  width: min(100% - 32px, 760px);
  margin: 0 clamp(16px, 5vw, 72px);
  padding: 0 0 clamp(34px, 8vw, 78px);
  color: #fff7e8;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 3.4vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-summary {
  max-width: 650px;
  margin-bottom: 12px;
  font-size: clamp(1.08rem, 2.2vw, 1.34rem);
}

.hero-area {
  max-width: 700px;
  margin-bottom: 22px;
  color: #f7e8d0;
}

.quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  font-weight: 900;
}

.quick-contact a {
  color: #fff7e8;
}

.actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: var(--green);
  color: #fff9ed;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  background: var(--cedar);
}

.button.secondary {
  background: #fff7e8;
  color: var(--green);
  border-color: var(--line);
}

.button.ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--line);
}

.section,
.band {
  padding: clamp(42px, 7vw, 84px) clamp(16px, 5vw, 72px);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
}

.band {
  background: var(--green);
  color: #fff7e8;
}

.section-heading {
  min-width: 0;
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading p,
.split p,
.muted,
.field-help {
  max-width: 70ch;
  color: var(--muted);
}

.feature-list,
.equipment-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li,
.equipment-list li {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  font-weight: 850;
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cedar);
}

.cord-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(20px, 4vw, 36px);
  align-items: start;
}

.cord-diagram {
  margin: 0;
  padding: clamp(12px, 3vw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 10px 28px rgba(25, 18, 10, 0.08);
}

.cord-diagram svg {
  width: 100%;
}

.cord-diagram text {
  fill: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.cord-diagram line {
  stroke: var(--green);
  stroke-width: 2;
}

.measure-grid,
.card-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cord-layout .measure-grid {
  grid-template-columns: 1fr;
}

.card-grid.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.measure-grid article,
.card-grid article,
.steps article {
  min-width: 0;
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(25, 18, 10, 0.07);
}

.measure-grid p,
.card-grid p,
.steps p {
  margin-bottom: 10px;
  color: var(--muted);
}

.card-grid ul {
  min-width: 0;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.card-grid li {
  margin: 6px 0;
  overflow-wrap: anywhere;
}

.note,
.form-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--cedar);
  background: var(--wash);
  color: var(--ink);
  font-weight: 800;
}

.equipment-list span,
.steps span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff9ed;
  font-size: 0.78rem;
  font-weight: 900;
}

.steps article span {
  margin-bottom: 14px;
}

.request-section {
  max-width: 1010px;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(25, 18, 10, 0.08);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.form-group label {
  color: var(--ink);
  font-weight: 900;
}

.request-choice p {
  margin: 4px 0 12px;
  color: var(--muted);
}

.choice-row,
.conditional-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice-card {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.choice-card:has(input:checked) {
  border-color: var(--cedar);
  box-shadow: inset 0 0 0 2px rgba(123, 63, 30, 0.25);
}

.choice-card input,
.confirm-box input {
  width: auto;
  min-height: auto;
}

.form-group {
  display: grid;
  gap: 7px;
}

.required {
  color: var(--muted);
  font-size: 0.9em;
  font-weight: 700;
}

.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

textarea {
  resize: vertical;
}

.field-help {
  margin: 0;
  font-size: 0.92rem;
}

.confirm-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 800;
}

.confirm-box input {
  margin-top: 5px;
  flex: 0 0 auto;
}

.form-error,
.form-status {
  min-height: 1.4em;
  margin: 0;
  font-weight: 850;
}

.form-error {
  color: #8a1f12;
}

.form-status {
  color: var(--green);
}

.split {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 58px);
}

.split > * {
  min-width: 0;
}

.split img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-area {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 4px solid var(--cedar);
  background: var(--wash);
  color: var(--ink);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: start;
}

.contact h2 {
  margin-bottom: 0;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-list a {
  min-height: 72px;
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 247, 232, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 247, 232, 0.08);
  color: #fff7e8;
  text-decoration: none;
}

.contact-list strong {
  color: var(--gold);
}

.contact-list span {
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 22px clamp(16px, 5vw, 72px);
  background: #120f0c;
  color: #fff7e8;
}

footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .card-grid.four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cord-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .feature-list,
  .measure-grid,
  .card-grid,
  .steps,
  .equipment-list,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 68px;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 62px;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 4px;
  }

  nav.is-open {
    display: flex;
  }

  nav a {
    width: 100%;
    justify-content: center;
    background: var(--wash);
  }

  nav .nav-cta {
    background: var(--cedar);
  }

  .hero {
    min-height: 570px;
  }

  .hero-content {
    width: min(100% - 28px, 620px);
    margin: 0 auto;
    padding-bottom: 34px;
  }

  h1 {
    font-size: clamp(1.95rem, 9.5vw, 2.65rem);
  }

  h2 {
    font-size: clamp(1.45rem, 7.2vw, 1.9rem);
  }

  .button,
  .hero-actions .button {
    width: 100%;
  }

  .quick-contact {
    display: grid;
    gap: 4px;
  }

  .quick-contact span {
    display: none;
  }

  .request-form,
  .choice-row,
  .conditional-grid,
  .contact-list,
  .split {
    grid-template-columns: 1fr;
  }

  .cord-diagram {
    overflow-x: auto;
  }

  .cord-diagram svg {
    min-width: 600px;
  }

  footer {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .brand span {
    max-width: 190px;
    white-space: normal;
    line-height: 1.1;
  }

  .section,
  .band {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cord-diagram svg {
    min-width: 560px;
  }
}

@supports not selector(:has(*)) {
  .choice-card input:checked + span {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
