:root {
  --ink: #f6f2ec;
  --muted: #c5beb6;
  --dark: #171515;
  --panel: #201d1d;
  --paper: #f4f1ec;
  --paper-ink: #211f1d;
  --line: rgba(246, 242, 236, 0.16);
  --accent: #76b86f;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dark);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 64px);
  background: linear-gradient(180deg, rgba(23, 21, 21, 0.76), rgba(23, 21, 21, 0));
}

.brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(246, 242, 236, 0.76);
  font-size: 0.86rem;
}

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

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0f0e0e;
}

.hero video {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 21, 21, 0.78), rgba(23, 21, 21, 0.16) 58%, rgba(23, 21, 21, 0.72)),
    linear-gradient(0deg, var(--dark), rgba(23, 21, 21, 0.08) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 128px 0 72px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 8vw, 7.8rem);
  line-height: 0.92;
  font-weight: 650;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1;
  font-weight: 620;
}

h3 {
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.2;
}

.lede {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(246, 242, 236, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(246, 242, 236, 0.72);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #10130f;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 64px);
  background: var(--panel);
}

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

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
}

.copy {
  max-width: 680px;
  color: var(--muted);
}

.light .copy {
  color: #5c5650;
}

.copy p:last-child {
  margin-bottom: 0;
}

.media-frame {
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.media-frame img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.feature-card {
  min-width: 0;
}

.feature-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
  background: #d9d5cd;
}

.feature-card p {
  margin: 0;
  color: #5f5953;
  font-size: 0.92rem;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  padding: 24px;
  background: var(--panel);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.94rem;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}

.gallery-strip img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  padding: clamp(72px, 10vw, 120px) clamp(20px, 5vw, 64px);
  background: var(--dark);
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
}

.footer img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(246, 242, 236, 0.22);
  border-radius: 50%;
  color: rgba(246, 242, 236, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
}

.builder-credit {
  display: inline-flex;
  gap: 6px;
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(246, 242, 236, 0.14);
  color: rgba(246, 242, 236, 0.62);
  font-size: 0.86rem;
}

.builder-credit a {
  color: var(--ink);
  font-weight: 700;
}

.builder-credit a:hover {
  color: var(--accent);
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .intro-grid,
  .split-feature,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .portfolio-grid,
  .stats,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .feature-card img {
    aspect-ratio: 16 / 10;
  }

  .stat {
    padding: 22px 20px;
  }
}
