/* ═══════════════════════════════════════════════
   Eagle V Corporation — evretail.com
   Named for Eagle Lake, Paw Paw, MI
═══════════════════════════════════════════════ */

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

/* ─── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

/* ─── Design Tokens — Eagle Lake palette ─────── */
:root {
  /* Foundations — deep lake navy */
  --bg:             #0b1922;
  --bg-2:           #0f2030;
  --bg-3:           #142638;

  /* Text */
  --text-primary:   #d4e8f4;
  --text-secondary: #6a90aa;
  --text-muted:     #2e4a5a;

  /* Accent — lake surface blue */
  --accent:         #1b6484;
  --accent-bright:  #50b8d4;
  --accent-dim:     #234f68;

  /* Dividers */
  --divider:        #142030;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Layout */
  --container: 1140px;
  --gutter:    48px;
  --ease:      0.5s ease-out;
}

/* ─── Noise Texture Overlay ──────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  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.85' 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;
  background-size: 256px 256px;
}

/* ─── Base ───────────────────────────────────── */
html, body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Container ─────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── Typography ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.75rem, 5.5vw, 4.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.85rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.75rem); }

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 64ch;
}

p + p { margin-top: 1.2em; }

/* ─── Navigation ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 30px 0;
  transition: background var(--ease), padding var(--ease), border-color var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  padding: 18px 0;
  background: rgba(11, 25, 34, 0.92);
  border-color: var(--divider);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color var(--ease);
}

.nav-logo:hover { color: var(--accent-bright); }

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-secondary);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: 180px;
  padding-bottom: 96px;
  position: relative;
  overflow: hidden;
  /* Deep lake gradient — lighter in center, darker toward edges */
  background:
    radial-gradient(ellipse 110% 90% at 48% 35%,
      #162e46 0%,
      #0f2438 40%,
      #0b1922 75%);
}

/* ─── Topo layer — homepage only ─────────────────
   Fixed div added only in index.html. mix-blend-mode: screen
   lets it glow through all section backgrounds as the page scrolls. */
.topo-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url('topo-bg.svg');
  background-size: 88% auto;
  background-position: center 48%;
  background-repeat: no-repeat;
  opacity: 0.14;
  mix-blend-mode: screen;
  transform-origin: center center;
  will-change: opacity, transform;
}

/* Fade bottom edge into next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-content {
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
  opacity: 0.7;
  margin-bottom: 36px;
}

.hero h1 {
  font-style: italic;
  margin-bottom: 40px;
}

.hero-body {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 54ch;
}

.hero-body + .hero-body { margin-top: 1em; }

.hero-stats {
  display: flex;
  gap: 56px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(80, 184, 212, 0.18);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--accent-bright);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-top: 10px;
  text-transform: uppercase;
}

/* ─── Page Hero (inner pages) ─────────────────── */
.page-hero {
  padding-top: 172px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--divider);
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 100% at 50% 20%, #14293d 0%, #0b1922 65%);
}


.page-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
  opacity: 0.7;
  margin-bottom: 32px;
}

.page-hero h1 {
  font-style: italic;
  margin-bottom: 24px;
}

.page-hero p {
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 52ch;
  position: relative;
  z-index: 1;
}

.page-hero > .container > * { position: relative; z-index: 1; }

/* ─── Sections ────────────────────────────────── */
.section {
  padding: 100px 0;
  border-top: 1px solid var(--divider);
}

/* Alternating depth */
.section:nth-of-type(even) {
  background: var(--bg-2);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 56px;
}

/* ─── Two-column layout ─────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}

.two-col-label {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-primary);
  padding-top: 4px;
  line-height: 1.2;
}

.two-col-body p {
  font-size: 1.0625rem;
  line-height: 1.85;
}

/* ─── Values list (How We Operate) ───────────── */
.operate-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 36px;
}

.operate-item {
  padding: 28px 0 28px 22px;
  border-left: 2px solid var(--accent-dim);
  border-bottom: 1px solid var(--divider);
  transition: border-color var(--ease);
}

.operate-item:last-child { border-bottom: none; }

.operate-item:hover { border-left-color: var(--accent-bright); }

.operate-item p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 56ch;
}

/* ─── Bullet list ─────────────────────────────── */
.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.bullet-list li {
  display: flex;
  gap: 18px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.bullet-list li::before {
  content: '—';
  color: var(--accent-bright);
  flex-shrink: 0;
  opacity: 0.65;
}

/* ─── Brand grid ──────────────────────────────── */
.brand-intro {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 54ch;
  margin-bottom: 56px;
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--divider);
}

.brand-item {
  background: #0e2030;
  padding: 60px 56px;
  transition: background var(--ease);
}

.brand-item:hover { background: #122638; }

.brand-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.brand-type {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  opacity: 0.6;
  margin-bottom: 28px;
}

.brand-desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 40ch;
}

/* ─── Priority list (Partnerships) ───────────── */
.priority-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.priority-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 1.0625rem;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-secondary);
}

.priority-item:first-child { border-top: 1px solid var(--divider); }

.priority-num {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  opacity: 0.5;
  flex-shrink: 0;
  min-width: 24px;
}

/* ─── CTA link ────────────────────────────────── */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  transition: gap var(--ease), color var(--ease);
}

.cta-link::after { content: '→'; }

.cta-link:hover {
  color: var(--text-primary);
  gap: 18px;
}

/* ─── Teaser block ─────────────────────────────── */
.teaser-block { max-width: 680px; }

.teaser-block h2 {
  font-style: italic;
  margin-bottom: 24px;
}

.teaser-block p {
  font-size: 1.0625rem;
  margin-bottom: 40px;
}

/* ─── Contact ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 { font-style: italic; margin-bottom: 16px; }
.contact-info p  { font-size: 0.9375rem; margin-bottom: 12px; }

.contact-email {
  display: inline-block;
  font-size: 1rem;
  color: var(--accent-bright);
  margin-top: 28px;
  transition: color var(--ease);
}

.contact-email:hover { color: var(--text-primary); }

.contact-message h3 { font-style: italic; margin-bottom: 20px; }
.contact-message p  { font-size: 1.0625rem; }

/* ─── Footer ──────────────────────────────────── */
.footer {
  padding: 56px 0;
  border-top: 1px solid var(--divider);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--ease);
}

.footer-nav a:hover { color: var(--text-secondary); }

.footer-copy {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.6;
}

/* ─── Scroll Animations ───────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive: 900px ───────────────────────── */
@media (max-width: 900px) {
  :root { --gutter: 36px; }

  .two-col {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .brand-grid { grid-template-columns: 1fr; }
  .brand-item { padding: 48px 40px; }

  .hero-stats { gap: 40px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-copy { text-align: left; }
}

/* ─── Responsive: 768px (mobile) ─────────────── */
@media (max-width: 768px) {
  :root { --gutter: 24px; }

  .section { padding: 72px 0; }

  .hero {
    padding-top: 140px;
    padding-bottom: 72px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 32px;
    margin-top: 56px;
  }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(11, 25, 34, 0.97);
    border-bottom: 1px solid var(--divider);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    display: block;
    padding: 14px var(--gutter);
    width: 100%;
  }

  .nav-toggle { display: flex; }

  .footer-nav { flex-wrap: wrap; gap: 18px; }
}
