/* Import Fonts */
@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;
}

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

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

/* Root Variables */
:root {
  --bg-cream: #FFFFFF;
  --nav-orange: #006EE9;
  --text-dark: #1D1D1F;
  --wide-margin: 270px;
  --narrow-margin: 50px;
  --sidebar-width: 200px;
  --spacing-100: 100px;
}

html, body {
  background: #ffffff !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: #006EE9;
  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: 99999;
  background: #fffcf8;
  pointer-events: all;
}

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

.cursor-dot {
  width: 18px;
  height: 18px;
  background-color: #006EE9;
  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 color override for nav pill */
.nav-pill.footer-mode {
  background: rgba(131, 231, 255, 0.20);
  border-color: rgba(131, 231, 255, 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: #83E7FF;
}

/* 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: 40px;
  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 - FULL BLEED
   ================================ */
.hero-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
  z-index: 2;
  background-image: url('https://raw.githubusercontent.com/melodysz/baubles/main/deep24/HERO.png');
  background-size: cover;
  background-position: top center;
}

.hero-image {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 0 0 30px 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-image.loaded {
  opacity: 1;
}

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

/* ================================
   MAIN CONTENT - SLIDES UP
   ================================ */
.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: 0;
  overflow: visible;
}

.content-section + .content-section {
  padding-top: 80px;
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
}

.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;
  width: auto;
  height: auto;
  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;
}

/* Highlighted text */
.highlight {
  padding: 2px 4px;
  background: linear-gradient(
    to right,
    rgba(165, 208, 255, 0.6) 0%,
    rgba(165, 208, 255, 0.6) 100%
  );
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 0.6s ease;
}

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

/* ================================
   OVERVIEW SECTION GRID
   ================================ */

.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 TEXT BLOCK
   ================================ */

.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: 300;
}

.hero-title .bang {
  font-family: "Xanh Mono", monospace;
  font-style: italic;
  letter-spacing: -0.1em;
  font-size: 0.35em;
  vertical-align: super;
}

.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 & STAMP CARDS
   ================================ */

.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: 860px;
  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;
}

/* ================================
   RESULTS CIRCLE
   ================================ */

.results-circle {
  width: 280px;
  height: 280px;
  margin: 80px auto 80px;
  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: 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-findings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin: 40px 0;
  margin-bottom: 0;
}

.findings-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.findings-header p {
  margin: 0;
  font-weight: 500;
}

.market-audit-findings ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.market-audit-findings li {
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.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;
}

/* ================================
   CONCLUSION CIRCLE
   ================================ */

.conclusion-circle {
  width: 300px;
  height: 300px;
  margin: 100px auto 100px;
  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: 400;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Modal overlay */
.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;
}

#research {
  margin-bottom: 0;
}

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

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

/* Images shimmer states */
.dilemma-image,
.unsent-project-image,
.sidechat-image,
.persona-card,
.market-audit-image,
.ideation-image-section,
.prototype-image,
.original-interface-image-section,
.style-guide-image-section,
.constraints-image-section,
.onboarding-image-section,
.chat-layout-image-section,
.pivot-styles-image-section,
.pivot-chat-buttons-section {
  background: linear-gradient(90deg, #f0ebe8 25%, #e8e0dc 50%, #f0ebe8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 22px;
}

.original-interface-image-section img,
.style-guide-image-section img,
.constraints-image-section img,
.onboarding-image-section img,
.chat-layout-image-section img,
.pivot-styles-image-section img,
.pivot-chat-buttons-section img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.original-interface-image-section img.loaded,
.style-guide-image-section img.loaded,
.constraints-image-section img.loaded,
.onboarding-image-section img.loaded,
.chat-layout-image-section img.loaded,
.pivot-styles-image-section img.loaded,
.pivot-chat-buttons-section img.loaded {
  opacity: 1;
}

.original-interface-image-section.image-loaded,
.style-guide-image-section.image-loaded,
.constraints-image-section.image-loaded,
.onboarding-image-section.image-loaded,
.chat-layout-image-section.image-loaded,
.pivot-styles-image-section.image-loaded,
.pivot-chat-buttons-section.image-loaded {
  animation: none;
  background: transparent;
  min-height: unset;
}

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

.visual-system-section {
  margin-bottom: 40px;
}
.visual-system-section h3 { margin-top: 0; }

.style-guide-image-section { margin-bottom: 0; }
.style-guide-image-section img { width: 100%; height: auto; display: block; border-radius: 22px; }

.constraints-image-section { margin-bottom: 0; }
.constraints-image-section img { width: 100%; height: auto; display: block; border-radius: 22px; }

.redesigning-section h3 { margin-top: 0; }

.onboarding-image-section { margin-bottom: 0; }
.onboarding-image-section img { width: 100%; height: auto; display: block; border-radius: 22px; }

.chat-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.chat-intro-text h3 { margin-top: 0; }
.chat-intro-text p:last-child { margin-bottom: 0; }
.chat-intro-image img { width: 100%; height: auto; display: block; }

.chat-layout-image-section { margin-bottom: 0; }
.chat-layout-image-section img { width: 100%; height: auto; display: block; border-radius: 22px; }

.pivot-styles-image-section { margin-bottom: 0; }
.pivot-styles-image-section img { width: 100%; height: auto; display: block; border-radius: 22px; }

.pivot-intro-section h3 { margin-top: 0; }

.content-section:has(.pivot-intro-section) { margin-bottom: 30px; }

.chat-dilemma-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin: 40px 0;
  position: relative;
}

.chat-dilemma-image { position: relative; }
.chat-dilemma-image img:first-child { width: 100%; height: auto; display: block; border-radius: 22px; }

.pivot-arrow-overlap {
  position: absolute;
  bottom: -30px;
  right: -40px;
  width: 120px;
  height: auto;
  z-index: 2;
}

.chat-dilemma-text p:last-child { margin-bottom: 0; }

.chat-dilemma-quote {
  text-align: center;
  font-family: "SD Georgia Light", Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 auto 20px;
  max-width: 600px;
}

.pivot-chat-buttons-section { margin-bottom: 0; }
.pivot-chat-buttons-section img { width: 100%; height: auto; display: block; border-radius: 22px; }

.pivot-chat-buttons-small {
  display: flex;
  justify-content: center;
}
.pivot-chat-buttons-small img { width: auto; max-width: 400px; }

/* Section spacing adjacency rules */
.content-section:has(+ .pivot-chat-buttons-section),
.content-section:has(+ .pivot-styles-image-section),
.content-section:has(+ .original-interface-image-section),
.content-section:has(+ .style-guide-image-section),
.content-section:has(+ .constraints-image-section),
.content-section:has(+ .onboarding-image-section),
.content-section:has(+ .chat-layout-image-section) {
  margin-bottom: 30px;
  padding-bottom: 0;
}

.pivot-chat-buttons-section + .content-section,
.pivot-styles-image-section + .content-section,
.style-guide-image-section + .content-section,
.constraints-image-section + .content-section,
.onboarding-image-section + .content-section,
.chat-layout-image-section + .content-section,
.original-interface-image-section + .content-section {
  padding-top: 30px !important;
}

.content-section:has(.section-number) {
  padding-top: 80px !important;
}

/* ================================
   ORIGINAL INTERFACE IMAGE SECTIONS
   ================================ */

.original-interface-image-section {
  margin-top: 0;
  margin-bottom: 0;
}

.original-interface-image-section img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}

.content-section:has(+ .original-interface-image-section) {
  margin-bottom: 30px;
  padding-bottom: 0;
}

.content-section:has(.market-audit-findings) {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ================================
   REFLECTION & FUTURE
   ================================ */

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

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

/* ================================
   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 {
  font-family: "Xanh Mono", monospace;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  text-align: center;
  border: 0.5px solid var(--text-dark);
  border-radius: 20px;
  padding: 25px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  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: 400;
  font-size: 50px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  position: relative;
  margin: 0;
  line-height: 1.1;
  display: block;
  text-align: center;
}

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

/* ================================
   CASE STUDY FOOTER
   ================================ */

.case-footer {
  position: relative;
  background: linear-gradient(to bottom, #000000 0%, #0F4163 100%);
  color: #83E7FF;
  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: 400;
  font-size: 50px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0;
  color: #83E7FF;
}

.case-footer-helv {
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 400;
  font-size: 50px;
  text-transform: lowercase;
  color: #83E7FF;
  letter-spacing: -0.03em;
}

.case-footer-italic {
  font-family: "Xanh Mono", monospace;
  font-style: italic;
  font-size: 50px;
  letter-spacing: -0.1em;
  color: #83E7FF;
}

.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: #83E7FF;
  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: #83E7FF;
}

.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: #83E7FF;
}

.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: #83E7FF;
  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;
  margin-bottom: 1rem;
  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 PARALLAX ELEMENTS
   ================================ */

.hero-orbit {
  position: absolute;
  top: calc(50% + 20vh);
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

.hero-orbit-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: center center;
}

.orbit-widget {
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 14px;
  overflow: hidden;
  transform-origin: center center;
}

.orbit-widget img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.hero-center-identity {
  position: absolute;
  top: calc(50% + 12vh);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}

.hero-d24-icon {
  width: 72px;
  height: auto;
  transform: translateY(24px);
  will-change: transform, opacity;
}

.hero-d24-tagline {
  width: 220px;
  max-width: 40vw;
  height: auto;
  transform: translateY(24px);
  will-change: transform, opacity;
}

.hero-fade-overlay {
  position: absolute;
  bottom: -5%;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  z-index: 3;
  border-radius: 0 0 30px 30px;
  transform: translateY(-65%);
}

.hero-tagline-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.hero-orbit-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  will-change: filter, opacity, transform;
}

.hero-tagline-bg,
.hero-center-identity,
.hero-fade-overlay {
  will-change: filter, opacity, transform;
}