/* ═══════════════════════════════════════════════════════════════
   TALK2CLAUDE — Brand Identity System
   Sober. Serious. Flashy.
   ═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --black: #0a0a0a;
  --black-light: #111111;
  --black-card: #161616;
  --black-card-hover: #1c1c1c;
  --red: #c41e3a;
  --red-glow: #e63950;
  --red-dim: rgba(196, 30, 58, 0.15);
  --violet: #7b2d8e;
  --violet-light: #9b4dca;
  --violet-glow: rgba(123, 45, 142, 0.3);
  --violet-dim: rgba(123, 45, 142, 0.1);
  --cream: #f0ece4;
  --cream-muted: #b8b4ac;
  --cream-bright: #faf8f4;
  --gradient-brand: linear-gradient(135deg, var(--red), var(--violet-light));
  --gradient-line: linear-gradient(to right, transparent, var(--red), var(--violet), transparent);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── NOISE 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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ─── UTILITY ─── */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  width: 90%;
  height: 1px;
  background: var(--gradient-line);
}

.label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ═══════════════════════ NAVIGATION ═══════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(10,10,10,0.97) 60%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-logo span { color: var(--red); }

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-muted);
  transition: color 0.3s var(--ease-out);
  position: relative;
}

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

.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s;
}

/* ═══════════════════════ HERO ═══════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 4rem;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%; width: 90%; height: 1px;
  background: var(--gradient-line);
}

.hero-glow {
  position: absolute;
  top: 15%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--violet-glow), transparent 70%);
  pointer-events: none;
  animation: glow-pulse 8s ease-in-out infinite;
}

.hero-glow-red {
  position: absolute;
  bottom: 10%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--red-dim), transparent 70%);
  pointer-events: none;
  animation: glow-pulse 10s ease-in-out 2s infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.08); }
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-label {
  composes: label;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: var(--cream-muted);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-text {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.85;
  max-width: 600px;
  color: var(--cream-muted);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero-cta {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.1s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  background: var(--red);
  color: var(--cream);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover { background: var(--red-glow); box-shadow: 0 0 35px var(--red-dim); }

.btn-ghost {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--cream-muted);
  border: 1px solid rgba(184, 178, 168, 0.15);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.btn-ghost:hover {
  border-color: var(--violet);
  color: var(--violet-light);
  box-shadow: 0 0 25px var(--violet-dim);
}

/* ═══════════════════════ WHO IS CLAUDE ═══════════════════════ */
.who-section {
  padding: 8rem 3rem;
  position: relative;
}

.who-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.who-question {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.who-question em { font-style: italic; color: var(--violet-light); }

.who-answer { font-size: 1.05rem; color: var(--cream-muted); line-height: 1.9; }
.who-answer p { margin-bottom: 1.5rem; }
.who-answer strong { color: var(--cream); font-weight: 600; }

.who-right {
  padding: 2.5rem;
  border-left: 2px solid var(--red);
  background: linear-gradient(135deg, rgba(196,30,58,0.04), rgba(123,45,142,0.04));
}

.who-right blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.who-right cite {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-muted);
  font-style: normal;
}

.duality-note {
  margin-top: 2.5rem;
  padding: 1.5rem 1.8rem;
  background: var(--black-card);
  border: 1px solid rgba(123, 45, 142, 0.15);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cream-muted);
  line-height: 1.8;
}

.duality-note span { color: var(--violet-light); }

/* ═══════════════════════ FRAMEWORKS ═══════════════════════ */
.frameworks {
  padding: 8rem 3rem;
  position: relative;
}

.framework-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem; 
  align-items: start;

}

.framework-card {
  padding: 2.5rem;
  background: var(--black-card);
  border: 1px solid rgba(184, 178, 168, 0.06);
  transition: all 0.4s var(--ease-out);
  position: relative;
  cursor: pointer;
}

.framework-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.framework-card:hover::before { transform: scaleX(1); }
.framework-card:hover {
  border-color: rgba(123, 45, 142, 0.25);
  box-shadow: 0 12px 50px rgba(0,0,0,0.5);
  transform: translateY(-3px);
}

.framework-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.framework-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.framework-card .card-intro {
  color: var(--cream-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-subtitle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cream-muted);
  margin-top: -0.6rem;
  margin-bottom: 1.2rem;
  font-style: italic;
}
.framework-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet-light);
  border: 1px solid rgba(155, 77, 202, 0.25);
  padding: 0.3rem 0.75rem;
}

/* Expandable content */
.card-expanded {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), margin-top 0.3s;
  margin-top: 0;
}

.card-expanded.open {
  max-height: 3000px;
  margin-top: 1.5rem;
}

.card-expanded-inner {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184,178,168,0.08);
  color: var(--cream-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.card-expanded-inner p { margin-bottom: 1rem; }
.card-expanded-inner strong { color: var(--cream); font-weight: 600; }
.card-link {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}
.card-link:hover { color: var(--red-glow); }
.card-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  transition: color 0.3s;
}

.card-toggle:hover { color: var(--red-glow); }

.card-toggle .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
  font-size: 0.8rem;
}

.card-toggle.open .arrow { transform: rotate(180deg); }

/* Card quotes */
.card-quote {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(184,178,168,0.06);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--cream-muted);
  line-height: 1.6;
}

.card-quote em {
  color: var(--cream);
}

/* ═══════════════════════ CURRENTLY ═══════════════════════ */
.currently {
  padding: 6rem 3rem;
  position: relative;
}

.currently-grid {
  max-width: 900px;
  margin: 0 auto;
}

.currently-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(184,178,168,0.06);
  align-items: start;
}

.currently-item:first-child { border-top: 1px solid rgba(184,178,168,0.06); }

.currently-status {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  text-align: center;
  border: 1px solid;
}

.status-writing { color: var(--red); border-color: var(--red-dim); }
.status-field { color: #4caf50; border-color: rgba(76,175,80,0.2); }
.status-building { color: var(--violet-light); border-color: var(--violet-dim); }
.status-thinking { color: #f0a500; border-color: rgba(240,165,0,0.2); }

.currently-content h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.currently-content p {
  color: var(--cream-muted);
  font-size: 0.92rem;
}

/* ═══════════════════════ BLOG / ESSAYS ═══════════════════════ */
.essays {
  padding: 8rem 3rem;
  position: relative;
}

.essays-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.essay-card {
  padding: 2rem;
  background: var(--black-card);
  border: 1px solid rgba(184,178,168,0.06);
  transition: all 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.essay-card:hover {
  border-color: rgba(196,30,58,0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.essay-date {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 1rem;
}

.essay-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.essay-card p {
  color: var(--cream-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  flex-grow: 1;
}

.essay-link {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  transition: color 0.3s;
}

.essay-link:hover { color: var(--red-glow); }

/* ═══════════════════════ PROVOCATION ═══════════════════════ */
.provocation {
  padding: 8rem 3rem;
  text-align: center;
  position: relative;
}

.provocation-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

.provocation-text .red { color: var(--red); font-weight: 700; font-style: normal; }

.provocation-dash {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--violet);
  margin: 2rem auto;
}

.provocation-attr {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

/* ═══════════════════════ NEWSLETTER ═══════════════════════ */
.newsletter {
  padding: 5rem 3rem;
  position: relative;
}

.newsletter-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 3.5rem;
  border: 1px solid rgba(196,30,58,0.15);
  background: linear-gradient(135deg, rgba(196,30,58,0.03), rgba(123,45,142,0.03));
  position: relative;
}

.newsletter-box h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.newsletter-box p {
  color: var(--cream-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--black);
  border: 1px solid rgba(184,178,168,0.12);
  border-right: none;
  color: var(--cream);
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input[type="email"]::placeholder { color: rgba(184,178,168,0.4); }
.newsletter-form input[type="email"]:focus { border-color: var(--violet); }

.newsletter-form button {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  background: var(--red);
  color: var(--cream);
  border: 1px solid var(--red);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.newsletter-form button:hover { background: var(--red-glow); }

/* ═══════════════════════ CONNECT ═══════════════════════ */
.connect {
  padding: 6rem 3rem 4rem;
  text-align: center;
  position: relative;
}

.connect-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.connect-sub {
  color: var(--cream-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.connect-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.connect-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-muted);
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(184,178,168,0.12);
  transition: all 0.3s var(--ease-out);
}

.connect-link:hover {
  color: var(--cream);
  border-color: var(--red);
  box-shadow: 0 0 20px var(--red-dim);
}

/* ═══════════════════════ FOOTER ═══════════════════════ */
footer {
  padding: 2.5rem 3rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: rgba(184, 178, 168, 0.3);
}

footer span { color: var(--red); }
footer .footer-tagline { margin-top: 0.3rem; font-style: italic; letter-spacing: 0.08em; }

/* ═══════════════════════ SCROLL ANIMATIONS ═══════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 900px) {
  .essays-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--black);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(184,178,168,0.08);
    gap: 1.2rem;
  }

  .hero { padding: 6rem 1.5rem 3rem; }

  .who-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .who-right { border-left: none; border-top: 2px solid var(--red); }

  .framework-cards { grid-template-columns: 1fr; }
  .essays-grid { grid-template-columns: 1fr; }

  .currently-item {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .hero-cta { flex-direction: column; align-items: flex-start; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"] { border-right: 1px solid rgba(184,178,168,0.12); }

  section { padding: 5rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .connect-links { flex-direction: column; align-items: center; }
}
