/* Nerilux Group - brand system per Nerilux_Agency_Quality_Brand_Book.pdf
   Navy foundation, gold as light. Signature: the horizon light. */

:root {
  --navy: #0D1B2A;
  --navy-2: #16283C;
  --gold: #D4AF37;
  --gold-soft: rgba(212, 175, 55, 0.55);
  --emerald: #00A86B;
  --emerald-dark: #008f5b;
  --blue: #1565C0;
  --white: #FFFFFF;
  --mist: #F4F6F8;
  --ink: #22303F;
  --muted: #5D6E7E;
  --line: #DFE5EA;
  --display: Georgia, "Times New Roman", serif;
  --body: "Aptos", "Inter", "Segoe UI", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 1.0625rem;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; }

a { color: var(--blue); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

img { max-width: 100%; }

/* ---------- Signature: the horizon light ---------- */
.horizon {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 18%, #f0dfa0 50%, var(--gold) 82%, transparent 100%);
  box-shadow: 0 0 18px 1px var(--gold-soft);
}

/* ---------- Eyebrow labels ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.2rem, 5vw, 4rem);
  background: var(--navy);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.wordmark {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.34em;
  color: var(--white);
  text-decoration: none;
}
.wm-n { color: var(--gold); }

.nav nav { display: flex; align-items: center; gap: clamp(0.9rem, 2.5vw, 2rem); }
.nav nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav nav a:hover { color: var(--white); border-bottom-color: var(--gold); }
.nav-cta { color: var(--gold) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: clamp(4.5rem, 11vw, 8.5rem) clamp(1.2rem, 6vw, 6rem) clamp(4rem, 9vw, 7rem);
}
.hero h1 { max-width: 17ch; }
.hero-tagline {
  font-family: var(--display);
  font-style: italic;
  color: var(--gold);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  margin-top: 1.2rem;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.78);
  max-width: 54ch;
  margin-top: 1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.78rem 1.7rem;
  border-radius: 3px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--emerald); color: var(--white); }
.btn-primary:hover { background: var(--emerald-dark); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 8vw, 5.5rem) clamp(1.2rem, 6vw, 6rem); }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-inner.narrow { max-width: 720px; }
.center { text-align: center; }
.section-mist { background: var(--mist); }
.section-sub { color: var(--muted); max-width: 60ch; margin-bottom: 2.2rem; }
.lede { font-size: 1.25rem; line-height: 1.65; }

.section-navy { background: var(--navy); color: var(--white); }
.section-navy .section-sub { color: rgba(255, 255, 255, 0.7); }

.split {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.split p + p { margin-top: 1rem; }
.about-logo { width: 130px; margin-top: 2rem; }

/* ---------- Venture grid ---------- */
.venture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.venture-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem 1.3rem 1.5rem;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  text-decoration: none;
  color: var(--white);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
/* lighthouse sweep */
.venture-card::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 55%;
  background: linear-gradient(100deg, transparent 0%, rgba(212, 175, 55, 0.12) 50%, transparent 100%);
  transform: skewX(-12deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.venture-card:hover { border-color: var(--gold-soft); transform: translateY(-3px); }
.venture-card:hover::after { left: 130%; }
.vc-num { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); }
.vc-name { font-family: var(--display); font-size: 1.35rem; }
.vc-sector { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }
.vc-tagline { font-size: 0.85rem; font-style: italic; color: var(--gold-soft); margin-top: 0.4rem; }


/* ---------- Services ---------- */
.services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.7rem;
}
.services li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  font-size: 0.97rem;
}

/* ---------- Endorsement strip ---------- */
.endorse { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2rem clamp(1.2rem, 6vw, 6rem); }
.endorse-inner { display: flex; align-items: center; gap: 1.6rem; }
.endorse-logo { width: 86px; flex-shrink: 0; }
.endorse-line { font-family: var(--display); font-size: 1.05rem; }
.text-link { color: var(--blue); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--mist); }
.cta-band p { color: var(--muted); margin-bottom: 1.6rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: 3rem clamp(1.2rem, 6vw, 6rem) 1.5rem; }
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) 2fr;
  gap: 2.5rem;
}
.footer-tag { font-family: var(--display); font-style: italic; color: var(--gold); margin: 0.8rem 0; }
.footer-contact a { color: rgba(255, 255, 255, 0.85); }
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.45rem 1.5rem;
  align-content: start;
}
.footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }
.footer-legal {
  max-width: 1120px;
  margin: 2.5rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .split, .footer-inner { grid-template-columns: 1fr; }
  .nav { flex-direction: column; gap: 0.6rem; }
  .endorse-inner { flex-direction: column; text-align: center; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
