@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800&display=swap");

:root {
  --yellow: #ffe161;
  --yellow-strong: #ffd10a;
  --ink: #232323;
  --muted: #676767;
  --line: #e7e2cf;
  --paper: #ffffff;
  --soft: #faf8ee;
  --shadow: 0 16px 40px rgba(35, 35, 35, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Jost", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

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

h1 {
  font-size: clamp(3.1rem, 9vw, 6.5rem);
  line-height: 0.95;
  margin-bottom: 0.5rem;
}

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

h3 {
  font-size: 1.24rem;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.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, 255, 255, 0.94);
  border-bottom: 1px solid rgba(35, 35, 35, 0.08);
  box-shadow: 0 8px 24px rgba(35, 35, 35, 0.06);
  backdrop-filter: blur(14px);
  transition: min-height 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 32px rgba(35, 35, 35, 0.12);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand img {
  width: 188px;
  transition: width 0.25s ease, transform 0.25s ease;
}

.site-header.is-scrolled .brand img {
  width: 164px;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.primary-menu a.active {
  color: #6b5400;
  background: rgba(255, 225, 97, 0.45);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 82px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--soft);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.58);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transform: scale(1.04);
  animation: hero-drift 12s ease-in-out infinite alternate;
}

.hero-media img:nth-child(2) {
  animation-delay: 1.2s;
}

.hero-media img:nth-child(3) {
  animation-delay: 2.4s;
}

.hero-copy,
.page-hero > div {
  width: min(920px, calc(100% - 32px));
  text-align: center;
}

.hero-subtitle {
  font-size: clamp(1.65rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.eyebrow {
  color: #806600;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.25rem;
  border: 1px solid var(--yellow);
  border-radius: 6px;
  color: #5b4700;
  background: var(--yellow);
  box-shadow: 0 3px 0 rgba(35, 35, 35, 0.16);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--yellow-strong);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(35, 35, 35, 0.16);
}

.btn-dark {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.image-strip,
.featured-gallery {
  width: min(1180px, calc(100% - 32px));
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.image-strip img,
.featured-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-section,
.services-section,
.contact-layout,
.values-section,
.clients-section,
.contact-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.split-reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.split-reverse .split-image {
  order: 2;
}

.split-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-copy p {
  color: var(--muted);
}

.values-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.values-grid,
.service-list,
.clients-grid {
  display: grid;
  gap: 1rem;
}

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

.values-grid article,
.service-card,
.contact-form,
.contact-card,
.clients-grid figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(35, 35, 35, 0.05);
}

.values-grid article,
.service-card {
  padding: 1.25rem;
}

.values-grid p,
.service-card li,
.services-copy p,
.contact-card p {
  color: var(--muted);
}

.clients-section {
  text-align: center;
  border-top: 1px solid var(--line);
}

.clients-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.clients-grid figure {
  display: grid;
  place-items: center;
  min-height: 160px;
  margin: 0;
  padding: 1rem;
}

.clients-grid img {
  max-width: 170px;
  max-height: 88px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

.clients-grid figcaption {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}

.page-hero {
  min-height: 45svh;
  padding: 6rem 0 4rem;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    url("assets/images/image2-738x350.png") center / cover;
}

.services-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(2rem, 5vw, 4rem);
}

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

.service-card ul {
  padding-left: 1.1rem;
  margin: 0;
}

.service-card.compact {
  display: flex;
  align-items: center;
}

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

.gallery-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 4rem auto;
  columns: 4 220px;
  column-gap: 1rem;
}

.gallery-item {
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: 0 10px 28px rgba(35, 35, 35, 0.1);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  transition: transform 0.25s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
}

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
  filter: blur(4px);
}

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

.js .image-strip img:nth-child(2),
.js .featured-gallery img:nth-child(2),
.js .values-grid article:nth-child(2),
.js .clients-grid figure:nth-child(2n),
.js .service-card:nth-child(2n) {
  transition-delay: 0.08s;
}

.js .image-strip img:nth-child(3),
.js .featured-gallery img:nth-child(3),
.js .values-grid article:nth-child(3),
.js .clients-grid figure:nth-child(3n),
.js .service-card:nth-child(3n) {
  transition-delay: 0.16s;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.1) translate3d(-1.5%, 1%, 0);
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(20, 20, 20, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 86svh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: 2rem;
}

.contact-form,
.contact-card {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.contact-form label {
  display: block;
  margin: 1rem 0 0.3rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(255, 225, 97, 0.45);
  border-color: var(--yellow-strong);
}

.contact-form button {
  margin-top: 1.25rem;
}

.contact-group {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact-group + .contact-group {
  margin-top: 1rem;
}

.contact-group a {
  color: #806600;
  font-weight: 700;
  text-decoration-thickness: 0.08em;
}

.map-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 4rem;
}

.map-section iframe {
  width: 100%;
  height: 430px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 2.5rem 1rem;
  color: #fff;
  background: var(--ink);
  text-align: center;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  body.menu-open {
    overflow: hidden;
  }

  .menu-toggle {
    display: block;
  }

  .primary-menu {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    padding: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(35, 35, 35, 0.08);
  }

  .primary-menu.is-open {
    display: grid;
  }

  .primary-menu a {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .hero-media {
    grid-template-columns: 1fr;
  }

  .hero-media img:not(:first-child) {
    display: none;
  }

  .image-strip,
  .featured-gallery,
  .split-section,
  .split-reverse,
  .values-section,
  .services-section,
  .contact-layout,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .split-reverse .split-image {
    order: 0;
  }

  .values-grid,
  .service-list,
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .contact-band {
    display: grid;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .nav-shell {
    width: min(100% - 20px, 1180px);
  }

  .brand img {
    width: 154px;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding: 5rem 0;
  }

  .image-strip {
    grid-template-columns: 1fr;
  }

  .split-section,
  .services-section,
  .contact-layout,
  .values-section,
  .clients-section,
  .contact-band {
    padding: 3rem 0;
  }
}

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

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

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