@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100;0,9..144,300;0,9..144,400;1,9..144,600;1,9..144,700&display=swap');

@font-face {
  font-family: 'Computer Says No';
  src: url('fonts/computer-says-no.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 4px; text-decoration-thickness: 2px; color: inherit; }
ul { list-style: none; }
li { position: relative; padding-left: 1.4em; }
li::before { content: '✦'; position: absolute; left: 0; top: 0.1em; }

/* ─── Typography tokens ─── */
:root {
  --serif: 'Fraunces', Georgia, serif;
  --mono: 'Computer Says No', 'Courier New', monospace;
  --body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --dark: #392e3d;
  --cream: #fef6f1;
  --hero-bg: #fef6f1;
  --plum: #392e3d;
  --pink: #f1a5c3;
  --grid-light: rgba(167, 185, 231, 0.2);
  --grid-dark: rgba(167, 185, 231, 0.2);
}

body {
  font-family: var(--body);
  color: var(--dark);
  overflow-x: hidden;
  background-color: var(--cream);
  background-image:
    linear-gradient(var(--grid-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-light) 1px, transparent 1px);
  background-size: 60px 60px;
}

section {
  position: relative;
  padding: 32px;
}

/* ─── Shared heading style ─── */
.section-heading {
  display: flex;
  flex-direction: column;
  line-height: 0.7;
  font-family: var(--serif);
  font-size: 10vw;
  color: var(--dark);
}
.section-heading.right    { align-items: flex-end; text-align: right; }
.section-heading.centered { align-items: center; text-align: center; }

.heading-thin {
  font-weight: 300;
  font-style: normal;
  letter-spacing: -0.05em;
}
.heading-bold {
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.05em;
}

/* ─── Shared mono body text ─── */
.hero-bio,
.about-text p,
.fixations-list li,
.projects-tagline {
  font-family: var(--mono);
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1;
}


/* ─── Stickers ─── */
.sticker {
  position: absolute;
  pointer-events: all;
  user-select: none;
  cursor: grab;
}



/* ─── SECTION 1: HERO ─── */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 32px;
}

.hero-bottom {
  padding: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

/* hero heading uses .section-heading — only layout overrides needed */
.hero-heading {
  flex-shrink: 0;
}
.hero-heading .heading-bold { margin-left: 0.2em; }

.hero-bio {
  width: 33%;
  color: var(--dark);
  flex-shrink: 0;
}

/* Mobile marquee carousel — hidden on desktop */
.sticker-carousel {
  display: none;
  overflow: hidden;
  width: 100%;
  padding: 16px 0 120px;
  flex-direction: column;
  gap: 36px;
}
.sticker-carousel-row {
  display: flex;
  gap: 24px;
  width: max-content;
  align-items: center;
}
.sticker-carousel-row img {
  height: 100px;
  width: auto;
  flex-shrink: 0;
}
.row-1 { animation: marquee-left  38s linear infinite; }
.row-2 { animation: marquee-right 44s linear infinite; }

@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Hero sticker positions — spread across full hero */
.hero-s { position: absolute; }

/* Row 1 — top strip (shell drops to mid-left) */
.hero-s-shell     { width: clamp(80px,  8vw, 125px); top: 17%; left:  2%; }
.hero-s-smiley    { width: clamp(75px,  8vw, 115px); top:  3%; left: 14%; }
.hero-s-dolphin   { width: clamp(105px, 11vw, 155px); top:  6%; left: 28%; transform: rotate(-10deg); }
.hero-s-photo     { width: clamp(145px, 15vw, 215px); top: 20%; left: 41%; }
.hero-s-square    { width: clamp(85px,  9vw, 130px); top:  4%; left: 62%; }
.hero-s-cursor    { width: clamp(75px,  8vw, 115px); top:  5%; left: 84%; }

/* Row 2 — middle strip */
.hero-s-pinkstars { width: clamp(70px,  7vw, 105px); top: 26%; left: 14%; }
.hero-s-notebook  { width: clamp(105px, 11vw, 155px); top: 64%; left: 41%; transform: rotate(-5deg); }
.hero-s-clown     { width: clamp(85px,  9vw, 130px); top: 47%; left: 64%; }
.hero-s-diamonds  { width: clamp(80px,  8vw, 120px); top: 24%; left: 72%; }

/* Row 3 — lower strip */
.hero-s-cat       { width: clamp(115px, 12vw, 170px); top: 43%; left:  2%; }
.hero-s-vibes     { width: clamp(100px,11vw, 160px); top: 46%; left: 21%; }
.hero-s-starfish  { width: clamp(70px,  7vw, 105px); top: 45%; left: 50%; }
.hero-s-yarn      { width: clamp(105px, 11vw, 150px); top: 41%; left: 82%; }



/* ─── SECTION 2: PROJECTS ─── */

.projects {
  padding-top: 120px;
}

.projects-header {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-bottom: 60px;
}

.sticker-gameboy {
  width: clamp(50px, 6vw, 80px);
  top: 6%;
  left: 14%;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 60px;
  align-items: start;
  margin-bottom: 60px;
}

.project-card:nth-child(2) { margin-top: 140px; }
.project-card:nth-child(3) { margin-top: 280px; }

.project-card a {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-img-wrap {
  width: 60%;
  max-width: 28vw;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.project-card:nth-child(1) .project-img-wrap { transform: rotate(-4deg); }
.project-card:nth-child(2) .project-img-wrap { transform: rotate(3deg); }
.project-card:nth-child(3) .project-img-wrap { transform: rotate(-2deg); }

.project-img-wrap { transition: transform 0.3s ease; }
.project-card:nth-child(1) a:hover .project-img-wrap { transform: rotate(-1deg) scale(1.03); }
.project-card:nth-child(2) a:hover .project-img-wrap { transform: rotate(6deg) scale(1.03); }
.project-card:nth-child(3) a:hover .project-img-wrap { transform: rotate(1deg) scale(1.03); }
.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.polaroid {
  position: relative;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 12px rgba(0,0,0,0.12);
  background: var(--cream);
  padding: 6px 6px 28px;
}
.polaroid::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 40px;
  height: 18px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.08);
  z-index: 1;
}

.project-title {
  font-family: var(--mono);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 0.8;
  color: var(--dark);
}

.case-study-link {
  font-family: var(--mono);
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark);
  opacity: 0.6;
  transition: opacity 0.15s;
}

.project-card a:hover .case-study-link { 
  opacity: 1; 
}

.projects-tagline {
  font-size: clamp(18px, 2vw, 26px);
  color: var(--dark);
  max-width: 30%;
  margin-top: 2%;
  margin-bottom: 80px;
}


/* ─── SECTION 3: ABOUT ─── */

.sticker-dancer {
  width: clamp(80px, 9vw, 130px);
  top: -4%;
  right: 4%;
}


.about-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-text p {
  color: var(--dark);
  max-width: 560px;
}

.about-photo-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.about-photo {
  width: 80%;
  max-width: 480px;
  object-fit: cover;
  object-position: top;
}

.sticker-ticket {
  width: clamp(80px, 9vw, 130px);
  bottom: 12%;
  left: 5%;
  z-index: 2;
  transform: rotate(-8deg);
}

.sticker-paper {
  width: clamp(60px, 8vw, 110px);
  bottom: 18%;
  right: 40%;
  z-index: 2;
  transform: rotate(15deg);
}

/* ─── PINK STRIPE ─── */
.pink-stripe {
  height: 120px;
  background: linear-gradient(to bottom, var(--cream) 0%, var(--pink) 50%);
}


/* ─── SECTION 4: FIXATIONS ─── */
.fixations {
  position: relative;
  background-color: var(--plum);
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fixations::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, var(--pink) 0%, transparent 36%),
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  pointer-events: none;
}

.fixations .heading-bold { font-weight: 600; }

.fixations .heading-thin,
.fixations .heading-bold { color: var(--cream); }

.fixations-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.fixations-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.fixations-list li {
  color: var(--cream);
  letter-spacing: 0.02em;
}

.fixations-list li::before {
  content: '• ';
  color: var(--cream);
}

.chat-links {
  position: relative;
  z-index: 1;
  margin-top: 12%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.chat-link-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.chat-dot {
  color: var(--cream);
  opacity: 0.5;
  font-size: 1.4em;
  line-height: 1;
}

.chat-link-label {
  font-family: var(--mono);
  font-size: clamp(16px, 2vw, 28px);
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-align: center;
  color: var(--cream);
  opacity: 0.6;
  margin-bottom: 8px;
}

.chat-link {
  display: block;
  font-family: var(--mono);
  font-size: clamp(16px, 2vw, 28px);
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-align: center;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.15s;
}
.chat-link:hover { opacity: 1; }

/* Fixation sticker positions */
.sticker-earbuds  { width: clamp(80px, 11vw, 160px); top: 8%;  left: 4%; }
.sticker-gummy    { width: clamp(40px, 5vw,  70px);  top: 18%; left: 20%; }
.sticker-donut    { width: clamp(50px, 6vw,  90px);  top: 10%; right: 8%; }
.sticker-good     { width: clamp(70px, 8vw, 115px);  top: 26%; right: 4%; }
.sticker-star-chrome { width: clamp(50px, 6vw, 90px); bottom: 28%; left: 6%; }
.sticker-cat      { width: clamp(80px, 9vw, 130px);  bottom: 12%; left: 12%; }
.sticker-star-gold   { width: clamp(40px, 5vw, 70px); bottom: 26%; right: 14%; }
.sticker-coffee   { width: clamp(60px, 7vw, 100px);  bottom: 20%; right: 5%; }





/* ─── Case study pages (unchanged) ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  padding: 20px 24px;
  text-align: center;
  border-bottom: 1px solid #e0d8d0;
}
.site-header a {
  font-family: var(--mono);
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--plum);
  text-decoration: none;
  opacity: 0.8;
  transition: color 0.15s, opacity 0.15s;
}
.site-header a:hover { color: var(--pink); opacity: 1; }
.site-header a:hover { opacity: 0.6; }

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 80px;
  position: relative;
  overflow: visible;
}

.cs-sticker {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

footer {
  padding: 80px 24px 80px;
  text-align: center;
  margin-top: 60px;
}

footer .chat-links { margin-top: 0; }
footer .chat-link-label { color: var(--dark); opacity: 0.5; }
footer .chat-link { color: var(--dark); }
footer .chat-dot { color: var(--dark); }

.case-study { padding-top: 12px; }
.case-study h1 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 32px;
}
.project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 16px 24px;
  padding: 24px 0;
  border-top: 1px solid #e0d8d0;
  border-bottom: 1px solid #e0d8d0;
  margin-bottom: 48px;
  font-size: clamp(24px, 2vw, 28px);
  font-family: var(--mono);
}
.project-meta dt { color: #999; font-weight: 200; margin-bottom: 2px; font-family: var(--mono); }
.project-meta dd { font-weight: 200; }
.case-study h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 44px 0 14px; }
.case-study h3 { font-family: var(--serif); font-size: 18px; font-weight: 500; margin: 32px 0 10px; }
.case-study p { font-family: var(--body); font-size: 15px; line-height: 1.5; margin-bottom: 18px; color: var(--dark); }
.case-study ul { margin: 0 0 18px 20px; }
.case-study li { font-family: var(--body); font-size: 15px; margin-bottom: 6px; line-height: 1.6; }
.case-study figure { margin: 36px 0; }
.case-study figure img { border-radius: 4px; width: 100%; }
.case-study figcaption { font-family: var(--mono); font-size: clamp(12px, 1.2vw, 16px); letter-spacing: 0.035em; text-transform: uppercase; color: #999; margin-top: 12px; }
.key-insight {
  padding: 4px 0;
  margin: 32px 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
}
.results-callout {
  background: var(--plum);
  border-radius: 8px;
  padding: 24px;
  margin: 32px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.result-stat { flex: 1; min-width: 120px; }
.result-stat .number { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--pink); display: block; }
.result-stat .label { font-family: var(--mono); font-size: clamp(16px, 2vw, 28px); color: var(--cream); opacity: 0.7; }
.project-nav {
  display: flex;
  justify-content: space-between;
  padding: 40px 0 0;
  border-top: 1px solid #e0d8d0;
  margin-top: 56px;
  font-family: var(--mono);
  font-size: clamp(24px, 2vw, 28px);
  letter-spacing: 0.035em;
  text-transform: uppercase;
  gap: 16px;
}
.project-nav a:hover { opacity: 0.6; }
.project-nav .prev::before { content: '← '; }
.project-nav .next::after  { content: ' →'; }
.project-nav .next { margin-left: auto; text-align: right; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  /* Hero */
  .hero-s { display: none; }
  .sticker-carousel { display: flex; }
  .hero {
    min-height: 90vh;
    padding: 0;
    justify-content: flex-end;
    gap: auto;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 0 24px;
  }
  .hero-bio {
    width: 100%;
    font-size: clamp(26px, 4vw, 28px);
  }

  /* Hide stickers that overlap text on mobile */
  .sticker-cat, .sticker-star-chrome, .sticker-star-gold, .sticker-coffee { display: none; }

  /* Projects */
  .sticker-gameboy { display: none; }
  .project-cards { grid-template-columns: 1fr; gap: 48px; }
  .project-card:nth-child(2),
  .project-card:nth-child(3) { margin-top: 0; }
  .project-card:nth-child(1) .project-img-wrap,
  .project-card:nth-child(2) .project-img-wrap,
  .project-card:nth-child(3) .project-img-wrap { transform: none; width: 40%; max-width: 100%; }

  /* About */
  .about-content { grid-template-columns: 1fr; }
  .about-photo { width: 80%; }
}
