/* ═══════════════════════════════════════════════
   FRONTROW VIEWS LIMITED — MAIN STYLESHEET
   thefrontrowviews.com
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* ── TOKENS ── */
:root {
  --navy:       #0A1F44;
  --navy-mid:   #0F2A5A;
  --navy-lt:    #1B3A7A;
  --teal:       #00A9A5;
  --teal-lt:    #E6F7F7;
  --gold:       #C9A84C;
  --gold-lt:    #E8C97A;
  --gold-pale:  #F5EDD6;
  --cream:      #F8F6F1;
  --cream-dk:   #EDE9E0;
  --charcoal:   #1A1A2E;
  --grey:       #6B7280;
  --slate:      #94A3B8;
  --white:      #FFFFFF;
  --orange:     #FF5A1F;

  --fs-xs:  0.68rem;
  --fs-sm:  0.82rem;
  --fs-md:  0.95rem;
  --fs-lg:  1.1rem;
  --fs-xl:  1.35rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: 2.4rem;
  --fs-4xl: 3.2rem;
  --fs-hero: clamp(3.2rem, 8vw, 7rem);

  --radius:   2px;
  --radius-lg: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.25s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--charcoal); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
::selection { background: var(--gold); color: var(--navy); }

/* ── TYPOGRAPHY SCALE ── */
.display { font-family: 'Cormorant Garamond', serif; }
.mono { font-family: 'DM Mono', monospace; }

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.1; }
h4, h5, h6 { font-family: 'Inter', sans-serif; font-weight: 600; }

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--gold); display: block; }

/* ── LAYOUT ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 48px; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 48px; }
.section { padding: 96px 0; }
.section-lg { padding: 120px 0; }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(10, 31, 68, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: padding var(--transition);
}
.nav.scrolled { padding: 12px 48px; }
.nav-logo { display: flex; flex-direction: column; gap: 2px; }
.nav-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
}
.nav-logo-main span { color: var(--gold); }
.nav-logo-sub {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  transition: color var(--transition);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); border-color: var(--gold); }
.nav-cta {
  padding: 10px 22px;
  background: var(--gold);
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}
.nav-cta:hover { background: var(--gold-lt); transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-hamburger span { width: 24px; height: 1.5px; background: var(--slate); display: block; transition: var(--transition); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: #009A96; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-sm { padding: 10px 22px; font-size: 0.65rem; }
.btn-arrow::after { content: '→'; font-size: 1rem; font-weight: 300; transition: transform var(--transition); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 36px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: 0 8px 32px rgba(10,31,68,0.08); transform: translateY(-2px); }
.card-navy { background: var(--navy); border-color: transparent; color: var(--white); }
.card-gold { background: var(--gold-pale); border-color: var(--gold); }

/* ── STAT BLOCKS ── */
.stat-number {
  font-family: 'DM Mono', monospace;
  font-size: var(--fs-3xl);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 6px;
}

/* ── DIVIDER ── */
.divider { width: 100%; height: 1px; background: rgba(0,0,0,0.08); margin: 48px 0; }
.divider-gold { background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ── TAGS / BADGES ── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid;
}
.tag-gold { color: var(--gold); border-color: var(--gold); background: rgba(201,168,76,0.06); }
.tag-teal { color: var(--teal); border-color: var(--teal); background: var(--teal-lt); }
.tag-navy { color: var(--navy); border-color: var(--navy); background: transparent; }

/* ── SECTION HEADINGS ── */
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; color: var(--navy); }
.section-title em { font-style: italic; color: var(--gold); }
.section-title.light { color: var(--white); }
.section-lead {
  font-size: var(--fs-lg);
  font-weight: 300;
  line-height: 1.8;
  color: var(--grey);
  max-width: 640px;
  margin-top: 20px;
}

/* ── TICKER ── */
.ticker { background: var(--gold); padding: 11px 0; overflow: hidden; }
.ticker-track { display: flex; white-space: nowrap; animation: tickerMove 35s linear infinite; }
.ticker-item {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 28px;
}
.ticker-sep { color: rgba(10,31,68,0.35); }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ── FOOTER ── */
.footer {
  background: var(--charcoal);
  color: var(--slate);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--white); letter-spacing: 0.04em; }
.footer-brand-name span { color: var(--gold); }
.footer-desc { font-size: var(--fs-sm); line-height: 1.75; color: var(--slate); margin-top: 12px; max-width: 280px; }
.footer-col-title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: var(--fs-sm); color: var(--slate); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: var(--fs-xs); color: rgba(148,163,184,0.6); }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-md); font-style: italic; color: var(--gold); }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 80% 50%, rgba(201,168,76,0.06), transparent 65%);
  pointer-events: none;
}
.page-hero-eyebrow { color: var(--gold); margin-bottom: 20px; }
.page-hero-title { font-size: clamp(2.4rem, 5vw, 4.8rem); color: var(--white); }
.page-hero-title em { color: var(--gold); font-style: italic; }
.page-hero-desc { font-size: var(--fs-lg); color: var(--slate); line-height: 1.75; max-width: 580px; margin-top: 20px; }

/* ── EDITION CARD ── */
.edition-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  transition: box-shadow var(--transition);
}
.edition-card:hover { box-shadow: 0 6px 24px rgba(10,31,68,0.08); }
.edition-num {
  font-family: 'DM Mono', monospace;
  font-size: var(--fs-2xl);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  min-width: 48px;
}
.edition-date { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.edition-stats { display: flex; gap: 24px; margin-top: 12px; flex-wrap: wrap; }
.edition-stat-item { font-size: var(--fs-xs); color: var(--grey); }
.edition-stat-item strong { color: var(--navy); font-weight: 700; }

/* ── KNOWLEDGE ARTICLE ── */
.article-body { font-size: 1.05rem; line-height: 1.85; color: #2D2D2D; }
.article-body h2 {
  font-size: var(--fs-2xl);
  color: var(--navy);
  margin: 52px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.article-body h3 { font-size: var(--fs-xl); color: var(--navy); margin: 36px 0 14px; }
.article-body p { margin-bottom: 24px; }
.article-body em { font-style: italic; }
.article-body strong { font-weight: 600; color: var(--navy); }
.article-pullquote {
  border-left: 4px solid var(--gold);
  padding: 20px 28px;
  margin: 36px 0;
  background: var(--gold-pale);
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-xl);
  font-style: italic;
  color: var(--navy);
  line-height: 1.55;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 40px;
}
.article-meta-item { font-size: var(--fs-xs); color: var(--grey); }
.article-meta-item strong { color: var(--navy); }

/* ── MEMBER GUIDE ── */
.guide-nav {
  position: sticky;
  top: 80px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 24px;
}
.guide-nav-title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.guide-nav-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.guide-nav-links a { font-size: var(--fs-sm); color: var(--grey); border-left: 2px solid transparent; padding-left: 12px; transition: var(--transition); }
.guide-nav-links a:hover, .guide-nav-links a.active { color: var(--navy); border-color: var(--gold); }

/* ── CALLOUT BOXES ── */
.callout {
  padding: 20px 24px;
  border-left: 4px solid;
  margin: 28px 0;
}
.callout-gold { border-color: var(--gold); background: var(--gold-pale); }
.callout-teal { border-color: var(--teal); background: var(--teal-lt); }
.callout-navy { border-color: var(--navy); background: rgba(10,31,68,0.04); }
.callout p { font-size: var(--fs-sm); line-height: 1.7; margin: 0; }
.callout strong { font-weight: 700; }

/* ── WALK STATS DASHBOARD ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2px; background: rgba(0,0,0,0.06); }
.stats-cell { background: var(--white); padding: 32px 24px; }
.stats-cell:first-child { grid-column: span 2; background: var(--navy); }

/* ── PROGRESS BAR ── */
.progress-bar { height: 4px; background: rgba(0,0,0,0.07); border-radius: 2px; overflow: hidden; margin-top: 8px; }
.progress-fill { height: 100%; background: var(--gold); border-radius: 2px; transition: width 1s var(--ease); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .container-sm { padding: 0 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,31,68,0.98);
    padding: 24px;
    gap: 16px;
    border-top: 1px solid rgba(201,168,76,0.15);
  }
  .container { padding: 0 20px; }
  .container-sm { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-lg { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-cell:first-child { grid-column: span 2; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stats-cell:first-child { grid-column: span 1; }
}
