/* ===================================================================
   Reserve Arms — Coming Soon Landing Page
   Complete Stylesheet
   =================================================================== */

/* ----- CSS Custom Properties ----- */
:root {
  --navy: #14274E;
  --gold: #B99653;
  --gold-hover: #C9A96E;
  --ice: #F1F6F9;
  --cream: #F5F0E1;
  --muted: #9BA4B4;
  --body-text: #2D3748;
  --border-light: #D1D9E0;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ----- Global Reset & Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(185, 150, 83, 0.25);
  color: var(--navy);
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--body-text);
  font-family: var(--font-body);
  font-weight: 400;
}

/* ----- Visually Hidden (Screen Reader Only) ----- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
  text-align: center;
}

/* ----- Hero Noise Overlay ----- */
.hero-noise {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  filter: url(#noiseFilter);
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* ----- Hero Vignette ----- */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 20, 40, 0.4) 100%);
  z-index: 2;
  pointer-events: none;
}

/* ----- Hero Gold Wash ----- */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(185, 150, 83, 0.03) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
  transition: opacity 600ms ease;
}

.hero.hero-glow::after {
  background: radial-gradient(ellipse at center, rgba(185, 150, 83, 0.06) 0%, transparent 60%);
  opacity: 1;
}

/* ----- Hero Content ----- */
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-4vh);
}

/* ----- Hero Logo ----- */
.hero-logo {
  max-width: clamp(280px, 42vw, 620px);
  width: 100%;
  height: auto;
  margin-bottom: 2.5rem;
}

/* ----- Hero Tagline ----- */
.hero-tagline {
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  color: var(--cream);
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  line-height: 1.4;
}

/* ----- Hero Subtitle ----- */
.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

/* ----- CTA Button ----- */
.cta-button {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  border: none;
  transition: background-color 320ms cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 320ms cubic-bezier(0.25, 0.1, 0.25, 1);
  min-height: 48px;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--gold-hover);
  box-shadow: 0 0 24px rgba(185, 150, 83, 0.3);
}

/* ----- Scroll Indicator ----- */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 1px;
  height: 40px;
  background: var(--gold);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.3;
  }
}

/* ----- Hero Load Animation ----- */
.hero-animate {
  opacity: 0;
  transform: translateY(12px);
}

.hero-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 800ms ease, transform 800ms ease;
}

/* ===================================================================
   BRAND STORY SECTION
   =================================================================== */
.brand-story {
  background: var(--ice);
  padding: clamp(5rem, 8vw, 8rem) 2rem;
}

.brand-story-inner {
  max-width: 680px;
  margin: 0 auto;
}

/* ----- Brand Story Heading ----- */
.brand-story h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  text-align: center;
  margin: 0 0 3rem;
  position: relative;
  padding-bottom: 2rem;
}

.brand-story h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 1px;
  background: var(--gold);
}

/* ----- Brand Story Body Paragraphs ----- */
.brand-story p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.75;
  color: var(--body-text);
  margin: 0 0 1.25rem;
}

/* ----- Pull Quote ----- */
.pull-quote {
  text-align: center;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin: 3.5rem 0;
  padding: 3rem 0;
}

.pull-quote .pull-quote-lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  color: var(--body-text);
  margin: 0 0 1rem;
}

.pull-quote blockquote {
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--gold);
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

/* ----- Value Pillars ----- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 3.5rem 0;
  position: relative;
}

.pillar {
  position: relative;
}

.pillar:not(:last-child) {
  border-right: 1px solid rgba(185, 150, 83, 0.3);
  padding-right: 1.5rem;
}

.pillar h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.pillar p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  line-height: 1.7;
  color: var(--body-text);
  margin: 0;
}

/* ----- Closing CTA ----- */
.closing-cta {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 2rem;
}

.closing-cta p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.75;
  color: var(--body-text);
  margin: 0 0 1.25rem;
}

.closing-cta .signature {
  margin-top: 1.5rem;
  font-style: italic;
}

/* ===================================================================
   SCROLL REVEAL ANIMATION
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms ease, transform 600ms ease;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5rem) 2rem clamp(2rem, 4vw, 3rem);
  text-align: center;
}

/* ----- Footer Noise ----- */
.footer-noise {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  filter: url(#noiseFilter);
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* ----- Footer Content ----- */
.footer-content {
  position: relative;
  z-index: 2;
}

/* ----- Footer Logo ----- */
.footer-logo {
  display: block;
  max-width: clamp(180px, 25vw, 300px);
  width: 100%;
  height: auto;
  opacity: 0.85;
  margin: 0 auto 2.5rem;
}

/* ----- Footer Copyright ----- */
.footer-copyright {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.6875rem;
  color: var(--muted);
  opacity: 0.7;
  margin: 2.5rem auto 0;
  max-width: 560px;
  line-height: 1.6;
}

/* ----- Footer Fade Animation ----- */
.footer-fade {
  opacity: 0;
}

.footer-fade.is-visible {
  opacity: 1;
  transition: opacity 1000ms ease;
}

/* ===================================================================
   RESPONSIVE BREAKPOINTS
   =================================================================== */

/* ----- Tablet (≤1024px) ----- */
@media (max-width: 1024px) {
  .brand-story-inner {
    max-width: 600px;
  }
}

/* ----- Mobile Landscape / Small Tablet (≤768px) ----- */
@media (max-width: 768px) {
  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(185, 150, 83, 0.3);
    padding-right: 0;
    padding-bottom: 2rem;
    margin-bottom: 0;
  }

  .hero-content {
    transform: translateY(-2vh);
  }
}

/* ----- Mobile Portrait (≤480px) ----- */
@media (max-width: 480px) {
  .cta-button {
    width: 100%;
    max-width: 320px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .scroll-indicator {
    display: none;
  }

  .hero-content {
    transform: none;
  }
}

/* ===================================================================
   REDUCED MOTION
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-animate,
  .reveal,
  .footer-fade {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===================================================================
   PRINT STYLES
   =================================================================== */
@media print {
  .hero {
    min-height: auto;
    padding: 2rem;
  }

  .hero-noise,
  .scroll-indicator,
  .hero::before,
  .hero::after,
  .footer-noise {
    display: none;
  }

  .hero-animate,
  .reveal,
  .footer-fade {
    opacity: 1 !important;
    transform: none !important;
  }

  .cta-button {
    border: 1px solid #14274E;
  }
}
