/* ══════════════════════════════════════════════════════════════
   RUSHES MEDIA — app.css
   Palette: Deep Navy + Warm Cream + Muted Gold
   Aesthetic: Ralph Lauren heritage, editorial vintage, premium
   ══════════════════════════════════════════════════════════════ */

:root {
  --cream: #f5f0e6;
  --cream-deep: #e8dfcd;
  --cream-elevated: #faf7ef;
  --navy: #1a2a3f;
  --navy-soft: #2a4466;
  --navy-deep: #0f1a2a;
  --text: #27364a;
  --text-soft: #4b5d76;
  --text-muted: #7a8a9e;
  --line: rgba(26, 42, 63, 0.14);
  --line-light: rgba(26, 42, 63, 0.07);
  --gold: #b89860;
  --gold-dim: rgba(184, 152, 96, 0.15);
  --gold-hover: #a0813f;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Subtle grain overlay for analog warmth ── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.wrap {
  width: min(1160px, calc(100% - 42px));
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(245, 240, 230, 0.94);
  border-bottom: 1px solid var(--navy);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 1px 16px rgba(26, 42, 63, 0.06);
}

.header-inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  justify-self: start;
}

.brand-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: transparent;
  filter: sepia(1) hue-rotate(185deg) saturate(300%) brightness(0.58);
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: center;
}

.nav-cta {
  justify-self: end;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.25s ease;
}

/* Gold underline on hover — editorial micro-interaction */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  text-decoration: none;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 11px;
  font-weight: 600;
  padding: 13px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: var(--navy);
  color: var(--cream-elevated);
}

.btn-primary:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 42, 63, 0.18);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

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

.btn-large {
  padding: 16px 38px;
  font-size: 11px;
}

/* Gold CTA variant for dark backgrounds */
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-hover);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(184, 152, 96, 0.25);
}

/* Light CTA for dark backgrounds */
.btn-light {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}

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

/* ══════════════════════════════════════════
   SECTION FOUNDATIONS
   ══════════════════════════════════════════ */
.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--line-light);
}

.section-alt {
  background: linear-gradient(180deg, #ede5d4 0%, var(--cream-deep) 100%);
}

/* Dark navy section */
.section-dark {
  background: var(--navy);
  border-bottom-color: rgba(245, 240, 230, 0.06);
}

.label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-weight: 400;
}

h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.08;
  margin-bottom: 14px;
}

p {
  margin: 0;
}

.section-sub {
  max-width: 760px;
  color: var(--text-soft);
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.8;
}

/* Headings on dark backgrounds */
.heading-light {
  color: var(--cream-elevated);
}

.sub-light {
  color: rgba(245, 240, 230, 0.50);
}

/* ── Decorative gold rule ── */
.gold-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 36px;
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    800px 280px at 50% 6%,
    rgba(26, 42, 63, 0.08),
    transparent 72%
  );
}

.hero-inner {
  max-width: 940px;
  position: relative;
  z-index: 1;
}

.hero-wordmark {
  width: min(860px, 90%);
  height: auto;
  display: block;
  margin: 0 auto 12px;
  object-fit: contain;
  filter: sepia(1) hue-rotate(185deg) saturate(300%) brightness(0.7);
  mix-blend-mode: multiply;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-line {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════
   SOCIAL PROOF BAR
   ══════════════════════════════════════════ */
.social-proof {
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
  padding: 16px 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════
   SERVICE CARDS
   ══════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--navy);
}

.card {
  background: var(--cream-elevated);
  border: none;
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 42, 63, 0.12);
}

.card:hover::before {
  width: 100%;
}

.card:hover .card-num,
.card:hover h3,
.card:hover p,
.card:hover ul {
  color: rgba(245, 240, 230, 0.85);
}

.card:hover .card-num {
  color: var(--gold);
}

.card-num {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  transition: color 0.4s ease;
}

/* Gold accent rule under number */
.card-rule {
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 14px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-rule {
  width: 48px;
  background: var(--gold);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 8px;
  transition: color 0.4s ease;
}

.card p {
  color: var(--text-soft);
  margin-bottom: 12px;
  font-weight: 300;
  line-height: 1.75;
  font-size: 14.5px;
  transition: color 0.4s ease;
}

.card ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--text-muted);
  display: grid;
  gap: 4px;
  font-size: 13px;
  font-weight: 300;
  transition: color 0.4s ease;
}

.card ul li::before {
  content: "·";
  margin-right: 8px;
  color: var(--gold);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   WHY US — dark navy section
   ══════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 48px;
}

.why-card {
  border-top: 1px solid rgba(245, 240, 230, 0.08);
  padding-top: 32px;
  transition: border-color 0.35s ease;
}

.why-card:hover {
  border-color: var(--gold);
}

.why-num {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  font-weight: 300;
  color: rgba(245, 240, 230, 0.06);
  line-height: 1;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 22px;
  color: var(--cream-elevated);
  margin-bottom: 12px;
  line-height: 1.2;
}

.why-card p {
  font-size: 14.5px;
  font-weight: 300;
  color: rgba(245, 240, 230, 0.45);
  line-height: 1.8;
}

/* ══════════════════════════════════════════
   PROCESS / STEPS
   ══════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.step-card {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line-light);
  padding: 36px 30px;
  transition: background 0.3s ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.75);
}

.step-num {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.step-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.75;
  font-size: 14.5px;
}

.step-duration {
  display: inline-block;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 3px 10px;
}

.section-cta {
  text-align: center;
  margin-top: 32px;
}

/* ══════════════════════════════════════════
   METRICS / RESULTS
   ══════════════════════════════════════════ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.metrics-grid article {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line-light);
  padding: 32px 24px;
  text-align: center;
  transition: background 0.3s ease;
}

.metrics-grid article:hover {
  background: rgba(255, 255, 255, 0.75);
}

.metrics-grid h3 {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 6px;
  color: var(--navy);
}

.metrics-grid p {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 300;
}

/* ══════════════════════════════════════════
   MISSION / APPROACH — centered editorial
   ══════════════════════════════════════════ */
.mission {
  text-align: center;
  position: relative;
}

/* Decorative gold lines top and bottom */
.mission::before,
.mission::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.mission::before { top: 0; }
.mission::after { bottom: 0; }

.mission-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--navy);
  max-width: 760px;
  margin: 0 auto 28px;
}

.mission-body {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.85;
}

/* ══════════════════════════════════════════
   FAQ — accordion
   ══════════════════════════════════════════ */
.faq-list {
  display: grid;
  gap: 8px;
  max-width: 740px;
}

.faq-item {
  background: var(--cream-elevated);
  border: 1px solid var(--line-light);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item[open] {
  border-color: var(--gold-dim);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 22px 18px;
  margin-top: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
}

/* ══════════════════════════════════════════
   FINAL CTA — dark navy
   ══════════════════════════════════════════ */
.final-cta {
  text-align: center;
}

.final-cta.section-dark h2 {
  color: var(--cream-elevated);
}

.final-cta.section-dark .section-sub {
  color: rgba(245, 240, 230, 0.50);
}

.final-cta-note {
  display: block;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 300;
  color: rgba(245, 240, 230, 0.25);
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════
   LOGO BAND / CAROUSEL
   ══════════════════════════════════════════ */
.logo-band {
  overflow: hidden;
}

.carousel-fade {
  position: relative;
}

.carousel-fade::before,
.carousel-fade::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.carousel-fade::before {
  left: 0;
  background: linear-gradient(to right, var(--cream), transparent);
}

.carousel-fade::after {
  right: 0;
  background: linear-gradient(to left, var(--cream), transparent);
}

.carousel-track {
  margin-top: 14px;
  display: flex;
  width: max-content;
  animation: logoMarquee 34s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-row {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}

.logo-tile {
  width: 190px;
  height: 88px;
  background: var(--cream-elevated);
  border: 1px solid var(--line-light);
  display: grid;
  place-items: center;
  transition: border-color 0.3s ease;
}

.logo-tile:hover {
  border-color: var(--gold-dim);
}

.logo-tile img {
  max-width: 80%;
  max-height: 60px;
  object-fit: contain;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  padding: 48px 0 0;
  font-size: 13px;
  color: rgba(245, 240, 230, 0.40);
  border-top: 1px solid rgba(245, 240, 230, 0.06);
  background: var(--navy-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 28px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: rgba(245, 240, 230, 0.40);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cream-elevated);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 230, 0.06);
  text-align: center;
  padding: 14px 0 22px;
  font-size: 11px;
  font-weight: 300;
  color: rgba(245, 240, 230, 0.20);
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.07s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.21s; }

/* ══════════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════════ */
@keyframes logoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }

  .header-right {
    margin-left: auto;
  }

  .cards-grid,
  .steps-grid,
  .metrics-grid,
  .why-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .why-grid {
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(1160px, calc(100% - 26px));
  }

  .header-inner {
    min-height: 52px;
  }

  .hero-wordmark {
    width: min(560px, 96%);
    margin-bottom: 10px;
  }

  .btn {
    padding: 12px 20px;
  }

  .nav-cta {
    padding: 10px 16px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .section {
    padding: 72px 0;
  }

  .logo-tile {
    width: 162px;
    height: 80px;
  }

  .metrics-grid h3 {
    font-size: 38px;
  }
}
