:root {
  --ink: #1d2321;
  --ink-soft: #4d5a56;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --line: #dfe5de;
  --teal: #0f766e;
  --teal-dark: #0b3f3a;
  --leaf: #647a3d;
  --amber: #b77939;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(22, 35, 31, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: 100%;
  min-height: 78px;
  padding: 14px max(22px, calc((100vw - var(--max)) / 2));
  background: rgba(247, 248, 245, 0.92);
  border-bottom: 1px solid rgba(15, 118, 110, 0.16);
  backdrop-filter: blur(18px);
}

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

.brand-logo-full {
  width: clamp(188px, 23vw, 278px);
  height: auto;
}

.brand-compact {
  display: none;
  align-items: center;
  gap: 10px;
}

.brand-mark-logo {
  width: 44px;
  height: 44px;
}

.brand-compact strong,
.brand-compact small {
  display: block;
}

.brand-compact strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand-compact small {
  color: var(--ink-soft);
  font-size: 13px;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.primary-nav a {
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 650;
  padding: 9px 13px;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal-dark);
  outline: none;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 750;
  padding: 11px 16px;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--teal-dark);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 74svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 20, 18, 0.88) 0%, rgba(6, 20, 18, 0.58) 48%, rgba(6, 20, 18, 0.18) 100%),
    url("https://images.pexels.com/photos/1098761/pexels-photo-1098761.jpeg?auto=compress&cs=tinysrgb&w=2200") center/cover;
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  content: "";
  background: linear-gradient(180deg, rgba(6, 20, 18, 0), rgba(6, 20, 18, 0.74));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 90px 0 54px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.hero .eyebrow {
  color: #d5f3ee;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.hero-actions,
.contact-actions,
.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  padding: 12px 18px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #0b625b;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 820px;
  margin: 44px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts div {
  padding: 18px 22px 18px 0;
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 700;
}

.hero-facts dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 850;
}

.intro-band,
.section,
.about-section,
.contact-section {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
  gap: 34px;
  padding: 42px 0 34px;
}

.intro-copy h2,
.section-heading h2,
.process-content h2,
.about-copy h2,
.contact-content h2 {
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: 0;
}

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

.intro-points article,
.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.intro-points i,
.service-card i,
.contact-details i {
  color: var(--teal);
}

.intro-points h3,
.service-card h3,
.process-list h3,
.contact-details h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.intro-points p,
.service-card p,
.process-list p,
.section-heading p,
.about-copy p,
.contact-details p {
  margin: 0;
  color: var(--ink-soft);
}

.section {
  padding: 82px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  align-items: end;
  gap: 34px;
  margin-bottom: 34px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.section-heading p:not(.section-kicker) {
  font-size: 18px;
}

.section-heading.compact {
  display: block;
  max-width: 720px;
}

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

.service-card {
  min-height: 245px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: var(--shadow);
}

.process-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
  width: 100%;
  padding: 78px max(22px, calc((100vw - var(--max)) / 2));
  background: #e9efe9;
}

.process-media img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
}

.process-list span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 14px;
  font-weight: 850;
}

.process-list h3 {
  margin-top: 0;
}

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

.work-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 260ms ease, opacity 260ms ease;
}

.work-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(4, 18, 16, 0) 35%, rgba(4, 18, 16, 0.85) 100%);
}

.work-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  z-index: 1;
}

.work-card span {
  display: block;
  color: #d5f3ee;
  font-weight: 800;
  margin-bottom: 8px;
}

.work-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.work-card:hover img {
  transform: scale(1.035);
  opacity: 0.94;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  padding: 46px 0 92px;
}

.about-image img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 8px;
}

.about-copy p {
  margin-top: 20px;
  font-size: 18px;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 28px;
  align-items: stretch;
  padding: 0 0 42px;
}

.contact-content {
  border-radius: 8px;
  background: var(--teal-dark);
  color: var(--white);
  padding: 40px;
}

.contact-content .section-kicker,
.contact-content h2 {
  color: var(--white);
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.contact-details article {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 18px;
}

.contact-details h3 {
  color: var(--white);
  margin-top: 0;
}

.contact-details p,
.contact-details .hours-row {
  color: rgba(255, 255, 255, 0.78);
}

.hours-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  border-radius: 8px;
  padding: 6px 8px;
}

.hours-row.is-today {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.map-frame {
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
  filter: saturate(0.82) contrast(1.04);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 28px 0 36px;
  color: var(--ink-soft);
}

.site-footer p {
  margin: 0;
}

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

.mobile-callbar {
  display: none;
}

svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.25;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .primary-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 86px;
    display: none;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 13px 14px;
  }

  .header-call {
    display: none;
  }

  .hero h1 {
    font-size: 48px;
  }

  .intro-band,
  .section-heading,
  .process-section,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-points,
  .services-grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading .section-kicker {
    grid-column: auto;
    margin-bottom: 0;
  }

  .process-media img,
  .about-image img,
  .map-frame,
  .map-frame iframe {
    min-height: 420px;
    height: 420px;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 70px;
  }

  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand-logo-full {
    display: none;
  }

  .brand-compact {
    display: inline-flex;
  }

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

  .brand-compact small {
    font-size: 12px;
  }

  .hero {
    min-height: 78svh;
    background:
      linear-gradient(180deg, rgba(6, 20, 18, 0.78) 0%, rgba(6, 20, 18, 0.52) 45%, rgba(6, 20, 18, 0.82) 100%),
      url("https://images.pexels.com/photos/1098761/pexels-photo-1098761.jpeg?auto=compress&cs=tinysrgb&w=1200") center/cover;
  }

  .hero-content,
  .intro-band,
  .section,
  .about-section,
  .contact-section,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .hero-content {
    padding: 54px 0 18px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions,
  .contact-actions,
  .about-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .hero-facts div {
    padding: 10px 0;
  }

  .intro-band {
    padding-top: 12px;
  }

  .intro-copy h2,
  .section-heading h2,
  .process-content h2,
  .about-copy h2,
  .contact-content h2 {
    font-size: 31px;
  }

  .intro-points,
  .services-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .process-section {
    padding: 58px 16px;
  }

  .process-media {
    order: 2;
  }

  .process-list li {
    grid-template-columns: 44px 1fr;
  }

  .process-list span {
    width: 44px;
    height: 44px;
  }

  .work-card,
  .work-card img {
    min-height: 360px;
  }

  .about-section {
    padding-bottom: 64px;
  }

  .contact-content {
    padding: 30px 22px;
  }

  .hours-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 360px;
    height: 360px;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 22px;
  }

  .mobile-callbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(11, 63, 58, 0.94);
    padding: 8px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(110%);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    visibility: hidden;
  }

  .mobile-callbar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .mobile-callbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-weight: 850;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
