/* ============================================================
   Northstar — Redesigned: Atmospheric, Thin, Cinematic
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --bg-deep:      #030712;
  --bg-sea:       #060B16;
  --bg-card:      rgba(8, 13, 24, 0.55);
  --gold:         #D4AF37;
  --gold-muted:   #C5A059;
  --gold-glow:    rgba(212, 175, 55, 0.30);
  --gold-subtle:  rgba(212, 175, 55, 0.08);
  --text-primary: #C8C5BD;
  --text-dim:     #6B7280;
  --text-faint:   rgba(255,255,255,0.35);
  --border-glass: rgba(212, 175, 55, 0.08);
  --border-hover: rgba(212, 175, 55, 0.22);
  --font-sans:    'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-map:     'Cormorant Garamond', Georgia, serif;
  --font-feather: 'Pinyon Script', cursive;
  --font-thin-ink: 'Tangerine', cursive;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

/* ---------- Particle Canvas ---------- */
#constellation-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Navigation ---------- */
.nav-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 3rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s, backdrop-filter 0.5s;
}

.nav-bar.scrolled {
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--gold-muted);
  font-family: var(--font-sans);
  font-size: 1rem; /* BUMPED */
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.nav-logo .logo-star {
  width: 20px;
  height: 20px;
  color: var(--gold);
  filter: drop-shadow(0 0 6px var(--gold-glow));
  animation: logo-star-pulse 3.5s infinite ease-in-out;
  margin-right: 0.15rem;
}

@keyframes logo-star-pulse {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.3)); opacity: 0.75; transform: scale(0.9); }
  50% { filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.95)); opacity: 1; transform: scale(1.15); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  position: relative;
  z-index: 100;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem; /* BUMPED */
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.4s;
}

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

.btn-consultation {
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 2px;
  color: var(--gold-muted);
  font-size: 0.85rem; /* BUMPED */
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.4s, background 0.4s;
}

.btn-consultation:hover {
  border-color: var(--gold-muted);
  background: rgba(212, 175, 55, 0.05);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--gold-muted);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ============================================================
   HERO — The Night Voyage
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('bg-1-bow-forward.jpg');
  background-size: cover;
  background-position: center;
  filter: sepia(0.2) saturate(1.1) brightness(0.95) hue-rotate(-5deg);
  z-index: -2;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.06) 0%,
    rgba(3, 7, 18, 0.3) 50%,
    rgba(3, 7, 18, 0.5) 100%
  );
  mix-blend-mode: normal;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 40%,
    rgba(3, 7, 18, 0.5) 0%,
    rgba(3, 7, 18, 0.2) 60%,
    transparent 100%
  );
  z-index: -1;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  z-index: 3;
}

.hero-left {
  flex: 1;
  max-width: 600px;
  padding-right: 2rem;
  position: relative;
}

.north-star {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow:
    0 0 20px var(--gold-glow),
    0 0 60px rgba(212, 175, 55, 0.15),
    0 0 120px rgba(212, 175, 55, 0.06);
  margin-bottom: 3rem;
  animation: star-breathe 4s ease-in-out infinite;
}

.north-star-wrap {
  position: relative;
  width: 5px;
  height: 5px;
  margin-bottom: 3rem;
}

.north-star-wrap::before,
.north-star-wrap::after {
  content: '';
  position: absolute;
  background: linear-gradient(to bottom, rgba(212,175,55,0.3), transparent);
}

.north-star-wrap::before {
  width: 1px;
  height: 40px;
  left: 2px;
  top: 5px;
}

.north-star-wrap::after {
  width: 40px;
  height: 1px;
  top: 2px;
  left: 5px;
  background: linear-gradient(to right, rgba(212,175,55,0.3), transparent);
}

@keyframes star-breathe {
  0%, 100% { box-shadow: 0 0 20px var(--gold-glow), 0 0 60px rgba(212,175,55,0.15); }
  50%      { box-shadow: 0 0 35px var(--gold-glow), 0 0 90px rgba(212,175,55,0.2); }
}

.hero h1 {
  font-family: var(--font-map);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.15;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-muted);
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 550px;
  letter-spacing: 0.03em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold-muted);
  text-decoration: none;
  font-size: 0.9rem; /* BUMPED */
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.4s;
}

.hero-cta:hover { color: var(--gold); }

.hero-cta .arrow {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold-muted);
  position: relative;
  transition: width 0.4s;
}

.hero-cta:hover .arrow { width: 48px; }

.hero-cta .arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid var(--gold-muted);
  border-right: 1px solid var(--gold-muted);
  transform: rotate(45deg);
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
}

.scroll-hint span {
  font-size: 0.75rem; /* BUMPED */
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.scroll-hint .tick {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--text-faint), transparent);
  animation: drift-down 2.5s ease-in-out infinite;
}

@keyframes drift-down {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%      { transform: translateY(6px); opacity: 0.15; }
}


/* ============================================================
   Section Base
   ============================================================ */
.section {
  position: relative;
  z-index: 2;
  padding: 9rem 3rem;
  /* background removed to show canvas */
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem; /* BUMPED */
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.section-label .dash {
  width: 24px;
  height: 1px;
  background: var(--gold-muted);
  opacity: 0.4;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem); /* BUMPED */
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.75rem;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.15rem; /* BUMPED */
  font-weight: 300;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.9;
}

.section-divider {
  max-width: 1000px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-glass), transparent);
  position: relative;
  z-index: 2;
}


/* ============================================================
   Philosophy
   ============================================================ */
.philosophy-body {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.philosophy-text p {
  color: var(--text-dim);
  font-size: 1.15rem; /* BUMPED */
  font-weight: 300;
  line-height: 2;
  margin-bottom: 1.5rem;
}

.philosophy-text p:first-child::first-letter {
  font-family: var(--font-serif);
  font-size: 3.5rem; /* BUMPED */
  float: left;
  line-height: 1;
  margin-right: 0.8rem;
  margin-top: 0.15rem;
  color: var(--gold-muted);
  font-weight: 400;
}

.philosophy-aside {
  padding-top: 0.5rem;
}

.philosophy-quote {
  font-family: var(--font-serif);
  font-size: 1.4rem; /* BUMPED */
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  border-left: 1px solid var(--border-glass);
  padding-left: 1.75rem;
  margin-bottom: 2rem;
}

.philosophy-aside p {
  font-size: 1.05rem; /* BUMPED */
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.9;
}


/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  transition: border-color 0.5s, transform 0.4s;
  position: relative;
  z-index: 3;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.service-card-label {
  font-size: 0.75rem; /* BUMPED */
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem; /* BUMPED */
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
  line-height: 1.35;
}

.service-card p {
  color: var(--text-dim);
  font-size: 1.05rem; /* BUMPED */
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
}

.service-card ul li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.95rem; /* BUMPED */
  font-weight: 300;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.service-card ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold-muted);
  font-size: 1.2rem;
}


/* ============================================================
   Expertise
   ============================================================ */
.expertise-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.stat-item {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  transition: border-color 0.4s;
}

.stat-item:hover {
  border-color: var(--border-hover);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem; /* BUMPED */
  font-weight: 400;
  color: var(--gold-muted);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.85rem; /* BUMPED */
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.expertise-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.expertise-card {
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  padding: 2.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  transition: border-color 0.4s;
}

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

.expertise-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem; /* BUMPED */
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
}

.expertise-card p {
  font-size: 1.05rem; /* BUMPED */
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.85;
}


/* ============================================================
   Contact
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3.5rem;
}

.contact-info p {
  font-size: 1.15rem; /* BUMPED */
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.contact-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  color: var(--text-dim);
  font-size: 1rem; /* BUMPED */
  font-weight: 300;
}

.contact-meta svg {
  width: 18px; height: 18px;
  color: var(--gold-muted);
  opacity: 0.5;
  flex-shrink: 0;
}

.contact-form {
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  padding: 3rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem; /* BUMPED */
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 3px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.05rem; /* BUMPED */
  font-weight: 300;
  transition: border-color 0.4s, box-shadow 0.4s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.15);
  font-weight: 300;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.06);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-group select option { background: var(--bg-sea); }

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 3px;
  color: var(--gold-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem; /* BUMPED */
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.4s, border-color 0.4s, color 0.4s;
}

.btn-submit:hover {
  background: rgba(212, 175, 55, 0.06);
  border-color: var(--gold-muted);
  color: var(--gold);
}


/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-glass);
  padding: 3.5rem 3rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left {
  font-size: 0.9rem; /* BUMPED */
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.footer-right {
  font-size: 0.85rem; /* BUMPED */
  font-weight: 300;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}


/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.35s; }


/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-stage {
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2.5rem 4rem;
    text-align: center;
  }
  .hero-left {
    max-width: 100%;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-sub { max-width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .expertise-stats { grid-template-columns: repeat(2, 1fr); }
  .philosophy-body { grid-template-columns: 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .expertise-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-bar { padding: 0 1.5rem; }
  .nav-links {
    position: fixed; inset: 0;
    background: rgba(3, 7, 18, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 101; }
  .section { padding: 6rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .expertise-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .nav-bar { padding: 0 1.25rem; }
  .section { padding: 5rem 1.25rem; }
  .contact-form { padding: 1.5rem; }
}
