:root {
  --bg: #070707;
  --bg-soft: #11100f;
  --ink: #f7f0e5;
  --muted: #b8afa2;
  --dim: #756f66;
  --gold: #d7aa64;
  --copper: #a86244;
  --line: rgba(247, 240, 229, 0.14);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  content: "";
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 12%, rgba(168, 98, 68, 0.18), transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(215, 170, 100, 0.12), transparent 28%),
    linear-gradient(180deg, #070707 0%, #11100f 54%, #070707 100%);
}

.site-grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 4px 4px;
}

a { color: inherit; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 58px);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(7,7,7,0.82), rgba(7,7,7,0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215,170,100,0.42);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 20px;
  background: rgba(255,255,255,0.04);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(247,240,229,0.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.hero-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 140px clamp(18px, 6vw, 80px) 72px;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #0d0d0d;
}

.hero-video,
.work-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-video:empty,
.work-media video:empty {
  display: none;
}

.video-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(215,170,100,0.16), transparent 34%),
    radial-gradient(circle at 72% 32%, rgba(168,98,68,0.26), transparent 30%),
    linear-gradient(180deg, #181511, #050505);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,7,7,0.82), rgba(7,7,7,0.30) 56%, rgba(7,7,7,0.72)),
    linear-gradient(180deg, rgba(7,7,7,0.12), rgba(7,7,7,0.9));
}

.hero-content {
  max-width: 920px;
}

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

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

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(56px, 10vw, 136px);
  line-height: 0.86;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 34px;
  color: rgba(247,240,229,0.78);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

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

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  color: #080808;
  background: linear-gradient(135deg, #f1cf86, #b87542);
  box-shadow: 0 18px 40px rgba(184,117,66,0.24);
}

.btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
}

.section-pad {
  padding: 110px clamp(18px, 6vw, 80px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 40px;
}

.section-heading.narrow {
  max-width: 680px;
}

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.96;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.work-card {
  grid-column: span 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,0.045);
}

.work-card-featured {
  grid-column: span 6;
}

.work-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #121212;
}

.work-copy {
  padding: 24px;
}

.work-type {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-copy h3,
.process-item h3 {
  margin: 10px 0 10px;
  font-size: 26px;
}

.work-copy p,
.process-item p,
.contact-copy p,
.site-footer {
  color: var(--muted);
  line-height: 1.7;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.process-item {
  padding: 28px 26px 10px 0;
  border-right: 1px solid var(--line);
}

.process-item:last-child {
  border-right: 0;
}

.process-item span {
  color: var(--gold);
  font-weight: 800;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 140px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  background:
    radial-gradient(circle at top left, rgba(215,170,100,0.13), transparent 36%),
    rgba(255,255,255,0.045);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(215,170,100,0.22);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(215,170,100,0.14), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  box-shadow: 0 24px 80px rgba(0,0,0,0.32);
}

.lead-form {
  display: grid;
  gap: 16px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form span {
  color: rgba(247,240,229,0.76);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(247,240,229,0.16);
  border-radius: 16px;
  background: rgba(7,7,7,0.62);
  color: var(--ink);
  font: inherit;
  padding: 15px 16px;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
  min-height: 140px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(215,170,100,0.58);
  box-shadow: 0 0 0 4px rgba(215,170,100,0.12);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-error {
  color: #ff9d87;
}

.form-status.is-success {
  padding: 18px;
  border: 1px solid rgba(215,170,100,0.32);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(215,170,100,0.10);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

  .hero-section {
    padding-top: 118px;
  }

  .portfolio-grid,
  .process-list,
  .services-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card-featured {
    grid-column: span 1;
  }

  .process-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .section-pad {
    padding: 82px 18px;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    font-size: 12px;
  }

  h1 {
    font-size: clamp(50px, 17vw, 78px);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
