@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

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

:root {
  --bg:           #070707;
  --surface:      #0d0d0d;
  --border:       rgba(255, 255, 255, 0.07);
  --border-soft:  rgba(255, 255, 255, 0.04);
  --text:         #f2f1ea;
  --muted:        #6d6d6d;
  --accent:       #b52a1d;
  --font-display: 'Google Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'Google Sans', 'Helvetica Neue', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: #fff; }

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

/* ─── Layout ────────────────────────────────────────────────── */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 36px;
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
}

/* ─── Site Header ───────────────────────────────────────────── */

.site-header {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-logo {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 300;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.site-logo .dot {
  color: var(--accent);
}

.site-meta {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.6;
}

/* ─── Back Navigation ───────────────────────────────────────── */

.back-nav {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.back-link {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.back-link::before {
  content: '← ';
  color: var(--accent);
}

.back-link:hover { color: var(--text); }

/* ─── Page Title ────────────────────────────────────────────── */

.page-title-block {
  padding: 60px 0 44px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 80px);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.page-subtitle {
  margin-top: 14px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── Tabs ───────────────────────────────────────────────────── */

.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  margin-bottom: -1px;
  padding: 18px 28px;
  text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s;
}

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

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

.tab-content {
  padding: 48px 0 96px;
}

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

/* ─── Photo Grid ─────────────────────────────────────────────── */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--surface);
}

@media (max-width: 700px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .photo-grid { grid-template-columns: 1fr; }
}

.grid-item {
  aspect-ratio: 2 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  filter: brightness(0.88) saturate(0.8);
  transition: filter 0.4s ease, transform 0.4s ease;
  background: var(--surface);
}

.grid-item:hover {
  filter: brightness(1.0) saturate(1.0);
  transform: scale(1.025);
  position: relative;
  z-index: 1;
}

/* ─── Lightbox ───────────────────────────────────────────────── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 4, 0.97);
  z-index: 900;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lb-img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}

.lb-close,
.lb-prev,
.lb-next {
  position: fixed;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 18px;
  padding: 20px;
  transition: color 0.2s;
  line-height: 1;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover { color: #fff; }

.lb-close { top: 20px; right: 28px; font-size: 20px; }
.lb-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); }

.lb-counter {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ─── Video Section ──────────────────────────────────────────── */

.video-section {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.video-item {}

.video-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
}

.video-item-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}

.video-placeholder .ph-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
}

/* ─── Credits Tab ────────────────────────────────────────────── */

.credits-content {
  max-width: 680px;
}

.credits-block {
  padding: 36px 0;
  border-bottom: 1px solid var(--border-soft);
}

.credits-block:last-child {
  border-bottom: none;
}

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

.credits-body {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text);
}

.credits-table {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  font-size: 12px;
}

.credits-table .ct-row {
  display: contents;
}

.credits-table .ct-role,
.credits-table .ct-name {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
}

.credits-table .ct-role {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-right: 16px;
}

/* ─── Gallery Index (Homepage) ───────────────────────────────── */

.gallery-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 60px 0;
}

@media (max-width: 800px) {
  .gallery-index {
    grid-template-columns: 1fr;
  }
}

.gallery-card {
  display: block;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.65);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.gallery-card:hover .gallery-card-img {
  filter: brightness(0.65) saturate(0.9);
  transform: scale(1.05);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 5, 5, 0.95) 0%,
    rgba(5, 5, 5, 0.4) 40%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.gallery-card-num {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.gallery-card-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text);
}

.gallery-card-meta {
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.gallery-card-arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.2s, transform 0.2s;
}

.gallery-card:hover .gallery-card-arrow {
  color: var(--text);
  transform: translateX(4px);
}

/* ─── About Page ─────────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  max-width: 820px;
  padding: 64px 0 100px;
}

@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-row-key {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding: 32px 32px 32px 0;
  border-bottom: 1px solid var(--border);
  align-self: start;
  padding-top: 34px;
}

.about-row-val {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.about-row-val a {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
}

.about-row-val a:hover {
  border-bottom-color: var(--text);
}

/* ─── Footer ─────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

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

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

/* ─── Animations ─────────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.18s; }
.delay-3 { animation-delay: 0.28s; }
.delay-4 { animation-delay: 0.38s; }
.delay-5 { animation-delay: 0.48s; }
