:root {
  color-scheme: dark;
  --bg: #0b0c0f;
  --panel: #151313;
  --panel-2: #201c1a;
  --text: #f4f1ea;
  --muted: #b5afa5;
  --line: rgba(244, 241, 234, 0.14);
  --accent: #e34f2f;
  --accent-2: #57b7a7;
  --gold: #f1bf62;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: rgba(11, 12, 15, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 2px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  color: var(--muted);
  font-size: 0.9rem;
}

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

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(360px, 0.66fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.reel-stage {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 92px 4vw 32px;
  background:
    linear-gradient(135deg, rgba(227, 79, 47, 0.22), rgba(87, 183, 167, 0.14)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 72px),
    #08090b;
}

.reel-frame {
  position: relative;
  width: min(100%, 1120px);
}

.reel-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(244, 241, 234, 0.2);
  background: #050506;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
}

.reel-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 11px;
  background: rgba(8, 9, 11, 0.78);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-copy {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 100px clamp(24px, 5vw, 72px) 48px;
  background:
    linear-gradient(180deg, rgba(227, 79, 47, 0.08), transparent 42%),
    linear-gradient(180deg, #171313, #0b0c0f);
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 6.2vw, 6.2rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4.6vw, 4.8rem);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.32rem;
}

.intro {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.skill-strip {
  max-width: 640px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-strip span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(244, 241, 234, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 750;
}

.button:hover {
  border-color: rgba(244, 241, 234, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

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

.button.ghost {
  color: var(--muted);
}

.section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading .eyebrow,
.about-copy .eyebrow,
.contact-section .eyebrow {
  margin-bottom: 14px;
}

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

.principle-grid article {
  min-height: 250px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    var(--panel);
  border: 1px solid var(--line);
}

.principle-grid span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.principle-grid p {
  color: var(--muted);
}

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

.project {
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--panel);
  border: 1px solid var(--line);
}

.project.feature {
  grid-column: span 2;
}

.project img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  background: #101216;
}

.project-copy {
  padding: 22px;
}

.project-copy p {
  color: var(--muted);
}

.project-type {
  margin-bottom: 8px;
  color: var(--accent-2) !important;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
}

.portrait-wrap {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  object-position: center 18%;
}

.about-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.stats div {
  padding: 18px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.stats dt {
  color: var(--text);
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
}

.stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-section {
  padding: clamp(80px, 11vw, 150px) clamp(20px, 6vw, 80px);
  background:
    linear-gradient(135deg, rgba(232, 79, 61, 0.18), rgba(56, 182, 178, 0.12)),
    var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.contact-section h2 {
  max-width: 820px;
  margin: 0 auto 28px;
}

.contact-actions {
  justify-content: center;
}

.site-footer {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

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

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

  .reel-stage,
  .hero-copy {
    min-height: auto;
  }

  .reel-stage {
    padding-top: 92px;
    padding-bottom: 18px;
  }

  .reel-video {
    width: 100%;
  }

  .hero-copy {
    padding-top: 42px;
  }

  .work-grid,
  .principle-grid,
  .about-section {
    grid-template-columns: 1fr;
  }

  .project.feature {
    grid-column: span 1;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.82rem;
  }

  .hero-copy {
    padding-left: 20px;
    padding-right: 20px;
  }

  .work-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .project {
    min-height: 0;
  }

  .button {
    width: 100%;
  }
}
