:root {
  --ink: #080807;
  --charcoal: #151412;
  --steel: #2a2926;
  --paper: #f8f5ef;
  --white: #ffffff;
  --muted: #bdb7aa;
  --amber: #d99a22;
  --clay: #8c4b2d;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 48px);
  color: var(--white);
  mix-blend-mode: normal;
}

.brand {
  display: grid;
  gap: 0;
  max-width: 210px;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 0.92;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.5);
}

.brand span:first-child {
  color: var(--amber);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1.8rem, 8vw, 3rem);
}

.brand span:last-child {
  color: var(--white);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  min-height: 38px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 7, 0.4);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-video {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.34) 54%, rgba(0, 0, 0, 0.56)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent 44%);
}

.hero-content {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 44vw, 58%);
  bottom: clamp(92px, 14vh, 132px);
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  font-size: clamp(3rem, 11vw, 6.2rem);
}

h2 {
  color: inherit;
  font-size: clamp(2.65rem, 10vw, 6.6rem);
}

.hero-content p:last-child {
  max-width: 590px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2.3vw, 1.22rem);
  font-weight: 600;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-indicator span {
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--amber), rgba(255, 255, 255, 0));
}

.section {
  padding: clamp(78px, 12vw, 150px) 0;
}

.section-shell {
  width: min(100% - 36px, 1180px);
  margin: 0 auto;
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(217, 154, 34, 0.06), transparent 22%),
    var(--charcoal);
  color: var(--white);
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 36px;
}

.about-copy {
  display: grid;
  gap: 28px;
  align-content: start;
}

.about-copy p,
.contact-intro {
  margin: 0;
  color: #4d4840;
  font-size: clamp(1.03rem, 2.8vw, 1.25rem);
  font-weight: 600;
}

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

.service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #d8cabc;
  background: #fffaf2;
  color: #231f1a;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-tags span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: var(--amber);
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 840px;
  margin-bottom: 34px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.portfolio-tile {
  position: relative;
  height: 360px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: #111;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  box-shadow: none;
}

.portfolio-tile img,
.portfolio-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.portfolio-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.82));
}

.portfolio-tile span {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-tile:hover img,
.portfolio-tile:hover video,
.portfolio-tile:focus-visible img,
.portfolio-tile:focus-visible video {
  filter: saturate(1.05) contrast(1.08);
  transform: scale(1.035);
}

.portfolio-tile:focus-visible,
.lightbox-close:focus-visible,
.submit-button:focus-visible,
.nav-links a:focus-visible,
.direct-contact a:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.section-contact {
  background: var(--paper);
  color: var(--ink);
}

.direct-contact {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.direct-contact a {
  width: fit-content;
  border-bottom: 2px solid var(--amber);
  color: #181512;
  font-weight: 900;
}

.intake-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid #ded4c8;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(34, 27, 19, 0.1);
}

.intake-form label {
  display: grid;
  gap: 7px;
  color: #342f29;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hidden-field {
  display: none !important;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  border: 1px solid #cfc4b7;
  border-radius: 0;
  background: #fbf8f2;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.intake-form input,
.intake-form select {
  min-height: 48px;
  padding: 0 12px;
}

.intake-form textarea {
  min-height: 136px;
  padding: 12px;
  resize: vertical;
}

.submit-button {
  min-height: 52px;
  border: 0;
  background: var(--amber);
  color: #111;
  cursor: pointer;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #32613c;
  font-size: 0.9rem;
  font-weight: 800;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  padding: 26px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-frame {
  width: min(100%, 1040px);
}

.lightbox-media {
  max-height: 78svh;
  background: #050505;
  box-shadow: var(--shadow);
}

.lightbox-media img,
.lightbox-media video {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
}

.lightbox-frame p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.lightbox-close {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

@media (min-width: 680px) {
  .site-header {
    align-items: center;
  }

  .brand {
    max-width: 300px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    padding: 12px 16px;
  }

  .hero-content {
    right: clamp(32px, 30vw, 42%);
  }

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

  .tile-wide {
    grid-column: span 2;
  }

  .intake-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px;
  }

  .full-span,
  .submit-button,
  .form-status {
    grid-column: 1 / -1;
  }

  .footer {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 980px) {
  h1 {
    font-size: clamp(5.1rem, 8.4vw, 7.2rem);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.72fr);
    gap: 72px;
  }

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

  .tile-wide {
    grid-column: span 2;
  }

  .portfolio-tile {
    height: 410px;
  }

  .tile-wide {
    height: 500px;
  }
}

@media (max-width: 460px) {
  .site-header {
    padding-top: 14px;
  }

  .nav-links a {
    min-height: 34px;
    padding: 8px 9px;
    font-size: 0.66rem;
  }

  .hero-content {
    right: 18px;
    bottom: 100px;
  }

  .portfolio-tile {
    height: 320px;
  }
}

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

  .portfolio-tile img,
  .portfolio-tile video {
    transition: none;
  }
}
