/* ============================================================
   Lasaltum Capital — styles.css
   Palette: Cream & Deep Navy with Gold accents
   Fonts: Cormorant Garamond (display) · Jost (body)
   ============================================================ */

/* ── RESET & VARIABLES ─────────────────────────────────────── */

/* FIX: Was "_,_ ::before" — now correct universal selector */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream:       #F4EFE5;
  --cream-dark:  #E8E0D0;
  --navy:        #0D1B33;
  --navy-deep:   #080F1D;
  --gold:        #B89055;
  --gold-light:  #D4AC72;
  --text-muted:  #6B7E8F;
  --space-xs:    16px;
  --space-sm:    28px;
  --space-md:    60px;
  --space-lg:    80px;
  --space-xl:    120px;
  --max-width:   1280px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--navy);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ───────────────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 60px;
  background: rgba(244, 239, 229, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 27, 51, 0.08);
  transition: padding 0.4s ease;
}

.nav--scrolled { padding: 18px 60px; }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo .nav-accent { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible { opacity: 1; }

.nav-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── HAMBURGER ─────────────────────────────────────────────── */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.nav-hamburger:hover { background: rgba(13, 27, 51, 0.06); }

.nav-hamburger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.is-open .hamburger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.is-open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.is-open .hamburger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── MOBILE MENU ───────────────────────────────────────────── */

.mobile-menu {
  /* Always flex — hidden via opacity+visibility, NOT display:none */
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(13, 27, 51, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* Hidden state — use opacity + visibility so CSS transition works */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  /* Keep it off-screen on desktop so it never accidentally shows */
  /* Controlled entirely by JS toggling .is-open */
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.10em;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.25s ease;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible { color: var(--gold-light); }

.mobile-menu a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}
/* ── HERO ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(100%);
  transform: scale(1.04);
  animation: slowZoom 18s ease-in-out infinite alternate;
  background: linear-gradient(160deg, #2a2a2a 0%, #111 60%, #080808 100%);
}

@keyframes slowZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,27,51,0.28) 0%,
    rgba(13,27,51,0.18) 40%,
    rgba(13,27,51,0.82) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 84px;
  max-width: 860px;
  animation: fadeUp 1.2s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: block;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero-slogan {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  line-height: 1.12;
  color: #fff;
  letter-spacing: 0.01em;
}

.hero-slogan em {
  font-style: italic;
  color: rgba(255,255,255,0.75);
}

.hero-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 36px 0 0;
  opacity: 0.8;
  border: none;
}

/* ── ABOUT ─────────────────────────────────────────────────── */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.about-left {
  background: var(--navy);
  padding: 100px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-right {
  background: var(--cream-dark);
  padding: 100px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: block;
}

.about-left .section-label { color: var(--gold-light); }

.about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 28px;
}

.about-body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.65);
  max-width: 440px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 32px;
  margin-top: 8px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  line-height: 1;
}

.stat-desc {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── PHILOSOPHY ────────────────────────────────────────────── */

.philosophy {
  padding: var(--space-xl) var(--space-md);
  background: var(--cream);
}

.philosophy-header {
  display: flex;
  align-items: baseline;
  gap: 32px;
  margin-bottom: 80px;
}

.philosophy-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--navy);
  white-space: nowrap;
}

.philosophy-rule {
  flex: 1;
  height: 1px;
  background: var(--cream-dark);
  border: none;
  max-width: 400px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.pillar {
  padding: 56px 48px;
  background: #fff;
  border-top: 2px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.pillar:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.pillar-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 3rem;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 28px;
  display: block;
  user-select: none;
}

.pillar-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.pillar-text {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── CONTACT ───────────────────────────────────────────────── */

.contact {
  background: var(--navy);
  padding: var(--space-xl) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding-bottom: 64px;
}

.contact-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.contact-heading em {
  font-style: italic;
  color: var(--gold-light);
}

.contact-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
}

.contact-label { color: rgba(255,255,255,0.4); }

.contact-email {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(184,144,85,0.35);
  padding-bottom: 4px;
  transition: color 0.25s ease, border-color 0.25s ease;
  word-break: break-all;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.contact-email:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ── WORLD MAP ─────────────────────────────────────────────── */

.map-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 0;
}

.world-map {
  display: block;
  width: 100%;
  cursor: crosshair;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  animation: pinFadeIn 1.2s ease 0.8s both;
}

@keyframes pinFadeIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.map-pin-plus {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1;
  color: #fff;
  text-shadow:
    0 0 8px rgba(255,255,255,0.9),
    0 0 20px rgba(212,172,114,0.7),
    0 0 40px rgba(212,172,114,0.4);
  animation: plusPulse 2.4s ease-in-out infinite;
}

@keyframes plusPulse {
  0%, 100% {
    text-shadow:
      0 0 8px rgba(255,255,255,0.9),
      0 0 20px rgba(212,172,114,0.7),
      0 0 40px rgba(212,172,114,0.4);
    transform: scale(1);
  }
  50% {
    text-shadow:
      0 0 12px rgba(255,255,255,1),
      0 0 28px rgba(212,172,114,0.9),
      0 0 56px rgba(212,172,114,0.6);
    transform: scale(1.15);
  }
}

.map-pin-label {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.60rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  background: rgba(13,27,51,0.55);
  padding: 3px 7px;
  border-radius: 2px;
}

/* ── FOOTER ────────────────────────────────────────────────── */

.site-footer {
  background: var(--navy-deep);
  padding: 28px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.footer-copy {
  font-size: 0.68rem;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.22);
}

/* ── 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-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }

/* ── RESPONSIVE ────────────────────────────────────────────── */

@media (min-width: 1400px) {
  .hero-content {
    padding-left: calc((100vw - var(--max-width)) / 2 + 60px);
  }
  .about-left,
  .about-right {
    padding-left:  calc((100vw - var(--max-width)) / 2 + 70px);
    padding-right: calc((100vw - var(--max-width)) / 2 + 70px);
  }
  .philosophy,
  .contact {
    padding-left:  calc((100vw - var(--max-width)) / 2 + 60px);
    padding-right: calc((100vw - var(--max-width)) / 2 + 60px);
  }
  .site-nav {
    padding-left:  calc((100vw - var(--max-width)) / 2 + 60px);
    padding-right: calc((100vw - var(--max-width)) / 2 + 60px);
  }
}

@media (max-width: 900px) {
  .site-nav       { padding: 22px 28px; }
  .nav--scrolled  { padding: 14px 28px; }
  .nav-links      { gap: 24px; }
  .hero-content   { padding: 0 28px 64px; }
  .about          { grid-template-columns: 1fr; }
  .about-left,
  .about-right    { padding: 72px 40px; }
  .philosophy     { padding: 80px 40px; }
  .pillars        { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .pillar         { padding: 44px 32px; }
  .contact        { padding: 80px 40px; }
  .contact-top    { flex-direction: column; align-items: flex-start; }
  .site-footer    { padding: 22px 28px; }
}

@media (max-width: 700px) {
  .nav-links      { display: none; }
  .nav-hamburger  { display: flex; }
  .hero-content   { padding: 0 24px 56px; }
  .about-left,
  .about-right    { padding: 60px 24px; }
  .philosophy     { padding: 64px 24px; }
  .pillars        { grid-template-columns: 1fr; }
  .pillar         { padding: 36px 24px; }
  .contact        { padding: 64px 24px; }
  .contact-top    { padding-bottom: 48px; }
  .site-footer    { padding: 20px 24px; }
}

@media (min-width: 701px) {
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 560px) {
  .hero-content   { padding: 0 20px 48px; }
  .hero-slogan    { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .about-left,
  .about-right    { padding: 52px 20px; }
  .about-body     { max-width: 100%; }
  .stat-grid      { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .philosophy     { padding: 56px 20px; }
  .philosophy-header { flex-direction: column; gap: 16px; }
  .philosophy-rule   { display: none; }
  .contact        { padding: 56px 20px; }
  .contact-top    { gap: 28px; padding-bottom: 40px; }
  .map-pin-label  { font-size: 0.55rem; letter-spacing: 0.14em; }
  .site-footer    {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image   { animation: none; }
  .hero-content { animation: none; }
  .map-pin      { animation: none; }
  .map-pin-plus { animation: none; }
  .reveal       { opacity: 1; transform: none; transition: none; }
}