/* ============================================================
   VLYRA — Apple-Level Design System
   Font: DM Sans (body) + Playfair Display (display)
   Palette: Near-black #080808, Gold #C9A84C, Off-white #F2F2ED
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,200;0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Syne:wght@600;700;800&display=swap');

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── SKIP-TO-CONTENT (a11y) ─── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--gold);
  color: var(--bg);
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  z-index: 10000;
}
.skip-link:focus {
  left: 16px;
  outline: 2px solid var(--bg);
  outline-offset: 2px;
}

:root {
  --bg: #080808;
  --bg-2: #0f0f0f;
  --bg-3: #141414;
  --bg-4: #1a1a1a;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(201,168,76,0.4);
  --gold: #C9A84C;
  --gold-light: #E5C97A;
  --gold-dim: rgba(201,168,76,0.15);
  --text-primary: #F2F2ED;
  --text-secondary: #999999;
  --text-tertiary: #555555;
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'Playfair Display', serif;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── GRAIN OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ─── NAV ─── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(8,8,8,0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease;
}

header.scrolled {
  background: rgba(8,8,8,0.95);
}

.logo {
  width: 110px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.25s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s var(--ease-out);
}

nav a:hover, nav a.active {
  color: var(--text-primary);
}

nav a:hover::after, nav a.active::after {
  right: 0;
}

nav .nav-cta {
  background: var(--gold);
  color: var(--bg);
  padding: 10px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.2s ease;
}

nav .nav-cta::after { display: none; }

nav .nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  color: var(--bg);
}

/* ─── PAGE WRAPPER ─── */
.page-wrap {
  padding-top: var(--nav-h);
}

/* ─── SECTION UTILITY ─── */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 120px 48px;
}

.section-sm {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 48px;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ─── EYEBROW LABEL ─── */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

/* ─── HEADINGS ─── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.display-xl em {
  font-style: italic;
  color: var(--gold);
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
}

h3.title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

p.body-lg {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
}

p.body-md {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--bg);
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  padding: 15px 40px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ─── HERO ─── */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,8,8,0.55) 0%,
    rgba(8,8,8,0.70) 50%,
    rgba(8,8,8,0.97) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content .display-xl {
  margin-bottom: 28px;
}

.hero-content .body-lg {
  margin: 0 auto 48px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  animation: float 2.5s ease-in-out infinite;
}

.hero-scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── FADE-IN ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ─── INNER PAGE HERO ─── */
.inner-hero {
  padding: 140px 48px 100px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.inner-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--gold);
}

/* ─── CARDS ─── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 48px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(201,168,76,0.05);
}

.card:hover::before {
  opacity: 1;
}

/* ─── GRID LAYOUTS ─── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ─── STATS ROW ─── */
.stats-row {
  display: flex;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  flex: 1;
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ─── QUOTE / PULL ─── */
.pull-quote {
  border-left: 2px solid var(--gold);
  padding: 32px 48px;
  background: var(--bg-2);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--text-primary);
  line-height: 1.5;
}

.pull-quote span {
  color: var(--gold);
  font-style: normal;
}

/* ─── AI BADGE ─── */
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.ai-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ─── PROCESS STEPS ─── */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.process-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s var(--ease-out);
  cursor: default;
}

.process-item:hover {
  padding-left: 12px;
}

.process-item:last-child {
  border-bottom: none;
}

.process-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.1em;
  min-width: 48px;
  padding-top: 4px;
}

.process-text h3 {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.process-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 580px;
}

/* ─── CONTACT FORM ─── */
.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 16px 20px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-tertiary);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

/* ─── MODAL ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
  display: flex;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 60px 52px;
  position: relative;
  animation: slideUp 0.35s var(--ease-out);
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
  font-family: var(--font-body);
}

.modal-close:hover { color: var(--gold); }

.modal-box h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.modal-box p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.modal-box ul {
  margin: 16px 0 20px 0;
  padding: 0;
  list-style: none;
}

.modal-box ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.modal-box ul li:last-child { border-bottom: none; }

.modal-box ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.modal-box ul li strong { color: var(--text-primary); }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-left .footer-logo {
  width: 90px;
  margin-bottom: 16px;
}

.footer-left p {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.footer-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ─── BANNER ─── */
.cta-banner {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 48px;
  text-align: center;
}

.cta-banner .display-md {
  margin-bottom: 16px;
}

.cta-banner .body-lg {
  margin: 0 auto 40px;
}

.cta-banner-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  header { padding: 0 24px; }
  nav { gap: 24px; }
  .section, .section-sm { padding: 80px 24px; }
  .inner-hero { padding: 120px 24px 80px; }
  footer { padding: 48px 24px; flex-direction: column; align-items: flex-start; }
  .footer-links { text-align: left; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .cta-banner { padding: 72px 24px; }
  .modal-box { padding: 40px 28px; }
  .pull-quote { padding: 24px 28px; }
}

@media (max-width: 640px) {
  nav .nav-cta { display: none; }
  nav { gap: 18px; }
  nav a { font-size: 11px; letter-spacing: 0.08em; }
}

/* ─── MOBILE: collapse two-column inline grids ─── */
@media (max-width: 900px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
}

