/* ═══════════════════════════════════════════════════════════════
   SPG — Shoreline Partners Group · Shared Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: #1a2332;
  background: #ffffff;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Design Tokens ─── */
:root {
  --navy:    #162336;
  --navy-mid:#1e3050;
  --slate:   #2d4263;
  --steel:   #4a6580;
  --fog:     #8b9db0;
  --mist:    #ddd7cd;
  --cream:   #f7f4ef;
  --warm:    #ede8e0;
  --paper:   #faf8f4;
  --white:   #ffffff;
  --ink:     #1a2332;
  --gold:    #b8946a;
  --gold-lt: #cdb98a;
  --accent:  #1e4b7a;
  --border:  #ddd7cd;
}

/* ─── Typography ─── */
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.15; }

/* ─── NAV ─── */
.spg-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(22,35,54,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(184,148,106,0.18);
}
.spg-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 60px;
}
.spg-nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px; font-weight: 500;
  color: var(--white); letter-spacing: 0.01em;
  text-decoration: none;
}
.spg-nav-logo span { color: var(--gold); }
.spg-nav-links {
  display: flex; gap: 32px; align-items: center;
}
.spg-nav-links li a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.spg-nav-links li a:hover,
.spg-nav-links li a.active { color: var(--white); }
.spg-nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 7px 18px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  transition: background 0.2s !important;
}
.spg-nav-cta:hover { background: var(--gold-lt) !important; }
.spg-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.spg-hamburger span { width: 20px; height: 1.5px; background: var(--white); display: block; transition: all 0.3s; }
.spg-mobile-menu {
  display: none;
  background: var(--navy-mid);
  border-top: 0.5px solid rgba(255,255,255,0.06);
  padding: 24px 60px;
}
.spg-mobile-menu.open { display: block; }
.spg-mobile-menu ul { display: flex; flex-direction: column; gap: 16px; }
.spg-mobile-menu li a {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

/* ─── HERO ─── */
.spg-hero {
  background: var(--navy);
  min-height: 520px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 140px 60px 72px;
}
.spg-hero-grain {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(30,75,122,0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(184,148,106,0.06) 0%, transparent 45%);
  pointer-events: none;
}
.spg-hero-rule {
  position: absolute; bottom: 0; left: 60px; right: 60px;
  height: 0.5px; background: rgba(255,255,255,0.08);
}
.spg-hero-content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.spg-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.spg-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 5.5vw, 64px);
  font-weight: 300; color: var(--white);
  line-height: 1.1; margin-bottom: 20px;
}
.spg-h1 em { font-style: italic; color: rgba(255,255,255,0.7); }
.spg-hero-sub {
  font-size: 16px; font-weight: 300;
  color: var(--fog); line-height: 1.85;
  max-width: 560px; margin-bottom: 44px;
}
.spg-stats {
  display: flex; gap: 0;
  border: 0.5px solid rgba(255,255,255,0.1);
  max-width: 680px;
}
.spg-stat {
  padding: 20px 24px;
  border-right: 0.5px solid rgba(255,255,255,0.1);
  flex: 1;
}
.spg-stat:last-child { border-right: none; }
.spg-stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400;
  color: var(--white); margin-bottom: 2px;
}
.spg-stat-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
}

/* ─── SECTIONS ─── */
.spg-section {
  padding: 80px 60px;
}
.spg-section--cream { background: var(--cream); }
.spg-section--white { background: var(--white); }
.spg-section--paper { background: var(--paper); }
.spg-section-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: end;
  margin-bottom: 48px;
}
.spg-kicker {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.spg-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 300; color: var(--navy);
  line-height: 1.15;
}
.spg-h2 em { font-style: italic; }
.spg-h2--light { color: var(--white); }
.spg-h2--light em { color: rgba(255,255,255,0.65); }
.spg-section-note {
  font-size: 16px; font-weight: 300;
  color: var(--slate); line-height: 1.8;
  align-self: end;
}

/* ─── BUTTONS ─── */
.spg-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.spg-btn svg { transition: transform 0.2s; }
.spg-btn:hover svg { transform: translateX(3px); }
.spg-btn--navy {
  color: var(--navy); border: 0.5px solid var(--navy); background: none;
}
.spg-btn--navy:hover { background: var(--navy); color: var(--white); }
.spg-btn--gold {
  color: var(--navy); background: var(--gold); border: 0.5px solid var(--gold);
}
.spg-btn--gold:hover { background: var(--gold-lt); }

/* ─── FADE-UP ANIMATION ─── */
.spg-fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.spg-fade-up.spg-visible {
  opacity: 1; transform: translateY(0);
}

/* ─── THESIS STRIP ─── */
.spg-thesis-strip {
  background: var(--navy);
  padding: 56px 60px;
  position: relative; overflow: hidden;
}
.spg-thesis-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(30,75,122,0.5) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 50%, rgba(184,148,106,0.05) 0%, transparent 40%);
  pointer-events: none;
}
.spg-thesis-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0; align-items: start;
  max-width: 1200px; margin: 0 auto;
}
.spg-thesis-div {
  width: 0.5px; background: rgba(255,255,255,0.08);
  align-self: stretch; margin: 0 32px;
}
.spg-thesis-icon {
  width: 36px; height: 36px;
  border: 0.5px solid rgba(184,148,106,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.spg-thesis-h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 400;
  color: var(--white); margin-bottom: 10px;
}
.spg-thesis-p {
  font-size: 15px; font-weight: 300;
  color: var(--fog); line-height: 1.8;
}
.spg-thesis-p a { color: var(--gold-lt); text-decoration: none; }

/* ─── FOOTER ─── */
.spg-footer {
  background: #0d1a2b;
  padding: 56px 60px 0;
  color: rgba(255,255,255,0.45);
}
.spg-footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  max-width: 1200px; margin: 0 auto;
}
.spg-footer-brand .spg-nav-logo {
  display: block; margin-bottom: 14px;
  font-size: 21px;
}
.spg-footer-brand p {
  font-size: 15px; font-weight: 300;
  line-height: 1.7; max-width: 280px;
}
.spg-footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.spg-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.spg-footer-col li a {
  font-size: 15px; font-weight: 300;
  transition: color 0.2s;
}
.spg-footer-col li a:hover { color: var(--white); }
.spg-footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
}
.spg-footer-disclaimer {
  max-width: 520px; text-align: right;
  font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,0.3);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .spg-nav-inner { padding: 0 24px; }
  .spg-hero { padding: 120px 24px 56px; }
  .spg-hero-rule { left: 24px; right: 24px; }
  .spg-section { padding: 56px 24px; }
  .spg-section-header { grid-template-columns: 1fr; gap: 16px; }
  .spg-stats { flex-wrap: wrap; max-width: 100%; }
  .spg-thesis-strip { padding: 40px 24px; }
  .spg-thesis-inner { grid-template-columns: 1fr; gap: 32px; }
  .spg-thesis-div { display: none; }
  .spg-footer { padding: 40px 24px 0; }
  .spg-footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .spg-mobile-menu { padding: 24px; }
}
@media (max-width: 768px) {
  .spg-nav-links { display: none; }
  .spg-hamburger { display: flex; }
  .spg-stats { flex-direction: column; }
  .spg-stat { border-right: none; border-bottom: 0.5px solid rgba(255,255,255,0.08); }
  .spg-stat:last-child { border-bottom: none; }
  .spg-footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .spg-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .spg-footer-disclaimer { text-align: center; }
}
