/* ============================================================
   HOME.CSS — index.html only
   Page-specific styles. All reusable components
   are in components.css.
   ============================================================ */

/* ─── HERO — full-viewport ───────────────────────────────────── */
.home-hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem var(--px) 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.home-hero::after {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,196,0.25) 0%, transparent 65%);
  pointer-events: none;
}

.home-hero-inner {
  position: relative;
  max-width: 840px;
  width: 100%;
}

/* Portrait */
.hero-portrait {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  overflow: hidden;
  margin: 0 auto 2.25rem;
  background: var(--navy2);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-portrait-placeholder svg {
  width: 28px; height: 28px;
  opacity: 0.4;
  stroke: rgba(255,255,255,0.6);
  fill: none;
}

/* Name / identity line */
.hero-name-line {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hero-name-line::before,
.hero-name-line::after {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

/* Main statement */
.hero-statement {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.hero-statement em {
  font-style: italic;
  color: var(--accent);
}

.hero-statement .break {
  display: block;
  height: 0.2em;
}

/* Context sub-line */
.hero-context {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA row */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  color: rgba(255,255,255,0.3);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollpulse 2s ease-in-out infinite;
}

@keyframes scrollpulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.2); }
}

/* ─── MANIFESTO ───────────────────────────────────────────────── */
.manifesto { overflow: hidden; }

.manifesto-dark {
  background: var(--navy);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem var(--px);
  position: relative;
}

.manifesto-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(26,86,196,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.manifesto-dark-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.manifesto-tag {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.5rem;
  display: block;
}

.manifesto-words {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.25;
  color: rgba(255,255,255,0.18);
  letter-spacing: -0.01em;
  position: relative;
}

.manifesto-words .dim    { color: rgba(255,255,255,0.15); transition: color 0.6s; }
.manifesto-words .bright { color: rgba(255,255,255,0.18); transition: color 0.6s 0.4s; }
.manifesto-words em      { font-style: italic; }

.manifesto-light {
  background: var(--bg);
  padding: 5rem var(--px);
}

.manifesto-light-inner { max-width: var(--max-w); margin: 0 auto; }

/* ─── WHY I BUILT THIS ────────────────────────────────────────── */
.why-section { max-width: 720px; margin: 0 auto; }

.why-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.why-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.why-body {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--navy);
  line-height: 1.65;
}

.why-body em {
  font-style: normal;
  color: var(--accent);
}

.why-attribution {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.why-attribution::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--border);
}

/* ─── THREE WAYS ──────────────────────────────────────────────── */
.three-ways {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.three-ways::before {
  content: '01';
  position: absolute;
  right: 1.5rem;
  bottom: -2rem;
  font-family: var(--font-display);
  font-size: 22rem;
  color: rgba(255,255,255,0.03);
  font-style: italic;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.three-ways-hdr { margin-bottom: 3rem; position: relative; }

.three-ways-hdr .overline {
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}

.three-ways-hdr h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  color: #fff;
  font-style: italic;
}

.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.way-card {
  background: rgba(255,255,255,0.03);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background 0.25s;
}
.way-card:hover { background: rgba(255,255,255,0.07); }

.way-tag {
  font-family: var(--font-heading);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.way-q {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  line-height: 1.3;
  font-style: italic;
}

.way-p {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.58);
  font-size: 0.875rem;
  line-height: 1.78;
  flex: 1;
}

.way-link {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.75;
  transition: opacity 0.2s, gap 0.2s;
}
.way-link:hover { opacity: 1; gap: 0.6rem; }

/* ─── THESIS CARD ─────────────────────────────────────────────── */
.thesis-story { position: relative; margin-bottom: 3rem; }

.thesis-story-num {
  position: absolute;
  left: -0.05em;
  top: -0.15em;
  font-family: var(--font-display);
  font-size: clamp(7rem, 14vw, 13rem);
  color: rgba(13,31,60,0.045);
  font-style: italic;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.thesis-card {
  position: relative;
  background: var(--navy);
  border-radius: 20px;
  padding: 3rem;
  overflow: hidden;
}

.thesis-card::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,196,0.22) 0%, transparent 65%);
  pointer-events: none;
}

.thesis-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.25);
  color: #f5c842;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.75rem;
}

.thesis-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
}

.thesis-story-hook {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  border-left: 2px solid rgba(26,86,196,0.5);
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}

.thesis-h {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-style: italic;
}

.thesis-p {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.62);
  font-size: 0.9rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.thesis-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
}

.thesis-finding {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
}
.thesis-finding strong { color: rgba(255,255,255,0.88); font-weight: 600; }

/* ─── PROJECT PAIR ────────────────────────────────────────────── */
.project-pair {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.proj-hook {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.65;
  border-left: 2px solid var(--border);
  padding-left: 0.85rem;
  margin-bottom: 0.25rem;
}

.proj-h {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.proj-p {
  font-family: var(--font-body);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
  flex: 1;
}

.proj-stats {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: auto;
}

.proj-stat b {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  display: block;
  line-height: 1.1;
}

.proj-stat span {
  font-family: var(--font-body);
  font-size: 0.67rem;
  color: var(--muted);
}

.proj-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

/* ─── CONTENT IN ACTION ───────────────────────────────────────── */
.content-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.content-hdr-l .overline { color: var(--muted); margin-bottom: 0.5rem; }

.content-hdr-l h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--navy);
  font-style: italic;
}

.content-hdr-r {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 280px;
  text-align: right;
  line-height: 1.65;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ─── ACADEMY ─────────────────────────────────────────────────── */
.academy-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.academy-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(184,134,11,0.08) 0%, transparent 55%);
  pointer-events: none;
}

.academy-inner { max-width: var(--max-w); margin: 0 auto; position: relative; }

.academy-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

.academy-overline {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.academy-overline::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(184,134,11,0.3);
}

.academy-h {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  color: #fff;
  font-style: italic;
  line-height: 1.25;
  margin-bottom: 1.1rem;
}

.academy-mission {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.88;
  margin-bottom: 2rem;
  border-left: 2px solid rgba(184,134,11,0.45);
  padding-left: 1.1rem;
}

.academy-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2.25rem;
}

.course-pill {
  font-family: var(--font-heading);
  font-size: 0.77rem;
  font-weight: 500;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.8);
  padding: 0.28rem 0.82rem;
  border-radius: 20px;
  transition: background 0.2s, border-color 0.2s;
}
.course-pill:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.28);
}

.academy-cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.academy-proof {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.ap-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
}

.ap-stat {
  background: rgba(255,255,255,0.03);
  padding: 1.2rem 1rem;
  text-align: center;
}

.ap-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  font-style: italic;
  display: block;
  line-height: 1;
}

.ap-lbl {
  font-family: var(--font-body);
  font-size: 0.67rem;
  color: rgba(255,255,255,0.42);
  margin-top: 0.25rem;
  display: block;
}

.academy-quote-block {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
}

.aq-mark {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: rgba(184,134,11,0.35);
  line-height: 0.6;
  display: block;
  margin-bottom: 0.75rem;
  font-style: italic;
}

.aq-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
}

.aq-who {
  font-family: var(--font-body);
  font-size: 0.77rem;
  color: rgba(255,255,255,0.38);
  margin-top: 0.75rem;
}

/* ─── IMPACT ──────────────────────────────────────────────────── */
.impact-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.impact-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 8rem);
  color: var(--navy);
  font-style: italic;
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}

.impact-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.impact-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.7;
}

/* ─── HOME RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .ways-grid          { grid-template-columns: 1fr; }
  .way-card           { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .thesis-layout      { grid-template-columns: 1fr; }
  .project-pair       { grid-template-columns: 1fr; }
  .academy-top        { grid-template-columns: 1fr; }
  .content-grid       { grid-template-columns: 1fr; }
  .content-hdr        { flex-direction: column; }
  .content-hdr-r      { text-align: left; max-width: 100%; }
}
