/* =========================================================
   Orion Love — Shared Base Styles
   Updated to match the redesigned page system:
   - Cormorant Garamond + Raleway typography
   - Unified CSS variable naming
   - Scroll reveal, nav, buttons, footer, utilities
   - No color-mix(), no conflicting hero systems
========================================================= */

/* =========================
   Design Tokens
========================= */
:root {
  /* Brand */
  --navy:     #0c1a3d;
  --navy-mid: #16275a;
  --gold:     #b8923a;
  --gold-lt:  #d4aa5a;
  --cream:    #f7f4ed;
  --sand:     #e8e1d0;
  --text:     #1a1a2e;
  --muted:    rgba(26, 26, 46, 0.62);
  --white:    #ffffff;

  /* Legacy aliases — keeps old page references working */
  --primary:    var(--navy);
  --accent:     var(--gold);
  --off-white:  var(--cream);
  --light-gray: var(--sand);
  --gray:       var(--muted);
  --slate:      rgba(74, 86, 117, 1);

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(12, 26, 61, 0.07);
  --shadow-card: 0 6px 32px rgba(12, 26, 61, 0.10);
  --shadow-md:   0 6px 32px rgba(12, 26, 61, 0.10);
  --shadow-hover:0 18px 46px rgba(12, 26, 61, 0.14);
  --shadow-lg:   0 20px 60px rgba(12, 26, 61, 0.13);
  --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.05);

  /* Radii */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
}

/* =========================
   Reset & Base
========================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* =========================
   Layout
========================= */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

section { padding: clamp(3.5rem, 6vw, 5rem) 0; }

/* =========================
   Typography
========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p { color: var(--text); }

/* Script accent (Allura) */
.accent-script {
  font-family: "Allura", cursive;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* =========================
   Section Utilities
========================= */
.section-header { margin-bottom: 2rem; }
.section-header.centered { text-align: center; }
.section-header h2 { margin-bottom: 0.5rem; }

.section-intro {
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: 0.6rem;
  max-width: 62ch;
  line-height: 1.85;
}
.section-header.centered .section-intro {
  margin-left: auto;
  margin-right: auto;
}

/* Section label — gold rule + uppercase tag */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.section-label::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-label span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  font-family: "Raleway", sans-serif;
}
.section-label.centered { justify-content: center; }
.section-label.centered::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Decorative diamond divider */
.divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  max-width: 1120px;
  margin: 0 auto;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sand);
}
.divider-diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.6;
}

/* =========================
   Navigation
========================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.35s, box-shadow 0.35s;
}

/* Transparent on hero pages; .scrolled class applied by JS */
.main-header.scrolled {
  background: rgba(12, 26, 61, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(184, 146, 58, 0.18);
}

/* Contact page has always-solid nav */
.main-header.solid {
  background: rgba(12, 26, 61, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(184, 146, 58, 0.18);
}

.main-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.logo { text-decoration: none; }

.logo-main {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-menu {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-menu a:not(.btn-nav)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-menu a:not(.btn-nav):hover::after,
.nav-menu a.active::after { width: 100%; }

.nav-menu a:hover,
.nav-menu a.active { color: var(--gold-lt); }

.btn-nav {
  background: transparent !important;
  border: 1px solid rgba(184, 146, 58, 0.55) !important;
  color: var(--gold-lt) !important;
  padding: 0.5rem 1.3rem;
  border-radius: 40px;
  transition: background 0.22s, border-color 0.22s !important;
}
.btn-nav:hover {
  background: rgba(184, 146, 58, 0.12) !important;
  border-color: var(--gold-lt) !important;
}
.btn-nav::after { display: none !important; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* =========================
   Buttons
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: "Raleway", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
  will-change: transform;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(184, 146, 58, 0.35);
}
.btn-primary:hover {
  background: var(--gold-lt);
  box-shadow: 0 8px 28px rgba(184, 146, 58, 0.45);
}

/* Legacy alias — pages using btn-primary-light still work */
.btn-primary-light {
  background: rgba(184, 146, 58, 0.14);
  color: var(--navy);
  border: 1px solid rgba(184, 146, 58, 0.28);
  box-shadow: none;
}
.btn-primary-light:hover {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(184, 146, 58, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(12, 26, 61, 0.22);
}
.btn-secondary:hover {
  background: rgba(12, 26, 61, 0.06);
  border-color: rgba(12, 26, 61, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--sand);
}
.btn-outline:hover {
  background: rgba(12, 26, 61, 0.05);
  border-color: rgba(12, 26, 61, 0.25);
}

/* Dark navy variant */
.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-navy:hover {
  background: var(--navy-mid);
  box-shadow: var(--shadow-md);
}

/* Gold outline variant */
.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: "Raleway", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 2.4rem;
  border-radius: 50px;
  border: 1px solid var(--gold);
  color: var(--gold-lt);
  background: transparent;
  transition: all 0.25s;
  cursor: pointer;
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184, 146, 58, 0.35);
}

/* White outline for dark hero use */
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: "Raleway", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  transition: all 0.25s;
  cursor: pointer;
}
.btn-outline-white:hover {
  border-color: var(--gold-lt);
  color: var(--gold-lt);
  transform: translateY(-2px);
}

/* =========================
   Hero (Photo)
   Pages supply their own background-image.
   This provides the shared structure.
========================= */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

/* Atmospheric overlay — applied per-page on .hero::before */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 450px at 50% -20%, rgba(184, 150, 58, 0.14), transparent 60%),
    linear-gradient(rgba(12, 26, 61, 0.72), rgba(12, 26, 61, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem) 3.25rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: "";
  height: 1px;
  width: 36px;
  background: var(--gold);
  opacity: 0.6;
}
.hero-eyebrow span {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  font-weight: 600;
}
/* Centered hero eyebrow variant */
.hero-eyebrow.centered {
  justify-content: center;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  color: var(--white);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.0;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero-subtitle {
  font-size: clamp(0.97rem, 1.8vw, 1.1rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 54ch;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-trust {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* Centered hero variant (contact, faq, services) */
.hero-content.centered {
  text-align: center;
}
.hero-content.centered .hero-cta {
  justify-content: center;
}
.hero-content.centered .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   USP / Value Cards
========================= */
.usp-section { background: rgba(255, 255, 255, 0.5); }

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.usp-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(230, 224, 211, 0.9);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
  box-shadow: var(--shadow-card);
}

/* Gold top shimmer on hover */
.usp-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.28s;
}
/* Ambient gold glow */
.usp-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(600px 200px at 50% -40%, rgba(184, 146, 58, 0.10), transparent 70%);
  pointer-events: none;
}

.usp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(184, 146, 58, 0.22);
}
.usp-card:hover::before { opacity: 1; }

/* Icon badge */
.usp-icon {
  width: 48px;
  height: 48px;
  background: rgba(184, 146, 58, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.25s;
  border: none;
}
.usp-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  stroke-width: 1.8;
}
.usp-card:hover .usp-icon { background: rgba(184, 146, 58, 0.18); }

/* Centered icon variant */
.usp-card.centered { text-align: center; }
.usp-card.centered .usp-icon { margin-left: auto; margin-right: auto; }

.usp-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.7rem;
  font-weight: 500;
}
.usp-card p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.8;
}

.cta-center {
  text-align: center;
  margin-top: 2.25rem;
}

/* =========================
   CTA Bands
========================= */

/* Light CTA (cream bg) */
.cta-banner {
  background: linear-gradient(180deg, rgba(12, 26, 61, 0.04), rgba(12, 26, 61, 0.09));
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.cta-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.cta-content h2 { margin-bottom: 0.75rem; }
.cta-content p {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 auto 1.75rem;
  line-height: 1.85;
  max-width: 60ch;
}

/* Dark CTA band */
.cta-band {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(184, 146, 58, 0.07), transparent 70%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
.cta-band-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  font-weight: 300;
  margin-bottom: 0.6rem;
}
.cta-band-copy h2 em { font-style: italic; color: var(--gold-lt); }
.cta-band-copy p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 52ch;
}

/* Buyers CTA (white bg) */
.buyers-cta {
  background: var(--white);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

/* =========================
   Process Steps
========================= */
.process-preview { background: rgba(255, 255, 255, 0.5); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.step {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(230, 224, 211, 0.9);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.28s;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(184, 146, 58, 0.22);
}
.step:hover::before { opacity: 1; }

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold);
  border: 1px solid rgba(184, 146, 58, 0.35);
  background: rgba(184, 146, 58, 0.08);
  margin: 0 auto 1rem;
  transition: background 0.25s, color 0.25s;
}
.step:hover .step-number {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.step h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.step p { color: var(--muted); line-height: 1.8; font-size: 0.96rem; }

/* =========================
   About Page: How I Work (row layout)
========================= */
.how-work-list {
  grid-template-columns: 1fr !important;
  gap: 1rem;
}

.how-work-list .usp-card {
  text-align: left;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  align-items: flex-start;
}

.how-work-list .usp-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0;
  flex-shrink: 0;
}

.how-work-list .usp-card p { max-width: 720px; }

/* =========================
   Footer
========================= */
.main-footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(184, 146, 58, 0.15);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.logo-footer {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.footer-location {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links ul,
.footer-contact ul { list-style: none; }

.footer-links li,
.footer-contact li { margin-bottom: 0.6rem; }

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--gold-lt); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.8rem;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 0.8rem;
}
.footer-bottom a:hover { color: var(--gold-lt); }

/* =========================
   Consent block
========================= */
.consent-text-only p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--muted);
  font-style: italic;
}
.consent-text-only a {
  color: var(--navy);
  text-decoration: underline;
  font-style: normal;
}

/* =========================
   Scroll Reveal
   Safe fallback: visible by default,
   enhanced when JS class applied.
========================= */
.reveal { opacity: 1; transform: none; }

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.js .reveal.visible,
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================
   Responsive
========================= */
@media (max-width: 968px) {
  /* Mobile nav drawer */
  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(12, 26, 61, 0.97);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
    transition: left 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  .nav-menu.active { left: 0; }
  .mobile-toggle { display: flex; }

  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-content.centered .hero-cta { align-items: center; }

  .cta-band-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

@media (max-width: 640px) {
  .process-steps { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.8rem; }
  .hero-cta .btn { width: 100%; max-width: 340px; }
}
