INDEX 
/* ================================================
   NARMIN — INDEX (HOME) PAGE STYLES
   css/index.css
   Page-specific only. Global styles live in global.css
   ================================================ */


/* ────────────────────────────────────────────────
   1. HERO SECTION
──────────────────────────────────────────────── */
.main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 80px 80px 80px;
  position: relative;
  min-height: calc(100vh - 56px);
  overflow: hidden;
}


/* ────────────────────────────────────────────────
   2. GHOST MARQUEE (background watermark)
──────────────────────────────────────────────── */
.marquee-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.03;
  z-index: 0;
  user-select: none;
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}

.marquee-inner span {
  font-family: var(--font-serif);
  font-size: 160px;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  padding-right: 56px;
}


/* ────────────────────────────────────────────────
   3. HELLO TAG (eyebrow label)
──────────────────────────────────────────────── */
/* .hello-tag moved to global.css */


/* ────────────────────────────────────────────────
   4. HEADLINE
──────────────────────────────────────────────── */
.headline {
  position: relative;
  z-index: 1;
  padding-bottom: 32
  px;
  padding-left: 80px;
  padding-right: 80px;
}

.hello-tag {
  padding-left: 60px;
}

.hero-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.7s 0.55s ease both;
  padding-left: 80px;
  padding-right: 80px;
  margin-top: 42px;
}

.hero-body p {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-muted);
}

.hl-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hl-row {
  display: flex;
  align-items: baseline;
  gap: 0.2em;
  flex-wrap: wrap;
}

.hl-word {
  font-family: var(--font-serif);
  font-weight: 100;
  font-size: 60px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #fff;
  display: inline-flex;
  white-space: nowrap;
  animation: slideUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
  overflow: visible;
}

/* Stagger each word's slide-up animation */
.hl-row:nth-child(1) .hl-word:nth-child(1) { animation-delay: 0.00s; }
.hl-row:nth-child(1) .hl-word:nth-child(3) { animation-delay: 0.08s; }
.hl-row:nth-child(2) .hl-word:nth-child(1) { animation-delay: 0.16s; }
.hl-row:nth-child(2) .hl-word:nth-child(2) { animation-delay: 0.22s; font-style: italic; color: var(--text-muted); }
.hl-row:nth-child(2) .hl-word:nth-child(3) { animation-delay: 0.28s; }

.hl-sep {
  font-family: var(--font-mono);
  font-size: clamp(16px, 2vw, 32px);
  color: rgb(221, 0, 0);
  align-self: center;
  flex-shrink: 0;
  animation: fadeIn 0.5s 0.3s ease both;
}

/* Each letter inside the headline — magnetic target */
.hl-word .char {
  display: inline-block;
  will-change: transform;
  color: inherit;
  transition: color 0.25s;
}


/* ────────────────────────────────────────────────
   5. HERO BODY (bio + skills grid)
──────────────────────────────────────────────── */
.hero-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.7s 0.55s ease both;
}

.hero-body p {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-muted);
}

.hero-body p em {
  font-style: normal;
  color: #fff;
}


/* ────────────────────────────────────────────────
   6. SKILLS LIST
──────────────────────────────────────────────── */
.skills-list {
  border-left: 1px solid var(--border);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
}

.skill-row {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  transition: color 0.2s, padding-left 0.25s ease;
  overflow: hidden;
}

.skill-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hover-bg);
  transform: translateX(-101%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-row:hover { color: #fff; padding-left: 10px; }
.skill-row:hover::before { transform: translateX(0); }

.skill-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.18);
  position: relative;
  z-index: 1;
}

.skill-name {
  position: relative;
  z-index: 1;
}


/* ────────────────────────────────────────────────
   7. PROJECTS SECTION
──────────────────────────────────────────────── */
.projects-section {
  padding: 64px 80px 100px;
  position: relative;
  z-index: 2;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  padding-bottom: 8px;
}

/* Matches .hello-tag style exactly */
.section-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.section-count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.18);
}


/* ────────────────────────────────────────────────
   8. PROJECT ROWS
──────────────────────────────────────────────── */
.project-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  align-items: center;
  gap: 0 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s ease;
}

.project-row:hover {
  padding-left: 8px;
}

.project-row:hover .proj-name,
.project-row:hover .proj-italic,
.project-row:hover .proj-cat,
.project-row:hover .proj-year {
  color: rgba(255, 255, 255, 0.7);
}

.proj-name {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 50px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.proj-italic {
  font-style: italic;
  color: var(--text-muted);
  font-size: 24px;
  transition: color 0.25s;
}
.project-row:hover .proj-italic { color: rgb(234, 26, 26); }

.proj-cat {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: color 0.25s;
}
.project-row:hover .proj-cat { color: rgba(255, 255, 255, 0.65); }

.proj-year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgb(109, 109, 109);
  position: relative;
  z-index: 1;
  transition: color 0.25s;
}
.project-row:hover .proj-year { color: rgb(255, 0, 0); }

.proj-arrow {
  font-size: 18px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: color 0.25s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-row:hover .proj-arrow { color: #fff; transform: translate(4px, -4px); }


/* ────────────────────────────────────────────────
   9. RESPONSIVE
──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .main              { padding: 48px 48px 60px; }
  .projects-section  { padding: 48px 48px 80px; }
  .hl-word           { font-size: 60px; }
  .hello-tag         { padding-left: 48px; }
  .headline          { padding-left: 48px; padding-right: 48px; }
  .hero-body         { padding-left: 48px; padding-right: 48px; }
}

@media (max-width: 700px) {
  .main              { padding: 36px 36px 52px; }
  .hl-word           { font-size: 44px; }
  .hello-tag         { padding-left: 36px; }
  .hero-body         { grid-template-columns: 1fr; gap: 36px 0; padding-left: 36px; padding-right: 36px; }
  .skills-list       { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; }
  .projects-section  { padding: 40px 36px 64px; }
  .project-row       { grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 8px 12px; padding: 22px 0; }
  .proj-name         { font-size: clamp(22px, 5vw, 36px); grid-column: 1; grid-row: 1; }
  .proj-cat          { font-size: 10px; grid-column: 1; grid-row: 2; }
  .proj-year         { display: none; }
  .proj-arrow        { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}

@media (max-width: 480px) {
  .main              { padding: 32px 24px 48px; }
  .hl-word           { font-size: 34px; }
  .hello-tag         { margin-bottom: 24px; padding-left: 24px; }
  .hero-body p       { font-size: 17px; }
  .hero-body         { padding-left: 24px; padding-right: 24px; }
  .headline          { padding-bottom: 40px; padding-left: 24px; padding-right: 24px; }
  .projects-section  { padding: 32px 24px 56px; }
  .project-row::before,
  .project-row::after { display: none; }
  .project-row:hover { padding-left: 0; }
}