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

:root {
  --white: #f6f6f6;
  --dim: rgba(246,246,246,0.15);
  --black: #000;
  --dark: #181818;
  --pad: 60px;
  --label: 11px;
  --medium: 18px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: "Arial Narrow", Arial, sans-serif;
  line-height: 1.2;
}

/* Prevent horizontal scroll without breaking sticky */
main {
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }

/* ─── FIXED HEADER ─── */
.site-header {
  position: fixed;
  top: 25px; left: 25px; right: 25px;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  mix-blend-mode: difference;
  pointer-events: none;
}
.site-header a, .nav-logo { pointer-events: all; }

.nav-left {
  display: flex; flex-direction: column; gap: 2px;
}
.nav-left a, .nav-right a {
  font-size: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}
.nav-left a:hover, .nav-right a:hover { text-decoration: underline; }

.nav-logo {
  font-size: 16px;
  color: var(--white);
  position: absolute;
  left: 50%; transform: translateX(-50%);
}

/* ─── SECTION NAV ─── */
.section-nav {
  position: fixed;
  right: 25px; bottom: 25px;
  z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  mix-blend-mode: difference;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.section-nav a {
  pointer-events: all;
  font-size: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  opacity: 0.4;
  transition: opacity 0.3s;
}
.section-nav a.active, .section-nav a:hover { opacity: 1; }

/* ─── STICKY PANEL BASE ─── */
.scroll-section { position: relative; }

.sticky-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  will-change: transform;
}

/* quote and vol sections need overflow visible so text isn't clipped */
.scroll-quote .sticky-panel,
.scroll-vol-quote .sticky-panel {
  overflow: visible;
}

/* ─── HERO ─── */
.scroll-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px var(--pad) 30px;
}

.hero-name {
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 900;
  line-height: 0.88;
  color: var(--white);
  mix-blend-mode: difference;
  letter-spacing: -0.02em;
  margin-top: 5px;
}

.hero-title {
  font-size: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  mix-blend-mode: difference;
  align-self: flex-end;
  max-width: 260px;
  text-align: right;
}

/* ─── QUOTE SECTION ─── */
.scroll-quote { background: var(--black); }

.quote-inner {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 80px var(--pad);
}

/* ─── REVEAL TEXT (word spans) ─── */
.reveal-text {
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: rgba(246,246,246,0.15);
  max-width: 55vw;
}

.reveal-text .word {
  display: inline;
  transition: color 0.1s ease;
}

/* ─── SKILLS + EXPERIENCE ─── */
.scroll-skills-exp { background: var(--black); }

.skills-exp-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.skills-panel {
  display: flex;
  align-items: center;
  padding: 80px var(--pad);
  border-right: 1px solid rgba(246,246,246,0.06);
}

.skills-list {
  list-style: none;
}

.skill-line {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dim);
  display: block;
  transition: color 0.2s ease;
}

.skill-line.lit { color: var(--white); }

.exp-panel {
  display: flex;
  align-items: center;
  padding: 80px 40px;
}

.exp-grid-text {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px 24px;
  width: 100%;
}

.exp-entry {
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.exp-entry.visible {
  opacity: 1;
  transform: none;
}

.exp-co {
  font-size: var(--medium);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.exp-role {
  font-size: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(246,246,246,0.5);
}
.exp-period {
  font-size: var(--label);
  color: rgba(246,246,246,0.3);
}

/* ─── VOLUNTEERING QUOTE ─── */
.scroll-vol-quote { background: var(--black); }

.vol-bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.vol-quote-inner {
  position: relative; /* above video */
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px var(--pad);
}

.vol-quote-inner .reveal-text {
  max-width: 700px;
}

/* ─── VOLUNTEERING TILES ─── */
.vol-tiles-section {
  background: #e8e8e8;
}

.vol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 2px;
}

.vol-tile {
  position: relative;
  background: #ccc;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: default;
}

.vol-tile-media {
  position: absolute; inset: 0;
}
.vol-tile-media video,
.vol-tile-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.vol-tile:hover .vol-tile-media video,
.vol-tile:hover .vol-tile-media img {
  transform: scale(1.03);
}

.vol-tile-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 14px 14px;
  background: linear-gradient(transparent, rgba(255,255,255,0.92));
  display: flex; flex-direction: column; gap: 3px;
}

.vol-tile.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.vol-tile.reveal-up.visible {
  opacity: 1;
  transform: none;
}

.vol-co {
  font-size: var(--medium);
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.vol-role {
  font-size: var(--label);
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.vol-tile-info p {
  font-size: var(--label);
  color: var(--dark);
  line-height: 1.4;
  margin-top: 4px;
}

/* ─── AWARDS ─── */
.scroll-awards { background: var(--black); }

.awards-sticky {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.awards-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px var(--pad);
}

.awards-counter {
  font-size: var(--label);
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 8px;
}

.awards-project {
  font-size: var(--medium);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(246,246,246,0.5);
  transition: opacity 0.3s;
}

.awards-right {
  position: relative;
  overflow: hidden;
  /* full height so overflow clips the list */
}

.awards-list-wrap {
  will-change: transform;
  transition: transform 0.25s ease;
}

.awards-list {
  list-style: none;
  padding: 0 40px 0 0;
}

.awards-list li {
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.18;
  padding: 3px 0;
  color: rgba(246,246,246,0.25);
  cursor: default;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.awards-list li.active {
  color: var(--white);
}

/* ─── CONTACT ─── */
.contact {
  background: #e8e8e8;
  padding: 80px var(--pad) 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-main { display: flex; flex-direction: column; gap: 20px; }

.contact-email {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  color: var(--dark);
  text-transform: lowercase;
}
.contact-email:hover { text-decoration: underline; }

.contact-note { font-size: 16px; color: var(--dark); }

.contact-socials { display: flex; gap: 24px; }
.contact-socials a {
  font-size: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
}
.contact-socials a:hover { text-decoration: underline; }

.contact-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.15);
}
.contact-foot span,
.contact-foot a {
  font-size: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
}
.antinomy { font-weight: 700; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .exp-grid-text { grid-template-columns: 1fr 1fr; }
  .vol-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --pad: 20px; }
  .site-header { left: 20px; right: 20px; }
  .section-nav { display: none; }
  .skills-exp-inner { grid-template-columns: 1fr; }
  .exp-panel { display: none; }
  .awards-sticky { grid-template-columns: 1fr; }
  .awards-left { padding: 40px 20px 20px; }
  .awards-right { padding: 20px; }
  .vol-grid { grid-template-columns: 1fr 1fr; }
}
