:root {
  --ink: #101312;
  --ink-soft: #333a37;
  --paper: #f7f3ed;
  --paper-deep: #e9dfd2;
  --charcoal: #121514;
  --charcoal-soft: #1e2421;
  --copper: #d2b06a;
  --sage: #5f8172;
  --line: rgba(16, 19, 18, 0.16);
  --light-line: rgba(247, 243, 237, 0.2);
  --shadow: 0 24px 60px rgba(16, 19, 18, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.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: 18px clamp(20px, 4vw, 54px);
  color: var(--paper);
  background: rgba(18, 21, 20, 0.38);
  border-bottom: 1px solid var(--light-line);
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--charcoal);
  background: var(--paper);
  border-radius: 50%;
  font-size: 0.76rem;
}

.site-header nav {
  gap: clamp(14px, 2.5vw, 30px);
  font-size: 0.9rem;
  color: rgba(247, 243, 237, 0.82);
}

.site-header nav a:hover {
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--charcoal);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 70%;
  filter: saturate(0.92) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 15, 14, 0.84) 0%, rgba(13, 15, 14, 0.58) 44%, rgba(13, 15, 14, 0.12) 100%),
    linear-gradient(0deg, rgba(13, 15, 14, 0.78) 0%, rgba(13, 15, 14, 0) 44%);
}

.hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 152px 0 96px;
}

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

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

.hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 8.25rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: rgba(247, 243, 237, 0.86);
  font-size: 1.38rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
}

.button.primary {
  color: var(--charcoal);
  background: var(--copper);
}

.button.secondary {
  color: var(--paper);
  border-color: rgba(247, 243, 237, 0.34);
}

.button.secondary.dark {
  color: var(--ink);
  border-color: var(--line);
}

.credits-band {
  background: var(--charcoal);
  color: var(--paper);
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.credits-viewport {
  overflow: hidden;
}

.credits-grid {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  padding: 22px 0;
  color: rgba(247, 243, 237, 0.72);
}

.credits-set {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(12px, 1.6vw, 20px);
}

.credits-set[aria-hidden="true"] {
  display: none;
}

.credits-set span,
.credits-set strong {
  flex: 0 0 auto;
  white-space: nowrap;
}

.credits-set span {
  margin-right: 4px;
}

.credits-set strong {
  color: var(--paper);
  font-size: 1rem;
}

@keyframes credits-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.intro,
.split-section,
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(72px, 10vw, 126px) 0;
}

.intro h2,
.section-heading h2,
.approach-copy h2,
.contact-grid h2 {
  margin-bottom: 0;
  font-size: 4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-copy,
.approach-copy p,
.contact-panel p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.services-section,
.work-section {
  padding: clamp(72px, 10vw, 120px) 0;
}

.services-section {
  background: var(--paper-deep);
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(32px, 5vw, 58px);
}

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

.service-card,
.credit-card,
.work-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 243, 237, 0.78);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 242px;
  padding: 26px;
}

.service-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--sage);
  font-weight: 900;
}

.service-card h3,
.work-card h3,
.credit-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.1;
}

.service-card p,
.work-card p,
.credit-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.service-card .price {
  margin-top: auto;
  padding-top: 24px;
  color: var(--ink);
  font-weight: 900;
}

.image-panel {
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-copy {
  align-self: center;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.work-section {
  color: var(--paper);
  background: var(--charcoal);
}

.work-section .eyebrow {
  color: var(--copper);
}

.credits-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: calc(-1 * clamp(10px, 1.5vw, 20px)) 0 clamp(26px, 4vw, 44px);
  padding: 24px;
  color: var(--paper);
  background: rgba(247, 243, 237, 0.07);
  border: 1px solid var(--light-line);
  border-radius: 8px;
}

.credits-callout h3 {
  margin-bottom: 6px;
  font-size: 1.22rem;
}

.credits-callout p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(247, 243, 237, 0.72);
}

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

.work-card,
.credit-card {
  background: var(--charcoal-soft);
  border-color: var(--light-line);
  color: var(--paper);
}

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

.video-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #050706;
}

.video-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 220ms ease, opacity 220ms ease;
}

.video-link:hover img {
  transform: scale(1.035);
  opacity: 1;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(247, 243, 237, 0.92);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.play-button::after {
  position: absolute;
  left: 28px;
  top: 22px;
  width: 0;
  height: 0;
  content: "";
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--charcoal);
}

.work-card > div:last-child,
.credit-card {
  padding: 22px;
}

.work-card p,
.credit-card p {
  color: rgba(247, 243, 237, 0.72);
}

.credit-card {
  grid-column: span 2;
  display: flex;
  min-height: 178px;
  flex-direction: column;
  align-items: flex-start;
}

.credit-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--copper);
  font-weight: 800;
}

.credit-link:hover {
  color: var(--paper);
}

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

.contact-panel {
  padding-top: 4px;
}

.site-footer {
  color: rgba(247, 243, 237, 0.7);
  background: var(--charcoal);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--light-line);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    background: rgba(18, 21, 20, 0.12);
    backdrop-filter: blur(6px);
  }

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

  .hero {
    min-height: 84vh;
  }

  .hero-image {
    top: -220px;
    bottom: 0;
    height: calc(100% + 220px);
    object-position: 28% center;
  }

  .hero-inner {
    padding-top: 184px;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: 5.5rem;
  }

  .intro h2,
  .section-heading h2,
  .approach-copy h2,
  .contact-grid h2 {
    font-size: 3rem;
  }

  .intro,
  .split-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .credits-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-panel {
    min-height: 420px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .credits-grid {
    width: max-content;
    animation: credits-marquee 28s linear infinite;
    will-change: transform;
  }

  .credits-set {
    gap: 18px;
    padding-right: 32px;
  }

  .credits-set[aria-hidden="true"] {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 700px) {
  .credits-viewport {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .credits-viewport::-webkit-scrollbar {
    display: none;
  }

  .credits-grid {
    width: auto;
    animation: none;
    will-change: auto;
  }

  .credits-set[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .section-inner {
    width: min(100% - 32px, 1120px);
  }

  .hero-inner {
    width: min(100% - 32px, 1120px);
  }

  .hero-copy,
  .intro-copy,
  .approach-copy p,
  .contact-panel p {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 3.55rem;
  }

  .intro h2,
  .section-heading h2,
  .approach-copy h2,
  .contact-grid h2 {
    font-size: 2.22rem;
  }

  .button {
    width: 100%;
  }
}
