/* ============================================================
   PHILIPPINE LAND GROUP INC. — Website Stylesheet
   Palette: Deep Navy + Philippine Gold + Crimson Red accent
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

/* ── Design Tokens ── */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

/* ── Dark Mode (Default) ── */
:root,
[data-theme='dark'] {
  --color-bg: #0D1B3E;
  --color-surface: #122050;
  --color-surface-2: #162460;
  --color-surface-offset: #0a1630;
  --color-divider: #1e2e5a;
  --color-border: #243470;

  --color-text: #F0ECD8;
  --color-text-muted: #9A97A0;
  --color-text-faint: #55527a;
  --color-text-inverse: #0D1B3E;

  --color-primary: #C9A84C;
  --color-primary-hover: #E0BB5A;
  --color-primary-active: #A88C3E;

  --color-accent: #D4304E;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}

/* ── Light Mode ── */
[data-theme='light'] {
  --color-bg: #F8F5EE;
  --color-surface: #FFFFFF;
  --color-surface-2: #FAF8F3;
  --color-surface-offset: #F0EBE0;
  --color-divider: #E0D8C8;
  --color-border: #D0C8B0;

  --color-text: #0D1B3E;
  --color-text-muted: #5A5878;
  --color-text-faint: #A8A5B8;
  --color-text-inverse: #F8F5EE;

  --color-primary: #8B6914;
  --color-primary-hover: #7A5C10;
  --color-primary-active: #654D0C;

  --color-accent: #C0283E;

  --shadow-sm: 0 1px 3px rgba(13,27,62,0.08);
  --shadow-md: 0 4px 16px rgba(13,27,62,0.12);
  --shadow-lg: 0 12px 40px rgba(13,27,62,0.18);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg: #F8F5EE;
    --color-surface: #FFFFFF;
    --color-surface-2: #FAF8F3;
    --color-surface-offset: #F0EBE0;
    --color-divider: #E0D8C8;
    --color-border: #D0C8B0;
    --color-text: #0D1B3E;
    --color-text-muted: #5A5878;
    --color-text-faint: #A8A5B8;
    --color-text-inverse: #F8F5EE;
    --color-primary: #8B6914;
    --color-primary-hover: #7A5C10;
    --color-primary-active: #654D0C;
    --color-accent: #C0283E;
    --shadow-sm: 0 1px 3px rgba(13,27,62,0.08);
    --shadow-md: 0 4px 16px rgba(13,27,62,0.12);
    --shadow-lg: 0 12px 40px rgba(13,27,62,0.18);
  }
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color 0.3s, color 0.3s;
}

img, picture, video { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.2; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { cursor: pointer; background: none; border: none; }

::selection { background: rgba(201, 168, 76, 0.25); color: var(--color-text); }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-10));
}

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.section-alt {
  background: var(--color-surface);
}

.section-header.center {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header.center .section-intro {
  max-width: 64ch;
  margin-inline: auto;
  color: var(--color-text-muted);
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-label.light { color: var(--color-primary); }

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.15;
}

.section-intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: rgba(240, 236, 216, 0.08);
  color: #F0ECD8;
  border-color: rgba(240, 236, 216, 0.5);
}

.btn-ghost:hover {
  background: rgba(240, 236, 216, 0.15);
  border-color: rgba(240, 236, 216, 0.85);
  color: #fff;
}

.btn-gold {
  background: var(--color-primary);
  color: #0D1B3E;
  border-color: var(--color-primary);
  font-weight: 700;
}

.btn-gold:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-full { width: 100%; justify-content: center; }

.text-link {
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--transition), color var(--transition);
}

.text-link:hover { color: var(--color-primary-hover); gap: var(--space-2); }

/* ── Navigation ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s;
}

.header--scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

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

.logo-main {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

.logo-sub {
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}

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

.nav-cta {
  background: var(--color-primary);
  color: var(--color-bg) !important;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--color-primary-hover) !important;
  transform: translateY(-1px);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition);
}

.theme-toggle:hover {
  background: var(--color-surface-offset, var(--color-surface));
  color: var(--color-text);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 62, 0.88) 0%,
    rgba(13, 27, 62, 0.65) 50%,
    rgba(13, 27, 62, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-20);
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--color-primary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  color: #F0ECD8;
  line-height: 1.05;
  margin-bottom: var(--space-5);
}

.hero-title em {
  font-style: italic;
  color: var(--color-primary);
}

.hero-tagline {
  font-size: var(--text-sm);
  color: rgba(240, 236, 216, 0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero-desc {
  font-size: var(--text-base);
  color: rgba(240, 236, 216, 0.85);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
}

.stat-label {
  font-size: var(--text-xs);
  color: rgba(240, 236, 216, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(240, 236, 216, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(240, 236, 216, 0.5);
  animation: bounce 2.5s infinite;
  transition: color var(--transition);
}

.hero-scroll:hover { color: var(--color-primary); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Quote Banner ── */
.quote-banner {
  background: var(--color-primary);
  padding-block: var(--space-8);
}

.site-quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 500;
  text-align: center;
  color: #0D1B3E;
  line-height: 1.4;
  max-width: 80ch;
  margin-inline: auto;
}

.quote-mark {
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.2em;
  opacity: 0.6;
}

/* ── About Section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.section-grid { display: grid; }

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  line-height: 1.75;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.pillar {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.pillar-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

.pillar h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.pillar p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
}

/* Coming Soon Card */
.coming-soon-card {
  background: linear-gradient(135deg, #122050, #1a2f70);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.coming-soon-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

[data-theme='light'] .coming-soon-card {
  background: linear-gradient(135deg, #1a2f70, #0D1B3E);
  color: #F0ECD8;
}

[data-theme='light'] .coming-soon-card h3 { color: #F0ECD8; }
[data-theme='light'] .coming-soon-card p { color: rgba(240,236,216,0.8); }

.cs-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #0D1B3E;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.coming-soon-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: #F0ECD8;
  margin-bottom: var(--space-4);
}

.coming-soon-card p {
  color: rgba(240, 236, 216, 0.75);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  max-width: none;
}

.cs-note {
  font-style: italic;
  opacity: 0.7;
}

/* ── Achievements Strip ── */
.achievements-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-8);
}

.achievements-grid {
  display: flex;
  gap: var(--space-8);
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.achievement {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1;
  min-width: 160px;
}

.achievement svg { color: var(--color-primary); flex-shrink: 0; }

.achievement strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.achievement span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ── Vision Section ── */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-6);
}

.vision-card {
  background: var(--color-surface-2, var(--color-bg));
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.vision-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.vision-card.featured {
  grid-row: span 2;
}

.vision-card-img {
  height: 220px;
  overflow: hidden;
}

.vision-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vision-card:hover .vision-card-img img { transform: scale(1.04); }

.vision-card-body {
  padding: var(--space-6);
}

.vision-card-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  margin-top: var(--space-3);
}

.vision-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  max-width: none;
}

.tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(201, 168, 76, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* ── New Clark City Section ── */
.new-clark-section { padding: 0; }

.new-clark-hero {
  position: relative;
  height: 50vh;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}

.new-clark-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.new-clark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 27, 62, 1) 0%,
    rgba(13, 27, 62, 0.5) 60%,
    rgba(13, 27, 62, 0.1) 100%
  );
}

.new-clark-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-10);
}

.new-clark-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #F0ECD8;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.new-clark-subtitle {
  font-size: var(--text-base);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.new-clark-body {
  padding-block: var(--space-12) var(--space-16);
}

.new-clark-intro {
  max-width: 80ch;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-12);
}

.new-clark-intro p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.8;
  margin-bottom: var(--space-5);
  max-width: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.feature-block {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: border-color var(--transition), transform var(--transition);
}

.feature-block:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.feature-icon.green { background: rgba(67, 122, 34, 0.15); color: #6daa45; }
.feature-icon.blue { background: rgba(0, 100, 148, 0.15); color: #5591c7; }
.feature-icon.gold { background: rgba(201, 168, 76, 0.15); color: var(--color-primary); }
.feature-icon.red { background: rgba(212, 48, 78, 0.15); color: #d4304e; }
.feature-icon.purple { background: rgba(122, 57, 187, 0.15); color: #a86fdf; }
.feature-icon.teal { background: rgba(1, 105, 111, 0.15); color: #4f98a3; }

.feature-block h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.feature-block p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: none;
}

.clark-cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, #A88C3E 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-12);
  text-align: center;
  color: #0D1B3E;
}

.clark-cta-box h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.clark-cta-box p {
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  opacity: 0.85;
  max-width: none;
  font-size: var(--text-base);
  line-height: 1.65;
}

.clark-cta-box .btn-primary {
  background: #0D1B3E;
  border-color: #0D1B3E;
  color: var(--color-primary);
}

.clark-cta-box .btn-primary:hover {
  background: #162050;
  border-color: #162050;
}

/* ── Innovation Section ── */
.innovation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.innovation-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.innovation-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.innovation-label {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  background: rgba(13, 27, 62, 0.85);
  backdrop-filter: blur(8px);
  color: var(--color-primary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.innovation-content .section-title { font-size: var(--text-xl); }

.innovation-content > p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

.innovation-highlight {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  background: var(--color-surface-2, var(--color-surface));
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.ih-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

.innovation-highlight h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.innovation-highlight p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: none;
}

.innovation-footer {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
}

.innovation-footer a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Legal Section ── */
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.legal-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: border-color var(--transition);
}

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

.legal-card.featured-legal {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 100%);
  border-color: rgba(201, 168, 76, 0.3);
}

.legal-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.legal-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.gold-bg { background: rgba(201, 168, 76, 0.15); color: var(--color-primary); }
.blue-bg { background: rgba(0, 100, 148, 0.15); color: #5591c7; }
.green-bg { background: rgba(67, 122, 34, 0.15); color: #6daa45; }
.red-bg { background: rgba(212, 48, 78, 0.15); color: #d4304e; }

.legal-card-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.25;
}

.legal-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-4);
  max-width: none;
}

.legal-list {
  list-style: none;
  margin-bottom: var(--space-5);
}

.legal-list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-divider);
  padding-left: var(--space-5);
  position: relative;
  max-width: none;
}

.legal-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.legal-steps {
  list-style: none;
  counter-reset: steps;
  margin-bottom: var(--space-4);
}

.legal-steps li {
  counter-increment: steps;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-2) 0 var(--space-2) var(--space-8);
  border-bottom: 1px solid var(--color-divider);
  position: relative;
  max-width: none;
  line-height: 1.6;
}

.legal-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  color: #0D1B3E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  top: var(--space-2);
}

.legal-note {
  font-style: italic;
  font-size: var(--text-xs) !important;
  opacity: 0.75;
}

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--color-primary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  margin-top: var(--space-2);
}

.legal-disclaimer {
  display: flex;
  gap: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-left: 3px solid rgba(212, 48, 78, 0.5);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
}

.legal-disclaimer svg { flex-shrink: 0; color: var(--color-text-muted); margin-top: 2px; }

.legal-disclaimer p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: none;
}

/* ── Legacy Section ── */
.legacy-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
}

.legacy-bg {
  position: absolute;
  inset: 0;
}

.legacy-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.legacy-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13, 27, 62, 0.97) 0%,
    rgba(13, 27, 62, 0.9) 50%,
    rgba(13, 27, 62, 0.75) 100%
  );
}

.legacy-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-16);
}

.legacy-card {
  max-width: 800px;
}

.legacy-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #F0ECD8;
  margin-bottom: var(--space-2);
  line-height: 1.1;
}

.legacy-dates {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-8);
}

.legacy-bio p {
  font-size: var(--text-base);
  color: rgba(240, 236, 216, 0.82);
  line-height: 1.82;
  margin-bottom: var(--space-5);
  max-width: 72ch;
}

.legacy-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg) !important;
  color: var(--color-primary) !important;
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-5);
  margin-top: var(--space-8) !important;
}

/* ── Blog Section ── */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: color var(--transition);
}

.facebook-link { color: #1877f2; }
.facebook-link:hover { color: #0d65d8; }

.blog-coming-soon {
  text-align: center;
  padding: var(--space-12) var(--space-8);
  background: var(--color-surface-2, var(--color-bg));
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-10);
}

.blog-cs-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  margin: 0 auto var(--space-5);
  color: var(--color-primary);
}

.blog-coming-soon h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.blog-coming-soon p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: var(--space-4);
}

.blog-coming-soon .btn-primary {
  margin-top: var(--space-4);
}

.blog-preview-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: var(--space-5);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.blog-card {
  background: var(--color-surface-2, var(--color-bg));
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.placeholder-card { opacity: 0.65; }

.blog-card-img {
  height: 180px;
  overflow: hidden;
}

.placeholder-img { filter: grayscale(0.4); }

.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }

.blog-card-body { padding: var(--space-5); }

.blog-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(201, 168, 76, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.blog-card-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.blog-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  max-width: none;
}

.blog-coming {
  display: inline-block;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: italic;
}

/* ── Contact Section ── */
.contact-section {
  background: linear-gradient(135deg, #0D1B3E 0%, #122050 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info .contact-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: #F0ECD8;
  margin-bottom: var(--space-5);
}

.contact-info p {
  color: rgba(240, 236, 216, 0.75);
  font-size: var(--text-base);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: none;
}

.contact-details { display: flex; flex-direction: column; gap: var(--space-4); }

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(240, 236, 216, 0.8);
  font-size: var(--text-sm);
}

.contact-item svg { color: var(--color-primary); flex-shrink: 0; }
.contact-item a { color: var(--color-primary); transition: color var(--transition); }
.contact-item a:hover { color: var(--color-primary-hover); }

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(240, 236, 216, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-row .form-group { margin-bottom: 0; }

label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(240, 236, 216, 0.8);
}

input, select, textarea {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(240, 236, 216, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: #F0ECD8;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}

input::placeholder, textarea::placeholder { color: rgba(240, 236, 216, 0.35); }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.1);
}

select { appearance: none; cursor: pointer; }
select option { background: #0D1B3E; color: #F0ECD8; }

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

.form-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-md);
}

.form-notice svg { color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.form-notice span { font-size: var(--text-xs); color: rgba(240, 236, 216, 0.6); line-height: 1.6; }

.form-success {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: rgba(67, 122, 34, 0.15);
  border: 1px solid rgba(67, 122, 34, 0.3);
  border-radius: var(--radius-md);
  color: #6daa45;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-top: var(--space-4);
}

/* ── Footer ── */
.footer {
  background: var(--color-surface-offset, #0a1630);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-10);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-10);
  margin-bottom: var(--space-8);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.footer-company {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
  max-width: none;
}

.footer-tagline {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  max-width: none;
}

.footer-links {
  display: flex;
  gap: var(--space-10);
}

.footer-col h5 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }

.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-6);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: none;
}

.footer-bottom .footer-legal { margin-top: var(--space-1); font-style: italic; }

/* ── Scroll animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Navigation ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-divider);
    padding: var(--space-6) var(--space-6);
    gap: var(--space-4);
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-grid,
  .innovation-grid,
  .contact-grid { grid-template-columns: 1fr; }

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

  .vision-grid { grid-template-columns: 1fr; }
  .vision-card.featured { grid-row: auto; }

  .legal-grid { grid-template-columns: 1fr; }
  .legal-card.featured-legal { grid-column: auto; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: var(--space-8); }

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

@media (max-width: 640px) {
  .hero-title { line-height: 1.1; }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: var(--space-4); }
  .stat-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .achievements-grid { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .new-clark-title { font-size: var(--text-2xl); }
  .legacy-title { font-size: var(--text-2xl); }
  .blog-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   VIVID UPGRADE — Round 2
   Richer colours, glows, gradients, investor section
   ============================================================ */

/* ── Vivid token overrides ── */
:root,
[data-theme='dark'] {
  --color-bg: #07102A;
  --color-surface: #0D1B3E;
  --color-surface-2: #111f47;
  --color-surface-offset: #050d1f;
  --color-divider: #1a2d5e;
  --color-border: #1e3570;
  --color-primary: #D4A843;
  --color-primary-hover: #F0C253;
  --color-primary-active: #B8922E;
  --color-accent: #E63054;
  --gold-glow: rgba(212, 168, 67, 0.22);
  --crimson-glow: rgba(230, 48, 84, 0.18);
}

[data-theme='light'] {
  --color-bg: #F5F0E8;
  --color-surface: #FFFFFF;
  --color-surface-2: #FAF7F0;
  --color-surface-offset: #EDE8DC;
  --color-divider: #DDD5C0;
  --color-border: #CCC4A8;
  --color-primary: #9A6F0A;
  --color-primary-hover: #7D5A06;
  --color-accent: #C0283E;
}

/* ── Hero — richer overlay + subtle vignette ── */
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(7, 16, 42, 0.92) 0%,
    rgba(7, 16, 42, 0.72) 45%,
    rgba(7, 16, 42, 0.45) 100%
  );
}

/* Gold shimmer behind hero text */
.hero-content::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(212,168,67,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  animation: goldPulse 6s ease-in-out infinite alternate;
}

@keyframes goldPulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.15); }
}

.hero-title {
  text-shadow: 0 2px 32px rgba(7,16,42,0.6);
}

/* Vivid gold quote banner */
.quote-banner {
  background: linear-gradient(100deg, #B8922E 0%, #D4A843 40%, #F0C253 60%, #D4A843 80%, #B8922E 100%);
  background-size: 200% auto;
  animation: shimmer 5s linear infinite;
  padding-block: var(--space-10);
}

@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.site-quote {
  color: #07102A;
  font-size: var(--text-xl);
  text-shadow: 0 1px 2px rgba(255,255,255,0.15);
}

/* ── About — coming-soon card glow ── */
.coming-soon-card {
  background: linear-gradient(135deg, #0d1b3e 0%, #152560 60%, #1a2d70 100%);
  border-color: rgba(212,168,67,0.35);
  box-shadow: 0 0 40px rgba(212,168,67,0.1), inset 0 1px 0 rgba(212,168,67,0.2);
}

/* ── Achievements — vivid gold icons ── */
.achievements-strip {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.achievement svg { color: #D4A843; filter: drop-shadow(0 0 6px rgba(212,168,67,0.5)); }

/* ── Vision cards — glow on hover ── */
.vision-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 40px rgba(212,168,67,0.15), 0 2px 8px rgba(0,0,0,0.4);
}

.vision-card.featured {
  border-color: rgba(212,168,67,0.3);
  box-shadow: 0 4px 24px rgba(212,168,67,0.1);
}

/* ── New Clark section ── */
.new-clark-overlay {
  background: linear-gradient(
    to top,
    rgba(7, 16, 42, 1) 0%,
    rgba(7, 16, 42, 0.55) 55%,
    rgba(7, 16, 42, 0.1) 100%
  );
}

.clark-cta-box {
  background: linear-gradient(135deg, #C49535 0%, #D4A843 35%, #E8C060 55%, #D4A843 75%, #B8922E 100%);
  background-size: 200% auto;
  animation: shimmer 7s linear infinite;
  box-shadow: 0 12px 48px rgba(212,168,67,0.35);
}

/* ── Feature blocks ── */
.feature-block {
  background: linear-gradient(135deg, var(--color-surface) 0%, rgba(17,31,71,0.8) 100%);
  border: 1px solid var(--color-divider);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
}

.feature-block:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(212,168,67,0.18);
  transform: translateY(-4px);
}

/* ── Innovation section ── */
.innovation-img-wrap {
  box-shadow: 0 16px 56px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,168,67,0.15);
}

.innovation-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(212,168,67,0.12) 100%);
  pointer-events: none;
}

/* ── Legal cards ── */
.legal-card {
  background: linear-gradient(160deg, var(--color-surface) 0%, rgba(17,31,71,0.7) 100%);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
}

.legal-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(212,168,67,0.14);
  transform: translateY(-3px);
}

.legal-card.featured-legal {
  background: linear-gradient(160deg, rgba(212,168,67,0.07) 0%, rgba(17,31,71,0.6) 100%);
  border-color: rgba(212,168,67,0.35);
  box-shadow: 0 4px 24px rgba(212,168,67,0.1);
}

/* ── Legacy section — stronger contrast ── */
.legacy-overlay {
  background: linear-gradient(
    105deg,
    rgba(7, 16, 42, 0.97) 0%,
    rgba(7, 16, 42, 0.88) 40%,
    rgba(7, 16, 42, 0.6) 100%
  );
}

.legacy-title {
  text-shadow: 0 2px 24px rgba(212,168,67,0.3);
}

.legacy-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl) !important;
  color: var(--color-primary) !important;
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-5);
  margin-top: var(--space-8) !important;
  text-shadow: 0 0 24px rgba(212,168,67,0.25);
}

/* ── Blog cards ── */
.blog-card {
  background: linear-gradient(160deg, var(--color-surface) 0%, rgba(17,31,71,0.7) 100%);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
}

.blog-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 28px rgba(212,168,67,0.15);
  transform: translateY(-3px);
}

/* ── Contact section ── */
.contact-section {
  background: linear-gradient(160deg, #07102A 0%, #0d1b3e 50%, #071535 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(212,168,67,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(230,48,84,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── ═══════════════════════════════════════════
   INVESTOR SECTION — centrepiece
   ═══════════════════════════════════════════ ── */
.investor-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #07102A 0%, #0a152e 40%, #071020 100%);
  padding-block: clamp(5rem, 10vw, 8rem);
}

.investor-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,168,67,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(230,48,84,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 60%, rgba(212,168,67,0.06) 0%, transparent 60%);
}

.investor-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-16);
}

.gold-label { color: #F0C253; letter-spacing: 0.14em; }

.investor-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  color: #F0ECD8;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 32px rgba(212,168,67,0.2);
}

.investor-title em {
  font-style: italic;
  background: linear-gradient(90deg, #D4A843, #F0C253, #D4A843);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.investor-intro {
  font-size: var(--text-base);
  color: rgba(240,236,216,0.78);
  line-height: 1.8;
  max-width: 70ch;
  margin-inline: auto;
}

.investor-intro strong { color: #F0C253; }

/* Stats row */
.investor-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-16);
}

.investor-stat {
  text-align: center;
  padding: var(--space-8) var(--space-5);
  background: rgba(212,168,67,0.06);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
}

.investor-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4A843, transparent);
}

.investor-stat:hover {
  border-color: rgba(212,168,67,0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212,168,67,0.15);
}

.istat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: #D4A843;
  text-shadow: 0 0 24px rgba(212,168,67,0.4);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.istat-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #F0ECD8;
  margin-bottom: var(--space-2);
}

.istat-note {
  display: block;
  font-size: var(--text-xs);
  color: rgba(240,236,216,0.5);
  line-height: 1.4;
}

/* Investor pillars */
.investor-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.inv-pillar {
  background: linear-gradient(135deg, rgba(212,168,67,0.05) 0%, rgba(17,31,71,0.6) 100%);
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
}

.inv-pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.4), transparent);
}

.inv-pillar:hover {
  border-color: rgba(212,168,67,0.4);
  box-shadow: 0 8px 32px rgba(212,168,67,0.12);
  transform: translateY(-3px);
}

.inv-pillar-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  color: rgba(212,168,67,0.15);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
}

.inv-pillar h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: #F0ECD8;
  margin-bottom: var(--space-3);
}

.inv-pillar p {
  font-size: var(--text-sm);
  color: rgba(240,236,216,0.7);
  line-height: 1.75;
  max-width: none;
}

/* CTA wrap */
.investor-cta-wrap {
  margin-top: var(--space-8);
}

.investor-cta-box {
  background: linear-gradient(135deg, rgba(212,168,67,0.12) 0%, rgba(17,31,71,0.8) 60%, rgba(212,168,67,0.08) 100%);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  box-shadow: 0 8px 48px rgba(212,168,67,0.12), inset 0 1px 0 rgba(212,168,67,0.2);
  flex-wrap: wrap;
}

.icta-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: #F0ECD8;
  margin-bottom: var(--space-3);
}

.icta-content p {
  font-size: var(--text-base);
  color: rgba(240,236,216,0.72);
  line-height: 1.7;
  max-width: 55ch;
}

.icta-actions {
  display: flex;
  gap: var(--space-4);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn-outline-gold {
  background: transparent;
  color: #D4A843;
  border: 2px solid rgba(212,168,67,0.5);
}

.btn-outline-gold:hover {
  background: rgba(212,168,67,0.1);
  border-color: #D4A843;
  color: #F0C253;
  transform: translateY(-2px);
}

/* ── Footer vivid ── */
.footer {
  background: linear-gradient(180deg, #050d1f 0%, #04090f 100%);
  border-top: 1px solid rgba(212,168,67,0.15);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.4), transparent);
}

/* ── Scroll indicator line on sections ── */
.section::before,
.section-alt::before {
  content: none; /* remove any accidental pseudo */
}

/* Divider bar accent for section tops */
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  margin-right: var(--space-2);
  vertical-align: middle;
  border-radius: 2px;
}

/* ── Responsive investor section ── */
@media (max-width: 900px) {
  .investor-stats-row { grid-template-columns: 1fr 1fr; }
  .investor-pillars { grid-template-columns: 1fr; }
  .investor-cta-box { flex-direction: column; text-align: center; }
  .icta-content p { max-width: none; }
  .icta-actions { justify-content: center; }
}

@media (max-width: 640px) {
  .investor-stats-row { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .investor-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
}

/* Privacy notice in contact form */
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: var(--text-xs);
  color: rgba(240, 236, 216, 0.45);
  line-height: 1.5;
  margin-bottom: var(--space-4);
  max-width: none;
}
.form-privacy svg { flex-shrink: 0; margin-top: 1px; color: rgba(212,168,67,0.5); }

/* ── Facebook Section ── */
.facebook-section {
  background: linear-gradient(135deg, #1a1f3a 0%, #0d1b3e 100%);
  border: 1px solid rgba(24, 119, 242, 0.25);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-10);
}

.fb-section-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(24, 119, 242, 0.2);
}

.fb-icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1877f2;
  border-radius: var(--radius-md);
  color: white;
}

.fb-section-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: #F0ECD8;
  margin-bottom: var(--space-2);
}

.fb-section-header p {
  font-size: var(--text-sm);
  color: rgba(240, 236, 216, 0.65);
  line-height: 1.6;
  max-width: none;
}

.fb-embed-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-6);
  min-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fb-embed-wrap .fb-page {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fb-follow-cta {
  text-align: center;
}

.btn-facebook {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: #1877f2;
  color: white;
  border: 2px solid #1877f2;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn-facebook:hover {
  background: #0d65d8;
  border-color: #0d65d8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.35);
  color: white;
}

[data-theme='light'] .facebook-section {
  background: linear-gradient(135deg, #e8f0fe 0%, #f0f4ff 100%);
  border-color: rgba(24, 119, 242, 0.3);
}

[data-theme='light'] .fb-section-header h3 { color: #0D1B3E; }
[data-theme='light'] .fb-section-header p { color: #5A5878; }

/* Coming Soon — Investor Section */
.coming-soon-investor-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(212, 168, 67, 0.12);
  border: 1px solid rgba(212, 168, 67, 0.4);
  color: #F0C253;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--space-5);
}

.cs-pulse {
  width: 10px;
  height: 10px;
  background: #D4A843;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px rgba(212,168,67,0.6);
}

.investor-cta-coming-soon {
  background: linear-gradient(135deg, rgba(212,168,67,0.06) 0%, rgba(17,31,71,0.9) 100%);
  border-color: rgba(212,168,67,0.2);
}

.investor-cta-coming-soon h3 {
  color: #F0C253 !important;
}

/* ── Legal Reference Links (replaces coming-soon-pill) ── */
.legal-ref-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  font-size: 0.82rem;
  color: var(--gold, #C9A84C);
}
.legal-ref-link svg { flex-shrink: 0; opacity: 0.8; }
.legal-ref-link a {
  color: var(--gold, #C9A84C);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.legal-ref-link a:hover { opacity: 0.75; }

/* ── Corporate Formation Page Styles ── */
.corp-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #060d1a 0%, #0d1b3e 60%, #1a2a4a 100%);
  overflow: hidden;
}
.corp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.corp-hero-content {
  position: relative;
  z-index: 1;
}
.corp-breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(201,168,76,0.7);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.corp-breadcrumb a { color: inherit; text-decoration: none; }
.corp-breadcrumb a:hover { color: #C9A84C; }
.corp-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.corp-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  line-height: 1.6;
}
.corp-gold-bar {
  height: 4px;
  background: linear-gradient(90deg, #C9A84C, #e8c97a, #C9A84C);
  width: 100%;
}

/* Steps */
.corp-steps {
  padding: 80px 0;
}
.corp-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
}
.corp-step:last-child { border-bottom: none; }
.step-num-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0d1b3e;
  background: #C9A84C;
  flex-shrink: 0;
}
.step-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, #C9A84C 0%, transparent 100%);
  min-height: 40px;
}
.step-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text, #cdccca);
}
.step-content .step-law {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9A84C;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 4px;
  padding: 2px 10px;
  margin-bottom: 20px;
}
.step-content p {
  line-height: 1.75;
  margin-bottom: 16px;
  color: var(--text-muted, #797876);
}
.step-content p:last-child { margin-bottom: 0; }
.step-content strong { color: var(--text, #cdccca); }

/* Callout box */
.corp-callout {
  border-left: 4px solid #C9A84C;
  background: rgba(201,168,76,0.07);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.corp-callout p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text, #cdccca) !important;
}

/* Comparison table */
.corp-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
.comp-col {
  border-radius: 10px;
  padding: 28px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
}
.comp-col.gold-col {
  border-color: rgba(201,168,76,0.35);
  background: rgba(201,168,76,0.05);
}
.comp-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 16px;
}
.comp-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comp-col ul li {
  padding-left: 18px;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted, #797876);
}
.comp-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C9A84C;
}

/* Resources */
.corp-resources {
  padding: 60px 0 80px;
}
.corp-resources h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 8px;
}
.corp-resources .section-label { margin-bottom: 24px; display: block; }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.resource-card {
  padding: 24px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s;
}
.resource-card:hover { border-color: rgba(201,168,76,0.4); }
.resource-card .rc-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9A84C;
}
.resource-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text, #cdccca);
  line-height: 1.4;
}
.resource-card p {
  font-size: 0.82rem;
  color: var(--text-muted, #797876);
  line-height: 1.5;
  flex: 1;
}
.resource-card a {
  font-size: 0.8rem;
  color: #C9A84C;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.resource-card a:hover { text-decoration: underline; }
.corp-disclaimer {
  margin-top: 48px;
  padding: 20px 24px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  font-size: 0.82rem;
  color: var(--text-muted, #797876);
  line-height: 1.6;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.corp-disclaimer svg { flex-shrink: 0; margin-top: 2px; opacity: 0.6; }

/* Compliance checklist */
.compliance-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.compliance-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border, rgba(255,255,255,0.06));
}
.compliance-item .ci-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #C9A84C;
  flex-shrink: 0;
}
.compliance-item .ci-body { display: flex; flex-direction: column; gap: 2px; }
.compliance-item .ci-body strong { font-size: 0.9rem; color: var(--text, #cdccca); }
.compliance-item .ci-body span { font-size: 0.82rem; color: var(--text-muted, #797876); }

@media (max-width: 680px) {
  .corp-step { grid-template-columns: 1fr; }
  .step-num-wrap { flex-direction: row; }
  .step-line { display: none; }
  .corp-comparison { grid-template-columns: 1fr; }
}

/* ── Real PLG Logo ─────────────────────────────────────── */
.nav-logo img[src*="plg-logo"] {
  border-radius: 6px;
  background: #ffffff;
  padding: 4px 8px;
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.footer-brand img[src*="plg-logo"] {
  height: 72px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: none !important;
  background: rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 6px 12px;
}
