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

:root {
  --bg:      #ffffff;
  --bg2:     #f7f5f2;
  --dark:    #0c0c0c;
  --dark2:   #181818;
  --text:    #1c1c1c;
  --muted:   #6a6560;
  --accent:  #c8963e;
  --border:  #e8e2d8;
  --font:    'DM Sans', system-ui, -apple-system, sans-serif;
  --nav-h:   72px;
  --max:     1180px;
  --t:       0.28s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font); font-weight: 700; line-height: 1.2; }

/* ── NAV ──────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 48px;
  background: transparent;
  transition: background var(--t), backdrop-filter var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(12,12,12,0.96);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,0.07);
}

.nav-logo img { height: 32px; width: auto; }

.nav-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: #080808;
  padding: 100px 72px 72px;
  gap: 0;
  list-style: none;
  z-index: 999;
  overflow-y: auto;
  counter-reset: nav-counter;
}

.nav-menu.open {
  display: flex;
  animation: overlayFadeIn 0.3s ease both;
}

.nav-menu li {
  counter-increment: nav-counter;
  overflow: hidden;
}

.nav-menu a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: color 0.35s ease, gap 0.35s ease;
}

.nav-menu a::before {
  content: '0' counter(nav-counter);
  font-size: 0.26em;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.nav-menu a::after {
  content: '→';
  font-size: 0.45em;
  margin-left: auto;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  letter-spacing: 0;
}

.nav-menu a:hover,
.nav-menu a.active { color: #fff; gap: 26px; }
.nav-menu a:hover::before,
.nav-menu a.active::before { opacity: 1; }
.nav-menu a:hover::after,
.nav-menu a.active::after { opacity: 0.5; transform: translateX(0); }

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

.nav-menu.open li {
  animation: navLinkIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.nav-menu.open li:nth-child(1) { animation-delay: 0.07s; }
.nav-menu.open li:nth-child(2) { animation-delay: 0.13s; }
.nav-menu.open li:nth-child(3) { animation-delay: 0.19s; }
.nav-menu.open li:nth-child(4) { animation-delay: 0.25s; }
.nav-menu.open li:nth-child(5) { animation-delay: 0.31s; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-left: auto;
  background: none;
  border: none;
  padding: 8px;
  align-self: center;
}

.nav-toggle:hover,
.nav-toggle:focus        { background: none; outline: none; box-shadow: none; }
.nav-toggle:focus-visible { outline: 2px solid rgba(255,255,255,0.25); border-radius: 4px; }

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

/* ── NAV OVERLAY CLOSE BUTTON ─────────────────────────────────── */

.nav-close {
  position: absolute;
  top: 24px;
  right: 48px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 8px 12px;
  transition: color var(--t);
  font-family: var(--font);
}

.nav-close:hover        { color: #fff; background: none; }
.nav-close:focus        { outline: none; }
.nav-close:focus-visible { outline: 2px solid rgba(255,255,255,0.25); border-radius: 4px; }

/* ── PAGE HERO ─────────────────────────────────────────────────── */

.page-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 0.8s ease;
}

.page-hero:hover .page-hero-bg { transform: scale(1); }

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.25) 100%);
}

.page-hero-content {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  color: #fff;
}

.page-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 10px;
}

/* ── SECTIONS ──────────────────────────────────────────────────── */

.section { padding: 96px 0; }
.section.alt { background: var(--bg2); }
.section.dark { background: var(--dark); color: #fff; }

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 640px;
}

.section.dark .section-text { color: rgba(255,255,255,0.55); }

.divider {
  width: 48px; height: 2px;
  background: var(--accent);
  margin: 24px 0;
}

/* ── BTN ───────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #b8862e; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn-outline:hover { background: var(--text); color: #fff; }

.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover { background: #333; }

/* ── ABOUT PAGE ────────────────────────────────────────────────── */

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.value-card {
  background: var(--dark);
  color: #fff;
  padding: 40px 32px;
}

.value-card .val-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.she-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.she-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}

.she-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.she-item:first-child { border-top: 1px solid var(--border); }

.she-icon {
  width: 40px; height: 40px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 6px;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* ── TEAM PAGE ─────────────────────────────────────────────────── */

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

.team-card { }

.team-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg2);
  margin-bottom: 24px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.team-card:hover .team-photo img { transform: scale(1.04); }

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: rgba(255,255,255,0.15);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.team-bio {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-height: 100px;
  overflow: hidden;
  transition: max-height 0.4s ease;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.team-card.expanded .team-bio {
  max-height: 800px;
  mask-image: none;
  -webkit-mask-image: none;
}

.bio-toggle {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
}

/* ── WORK PAGE ─────────────────────────────────────────────────── */

.work-item {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.work-item:last-child { border-bottom: none; }

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.work-grid.flip { direction: rtl; }
.work-grid.flip > * { direction: ltr; }

.work-video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--dark);
  overflow: hidden;
  cursor: pointer;
}

.work-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.work-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background var(--t), opacity var(--t);
}

.work-video-wrap:hover .work-play-overlay { background: rgba(0,0,0,0.15); }

.play-btn {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: all var(--t);
}

.work-video-wrap:hover .play-btn {
  background: var(--accent);
  border-color: var(--accent);
}

.play-btn svg {
  width: 24px; height: 24px;
  fill: #fff;
  margin-left: 3px;
}

.film-tagline {
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 16px;
}

.film-cast-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.film-cast-list {
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
}

.film-awards {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.film-awards img {
  height: 56px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--t);
}

.film-awards img:hover { opacity: 1; }

/* ── SINGLE WORK PAGES ─────────────────────────────────────────── */

.single-work {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 48px;
}

.single-video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--dark);
  overflow: hidden;
  cursor: pointer;
  margin: 32px 0 40px;
}

.single-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
}

.single-video-wrap .work-play-overlay { border-radius: 0; }

/* ── CONTACT PAGE ──────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg2);
  border: 1.5px solid var(--border);
  padding: 14px 16px;
  outline: none;
  width: 100%;
  transition: border-color var(--t);
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 4px;
}

.ci-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.ci-icon {
  width: 40px; height: 40px;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

.ci-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.ci-value {
  font-size: 15px;
  color: var(--text);
}

.ci-value a { color: var(--text); }
.ci-value a:hover { color: var(--accent); }

/* ── SOCIALS ───────────────────────────────────────────────────── */

.socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all var(--t);
  border-radius: 50%;
}

.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── CTA STRIP ─────────────────────────────────────────────────── */

.cta-strip {
  background: var(--dark);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.cta-strip .section-title { color: #fff; margin: 0 auto 12px; }
.cta-strip .section-text  { color: rgba(255,255,255,0.55); margin: 0 auto 40px; }

/* ── FOOTER ────────────────────────────────────────────────────── */

.footer {
  background: #080808;
  color: #fff;
  padding: 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: 28px;
  list-style: none;
  margin-left: auto;
}

.footer-nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color var(--t);
}

.footer-nav a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* ── RESPONSIVE ────────────────────────────────────────────────── */

@media (max-width: 900px) {

  .nav { padding: 0 24px; }
  .nav-menu { padding: 88px 32px 48px; }
  .nav-close { right: 24px; }

  .page-hero { height: 280px; padding-bottom: 40px; }
  .page-hero-content { padding: 0 24px; }

  .section { padding: 64px 0; }
  .section-inner { padding: 0 24px; }

  .about-intro-grid,
  .she-block { grid-template-columns: 1fr; gap: 40px; }

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

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

  .work-grid,
  .work-grid.flip { grid-template-columns: 1fr; direction: ltr; gap: 32px; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img { height: 180px; }

  .footer-top { gap: 24px; }
  .footer-nav { margin-left: 0; gap: 16px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .single-work { padding: 60px 24px; }
}

@media (max-width: 580px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
