/* ═══════════════════════════════════════════════════════════════
   PROSPERITY WEALTH — MAIN STYLESHEET
   Version: 1.0.0
   ═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────────────── */
:root {
  --obsidian:    #0A0C10;
  --midnight:    #111520;
  --ink:         #1A1F2E;
  --slate:       #2A3147;
  --slate-light: #3D4560;
  --gold:        #C9A84C;
  --gold-light:  #E8C96E;
  --gold-pale:   #F5E6B8;
  --teal:        #4A7C8A;
  --teal-light:  #5E97A7;
  --platinum:    #D4D8E2;
  --silver:      #8B91A3;
  --mist:        #5A6070;
  --white:       #F8F9FB;
  --pure-white:  #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;

  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width:   1200px;
  --nav-height:  80px;
}

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

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

body {
  background: var(--obsidian);
  color: var(--platinum);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul, ol { list-style: none; }

/* ── GRAIN OVERLAY ──────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
}

.pw-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.pw-rule {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 20px;
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── LAYOUT ─────────────────────────────────────────────────────── */
.pw-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.pw-section {
  padding: 120px 0;
}

.pw-section--sm {
  padding: 80px 0;
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.pw-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.pw-btn--gold {
  background: var(--gold);
  color: var(--obsidian);
}

.pw-btn--gold:hover {
  background: var(--gold-light);
  color: var(--obsidian);
  transform: translateY(-1px);
}

.pw-btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.pw-btn--outline:hover {
  background: var(--gold);
  color: var(--obsidian);
}

.pw-btn--ghost {
  background: transparent;
  color: var(--platinum);
  border: 1px solid rgba(255,255,255,0.15);
}

.pw-btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── NAVIGATION ─────────────────────────────────────────────────── */
#pw-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), border-bottom var(--transition);
}

#pw-nav.scrolled {
  background: rgba(10, 12, 16, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo-mark svg {
  width: 44px;
  height: 44px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-prosperity {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-logo-wealth {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  margin-top: 1px;
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-investor-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--gold);
  padding: 10px 24px;
  transition: background var(--transition);
  text-decoration: none;
  display: inline-block;
}

.nav-investor-btn:hover {
  background: var(--gold-light);
  color: var(--obsidian);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--silver);
  transition: all var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--gold); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--gold); }

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--obsidian);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding: 32px 40px;
  z-index: 999;
  flex-direction: column;
  gap: 24px;
}

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

.nav-mobile a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

/* ── HERO ───────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--obsidian);
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Geometric background pattern */
.hero-bg-geo {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 120%;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      0deg,
      var(--gold) 0px, transparent 1px,
      transparent 80px, var(--gold) 80px
    ),
    repeating-linear-gradient(
      90deg,
      var(--gold) 0px, transparent 1px,
      transparent 80px, var(--gold) 80px
    );
}

.hero-bg-gradient {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(201, 168, 76, 0.03) 40%,
    rgba(74, 124, 138, 0.05) 100%
  );
}

.hero-bg-radial {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
}

/* Animated octagon */
.hero-bg-shape {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  opacity: 0.06;
  animation: pw-rotate 60s linear infinite;
}

@keyframes pw-rotate {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px;
}

.hero-pre {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: pw-fade-up 0.8s ease forwards 0.2s;
}

.hero-pre::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 32px;
  max-width: 720px;
  opacity: 0;
  animation: pw-fade-up 0.8s ease forwards 0.4s;
}

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

.hero-sub {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  color: var(--silver);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 48px;
  opacity: 0;
  animation: pw-fade-up 0.8s ease forwards 0.6s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: pw-fade-up 0.8s ease forwards 0.8s;
}

.hero-stats {
  display: flex;
  gap: 60px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  animation: pw-fade-up 0.8s ease forwards 1.0s;
  flex-wrap: wrap;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver);
  line-height: 1.5;
}

/* ── ANIMATIONS ─────────────────────────────────────────────────── */
@keyframes pw-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pw-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll reveal */
.pw-reveal {
  opacity: 1;
  transform: none;
}

.pw-reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── SECTION: THESIS ────────────────────────────────────────────── */
#thesis {
  background: var(--midnight);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.thesis-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}

.thesis-quote {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.3;
  position: relative;
  padding-left: 32px;
}

.thesis-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.thesis-quote em {
  color: var(--gold-light);
  font-style: normal;
}

.thesis-body h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 20px;
}

.thesis-body p {
  font-size: 15px;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 16px;
}

.thesis-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.thesis-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 8px 18px;
}

/* ── SECTION: STRATEGY ──────────────────────────────────────────── */
#strategy {
  background: var(--obsidian);
}

.strategy-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 80px;
}

.strategy-header h2 {
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 20px;
}

.strategy-header h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.strategy-header p {
  font-size: 16px;
  color: var(--silver);
  line-height: 1.8;
}

.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.strategy-card {
  background: var(--midnight);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}

.strategy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.strategy-card:hover::before { opacity: 1; }
.strategy-card:hover { transform: translateY(-2px); }

.strategy-card--teal::before {
  background: linear-gradient(90deg, var(--teal), transparent);
}

.strategy-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
}

.strategy-card-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.strategy-card--teal .strategy-card-tag { color: var(--teal-light); }

.strategy-card h3 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 16px;
}

.strategy-card p {
  font-size: 14px;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 28px;
}

.strategy-card-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.strategy-card-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--platinum);
}

.strategy-card-point::before {
  content: '—';
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.strategy-card--teal .strategy-card-point::before { color: var(--teal-light); }

/* ── SECTION: TAX ADVANTAGE ─────────────────────────────────────── */
#tax-advantage {
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

#tax-advantage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.tax-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: center;
}

.tax-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.tax-heading {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.tax-heading em {
  font-style: italic;
  color: var(--gold-light);
}

.tax-body {
  font-size: 15px;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 36px;
}

.tax-disclaimer {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mist);
  line-height: 1.7;
  border-left: 2px solid rgba(201,168,76,0.2);
  padding-left: 16px;
  margin-top: 28px;
}

.tax-cards {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tax-card {
  background: var(--ink);
  border: 1px solid rgba(201,168,76,0.08);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: flex-start;
  transition: border-color var(--transition), background var(--transition);
}

.tax-card:hover {
  border-color: rgba(201,168,76,0.25);
  background: var(--midnight);
}

.tax-card-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: rgba(201,168,76,0.3);
  line-height: 1;
  transition: color var(--transition);
}

.tax-card:hover .tax-card-number {
  color: var(--gold);
}

.tax-card-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.tax-card-desc {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.7;
  margin: 0;
}

/* ── SECTION: TEAM ──────────────────────────────────────────────── */
#team {
  background: var(--obsidian);
}

.team-header {
  margin-bottom: 72px;
}

.team-header h2 {
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 16px;
}

.team-header h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.team-header p {
  font-size: 16px;
  color: var(--silver);
  max-width: 520px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3px;
}

.team-card {
  background: var(--midnight);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}

.team-card:hover { transform: translateY(-3px); }

.team-card-photo {
  aspect-ratio: 3/4;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
}

/* Catch all WP image wrappers inside the photo div */
.team-card-photo img,
.team-card-photo .wp-post-image,
.team-card-photo figure,
.team-card-photo figure img,
.team-card-photo a,
.team-card-photo a img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
  filter: grayscale(20%);
  margin: 0 !important;
  padding: 0 !important;
}

.team-card-photo figure {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.team-card:hover .team-card-photo img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.team-card-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
}

.team-card-photo-placeholder svg {
  width: 60px;
  height: 60px;
  opacity: 0.2;
}

.team-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--midnight), transparent);
}

.team-card-info {
  padding: 28px 28px 32px;
  border-top: 1px solid rgba(201,168,76,0.1);
}

.team-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}

.team-card-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.team-card-bio {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.7;
}

.team-card-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color var(--transition);
}

.team-card-linkedin:hover { color: var(--gold); }

/* Team placeholder notice */
.team-placeholder-notice {
  grid-column: 1 / -1;
  background: var(--midnight);
  border: 1px dashed rgba(201,168,76,0.2);
  padding: 48px;
  text-align: center;
  display: none; /* shown via admin */
}

/* ── SECTION: INVESTOR PORTAL ───────────────────────────────────── */
#investor-portal-cta {
  background: var(--gold);
  padding: 80px 0;
}

.portal-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.portal-cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--obsidian);
  margin-bottom: 8px;
}

.portal-cta-text p {
  font-size: 15px;
  color: rgba(10,12,16,0.65);
}

.portal-cta-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--obsidian);
  padding: 16px 40px;
  white-space: nowrap;
  transition: background var(--transition);
  text-decoration: none;
  display: inline-block;
}

.portal-cta-btn:hover {
  background: var(--ink);
  color: var(--white);
}

/* ── INVESTOR PORTAL PAGE ────────────────────────────────────────── */
.investor-portal-login,
.investor-portal-welcome {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
}

.portal-login-inner,
.portal-welcome-inner {
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.portal-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.portal-heading {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
}

.portal-heading em {
  font-style: italic;
  color: var(--gold-light);
}

.portal-sub {
  font-size: 15px;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 32px;
}

.portal-register {
  margin-top: 20px;
  font-size: 13px;
  color: var(--mist);
}

.portal-link {
  color: var(--gold);
  text-decoration: none;
}

.portal-link:hover { color: var(--gold-light); }

/* WP login form styling */
#loginform {
  background: var(--midnight);
  padding: 40px;
  border: 1px solid rgba(201,168,76,0.15);
}

#loginform label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  display: block;
  margin-bottom: 8px;
}

#loginform input[type="text"],
#loginform input[type="password"] {
  width: 100%;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 20px;
  outline: none;
  transition: border-color var(--transition);
}

#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus {
  border-color: var(--gold);
}

#loginform input[type="submit"] {
  width: 100%;
  background: var(--gold);
  color: var(--obsidian);
  border: none;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}

#loginform input[type="submit"]:hover { background: var(--gold-light); }

/* ── SECTION: CONTACT ───────────────────────────────────────────── */
#contact {
  background: var(--midnight);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.contact-info h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  margin-bottom: 20px;
}

.contact-info h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.contact-info p {
  font-size: 15px;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 3px;
  min-width: 60px;
}

.contact-detail-value {
  font-size: 14px;
  color: var(--platinum);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--mist);
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238B91A3' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: var(--ink);
  color: var(--white);
}

.form-message {
  font-size: 13px;
  padding: 12px 16px;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(74,124,138,0.15);
  border: 1px solid rgba(74,124,138,0.3);
  color: var(--teal-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.form-message.error {
  display: block;
  background: rgba(180,60,60,0.1);
  border: 1px solid rgba(180,60,60,0.3);
  color: #e88;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* ── LEGAL DISCLAIMER ───────────────────────────────────────────── */
#legal-disclaimer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 40px 0;
}

.legal-text {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mist);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* ── FOOTER ─────────────────────────────────────────────────────── */
#footer {
  background: var(--obsidian);
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: 64px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand p {
  font-size: 14px;
  color: var(--mist);
  line-height: 1.8;
  margin-top: 20px;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-links a {
  font-size: 13px;
  color: var(--mist);
  transition: color var(--transition);
}

.footer-col-links a:hover { color: var(--platinum); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mist);
  letter-spacing: 0.1em;
}

.footer-reg {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(139,145,163,0.4);
  letter-spacing: 0.1em;
}

/* ── PAGE HERO ─────────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  background: var(--obsidian);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.page-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 16px;
}

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

.page-hero p {
  font-size: 16px;
  color: var(--silver);
  max-width: 560px;
  line-height: 1.8;
}

/* ── SCROLL INDICATOR ───────────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: pw-fade-in 1s ease forwards 1.4s;
}

.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--mist);
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: pw-scroll-line 2s ease infinite;
}

@keyframes pw-scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .thesis-inner { grid-template-columns: 1fr; gap: 60px; }
  .tax-inner { grid-template-columns: 1fr; gap: 60px; }
  .contact-inner { grid-template-columns: 1fr; gap: 60px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }

  .pw-container { padding: 0 24px; }
  .pw-section { padding: 80px 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-stats { gap: 32px; }

  .strategy-grid { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: 1fr 1fr; }

  .portal-cta-inner { flex-direction: column; text-align: center; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { grid-column: auto; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
