@import url("https://fonts.googleapis.com/css2?family=Xanh+Mono:ital@0;1&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap");

@font-face {
  font-family: "SD Georgia Light";
  src: url("https://cdn.jsdelivr.net/gh/melodysz/baubles@main/SdGeorgiaLight-pMj1.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('https://cdn.jsdelivr.net/gh/melodysz/baubles@main/fonts/ppneuemontreal-thin.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('https://cdn.jsdelivr.net/gh/melodysz/baubles@main/fonts/ppneuemontreal-book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('https://cdn.jsdelivr.net/gh/melodysz/baubles@main/fonts/ppneuemontreal-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('https://cdn.jsdelivr.net/gh/melodysz/baubles@main/fonts/ppneuemontreal-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('https://cdn.jsdelivr.net/gh/melodysz/baubles@main/fonts/ppneuemontreal-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('https://cdn.jsdelivr.net/gh/melodysz/baubles@main/fonts/ppneuemontreal-italic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'HafferXH';
  src: url('https://cdn.jsdelivr.net/gh/melodysz/baubles@main/fonts/HafferXHMono-TRIAL-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: default !important;
}

a, button, [role="button"], .interactable {
  cursor: pointer !important;
}

:root {
  --bg-cream: #FFFFFF;
  --nav-orange: #f37720;
  --text-dark: #1D1D1F;
  --wide-margin: 270px;
  --narrow-margin: 50px;
  --sidebar-width: 200px;
  --spacing-100: 100px;
}

html, body {
  background: #000000 !important;
}

body {
  background-color: var(--bg-cream);
  font-family: 'PP Neue Montreal', "Helvetica Neue", "Helvetica", sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: visible;
  cursor: none !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, html { margin: 0; padding: 0; }

/* ================================
   SCROLL PROGRESS BAR
   ================================ */

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background: #f37720;
  border-radius: 0 999px 999px 0;
  z-index: 99999;
  pointer-events: none;
  transition: width 0.1s linear, height 0.3s ease;
}

/* ================================
   PAGE ENTRY OVERLAY
   ================================ */

#page-entry-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: #fffcf8;
  pointer-events: all;
}

/* ================================
   CUSTOM CURSOR — BLOB STYLE
   ================================ */

.cursor-dot {
  width: 18px;
  height: 18px;
  background-color: #f37720;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10001;
  mix-blend-mode: normal;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease,
              width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-radius 0.5s ease;
  will-change: transform;
}

.cursor-dot.active { opacity: 1; }

.cursor-dot.is-blob {
  width: var(--blob-w, 80px);
  height: var(--blob-h, 40px);
  border-radius: 999px;
  opacity: 0.25;
  mix-blend-mode: multiply;
}

/* ================================
   NEW PILL NAV
   ================================ */

.nav-pill-wrap {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1320px, calc(100vw - 80px));
  padding: 20px 0 30px 0;
  margin-top: -20px;
  pointer-events: auto;
  transition: opacity 0.4s ease;
}

.nav-pill-wrap.nav-hidden {
  opacity: 0;
  pointer-events: none;
}

.nav-pill {
  position: relative;
  height: 52px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25), inset 0 0.5px 0 rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  overflow: visible;
  width: 52px;
  transition: width 0.55s cubic-bezier(0.32, 0, 0.08, 1);
  cursor: pointer;
  white-space: nowrap;
  pointer-events: none;
}

.nav-pill.expanded { width: 100%; }

.nav-asterisk {
  font-family: 'Xanh Mono', monospace;
  font-style: italic;
  font-size: 36px;
  line-height: 0;
  color: #181812;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  user-select: none;
  text-decoration: none;
  padding-top: 2px;
  pointer-events: auto;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  padding-right: 20px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease 0.5s, transform 0.3s ease 0.5s;
  pointer-events: none;
  min-width: 0;
}

.nav-pill.expanded .nav-content {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.nav-wordmark {
  color: #181812;
  display: flex;
  align-items: baseline;
  flex-shrink: 0;
  user-select: none;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-pill.expanded .nav-wordmark {
  opacity: 1;
  transition: opacity 0.25s ease 0.45s;
}

.nav-wordmark:hover { opacity: 0.65; }

.wm-melody {
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #181812;
}

.wm-zhang {
  font-family: 'Xanh Mono', monospace;
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #181812;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.nav-link-item {
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #181812;
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 16px;
  border-radius: 999px;
  background: transparent;
  z-index: 1;
  opacity: 0;
  transform: translateX(-10px);
  transition: color 0.25s ease, opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  cursor: pointer !important;
  min-width: 80px;
  text-align: center;
}

.nav-pill.expanded .nav-link-item:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.3s ease 0.55s, transform 0.3s ease 0.55s, color 0.25s ease;
}

.nav-pill.expanded .nav-link-item:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.3s ease 0.68s, transform 0.3s ease 0.68s, color 0.25s ease;
}

.nav-asterisk img { display: block; }

/* Footer mode — orange tint to match pent up footer */
.nav-pill.footer-mode {
  background: rgba(255, 243, 191, 0.20);
  border-color: rgba(255, 243, 191, 0.25);
}

.nav-pill.footer-mode .nav-asterisk,
.nav-pill.footer-mode .wm-melody,
.nav-pill.footer-mode .wm-zhang,
.nav-pill.footer-mode .nav-link-item {
  color: #fff3bf;
}

/* Work dropdown bubble */
.nav-work-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.work-bubble {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  top: 0;
  left: 0;
}

.bubble-dot {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25), inset 0 0.5px 0 rgba(255, 255, 255, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.18);
  position: absolute;
  opacity: 0;
}

.bubble-dot-sm  { width: 11px; height: 11px; left: 33px; top: -25px; z-index: 2; }
.bubble-dot-md  { width: 16px; height: 16px; left: 10px; top: -16px; z-index: 2; }
.bubble-dot-lg  { width: 22px; height: 22px; left: -2px; top: 10px;  z-index: 2; }

.bubble-menu {
  position: absolute;
  top: 15px;
  left: 0px;
  background: rgba(255, 255, 255, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25), inset 0 0.5px 0 rgba(255, 255, 255, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.18);
  border-radius: 30px;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  white-space: nowrap;
  opacity: 0;
  transform-origin: top left;
  z-index: 0;
}

.bubble-item {
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: #181812;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 12px;
  line-height: 1.5;
  transition: opacity 0.2s ease;
  cursor: pointer !important;
}

.bubble-num {
  font-family: 'HafferXH', monospace;
  font-weight: 100;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: #181812;
  min-width: 20px;
}

.bubble-dots-wrap {
  position: fixed;
  pointer-events: none;
  z-index: 10002;
  top: 0;
  left: 0;
}

/* ================================
   SIDEBAR NAVIGATION
   ================================ */

.sidebar-nav {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: var(--sidebar-width);
  padding: 3rem 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-nav.visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-sections { list-style: none; flex-grow: 1; }
.nav-item { margin-bottom: 10px; }

.nav-link {
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-dark);
  text-decoration: none;
  text-transform: lowercase;
  letter-spacing: -0.03em;
  display: block;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}

.nav-link:hover { color: var(--nav-orange); }
.nav-item.active > .nav-link { color: var(--nav-orange); font-weight: 400; }

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

.hero-section {
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  top: auto;   /* remove the top: -20px */
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0 0 30px 30px;
  will-change: transform;
}

.hero-postcards {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.hero-postcard {
  position: absolute;
  width: clamp(240px, 35%, 460px);
  height: auto;
  will-change: transform;
}

.overview-section { padding-top: 20px !important; }

/* ================================
   MAIN CONTENT
   ================================ */

.main-content {
  position: relative;
  background: var(--bg-cream);
  width: 100vw;
  max-width: none;
  margin: 84vh auto 0 auto;
  min-height: 100vh;
  padding-bottom: 100vh;
  padding-top: 40px;
  z-index: 100;
  overflow: visible;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.content-section {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-100);
  padding-top: 80px;
  overflow: visible;
}

.section-number {
  font-family: "Xanh Mono", monospace;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 1rem;
  border: 0.5px solid var(--text-dark);
  border-radius: 20px;
  padding: 8px 6px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.section-title {
  font-family: "SD Georgia Light", Georgia, serif;
  font-weight: 300;
  font-size: 50px;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: var(--spacing-100);
  text-transform: uppercase;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 14px;
  margin: 6px auto 0;
  background-image: url("https://raw.githubusercontent.com/melodysz/baubles/main/pent-up/title%20dash.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.85;
}

.title-asterisk {
  position: absolute;
  top: 0;
  margin-left: 0.1em;
  margin-top: -20px;
}

p {
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 20px;
}

h3 {
  font-family: "Xanh Mono", monospace;
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

/* Animated highlight — orange */
.highlight {
  padding: 2px 4px;
  background: linear-gradient(to right, rgba(243, 119, 32, 0.3) 0%, rgba(243, 119, 32, 0.3) 100%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 0.6s ease;
}

.highlight.animate-in { background-size: 100% 100%; }

/* ================================
   OVERVIEW
   ================================ */

.overview-section {
  max-width: 1200px;
  padding-top: 20px !important;
  position: relative;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  align-items: start;
}

.overview-main { max-width: 520px; }

.overview-block { margin-bottom: 60px; }
.overview-block:last-child { margin-bottom: 0; }
.overview-block h3 { margin-top: 0; }

.overview-meta { display: flex; flex-direction: column; gap: 40px; }

.meta-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 24px;
  align-items: start;
}

.meta-label {
  font-family: "Xanh Mono", monospace;
  font-style: italic;
  font-size: 14px;
  letter-spacing: -0.05em;
  color: var(--text-dark);
  border: 0.5px solid var(--text-dark);
  border-radius: 999px;
  padding: 6px 6px;
  display: inline-block;
  width: fit-content;
  min-width: 60px;
  text-align: center;
}

.meta-text {
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dark);
}

.meta-orange { color: var(--nav-orange); font-weight: 500; }

.content-column {
  max-width: 960px;
  margin: 0 auto;
  padding-left: 80px;
  padding-right: 80px;
}

.hero-meta { background: var(--bg-cream); padding: 0px; }

.hero-meta-inner { display: grid; grid-template-rows: auto auto; row-gap: 16px; }

.hero-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  column-gap: 48px;
  align-items: start;
}

.hero-title {
  font-size: 70px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero-title .pent { font-family: "Xanh Mono", monospace; font-style: italic; letter-spacing: -0.05em; }
.hero-title .up { font-family: 'PP Neue Montreal', sans-serif; font-weight: 400; }
.hero-title .letterp { font-family: 'PP Neue Montreal', sans-serif; font-weight: 400; letter-spacing: -0.1em; }
.hero-title .bang { font-family: "Xanh Mono", monospace; font-style: italic; letter-spacing: -0.1em; }

.hero-summary {
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.hero-pills { display: flex; gap: 12px; flex-wrap: nowrap; margin: 0; }

.pill {
  font-family: "Xanh Mono", monospace;
  font-style: italic;
  font-size: 14px;
  letter-spacing: -0.03em;
  padding: 6px 14px;
  border: 0.5px solid var(--text-dark);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  margin: 0;
}

.pill .star { font-size: 20px; line-height: 1; }

/* ================================
   LARGE IMAGE & STAMPS
   ================================ */

.content-column-outer {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  overflow: visible;
}

.large-image-section {
  margin: 80px 0;
  min-height: 600px;
  background: linear-gradient(90deg, #f0ebe8 25%, #e8e0dc 50%, #f0ebe8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 22px;
}

.large-image-section.image-loaded { animation: none; background: transparent; min-height: unset; }

.large-image-section img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.large-image-section img.loaded { opacity: 1; }

.stamp-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 65px;
  margin-top: 80px;
  margin-bottom: 80px;
  position: relative;
}

.stamp-dash-bg {
  position: absolute;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  top: 800px;
  z-index: -1;
  pointer-events: none;
}

.pivot-stamps-wrapper { position: relative; margin-bottom: 120px; }
.pivot-stamps-wrapper .stamp-dash-bg { top: 50%; transform: translate(-50%, -50%); }

.stamp-card { position: relative; width: 100%; }
.stamp-bg { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
.pivot-stamps-wrapper .stamp-card { width: 105%; margin-left: -2.5%; }

.stamp-content {
  position: absolute;
  top: 7%;
  left: 0;
  width: 100%;
  z-index: 2;
  padding: 22px;
  text-align: center;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.stamp-number {
  font-family: "Xanh Mono", monospace;
  font-size: 18px;
  letter-spacing: -0.03em;
  margin: 0;
  border: 0.5px solid var(--text-dark);
  border-radius: 12px;
  padding: 4px 4px;
  display: inline-block;
  width: auto;
}

.stamp-title {
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.stamp-text { font-size: 14px; line-height: 1.6; margin: 0; }

/* ================================
   CIRCLES
   ================================ */

.results-circle {
  width: 280px;
  height: 280px;
  margin: 80px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url("https://raw.githubusercontent.com/melodysz/baubles/main/pent-up/emphasis%20elipse.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.results-inner { text-align: center; padding: 40px; max-width: 220px; }

.results-label {
  font-family: "Xanh Mono", monospace;
  font-style: italic;
  font-size: 30px;
  line-height: 30px;
  letter-spacing: -0.05em;
  margin-bottom: 4px;
}

.results-asterisk { font-family: "Xanh Mono", monospace; font-size: 20px; margin-bottom: -4px; display: block; line-height: 1; }

.results-text {
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.conclusion-circle {
  width: 300px;
  height: 300px;
  margin: 100px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url("https://raw.githubusercontent.com/melodysz/baubles/main/pent-up/emphasis%20elipse.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.conclusion-inner { text-align: center; padding: 40px; max-width: 300px; }
.conclusion-label { font-family: "Xanh Mono", monospace; font-style: italic; font-size: 30px; line-height: 30px; letter-spacing: -0.05em; margin-bottom: 4px; }
.conclusion-asterisk { font-family: "Xanh Mono", monospace; font-size: 20px; margin-bottom: -4px; display: block; line-height: 1; }
.conclusion-text { font-family: 'PP Neue Montreal', sans-serif; font-weight: 300; font-size: 16px; line-height: 1.6; margin: 0; }

/* ================================
   MARKET AUDIT
   ================================ */

.market-audit-section { margin-top: 20px; margin-bottom: 0; }
.market-audit-section h3 { margin-top: 0; margin-bottom: 1.5rem; }

.market-audit-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 0;
}

.market-audit-text { max-width: 400px; }
.market-audit-text p:last-child { margin-bottom: 0; }

.market-audit-image {
  width: 100%;
  max-width: 600px;
  position: relative;
  margin-top: -40px;
  margin-left: 60px;
  margin-bottom: 0;
  min-height: 450px;
  background: linear-gradient(90deg, #f0ebe8 25%, #e8e0dc 50%, #f0ebe8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 22px;
}

.market-audit-image.image-loaded { animation: none; background: transparent; min-height: unset; }

.market-audit-image img { width: 90%; height: auto; display: block; border-radius: 30px; opacity: 0; transition: opacity 0.4s ease; }
.market-audit-image img.loaded { opacity: 1; }

.audit-item { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.audit-item:last-child { margin-bottom: 0; }

.audit-number {
  font-family: "Xanh Mono", monospace;
  font-size: 18px;
  letter-spacing: -0.03em;
  border: 0.5px solid var(--text-dark);
  border-radius: 12px;
  padding: 3px 3px;
  display: inline-block;
  flex-shrink: 0;
}

.audit-name { font-family: 'PP Neue Montreal', sans-serif; font-weight: 400; font-size: 16px; line-height: 1.5; }

.pills-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 10;
}

.unsent-project-image {
  width: 100%;
  margin-top: 30px !important;
  margin-bottom: 30px;
  position: relative;
  min-height: 500px;
  background: linear-gradient(90deg, #f0ebe8 25%, #e8e0dc 50%, #f0ebe8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 22px;
}

.unsent-project-image.image-loaded { animation: none; background: transparent; min-height: unset; }
.unsent-project-image img { width: 100%; height: auto; display: block; border-radius: 22px; opacity: 0; transition: opacity 0.4s ease; }
.unsent-project-image img.loaded { opacity: 1; }

.unsent-analysis { width: 100%; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 80px; }

.analysis-number {
  font-family: "Xanh Mono", monospace;
  font-size: 18px;
  letter-spacing: -0.03em;
  border: 0.5px solid var(--text-dark);
  border-radius: 12px;
  padding: 3px 3px;
  display: inline-block;
  flex-shrink: 0;
  margin-top: 6px;
}

.analysis-text { font-family: 'PP Neue Montreal', sans-serif; font-weight: 400; font-size: 16px; line-height: 30px; margin: 0; }

.sidechat-image {
  width: 100%;
  margin-top: 80px;
  margin-bottom: 30px;
  position: relative;
  min-height: 500px;
  background: linear-gradient(90deg, #f0ebe8 25%, #e8e0dc 50%, #f0ebe8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 22px;
}

.sidechat-image.image-loaded { animation: none; background: transparent; min-height: unset; }
.sidechat-image img { width: 100%; height: auto; display: block; border-radius: 22px; opacity: 0; transition: opacity 0.4s ease; }
.sidechat-image img.loaded { opacity: 1; }

.sidechat-analysis { width: 100%; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 80px; }

/* ================================
   PROTO-PERSONAS
   ================================ */

.proto-personas-section { margin-top: 80px; }
.personas-intro { margin-bottom: 30px; }

.persona-card {
  width: 100%;
  margin-bottom: 20px;
  min-height: 400px;
  background: linear-gradient(90deg, #f0ebe8 25%, #e8e0dc 50%, #f0ebe8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 22px;
}

.persona-card.image-loaded { animation: none; background: transparent; min-height: unset; }
.persona-card:last-child { margin-bottom: 0; }
.persona-card img { width: 100%; height: auto; display: block; border-radius: 22px; opacity: 0; transition: opacity 0.4s ease; }
.persona-card img.loaded { opacity: 1; }

/* Modal */
.image-modal { display: none; position: fixed; z-index: 10002; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); backdrop-filter: blur(10px); }
.image-modal.active { display: flex; align-items: center; justify-content: center; }
.modal-content { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: 12px; }
.modal-close:hover { opacity: 0.7; }

/* ================================
   DILEMMAS
   ================================ */

.dilemmas-section { margin-top: 80px; }
.dilemmas-section h3 { margin-top: 0; }
#research { margin-bottom: 0; }

.dilemma-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 100px;
}

.dilemma-row:last-child { margin-bottom: 0; }
.dilemma-row--flipped .dilemma-image { order: -1; }
.dilemma-text { max-width: 480px; }
.dilemma-label { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }

.dilemma-image {
  min-height: 400px;
  background: linear-gradient(90deg, #f0ebe8 25%, #e8e0dc 50%, #f0ebe8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 22px;
}

.dilemma-image.image-loaded { animation: none; background: transparent; min-height: unset; }
.dilemma-image img { width: 120%; height: auto; display: block; opacity: 0; transition: opacity 0.4s ease; }
.dilemma-image img.loaded { opacity: 1; }
.dilemma-row--default .dilemma-image img { margin-left: 30px; }
.dilemma-row--flipped .dilemma-image img { transform: translateX(-100px); }

/* ================================
   IMAGE LOADING
   ================================ */

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ================================
   DESIGN SECTION
   ================================ */

.ideation-section { margin-top: 0; margin-bottom: 0; }
.ideation-section h3 { margin-top: 0; }
.content-section:has(.ideation-section) { margin-bottom: 0 !important; }

.ideation-image-section {
  margin: 30px 0 0 0;
  min-height: 500px;
  background: linear-gradient(90deg, #f0ebe8 25%, #e8e0dc 50%, #f0ebe8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 22px;
}

.ideation-image-section.image-loaded { animation: none; background: transparent; min-height: unset; }
.ideation-image-section img { width: 100%; height: auto; display: block; border-radius: 22px; opacity: 0; transition: opacity 0.4s ease; }
.ideation-image-section img.loaded { opacity: 1; }

.ideation-quote { text-align: center; margin: 60px auto; max-width: 700px; }
.ideation-quote p { font-family: "SD Georgia Light", Georgia, serif; font-size: 20px; line-height: 1.6; font-style: italic; margin: 0; }

.user-flow-section, .lofi-section, .midfi-section { margin-top: 80px; }
.user-flow-section h3, .lofi-section h3, .midfi-section h3 { margin-top: 0; }
.user-flow-section { margin-bottom: 30px !important; }
.content-section:has(.user-flow-section) { margin-bottom: 0 !important; }
.user-flow-section .userflow-image { width: 100%; height: auto; display: block; margin-top: 30px; margin-bottom: 0; }

.wireframe-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 30px; margin-bottom: 80px; }
.wireframe-grid img { width: 100%; height: auto; display: block; }

.mascot-exploration-section { margin-top: 80px; }
.mascot-exploration-section h3 { margin-top: 0; }
.mascot-image-section { margin-top: 30px; }
.mascot-image-section img { width: 100%; height: auto; display: block; border-radius: 22px; }

/* ================================
   FEEDBACK
   ================================ */

.feedback-section { margin-top: 80px; }
.feedback-section h3 { margin-top: 0; }

.feedback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin: 40px 0 60px 0; }
.feedback-grid h4 { font-family: 'PP Neue Montreal', sans-serif; font-weight: 400; font-size: 18px; margin-bottom: 20px; margin-top: 0; }
.feedback-grid ul { list-style: none; padding: 0; margin: 0; }
.feedback-grid li { font-family: 'PP Neue Montreal', sans-serif; font-weight: 400; font-size: 16px; line-height: 30px; margin-bottom: 4px; padding-left: 20px; position: relative; }
.feedback-grid li:before { content: "•"; position: absolute; left: 0; color: var(--text-dark); }

/* ================================
   DESIGN PIVOTS
   ================================ */

.design-pivots-section { margin-top: 80px; }
.design-pivots-section h3 { margin-top: 0; }
.pivot-label { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.content-section:has(.pivot-label) { margin-bottom: 0 !important; }

.pivot-image-outer { margin-bottom: 80px; overflow: visible; }
.pivot-image-outer img { width: 100%; height: auto; display: block; border-radius: 22px; }

.pivot-overlay-container { position: relative; width: 100%; overflow: visible; }

.pivot-overlay-image {
  position: absolute;
  top: 37%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  min-width: 101vw;
  height: auto;
  z-index: 10;
  pointer-events: none;
}

.pivot-overlay-container > img:not(.pivot-overlay-image) {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}

.pivot-image-outer, .pivot-overlay-container, .content-column-outer { overflow: visible !important; }
.pivot-with-overlay { overflow: visible !important; }
.pivot-with-overlay .content-column-outer { overflow: visible !important; max-width: 100vw; padding: 0; }
.pivot-with-overlay .pivot-overlay-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* ================================
   FINAL PROTOTYPE
   ================================ */

.content-section:has(.final-prototype-section) { margin-bottom: 0 !important; }
.final-prototype-section { margin-bottom: 0 !important; }
.final-prototype-section h3 { margin-bottom: 0 !important; }

.final-prototype-backdrop { background: none; border-radius: 0; position: relative; overflow: visible; padding: 0; min-height: 100vh; margin-top: 0; }

.prototype-line-container { position: absolute; top: -1.5%; left: 50%; transform: translateX(-50%); width: 350px; pointer-events: none; z-index: 1; display: flex; flex-direction: column; align-items: stretch; overflow: visible; }
.prototype-line { display: block; width: 100%; height: auto; }

.prototype-bg-container { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1350px; z-index: 0; pointer-events: none; }
.prototype-bg { width: 100%; height: auto; display: block; margin: 0; padding: 0; }

.prototype-block { display: flex; gap: 80px; align-items: center; position: relative; z-index: 2; margin-bottom: 180px; max-width: 1120px; margin-left: auto; margin-right: auto; padding: 0 80px; }
.prototype-block:last-child { margin-bottom: 0; }

.prototype-block--left .prototype-image { flex: 1.2; margin-left: calc(-50vw + 50% - 80px); min-width: 0; }
.prototype-block--left .prototype-text { flex: 1; max-width: 400px; margin-left: 0; margin-top: -140px; }
.prototype-block--right .prototype-image { flex: 1.2; margin-right: calc(-50vw + 50% - 80px); min-width: 0; }
.prototype-block--right .prototype-text { flex: 1; max-width: 400px; margin-right: 0; margin-top: -140px; }

.prototype-image {
  position: relative;
  min-height: 400px;
  background: linear-gradient(90deg, #f0ebe8 25%, #e8e0dc 50%, #f0ebe8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 22px;
}

.prototype-image.image-loaded { animation: none; background: transparent; min-height: unset; }
.prototype-image > img { position: relative; z-index: 1; width: 100%; height: auto; display: block; opacity: 0; transition: opacity 0.4s ease; }
.prototype-image > img.loaded { opacity: 1; }

.final-prototype-backdrop .prototype-block .prototype-image { transform: scale(1.2); }

.final-prototype-backdrop .prototype-block:nth-child(3) .prototype-text { margin-top: -50px !important; }
.final-prototype-backdrop .prototype-block:nth-child(3) .prototype-image { margin-left: calc(-50vw + 50% + 10px) !important; margin-top: 60px !important; }
.final-prototype-backdrop .prototype-block:nth-child(4) .prototype-text { margin-top: -300px !important; }
.final-prototype-backdrop .prototype-block:nth-child(4) .prototype-image { margin-right: calc(-50vw + 50% + 10px) !important; margin-top: -220px !important; }
.final-prototype-backdrop .prototype-block:nth-child(5) .prototype-text { margin-top: -300px !important; }
.final-prototype-backdrop .prototype-block:nth-child(5) .prototype-image { margin-left: calc(-50vw + 50% + 10px) !important; margin-top: -210px !important; }

.prototype-number { font-size: 23px; margin-bottom: 16px; }
.prototype-heading { font-family: "Xanh Mono", monospace; font-style: italic; font-weight: 400; font-size: 30px; letter-spacing: -0.05em; line-height: 1.2; margin-top: 0; margin-bottom: 16px; color: var(--text-dark); }
.prototype-summary { font-family: 'PP Neue Montreal', sans-serif; font-weight: 400; font-size: 16px; line-height: 1.6; margin-bottom: 16px; color: var(--text-dark); }
.prototype-text p:last-child { margin-bottom: 0; }

/* ================================
   LAUNCH
   ================================ */

.launch-marketing-section { margin-top: 0; }
.launch-marketing-section h3 { margin-top: 0; }
.launch-full-img { width: 100%; height: auto; display: block; border-radius: 22px; margin-top: 10px; margin-bottom: 40px; }

/* ================================
   REFLECTION
   ================================ */

.reflection-results-section { margin-top: 0; }
.reflection-results-section h3 { margin-top: 0; }

.results-grid { display: grid; grid-template-columns: 1fr 240px; gap: 60px; align-items: start; margin-bottom: 80px; }
.results-text-col { max-width: 100%; }
.results-text-col p:last-child { margin-bottom: 0; }
.results-image-col { width: 100%; position: relative; }
.results-image-col img { width: 100%; height: auto; display: block; border-radius: 22px; }
.results-table-img { width: 100%; height: auto; display: block; border-radius: 22px; margin-bottom: 0; }

.future-considerations-section { margin-top: 80px; }
.future-considerations-section h3 { margin-top: 0; }
.future-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 40px; }
.future-item .audit-number { flex-shrink: 0; margin-top: 3px; }
.future-item-content { flex: 1; }
.future-item-content h4 { font-family: 'PP Neue Montreal', sans-serif; font-weight: 400; font-size: 16px; margin-top: 0; margin-bottom: 8px; color: var(--text-dark); }
.future-item-content p { margin-bottom: 0; }

/* ================================
   TEAM SHOWCASE
   ================================ */

.team-showcase-section { margin-top: 80px; margin-bottom: 80px; }
.team-showcase-img { width: 100%; max-width: 1400px; height: auto; display: block; border-radius: 22px; margin: 0 auto; }

/* ================================
   FIN SECTION
   ================================ */

.fin-section { margin-top: 80px; margin-bottom: 150px; text-align: center; position: relative; }

.fin-title-row { display: flex; flex-direction: column; align-items: center; gap: 12px; justify-content: center; margin-bottom: 1rem; }

.fin-pill {
  border: 0.5px solid var(--text-dark);
  border-radius: 20px;
  padding: 25px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  max-width: 35px;
}

.fin-fish-icon { width: 28px; height: auto; display: block; }

.fin-title { font-family: "SD Georgia Light", Georgia, serif; font-weight: 300; font-size: 50px; letter-spacing: -0.03em; text-transform: uppercase; position: relative; margin: 0; line-height: 1.1; display: block; text-align: center; }

.fin-dashline { position: absolute; width: 100vw; left: 50%; transform: translateX(-50%); top: 380px; z-index: -1; pointer-events: none; }

.fin-link-img { display: block; max-width: 420px; width: 100%; height: auto; margin: 120px auto 0 auto; border-radius: 0; position: relative; z-index: 1; }

.fin-section .content-column { padding-left: 0; padding-right: 0; }

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

.case-footer {
  position: relative;
  background: linear-gradient(to bottom, #000000 0%, #866626 50%, #d6c279 100%);
  color: #fff3bf;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
  margin-top: 80px;
  margin-bottom: -100vh;
}

.case-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 2.2rem; }
.case-footer-main { display: flex; flex-direction: column; align-items: center; gap: 2.2rem; }
.case-footer-tagline { font-family: "SD Georgia Light", Georgia, serif; font-weight: 300; font-size: 50px; line-height: 0.9; letter-spacing: -0.03em; margin: 0; color: #fff3bf; }
.case-footer-helv { font-family: 'PP Neue Montreal', sans-serif; font-weight: 400; font-size: 50px; text-transform: lowercase; color: #fff3bf; letter-spacing: -0.03em; }
.case-footer-italic { font-family: "Xanh Mono", monospace; font-style: italic; font-size: 50px; letter-spacing: -0.1em; color: #fff3bf; }
.case-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.case-footer-links a { font-family: 'PP Neue Montreal', sans-serif; font-weight: 400; font-size: 1rem; color: #fff3bf; text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; transition: opacity 0.3s ease; }
.case-footer-links a:hover { opacity: 0.6; }

.case-footer-bottom { position: absolute; bottom: 0; left: 0; width: 100%; padding: 3rem; display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.case-footer-left { text-align: left; display: flex; flex-direction: column; gap: 0.4rem; }
.case-footer-signature { font-family: "Alex Brush", cursive; font-weight: 400; font-size: 1.5rem; letter-spacing: 0.02em; color: #fff3bf; }
.case-footer-copy { font-family: 'PP Neue Montreal', sans-serif; font-size: 0.75rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; color: #fff3bf; }
.case-footer-right { text-align: right; display: flex; flex-direction: column; gap: 0.6rem; }
.case-footer-right a { font-family: 'PP Neue Montreal', sans-serif; font-size: 0.85rem; text-transform: uppercase; color: #fff3bf; text-decoration: none; letter-spacing: 0.05em; transition: opacity 0.3s ease; }
.case-footer-right a:hover { opacity: 0.6; }

.case-footer-star-wrapper { width: 80px; height: 80px; opacity: 0; transform: scale(0); margin: 0 auto; will-change: transform, opacity; pointer-events: none; }
#case-footer-star-icon { transform-origin: center center; display: block; position: relative; z-index: 1; overflow: visible; }

.hero-stamp {
  position: absolute;
  width: 7vw;
  height: auto;
  will-change: transform;
  opacity: 0;
}

#stampOrange { bottom: 33%; left: 18%; }
#stampRed    { bottom: 46%; left: 15%; }
#stampBlue   { top: 11%;   right: 27%; }
#stampGreen  { top: 34%;   right: 16%; }

@media (max-width: 1280px) {
  #stampOrange { bottom: 33%; left: 16%; }
  #stampRed    { bottom: 46%; left: 13%; }
  #stampBlue   { top: 11%;   right: 24%; }
  #stampGreen  { top: 34%;   right: 14%; }
}

@media (max-width: 1024px) {
  #stampOrange { bottom: 33%; left: 12%; }
  #stampRed    { bottom: 46%; left: 9%;  }
  #stampBlue   { top: 11%;   right: 20%; }
  #stampGreen  { top: 34%;   right: 11%; }
}

@media (max-width: 768px) {
  .hero-stamp { display: none !important; }
}