/* ─── SOMEABOVE — Global Styles ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

/* ─── PASSWORD GATE ─── */
.pw-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.pw-gate .pw-logo {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}
.pw-gate input {
  background: transparent;
  border: 1px solid #333;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.06em;
  padding: 10px 16px;
  width: 220px;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}
.pw-gate input:focus { border-color: #666; }
.pw-gate input::placeholder { color: #555; }
.pw-gate .pw-error {
  font-size: 11px;
  color: #ff4444;
  letter-spacing: 0.06em;
  height: 14px;
}
body.pw-locked > *:not(.pw-gate) { display: none !important; }

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

:root {
  --bg:       #0a0a0a;
  --text:     #ffffff;
  --muted:    #888888;
  --nav-h:    64px;
  --max-w:    1200px;
  --content-w: 960px;   /* video / photo content width */
  --project-w: 820px;   /* project page video width */
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; }

/* ─── NAV ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: var(--nav-h);
}

.logo {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s;
}

nav a:hover,
nav a.active { opacity: 1; }

nav a.active {
  border-bottom: 1px solid rgba(255,255,255,0.6);
  padding-bottom: 1px;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
}

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 20px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.mobile-nav .close {
  position: absolute;
  top: 20px; right: 28px;
  font-size: 28px;
  cursor: pointer;
  opacity: 0.6;
  background: none;
  border: none;
  color: var(--text);
}

/* ─── PAGE WRAPPER ─── */
main {
  padding-top: var(--nav-h);
}

/* ─── HOME: REEL VIDEO ─── */
.reel-section {
  padding: 48px 32px 48px;
  display: flex;
  justify-content: center;
}

.reel-wrap {
  width: 100%;
  max-width: var(--content-w);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

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

/* ─── HOME: PHOTO + TEXT (TWO COLUMN) ─── */
.photo-section {
  padding: 0 32px 56px;
  display: flex;
  justify-content: center;
}

.photo-inner {
  width: 100%;
  max-width: var(--content-w);
  display: grid;
  grid-template-columns: 44fr 56fr;
  gap: 56px;
  align-items: center;
}

.photo-inner img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-text {
  padding: 8px 0;
}

.photo-text h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 28px;
}

.photo-text p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 380px;
}

/* ─── HOME: LOOPS SECTION LABEL ─── */
.loops-section {
  padding: 0 32px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loops-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  text-align: center;
}

/* ─── HOME: LOOPS GRID ─── */
.loops-grid {
  width: 100%;
  max-width: var(--content-w);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.loop-item {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #111;
}

.loop-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── WORK PAGE ─── */
.work-section {
  padding: 48px 32px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Featured reel at the top — spans full two-column width */
.work-reel {
  margin-bottom: 48px;
}

.work-reel-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

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

.work-category {
  margin-bottom: 72px;
}

.category-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e1e1e;
}

.work-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

/* Work item — link wrapping thumb + meta */
.work-item {
  display: block;
  cursor: pointer;
}

.work-item-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  position: relative;
}

.work-item-thumb img,
.work-item-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.work-item-thumb .thumb-placeholder {
  width: 100%;
  height: 100%;
  background: #141414;
  border: 1px solid #222;
}

.work-item:hover .work-item-thumb img,
.work-item:hover .work-item-thumb video {
  transform: scale(1.03);
  opacity: 0.75;
}

.work-item-meta {
  padding: 12px 2px 28px;
}

.work-item-meta h3 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.work-item-meta p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
}

/* ─── PROJECT PAGE ─── */
.project-section {
  padding: 48px 32px 40px;
  display: flex;
  justify-content: center;
}

.project-embed {
  width: 100%;
  max-width: var(--project-w);
}

.project-embed .vimeo-wrap {
  position: relative;
  padding-top: 56.25%;  /* 16:9 */
  background: #111;
}

.project-embed .vimeo-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Project stills */
.stills-section {
  padding: 0 32px 80px;
  display: flex;
  justify-content: center;
}

.stills-grid {
  width: 100%;
  max-width: var(--project-w);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.stills-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.project-meta {
  width: 100%;
  max-width: var(--project-w);
  margin: 24px auto 0;
  padding: 0 32px;
}

.project-meta h1 {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.project-meta p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
}

/* ─── CONTACT PAGE ─── */
.contact-section {
  padding: 80px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h));
}

.contact-inner {
  text-align: center;
}

.contact-inner h1 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.contact-inner a.email {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.contact-inner a.email:hover {
  border-color: rgba(255,255,255,0.9);
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
}

.contact-socials a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.contact-socials a:hover { color: var(--text); }

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

footer p {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.2s;
}

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

.footer-socials svg {
  width: 17px;
  height: 17px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  header { padding: 0 20px; }

  nav { display: none; }
  .hamburger { display: flex; }

  .reel-section,
  .photo-section,
  .loops-section,
  .work-section,
  .project-section,
  .stills-section { padding-left: 16px; padding-right: 16px; }

  .photo-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .photo-text h2 { font-size: 24px; }

  .loops-grid { grid-template-columns: 1fr; gap: 4px; }
  .work-row { grid-template-columns: 1fr; }

  .project-meta { padding: 0 16px; }

  footer { flex-direction: column; gap: 16px; text-align: center; }
}
