/* ── DeepStrategy.ai — Main Stylesheet ── */

:root {
  --navy: #0a1628;
  --navy-mid: #121f35;
  --navy-light: #1a2d4a;
  --slate: #2a3f5f;
  --steel: #6b7fa3;
  --silver: #9aacca;
  --pearl: #c8d4e8;
  --ivory: #e8ecf4;
  --white: #f4f6fa;
  --gold: #c9a84c;
  --gold-light: #dfc06a;
  --gold-muted: rgba(201, 168, 76, 0.15);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

/* ── Subtle grain overlay ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 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='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  transition: all 0.4s ease;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-logo span {
  color: var(--gold);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--silver);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

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

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%; left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(42, 63, 95, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.2s forwards;
}

.hero-tagline {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.4s forwards;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  max-width: 800px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.6s forwards;
}

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

.hero-sub {
  font-size: 1.15rem;
  color: var(--silver);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.8s forwards;
}

.hero-cta {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: all 0.4s ease;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 1s forwards;
}

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

/* ── Section base styles ── */
section {
  padding: 7rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-body {
  font-size: 1.05rem;
  color: var(--silver);
  max-width: 680px;
  line-height: 1.85;
}

/* ── Divider lines ── */
.divider {
  max-width: 1100px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 168, 76, 0.2) 50%, transparent 100%);
}

/* ── Ecosystem section ── */
.ecosystem {
  text-align: center;
}

.ecosystem .section-body {
  margin: 0 auto 4rem;
  text-align: center;
}

.flywheel {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.flywheel-step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  position: relative;
}

.flywheel-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

.flywheel-text {
  font-size: 0.95rem;
  color: var(--pearl);
  text-align: left;
}

.flywheel-text strong {
  color: var(--white);
  font-weight: 500;
}

.flywheel-connector {
  width: 1px;
  height: 20px;
  background: rgba(201, 168, 76, 0.2);
  margin-left: 24px;
}

/* ── Publication cards ── */
.pub-section {
  padding: 7rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pub-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.pub-card.reverse { direction: rtl; }
.pub-card.reverse > * { direction: ltr; }

.pub-meta {
  padding-top: 0.5rem;
}

.pub-name {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.pub-audience {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.pub-desc {
  font-size: 1.02rem;
  color: var(--silver);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.pub-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.pub-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--pearl);
}

.pub-feature::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 0.55rem;
}

.pub-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.pub-link:hover { border-bottom-color: var(--gold); }

.pub-visual {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.08);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.pub-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.pub-visual-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.25rem;
}

.pub-visual-headline {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 1rem;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

a.pub-visual-headline:hover {
  color: var(--gold);
}

.pub-visual-excerpt {
  font-size: 0.88rem;
  color: var(--steel);
  line-height: 1.7;
}

.pub-visual-date {
  font-size: 0.75rem;
  color: var(--slate);
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(107, 127, 163, 0.15);
}

/* ── ScenarioPlan coming soon ── */
.coming-soon {
  text-align: center;
  padding: 7rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.coming-soon-box {
  border: 1px solid rgba(201, 168, 76, 0.15);
  background: rgba(201, 168, 76, 0.03);
  padding: 4rem 3rem;
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}

.coming-soon-box::before,
.coming-soon-box::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
}

.coming-soon-box::before {
  top: -1px; left: -1px;
  border-width: 1px 0 0 1px;
}

.coming-soon-box::after {
  bottom: -1px; right: -1px;
  border-width: 0 1px 1px 0;
}

.coming-soon .section-body {
  margin: 0 auto;
  text-align: center;
}

.coming-soon-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 0.4rem 1rem;
  margin-top: 2rem;
}

/* ── Human Masterminds ── */
.masterminds {
  text-align: center;
}

.masterminds .section-body {
  margin: 0 auto;
  text-align: center;
}

.masterminds-quote {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--gold-light);
  max-width: 600px;
  margin: 3rem auto 1rem;
  line-height: 1.5;
}

.masterminds-attrib {
  font-size: 0.8rem;
  color: var(--steel);
  letter-spacing: 0.1em;
}

/* ── About ── */
.about {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-photo-initials {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--slate);
  letter-spacing: 0.1em;
}

.about-content { padding-top: 0.5rem; }

.about-name {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.about-role {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.about-bio {
  font-size: 1.02rem;
  color: var(--silver);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.credential {
  font-size: 0.75rem;
  color: var(--pearl);
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.12);
  padding: 0.5rem 1rem;
  letter-spacing: 0.05em;
}

/* ── Footer ── */
footer {
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  margin-top: 4rem;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-logo span { color: var(--gold); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-collab {
  font-size: 0.78rem;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--slate);
}

/* ── Animations ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  section, .pub-section, .coming-soon { padding: 4rem 1.5rem; }
  .pub-card, .pub-card.reverse { grid-template-columns: 1fr; gap: 2rem; direction: ltr; }
  .about { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { max-width: 200px; }
  .coming-soon-box { padding: 2.5rem 1.5rem; }
}
