:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --paper-strong: #fffdf8;
  --ink: #171b1b;
  --muted: #5f6864;
  --line: rgba(23, 27, 27, 0.14);
  --teal: #116c64;
  --teal-dark: #0c4744;
  --moss: #6c7a42;
  --copper: #b86b43;
  --graphite: #27302f;
  --shadow: 0 24px 70px rgba(21, 29, 28, 0.14);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  padding: 0.7rem 1rem;
  transition: transform 180ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(245, 243, 238, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.92rem;
  line-height: 1;
}

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

.site-nav a,
.lang-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.lang-toggle:hover,
.lang-toggle:focus-visible {
  border-bottom-color: currentColor;
}

.nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0 1rem;
}

.lang-toggle {
  justify-content: center;
  min-width: 44px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  padding: 0 0.72rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 820;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span:nth-child(2) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(4) {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 8.4rem clamp(1rem, 4vw, 3rem) 5rem;
  color: white;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 20, 20, 0.84) 0%, rgba(13, 20, 20, 0.58) 36%, rgba(13, 20, 20, 0.18) 74%),
    linear-gradient(0deg, rgba(13, 20, 20, 0.4), rgba(13, 20, 20, 0.08));
}

.hero-content {
  position: relative;
  width: min(720px, 100%);
  margin-inline: auto;
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1bc86;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(3.5rem, 9vw, 8.2rem);
  line-height: 0.88;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  margin: 1.35rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 760;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: #f3b36f;
  color: #17120c;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: white;
}

.intro-band {
  background: var(--ink);
  color: white;
  padding: 1.15rem clamp(1rem, 4vw, 3rem);
}

.intro-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
}

.intro-grid p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.46rem 0.72rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.compact {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 255px;
  background: var(--paper-strong);
  padding: clamp(1.2rem, 2.5vw, 1.7rem);
}

.card-index {
  display: inline-block;
  margin-bottom: 2.3rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 820;
}

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

.method-band {
  background: var(--graphite);
  color: white;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.method-content {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.method-content h2 {
  max-width: 620px;
}

.method-steps {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.method-steps article {
  background: #303b39;
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
}

.method-steps p {
  color: rgba(255, 255, 255, 0.72);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}

.area-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.area-list p {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  color: var(--graphite);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.contact-section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto clamp(1rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: white;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

.contact-copy {
  max-width: 740px;
}

.contact-copy h2 {
  font-size: clamp(2rem, 4.5vw, 4.3rem);
}

.contact-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-width: min(100%, 340px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  font-weight: 760;
}

.contact-link span:first-child {
  overflow-wrap: anywhere;
}

.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 66px 1rem auto;
    display: grid;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-strong);
    color: var(--ink);
    padding: 0.35rem;
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a,
  .lang-toggle {
    min-height: 50px;
    border-radius: 6px;
    border-bottom: 0;
    padding: 0 0.85rem;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .lang-toggle:hover,
  .lang-toggle:focus-visible {
    background: rgba(17, 108, 100, 0.08);
  }

  .nav-cta {
    border: 0;
  }

  .hero {
    min-height: 84svh;
    padding-top: 7.4rem;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(13, 20, 20, 0.9), rgba(13, 20, 20, 0.62)),
      linear-gradient(0deg, rgba(13, 20, 20, 0.42), rgba(13, 20, 20, 0.12));
  }

  .intro-grid,
  .method-content,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .signal-list {
    justify-content: flex-start;
  }

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

  .contact-section {
    align-items: start;
  }
}

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

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: 82svh;
    padding: 6.5rem 1rem 3.3rem;
  }

  h1 {
    font-size: clamp(3rem, 15.2vw, 4.8rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 3rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

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

  .card-index {
    margin-bottom: 1.4rem;
  }

  .contact-link {
    width: 100%;
    min-width: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

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