/* ============================================================
   Lecryp Capital — Shared Stylesheet
   ============================================================ */

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

:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE8DE;
  --ink: #1A1714;
  --ink-light: #3D3830;
  --ink-muted: #8C8478;
  --rule: rgba(26,23,20,0.12);
  --rule-strong: rgba(26,23,20,0.25);
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAVIGATION ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 60px;
  background: transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
  gap: 40px;
}
nav.scrolled {
  background: rgba(245,240,232,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.nav-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo {
  height: 38px;
  width: auto;
  display: block;
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.nav-tag {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: all 0.3s ease;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 60px;
  border-top: 1px solid var(--rule);
  gap: 40px;
}
.footer-logo { height: 34px; opacity: 0.82; }
.footer-logo-link { text-decoration: none; display: flex; }

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav-link {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav-link:hover { color: var(--ink); }

.footer-right {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: right;
  line-height: 2;
}

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── LAYOUT UTILITIES ─────────────────────────────────────── */
.full-rule {
  width: calc(100% - 120px);
  margin: 0 60px;
  height: 1px;
  background: var(--rule);
}

.section-label {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 52px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--rule-strong);
}

/* ── PAGE HEADER (inner pages) ────────────────────────────── */
.page-header {
  padding: 168px 60px 72px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}
.page-header-eyebrow {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.15s forwards;
}
.page-header-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.08;
  color: var(--ink);
  max-width: 720px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}
.page-header-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.85;
  max-width: 600px;
  margin-top: 28px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
}

/* ── BODY COPY SHARED ─────────────────────────────────────── */
.prose {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ink-light);
  max-width: 680px;
}
.prose p + p { margin-top: 24px; }

/* ── MOBILE ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  nav {
    padding: 18px 28px;
    flex-wrap: wrap;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(245,240,232,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 28px 28px 32px;
    gap: 22px;
    border-bottom: 1px solid var(--rule);
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .nav-tag { display: none; }
  .page-header { padding: 120px 28px 60px; }
  footer {
    padding: 40px 28px;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .footer-nav { gap: 18px; }
  .footer-right { text-align: left; }
  .full-rule { width: calc(100% - 56px); margin: 0 28px; }
}
