/*
Theme Name: Verephied
Theme URI: https://verephied.com
Description: Custom theme for Verephied — Trust Architecture for Regulated Digital Infrastructure
Author: ARK Ideaz, Inc.
Version: 1.0
*/

/* ─────────────────────────────────────────
   VEREPHIED — Global Shared Styles
   Fonts: Cormorant Garamond, DM Mono, DM Sans
───────────────────────────────────────── */

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

:root {
  --ink: #0d0f14;
  --paper: #f4f1eb;
  --paper-dim: #e8e4db;
  --gold: #b8964a;
  --gold-light: #d4b06e;
  --rule: rgba(184,150,74,0.3);
  --text-primary: #0d0f14;
  --text-secondary: #4a4a52;
  --text-tertiary: #8a8a96;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--paper);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
  background: rgba(244,241,235,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.nav-logo {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

.nav-links a.nav-cta {
  color: var(--text-primary);
  border: 1px solid rgba(13,15,20,0.25);
  padding: 8px 18px;
  transition: all 0.2s;
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* ─── SHARED SECTION STYLES ─── */
section { padding: 120px 60px; }

.section-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 24px;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
}

/* ─── SHARED BUTTONS ─── */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--ink);
  color: var(--paper);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: all 0.25s;
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--text-primary);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(13,15,20,0.3);
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-gold {
  display: inline-block;
  padding: 15px 44px;
  background: var(--gold);
  color: var(--ink);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: all 0.25s;
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-ghost {
  display: inline-block;
  padding: 15px 44px;
  background: transparent;
  color: rgba(244,241,235,0.7);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(244,241,235,0.2);
  transition: all 0.25s;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── SHARED PAGE HERO (inner pages) ─── */
.page-hero {
  padding-top: 180px;
  padding-bottom: 80px;
  padding-left: 60px;
  padding-right: 60px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-bottom: 36px;
}

.page-breadcrumb a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s;
}

.page-breadcrumb a:hover { color: var(--gold); }

.page-hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 28px;
}

.page-hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.page-hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.75;
}

/* ─── SHARED PROCESS STEPS ─── */
.process-steps {
  display: flex;
  flex-direction: column;
}

.process-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}

.process-step:first-child { padding-top: 0; }
.process-step:last-child { border-bottom: none; }

.process-step-num {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold);
  min-width: 28px;
  padding-top: 3px;
}

.process-step-title {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ─── SHARED CTA BAND ─── */
.cta-band {
  background: var(--ink);
  padding: 120px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: 'VEREPHIED';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 260px;
  font-weight: 300;
  color: rgba(184,150,74,0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.02em;
}

.cta-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  color: var(--paper);
  line-height: 1.1;
  margin-bottom: 24px;
  position: relative;
}

.cta-sub {
  font-size: 17px;
  color: rgba(244,241,235,0.6);
  max-width: 520px;
  margin: 0 auto 56px;
  line-height: 1.75;
  position: relative;
}

.cta-scarcity {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(184,150,74,0.7);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.8;
  position: relative;
  padding: 20px 24px;
  border: 1px solid rgba(184,150,74,0.2);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.cta-btn-primary {
  display: inline-block;
  padding: 16px 48px;
  background: var(--gold);
  color: var(--ink);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
  border: 1px solid var(--gold);
}

.cta-btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.cta-btn-secondary {
  display: inline-block;
  padding: 16px 48px;
  background: transparent;
  color: rgba(244,241,235,0.7);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(244,241,235,0.2);
  transition: all 0.25s;
}

.cta-btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── FOOTER ─── */
footer {
  background: #080a0e;
  padding: 48px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(184,150,74,0.15);
}

.footer-brand {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(244,241,235,0.3);
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

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

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ─── HAMBURGER BUTTON ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ─── MOBILE MENU DRAWER ─── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(244,241,235,0.98);
  backdrop-filter: blur(16px);
  z-index: 150;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 100px 40px 60px;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.mobile-menu-links li a {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 300;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 1.3;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
}

.mobile-menu-links li:last-child a { border-bottom: none; }

.mobile-menu-links li a:hover,
.mobile-menu-links li a.active { color: var(--gold); }

.mobile-nav-cta {
  margin-top: 16px;
  font-family: 'DM Mono', monospace !important;
  font-size: 13px !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary) !important;
  border: 1px solid rgba(13,15,20,0.25) !important;
  padding: 12px 24px !important;
  display: inline-block !important;
  transition: all 0.2s;
}

.mobile-nav-cta:hover,
.mobile-nav-cta.active {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--ink) !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 80px 24px; }
  .page-hero { padding: 140px 24px 60px; }
  .cta-band { padding: 80px 24px; }
  footer { flex-direction: column; gap: 24px; text-align: center; }
}
