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

:root {
  --bg: #0a0a0a;
  --text: #f0f0f0;
  --muted: #555;
  --nav-h: 58px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

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

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1a1a1a;
}

.nav-logo {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

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

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero-iframe-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-iframe-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* covers viewport at any aspect ratio */
  width: max(100%, calc(100vh * 16 / 9));
  height: max(100%, calc(100vw * 9 / 16));
  border: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 40px 44px;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.scroll-hint svg {
  animation: bounce 1.6s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

.hero-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.hero-sound-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.75);
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  backdrop-filter: blur(6px);
  flex-shrink: 0;
}

.hero-sound-btn:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* ── VIDEO GRID ── */
.grid-section {
  padding: 4px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.video-item {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.video-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.35);
}

/* hover preview iframe — sits above thumbnail, below text */
.video-item .preview-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.video-item:hover .preview-iframe {
  opacity: 1;
}

/* info overlay — always above the iframe */
.video-item .info-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 50%, transparent 100%);
}

.video-item:hover .info-overlay {
  opacity: 1;
}

.info-overlay .v-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.info-overlay .v-desc {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* play icon hidden — video preview makes it redundant */
.play-icon { display: none; }

.video-item:hover .play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ── MODAL ── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
}

.modal.open { display: flex; }

.modal-inner {
  position: relative;
  width: min(92vw, 1280px);
  aspect-ratio: 16 / 9;
}

.modal-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
  padding: 8px 14px;
  z-index: 10;
  backdrop-filter: blur(6px);
}

.modal-close:hover {
  background: rgba(0,0,0,0.8);
  color: #fff;
}

/* ── MORE WORK ── */
.morework-wrap {
  padding: calc(var(--nav-h) + 48px) 40px 80px;
  max-width: 1500px;
  margin: 0 auto;
}

.morework-wrap h1 {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}

.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #1e1e1e;
  margin-bottom: 36px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 24px 12px 0;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--text); border-bottom-color: var(--text); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── ABOUT ── */
.about-wrap {
  padding: calc(var(--nav-h) + 60px) 60px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-content { padding-top: 6px; }

.about-content h1 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.about-content .subtitle {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.about-content p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(240,240,240,0.78);
  max-width: 600px;
  margin-bottom: 36px;
}

.about-links {
  display: flex;
  gap: 20px;
  margin-bottom: 52px;
}

.about-links a {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid #333;
  padding-bottom: 3px;
  transition: border-color 0.2s;
}

.about-links a:hover { border-color: #fff; }

.section-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 44px;
}

.tag-list li {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,240,240,0.6);
}

/* Agency logos — styled as wordmarks */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  align-items: center;
  margin-bottom: 44px;
}

.wordmark {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
  white-space: nowrap;
}

.wordmark:hover { color: rgba(255,255,255,0.75); }

/* ── CONTACT ── */
.contact-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.contact-wrap h1 {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 52px;
}

.contact-block { margin-bottom: 28px; }

.contact-block .c-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-block a,
.contact-block span {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.2s;
}

.contact-block a:hover { color: #fff; }

.marquee-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  border-top: 1px solid #1a1a1a;
  padding: 14px 0;
}

.marquee-inner {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── FOOTER ── */
footer {
  padding: 28px 40px;
  border-top: 1px solid #141414;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .copy {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero {
    height: 56.25vw; /* 16:9 ratio — shows full video on portrait phones */
  }

  .hero-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: none;
  }

  .hero-overlay { padding: 16px 18px; }

  .hero-sound-btn {
    font-size: 9px;
    padding: 9px 12px;
  }

  .scroll-hint { display: none; }
}

@media (max-width: 900px) {
  nav { padding: 0 20px; }

  .about-wrap {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + 40px) 24px 60px;
    gap: 32px;
  }

  .about-photo img { aspect-ratio: 1 / 1; max-width: 240px; }

  .morework-wrap { padding: calc(var(--nav-h) + 30px) 20px 60px; }

  footer { padding: 24px 20px; }

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

@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 20px; }
}
