/* =============================================================
   VOKAL VENTURES — Stylesheet
   Palette derived from logo: deep navy + warm ivory + brass accent
   ============================================================= */

:root {
  --navy: #0a1f44;
  --navy-deep: #061536;
  --navy-mid: #15306b;
  --ivory: #f5f3ed;
  --ivory-dim: #ebe8df;
  --paper: #ffffff;
  --ink: #0a1f44;
  --ink-soft: #2c3e6b;
  --steel: #6b7892;
  --line: rgba(10, 31, 68, 0.12);
  --line-strong: rgba(10, 31, 68, 0.4);
  --accent: #c9a961;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  --gutter: clamp(20px, 4vw, 48px);
  --max: 1380px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -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: var(--ivory); }

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-style: italic;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.nav-links a {
  color: var(--navy);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--navy);
  transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--navy);
  padding: 9px 16px;
  border-radius: 100px;
  text-decoration: none;
  color: var(--navy);
  transition: all 0.3s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy); color: var(--ivory); }

/* =============== HERO =============== */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 140px var(--gutter) 72px;
  background: var(--navy);
  color: var(--ivory);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg,
    rgba(245, 243, 237, 0.05) 0px,
    rgba(245, 243, 237, 0.05) 1px,
    transparent 1px,
    transparent 18px);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 243, 237, 0.3), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 243, 237, 0.6);
  margin-bottom: 48px;
}
.dot-live {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(201, 169, 97, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0); }
}
.hero-meta .sep { opacity: 0.4; }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(44px, 8vw, 124px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: hero-rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-title .line:nth-child(1) span { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.22s; }
.hero-title .line:nth-child(3) span { animation-delay: 0.34s; }
.hero-title .line:nth-child(4) span { animation-delay: 0.46s; }
@keyframes hero-rise {
  to { transform: translateY(0); }
}

.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  border-top: 1px solid rgba(245, 243, 237, 0.18);
  padding-top: 28px;
  max-width: 960px;
  opacity: 0;
  animation: fade-up 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s forwards;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-lede {
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  line-height: 1.45;
  max-width: 520px;
  color: rgba(245, 243, 237, 0.85);
  font-style: italic;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
  padding: 14px 22px;
  border: 1px solid rgba(245, 243, 237, 0.4);
  border-radius: 100px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.hero-link:hover {
  background: var(--ivory);
  color: var(--navy);
  border-color: var(--ivory);
}
.hero-link svg { transition: transform 0.3s; }
.hero-link:hover svg { transform: translate(2px, -2px); }

/* =============== SECTION =============== */
.section {
  padding: clamp(72px, 10vw, 120px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 64px;
}
.section-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 10px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 1000px;
}
.section-title em {
  font-style: italic;
  color: var(--navy);
}

/* =============== PRACTICE =============== */
.practice-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: start;
}
.practice-text p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 24px;
  color: var(--ink-soft);
}
.practice-text p.lead {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  margin-bottom: 28px;
}
.practice-text p.lead::first-letter {
  font-style: italic;
  color: var(--navy);
}
.practice-text em {
  font-style: italic;
  color: var(--navy);
}

.practice-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 6px;
}
.side-block {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.side-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 8px;
}
.side-value {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.side-list {
  list-style: none;
}
.side-list li {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  padding: 4px 0;
  color: var(--navy);
}

/* =============== BAGLEY =============== */
.section--project {
  padding-bottom: clamp(96px, 12vw, 140px);
}
.bagley-frame {
  position: relative;
  margin-bottom: 56px;
  background: var(--navy);
  overflow: hidden;
}
.bagley-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bagley-frame:hover .bagley-img { transform: scale(1.02); }

.bagley-caption {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  flex-wrap: wrap;
}
.bagley-caption .dot-sep { color: var(--accent); }

.bagley-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 56px 0 80px;
}
.gallery-item {
  display: flex;
  flex-direction: column;
}
.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--navy);
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-item:hover img {
  transform: scale(1.02);
}
.gallery-item figcaption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.bagley-info {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
  align-items: start;
}
.bagley-text p {
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 22px;
  color: var(--ink-soft);
}
.bagley-text p.lead {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 28px;
}

.bagley-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bagley-specs > div {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.bagley-specs > div:last-child { border-bottom: 1px solid var(--line); }
.bagley-specs dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}
.bagley-specs dd {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  line-height: 1.3;
}

.bagley-quote {
  border-top: 1px solid var(--line);
  padding-top: 56px;
  max-width: 1100px;
}
.bagley-quote p {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.bagley-quote em {
  font-style: italic;
  color: var(--accent);
}
.bagley-quote .qm {
  font-style: italic;
  color: var(--accent);
  opacity: 0.8;
}
.bagley-quote footer {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.bagley-quote .rule {
  width: 48px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* =============== LEADERSHIP =============== */
.leaders {
  display: flex;
  flex-direction: column;
}
.leader {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: padding-left 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}
.leader:last-child { border-bottom: 1px solid var(--line); }
.leader::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.leader:hover { padding-left: 24px; }
.leader:hover::before { width: 14px; }

.leader-name {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--navy);
}
.leader-name em {
  font-style: italic;
  color: var(--accent);
}
.leader-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 10px;
}
.leader-body p {
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* =============== CONTACT =============== */
.contact {
  padding: clamp(96px, 12vw, 140px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
}
.contact-left .section-num { margin-bottom: 24px; }
.contact-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.contact-title em {
  font-style: italic;
  color: var(--accent);
}
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-block {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.contact-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.contact-value {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: -0.01em;
  font-style: italic;
  word-break: break-word;
}
.contact-value a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.3s, color 0.3s;
}
.contact-value a:hover {
  border-color: var(--accent);
  color: var(--navy);
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 16px 26px;
  background: var(--navy);
  color: var(--ivory);
  text-decoration: none;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  position: relative;
  overflow: hidden;
}
.contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.contact-cta:hover::before { transform: translateX(0); }
.contact-cta:hover { color: var(--navy); }
.contact-cta span, .contact-cta svg { position: relative; z-index: 1; }
.contact-cta svg { transition: transform 0.3s; }
.contact-cta:hover svg { transform: translate(2px, -2px); }

/* =============== FOOTER =============== */
.footer {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 56px var(--gutter) 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ivory);
  padding: 3px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-name {
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.footer-tagline {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
  color: rgba(245, 243, 237, 0.55);
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--accent);
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li {
  font-size: 13px;
  padding: 4px 0;
  color: rgba(245, 243, 237, 0.75);
  word-break: break-word;
}
.footer-col a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(245, 243, 237, 0.12);
  margin-top: 16px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 243, 237, 0.5);
}

/* =============== SCROLL REVEALS =============== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  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);
}

/* =============== TABLET =============== */
@media (max-width: 960px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 36px;
    margin-bottom: 48px;
  }
  .section-num { padding-top: 0; }
  .practice-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .bagley-info {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 56px;
  }
  .leader { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .leader:hover { padding-left: 0; }
  .contact { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

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

  nav { padding: 14px var(--gutter); gap: 8px; }
  nav.scrolled { padding: 10px var(--gutter); }
  .nav-links { display: none; }
  .brand-text { display: none; }
  .nav-cta {
    font-size: 10px;
    padding: 8px 14px;
    letter-spacing: 0.1em;
  }

  .hero {
    min-height: auto;
    padding: 110px var(--gutter) 60px;
  }
  .hero-meta {
    font-size: 10px;
    letter-spacing: 0.14em;
    gap: 10px;
    margin-bottom: 32px;
  }
  .hero-meta .sep { display: none; }
  .hero-title { margin-bottom: 36px; }
  .hero-foot {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 24px;
  }
  .hero-link { align-self: flex-start; }

  .section-title { font-size: clamp(28px, 7vw, 36px); }

  .side-list li { font-size: 17px; }

  .bagley-specs > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .bagley-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0 56px;
  }

  .bagley-quote { padding-top: 40px; }
  .bagley-quote p { font-size: clamp(22px, 5.5vw, 28px); }
  .bagley-quote footer {
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .contact-cta {
    width: 100%;
    justify-content: center;
    padding: 18px 24px;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px var(--gutter) 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

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