/* ================================================
   NICOLAS BEKKA — PORTFOLIO
   A bold, editorial design inspired by 
   CHD Art Maker, BDSN, Paper Tiger
   ================================================ */

/* ------------------------------------------------
   CSS RESET & BASE
   ------------------------------------------------ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Brush Font */
@font-face {
  font-family: 'Brave Gates';
  src: url('../fonts/grindy-brush/Brave Gates.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.brush-font {
  font-family: 'Brave Gates', cursive;
  font-weight: normal;
  text-transform: none;
}

/* Brush font in bigtext - larger, expressive */
.bigtext-line.brush-font {
  font-size: clamp(4rem, 12vw, 14rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

/* Brush font in statement - inline emphasis */
.statement-text .brush-font {
  font-size: 1.15em;
  font-style: normal;
}

/* Brush font in footer */
.footer-note.brush-font {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0a;
  color: #fafafa;
  line-height: 1.7;
  font-size: 1.02rem;
  overflow-x: hidden;
  cursor: none;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

::selection {
  background: #fafafa;
  color: #0a0a0a;
}

/* ------------------------------------------------
   CUSTOM CURSOR
   ------------------------------------------------ */
.cursor {
  width: 12px;
  height: 12px;
  background: #fafafa;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(250, 250, 250, 0.3);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

body:hover .cursor-follower {
  opacity: 1;
}

a:hover ~ .cursor,
button:hover ~ .cursor {
  transform: scale(2);
}

/* ------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------ */
.display-font {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.85;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
}

em {
  font-style: italic;
  color: #d4d4d4;
}

strong {
  font-weight: 600;
  color: #ffffff;
}

/* ------------------------------------------------
   NAVIGATION
   ------------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
  mix-blend-mode: difference;
  pointer-events: none;
  isolation: isolate;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1800px;
  margin: 0 auto;
  pointer-events: auto;
}

.nav-inner * {
  pointer-events: auto;
}

.nav-logo {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: #fafafa;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.6;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fafafa;
  position: relative;
  padding: 0.5rem 0;
  transition: opacity 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #fafafa;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  opacity: 0.6;
}

.nav-cta {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fafafa;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(250, 250, 250, 0.3);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: #fafafa;
  color: #0a0a0a;
}

/* Hamburger Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.nav-toggle-line {
  width: 100%;
  height: 2px;
  background: #fafafa;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-inner {
    gap: 2rem;
  }
  
  .nav-logo {
    margin-right: auto;
  }
  
  .nav-toggle {
    display: flex;
    margin-left: 1.5rem;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #0a0a0a;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
  }
  
  .nav-links.is-open {
    right: 0;
  }
  
  .nav-link {
    width: 100%;
    padding: 1.25rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(250, 250, 250, 0.1);
    transition: all 0.3s ease;
  }
  
  .nav-link:hover {
    padding-left: 1rem;
    border-bottom-color: rgba(250, 250, 250, 0.3);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav {
    padding: 1rem 1.5rem;
    mix-blend-mode: normal;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
  }
  
  .nav-cta {
    font-size: 0.65rem;
    padding: 0.5rem 1rem;
    margin-left: auto;
    margin-right: 1rem;
  }
  
  /* Overlay when menu is open */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .nav-overlay.is-open {
    display: block;
    opacity: 1;
  }
}

/* ------------------------------------------------
   HERO SECTION
   ------------------------------------------------ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}


.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: grayscale(100%) contrast(1.1);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4rem;
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}


.hero-title-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(220px, 0.8fr) minmax(300px, 1fr);
  align-items: start;
  column-gap: 2.25rem;
  row-gap: 2.5rem;
  margin-bottom: 3.5rem;
  margin-top: 2rem;
}

.hero-title {
  flex-shrink: 0;
}

.hero-title-line {
  display: block;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(3.5rem, 14vw, 16rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fafafa;
  opacity: 0;
  transform: translateY(100px);
  animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title-line:nth-child(2) {
  animation-delay: 0.15s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 250, 250, 0.1);
}

.hero-meta-left,
.hero-meta-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-label {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: rgba(250, 250, 250, 0.6);
}

.hero-location,
.hero-year {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.4);
  text-align: right;
}

/* Hero Portrait */
.hero-portrait {
  flex-shrink: 0;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(100px);
  animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  justify-self: center;
}

.portrait-frame {
  display: block;
}

.portrait-img {
  height: auto;
  width: auto;
  max-height: clamp(320px, 35vw, 500px);
  display: block;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.1);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-frame:hover .portrait-img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.02);
}

.hero-about {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 420px;
  justify-self: start;
  position: relative;
  padding-top: 1.5rem;
}

.hero-about-kicker {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.5);
  position: relative;
  z-index: 1;
  padding: 0.2rem 0.5rem;
  width: fit-content;
}

.hero-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: -0.5rem;
  width: 330px;
  height: 180px;
  background: url('../img/spray_paint_imgs/Spray-Paint-PNG-Image.png') center/contain no-repeat;
  filter: brightness(0) saturate(100%) invert(32%) sepia(96%) saturate(3067%) hue-rotate(320deg) brightness(93%) contrast(96%);
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.hero-about-text {
  font-size: 1.2rem;
  line-height: 1.85;
  color: rgba(250, 250, 250, 0.88);
}

.hero-about-lead {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.hero-about-highlight {
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: #ffffff;
  padding: 0.1rem 0.6rem 0.15rem;
  z-index: 1;
}

.hero-about-highlight::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 90px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  background: url('../img/spray_paint_imgs/Spray-Paint-PNG-HD-Image.png') center/contain no-repeat;
  filter: brightness(0) saturate(100%) invert(70%) sepia(80%) saturate(500%) hue-rotate(5deg) brightness(50%) contrast(100%);
  opacity: 0.4;
  z-index: -1;
}

.hero-about-note {
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: rgba(250, 250, 250, 0.65);
}

@media (max-width: 900px) {
  .hero-title-row {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    justify-items: start;
    gap: 1.5rem 2rem;
  }
  
  .hero-title {
    grid-column: 1;
    grid-row: 1;
  }
  
  .hero-portrait {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }
  
  .hero-about {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 100%;
    justify-self: start;
  }
  
  .portrait-img {
    max-height: 280px;
  }
}

@media (max-width: 640px) {
  .portrait-img {
    max-height: 280px;
  }

  .hero-title-line {
    font-size: clamp(3rem, 16vw, 9rem);
  }
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 1;
}

.hero-scroll span {
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.4);
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(250, 250, 250, 0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ------------------------------------------------
   STATEMENT SECTION
   ------------------------------------------------ */
.statement {
  padding: 15vh 2rem;
  background: #0a0a0a;
}

.statement-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.statement-text {
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 1.4;
  color: rgba(250, 250, 250, 0.8);
  font-weight: 300;
}

.statement-text em {
  font-style: italic;
  color: #fafafa;
}

.statement-text strong {
  font-weight: 500;
  color: #fafafa;
  position: relative;
}

.statement-note {
  display: inline-flex;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.75);
  border: 1px solid rgba(250, 250, 250, 0.2);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
}

/* ------------------------------------------------
   BIG TEXT SECTION
   ------------------------------------------------ */
.bigtext {
  padding: 15vh 2rem;
  background: #fafafa;
  color: #0a0a0a;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.bigtext-inner {
  max-width: 1800px;
  margin: 0 auto;
}

.bigtext-title {
  margin-bottom: 2rem;
}

.bigtext-title-wrap {
  position: relative;
  z-index: 1;
}

.bigtext-line {
  display: block;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(3rem, 15vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.bigtext-line.accent {
  color: transparent;
  -webkit-text-stroke: 2px #0a0a0a;
}

/* Brush font overrides the outline style */
.bigtext-title .bigtext-line.brush-font {
  font-family: 'Brave Gates', cursive !important;
  color: #C2185B !important;
  -webkit-text-stroke: 0 !important;
  font-size: clamp(3.5rem, 10vw, 11rem);
  letter-spacing: 0.01em;
}

.bigtext-sub {
  font-size: 1.25rem;
  color: rgba(10, 10, 10, 0.5);
  margin-top: 3rem;
  font-style: italic;
}

.bigtext-divider {
  margin-top: 2.5rem;
  width: min(70%, 800px);
  height: 2px;
  background: rgba(10, 10, 10, 0.35);
}


/* ------------------------------------------------
   RESEARCH SECTION
   ------------------------------------------------ */
.research {
  padding: 15vh 2rem;
  background: #0a0a0a;
}

.research-header,
.skills-header,
.publications-header,
.teaching-header {
  max-width: 1800px;
  margin: 0 auto 6rem;
  display: flex;
  align-items: baseline;
  gap: 2rem;
}

.section-number {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: rgba(250, 250, 250, 0.3);
}

.section-title-wrap {
  position: relative;
  display: inline-block;
}

.section-spray {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: auto;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.section-spray.spray-pink {
  filter: brightness(0) saturate(100%) invert(18%) sepia(90%) saturate(4000%) hue-rotate(320deg) brightness(90%) contrast(100%);
}

.section-spray.spray-yellow {
  filter: brightness(0) saturate(100%) invert(70%) sepia(80%) saturate(500%) hue-rotate(5deg) brightness(100%) contrast(100%);
}

.section-title {
  position: relative;
  z-index: 1;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(2rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.research-grid {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .research-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 1200px) {
  .publications-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .publications-columns {
    grid-template-columns: 1fr;
  }
}

.research-item {
  padding: 3rem;
  background: rgba(250, 250, 250, 0.02);
  border: 1px solid rgba(250, 250, 250, 0.05);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.research-item:hover {
  background: rgba(250, 250, 250, 0.04);
  border-color: rgba(250, 250, 250, 0.1);
  transform: translateY(-4px);
}

.research-index {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 4rem;
  color: rgba(250, 250, 250, 0.1);
  line-height: 1;
  margin-bottom: 2rem;
  display: block;
}

.research-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.research-desc {
  font-size: 1rem;
  color: rgba(250, 250, 250, 0.72);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.research-figures {
  display: grid;
  gap: 0.75rem;
}

.research-figures.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.research-figures img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.research-figures.two-up img {
  max-height: 180px;
  object-fit: contain;
}

.research-figures:not(.two-up) img {
  max-height: 240px;
  object-fit: contain;
}

.research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.research-tags span {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  background: rgba(250, 250, 250, 0.05);
  border-radius: 2px;
  color: rgba(250, 250, 250, 0.5);
}

/* ------------------------------------------------
   PHOTO STRIP
   ------------------------------------------------ */
.photostrip {
  padding: 0;
  background: #0a0a0a;
  overflow: hidden;
  position: relative;
}

.photostrip-inner {
  display: flex;
  gap: 1rem;
  animation: scrollX 8s linear infinite;
  align-items: center;
}

@keyframes scrollX {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.photostrip-item {
  flex: 0 0 auto;
  width: 460px;
  height: 620px;
  overflow: hidden;
}

.photostrip-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  background: transparent;
}

.photostrip-item:hover img {
  transform: scale(1.02);
}

.photostrip-caption {
  padding: 1.5rem 2rem;
  text-align: center;
}

.caption-ethics {
  font-size: 0.75rem;
  color: rgba(250, 250, 250, 0.3);
  letter-spacing: 0.05em;
}

/* ------------------------------------------------
   SKILLS SECTION
   ------------------------------------------------ */
.skills {
  padding: 16vh 2rem;
  background: #111111;
  position: relative;
  overflow: hidden;
}

.skills-columns {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6.5rem;
}

@media (max-width: 768px) {
  .skills-columns {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.skills-col-title {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fafafa;
  margin-bottom: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.skills-col-title::after {
  content: '';
  display: inline-block;
  height: 3px;
  width: 80px;
  background: #fafafa;
  opacity: 0.8;
}

.skills-list li {
  font-size: 1.05rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid rgba(250, 250, 250, 0.08);
  color: rgba(250, 250, 250, 0.82);
  transition: all 0.3s ease;
  line-height: 1.85;
}

.skills-list li:hover {
  color: #fafafa;
  padding-left: 0.75rem;
}

.skill-label {
  display: block;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #fafafa;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.spray-skills-left {
  top: 10%;
  left: -10%;
  width: 45%;
  max-width: 620px;
  opacity: 0.2;
  filter: brightness(0) saturate(100%) invert(18%) sepia(90%) saturate(4000%) hue-rotate(320deg) brightness(90%) contrast(100%);
  mix-blend-mode: screen;
}

.spray-skills-right {
  bottom: 8%;
  right: -12%;
  width: 48%;
  max-width: 680px;
  opacity: 0.18;
  transform: rotate(6deg);
  filter: brightness(0) saturate(100%) invert(70%) sepia(80%) saturate(500%) hue-rotate(5deg) brightness(100%) contrast(100%);
  mix-blend-mode: screen;
}

/* ------------------------------------------------
   PUBLICATIONS SECTION
   ------------------------------------------------ */
.publications {
  padding: 15vh 2rem;
  background: #0a0a0a;
}

.publications-columns {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.publications-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.publications-column-title {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.6);
}

.publications-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pub-item {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(250, 250, 250, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(250, 250, 250, 0.02);
}

.pub-item:hover {
  background: rgba(250, 250, 250, 0.04);
  border-color: rgba(250, 250, 250, 0.2);
  transform: translateY(-2px);
}

.pub-status {
  display: inline-block;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  margin-bottom: 1rem;
  border-radius: 2px;
}

.pub-status.published {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.pub-status.submitted {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.pub-status.prep {
  background: rgba(250, 250, 250, 0.1);
  color: rgba(250, 250, 250, 0.5);
}

.pub-title {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.pub-authors {
  font-size: 0.95rem;
  color: rgba(250, 250, 250, 0.65);
  margin-bottom: 1rem;
}

.pub-abstract {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(250, 250, 250, 0.82);
  max-width: 900px;
}

.pub-abstract-toggle {
  margin-top: 1rem;
}

.pub-abstract-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.12);
  color: rgba(250, 250, 250, 0.85);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pub-abstract-summary:hover {
  background: rgba(250, 250, 250, 0.2);
  color: #ffffff;
}

.pub-abstract-summary::marker {
  content: '';
}

.pub-abstract-summary .summary-open {
  display: none;
}

.pub-abstract-toggle[open] .summary-closed {
  display: none;
}

.pub-abstract-toggle[open] .summary-open {
  display: inline;
}

.pub-abstract-toggle[open] .pub-abstract-summary {
  background: rgba(250, 250, 250, 0.2);
}

.pub-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.pub-journal {
  font-size: 0.8125rem;
  font-style: italic;
  color: rgba(250, 250, 250, 0.6);
}

.pub-link {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fafafa;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(250, 250, 250, 0.2);
  transition: all 0.3s ease;
}

.pub-link:hover {
  background: #fafafa;
  color: #0a0a0a;
}

.pub-subtitle {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fafafa;
  margin: 3rem auto 1.5rem;
  max-width: 1200px;
}

/* ------------------------------------------------
   CONFERENCES SECTION
   ------------------------------------------------ */
.conferences {
  padding: 12vh 2rem;
  background: #111111;
}

.conferences-header {
  max-width: 1800px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: baseline;
  gap: 2rem;
}

.conferences-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
}

@media (max-width: 900px) {
  .conferences-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.conferences-subtitle {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.4);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(250, 250, 250, 0.1);
}

.conf-item {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(250, 250, 250, 0.06);
  transition: all 0.3s ease;
}

.conf-item:hover {
  background: rgba(250, 250, 250, 0.02);
  border-color: rgba(250, 250, 250, 0.12);
}

.conf-date {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.35);
  margin-bottom: 0.5rem;
}

.conf-title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: #fafafa;
}

.conf-venue {
  font-size: 0.8125rem;
  color: rgba(250, 250, 250, 0.6);
  font-style: italic;
}

.conf-size {
  font-size: 0.6875rem;
  color: rgba(250, 250, 250, 0.3);
  margin-top: 0.25rem;
}

/* Poster styles */
.poster-item {
  padding: 1.25rem 0;
}

.poster-link {
  display: block;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(250, 250, 250, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 280px;
}

.poster-link:hover {
  border-color: rgba(250, 250, 250, 0.3);
  transform: translateY(-4px);
}

.poster-preview {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  display: block;
  filter: brightness(0.95);
  transition: filter 0.4s ease;
}

.poster-link:hover .poster-preview {
  filter: brightness(1);
}

.poster-cta {
  display: block;
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fafafa;
  background: rgba(10, 10, 10, 0.8);
  transition: background 0.3s ease;
}

.poster-link:hover .poster-cta {
  background: rgba(10, 10, 10, 0.95);
}

/* ------------------------------------------------
   MARQUEE
   ------------------------------------------------ */
.marquee {
  padding: 3rem 0;
  background: #fafafa;
  overflow: hidden;
}

.marquee-inner {
  display: flex;
}

.marquee-content {
  display: flex;
  gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-content span {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a0a0a;
}

/* ------------------------------------------------
   TEACHING SECTION
   ------------------------------------------------ */
.teaching {
  padding: 15vh 2rem;
  background: #0a0a0a;
}

.teaching-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6rem;
}

@media (max-width: 768px) {
  .teaching-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.teaching-role {
  padding: 3rem;
  background: rgba(250, 250, 250, 0.02);
  border: 1px solid rgba(250, 250, 250, 0.05);
}

.teaching-role-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.teaching-role-place {
  font-size: 0.875rem;
  color: rgba(250, 250, 250, 0.4);
  margin-bottom: 2rem;
}

.teaching-list li {
  font-size: 0.9375rem;
  color: rgba(250, 250, 250, 0.6);
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.teaching-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: rgba(250, 250, 250, 0.3);
}

/* ------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------ */
.contact {
  padding: 20vh 2rem;
  background: #fafafa;
  color: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.contact-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding-left: 38%;
  position: relative;
  z-index: 2;
}

.contact-title {
  margin-bottom: 6rem;
}

.contact-title-line {
  display: block;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(3rem, 12vw, 12rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.4);
}

.contact-value {
  font-size: 1.25rem;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

a.contact-value:hover {
  opacity: 0.6;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-social {
  font-size: 1.125rem;
  font-weight: 500;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.contact-social:hover {
  padding-left: 1rem;
  border-color: #0a0a0a;
}

/* ------------------------------------------------
   SPRAY PAINT TEXTURES
   ------------------------------------------------ */
.spray-texture {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

/* Hero - dark background, white spray */
.spray-hero {
  top: 12%;
  left: -8%;
  width: 50%;
  max-width: 650px;
  transform: rotate(-8deg);
  opacity: 0.08;
  filter: invert(1);
  mix-blend-mode: screen;
}

/* Bigtext - light background, dark spray */
.spray-bigtext {
  bottom: 5%;
  right: -8%;
  width: 55%;
  max-width: 750px;
  transform: rotate(5deg) scaleX(-1);
  opacity: 0.04;
  filter: none;
  mix-blend-mode: multiply;
}

.spray-cross-right {
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%) rotate(-10deg);
  width: 45%;
  max-width: 600px;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  filter: brightness(0) saturate(100%) invert(18%) sepia(90%) saturate(5000%) hue-rotate(320deg) brightness(70%) contrast(120%);
}

.spray-cross-left {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%) rotate(15deg) scaleX(-1);
  width: 30%;
  max-width: 400px;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0) saturate(100%) invert(67%) sepia(89%) saturate(500%) hue-rotate(5deg) brightness(103%) contrast(104%);
}

/* Contact - light background, dark spray */
.spray-contact {
  top: 15%;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 65%;
  max-width: 900px;
  opacity: 0.05;
  filter: none;
  mix-blend-mode: multiply;
}


/* Hide on smaller screens for performance */
@media (max-width: 768px) {
  .spray-texture {
    display: none;
  }
}

/* ------------------------------------------------
   FOOTER
   ------------------------------------------------ */
.footer {
  padding: 2rem;
  background: #0a0a0a;
}

.footer-inner {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy,
.footer-note {
  font-size: 0.75rem;
  color: rgba(250, 250, 250, 0.4);
  letter-spacing: 0.05em;
}

/* ------------------------------------------------
   SCROLL REVEAL ANIMATIONS
   ------------------------------------------------ */
[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.research-item:nth-child(2) { transition-delay: 0.1s; }
.research-item:nth-child(3) { transition-delay: 0.2s; }

.pub-item:nth-child(2) { transition-delay: 0.1s; }
.pub-item:nth-child(3) { transition-delay: 0.2s; }
.pub-item:nth-child(4) { transition-delay: 0.3s; }

/* ------------------------------------------------
   RESPONSIVE ADJUSTMENTS
   ------------------------------------------------ */
@media (max-width: 768px) {
  .cursor,
  .cursor-follower {
    display: none;
  }
  
  body {
    cursor: auto;
  }
  
  .hero-content {
    padding: 0 1.5rem;
  }
  
  .hero-title-row {
    grid-template-columns: 1fr auto;
    gap: 1rem 1.5rem;
  }
  
  .hero-title {
    grid-column: 1;
    grid-row: 1;
  }
  
  .hero-portrait {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  
  .hero-about {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 0;
    padding-top: 1rem;
  }
  
  .hero-about::before {
    width: 200px;
    height: 110px;
    top: -0.5rem;
    left: -0.25rem;
    opacity: 0.25;
  }
  
  .portrait-img {
    max-height: 220px;
  }
  
  .hero-about-lead {
    font-size: 1.1rem;
  }
  
  .hero-about-text {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .section-title {
    font-size: clamp(1.5rem, 8vw, 3rem);
  }
  
  .publications-columns {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  
  .publications-column-title {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .hero-meta-right {
    text-align: left;
  }
  
  .bigtext-line {
    font-size: clamp(2.5rem, 14vw, 8rem);
  }
  
  .bigtext-line.accent {
    -webkit-text-stroke-width: 1px;
  }
  
  .research-item {
    padding: 2rem 1.5rem;
  }
  
  .skills-columns {
    gap: 3rem;
  }
  
  .skills-list li {
    padding: 1.2rem 0;
    font-size: 0.95rem;
  }
  
  .skill-label {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }
  
  .pub-item {
    padding: 2rem 1.25rem;
  }
  
  .pub-title {
    font-size: 1.1rem;
  }
  
  .publications-column-title {
    font-size: 0.7rem;
  }
  
  .photostrip-item {
    width: 280px;
    height: 420px;
  }
  
  .contact-title {
    font-size: clamp(2.5rem, 12vw, 6rem);
  }
  
  .contact-inner {
    padding: 8vh 1.5rem;
    padding-left: 1.5rem;
  }
  
  .spray-cross-left {
    z-index: -1;
    opacity: 0.5;
  }
  
  .teaching-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .conf-item {
    padding: 1rem 0.75rem;
  }
  
  .spray-cross-right,
  .spray-cross-left {
    width: 180px;
    height: auto;
  }
  
  .spray-texture {
    opacity: 0.15;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-title-line {
    font-size: clamp(2.5rem, 18vw, 6rem);
  }
  
  .portrait-img {
    max-height: 240px;
  }
  
  .hero-about-lead {
    font-size: 1.1rem;
  }
  
  .hero-about-text {
    font-size: 1rem;
  }
  
  .bigtext-line {
    font-size: clamp(2rem, 16vw, 5rem);
  }
  
  .research-item {
    padding: 1.5rem 1rem;
  }
  
  .research-index {
    font-size: 3rem;
  }
  
  .pub-item {
    padding: 1.5rem 1rem;
  }
  
  .pub-title {
    font-size: 1rem;
  }
  
  .photostrip-item {
    width: 220px;
    height: 330px;
  }
  
  .footer {
    padding: 2rem 1rem;
  }
}

/* ------------------------------------------------
   LOADING STATE
   ------------------------------------------------ */
.is-loading {
  overflow: hidden;
}

.is-loading .hero-title-line {
  animation: none;
  opacity: 0;
}
