/* ========================================
   VEARA HOMEPAGE CUSTOM STYLES
   ======================================== */

/* ── Reset & Base ── */
.veara-homepage *, 
.veara-homepage *::before, 
.veara-homepage *::after { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

/* ── Force Veara styles over WordPress theme.json global typography ── */
.veara-homepage .hero-eyebrow {
  font-size: 0.65rem !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  color: var(--gold) !important;
  margin: 0 0 2rem !important;
  padding: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3em !important;
}

.veara-homepage .hero-headline {
  font-size: clamp(3.5rem, 6vw, 5.5rem) !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 300 !important;
  line-height: 1.05 !important;
  color: var(--charcoal) !important;
  margin: 0 0 2rem !important;
  padding: 0 !important;
  letter-spacing: normal !important;
}

.veara-homepage .hero-headline em {
  font-style: italic !important;
  color: var(--burgundy) !important;
}

.veara-homepage .hero-sub {
  font-size: 1rem !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 300 !important;
  line-height: 1.8 !important;
  color: var(--muted) !important;
  margin: 0 0 3rem !important;
  padding: 0 !important;
  max-width: 400px;
}

.veara-homepage .form-label,
.veara-homepage .form-note {
  font-size: 0.65rem !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 300 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.veara-homepage .countdown-label,
.veara-homepage .countdown-unit-label,
.veara-homepage .story-eyebrow,
.veara-homepage .section-eyebrow,
.veara-homepage .markets-eyebrow,
.veara-homepage .markets-body,
.veara-homepage .story-body p,
.veara-homepage .pillar-body {
  font-size: revert !important;
  margin: revert !important;
  padding: revert !important;
  line-height: revert !important;
}

.veara-homepage h1,
.veara-homepage h2,
.veara-homepage h3 {
  font-size: revert;
  font-family: revert;
  font-weight: revert;
  line-height: revert;
  color: revert;
  margin: revert;
  padding: revert;
  letter-spacing: revert;
}

:root {
  --cream: #FAF6F0;
  --burgundy: #6B1C2E;
  --burgundy-light: #8A2438;
  --gold: #B8935A;
  --gold-light: #D4AF7A;
  --charcoal: #1A1010;
  --muted: #7A6A5A;
  --border: rgba(184, 147, 90, 0.2);
}

html { 
  scroll-behavior: smooth; 
}

body.veara-active {
  background-color: var(--cream);
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── Noise texture overlay ── */
body.veara-active::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='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.veara-homepage {
  position: relative;
  z-index: 1;
}

/* ── Nav ── */
nav.veara-nav {
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0;
  z-index: 100;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: normal;
}

nav.veara-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250,246,240,0.95) 0%, rgba(250,246,240,0) 100%);
  pointer-events: none;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--burgundy);
  text-transform: uppercase;
  position: relative;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  display: flex;
  align-items: center;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 4rem 4rem;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.hero-headline {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-headline em {
  font-style: italic;
  color: var(--burgundy);
}

.hero-sub {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}

/* ── Email form ── */
.email-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.form-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.input-row {
  display: flex;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: border-color 0.3s;
}

.input-row:focus-within {
  border-color: var(--gold);
}

.email-input {
  flex: 1;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--charcoal);
  font-weight: 300;
}

.email-input::placeholder { 
  color: #B0A090; 
}

.submit-btn {
  padding: 1rem 1.75rem;
  background: var(--burgundy);
  color: var(--cream);
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.3s;
  white-space: nowrap;
}

.submit-btn:hover { 
  background: var(--burgundy-light); 
}

.form-note {
  font-size: 0.72rem;
  color: var(--muted);
}

#form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: rgba(107, 28, 46, 0.06);
  border-left: 2px solid var(--burgundy);
  font-size: 0.85rem;
  color: var(--burgundy);
}

/* ── Hero Right (Visual) ── */
.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #E8D5C0 0%, #C8A882 40%, var(--burgundy) 100%);
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 0.3s;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent 60%, var(--cream) 100%);
}

/* Abstract hair strands SVG */
.strands-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.crown-emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: fadeIn 1s ease forwards 1s;
}

.crown-emblem svg {
  width: 200px;
  height: 200px;
  opacity: 0.25;
}

.launch-badge {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards 1.2s;
}

.launch-badge-inner {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
}

.launch-badge-inner span:first-child {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.25rem;
}

.launch-badge-inner .badge-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
}

.launch-badge-inner span:last-child {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}

/* ── Countdown ── */
.countdown-section {
  background: var(--charcoal);
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.countdown-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.countdown-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.countdown-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  min-width: 3ch;
  text-align: center;
}

.countdown-unit-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown-divider {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.3;
  align-self: flex-start;
  padding-top: 0.75rem;
}

/* ── Story Section ── */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  position: relative;
}

.story-left {
  background: var(--burgundy);
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.story-left::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}

.story-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.story-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  max-width: 420px;
}

.story-right {
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}

.story-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.story-body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 480px;
}

.story-body p + p { 
  margin-top: 1.25rem; 
}

/* ── What We Do / Pillars ── */
.pillars-section {
  padding: 6rem 4rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.pillars-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--charcoal);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.pillar {
  background: var(--cream);
  padding: 3rem 2.5rem;
  position: relative;
  transition: background 0.3s;
}

.pillar:hover { 
  background: #F5EDE0; 
}

.pillar-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.pillar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
}

.pillar-body {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ── Markets ── */
.markets-section {
  padding: 5rem 4rem;
  background: #F2E8DA;
  text-align: center;
}

.markets-inner {
  max-width: 700px;
  margin: 0 auto;
}

.markets-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.markets-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.markets-body {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.markets-flags {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.market-flag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.flag-emoji { 
  font-size: 2.5rem; 
}

.flag-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Second CTA ── */
.cta-section {
  padding: 6rem 4rem;
  background: var(--charcoal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: 'VEARA';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.cta-sub {
  font-size: 0.9rem;
  color: #F4DED6;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  border: 1px solid rgba(184,147,90,0.3);
  overflow: hidden;
  transition: border-color 0.3s;
}

.cta-form:focus-within { 
  border-color: var(--gold); 
}

.cta-input {
  flex: 1;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #F4DED6;
  font-weight: 300;
}

.cta-input::placeholder { 
  color: rgba(244, 222, 214, 0.5); 
}

.cta-btn {
  padding: 1rem 1.5rem;
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s;
  white-space: nowrap;
}

.cta-btn:hover { 
  background: var(--gold-light); 
}

#cta-success {
  display: none;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gold);
}

/* ── Footer ── */
footer.veara-footer {
  padding: 2.5rem 4rem;
  background: #120A08;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  flex-shrink: 0;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-logo-img:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 0.7rem;
  color: #F4DED6;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #F4DED6;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer-links a:hover { 
  color: var(--gold); 
}

/* ── Animations ── */
@keyframes fadeUp {
  from { 
    opacity: 0; 
    transform: translateY(24px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
  }
  to { 
    opacity: 1; 
  }
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  nav.veara-nav { 
    padding: 1.25rem 1.5rem; 
  }
  
  .nav-logo-img {
    height: 55px;
  }

  .hero { 
    grid-template-columns: 1fr; 
  }
  
  .hero-right { 
    height: 40vh; 
  }
  
  .hero-left { 
    padding: 7rem 1.5rem 3rem; 
  }

  .countdown-section { 
    padding: 3rem 1.5rem; 
  }
  
  .countdown-grid { 
    gap: 1.5rem; 
  }
  
  .countdown-divider { 
    display: none; 
  }

  .story-section { 
    grid-template-columns: 1fr; 
  }
  
  .story-left { 
    padding: 4rem 1.5rem; 
  }
  
  .story-right { 
    padding: 4rem 1.5rem; 
  }

  .pillars-section { 
    padding: 4rem 1.5rem; 
  }
  
  .pillars-grid { 
    grid-template-columns: 1fr; 
  }

  .markets-section { 
    padding: 4rem 1.5rem; 
  }

  .cta-section { 
    padding: 4rem 1.5rem; 
  }
  
  .cta-form { 
    flex-direction: column; 
  }
  
  .cta-btn { 
    padding: 0.875rem; 
  }

  footer.veara-footer { 
    padding: 2rem 1.5rem; 
    flex-direction: column; 
    text-align: center; 
    gap: 1.5rem;
  }
  
  .footer-logo-img {
    height: 70px;
    margin: 0 auto;
  }
  
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ── Notification Modal ── */
.veara-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--cream);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(26, 16, 16, 0.2), 0 0 1px rgba(107, 28, 46, 0.1);
  padding: 2.5rem;
  border-radius: 4px;
  z-index: 10000;
  min-width: 320px;
  max-width: 500px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.veara-notification.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
}

.veara-notification-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 16, 16, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.veara-notification-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.veara-notification-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.veara-notification-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(107, 28, 46, 0.08);
  color: var(--burgundy);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.veara-notification-icon.error {
  background: rgba(107, 28, 46, 0.08);
  color: var(--burgundy);
}

.veara-notification-icon.success {
  background: rgba(184, 147, 90, 0.15);
  color: var(--gold);
}

.veara-notification-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
}

.veara-notification-message {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.veara-notification-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.veara-notification-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s;
  font-weight: 400;
}

.veara-notification-btn.primary {
  background: var(--burgundy);
  color: var(--cream);
}

.veara-notification-btn.primary:hover {
  background: var(--burgundy-light);
}

.veara-notification-btn.secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.veara-notification-btn.secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 600px) {
  .veara-notification {
    min-width: 280px;
    max-width: calc(100vw - 2rem);
    padding: 2rem 1.5rem;
  }
}
