:root {
  --ink: #0c0a09;
  --charcoal: #1c1917;
  --stone: #44403c;
  --muted: #78716c;
  --line: #d6d3d1;
  --paper: #fafaf9;
  --warm: #a16207;
  --warm-dark: #744707;
  --blueprint: #2d5f73;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Josefin Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background:
    linear-gradient(rgba(12, 10, 9, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 10, 9, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
}

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

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

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 249, 0.93);
  border-bottom: 1px solid rgba(28, 25, 23, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 36px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 236px;
  height: 70px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  color: rgba(28, 25, 23, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.8px;
  line-height: 1;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.hero {
  min-height: calc(100dvh - 82px);
  display: grid;
  align-items: end;
  padding: 110px 24px 82px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 10, 9, 0.9), rgba(12, 10, 9, 0.58) 46%, rgba(12, 10, 9, 0.16)),
    url("assets/wp/slide-1-1280x640.jpg") center / cover no-repeat;
}

.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  position: relative;
}

.hero-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: -42px;
  width: min(34vw, 420px);
  height: 1px;
  background: rgba(248, 208, 137, 0.72);
}

.hero-content::after {
  content: "";
  position: absolute;
  left: 0;
  top: -42px;
  width: 1px;
  height: 148px;
  background: rgba(248, 208, 137, 0.72);
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 28px;
  color: #f8d089;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 950px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 9vw, 118px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: none;
}

.hero p {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(19px, 2.3vw, 28px);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.hero-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 24px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-button {
  color: var(--white);
  background: var(--warm);
  border: 1px solid var(--warm);
}

.ghost-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.hero-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.hero-button:hover {
  background: var(--warm-dark);
  border-color: var(--warm-dark);
}

.ghost-button:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.proof-strip {
  color: var(--white);
  background: linear-gradient(135deg, var(--charcoal), #111827);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-grid div {
  min-height: 136px;
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #f8d089;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.72);
}

.section,
.contact-section {
  padding: 112px 0;
}

.two-column,
.split-heading,
.portfolio-intro,
.contact-grid,
.testimonial-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 76px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 28px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5.2vw, 78px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
}

.lead {
  color: var(--stone);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.55;
}

.about-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 28px 28px 0 var(--charcoal);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.service-tags span {
  padding: 11px 15px;
  color: var(--charcoal);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.advantages-section {
  background:
    linear-gradient(135deg, rgba(45, 95, 115, 0.08), transparent 44%),
    #efede9;
}

.advantage-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.advantage-list li {
  position: relative;
  padding: 22px 24px 22px 54px;
  color: var(--stone);
  background: var(--paper);
  border: 1px solid var(--line);
}

.advantage-list li::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 30px;
  width: 10px;
  height: 10px;
  background: var(--warm);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}

.service-grid article {
  min-height: 260px;
  padding: 30px;
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.service-grid article::before,
.service-grid article::after {
  content: "";
  position: absolute;
  background: rgba(248, 208, 137, 0.24);
}

.service-grid article::before {
  top: 24px;
  right: 24px;
  width: 72px;
  height: 1px;
}

.service-grid article::after {
  top: 24px;
  right: 24px;
  width: 1px;
  height: 72px;
}

.service-grid span {
  display: block;
  margin-bottom: 52px;
  color: #f8d089;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
}

.service-grid h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.1;
}

.service-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.testimonial-section {
  padding: 112px 0;
  color: var(--white);
  background:
    linear-gradient(rgba(12, 10, 9, 0.78), rgba(12, 10, 9, 0.88)),
    url("assets/wp/home-testimonials-bg.jpg") center / cover no-repeat fixed;
}

.testimonial-section h2,
.testimonial-section .eyebrow {
  color: var(--white);
}

blockquote {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
}

blockquote p {
  margin: 0 0 26px;
}

blockquote cite {
  color: #f8d089;
  font-family: "Josefin Sans", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.portfolio-section {
  padding-bottom: 0;
  background: var(--paper);
}

.portfolio-intro {
  align-items: start;
  margin-bottom: 58px;
}

.portfolio-intro > p {
  margin: 12px 0 0;
  color: var(--stone);
  font-size: 18px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.portfolio-grid figure {
  position: relative;
  min-height: 410px;
  margin: 0;
  overflow: hidden;
  background: var(--charcoal);
}

.portfolio-grid img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 260ms ease, opacity 260ms ease;
}

.portfolio-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 80px 30px 26px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgba(12, 10, 9, 0.86));
}

.portfolio-grid figure:hover img {
  transform: scale(1.045);
  opacity: 0.68;
}

.clients-section {
  padding: 96px 0;
  background: #f4f2ee;
}

.clients-heading {
  margin-bottom: 34px;
}

.clients-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.client-carousel {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
}

.client-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 0 8px;
}

.client-strip::-webkit-scrollbar {
  display: none;
}

.client-strip figure {
  flex: 0 0 min(420px, 82vw);
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  scroll-snap-align: start;
  position: relative;
}

.client-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: none;
  opacity: 1;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.client-strip figcaption {
  padding: 14px 16px;
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.client-strip figure:hover img {
  transform: scale(1.015);
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(250, 250, 249, 0.92);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease;
}

.carousel-button:hover {
  color: var(--white);
  background: var(--charcoal);
}

.carousel-button.prev {
  left: -23px;
}

.carousel-button.next {
  right: -23px;
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(161, 98, 7, 0.16), transparent 38%),
    var(--charcoal);
}

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

.contact-details {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-details p {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-details strong,
.contact-details a {
  color: var(--white);
}

.contact-details a:hover {
  color: #f8d089;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.54);
  background: #0c0a09;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.footer-inner p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 960px) {
  .header-inner {
    justify-content: center;
    flex-direction: column;
    padding: 16px 0;
  }

  .logo img {
    width: 270px;
    height: 80px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .proof-grid,
  .two-column,
  .split-heading,
  .portfolio-intro,
  .contact-grid,
  .testimonial-card {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .proof-grid div {
    min-height: auto;
  }

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

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

  .client-carousel {
    width: min(100% - 48px, 1180px);
  }
}

@media (max-width: 600px) {
  .container,
  .client-strip {
    width: min(100% - 30px, 1180px);
  }

  .main-nav a {
    font-size: 11px;
    letter-spacing: 1.8px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 590px;
    padding: 76px 18px 54px;
  }

  .logo img {
    width: 210px;
  }

  .hero-content::before,
  .hero-content::after {
    display: none;
  }

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

  .section,
  .testimonial-section,
  .contact-section {
    padding: 76px 0;
  }

  .about-image {
    box-shadow: 14px 14px 0 var(--charcoal);
  }

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

  .client-carousel {
    width: calc(100% - 32px);
    max-width: 420px;
  }

  .client-strip {
    width: 100%;
    gap: 14px;
    padding: 0 0 70px;
    margin: 0 auto;
    scroll-padding-inline: 0;
  }

  .client-strip figure {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 18px 40px rgba(28, 25, 23, 0.08);
  }

  .client-strip img {
    aspect-ratio: 4 / 3.25;
  }

  .clients-heading {
    margin-bottom: 24px;
  }

  .clients-heading h2 {
    font-size: clamp(34px, 12vw, 48px);
    line-height: 1.02;
  }

  .carousel-button {
    top: auto;
    bottom: 0;
    width: 48px;
    height: 48px;
    border-color: var(--charcoal);
    background: var(--charcoal);
    color: var(--white);
    transform: none;
  }

  .carousel-button.prev {
    left: calc(50% - 56px);
  }

  .carousel-button.next {
    right: calc(50% - 56px);
  }

  .portfolio-grid figure,
  .portfolio-grid img {
    min-height: 320px;
  }

}
