:root {
  --ink: #171717;
  --muted: #60676b;
  --paper: #fffdf8;
  --soft: #f3efe7;
  --soft-2: #e9f1ed;
  --line: #ddd7cb;
  --teal: #0f7b78;
  --teal-dark: #095553;
  --copper: #c2632e;
  --gold: #a58d2d;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 23, 23, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(221, 215, 203, 0.8);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(430px, 62vw);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  border-radius: 6px;
  color: #313131;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  background: var(--teal);
  color: var(--white);
  outline: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-line {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.hero,
.page-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(18, 18, 18, 0.84), rgba(18, 18, 18, 0.52) 46%, rgba(18, 18, 18, 0.18)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.page-hero {
  min-height: 420px;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--teal), var(--copper), var(--gold));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.hero-content > * {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #f4c68f;
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.75rem, 6vw, 5.7rem);
  line-height: 0.98;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.2rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-copy {
  margin-bottom: 1.7rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.75rem 1.15rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--teal);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
}

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

.intro-section,
.services-section,
.values-section,
.gallery-section,
.contact-section,
.cta-band,
.process-band,
.capabilities-band {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.intro-section {
  background: var(--paper);
}

.capabilities-band,
.process-band {
  background: var(--soft-2);
}

.services-section,
.gallery-section {
  background: var(--soft);
}

.split-layout,
.process-layout,
.contact-layout,
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.copy-stack p,
.process-list p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 2rem;
}

.feature-grid,
.service-list,
.gallery-grid {
  display: grid;
  gap: 1rem;
}

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

.feature-card,
.service-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card {
  padding: 1.35rem;
}

.feature-card p,
.service-item p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.service-item {
  padding: 1.25rem;
}

.service-item h3 {
  color: var(--teal-dark);
}

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

.compact-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #d8d4ca;
}

.gallery-grid figcaption {
  padding: 0.75rem 0.85rem;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.cta-band {
  background: #171717;
  color: var(--white);
}

.cta-inner {
  align-items: center;
}

.cta-inner h2 {
  margin-bottom: 0;
}

.cta-inner .button {
  justify-self: end;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1.16fr);
}

.contact-facts {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.contact-facts div {
  border-left: 4px solid var(--copper);
  padding-left: 1rem;
}

.contact-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-facts strong {
  display: block;
  margin-top: 0.2rem;
  line-height: 1.35;
}

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 0.45rem;
  color: #2f2f2f;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c8c1b3;
  border-radius: 6px;
  background: #fffefa;
  color: var(--ink);
  font: inherit;
  padding: 0.78rem 0.85rem;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(15, 123, 120, 0.16);
}

textarea {
  resize: vertical;
}

.form-status {
  margin: 0;
  border-radius: 6px;
  padding: 0.75rem 0.85rem;
  background: var(--soft-2);
  color: var(--teal-dark);
  font-weight: 700;
}

.form-status.error {
  background: #fde9df;
  color: #873615;
}

.site-footer {
  background: #111111;
  color: rgba(255, 255, 255, 0.78);
  padding: 1.4rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--white);
  outline: none;
}

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

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 0.55rem;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    justify-content: flex-start;
  }

  .split-layout,
  .process-layout,
  .contact-layout,
  .cta-inner,
  .feature-grid,
  .service-list,
  .gallery-grid,
  .compact-gallery {
    grid-template-columns: 1fr;
  }

  .cta-inner .button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .hero-content {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    width: min(310px, 68vw);
  }

  .hero,
  .page-hero {
    min-height: 560px;
    background-image:
      linear-gradient(180deg, rgba(18, 18, 18, 0.82), rgba(18, 18, 18, 0.58)),
      var(--hero-image);
  }

  .page-hero {
    min-height: 430px;
  }

  .hero-content {
    padding: 4rem 0;
  }

  .field-pair,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }
}

.section-kicker sup {
  margin-left: 0.15rem;
  font-size: 0.65em;
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.contact-response {
  min-height: calc(100vh - 150px);
}

.response-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.response-copy.error {
  color: #873615;
}

.rendering-carousel {
  display: grid;
  gap: 1rem;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101010;
  box-shadow: var(--shadow);
}

.carousel-track {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 430px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #101010;
}

.carousel-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 58px;
  padding: 0.85rem 1rem;
  background: rgba(17, 17, 17, 0.82);
  color: var(--white);
  font-weight: 800;
}

.carousel-slide figcaption small {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
}

.carousel-control {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.72);
  color: var(--white);
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-control::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.carousel-control-prev {
  left: 1rem;
}

.carousel-control-prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.carousel-control-next {
  right: 1rem;
}

.carousel-control-next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: var(--teal);
  outline: none;
}

.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.carousel-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.carousel-dot {
  width: 11px;
  height: 11px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.carousel-dot[aria-current="true"] {
  background: var(--teal);
}

.carousel-dot:hover,
.carousel-dot:focus-visible {
  outline: 3px solid rgba(15, 123, 120, 0.16);
}

@media (max-width: 900px) {
  .carousel-track {
    aspect-ratio: 4 / 5;
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .carousel-track {
    min-height: 440px;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
  }

  .carousel-control-prev {
    left: 0.6rem;
  }

  .carousel-control-next {
    right: 0.6rem;
  }

  .carousel-slide figcaption,
  .carousel-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .carousel-dots {
    justify-content: flex-start;
  }
}
