/* ============================================================
   Hero / Intro section
   ============================================================ */

.hero {
  padding: 56px 0 0 0;
  position: relative;
}

.hero-frame {
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  gap: 56px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  align-items: start;
}

/* ---- LEFT RAIL ---- */
.hero-rail {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 80px;
}
.rail-block { border-top: 1px solid var(--rule-strong); padding-top: 12px; }
.rail-block .label { margin-bottom: 10px; }
.rail-list {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.4;
  color: var(--paper);
}
.rail-list span {
  color: var(--paper);
  font-style: normal;
  font-weight: 400;
}

/* Pyramid / water-image highlights: line 1 widest, line 5 narrowest */
.rail-pyramid {
  display: flex; flex-direction: column; gap: 6px;
  align-items: center;
  font-family: var(--serif);
  line-height: 1.3;
  text-align: center;
}
.rail-pyramid .hl {
  display: block;
  width: 100%;
  letter-spacing: -0.005em;
}
.rail-pyramid .hl-1 {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--paper);
}
.rail-pyramid .hl-2 {
  font-size: 14.5px;
  color: var(--paper);
  width: 88%;
}
.rail-pyramid .hl-3 {
  font-size: 13.5px;
  color: rgba(245, 240, 228, 0.92);
  width: 76%;
}
.rail-pyramid .hl-4 {
  font-size: 13px;
  color: rgba(245, 240, 228, 0.85);
  width: 64%;
  font-style: italic;
}
.rail-pyramid .hl-5 {
  font-size: 12.5px;
  color: var(--accent);
  width: 52%;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 4px;
  border-top: 1px solid rgba(245, 240, 228, 0.18);
  margin-top: 2px;
}
.rail-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.rail-stats-2 {
  grid-template-columns: 1fr 1fr;
}
.rail-stats > div {
  display: flex; flex-direction: column; gap: 2px;
}
.rail-stats b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.rail-stats small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---- MAIN COLUMN ---- */
.hero-main {
  min-width: 0;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.hero-rule {
  flex: 1;
  height: 1px;
  background: var(--rule-strong);
  max-width: 240px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 28px 0;
  color: var(--paper);
  max-width: 18ch;
}
.hero-title em {
  font-family: var(--serif-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* Compact two-line variant: "Hello!" then "I am Varad Vishwarupe." */
.hero-title-compact {
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-title-compact .hero-greet {
  font-family: var(--serif-italic);
  font-style: italic;
  font-weight: 400;
  font-size: 0.6em;
  color: var(--ink-mute);
  letter-spacing: -0.005em;
}
.hero-title-compact .hero-name {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.hero-title-compact em {
  font-family: var(--serif-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-deck {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 62ch;
  margin: 0 0 22px 0;
}
.hero-deck-2 { margin-bottom: 36px; }
.hero-deck b { font-weight: 500; color: var(--paper); }
.hero-deck .hl {
  color: var(--paper);
  background: linear-gradient(transparent 62%, rgba(232,138,95,0.28) 62%);
  padding: 0 2px;
}
.hero-deck em, .hero-deck .serif-it {
  font-family: var(--serif-italic);
  font-style: italic;
  color: var(--accent);
}

.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-supervisors {
  border-top: 1px solid var(--rule-strong);
  padding-top: 24px;
  margin-top: 8px;
}
.hero-supervisors .label { margin-bottom: 14px; }
.sup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sup-grid > div {
  font-family: var(--serif);
  display: flex; flex-direction: column;
  gap: 4px;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  min-width: 0;
  color: var(--paper);
}
.sup-grid b {
  font-weight: 500; font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--paper);
}
.sup-grid small {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* ---- PORTRAIT ---- */
.hero-portrait {
  display: flex; flex-direction: column; gap: 32px;
}
.hero-portrait figure { margin: 0; display: flex; justify-content: center; }
.portrait-frame {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  border: 2px solid var(--rule-strong);
  padding: 0;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.05) brightness(1.02);
}
.hero-portrait figcaption {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--serif-italic);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  padding-top: 12px;
  line-height: 1.4;
}
.hero-portrait figcaption .caps {
  font-style: normal;
  font-family: var(--mono);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.affiliations {
  display: flex; flex-direction: column; gap: 20px;
}
.aff, .aff-prev {
  border-top: 1px solid var(--rule-strong);
  padding-top: 12px;
}
.aff .label, .aff-prev .label { margin-bottom: 8px; }
.aff b {
  font-family: var(--serif); font-weight: 500;
  font-size: 18px;
  display: block;
  line-height: 1.2;
  color: var(--paper);
}
.aff small {
  font-family: var(--serif);
  color: var(--ink-mute);
  font-size: 13.5px;
  display: block;
  margin-top: 4px;
  line-height: 1.3;
}
.aff-prev ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.4;
  color: var(--paper);
}
.aff-prev ul li { color: var(--paper); font-weight: 400; font-style: normal; }
.aff-prev ul li b { font-weight: 500; color: var(--paper); font-size: 16px; }
.aff-prev ul li .designation {
  font-family: var(--serif);
  font-size: 13px;
  font-style: normal;
  color: var(--ink-mute);
  display: inline-block;
  margin-top: 1px;
}

/* ---- HERO QUOTE STRIP ---- */
.hero-quote {
  margin-top: 80px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  color: var(--paper);
  padding: 48px 32px;
  text-align: center;
  position: relative;
}
.hero-quote-text {
  font-family: var(--serif-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.35;
  color: var(--paper);
  margin: 0 auto 14px;
  max-width: 28ch;
  letter-spacing: -0.005em;
  border: none;
  padding: 0;
}
.hero-quote .quote-mark {
  font-family: var(--serif);
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
  font-size: 1.15em;
  margin: 0 0.05em;
  vertical-align: -0.05em;
}
.hero-quote-attr {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-style: normal;
  display: block;
}

/* responsive */
@media (max-width: 1100px) {
  .hero-frame { grid-template-columns: 1fr 240px; }
  .hero-rail { display: none; }
}
@media (max-width: 760px) {
  .hero-frame { grid-template-columns: 1fr; }
  .hero-portrait {
    order: -1;
    max-width: 100%;
    align-items: center;
    margin: 0 auto;
  }
  .hero-portrait figure { justify-content: center; }
  .affiliations { align-items: center; text-align: center; }
  .sup-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-quote { padding: 32px 20px; margin-top: 48px; }
}
