:root {
  --ink: #111111;
  --muted: #5c5c5c;
  --line: #ded7c9;
  --paper: #f7f6f2;
  --surface: #ffffff;
  --gold: #c9a45c;
  --gold-light: #f1ddaa;
  --gold-dark: #8c6a2f;
  --charcoal: #1b1a19;
  --black: #070707;
  --green: #2f6a4f;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(201, 164, 92, 0.32);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

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

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.94rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(60px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.hero-carousel,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-carousel {
  overflow: hidden;
  background: var(--black);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  clip-path: polygon(-18% 0, -18% 0, -38% 100%, -38% 100%);
  transform: scale(1.04);
  animation: heroSwipe 20.8s infinite;
}

.hero-image:nth-child(2) {
  animation-delay: 5.2s;
}

.hero-image:nth-child(3) {
  animation-delay: 10.4s;
}

.hero-image:nth-child(4) {
  animation-delay: 15.6s;
}

@keyframes heroSwipe {
  0% {
    opacity: 1;
    clip-path: polygon(-18% 0, -18% 0, -38% 100%, -38% 100%);
    transform: scale(1.04);
  }

  7%,
  22% {
    opacity: 1;
    clip-path: polygon(-18% 0, 118% 0, 98% 100%, -38% 100%);
    transform: scale(1);
  }

  27%,
  94% {
    opacity: 0;
    clip-path: polygon(118% 0, 118% 0, 98% 100%, 98% 100%);
    transform: scale(1);
  }

  100% {
    opacity: 0;
    clip-path: polygon(-18% 0, -18% 0, -38% 100%, -38% 100%);
    transform: scale(1.04);
  }
}

.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, transparent 0 42%, rgba(241, 221, 170, 0.72) 48%, rgba(7, 7, 7, 0.78) 53%, transparent 60%),
    linear-gradient(105deg, transparent 0 37%, rgba(201, 164, 92, 0.34) 44%, transparent 51%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
  animation: heroBrush 5.2s infinite;
}

@keyframes heroBrush {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  8% {
    opacity: 0.72;
  }

  22% {
    opacity: 0.2;
    transform: translateX(120%);
  }

  28%,
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.66) 42%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: white;
}

.hero-watermark {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(24px, 5vw, 64px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(241, 221, 170, 0.5);
  border-radius: 8px;
  color: var(--gold-light);
  background: rgba(7, 7, 7, 0.62);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.hero-watermark img {
  width: clamp(52px, 5vw, 82px);
  height: clamp(52px, 5vw, 82px);
  border-radius: 6px;
  object-fit: cover;
}

.hero-watermark span {
  font-size: clamp(0.98rem, 1.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold-light);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--black);
  background: var(--gold);
  box-shadow: 0 10px 24px rgba(201, 164, 92, 0.28);
}

.button.secondary {
  color: white;
  border-color: rgba(241, 221, 170, 0.62);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: clamp(56px, 9vw, 108px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(28px, 6vw, 76px);
  background: var(--surface);
}

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

.intro-grid article,
.service-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.intro-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold-dark);
  font-weight: 800;
}

.intro-grid p,
.service-grid p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.services {
  background: #111111;
  color: white;
}

.services .eyebrow {
  color: var(--gold-light);
}

.services .service-grid article {
  color: white;
  border-color: rgba(201, 164, 92, 0.36);
  background: #1a1a1a;
}

.services .service-grid p {
  color: #cfcfcf;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.work-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  color: white;
  background: linear-gradient(135deg, var(--black), #24211a 56%, var(--gold-dark));
}

.work-band .eyebrow {
  color: var(--gold-light);
}

.check-list {
  display: grid;
  gap: 14px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-tab {
  display: grid;
  gap: 8px;
  padding: 0;
  border: 1px solid rgba(241, 221, 170, 0.3);
  border-radius: 8px;
  background: rgba(7, 7, 7, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.work-tab:hover,
.work-tab:focus-within,
.work-tab.is-active {
  border-color: rgba(241, 221, 170, 0.78);
  background: rgba(7, 7, 7, 0.52);
  transform: translateY(-1px);
}

.work-tab button {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  border: 0;
  border-radius: 8px 8px 0 0;
  color: var(--gold-light);
  background: transparent;
  font: inherit;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.work-tab button:focus-visible {
  outline: 3px solid rgba(241, 221, 170, 0.36);
  outline-offset: -3px;
}

.work-tab p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: -2px 16px 16px;
  color: #f4efe3;
  font-size: 0.96rem;
  line-height: 1.45;
  transition: max-height 220ms ease, opacity 180ms ease, margin-top 220ms ease;
}

.work-tab:hover p,
.work-tab:focus-within p,
.work-tab.is-active p {
  max-height: 110px;
  opacity: 1;
  margin-top: -2px;
}

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

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 16px;
}

.project-card {
  display: flex;
  min-height: 100%;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.34);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.project-card figure {
  display: block;
  width: 100%;
  height: 360px;
  margin: 0;
  overflow: hidden;
  background: #111111;
}

.project-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-card-contain img {
  object-fit: contain;
}

.project-card-contain figure {
  height: clamp(560px, 72vw, 760px);
  background: #0f0f0f;
}

.project-card div {
  flex: 1;
  padding: 18px;
}

.project-card p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  background: var(--surface);
}

.contact-copy {
  max-width: 520px;
}

.contact-copy p {
  margin-top: 18px;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--gold-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(201, 164, 92, 0.34);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row.full,
.contact-form button,
.privacy-note,
.form-status {
  grid-column: 1 / -1;
}

label {
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfc7b7;
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  background: white;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(201, 164, 92, 0.22);
  border-color: var(--gold);
}

.website-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.privacy-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--gold-dark);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #e8e1d2;
  background: var(--black);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .intro,
  .work-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .project-card figure {
    height: 340px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 720px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.62) 62%, rgba(0, 0, 0, 0.2) 100%);
  }

  .hero-watermark {
    right: 18px;
    bottom: 18px;
    padding: 8px;
  }

  .hero-watermark img {
    width: 44px;
    height: 44px;
  }

  .hero-watermark span {
    display: none;
  }

  .intro-grid,
  .service-grid,
  .project-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .project-card figure {
    height: 320px;
  }

  .intro-grid article,
  .service-grid article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
