:root {
  --forest: #275f44;
  --forest-dark: #173a2a;
  --gold: #d2ad36;
  --ink: #1b1d1a;
  --paper: #fffdf7;
  --focus: #0f62fe;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(210, 173, 54, 0.18), transparent 28%),
    linear-gradient(180deg, #f7f4eb 0%, #f1ebdc 100%);
}

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

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

.skip-link,
.sr-only {
  position: absolute;
}

.skip-link {
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  background: white;
  color: var(--forest-dark);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.25rem clamp(1.2rem, 3vw, 2.5rem) 3.2rem;
  background:
    linear-gradient(135deg, rgba(23, 58, 42, 0.97), rgba(39, 95, 68, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8rem -5rem auto;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 173, 54, 0.45), rgba(210, 173, 54, 0));
  pointer-events: none;
}

.topbar,
.hero-content,
.section,
.promise-panel {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 0 0.9rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.1rem;
}

.nav-actions::-webkit-scrollbar {
  display: none;
}

.nav-link {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

.brand-lockup {
  display: flex;
  align-items: center;
}

.brand-lockup .eyebrow {
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.eyebrow {
  margin: 0 0 0.35rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
  opacity: 0.9;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  max-width: 15ch;
  line-height: 1.08;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.16;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease;
  min-height: 48px;
}

.nav-cta {
  padding: 0.75rem 1.05rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.35fr minmax(280px, 370px);
  gap: 1.8rem;
  align-items: end;
  padding-top: 2.5rem;
}

.lead {
  max-width: 52ch;
  margin: 1rem 0 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.button {
  min-width: 9.5rem;
  padding: 0.82rem 1.2rem;
  font-size: 0.9rem;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.hero-card {
  padding: 1.15rem;
  border-radius: 1.6rem;
  background: rgba(255, 253, 247, 0.96);
  color: var(--ink);
  box-shadow: 0 22px 60px rgba(23, 58, 42, 0.15);
}

.card-kicker,
.role {
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.contact-list span {
  display: block;
  margin-bottom: 0.2rem;
  color: #5d655d;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0;
}

.intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.8rem;
  align-items: end;
}

.intro-feature {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 30rem;
  margin: 0;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 23, 17, 0.88) 0%, rgba(8, 23, 17, 0.68) 42%, rgba(8, 23, 17, 0.38) 100%),
    url("src/assets/truck.jpg") center center / cover no-repeat;
}

.intro-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.intro-feature-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-heading h2 {
  color: var(--forest-dark);
}

.intro-feature .eyebrow,
.intro-feature .section-heading h2,
.intro-feature .intro-copy {
  color: white;
}

.intro-feature .intro-copy {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.9);
}

.projects-page .section-heading h2 {
  max-width: none;
}

.intro-copy,
.promise-panel p {
  font-size: 0.93rem;
  line-height: 1.7;
  color: #364038;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 1.4rem;
  align-items: center;
}

.story-photo img {
  width: 100%;
  border-radius: 1.6rem;
  box-shadow: 0 18px 42px rgba(23, 58, 42, 0.12);
}

.story-copy {
  padding: 0.4rem 0;
}

.story-copy p {
  margin: 0.9rem 0 0;
  color: #364038;
  font-size: 0.93rem;
  line-height: 1.68;
}

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

.service-group {
  padding: 1.35rem;
  border: 1px solid rgba(23, 58, 42, 0.08);
  border-radius: 1.4rem;
  background: rgba(255, 253, 247, 0.72);
  box-shadow: 0 14px 34px rgba(23, 58, 42, 0.06);
}

.service-group h3 {
  margin-bottom: 0.85rem;
  color: var(--forest-dark);
}

.service-group ul {
  padding-left: 1.15rem;
  margin: 0;
  line-height: 1.75;
  font-size: 0.92rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.detail-card {
  padding: 1.35rem;
  border-radius: 1.4rem;
  background: rgba(255, 253, 247, 0.92);
  border: 1px solid rgba(23, 58, 42, 0.1);
  box-shadow: 0 14px 34px rgba(23, 58, 42, 0.06);
}

.detail-card h3 {
  color: var(--forest-dark);
  margin-bottom: 0.7rem;
}

.detail-card p {
  margin: 0 0 0.85rem;
  color: #364038;
  line-height: 1.7;
  font-size: 0.92rem;
}

.detail-card ul {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.75;
  font-size: 0.92rem;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.text-link {
  color: var(--forest-dark);
  font-weight: 700;
  font-size: 0.92rem;
}

.projects-preview-copy {
  margin: 0.7rem 0 0;
  max-width: 40ch;
  color: #4d584f;
  font-size: 0.92rem;
  line-height: 1.6;
}

.preview-grid,
.projects-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.preview-card,
.gallery-project {
  padding: 1.2rem;
  border-radius: 1.35rem;
  background: rgba(255, 253, 247, 0.9);
  border: 1px solid rgba(23, 58, 42, 0.08);
  box-shadow: 0 12px 30px rgba(23, 58, 42, 0.06);
}

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

.preview-link {
  display: block;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.preview-link:hover,
.preview-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(23, 58, 42, 0.1);
}

.preview-link-text {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--forest-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.before-after-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.project-shot,
.process-shot {
  margin: 0;
}

.project-shot figcaption,
.process-shot figcaption {
  margin-top: 0.45rem;
  color: #4d584f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preview-card p,
.gallery-project p {
  margin: 0.7rem 0 0;
  color: #364038;
  font-size: 0.9rem;
  line-height: 1.65;
}

.preview-photo {
  border-radius: 1rem;
  min-height: 120px;
  overflow: hidden;
  background: #e9e3d7;
}

.preview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.placeholder-tile {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(39, 95, 68, 0.14), rgba(210, 173, 54, 0.22)),
    #f3eee4;
  color: var(--forest-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.preview-card .preview-photo + .preview-photo,
.gallery-pair .preview-photo + .preview-photo {
  margin-top: 0.75rem;
}

.gallery-pair {
  display: grid;
  gap: 0.75rem;
}

.gallery-project-wide {
  padding: 1.1rem;
}

.project-intro {
  margin: 0 0 1rem;
  color: #364038;
  font-size: 0.9rem;
  line-height: 1.65;
}

.project-browser-copy p {
  margin: 0.9rem 0 0;
  color: #4d584f;
  font-size: 0.92rem;
  line-height: 1.6;
}

.project-browser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.project-browser-card {
  display: block;
  padding: 1.2rem;
  border-radius: 1.35rem;
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid rgba(23, 58, 42, 0.1);
  box-shadow: 0 12px 30px rgba(23, 58, 42, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-browser-card:hover,
.project-browser-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(23, 58, 42, 0.1);
}

.project-browser-kicker {
  margin: 0 0 0.45rem;
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-browser-card h3 {
  color: var(--forest-dark);
  margin-bottom: 0.55rem;
}

.project-browser-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0 0 1rem;
}

.project-browser-shot {
  margin: 0;
}

.project-browser-shot figcaption {
  margin-top: 0.4rem;
  color: #4d584f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-browser-card p:last-of-type {
  margin: 0;
  color: #4d584f;
  font-size: 0.9rem;
  line-height: 1.62;
}

.project-browser-meta {
  display: inline-flex;
  margin-top: 0.85rem;
  color: var(--forest-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.project-browser-link {
  display: inline-flex;
  margin-top: 0.8rem;
  color: var(--forest-dark);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-project {
  scroll-margin-top: 1.5rem;
}

.gallery-project.is-collapsed {
  display: none;
}

.project-meta {
  margin: 0 0 1rem;
  color: #5d655d;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-collapse {
  appearance: none;
  border: 1px solid rgba(23, 58, 42, 0.14);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: white;
  color: var(--forest-dark);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 1rem;
}

.projects-page .process-shot figcaption {
  margin-top: 0.55rem;
  color: var(--forest-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.6;
}

.shot-description {
  margin: 0.3rem 0 0;
  color: #4d584f;
  font-size: 0.9rem;
  line-height: 1.65;
}

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

.before-after-pair-large {
  margin-top: 1rem;
}

.projects-note p {
  margin: 1rem 0 0;
  color: #4d584f;
  font-size: 0.88rem;
}

.hero-compact {
  padding-bottom: 2.5rem;
}

.hero-content-single {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.promise {
  padding-top: 0;
}

.promise-panel {
  position: relative;
  padding: 1.45rem;
  border-radius: 2rem;
  background: linear-gradient(120deg, rgba(39, 95, 68, 0.98), rgba(23, 58, 42, 0.98));
  color: white;
  box-shadow: 0 22px 60px rgba(23, 58, 42, 0.15);
}

.promise-panel .eyebrow,
.promise-panel h2,
.promise-panel p {
  color: white;
}

.site-footer {
  margin-top: 0;
  padding: 3rem 0 1.25rem;
  background: linear-gradient(145deg, #163829, #214f39);
  color: rgba(255, 255, 255, 0.92);
}

.site-footer-inner,
.footer-bottom {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 1.4rem;
  padding: 0 0 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand h2 {
  margin-bottom: 0.8rem;
  max-width: 18ch;
  color: white;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.footer-brand p:last-child {
  margin: 0;
  max-width: 42ch;
  line-height: 1.7;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.footer-heading {
  margin: 0;
  color: rgba(210, 173, 54, 0.95);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-lockup {
    width: 100%;
  }

  .nav-actions {
    width: 100%;
  }

  .hero-content,
  .intro,
  .story-grid,
  .services,
  .preview-grid,
  .projects-gallery-grid,
  .project-browser-grid,
  .process-grid,
  .details-grid,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .intro-feature {
    min-height: 24rem;
    padding: 2rem 1rem;
    background:
      linear-gradient(180deg, rgba(8, 23, 17, 0.84) 0%, rgba(8, 23, 17, 0.6) 100%),
      url("src/assets/truck.jpg") center center / cover no-repeat;
  }
  .before-after-pair {
    grid-template-columns: 1fr;
  }

  .project-browser-preview {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  h2 {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 1rem 1rem 2.4rem;
  }

  .topbar {
    gap: 0.9rem;
    padding: 0 0 0.8rem;
  }

  .hero-content {
    gap: 1.25rem;
    padding-top: 1.5rem;
  }

  h1 {
    font-size: clamp(3.6rem, 15vw, 4.8rem);
  }

  .nav-actions {
    gap: 0.55rem;
    padding-bottom: 0.2rem;
  }

  h2 {
    font-size: clamp(1.38rem, 7vw, 1.95rem);
    line-height: 1.12;
  }

  h3 {
    font-size: 1.1rem;
  }

  .lead,
  .intro-copy,
  .story-copy p,
  .promise-panel p,
  .service-group ul,
  .detail-card p,
  .detail-card ul,
  .preview-card p,
  .gallery-project p,
  .project-browser-card p:last-of-type,
  .shot-description,
  .projects-preview-copy {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .section {
    width: min(1120px, calc(100% - 1.25rem));
    padding: 2.2rem 0;
  }

  .hero-card,
  .service-group,
  .detail-card,
  .preview-card,
  .gallery-project,
  .promise-panel,
  .site-footer-inner {
    padding: 1rem;
  }

  .site-footer-inner,
  .footer-bottom {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .site-footer {
    padding: 2.4rem 0 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    padding-top: 0.8rem;
  }

  .button {
    width: 100%;
  }

  .nav-link,
  .nav-cta {
    min-height: 44px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}





