/* THESE MUST BE FIRST — nothing above them */
@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");

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

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

@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; /* keep 400 so browser uses it as default */
  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-thin.woff2') format('woff2');
  font-weight: 100;
  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: "SD Georgia Light";
  src: url("https://cdn.jsdelivr.net/gh/melodysz/baubles@main/SdGeorgiaLight-pMj1.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

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

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

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

body {
  background-color: var(--bg-cream);
  font-family: 'PP Neue Montreal', 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;
}

.cursor-dot {
  width: 18px;
  height: 18px;
  background-color: #89BD00;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10001;
  mix-blend-mode: normal; /* remove difference so color stays green */
  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;

}

.bubble-particle {
  position: fixed;
  border-radius: 50%;
  background-color: var(--nav-orange);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

/* ================================
   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;
  /* match .content-column-outer: max 1400px minus 80px total padding */
  width: min(1320px, calc(100vw - 80px));
  /* add padding + negative margin to expand hit area without shifting layout */
  padding: 20px 0 30px 0; /* 20px above, 30px below */
  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); /* was 0.60 */
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  /* Figma drop shadow: X0 Y0 Blur2 Spread0 #000000 25% */
  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;
  /* collapsed = just the asterisk circle */
  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 {
  /* fill full wrap width */
  width: 100%;
}

/* Asterisk treated as a centered object, not inline text */
.nav-asterisk {
  font-family: 'Xanh Mono', monospace;
  font-style: italic;
  font-size: 36px;
  /* remove line-height influence — treat as a flex object */
  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;
  /* nudge slightly for optical centering of * glyph */
  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; /* delay increased from 0.22s to 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; /* ADD THIS */
}



.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, text-shadow 0.4s ease;
    text-shadow: 0 0 0px transparent; /* explicit start state for smooth transition */
  min-width: 80px;
  text-align: center;
}

.nav-link-item:hover {
  color: #181812;
}

.nav-link-item {
  overflow: hidden;
}

a[href],
button,
[role="button"],
.interactable,
.nav-link-item,
.nav-wordmark,
label {
  cursor: pointer !important;
}

.nav-wordmark,
.nav-wordmark *,
.wm-melody,
.wm-zhang {
  cursor: pointer !important;
  pointer-events: auto !important;
}

* {
  cursor: default !important;
}

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

.nav-wordmark:hover .wm-melody,
.nav-wordmark:hover .wm-zhang {
  color: #181812;
}

.wm-melody, .wm-zhang {
  transition: color 0.25s ease;
}

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

/* collapsed state — slide them back left */
.nav-link-item {
  transform: translateX(-10px);
}


/* Replace your existing asteriskSpin keyframes and spin-once with these: */

.nav-asterisk img {
  display: block;
}

/* footer color override for nav pill */
.nav-pill.footer-mode {
  background: rgba(209, 255, 164, 0.20);
  border-color: rgba(209, 255, 164, 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: #D1FFA4;
}




/* ================================
   SIDEBAR NAV
   ================================ */

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

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

.nav-subsections {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-item.active .nav-subsections {
  max-height: 300px;
}

.nav-subsections a {
  font-size: 0.8rem;
  color: #8b6f6d;
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-subsections a:hover {
  color: var(--nav-orange);
}

.nav-subsections a.active {
  color: var(--nav-orange);
  font-weight: 400;
}

.sidebar-nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

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

.hero-section {
  width: 100vw;
  height: auto;
  margin: 0;
  padding: 0;
  position: fixed;
  top: -20px;
  left: 0;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 80vh;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 0 0 30px 30px;
  background-color: var(--bg-cream);
  opacity: 0;
  transform: translateY(20px);
}

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

.hero-logo-img {
  width: 130px;
  height: auto;
  display: block;
}

.hero-tagline-img {
  width: 190px;
  height: auto;
  display: block;
}

.hero-identity-line {
  opacity: 0;
  transform: translateY(15px);
  transition: none;
}

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

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

.highlight {
  background: linear-gradient(to right, rgba(206, 232, 137, 0.6) 0%, rgba(206, 232, 137, 0.6) 100%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 0.6s ease;
  padding: 2px 4px;
}

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

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

.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;
  -webkit-text-stroke: 0.3px var(--text-dark);
}

.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;
  margin-left: -0.15em;
}

.hero-title .title-asterisk {
  font-family: "Xanh Mono", monospace;
  font-style: italic;
  font-size: 0.35em;
  vertical-align: super;
  position: relative;
  margin-left: 0.05em;
  margin-top: 0;
}

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

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

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

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

.overview-section {
  position: relative;
}

.stamp-dash-bg {
  position: absolute;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  top: 830px;
  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 {
  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: 400;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

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

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

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

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

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

.market-audit-float-wrap {
  overflow: hidden;
}

.market-audit-image-float {
  float: right;
  width: 420px;
  margin: 0 0 24px 48px;
  flex-shrink: 0;
}

.market-audit-image-float img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}

.audit-bullet-list {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 20px;
}

.audit-bullet-list li {
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  padding-left: 4px;
}

.audit-bullet-list li:last-child {
  margin-bottom: 0;
}

.survey-results-section {
  margin-top: 80px;
}

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

.survey-label {
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.survey-findings-label {
  font-family: 'PP Neue Montreal', sans-serif;
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 12px;
  margin-top: 0;
  color: var(--text-dark);
}

.findings-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 0 32px;
}

.finding-card {
  background: #EBE7DB;
  border: 0.5px solid rgba(100, 64, 62, 0.2);
  border-radius: 16px;
  padding: 32px 20px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.finding-stat {
  font-family: "Xanh Mono", monospace;
  font-size: 48px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #3E700C;
}

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

.why-hospitals-section {
  margin-top: 80px;
}

.why-hospitals-section h3 {
  margin-top: 0;
}

.hospitals-stats {
  color: #3E700C;
  margin-top: 60px;
  margin-bottom: 48px;
  text-align: center;
}

.hospitals-stats p {
  color: #3E700C;
  margin-bottom: 20px;
}

.hospitals-citation {
  color: #3E700C;
  margin-top: 24px;
  font-size: 15px;
}

.hardware-software-section {
  margin-bottom: 80px;
}

.hardware-software-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

.hardware-software-text h3 {
  margin-top: 0;
  min-width: 0;
}

.hardware-software-text h3:nth-of-type(2) {
  margin-top: 48px;
}

.hardware-software-image {
  align-self: center;
}

.hardware-software-image img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
}

.design-iterations-section {
  margin-top: 80px;
}

.design-iterations-section h3 {
  margin-top: 0;
}

.lofi-image-section {
  margin: 40px 0 80px;
}

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

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

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

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

.final-prototype-section {
  margin-bottom: 0 !important;
}

.final-prototype-section h3 {
  margin-bottom: 0 !important;
}

.final-prototype-backdrop {
  background: #EBE7DB;
  border-radius: 30px;
  margin: 0 40px 80px 40px;
  overflow: hidden;
}

.proto-sticky-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  padding: 60px 80px;
  min-height: 80vh;
}

.proto-macbook-wrap {
  position: relative;
  width: 100%;
}

.proto-slide {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.proto-slide.active {
  opacity: 1;
  position: relative;
}

.proto-text-wrap {
  position: relative;
  min-height: 200px;
  max-width: 340px;
}

.proto-text-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.proto-text-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.proto-text-slide.exit {
  opacity: 0;
  transform: translateY(-30px);
}

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

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

.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 {
  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: inline-block;
  width: auto;
  height: auto;
  min-height: 40px;
  max-width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.case-footer {
  position: relative;
  background: linear-gradient(to bottom, #000000 0%, #2D6913 50%, #A2B838 100%);
  color: #D1FFA4;
  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: #D1FFA4;
}

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

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

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

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

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

.stamp-card.fade-in-element {
  transition-delay: 0.4s;
}

.stamp-card.fade-in-element:nth-child(2) {
  transition-delay: 0.55s;
}

.stamp-card.fade-in-element:nth-child(3) {
  transition-delay: 0.7s;
}

.hero-section {
  background: linear-gradient(90deg, #f0ebe8 25%, #e8e0dc 50%, #f0ebe8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.hero-image {
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.hero-section.image-loaded {
  animation: none;
  background: transparent;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background: #89BD00;
  border-radius: 0 999px 999px 0; /* rounded on the right end only */
  z-index: 99999;
  pointer-events: none;
  transition: width 0.1s linear, height 0.3s ease;
}


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

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

.nav-pill.footer-mode ~ .work-bubble .bubble-dot,
.nav-pill.footer-mode ~ .work-bubble .bubble-menu {
  background: rgba(209, 255, 164, 0.15);
  border-color: rgba(209, 255, 164, 0.20);
}

.nav-pill.footer-mode ~ .work-bubble .bubble-item { color: #D1FFA4; }

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

