:root {
  --bg: #101416;
  --bg-soft: #171d20;
  --surface: rgba(244, 238, 226, 0.08);
  --surface-strong: rgba(244, 238, 226, 0.14);
  --paper: #eee6d7;
  --text: #f3eee5;
  --muted: #b8afa2;
  --dim: #7e766c;
  --line: rgba(243, 238, 229, 0.16);
  --line-dark: rgba(16, 20, 22, 0.16);
  --accent: #d59a62;
  --accent-2: #70b7b1;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.32);
  --max: 1160px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, #101416 0%, #15191b 42%, #0f1214 100%);
  background-size: 48px 48px, 48px 48px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

p,
h1,
h2,
h3,
ul {
  margin: 0;
}

.site-header,
.section,
.reel-section,
.contact-section,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--bg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.35rem);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  padding-block: 0.3rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  outline: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 20, 22, 0.96) 0%, rgba(16, 20, 22, 0.82) 34%, rgba(16, 20, 22, 0.34) 72%, rgba(16, 20, 22, 0.64) 100%),
    linear-gradient(180deg, rgba(16, 20, 22, 0.2), rgba(16, 20, 22, 0.92));
}

.hero-content {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(3.5rem, 8vh, 6rem) 0 clamp(3rem, 7vh, 4.5rem);
}

.eyebrow {
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 14ch;
  margin-top: 0.95rem;
  font-size: clamp(3.4rem, 6.4vw, 5.8rem);
}

h2 {
  font-size: clamp(2.15rem, 5vw, 4.4rem);
  max-width: 12ch;
}

h3 {
  font-size: 1.28rem;
}

.lead {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(243, 238, 229, 0.32);
  outline: none;
}

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

.button-secondary {
  background: rgba(243, 238, 229, 0.08);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.intro-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.section-copy {
  display: grid;
  gap: 1rem;
}

.section-note,
.reel-copy p,
.contact-section p,
.service-card p,
.process-list p,
.credit-list span {
  color: var(--muted);
}

.section-note {
  max-width: 42rem;
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.service-card,
.process-list article {
  min-height: 15rem;
  display: grid;
  align-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
}

.service-number {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
}

.reel-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2rem);
  border-block: 1px solid var(--line);
  background: rgba(244, 238, 226, 0.04);
}

.reel-copy {
  display: grid;
  gap: 1rem;
}

.reel-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0c0f10;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.waveform {
  height: 16rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #121719, #0c0f10);
  background-size: 28px 28px, 28px 28px, auto;
}

.waveform span {
  flex: 1;
  height: var(--h);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

.credit-list {
  list-style: none;
  display: grid;
  gap: 0;
  padding: 0;
}

.credit-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(243, 238, 229, 0.1);
}

.credit-list li:first-child {
  border-top: 0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.process-list article {
  min-height: 12rem;
}

.contact-section {
  margin-block: clamp(4rem, 8vw, 6rem);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius);
  color: #15100c;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-section .eyebrow,
.contact-section p {
  color: #5f5244;
}

.contact-section .button {
  align-self: end;
  justify-self: end;
  color: var(--paper);
  background: var(--bg);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  color: var(--dim);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

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

  .contact-section .button {
    justify-self: start;
  }
}

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

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(16, 20, 22, 0.76), rgba(16, 20, 22, 0.96)),
      linear-gradient(90deg, rgba(16, 20, 22, 0.92), rgba(16, 20, 22, 0.48));
  }

  .hero-content {
    padding-top: 7rem;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .credit-list li {
    display: grid;
  }

  .waveform {
    height: 12rem;
    gap: 0.35rem;
    padding: 1.1rem;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .button {
    transition: none;
  }
}
