@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

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

:root {
  --bg: #f9f9f9;
  --text: #1a1a1a;
  --muted: #9da0a5;
  --accent: #9ab9c8;
  --card-bg: #ebeeef;
  --tag-bg: #ccd3dd;
}

@font-face {
  font-family: 'satoshi';
  src: url(Satoshi-Regular.woff);
}

@font-face {
  font-family: 'ppmondwest';
  src: url(PPMondwest\ Regular.woff2);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: satoshi;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 48px;
  background: rgba(236, 240, 245, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.nav-logo {
  font-family: ppmondwest;
  font-size: 18px; letter-spacing: 0.01em;
  color: var(--text); text-decoration: none;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.85rem; font-weight: 400;
  color: var(--text); text-decoration: none;
  letter-spacing: 0.03em; opacity: 0.5;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; font-weight: 500; }

/* ── CURSOR ── */
.cursor-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--text); position: fixed;
  pointer-events: none; z-index: 9999;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}
.cursor-dot.big { width: 28px; height: 28px; }

/* ── FOOTER ── */
footer {
  padding: 60px 48px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex; justify-content: space-between;
  align-items: flex-end; flex-wrap: wrap; gap: 40px;
}
.footer-headline {
  font-family: ppmondwest;     
  font-size: 48px;
  line-height: 1.1; max-width: 500px; letter-spacing: -0.02em;
}
.footer-headline em { font-style: italic; color: var(--muted); }
.footer-sig { font-size: 0.8rem; color: var(--muted); margin-top: 12px; letter-spacing: 0.04em; }
.footer-links { display: flex; flex-direction: column; gap: 12px; text-align: right; }
.footer-links a {
  font-size: 0.9rem; color: var(--text); text-decoration: none;
  letter-spacing: 0.02em; opacity: 0.6; transition: opacity 0.2s;
  display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end;
}
.footer-links a:hover { opacity: 1; }

/* ── ANIMATIONS ── */
@keyframes slideIn {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { gap: 18px; }
  footer { padding: 48px 24px; flex-direction: column; align-items: flex-start; }
  .footer-links { text-align: left; }
  .footer-links a { justify-content: flex-start; }
}
@media (max-width: 500px) {
  nav { padding: 14px 16px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.75rem; }
}


/* ════════════════════════════════════
   INDEX.HTML
════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 48px 80px;
  background-image: url('portfoliobg.png');
  background-size: 100% 110%;      /* or try: contain, 100%, auto */

}
.hero-marquee-wrap {  margin-bottom: 24px; }
.hero-name {
  font-family: ppmondwest;
  font-size: 80px;
  font-weight: normal; 
  line-height: 0.95; white-space: nowrap;
  animation: slideIn 0.9s cubic-bezier(0.16,1,0.3,1) both;
  color: rgb(91, 101, 110);
}
.hero-name em { font-style: italic; color: var(--muted); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  opacity: 0.75;
  max-width: 480px; line-height: 1.5; margin-top: 8px;
  animation: fadeUp 1s 0.3s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-scroll {
  margin-top: 64px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; letter-spacing: 0.05em; color: var(--muted);
  cursor: pointer; background: none; border: none;
  font-family: 'DM Sans', sans-serif;
  animation: fadeUp 1s 0.5s ease both;
  opacity: 0; animation-fill-mode: forwards;
}
.hero-scroll:hover { color: var(--text); }
.scroll-line { width: 40px; height: 1px; background: currentColor; transition: width 0.3s; display: inline-block; }
.hero-scroll:hover .scroll-line { width: 60px; }


/* work section */
.work-section { padding: 0 48px 80px; }
.section-label {
  font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 40px; display: block;
}

/* desktop fan stack */
.stack-wrapper { position: relative; height: 200vh; }
.stack-sticky { position: sticky; top: 10vh; }
.stack-scene {
  position: relative; height: 520px;
  display: flex; align-items: center; justify-content: center;
}
.stack-labels {
  display: flex; justify-content: center; gap: 722px;
  margin-top: 16px; opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
}
.stack-labels span {
  font-size: 1rem; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase;
}
.stack-card {
  position: absolute; width: 340px; border-radius: 20px; overflow: hidden;
  text-decoration: none; color: inherit; will-change: transform;
  transition: box-shadow 0.3s ease; cursor: pointer; background: var(--card-bg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.stack-card:hover { box-shadow: 0 28px 60px rgba(0,0,0,0.18); }
.stack-card-0 { z-index: 3; }
.stack-card-1 { z-index: 2; }
.stack-card-2 { z-index: 1; }

/* mobile/tablet grid */
.grid-cards { display: none; }
.grid-card {
  background: var(--card-bg); border-radius: 16px; overflow: hidden;
  text-decoration: none; color: inherit; display: block;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
}
.grid-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }

/* card internals */
.card-visual {
  position: relative; overflow: hidden; background: #e8e4df;
  display: flex; align-items: center; justify-content: center;
  min-height: 200px;
}
.card-visual img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  position: absolute; inset: 0;
}
.chroma-gradient {
  position: absolute; inset: 0;
  background: conic-gradient(from 0deg at 60% 50%, #f9c5d1,#f7e4c0,#c5e8c5,#c5d8f7,#e4c5f7,#f9c5d1);
  opacity: 0.55;
}
.chroma-circles { position: absolute; display: flex; gap: 14px; }
.circle-swatch { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.6); }
.conscious-bg { position: absolute; inset: 0; background: #d6d0c4; }
.conscious-pattern {
  position: absolute; inset: 0; display: grid;
  grid-template-columns: repeat(6,1fr); gap: 2px; opacity: 0.2;
}
.pattern-block { background: var(--text); }
.conscious-label {
  position: relative; font-family: 'DM Serif Display',serif;
  font-size: 1rem; font-style: italic; color: rgba(0,0,0,0.3); letter-spacing: 0.08em;
}
.rally-bg { background-image: url('portfoliobg.png');
 }


.card-content {
  padding: 28px; display: flex; flex-direction: column;
  justify-content: space-between; background: var(--card-bg);
}
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag {
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: lowercase;
  background: var(--tag-bg); color: rgb(59, 59, 59); padding: 3px 9px; border-radius: 20px;
}
.card-title {
  font-size: 1.9rem;
  font-family: ppmondwest;
  line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 8px;
}
.card-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.5; font-weight: 300; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.card-year { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); }
.card-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--accent);
  font-size: 0.9rem; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.stack-card:hover .card-arrow,
.grid-card:hover .card-arrow { background: var(--text); color: var(--bg); border-color: var(--text); }

@media (max-width: 1024px) {
  .stack-wrapper { display: none !important; }
  .grid-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
  .work-section { padding: 0 24px 60px; }
}
@media (max-width: 600px) {
  .grid-cards { grid-template-columns: 1fr; gap: 14px; }
  .work-section { padding: 0 16px 48px; }
  .hero { padding: 90px 20px 48px; }
  .hero-name { white-space: normal; }
}


/* ════════════════════════════════════
   BSIDES.HTML
════════════════════════════════════ */

.bsides-page { padding-top: 80px; }
.bsides-header { text-align: center; padding: 60px 48px 40px; }
.bsides-header h1 {
  font-size: clamp(2.5rem,6vw,5rem);
  letter-spacing: -0.02em; line-height: 1;
  animation: slideIn 0.8s cubic-bezier(0.16,1,0.3,1) both;
  font-family: ppmondwest;
}
.bsides-header p {
  font-size: 1rem; color: var(--muted); margin-top: 12px;
  font-weight: 300; font-style: italic;
  animation: fadeUp 0.8s 0.2s ease both;
}
.masonry {
  width: 88%; margin: 0 auto; padding: 20px 0 80px;
  columns: 3; column-gap: 16px;
}
.masonry-item { break-inside: avoid; margin-bottom: 16px; border-radius: 12px; overflow: hidden; display: block; }
.masonry-item img {
  width: 100%; display: block; border-radius: 12px;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), filter 0.3s;
  filter: saturate(0.9);
}
.masonry-item:hover img { transform: scale(1.02); filter: saturate(1.1); }
.masonry-video { break-inside: avoid; margin-bottom: 16px; border-radius: 12px; overflow: hidden; }
.masonry-video video { width: 100%; display: block; border-radius: 12px; }

@media (max-width: 768px) { .masonry { columns: 2; width: 94%; } }
@media (max-width: 500px) { .masonry { columns: 1; width: 92%; } }


/* ════════════════════════════════════
   ABOUT.HTML
════════════════════════════════════ */

.about-page { padding-top: 80px; }
.about-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 85vh; align-items: stretch;
}
.about-hero-left {
  padding: 80px 56px; display: flex; flex-direction: column; justify-content: center;
}
.about-greeting {
  font-size: clamp(0.85rem,1.5vw,1rem);
  color: var(--muted); letter-spacing: 0.06em; margin-bottom: 16px; font-style: italic;
  animation: fadeUp 0.7s 0.1s ease both;
}
.about-name {
  font-family: ppmondwest; font-size: clamp(2.5rem,5vw,4.2rem);
  line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 28px;
  animation: slideIn 0.8s cubic-bezier(0.16,1,0.3,1) both;
}
.about-name em { font-style: italic; color: var(--muted); }
.about-bio {
  font-size: 1rem; line-height: 1.75; color: var(--text);
  font-weight: 300; max-width: 440px;
  animation: fadeUp 0.8s 0.3s ease both;
}
.about-bio p + p { margin-top: 14px; }
.about-hero-right {
  background: var(--card-bg); position: relative; overflow: hidden;
  display: flex; align-items: stretch; min-height: 500px;
}
.about-hero-right img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.about-experience {
  padding: 80px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
.exp-section h3 {
  font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 32px;
  font-family: satoshi;
}
.exp-item {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  border-left: 2px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
.exp-item--hovered {
  background: rgba(154,185,200,0.09);
  border-left-color: var(--accent);
}
.exp-org { font-family: ppmondwest,serif; font-size: 28px; letter-spacing: -0.01em; margin-bottom: 5px; }
.exp-role { font-size: 18px; color: var(--muted); font-weight: 300; line-height: 1.5; }
.exp-year { font-size: 14px; color: rgb(139, 173, 197); letter-spacing: 0.06em; margin-top: 3px; }
.exp-sub { margin-top: 10px; }
.exp-divider { width: 100%; height: 1px; background: rgba(0,0,0,0.07); margin: 20px 0; }

.snapshots-label {
  display: block; padding: 0 56px;
  font-size: 1rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 24px;
}
.photo-strip {
  display: flex; gap: 12px; padding: 0 56px 80px; overflow-x: auto; scrollbar-width: none;
}
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip img {
  flex-shrink: 0; width: 200px; height: 280px; object-fit: cover;
  border-radius: 12px; filter: saturate(0.85); transition: filter 0.3s, transform 0.3s;
}
.photo-strip img:hover { filter: saturate(1.1); transform: scale(1.02); }

@media (max-width: 900px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-hero-right { min-height: 340px; }
  .about-experience { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
  .about-hero-left { padding: 60px 24px 40px; }
  .snapshots-label { padding: 0 24px; }
  .photo-strip { padding: 0 24px 60px; }
}


/* ════════════════════════════════════
   CASE STUDY PAGES (rally, conscious, chroma)
════════════════════════════════════ */

.case-page { padding-top: 80px; }

.case-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; letter-spacing: 0.04em; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
  padding: 48px 72px 0;
}
.case-back:hover { color: var(--text); }

/* Hero */
.case-hero {
  min-height: 58vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 80px 72px 56px;
  position: relative; overflow: hidden;
}
.case-hero-bg { position: absolute; inset: 0; }
.case-hero-content { position: relative; z-index: 2; }
.case-title {
  font-family: ppmondwest;
  font-weight: normal;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: 0.93; letter-spacing: -0.03em;
  animation: slideIn 0.9s cubic-bezier(0.16,1,0.3,1) both;
}
.case-title--light { color: #fff; }
.case-meta {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
  animation: fadeUp 0.8s 0.3s ease both;
}
.case-meta-chip {
  padding: 7px 18px; border-radius: 30px;
  font-size: 0.76rem; letter-spacing: 0.05em;
}
.case-meta-chip--light {
  font-family: satoshi;
  padding: 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.85);
}
.case-meta-chip--dark {
  font-family: satoshi;
  padding: 18px;
  background: rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.13);
  color: var(--text);
}
.case-meta-chip--pastel {
  font-family: satoshi;
  padding: 18px;
  background: rgba(249, 249, 249, 0.55);
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--text);
 
}
.chip-label {
  display: block; font-size: 1rem; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: 0.55; margin-bottom: 1px;
}

/* Intro */
.case-intro {
  padding: 80px 72px; max-width: 900px;
}
.case-section-label {
  font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px; display: block;
}
.case-intro-text {
  font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.65;
  font-weight: 300; color: var(--text);
}
.case-intro-text strong { font-weight: 500; }

/* Sections */
.case-section { padding: 72px 72px; }
.case-section-alt { background: var(--card-bg); }
.case-section-inner { max-width: 1100px; margin: 0 auto; }
.case-section-title {
  font-family: ppmondwest;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 28px;
}
.case-section-title em { font-style: italic; color: var(--muted); }
.case-body {
  font-size: 0.95rem; line-height: 1.75; font-weight: 300;
  color: var(--text); max-width: 640px;
}
.case-body + .case-body { margin-top: 14px; }

/* Stats row */
.case-stat-row { display: flex; gap: 56px; margin: 48px 0; flex-wrap: wrap; }
.case-stat-num {
  font-family: ppmondwest;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1; letter-spacing: -0.03em; margin-bottom: 8px;
}
.case-stat-label {
  font-size: 1rem; color: var(--muted); line-height: 1.45; font-weight: 300; max-width: 140px;
}

/* Two + three column grids */
.case-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.case-three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px; }

/* Numbered insights */
.case-insight { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 36px; }
.case-insight-num {
  font-family: ppmondwest; font-size: 1rem; color: var(--muted);
  min-width: 32px; padding-top: 3px; opacity: 0.6;
}
.case-insight-title { font-size: 0.98rem; font-weight: 500; margin-bottom: 5px; }
.case-insight-text { font-size: 0.88rem; color: var(--muted); line-height: 1.65; font-weight: 300; }

/* Cards */
.case-card {
  background: var(--bg); border-radius: 16px; padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.case-card--dark {
  background: #8d8a7d; color: #fff;
}
.case-card-eyebrow {
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px; display: block;
}
.case-card--dark .case-card-eyebrow { color: rgba(255,255,255,0.4); }
.case-card-title { font-family: ppmondwest; font-size: 1.25rem; margin-bottom: 12px; letter-spacing: -0.01em; }
.case-card-text { font-size: 0.88rem; color: var(--muted); line-height: 1.7; font-weight: 300; }
.case-card--dark .case-card-text { color: rgba(255,255,255,0.5); }

/* Funnel */
.case-funnel { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 32px 0; }
.case-funnel-step {
  background: var(--tag-bg); padding: 9px 18px; border-radius: 30px;
  font-size: 0.76rem; letter-spacing: 0.04em;
}
.case-funnel-arrow { color: var(--muted); margin: 0 2px; font-size: 0.85rem; }

/* HMW / quote block */
.case-hmw {
  border-left: 3px solid var(--accent);
  padding: 22px 30px; border-radius: 0 12px 12px 0;
  margin: 40px 0; font-size: 1.05rem; line-height: 1.65;
  font-style: italic; color: var(--text); background: rgba(154,185,200,0.1);
}

/* Score progression */
.case-score-row { display: flex; gap: 0; margin: 32px 0; }
.case-score-step {
  flex: 1; padding: 20px 24px; border-radius: 12px;
  background: var(--bg); text-align: center; position: relative;
}
.case-score-step + .case-score-step::before {
  content: '→'; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 0.9rem;
}
.case-score-num { font-family: ppmondwest; font-size: 1.8rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.case-score-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }

/* Color swatches (chroma) */
.case-swatch-row { display: flex; gap: 14px; margin: 32px 0; flex-wrap: wrap; }
.case-swatch { width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.6); }

/* Chroma photo grid */
.chroma-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.chroma-photos img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
  .case-back { padding: 40px 32px 0; }
  .case-hero { padding: 80px 32px 48px; }
  .case-intro { padding: 56px 32px; }
  .case-section { padding: 56px 32px; }
  .case-two-col { grid-template-columns: 1fr; gap: 36px; }
  .case-three-col { grid-template-columns: 1fr; gap: 20px; }
  .case-stat-row { gap: 40px; }
}
@media (max-width: 600px) {
  .case-back { padding: 32px 20px 0; }
  .case-hero { padding: 80px 20px 40px; min-height: 45vh; }
  .case-intro { padding: 44px 20px; }
  .case-section { padding: 44px 20px; }
  .case-score-row { flex-direction: column; gap: 8px; }
  .case-score-step + .case-score-step::before { content: '↓'; left: 50%; top: -14px; transform: translateX(-50%); }
  .chroma-photos { grid-template-columns: 1fr; }
}

