@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600&display=swap');

:root {
  --black:     #111111;
  --white:     #FFFFFF;
  --cream:     #F7F4F0;
  --dark-gray: #3A3835;
  --warm-gray: #8C8880;
  --border:    #E2DDD8;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.05; font-weight: 400; }
h1 { font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -0.01em; }
em { font-style: italic; }
p  { font-size: 1rem; color: var(--dark-gray); line-height: 1.75; }
a  { color: inherit; text-decoration: none; }

/* ── Layout ───────────────────────────────────────────── */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 760px;  margin: 0 auto; padding: 0 40px; }
section           { padding: 96px 0; }

/* ── Nav ──────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 0;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
}
#nav.scrolled .nav-logo,
#nav.light .nav-logo { color: var(--black); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
#nav.scrolled .nav-links a,
#nav.light .nav-links a { color: var(--dark-gray); }
.nav-links a:hover { color: var(--white); }
#nav.scrolled .nav-links a:hover,
#nav.light .nav-links a:hover { color: var(--black); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
@media (min-width: 769px) {
  .nav-hamburger { display: none !important; }
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: background var(--transition);
}
#nav.scrolled .nav-hamburger span,
#nav.light .nav-hamburger span { background: var(--black); }

/* Mobile menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  position: fixed;
  inset: 0;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 200;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--warm-gray); }
.mobile-close {
  position: absolute;
  top: 28px;
  right: 40px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero-video {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 72px;
}
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  color: var(--white);
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 18px;
}
.hero-headline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  right: 40px;
  z-index: 2;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ── Marquee ──────────────────────────────────────────── */
.marquee-strip {
  background: var(--black);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 40s linear infinite;
}

/* ── Image Marquee ────────────────────────────────────── */
.img-marquee-strip {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--cream);
}
.img-marquee-track {
  display: flex;
  animation: marquee 60s linear infinite;
  width: max-content;
}
.img-marquee-track img {
  height: 160px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  margin-right: 4px;
}
.marquee-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 0 40px;
}
.marquee-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
  padding: 0 8px;
  align-self: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-dark         { background: var(--black); color: var(--white); }
.btn-dark:hover   { background: var(--dark-gray); }
.btn-outline      { background: transparent; color: var(--black); border: 1px solid var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-white        { background: var(--white); color: var(--black); }
.btn-white:hover  { background: var(--cream); }
.btn-white-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5); }
.btn-white-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ── Labels ───────────────────────────────────────────── */
.label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  display: block;
  margin-bottom: 20px;
}
.label.light { color: rgba(255,255,255,0.4); }

/* ── Images ───────────────────────────────────────────── */
.img-wrap { overflow: hidden; background: var(--cream); display: block; }
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.img-wrap:hover img { transform: scale(1.04); }
.ratio-tall      { aspect-ratio: 3/4; }
.ratio-wide      { aspect-ratio: 16/9; }
.ratio-square    { aspect-ratio: 1/1; }
.ratio-landscape { aspect-ratio: 4/3; }
.ratio-portrait  { aspect-ratio: 2/3; }

/* ── Grids ────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

/* ── Case Study Cards ─────────────────────────────────── */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 0 24px 80px;
}
.cs-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  position: relative;
}
.cs-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream);
}
.cs-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.cs-card:hover .cs-card-image img { transform: scale(1.04); }
.cs-card-body {
  padding: 32px 40px 40px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cs-card-num {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 14px;
  display: block;
}
.cs-card-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.05;
}
.cs-card-location {
  font-size: 0.88rem;
  color: var(--warm-gray);
  margin-bottom: 4px;
}
.cs-card-type {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-gray);
  margin-bottom: 20px;
}
.cs-card-brief {
  font-size: 0.88rem;
  color: var(--dark-gray);
  line-height: 1.7;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}
.cs-card-brief-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  display: block;
  margin-bottom: 6px;
}
.cs-card-credits {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}
.cs-card-credit {
  font-size: 0.82rem;
  color: var(--warm-gray);
}
.cs-card-credit strong {
  color: var(--dark-gray);
  font-weight: 500;
}
.cs-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  margin-top: auto;
  transition: gap 0.2s ease;
}
.cs-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cs-card-link:hover { gap: 14px; }
.cs-placeholder {
  aspect-ratio: 4/3;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-placeholder p {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
@media (max-width: 768px) {
  .cs-grid { grid-template-columns: 1fr; padding: 0 20px 60px; gap: 24px; }
  .cs-card-body { padding: 24px 24px 32px; }
}

/* ── Work sections ────────────────────────────────────── */
.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}
.credits {
  font-size: 0.72rem;
  color: var(--warm-gray);
  line-height: 2;
  text-align: right;
}
.credits strong { color: var(--dark-gray); font-weight: 500; }

/* ── Reel cards ───────────────────────────────────────── */
.reel-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  aspect-ratio: 9/16;
  background: var(--black);
}
.reel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity 0.35s, transform 0.6s;
}
.reel-card:hover img { opacity: 0.55; transform: scale(1.05); }
.reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.reel-play {
  width: 54px; height: 54px;
  border: 1.5px solid rgba(255,255,255,0.65);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.reel-card:hover .reel-play {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: scale(1.08);
}
.reel-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ── Services ─────────────────────────────────────────── */
.service-row {
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.service-row:first-child { border-top: 1px solid var(--border); }
.service-num  { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--warm-gray); min-width: 28px; }
.service-body { flex: 1; }
.service-name { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; margin-bottom: 8px; }
.service-desc { font-size: 0.875rem; color: var(--warm-gray); line-height: 1.7; }
.service-aside {
  font-size: 0.8rem;
  color: var(--warm-gray);
  max-width: 240px;
  text-align: right;
  line-height: 1.8;
  flex-shrink: 0;
}

/* ── About ────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ── Page headers ─────────────────────────────────────── */
.page-hero {
  padding: 160px 0 72px;
  border-bottom: 1px solid var(--border);
}
.page-hero.dark {
  background: var(--black);
  border-color: rgba(255,255,255,0.08);
}
.page-hero.dark h1,
.page-hero.dark p { color: var(--white); }
.page-hero.dark p { color: rgba(255,255,255,0.6); }

/* ── Contact form ─────────────────────────────────────── */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-gray);
  margin-bottom: 8px;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--black);
  transition: border-color var(--transition);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--black); }
.form-textarea { height: 150px; resize: vertical; }

/* ── Footer ───────────────────────────────────────────── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 72px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-tag { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-bottom: 24px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.28); line-height: 1.8; }

/* ── CTA band ─────────────────────────────────────────── */
.cta-band {
  background: var(--black);
  padding: 120px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 20px; }
.cta-band p  { color: rgba(255,255,255,0.5); max-width: 400px; margin: 0 auto 40px; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { aspect-ratio: 4/3; max-width: 500px; }
  .footer-top  { grid-template-columns: 1fr 1fr; }
  .grid-4      { grid-template-columns: repeat(2, 1fr); }
  .grid-5      { grid-template-columns: repeat(3, 1fr); }
  .service-aside { display: none; }
}
@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 20px; }
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-headline { font-size: clamp(3rem, 13vw, 5rem); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .work-meta { flex-direction: column; }
  .credits { text-align: left; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 120px 0 56px; }
  .hero-content { padding: 0 20px; }
  .hero-scroll { right: 20px; }
  .nav-inner { padding: 0 20px; }
}
