:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255,255,255,.55);
  --soft: rgba(255,255,255,.12);
}

/* ================= RESET ================= */

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ================= NAV ================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  padding: 28px 8vw;
  mix-blend-mode: difference;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 30px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 13px;
  letter-spacing: .22em;
}

/* ================= HERO ================= */

.hero {
  min-height: 100vh;
  padding: 140px 8vw 80px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
}

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

.hero-name {
  font-family: "Playfair Display", serif;
  font-size: clamp(72px, 11vw, 170px);
  font-weight: 600;
  line-height: .9;
}

.hero-name span {
  display: block;
}

.hero-role {
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: .38em;
  color: var(--muted);
}

/* ================= HERO IMAGE ================= */

.hero-image {
  position: absolute;
  right: 8vw;
  bottom: 0;
  height: 82vh;
  z-index: 1;
}

.hero-image img {
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.1);
  opacity: .9;

  mask-image: linear-gradient(to left, black 65%, transparent);
  -webkit-mask-image: linear-gradient(to left, black 65%, transparent);
}

/* ================= INTRO ================= */

.intro {
  padding: 18vh 8vw 14vh;
  max-width: 920px;
}

.intro p {
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.3;
  color: var(--muted);
}

/* ================= CONTACT ================= */

.contact {
  padding: 18vh 8vw 16vh;
}

.contact-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 96px;
  align-items: center;
}

/* LEFT */

.contact-text h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 600;
  margin-bottom: 24px;
}

.contact-text p {
  max-width: 520px;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 34px;
}

.contact-mail {
  font-size: 14px;
  letter-spacing: .14em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--soft);
  display: inline-block;
  opacity: .85;
}

.contact-mail:hover {
  opacity: 1;
}

/* RIGHT – SOCIAL ICONS */

.contact-socials {
  display: grid;
  grid-template-columns: repeat(2, 64px);
  gap: 30px;
}

.contact-socials a {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, background .3s ease;
}

.contact-socials a:hover {
  background: #fff;
  transform: translateY(-2px);
}

.contact-socials img {
  width: 22px;
  height: 22px;
  filter: invert(1);
  opacity: .75;
  transition: opacity .3s ease, filter .3s ease;
}

.contact-socials a:hover img {
  filter: invert(0);
  opacity: 1;
}

/* ================= FOOTER ================= */

.site-footer {
  text-align: center;
  padding: 6vh 8vw;
  font-size: 13px;
  color: var(--muted);
}

/* ================================================= */
/* ================= TABLET ======================== */
/* ================================================= */

@media (max-width: 1200px) {
  .hero-image {
    height: 72vh;
    right: 6vw;
  }

  .contact-inner {
    gap: 72px;
  }
}

/* ================================================= */
/* ================= MOBILE ========================= */
/* ================================================= */

@media (max-width: 900px) {

  .site-header {
    padding: 22px 6vw;
  }

  .nav-links {
    gap: 22px;
    font-size: 11px;
  }

  /* HERO */

  .hero {
    padding: 120px 6vw 60px;
  }

  .hero-image {
    position: relative;
    right: auto;
    height: 54vh;
    margin-top: 40px;
  }

  .hero-name {
    font-size: clamp(56px, 16vw, 96px);
  }

  /* INTRO */

  .intro {
    padding: 14vh 6vw;
  }

  .intro p {
    font-size: 22px;
  }

  /* CONTACT */

  .contact {
    padding: 14vh 6vw;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .contact-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-socials {
    grid-template-columns: repeat(4, 56px);
    justify-content: center;
  }

  .contact-socials a {
    width: 56px;
    height: 56px;
  }

  .contact-socials img {
    width: 20px;
    height: 20px;
  }
}


/* ========================================================== */
/* ================ABOUT PAGE========================= */

/* ========================================================== */


/* ================= SOFT EDITORIAL ACCENTS (ABOUT PAGE ONLY) ================= */

.about-accent {
  position: relative;
}

.about-accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: -40px;
  width: 120px;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255,255,255,.25),
    rgba(255,255,255,0)
  );
}

/* subtle section label */
.section-label {
  font-size: 11px;
  letter-spacing: .32em;
  color: rgba(255 255 255 / 0.76);
  margin-bottom: 22px;
}

/* ABOUT ME emphasis */
.about-me-text {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  color: rgba(255,255,255,.78);
  max-width: 920px;
}

/* soft divider (more elegant than hr) */
.soft-divider {
  width: 100%;
  height: 1px;
  margin: 72px 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,.18),
    rgba(255,255,255,0)
  );
}


/* ================= UX FRIENDLY LIST (REPLACES ABSTRACT DESIGN) ================= */

.ux-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ux-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--soft);
  transition: opacity .25s ease;
}

.ux-item:hover {
  opacity: .85;
}

.ux-item strong {
  font-size: 18px;
  align-items: center;
  font-weight: 500;
}

.ux-item span {
  display: block;
  margin-top: 6px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.ux-item em {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .08em;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .ux-item {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center; 
  }

  .ux-item em {
    font-size: 12px;
    color:#F0ECBB;
  }
}




/* ================= TECH STACK (EDITORIAL) ================= */

.tech-stack {
  padding-top: 10vh;
}

/* Right column container */
.stack-groups {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* Individual group */
.stack-group {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--soft);
}

.stack-group:last-child {
  border-bottom: none;
}

/* Group title */
.stack-group h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
}

/* Tools text */
.stack-group p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ================= TABLET ================= */

@media (max-width: 1200px) {
  .stack-groups {
    gap: 28px;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .tech-stack {
    padding-top: 8vh;
  }

  .stack-group h3 {
    font-size: 16px;
  }

  .stack-group p {
    font-size: 14px;
  }
}


/* ================= FOUNDATIONS (EDITORIAL) ================= */

.foundations {
  padding-top: 10vh;
}

/* Right column container */
.foundation-groups {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Single row */
.foundation-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--soft);
}

.foundation-item:last-child {
  border-bottom: none;
}

/* Left text */
.foundation-left strong {
  font-size: 17px;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

.foundation-left span {
  font-size: 14px;
  color: var(--muted);
}

/* Year */
.foundation-year {
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--muted);
  padding-left: 24px;
}

/* ================= TABLET ================= */

@media (max-width: 1200px) {
  .foundation-groups {
    gap: 24px;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .foundation-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .foundation-year {
    padding-left: 0;
    font-size: 12px;
  }
}

/* ================= MUSIC PLAYLIST TABLE ================= */

.playlist-table {
  display: flex;
  flex-direction: column;
}

/* ONE ROW */

.playlist-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: flex-start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--soft);
}

/* LEFT TEXT */

.playlist-info h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 14px;
}

.playlist-info p {
  max-width: 420px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* RIGHT EMBED */

.playlist-embed iframe {
  border-radius: 12px;
}

/* ================= TABLET ================= */

@media (max-width: 1200px) {
  .playlist-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .playlist-embed iframe {
    height: 510px;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .playlist-row {
    gap: 24px;
    padding-bottom: 40px;
  }

  .playlist-info h3 {
    font-size: 22px;
  }

  .playlist-info p {
    font-size: 14px;
  }

  .playlist-embed iframe {
    height: 510px;
  }
}






/* ========================================================== */
/* ================= TIMELINE PAGE ========================= */
/* ========================================================== */

/* ================= TIMELINE ================= */

.timeline-hero {
  padding-bottom: 6vh;
}

.timeline-intro {
  max-width: 520px;
  font-size: 18px;
  color: var(--muted);
  margin-top: 28px;
}

.timeline-section {
  padding: 14vh 8vw;
}

.timeline {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

/* ROW */

.timeline-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 48px;
  align-items: flex-start;
}

/* YEAR */

.timeline-year {
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--muted);
  padding-top: 6px;
}

/* CONTENT */

.timeline-content h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}

.timeline-meta {
  display: block;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 14px;
}

.timeline-content p {
  max-width: 680px;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.65;
}

/* ================= TABLET ================= */

@media (max-width: 1200px) {
  .timeline-row {
    grid-template-columns: 90px 1fr;
    gap: 36px;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .timeline {
    gap: 56px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timeline-year {
    font-size: 12px;
    letter-spacing: .18em;
  }

  .timeline-content h3 {
    font-size: 20px;
  }

  .timeline-content p {
    font-size: 14px;
  }
}


/* ================= TIMELINE CONNECTOR LINE ================= */

.timeline-row {
  position: relative;
}

/* vertical line */
.timeline-row::before {
  content: "";
  position: absolute;
  left: 58px;              /* aligns under year */
  top: 26px;               /* starts below year text */
  width: 1px;
  height: calc(100% - 26px);
  background: var(--soft);
}

/* ================= TABLET ================= */

@media (max-width: 1200px) {
  .timeline-row::before {
    left: 44px;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .timeline-row::before {
    display: none;         /* remove line for clean mobile UX */
  }
}



/* ========================================================== */
/* ================= Academic ========================= */
/* ========================================================== */


/* ================= ACADEMIC PAGE ================= */

.academic-hero {
  padding-bottom: 6vh;
}

.academic-intro {
  max-width: 520px;
  font-size: 18px;
  color: var(--muted);
  margin-top: 28px;
}

/* SECTION */

.academic-section {
  padding: 14vh 8vw;
}

.academic-inner {
  max-width: 1100px;
  margin: auto;
}

/* HEAD */

.academic-head {
  margin-bottom: 48px;
}

.academic-head h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
}

/* LIST */

.academic-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.academic-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--soft);
}

.academic-left h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}

.academic-left p {
  font-size: 14px;
  color: var(--muted);
}

.academic-right span,
.academic-right a {
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--muted);
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .academic-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .academic-right {
    text-align: left;
  }
}
