﻿:root {
  --bg: #ffffff;
  --ink: #0c0c0c;
  --muted: #6b6b6b;
  --accent: #d1232a;
  --line: rgba(12, 12, 12, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  --font-display: "Manrope", "Arial", sans-serif;
  --font-body: "Manrope", "Arial", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 8vw;
  z-index: 5;
}

.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  color: #ffffff;
}

.site-header--overlay .logo img {
  filter: invert(1);
}

.logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: inherit;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.menu-panel {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.menu-panel__inner {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 92vw);
  background: #ffffff;
  padding: 36px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.menu-panel__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.2rem;
}

.menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel.is-open .menu-panel__inner {
  transform: translateX(0);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8vw;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background-color: #0c0c0c;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 60%);
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  display: grid;
  gap: 20px;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1.05;
}

.hero__thumbs {
  position: absolute;
  left: 6vw;
  bottom: 6vh;
  display: flex;
  gap: 12px;
  z-index: 2;
}

.hero-thumb {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  border: none;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
  opacity: 0.55;
}

.hero-thumb:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.hero-thumb.is-active {
  opacity: 1;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.statement {
  padding: 80px 8vw 40px;
}

.statement__inner {
  display: grid;
  gap: 16px;
  max-width: min(70vw, 920px);
  margin-left: auto;
  text-align: right;
}

.statement__inner h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.15;
}

.text-link {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8vw 32px;
}

.section-header h2 {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work {
  padding: 40px 0 120px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 24px;
  padding: 0 8vw;
  grid-auto-flow: dense;
}

.work-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.work-thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.6s ease;
  will-change: transform;
}

.work-title {
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
}

.work-card:hover .work-thumb,
.work-card:focus-visible .work-thumb {
  transform: scale(1.06);
}

.capabilities {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px 8vw;
  color: #ffffff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background-image 0.4s ease;
}

.capabilities__label {
  position: absolute;
  left: 8vw;
  top: 20vh;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  z-index: 2;
}

.capabilities::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.65) 70%);
  z-index: 1;
}

.capabilities__overlay {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: min(520px, 90vw);
  display: grid;
  gap: 20px;
}

.capabilities__list {
  display: grid;
  gap: 6px;
}

.capability {
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: color 0.25s ease;
}

.capability:hover,
.capability:focus-visible,
.capability.is-active {
  color: #ffffff;
}

.span-5 {
  grid-column: span 5;
}

.span-4 {
  grid-column: span 4;
}

.span-3 {
  grid-column: span 3;
}

.row-2 {
  grid-row: span 2;
}

.row-1 {
  grid-row: span 1;
}

.updates {
  padding: 80px 0 120px;
}

.updates__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0 8vw;
}

.update-card {
  display: grid;
  gap: 16px;
}

.update-thumb {
  height: 220px;
  border-radius: var(--radius-md);
  background-image: url("news.webp");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.update-card h3 {
  font-size: 1rem;
  line-height: 1.4;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--muted);
}

.updates__controls {
  display: flex;
  gap: 12px;
}

.arrow {
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.updates__footer {
  display: flex;
  justify-content: flex-end;
  padding: 32px 8vw 0;
}

.cta {
  padding: 0 8vw 120px;
}

.cta__inner {
  display: grid;
  gap: 12px;
  max-width: min(70vw, 920px);
}

.cta__inner h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 8vw 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 32px;
  font-size: 0.9rem;
}

.footer-grid h3 {
  font-family: var(--font-display);
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(2px);
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
  transition-delay: calc(var(--word-index) * 0.12s);
  will-change: transform, opacity;
}

.animate-words.is-visible .word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@keyframes hero-fade-zoom {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero[data-hero="1"] .hero__image {
  background-image: url("1.webp");
  opacity: 1;
}

.hero[data-hero="2"] .hero__image {
  opacity: 0;
}

.hero[data-hero="2"] .hero__video {
  opacity: 1;
}

.hero[data-hero="3"] .hero__image {
  background-image: url("2.webp");
  opacity: 1;
}

.hero[data-hero="3"] .hero__video {
  opacity: 0;
}

.hero.is-swapping[data-hero="1"] .hero__image,
.hero.is-swapping[data-hero="2"] .hero__video,
.hero.is-swapping[data-hero="3"] .hero__image {
  animation: hero-fade-zoom 1.1s ease both;
}

.hero-thumb[data-hero-thumb="1"] {
  background-image: url("1.webp");
}

.hero-thumb[data-hero-thumb="2"] {
  background-image: url("2.webp");
}

.hero-thumb[data-hero-thumb="3"] {
  background-image: url("2.webp");
}

.hero-thumb__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

[data-media="10"] {
  background-image: url("https://images.unsplash.com/photo-1518459031867-a89b944bffe4?auto=format&fit=crop&w=1200&q=80");
}

[data-media="11"] {
  background-image: url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1200&q=80");
}

[data-media="12"] {
  background-image: url("https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=1200&q=80");
}

[data-media="13"] {
  background-image: url("https://images.unsplash.com/photo-1519681393784-d120267933ba?auto=format&fit=crop&w=1200&q=80");
}

[data-media="14"] {
  background-image: url("https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?auto=format&fit=crop&w=1200&q=80");
}

[data-media="15"] {
  background-image: url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=1200&q=80");
}

.capabilities[data-capability="strategy"] {
  background-image: url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=1600&q=80");
}

.capabilities[data-capability="art-direction"] {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80");
}

.capabilities[data-capability="branding"] {
  background-image: url("https://images.unsplash.com/photo-1473186578172-c141e6798cf4?auto=format&fit=crop&w=1600&q=80");
}

.capabilities[data-capability="web-design"] {
  background-image: url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1600&q=80");
}

.capabilities[data-capability="campaign"] {
  background-image: url("https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=1600&q=80");
}

[data-media="19"] {
  background-image: url("news.webp");
}

[data-media="20"] {
  background-image: url("news.webp");
}

[data-media="21"] {
  background-image: url("news.webp");
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 16px;
  }

  .work-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 160px;
  }

  .span-5 {
    grid-column: span 6;
  }

  .span-4 {
    grid-column: span 3;
  }

  .span-3 {
    grid-column: span 3;
  }

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

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

@media (max-width: 768px) {
  .site-header {
    padding: 20px 6vw;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 0 6vw;
  }

  .hero__thumbs {
    left: 6vw;
    bottom: 4vh;
  }

  .hero-thumb {
    width: 76px;
    height: 76px;
  }

  .statement {
    padding: 60px 6vw 40px;
  }

  .section-header,
  .work-grid,
  .updates__track,
  .updates__footer,
  .cta,
  .site-footer {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 160px;
  }

  .span-5,
  .span-4,
  .span-3 {
    grid-column: span 2;
  }

  .row-2 {
    grid-row: span 2;
  }

  .updates__track {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% - 12vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 6vw;
    padding-bottom: 12px;
  }

  .capabilities {
    padding: 60px 6vw;
    flex-direction: column;
    align-items: flex-start;
  }

  .capabilities__label {
    position: static;
    margin-bottom: 20px;
  }

  .capabilities__overlay {
    margin-left: 0;
    width: 100%;
  }

  .update-card {
    scroll-snap-align: start;
  }

  .updates__track::-webkit-scrollbar {
    height: 6px;
  }

  .updates__track::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
  }

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

  .footer-meta {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .hero__thumbs {
    position: static;
    margin-top: 40px;
    align-self: flex-start;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
