/* =============================================================
   Vokal Ventures — Restrained, photography-first
   ============================================================= */

:root {
  --navy: #0a1f44;
  --ink: #14181f;
  --ink-soft: #4a5060;
  --muted: #8b909c;
  --paper: #fafaf8;
  --line: rgba(20, 24, 31, 0.1);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --gutter: clamp(24px, 5vw, 64px);
  --max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--navy); color: #fff; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 28px;
}

/* =============== NAV =============== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease,
              border-color 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(250, 250, 248, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 14px var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}
nav.scrolled .brand { color: var(--ink); }
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}
.brand-text {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 13px;
  font-weight: 400;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}
nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: #fff; }
nav.scrolled .nav-links a:hover { color: var(--navy); }

/* =============== HERO =============== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 15, 30, 0.5) 0%,
    rgba(10, 15, 30, 0.15) 30%,
    rgba(10, 15, 30, 0.15) 60%,
    rgba(10, 15, 30, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) clamp(48px, 8vw, 96px);
}
.hero-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  color: #fff;
}

.hero-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 780px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s forwards;
}
.hero-caption {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* =============== ABOUT =============== */
.about {
  padding: clamp(96px, 14vw, 160px) 0;
}
.about-lede {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 880px;
}

/* =============== PROJECT =============== */
.project {
  padding-bottom: clamp(96px, 14vw, 160px);
}
.project-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  max-width: 880px;
}
.project-summary {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: clamp(56px, 8vw, 96px);
}

.full-img {
  width: 100%;
  margin: clamp(64px, 8vw, 96px) 0;
}
.full-img img {
  width: 100%;
  height: auto;
}
.full-img figcaption {
  margin-top: 14px;
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-style: italic;
}

.project-detail {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.project-prose p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.project-prose p:last-child { margin-bottom: 0; }

.project-facts {
  display: flex;
  flex-direction: column;
}
.project-facts > div {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.project-facts > div:last-child { border-bottom: 1px solid var(--line); }
.project-facts dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.project-facts dd {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.45;
}

/* =============== TEAM =============== */
.team {
  padding: clamp(96px, 14vw, 160px) 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.member h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.member-role {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 500;
}
.member p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* =============== CONTACT =============== */
.contact {
  padding: clamp(96px, 14vw, 160px) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 720px;
}
.contact-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 500;
}
.contact-grid p {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.contact-grid a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}
.contact-grid a:hover { border-color: var(--navy); }

/* =============== FOOTER =============== */
.footer {
  background: var(--navy);
  color: #fff;
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.footer-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}
.footer-meta {
  display: flex;
  gap: 32px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* =============== SCROLL REVEALS =============== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============== RESPONSIVE =============== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .project-detail {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 640px) {
  body { font-size: 15px; }

  nav { padding: 14px var(--gutter); }
  nav.scrolled { padding: 12px var(--gutter); }
  .brand-text { font-size: 14px; }

  .hero { height: 88vh; min-height: 520px; }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(10, 15, 30, 0.45) 0%,
      rgba(10, 15, 30, 0.2) 30%,
      rgba(10, 15, 30, 0.5) 70%,
      rgba(10, 15, 30, 0.85) 100%);
  }

  .project-facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }
  .project-facts dd {
    font-size: 15px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-meta {
    flex-direction: column;
    gap: 4px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-tag, .hero-title, .hero-caption {
    opacity: 1; transform: translateY(0);
  }
}
