@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Mono:wght@400;700&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --bg: #0c0c0c;
  --bg-card: #111111;
  --text: #e8dfc8;
  --text-dim: rgba(232, 223, 200, 0.42);
  --text-muted: #7a9a6a;
  --border: rgba(232, 223, 200, 0.15);
  --corner: rgba(232, 223, 200, 0.55);
  --gap: 3px;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
}

.nav-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,12,12,0.88) 0%, transparent 100%);
  pointer-events: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.nav-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.nav-links li a { transition: opacity 0.2s; }
.nav-links li a:hover { opacity: 0.5; }

.nav-links li a.active { opacity: 1; border-bottom: 1px solid var(--text); padding-bottom: 1px; }

.nav-sep { color: var(--text-dim); padding: 0 2px; }

.nav-instagram {
  display: flex;
  align-items: center;
  margin-left: 10px;
  transition: opacity 0.2s;
}
.nav-instagram:hover { opacity: 0.5; }
.nav-instagram svg { width: 15px; height: 15px; stroke: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  position: relative;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── VIEWFINDER CORNERS ── */
.corner-wrap { position: relative; }

.c { position: absolute; width: 13px; height: 13px; }
.c.tl { top: 10px; left: 10px; border-top: 1.5px solid var(--corner); border-left: 1.5px solid var(--corner); }
.c.tr { top: 10px; right: 10px; border-top: 1.5px solid var(--corner); border-right: 1.5px solid var(--corner); }
.c.bl { bottom: 10px; left: 10px; border-bottom: 1.5px solid var(--corner); border-left: 1.5px solid var(--corner); }
.c.br { bottom: 10px; right: 10px; border-bottom: 1.5px solid var(--corner); border-right: 1.5px solid var(--corner); }

/* ── LABEL ── */
.label {
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 52px 70px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #111;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(12,12,12,0.88) 0%,
    rgba(12,12,12,0.55) 45%,
    rgba(12,12,12,0.15) 100%
  );
}

.hero-overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(12,12,12,0.7) 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.hero-location {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4.5rem, 11vw, 10.5rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 22px;
}

.hero-tagline {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 10px;
  max-width: 400px;
}

.hero-sub {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  line-height: 2;
  margin-bottom: 32px;
  max-width: 380px;
}

/* page-corner decoration */
.page-corner-tl {
  position: absolute;
  top: 88px;
  left: 52px;
  z-index: 1;
}
.page-corner-tl .c { position: static; display: block; }
.page-corner-tl .c.tl { position: absolute; top: 0; left: 0; }

/* ── BUTTON ── */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border: 1.5px solid var(--text);
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn:hover { background: var(--text); color: var(--bg); }

/* ── SECTION HEADER ── */
.section-header {
  padding: 80px 52px 40px;
}
.section-header .label { display: block; margin-bottom: 6px; }
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.92;
  color: var(--text);
  letter-spacing: 0.02em;
}
.section-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 480px;
}

/* ── SHOWREEL ── */
.showreel-section {
  padding: 0 52px 80px;
}
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── PROJECT GRID ── */
.project-grid { padding: 0 0 2px; }

.project-block { margin-bottom: var(--gap); }

.project-row {
  display: grid;
  gap: var(--gap);
}

.row-a { grid-template-columns: 1fr 1fr 1fr; }

.row-b { grid-template-columns: 2fr 1fr; }

/* card base */
.card {
  background: var(--bg-card);
  overflow: hidden;
}

/* info (text) card */
.card-info {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.card-category {
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 0.92;
  color: var(--text);
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.card-meta {
  font-family: 'Space Mono', monospace;
  font-size: 0.53rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
  line-height: 2.2;
  margin-bottom: 18px;
}

.card-desc {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  flex-grow: 1;
}

.card-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  width: fit-content;
  transition: color 0.2s, border-color 0.2s;
}
.card-link:hover { color: var(--text); border-color: var(--text); }

/* image card */
.card-img {
  position: relative;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
  min-height: 360px;
}

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

.card-img-caption {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: 'Space Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ── SECTION BANNER ── */
.section-banner {
  position: relative;
  height: 42vh;
  min-height: 280px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 40px 52px;
}

.section-banner-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  background-color: #111;
}

.section-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,12,12,0.85) 0%,
    rgba(12,12,12,0.35) 60%,
    rgba(12,12,12,0.2) 100%
  );
}

.section-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.section-banner .preview-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

@media (max-width: 820px) {
  .section-banner { padding: 32px 24px; min-height: 220px; }
}

/* ── HOME PREVIEW STRIPS ── */
.preview-section { padding: 80px 52px; }

.preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}
.preview-header .label { display: block; margin-bottom: 5px; }
.preview-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.92;
  color: var(--text);
}
.preview-link {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  margin-bottom: 4px;
}
.preview-link:hover { color: var(--text); border-color: var(--text); }

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gap);
}

.preview-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-card);
}
.preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.preview-img:hover img { transform: scale(1.05); }

/* ── PAGE HEADER (interior pages) ── */
.page-header {
  padding: 130px 52px 50px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.page-header .label { display: block; margin-bottom: 10px; }
.page-header-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.88;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.page-header-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 500px;
}

/* ── VIDEO EMBED (commercial) ── */
.project-video {
  padding: var(--gap) 0 0;
}
.project-video .video-wrap {
  max-width: 100%;
}

/* ── ABOUT PAGE ── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: calc(100vh - 200px);
}

.about-photo-wrap {
  position: relative;
  background: #111;
  min-height: 600px;
}
.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-content {
  padding: 60px 52px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content .label { display: block; margin-bottom: 16px; }

.about-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 0.9;
  color: var(--text);
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}

.about-bio {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 48px;
}
.about-bio p + p { margin-top: 16px; }

.about-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}

.credits-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.credits-list {
  list-style: none;
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 2.3;
  color: var(--text);
}

.credits-list span {
  color: var(--text-dim);
  margin-right: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
}

/* ── CONTACT PAGE ── */
.contact-layout {
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 52px 80px;
}

.contact-layout .label { display: block; margin-bottom: 18px; }

.contact-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 9vw, 9rem);
  line-height: 0.87;
  color: var(--text);
  margin-bottom: 60px;
  letter-spacing: 0.02em;
  max-width: 700px;
}

.contact-items { max-width: 560px; }

.contact-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.25s;
}
.contact-item:first-child { border-top: 1px solid var(--border); }
.contact-item:hover { border-bottom-color: rgba(232, 223, 200, 0.4); }

.contact-item-type {
  font-family: 'Space Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
  min-width: 72px;
}

.contact-item-value {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text);
  transition: opacity 0.2s;
}
.contact-item:hover .contact-item-value { opacity: 0.65; }

/* ── FOOTER ── */
.footer {
  padding: 28px 52px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-name {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

/* ── MOBILE NAV OVERLAY ── */
@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12,12,12,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 1rem;
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-sep { display: none; }
  .nav-toggle { display: flex; }

  /* layout */
  .hero { padding: 0 24px 50px; }
  .page-corner-tl { left: 24px; top: 80px; }

  .section-header,
  .showreel-section,
  .preview-section,
  .page-header,
  .about-content,
  .contact-layout,
  .footer { padding-left: 24px; padding-right: 24px; }

  .row-a { grid-template-columns: 1fr; }
  .row-b { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }

  .about-layout { grid-template-columns: 1fr; }
  .about-photo-wrap { min-height: 420px; }

  .card-info { min-height: auto; }
  .card-img img { min-height: 260px; }
}
