:root {
  --bg: #F7F7F7;
  --surface: #0a0a0a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f4f1;
  --muted: #9d9d98;
  --pill: rgba(255, 255, 255, 0.04);
  --max-width: 1980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: 0;
  height: 2px;
  background: #f4f4f1;
}

.landing-dark {
  background: var(--bg);
  color: var(--text);
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 65;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 62px;
  width: 100%;
  margin: 0;
  padding: 10px clamp(18px, 9.2vw, 128px);
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-nav.is-scrolled {
  background: rgba(247, 247, 247, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.08);
}

.site-nav-brand {
  display: grid;
  gap: 2px;
  color: #3f3f3c;
  font-size: 0.86rem;
  line-height: 1;
  font-weight: 500;
}

.floating-nav {
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  width: min(430px, 42vw);
  gap: clamp(18px, 3vw, 38px);
  background: transparent;
}

.floating-nav a {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #3f3f3c;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.floating-nav a:nth-child(2),
.floating-nav a:nth-child(3) {
  justify-self: start;
}

.floating-nav a:last-child {
  justify-self: start;
}

.hero-derek,
.works-derek,
.info-derek,
.contact-derek,
.footer-derek {
  width: min(var(--max-width), calc(100% - 44px));
  margin: 0 auto;
}

.hero-derek {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
}

.hero-derek h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-slogan {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-curtain {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: min(1040px, 94vw);
  height: min(58vh, 500px);
  margin-top: 28px;
  padding-top: 0;
  cursor: default;
}

.curtain-item {
  --angle: 0deg;
  position: relative;
  width: clamp(9px, 1.58vw, 24px);
  height: var(--drop);
  transform: rotate(var(--angle));
  transform-origin: 50% 0;
  will-change: transform;
}

.curtain-gap {
  flex: 0 0 clamp(10px, 1.6vw, 24px);
}

.curtain-thread {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: calc(100% - 27px);
  background: rgba(17, 17, 17, 0.14);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay);
}

.curtain-char {
  position: absolute;
  left: 50%;
  bottom: 0;
  color: #111111;
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.82rem, 1.4vw, 1.25rem);
  line-height: 1.35;
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--delay) + 180ms);
}

.hero-derek.is-visible .curtain-thread {
  transform: translateX(-50%) scaleY(1);
}

.hero-derek.is-visible .curtain-char {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hero-role {
  position: absolute;
  right: clamp(18px, 9.2vw, 128px);
  bottom: clamp(28px, 7vh, 72px);
  max-width: min(560px, 44vw);
  margin: 0;
  color: #3f3f3c;
  font-size: clamp(0.76rem, 1vw, 0.92rem);
  line-height: 1.55;
  font-weight: 500;
  text-align: right;
}

.hero-derek-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.works-derek {
  padding: 92px 0;
}

.works-timeline-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 460px) minmax(0, 680px);
  column-gap: clamp(44px, 7vw, 118px);
  align-items: start;
  width: min(calc(100vw - clamp(160px, 18vw, 280px)), 1080px);
  margin-left: auto;
  margin-right: auto;
}

.works-notes-timeline {
  position: sticky;
  top: 92px;
  display: grid;
  align-self: start;
  padding-top: 76px;
}

.notes-year-group {
  display: grid;
  grid-template-columns: minmax(72px, 0.34fr) minmax(0, 1fr);
  gap: clamp(18px, 2.3vw, 34px);
  padding: 18px 0 0;
  border-top: 1px solid rgba(17, 17, 17, 0.28);
}

.notes-year-group + .notes-year-group {
  margin-top: 28px;
}

.notes-year {
  color: #111111;
  font-size: clamp(2rem, 3.1vw, 3.25rem);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.34;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.notes-list {
  display: grid;
  min-width: 0;
}

.notes-item {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 10px 18px 17px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  color: #111111;
  opacity: 0.38;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.notes-item::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 0;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid currentColor;
  opacity: 0.55;
}

.notes-item span {
  color: #55554f;
  font-size: 0.7rem;
  line-height: 1.2;
  font-weight: 600;
}

.notes-item strong {
  max-width: 300px;
  font-size: clamp(1rem, 1.35vw, 1.45rem);
  line-height: 1.05;
  font-weight: 500;
}

.notes-year-group:has(.notes-item.is-visible) .notes-year,
.notes-year-group:has(.notes-item.is-active) .notes-year {
  opacity: 1;
  transform: translateY(0);
}

.notes-item.is-visible {
  opacity: 0.62;
  transform: translateY(0);
}

.notes-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.notes-item.is-active strong {
  font-weight: 700;
}

.works-main {
  min-width: 0;
}

.works-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 32px;
  margin-bottom: 28px;
  color: var(--muted);
  white-space: nowrap;
}

.works-section-label span:first-child {
  color: #f4f4f1;
  font-size: 1rem;
  font-weight: 700;
}

.works-section-label span:last-child {
  font-size: 0.82rem;
  font-weight: 500;
}

.works-grid {
  display: grid;
  gap: 28px;
}

.work-derek-card {
  display: block;
  width: 100%;
  opacity: 0;
  transform: translate(28px, 34px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.work-derek-card.reveal {
  transform: translate(28px, 34px);
}

.work-derek-card.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.work-derek-card.is-active {
  opacity: 1;
  filter: none;
}

.works-derek.has-active .work-derek-card.is-visible:not(.is-active) {
  opacity: 1;
  filter: none;
}

.work-derek-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
  margin-bottom: 10px;
  color: #2f2f2f;
  font-size: 1rem;
  line-height: 1.38;
  font-weight: 700;
}

.work-derek-head > span {
  flex: 0 1 260px;
}

.work-derek-tags {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.work-derek-tags em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 7px 12px;
  border-radius: 4px;
  background: #efefec;
  color: #111;
  font-style: normal;
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.work-derek-media {
  position: relative;
  overflow: hidden;
  height: auto;
  background: #171717;
}

.work-derek-media img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.work-derek-card:hover img {
  transform: scale(1.02);
  opacity: 0.9;
}

.work-derek-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(0, 0, 0, 0.08);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  transition: opacity 0.25s ease;
}

.work-derek-card:hover .work-derek-overlay {
  opacity: 1;
}

.work-derek-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(180deg, #1a1a1a, #0f0f0f),
    #111;
}

.work-derek-placeholder-inner {
  max-width: 420px;
  padding: 0 24px;
  text-align: center;
}

.work-derek-placeholder-inner strong {
  display: block;
  margin-bottom: 12px;
  font-size: 2rem;
  line-height: 1.05;
}

.work-derek-placeholder-inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.info-derek {
  padding: 34px 0 48px;
}

.stats-derek {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 86px;
}

.stats-derek strong {
  display: block;
  color: #fff;
  font-size: clamp(4.4rem, 7vw, 7.4rem);
  line-height: 1;
  font-weight: 800;
}

.stats-derek span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.table-derek {
  display: grid;
  grid-template-columns: 0.48fr 0.52fr;
  gap: 28px;
  padding: 26px 0 28px;
  border-top: 1px solid var(--line);
}

.table-derek-label {
  color: #f0f0ed;
  font-size: 0.98rem;
  font-weight: 700;
}

.table-derek-list div {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: #efefed;
  font-size: clamp(2.3rem, 3.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.table-derek-list div:nth-child(even) {
  color: #70706c;
}

.table-derek-rows div {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.15fr) 110px;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.table-derek-rows span,
.table-derek-rows strong,
.table-derek-rows em {
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.4;
}

.table-derek-rows span,
.table-derek-rows em {
  color: #b7b7b3;
}

.table-derek-rows strong {
  color: #ffffff;
  font-weight: 700;
  display: block;
}

.contact-derek {
  display: grid;
  grid-template-columns: 0.48fr 0.52fr;
  gap: 28px;
  padding: 120px 0 120px;
}

.contact-derek-copy p {
  max-width: 760px;
  margin: 0 0 0 auto;
  color: #efefec;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1.2;
  font-weight: 600;
}

.contact-derek-actions {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-derek-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: #f0f0ed;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-derek-actions a:first-child {
  background: #efefec;
  color: #111;
  border-color: transparent;
}

.footer-derek {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 36px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.detail-topbar {
  position: sticky;
  top: 18px;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: min(1120px, calc(100% - 520px));
  margin: 18px auto 42px;
}

.detail-floating-nav {
  width: min(1120px, calc(100% - 520px));
  margin: 0 auto;
  padding-top: 18px;
}

.detail-page-dark main {
  width: min(1120px, calc(100% - 520px));
  margin: 0 auto;
  padding-bottom: 110px;
  position: relative;
}

.detail-page-dark main::before {
  content: "";
  position: fixed;
  inset: 0 260px;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, transparent 0, transparent calc(25% - 0.5px), rgba(255, 255, 255, 0.08) calc(25% - 0.5px), rgba(255, 255, 255, 0.08) 25%, transparent 25%, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.08) calc(50% - 0.5px), rgba(255, 255, 255, 0.08) 50%, transparent 50%, transparent calc(75% - 0.5px), rgba(255, 255, 255, 0.08) calc(75% - 0.5px), rgba(255, 255, 255, 0.08) 75%, transparent 75%),
    linear-gradient(to bottom, transparent 0, transparent 143px, rgba(255, 255, 255, 0.06) 143px, rgba(255, 255, 255, 0.06) 144px, transparent 144px);
  opacity: 0.35;
}

.detail-hero-banner {
  position: relative;
  z-index: 1;
  min-height: 88vh;
  margin-top: 18px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #111;
}

.detail-hero-banner img {
  width: 100%;
  height: 88vh;
  object-fit: contain;
  object-position: center;
  opacity: 0.9;
}

.detail-hero-banner h1 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  width: min(80%, 1000px);
}

.earmura-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 24px;
  text-align: center;
}

.earmura-hero-copy p,
.earmura-hero-copy span {
  margin: 0;
  max-width: 880px;
}

.earmura-hero-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.earmura-hero-copy span {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 1.55vw, 1.45rem);
  line-height: 1.45;
}

.earmura-hero-copy h1 {
  position: static;
  transform: none;
  width: auto;
  transition: text-shadow 0.25s ease, transform 0.25s ease;
}

.detail-hero-banner:hover .earmura-hero-copy h1 {
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.detail-hero-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88vh;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.07), transparent 0 28%),
    linear-gradient(180deg, #181818, #0d0d0d),
    #111;
}

.detail-hero-placeholder .work-derek-placeholder-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.detail-hero-placeholder .work-derek-placeholder-inner strong {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.96;
}

.detail-intro-grid {
  display: grid;
  grid-template-columns: 0.48fr 0.52fr;
  gap: 28px;
  padding: 66px 0 78px;
  position: relative;
  z-index: 1;
}

.detail-intro-label {
  color: #f0f0ed;
  font-size: 0.98rem;
  font-weight: 700;
}

.detail-intro-main {
  display: grid;
  gap: 46px;
}

.detail-intro-main > p {
  max-width: 980px;
  margin: 0;
  color: #f4f4f1;
  font-size: clamp(1rem, 1.8vw, 2rem);
  line-height: 1.38;
  font-weight: 500;
}

.detail-side-block > span {
  display: block;
  margin-bottom: 14px;
  color: #f0f0ed;
  font-size: 0.98rem;
  font-weight: 700;
}

.detail-side-list div {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: #efefed;
  font-size: 0.98rem;
  font-weight: 700;
}

.detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.detail-pills em {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  background: #efefec;
  color: #111;
  border-radius: 4px;
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 700;
}

.detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 54px;
  position: relative;
  z-index: 1;
}

.detail-gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: #111;
}

.detail-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-gallery-grid-balanced {
  grid-template-columns: 1.08fr 0.92fr;
}

.detail-asset-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  overflow: visible;
}

.detail-asset-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.detail-gallery-split {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 54px;
}

.detail-gallery-split-reverse {
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
}

.detail-gallery-copy {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.detail-gallery-copy strong {
  color: #fff;
  font-size: clamp(1.5rem, 2.2vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.detail-gallery-copy p {
  margin: 0;
  color: #cfcfca;
  line-height: 1.7;
}

.detail-asset-figure-right {
  align-items: flex-start;
}

.detail-asset-figure-metric {
  margin-top: 18px;
}

.detail-gallery-grid-triple {
  grid-template-columns: repeat(3, 1fr);
}

.detail-video-embed {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  margin-bottom: 28px;
  background: #111;
}

.detail-video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.detail-video-promo {
  display: block;
  align-items: stretch;
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    #0b0b0c;
}

.detail-video-promo-copy span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-video-promo-copy strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.detail-video-promo-copy p {
  max-width: 760px;
  margin: 0 0 20px;
  color: #d0d0cc;
  line-height: 1.7;
}

.detail-video-promo-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  background: #efefec;
  color: #111;
  font-size: 0.95rem;
  font-weight: 700;
}


.detail-gallery-note {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.detail-gallery-note strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.2rem;
}

.case-study-section {
  position: relative;
  z-index: 1;
  padding: 34px 0 34px;
  border-top: 1px solid var(--line);
}

.case-study-label {
  margin-bottom: 26px;
  color: #f0f0ed;
  font-size: 0.98rem;
  font-weight: 700;
}

.case-study-body {
  display: grid;
  grid-template-columns: 0.6fr 0.4fr;
  gap: 28px;
  margin-bottom: 24px;
}

.problem-research-section .case-study-body {
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 72px;
}

.problem-research-section .case-study-copy {
  width: 100%;
  justify-self: start;
}

.problem-research-section .case-study-copy h2 {
  max-width: 460px;
}

.problem-research-section .case-study-copy p {
  max-width: 460px;
}

.case-study-copy h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.case-study-copy p {
  max-width: 980px;
  margin: 0 0 18px;
  color: #d0d0cc;
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.72;
}

.case-study-copy strong {
  color: #fff;
}

.case-study-rail {
  display: grid;
  gap: 14px;
  align-content: start;
}

.case-study-note {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.case-study-note strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-study-note p {
  margin: 0 0 8px;
  color: #c5c5c0;
  line-height: 1.55;
}

.case-study-note p:last-child {
  margin-bottom: 0;
}

.case-study-missing {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.2);
}

.case-study-link {
  display: block;
  padding: 20px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.case-study-link span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.case-study-missing-link {
  border-style: dashed;
}

.earmura-flow-note {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.03);
}

.detail-pills-tags {
  margin-top: 0;
}

.earmura-research-panel {
  display: grid;
  grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.earmura-metric-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-content: center;
}

.earmura-metric-strip div {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 164px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.earmura-metric-strip strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.earmura-metric-strip div:last-child strong {
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.earmura-metric-strip span {
  display: block;
  color: #d3d3ce;
  line-height: 1.45;
}

.detail-asset-figure-metric {
  margin-top: 0;
  min-width: 0;
}

.problem-research-section .detail-asset-figure-metric img {
  width: 100%;
  max-width: none;
}

.problem-research-graphic {
  overflow: hidden;
}

.problem-research-graphic img {
  width: 138%;
  max-width: none;
  margin-left: -16%;
}

.earmura-hierarchy-card {
  padding: 20px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.earmura-hierarchy-card strong {
  display: block;
  margin-bottom: 18px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.earmura-hierarchy-list {
  display: grid;
  gap: 0;
}

.earmura-hierarchy-list div {
  position: relative;
  padding: 14px 0 14px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.earmura-hierarchy-list div::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f3f3ef;
}

.earmura-hierarchy-list span {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.earmura-hierarchy-list p {
  margin: 0;
  color: #cbcbc6;
  line-height: 1.55;
}

.detail-meta-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.detail-meta-row {
  display: grid;
  grid-template-columns: 0.48fr 0.52fr;
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.detail-meta-label {
  color: #d07a2a;
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.08em;
}

.detail-meta-value {
  color: #d07a2a;
  font-size: clamp(1.1rem, 1.7vw, 1.8rem);
  line-height: 1.35;
}

.detail-see-also {
  position: relative;
  z-index: 1;
  margin-top: 90px;
}

.detail-see-also-header {
  display: grid;
  grid-template-columns: 0.48fr 0.52fr;
  gap: 28px;
  padding: 0 0 24px;
  border-top: 1px solid var(--line);
}

.detail-see-also-header span {
  display: inline-block;
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.detail-see-also-list {
  display: grid;
  gap: 16px;
}

.detail-see-also-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.28fr) 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 132px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.25s ease, transform 0.25s ease;
}

.detail-see-also-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.detail-see-also-card img,
.detail-see-also-thumb {
  width: 100%;
  height: 104px;
  object-fit: cover;
  background: #121212;
}

.detail-see-also-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.detail-see-also-copy span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-see-also-copy strong {
  display: block;
  color: #fff;
  font-size: clamp(1.8rem, 2.8vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.detail-see-also-arrow {
  color: #a9a9a5;
  font-size: 2.2rem;
  line-height: 1;
}

.project-hero {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 18px;
  margin-bottom: 28px;
}

.project-hero-copy {
  padding-top: 18px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #f4f4f1;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.project-hero-copy h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.project-hero-copy p:last-child,
.meta-item p,
.content-panel p,
.placeholder-panel p,
.project-gallery figcaption {
  color: #c0c0bc;
  line-height: 1.7;
}

.project-hero-media img,
.project-gallery img {
  object-fit: cover;
}

.project-hero-media img {
  aspect-ratio: 16 / 10;
}

.meta-grid,
.placeholder-grid,
.project-gallery {
  display: grid;
  gap: 18px;
}

.meta-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 28px;
}

.meta-item,
.content-panel,
.placeholder-panel {
  padding: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.meta-label,
.placeholder-label {
  display: block;
  margin: 12px 0 10px;
  color: #f0f0ed;
  font-size: 0.88rem;
  font-weight: 700;
}

.content-stack {
  display: grid;
  gap: 28px;
}

.content-panel h2 {
  margin: 12px 0 16px;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
}

.project-gallery {
  grid-template-columns: repeat(2, 1fr);
}

.project-gallery figure {
  margin: 0;
}

.project-gallery img {
  aspect-ratio: 4 / 3;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .detail-topbar,
  .detail-floating-nav,
  .detail-page-dark main {
    width: min(100% - 240px, 960px);
  }

  .detail-page-dark main::before {
    inset: 0 120px;
  }
}

@media (max-width: 900px) {
  .detail-topbar,
  .detail-floating-nav,
  .detail-page-dark main {
    width: min(100% - 32px, 760px);
  }

  .detail-page-dark main::before {
    inset: 0 16px;
  }
}

@media (max-width: 430px) {
  .detail-topbar,
  .detail-floating-nav,
  .detail-page-dark main {
    width: min(100% - 24px, 390px);
  }

  .detail-page-dark main::before {
    inset: 0 12px;
  }
}


/* Bee Cue stable responsive layout */
.bee-cue-page {
  --bee-page-bg: #F7F7F7;
  --bee-text: #111111;
  --bee-muted: #66665f;
  --bee-line: rgba(17, 17, 17, 0.14);
  --bee-line-strong: rgba(17, 17, 17, 0.24);
  --bee-accent: #8f5c24;
  --bee-shell: min(1120px, calc(100% - 520px));
  --bee-section-gap: 78px;
  --bee-header-gap: 46px;
  --bee-label-col: minmax(0, 0.49fr);
  --bee-content-col: minmax(0, 0.51fr);
  overflow-x: clip;
  background: var(--bee-page-bg);
  color: var(--bee-text);
}

.bee-cue-page *,
.bee-cue-page *::before,
.bee-cue-page *::after {
  box-sizing: border-box;
}

.bee-cue-page main {
  width: 100%;
  padding-top: 62px;
}

.bee-cue-site-nav {
  min-height: 62px;
  padding: 10px clamp(18px, 7.55vw, 128px);
  background: rgba(247, 247, 247, 0.78);
  box-shadow: none;
}

.bee-cue-main-nav {
  grid-template-columns: repeat(6, auto);
  width: min(640px, 50vw);
  gap: clamp(28px, 3.6vw, 58px);
}

.bee-cue-page .section__inner,
.bee-cue-anchor-nav {
  width: var(--bee-shell);
  margin-right: auto;
  margin-left: auto;
}

.bee-cue-page .section__inner,
.bee-cue-page .section__header,
.bee-cue-page .section__content,
.bee-cue-page .case-study-body,
.bee-cue-page .case-study-copy,
.bee-cue-page .case-study-rail,
.bee-cue-page article,
.bee-cue-page figure,
.bee-cue-page img,
.bee-cue-page iframe,
.bee-cue-page video {
  min-width: 0;
}

.bee-cue-page .case-study-section,
.bee-cue-page .detail-intro-grid,
.bee-cue-page .detail-meta-board {
  display: block;
  width: 100%;
  margin: 0;
  padding: 35px 0 34px;
  border-top: 1px solid var(--bee-line);
}

.bee-cue-page .detail-intro-grid {
  padding: 66px 0 78px;
  border-top: 0;
}

.bee-cue-page #insight,
.bee-cue-page #features {
  display: none;
}

.bee-cue-media {
  display: block;
  margin: 0;
  overflow: hidden;
  background: #e8e4db;
}

.bee-cue-media img,
.bee-cue-media iframe,
.bee-cue-media video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: 0;
}

.bee-cue-media img,
.bee-cue-media video {
  object-fit: cover;
  object-position: center;
}

.bee-cue-anchor-nav {
  position: sticky;
  top: 62px;
  z-index: 20;
  display: flex;
  width: min(1480px, calc(100% - 96px));
  gap: 7px;
  min-height: 65px;
  margin-bottom: 0;
  padding: 12px 0 23px;
  overflow-x: auto;
  border-bottom: 1px solid var(--bee-line);
  background: rgba(247, 247, 247, 0.84);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.bee-cue-anchor-nav::-webkit-scrollbar {
  display: none;
}

.bee-cue-anchor-nav a {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 10px;
  border-color: var(--bee-line);
  border-radius: 999px;
  color: var(--bee-text);
  font-size: 12.48px;
  line-height: 1;
}

.bee-cue-hero {
  width: 100%;
  min-height: 0;
  margin: 0 0 10px;
  padding: 0;
}

.bee-cue-page .bee-cue-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  grid-template-rows: 1fr;
  align-items: stretch;
  width: min(1480px, calc(100% - 96px));
  min-height: 0;
}

.bee-cue-hero-copy {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  width: auto;
  height: auto;
  padding: clamp(36px, 3.53vw, 55px) 0 clamp(25px, 3.42vw, 47px) 0;
}

.bee-cue-hero-copy .eyebrow {
  margin-bottom: 13px;
  color: var(--bee-text);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.bee-cue-hero-copy h1 {
  max-width: 100%;
  margin-bottom: 22px;
  color: var(--bee-text);
  font-size: clamp(83px, 7.92vw, 126px);
  line-height: 0.966;
  letter-spacing: -0.075em;
  font-weight: 800;
  text-transform: uppercase;
}

.bee-cue-hero-copy h2 {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--bee-text);
  font-size: clamp(27px, 2.3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.bee-cue-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--bee-muted);
  font-size: clamp(15px, 1.06vw, 17px);
  line-height: 1.7;
}

.bee-cue-hero-media {
  position: absolute;
  inset: 0;
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: transparent;
}

.bee-cue-hero-media img {
  object-fit: contain;
  object-position: 50% 50%;
}

.bee-cue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}

.bee-cue-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 20px;
  border: 1px solid var(--bee-text);
  border-radius: 999px;
  color: var(--bee-text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.bee-cue-actions a:first-child {
  background: var(--bee-text);
  color: #f7f4ee;
}

.bee-cue-tags {
  display: flex;
  flex-wrap: wrap;
  max-width: 461px;
  margin-top: 24px;
  gap: 9px;
}

.bee-cue-tags em {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--bee-text);
  background: #efefec;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.detail-intro-grid__inner,
.bee-cue-page .section__header,
.bee-cue-page .case-study-body,
.bee-cue-page .detail-meta-row {
  display: grid;
  grid-template-columns: var(--bee-label-col) var(--bee-content-col);
  gap: 0;
  align-items: start;
}

.bee-cue-page .section__header {
  grid-template-columns: 1fr;
}

.bee-cue-page .case-study-section .section__header {
  margin-bottom: 0;
}

.bee-cue-page .case-study-label,
.bee-cue-page .detail-intro-label {
  color: var(--bee-text);
  font-size: 15.68px;
  line-height: 1.35;
  font-weight: 700;
}

.bee-cue-page .case-study-label {
  margin-bottom: 26px;
}

.bee-cue-page .case-study-body {
  grid-template-columns: minmax(0, 930px) minmax(0, 486px);
  gap: 46px;
  margin-bottom: 0;
}

.bee-cue-page .bee-cue-section-body-plain {
  grid-template-columns: minmax(0, 930px);
}

.bee-cue-page .case-study-copy h2 {
  max-width: 930px;
  margin-bottom: 18px;
  color: var(--bee-text);
  font-size: 58.05px;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.bee-cue-page .case-study-copy p {
  max-width: 930px;
  margin-bottom: 0;
  color: var(--bee-muted);
  font-size: 20.48px;
  line-height: 1.72;
}

#research .case-study-copy p,
#insight .case-study-copy p {
  font-weight: 700;
}

.bee-cue-page .detail-intro-main {
  display: grid;
  grid-column: 2;
  width: 100%;
  max-width: none;
  gap: 46px;
}

.bee-cue-page .detail-intro-main > p {
  max-width: 755px;
  margin: 0;
  color: var(--bee-text);
  font-size: 30.732px;
  line-height: 1.38;
  font-weight: 500;
}

.bee-cue-overview-grid {
  display: grid;
  width: 100%;
  border-top: 1px solid var(--bee-line-strong);
}

.bee-cue-overview-grid div,
.bee-cue-reflection-grid article,
.bee-cue-page .detail-meta-row {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 0;
  min-height: 66px;
  padding: 19px 0 18px;
  border-bottom: 1px solid var(--bee-line);
}

.bee-cue-overview-grid span,
.bee-cue-reflection-grid span {
  color: var(--bee-text);
  font-size: 11.52px;
  line-height: 1.2;
  font-weight: 700;
}

.bee-cue-overview-grid p,
.bee-cue-reflection-grid p {
  margin: 0;
  color: var(--bee-muted);
  font-size: 18.56px;
  line-height: 1.62;
}

.bee-cue-wide-note {
  min-height: 120px;
  margin-top: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--bee-line-strong);
  border-bottom: 1px solid var(--bee-line);
}

.bee-cue-wide-note strong,
#logic .case-study-rail strong {
  display: block;
  margin-bottom: 12px;
  color: var(--bee-text);
  font-size: 15.2px;
}

.bee-cue-wide-note p,
#logic .case-study-rail p {
  max-width: 755px;
  margin: 0;
  color: var(--bee-muted);
  font-size: 16px;
  line-height: 1.55;
}

.bee-cue-challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 37px;
  margin-top: 78px;
}

.bee-cue-challenge-grid article {
  display: grid;
  grid-template-areas: "number" "image" "title" "body";
  grid-template-rows: 14px auto auto auto;
  row-gap: 13px;
  min-height: 354px;
  padding: 0 7px;
  border: 0;
}

.bee-cue-card-media {
  grid-area: image;
  aspect-ratio: 340 / 198;
  background: transparent;
}

.bee-cue-challenge-grid span {
  grid-area: number;
  color: var(--bee-text);
  font-size: 11.52px;
  font-weight: 700;
}

.bee-cue-challenge-grid strong {
  grid-area: title;
  color: var(--bee-text);
  font-size: 17px;
  line-height: 1.2;
}

.bee-cue-challenge-grid p {
  grid-area: body;
  max-width: 305px;
  margin: -3px 0 0;
  color: var(--bee-muted);
  font-size: 13px;
  line-height: 1.3;
}

.bee-cue-research-board {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.bee-cue-research-card {
  display: grid;
  align-items: start;
  padding: 0;
  border: 0;
}

.bee-cue-research-card-literature {
  grid-template-columns: minmax(0, 498px) minmax(0, 764px);
  gap: 15px;
  min-height: 475px;
}

.bee-cue-research-card-literature .bee-cue-research-copy,
.bee-cue-research-card-data .bee-cue-research-copy {
  padding-left: 20px;
}

.bee-cue-research-card-field {
  grid-template-columns: minmax(0, 747px) minmax(0, 526px);
  gap: 160px;
}

.bee-cue-research-card-field .bee-cue-research-copy {
  order: 2;
  text-align: right;
}

.bee-cue-research-card-data {
  grid-template-columns: minmax(0, 498px) minmax(0, 738px);
  gap: 0;
}

.bee-cue-research-copy span {
  display: block;
  margin-bottom: 9px;
  color: var(--bee-accent);
  font-size: 13.12px;
  line-height: 1.35;
  font-weight: 600;
}

.bee-cue-research-copy p {
  max-width: 526px;
  margin: 0;
  color: var(--bee-muted);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 500;
}

.bee-cue-research-copy small {
  display: block;
  max-width: 260px;
  margin-top: 340px;
  margin-left: 32px;
  color: var(--bee-muted);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

.bee-cue-research-media {
  display: grid;
  gap: 9px;
  background: transparent;
}

.bee-cue-research-media img {
  height: auto;
  object-fit: cover;
  object-position: center;
}

.bee-cue-research-media-literature {
  grid-template-columns: 283px 466px;
  align-items: start;
  margin-top: 98px;
}

.bee-cue-research-media-literature img:first-child {
  aspect-ratio: 283 / 344;
}

.bee-cue-research-media-literature img:last-child {
  aspect-ratio: 466 / 286;
}

.bee-cue-research-media-field,
.bee-cue-research-media-data {
  grid-template-columns: repeat(3, minmax(0, 240px));
}

.bee-cue-research-media-field img,
.bee-cue-research-media-data img {
  aspect-ratio: 240 / 290;
}

.bee-cue-research-media-field img {
  border-radius: 10px;
}

.bee-cue-three-grid {
  display: grid;
  margin-top: 56px;
  border-top: 1px solid var(--bee-line-strong);
}

.bee-cue-three-grid article {
  display: grid;
  grid-template-columns: 71px minmax(0, 1fr);
  gap: 0;
  min-height: 114px;
  padding: 19px 0 38px;
  border-bottom: 1px solid var(--bee-line);
}

.bee-cue-three-grid span {
  color: var(--bee-text);
  font-size: 11.52px;
  font-weight: 700;
}

.bee-cue-three-grid strong {
  max-width: 960px;
  color: var(--bee-text);
  font-size: 37.56px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.bee-cue-three-grid p {
  display: none;
}

#insight .bee-cue-three-grid article:nth-child(2) {
  padding-left: 389px;
}

.bee-cue-goal-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 68px;
}

.bee-cue-goal-visual-grid article {
  min-width: 0;
}

.bee-cue-goal-media {
  width: 250px;
  max-width: 100%;
  aspect-ratio: 1;
  margin-bottom: 25px;
  background: transparent;
}

.bee-cue-goal-media img,
.bee-cue-flow-icon {
  object-fit: contain;
}

.bee-cue-goal-visual-grid strong {
  display: block;
  max-width: 392px;
  color: var(--bee-text);
  font-size: 37.56px;
  line-height: 1.05;
}

#logic .case-study-rail .case-study-note,
#demo .case-study-link {
  min-height: 109px;
  padding: 19px 0 0;
  border: 0;
  border-top: 1px solid var(--bee-line);
  border-bottom: 1px solid var(--bee-line);
  background: transparent;
  color: var(--bee-text);
}

.bee-cue-flow-icons {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 174px));
  justify-content: center;
  width: min(100%, 1219px);
  margin: 57px auto 33px;
  border: 0;
  background: var(--bee-page-bg);
}

.bee-cue-flow-icons div {
  position: relative;
  display: grid;
  grid-template-rows: 54px auto;
  align-content: start;
  gap: 13px;
  min-height: 112px;
  padding: 4px 28px 0 14px;
  border-right: 1px solid var(--bee-line);
  color: var(--bee-text);
  font-size: 16px;
  line-height: 1.27;
  font-weight: 600;
}

.bee-cue-flow-icons div:first-child {
  border-left: 1px solid var(--bee-line);
}

.bee-cue-flow-icons div:not(:last-child)::after {
  content: ">";
  position: absolute;
  right: 12px;
  top: 38px;
  color: var(--bee-accent);
  font-size: 15.366px;
  line-height: 1;
  font-weight: 800;
}

.bee-cue-flow-icon-media {
  display: block;
  width: 54px;
  aspect-ratio: 1;
}

.bee-cue-flow-icon-media img {
  width: 100%;
  height: 100%;
}

.bee-cue-logic-media-single .bee-cue-captioned-asset {
  display: grid;
  grid-template-columns: minmax(0, 945px) minmax(220px, 282px);
  gap: 55px;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.bee-cue-captioned-asset img {
  aspect-ratio: 945 / 457;
}

.bee-cue-captioned-asset figcaption {
  color: var(--bee-muted);
  font-size: 14.72px;
  line-height: 1.62;
}

.bee-cue-wide-visual {
  margin-top: 41px;
  aspect-ratio: 1480 / 818;
}

.bee-cue-wide-visual img {
  object-fit: cover;
}

.bee-cue-screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 71px 18px;
  margin-top: 18px;
}

.prototype-item {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.prototype-item__media {
  aspect-ratio: 731 / 404;
  border-radius: 6px;
}

.prototype-item__copy {
  min-width: 0;
}

.prototype-item__copy strong {
  display: block;
  margin-bottom: 11px;
  color: var(--bee-text);
  font-size: 30.732px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.prototype-item__copy p {
  max-width: 598px;
  margin: 0;
  color: var(--bee-muted);
  font-size: 16px;
  line-height: 1.62;
}

.bee-cue-screen-grid .prototype-item:last-child {
  grid-column: 1;
}

.bee-cue-video-shell {
  margin-top: 39px;
  aspect-ratio: 1480 / 857;
}

.bee-cue-reflection-grid {
  display: grid;
  border-top: 0;
}

.bee-cue-reflection-grid article {
  grid-template-columns: 446px minmax(0, 760px);
}

.bee-cue-page .detail-meta-board {
  margin-top: 230px;
  border-top: 0;
}

.bee-cue-page .detail-meta-row {
  grid-template-columns: var(--bee-label-col) var(--bee-content-col);
  min-height: 75px;
  border-top: 1px solid var(--bee-line);
  border-bottom: 0;
}

.bee-cue-page .detail-meta-label,
.bee-cue-page .detail-meta-value {
  color: var(--bee-accent);
}

.bee-cue-page .detail-meta-label {
  font-size: 14.72px;
  font-weight: 700;
}

.bee-cue-page .detail-meta-value {
  font-size: 28.8px;
  line-height: 1.36;
}

.bee-cue-live-link {
  color: var(--bee-text);
  border-color: var(--bee-line);
  background: transparent;
}

.bee-cue-live-link span,
#demo .case-study-link span {
  color: var(--bee-muted);
}

@media (max-width: 1280px) {
  .bee-cue-page {
    --bee-shell: min(100% - 240px, 960px);
    --bee-label-col: minmax(0, 0.34fr);
    --bee-content-col: minmax(0, 0.66fr);
  }

  .bee-cue-page .bee-cue-hero__inner {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  }

  .bee-cue-hero-copy {
    padding-left: 0;
  }

  .bee-cue-page .case-study-body {
    grid-template-columns: minmax(0, 0.66fr) minmax(260px, 0.34fr);
  }

  .bee-cue-research-card-literature,
  .bee-cue-research-card-field,
  .bee-cue-research-card-data {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    gap: 32px;
  }

  .bee-cue-research-media-literature,
  .bee-cue-research-media-field,
  .bee-cue-research-media-data {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-top: 0;
  }

  .bee-cue-research-copy small {
    margin-top: 24px;
  }

  .bee-cue-flow-icons {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .bee-cue-page {
    --bee-shell: min(100% - 48px, 900px);
  }

  .bee-cue-main-nav {
    width: min(620px, 62vw);
    gap: 24px;
  }

  .bee-cue-page .bee-cue-hero__inner {
    min-height: 0;
  }

  .bee-cue-hero-copy h1 {
    font-size: clamp(65px, 10.8vw, 101px);
  }

  .bee-cue-hero-copy h2,
  .bee-cue-page .case-study-copy h2 {
    font-size: clamp(34px, 5.2vw, 50px);
  }

  .bee-cue-hero-copy h2 {
    font-size: clamp(31px, 4.68vw, 45px);
  }

  .bee-cue-page .detail-intro-main > p {
    font-size: clamp(24px, 3.4vw, 30px);
  }

  .bee-cue-challenge-grid,
  .bee-cue-screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bee-cue-flow-icons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
  }

  .bee-cue-logic-media-single .bee-cue-captioned-asset {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .bee-cue-page {
    --bee-shell: min(100% - 32px, 680px);
  }

  .bee-cue-site-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px 16px;
  }

  .bee-cue-main-nav {
    grid-template-columns: repeat(6, auto);
    justify-content: start;
    width: 100%;
    gap: 14px;
    overflow-x: auto;
  }

  .bee-cue-anchor-nav {
    width: min(100% - 32px, 680px);
    flex-wrap: wrap;
    overflow: visible;
  }

  .bee-cue-page .bee-cue-hero__inner,
  .detail-intro-grid__inner,
  .bee-cue-page .case-study-body,
  .bee-cue-page .detail-meta-row,
  .bee-cue-research-card-literature,
  .bee-cue-research-card-field,
  .bee-cue-research-card-data,
  .bee-cue-reflection-grid article {
    grid-template-columns: 1fr;
  }

  .detail-intro-grid__inner {
    gap: 28px;
  }

  .bee-cue-page .detail-intro-main {
    grid-column: 1;
  }

  .bee-cue-page .bee-cue-hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 28px;
    width: min(100% - 32px, 680px);
    padding: 32px 0 56px;
  }

  .bee-cue-hero-media {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: auto;
    order: -1;
    height: auto;
    aspect-ratio: 1480 / 763;
  }

  .bee-cue-hero-copy {
    grid-column: 1;
    grid-row: auto;
    padding: 0;
  }

  .bee-cue-hero-copy h1 {
    font-size: clamp(54px, 16vw, 88px);
    line-height: 0.98;
  }

  .bee-cue-hero-copy h2,
  .bee-cue-page .case-study-copy h2 {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.06;
  }

  .bee-cue-hero-copy > p:not(.eyebrow),
  .bee-cue-page .case-study-copy p,
  .bee-cue-page .detail-intro-main > p {
    font-size: 18px;
    line-height: 1.58;
  }

  .bee-cue-page .case-study-section,
  .bee-cue-page .detail-intro-grid,
  .bee-cue-page .detail-meta-board {
    padding: 48px 0;
  }

  .bee-cue-challenge-grid,
  .bee-cue-goal-visual-grid,
  .bee-cue-screen-grid {
    grid-template-columns: 1fr;
  }

  .bee-cue-challenge-grid {
    gap: 28px;
  }

  .bee-cue-research-card-field .bee-cue-research-copy {
    order: 0;
    text-align: left;
  }

  .bee-cue-research-media-literature,
  .bee-cue-research-media-field,
  .bee-cue-research-media-data {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .bee-cue-flow-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bee-cue-flow-icons div:nth-child(odd):last-child {
    grid-column: 1 / -1;
  }

  .bee-cue-screen-grid .prototype-item:last-child {
    grid-column: auto;
  }

  .bee-cue-page .detail-meta-board {
    margin-top: 0;
  }
}

@media (max-width: 430px) {
  .bee-cue-page {
    --bee-shell: min(100% - 24px, 390px);
  }

  .bee-cue-anchor-nav {
    width: min(100% - 24px, 390px);
    top: 58px;
    min-height: 52px;
    padding: 10px 0 12px;
  }

  .bee-cue-hero-copy h1 {
    font-size: clamp(44px, 17vw, 68px);
  }

  .bee-cue-page .bee-cue-hero__inner {
    width: min(100% - 24px, 390px);
  }

  .bee-cue-hero-copy h2,
  .bee-cue-page .case-study-copy h2 {
    font-size: clamp(26px, 8.8vw, 34px);
  }

  .bee-cue-actions a {
    width: 100%;
  }

  .bee-cue-tags em {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .bee-cue-overview-grid div,
  .bee-cue-reflection-grid article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bee-cue-flow-icons {
    grid-template-columns: 1fr;
  }

  .bee-cue-flow-icons div:not(:last-child)::after {
    content: none;
  }

  .prototype-item__copy strong,
  .bee-cue-goal-visual-grid strong,
  .bee-cue-page .detail-meta-value {
    font-size: clamp(24px, 8.5vw, 32px);
  }
}

@media (max-width: 360px) {
  .bee-cue-page {
    --bee-shell: calc(100% - 20px);
  }

  .bee-cue-hero-copy h1 {
    font-size: clamp(40px, 16vw, 58px);
  }

  .bee-cue-main-nav {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 8px 14px;
    overflow: visible;
  }
}

/* Bee Cue research layout — staggered, centered, responsive */
#research .bee-cue-research-board {
  width: min(100%, 1180px);
  margin: clamp(42px, 5vw, 74px) auto 0;
  gap: clamp(58px, 7.2vw, 108px);
}

#research .bee-cue-research-card {
  grid-template-columns: minmax(0, 1fr);
  width: min(72%, 720px);
  min-height: 0;
  gap: clamp(16px, 1.8vw, 26px);
}

#research .bee-cue-research-card-literature,
#research .bee-cue-research-card-data {
  margin-right: auto;
  margin-left: clamp(28px, 8vw, 150px);
}

#research .bee-cue-research-card-field {
  margin-right: clamp(28px, 8vw, 150px);
  margin-left: auto;
}

#research .bee-cue-research-card-literature .bee-cue-research-copy,
#research .bee-cue-research-card-data .bee-cue-research-copy,
#research .bee-cue-research-card-field .bee-cue-research-copy {
  order: 0;
  padding: 0;
}

#research .bee-cue-research-card-field .bee-cue-research-copy {
  text-align: right;
}

#research .bee-cue-research-copy p {
  max-width: 560px;
}

#research .bee-cue-research-card-field .bee-cue-research-copy p {
  margin-left: auto;
}

#research .bee-cue-research-media {
  width: 100%;
  margin: 0;
  overflow: visible;
  background: transparent;
}

#research .bee-cue-research-media-literature {
  grid-template-columns: minmax(0, 0.39fr) minmax(0, 0.61fr);
  align-items: start;
  gap: clamp(10px, 1.2vw, 16px);
}

#research .bee-cue-literature-source {
  display: grid;
  gap: 12px;
  margin: 0;
}

#research .bee-cue-literature-source img,
#research .bee-cue-research-media-literature > img,
#research .bee-cue-research-media-field img,
#research .bee-cue-research-media-data img {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

#research .bee-cue-literature-source figcaption {
  max-width: 240px;
  margin: 0;
  color: var(--bee-muted);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 400;
  text-align: left;
}

#research .bee-cue-research-media-field,
#research .bee-cue-research-media-data {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 0.8vw, 10px);
}

#research .bee-cue-research-media-field img {
  border-radius: 8px;
}

@media (max-width: 1280px) {
  #research .bee-cue-research-card {
    width: min(76%, 680px);
  }

  #research .bee-cue-research-card-literature,
  #research .bee-cue-research-card-data {
    margin-left: clamp(20px, 6vw, 90px);
  }

  #research .bee-cue-research-card-field {
    margin-right: clamp(20px, 6vw, 90px);
  }
}

@media (max-width: 1024px) {
  #research .bee-cue-research-board {
    width: 100%;
    gap: clamp(48px, 7vw, 76px);
  }

  #research .bee-cue-research-card {
    width: min(82%, 640px);
  }

  #research .bee-cue-research-card-literature,
  #research .bee-cue-research-card-data {
    margin-left: clamp(18px, 7vw, 68px);
  }

  #research .bee-cue-research-card-field {
    margin-right: clamp(18px, 7vw, 68px);
  }
}

@media (max-width: 768px) {
  #research .bee-cue-research-board {
    margin-top: 36px;
    gap: 48px;
  }

  #research .bee-cue-research-card,
  #research .bee-cue-research-card-literature,
  #research .bee-cue-research-card-field,
  #research .bee-cue-research-card-data {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  #research .bee-cue-research-card-field .bee-cue-research-copy {
    text-align: left;
  }

  #research .bee-cue-research-card-field .bee-cue-research-copy p {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  #research .bee-cue-research-media-literature {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  }

  #research .bee-cue-literature-source figcaption {
    font-size: 9px;
  }

  #research .bee-cue-research-media-field,
  #research .bee-cue-research-media-data {
    gap: 5px;
  }
}

/* Bee Cue research visual refinement — matches the compact Figma composition */
#research .section__inner {
  width: min(calc(100% - 104px), 1280px);
  margin-inline: auto;
}

#research .case-study-copy h2 {
  max-width: 840px;
  font-size: 40px;
  line-height: 0.98;
}

#research .case-study-copy p {
  max-width: 850px;
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.58;
}

#research .bee-cue-research-board {
  width: 100%;
  margin-top: clamp(24px, 3vw, 42px);
  gap: clamp(28px, 3vw, 46px);
}

#research .bee-cue-research-card {
  width: min(60%, 720px);
  gap: clamp(12px, 1.2vw, 18px);
}

#research .bee-cue-research-card-literature,
#research .bee-cue-research-card-data {
  margin-left: 12%;
}

#research .bee-cue-research-card-field {
  margin-right: 9%;
}

#research .bee-cue-research-copy span {
  margin-bottom: 7px;
  font-size: clamp(10px, 0.9vw, 13px);
}

#research .bee-cue-research-copy p {
  max-width: 560px;
  font-size: clamp(12px, 1.1vw, 16px);
  line-height: 1.55;
}

#research .bee-cue-literature-source figcaption {
  max-width: 220px;
  margin-top: 1px;
  font-size: clamp(8px, 0.72vw, 11px);
  line-height: 1.35;
}

@media (max-width: 1024px) {
  #research .section__inner {
    width: min(calc(100% - 104px), 820px);
  }

  #research .case-study-copy h2 {
    max-width: 650px;
    font-size: clamp(38px, 4.6vw, 48px);
  }

  #research .case-study-copy p {
    max-width: 680px;
    font-size: clamp(14px, 1.75vw, 18px);
  }

  #research .bee-cue-research-card {
    width: min(60%, 560px);
  }

  #research .bee-cue-research-card-literature,
  #research .bee-cue-research-card-data {
    margin-left: 12%;
  }

  #research .bee-cue-research-card-field {
    margin-right: 9%;
  }
}

@media (max-width: 768px) {
  #research .section__inner {
    width: min(calc(100% - 32px), 680px);
  }

  #research .case-study-copy h2 {
    font-size: clamp(30px, 8vw, 42px);
  }

  #research .case-study-copy p {
    font-size: 16px;
  }

  #research .bee-cue-research-board {
    margin-top: 32px;
    gap: 44px;
  }

  #research .bee-cue-research-card,
  #research .bee-cue-research-card-literature,
  #research .bee-cue-research-card-field,
  #research .bee-cue-research-card-data {
    width: 100%;
    margin-inline: auto;
  }

  #research .bee-cue-research-copy span {
    font-size: 11px;
  }

  #research .bee-cue-research-copy p {
    font-size: 14px;
  }
}

/* Final compact alignment for the research section */
#research.case-study-section {
  padding-top: 20px;
  padding-bottom: clamp(80px, 8vw, 128px);
}

#research .case-study-copy h2,
#research .case-study-copy p {
  max-width: 760px;
}

#research .bee-cue-research-board {
  gap: clamp(24px, 2.4vw, 36px);
}

#research .bee-cue-research-card {
  width: min(52%, 680px);
}

@media (max-width: 1024px) {
  #research .case-study-copy h2,
  #research .case-study-copy p {
    max-width: 760px;
  }

  #research .bee-cue-research-card {
    width: min(52%, 520px);
  }
}

@media (max-width: 768px) {
  #research.case-study-section {
    padding-top: 36px;
    padding-bottom: 40px;
  }

  #research .bee-cue-research-card,
  #research .bee-cue-research-card-literature,
  #research .bee-cue-research-card-field,
  #research .bee-cue-research-card-data {
    width: 100%;
  }
}

#research .bee-cue-section-body-plain {
  grid-template-columns: minmax(0, 1fr);
}

/* Bee Cue section dividers — align all gray separator lines to the shared content shell */
.bee-cue-page .case-study-section {
  border-top: 0;
}

.bee-cue-page .case-study-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--bee-shell);
  height: 1px;
  background: var(--bee-line);
  transform: translateX(-50%);
  pointer-events: none;
}

/* Bee Cue System Logic — match the compact Figma composition */
/* Deliberate breathing room between Design Decisions and System Logic */
#goal.case-study-section {
  padding-bottom: clamp(90px, 7vw, 120px);
}

#logic.case-study-section {
  padding-top: clamp(54px, 4.5vw, 72px);
  padding-bottom: clamp(72px, 7vw, 108px);
}

#logic .case-study-body {
  grid-template-columns: minmax(0, 820px) minmax(320px, 480px);
  gap: clamp(44px, 4.6vw, 72px);
  align-items: start;
}

#logic .case-study-copy h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(42px, 3.6vw, 54px);
  line-height: 1;
  letter-spacing: -0.052em;
}

#logic .case-study-copy p {
  max-width: 820px;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.62;
}

#logic .case-study-rail .case-study-note {
  min-height: 108px;
  padding: 20px 18px 18px;
  border: 1px solid var(--bee-line);
  background: #f5f4f1;
}

#logic .case-study-rail .case-study-note strong {
  margin-bottom: 13px;
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: 0.03em;
}

#logic .case-study-rail .case-study-note p {
  font-size: 14px;
  line-height: 1.5;
}

#logic .bee-cue-flow-icons {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  justify-content: stretch;
  width: min(100%, 1120px);
  margin: clamp(60px, 6vw, 82px) auto 0;
}

#logic .bee-cue-flow-icons div {
  grid-template-rows: 54px auto;
  min-height: 104px;
  padding: 3px 24px 0 14px;
  font-size: 14px;
  line-height: 1.28;
}

#logic .bee-cue-flow-icons div:first-child {
  border-left: 0;
}

#logic .bee-cue-flow-icons div:not(:last-child)::after {
  right: 9px;
  top: 38px;
  font-size: 14px;
}

#logic .bee-cue-flow-icon-media {
  width: 52px;
}

#logic .bee-cue-logic-media-single {
  display: block;
  width: min(100%, 1170px);
  margin: clamp(62px, 6.3vw, 88px) auto 0;
}

#logic .bee-cue-logic-media-single .bee-cue-captioned-asset {
  display: grid;
  grid-template-columns: minmax(0, 865px) minmax(190px, 230px);
  gap: clamp(36px, 4vw, 52px);
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
}

#logic .bee-cue-captioned-asset img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

#logic .bee-cue-captioned-asset figcaption {
  max-width: 230px;
  font-size: 14px;
  line-height: 1.62;
}

@media (max-width: 1280px) {
  #logic .case-study-body {
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.9fr);
    gap: 42px;
  }

  #logic .bee-cue-flow-icons {
    width: min(100%, 1040px);
  }

  #logic .bee-cue-flow-icons div {
    padding-right: 20px;
    padding-left: 10px;
    font-size: 13px;
  }

  #logic .bee-cue-logic-media-single .bee-cue-captioned-asset {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
    gap: 36px;
  }
}

@media (max-width: 1024px) {
  #logic .case-study-body {
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.85fr);
    gap: 32px;
  }

  #logic .bee-cue-flow-icons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 760px);
    row-gap: 28px;
  }

  #logic .bee-cue-flow-icons div:nth-child(4) {
    border-right: 0;
  }

  #logic .bee-cue-logic-media-single .bee-cue-captioned-asset {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  #logic .case-study-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #logic .case-study-rail .case-study-note {
    max-width: none;
  }

  #logic .bee-cue-flow-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 44px;
  }

  #logic .bee-cue-flow-icons div:nth-child(4) {
    border-right: 1px solid var(--bee-line);
  }

  #logic .bee-cue-flow-icons div:nth-child(even) {
    border-right: 0;
  }

  #logic .bee-cue-flow-icons div:nth-child(odd):last-child {
    grid-column: 1 / -1;
    width: 50%;
    justify-self: center;
    border-right: 0;
  }

  #logic .bee-cue-logic-media-single {
    margin-top: 52px;
  }

  #logic .bee-cue-logic-media-single .bee-cue-captioned-asset {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #logic .bee-cue-captioned-asset figcaption {
    max-width: 520px;
  }
}

@media (max-width: 430px) {
  #logic .bee-cue-flow-icons {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  #logic .bee-cue-flow-icons div,
  #logic .bee-cue-flow-icons div:nth-child(4),
  #logic .bee-cue-flow-icons div:nth-child(even),
  #logic .bee-cue-flow-icons div:nth-child(odd):last-child {
    grid-column: auto;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--bee-line);
  }
}

/* Index page white-theme repair — keep dark project pages unchanged */
body.landing-dark:not(.detail-page-dark) {
  --bg: #F7F7F7;
  --surface: #f4f4f1;
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.22);
  --text: #111111;
  --muted: #66665f;
  --pill: rgba(17, 17, 17, 0.04);
  background: var(--bg);
  color: var(--text);
}

body.landing-dark:not(.detail-page-dark) .progress-bar {
  background: #111111;
}

body.landing-dark:not(.detail-page-dark) .works-section-label span:first-child,
body.landing-dark:not(.detail-page-dark) .stats-derek strong,
body.landing-dark:not(.detail-page-dark) .table-derek-label,
body.landing-dark:not(.detail-page-dark) .table-derek-list div,
body.landing-dark:not(.detail-page-dark) .table-derek-rows strong,
body.landing-dark:not(.detail-page-dark) .contact-derek-copy p,
body.landing-dark:not(.detail-page-dark) .contact-derek-actions a {
  color: #111111;
}

body.landing-dark:not(.detail-page-dark) .table-derek-rows span,
body.landing-dark:not(.detail-page-dark) .table-derek-rows em {
  color: #66665f;
}

body.landing-dark:not(.detail-page-dark) .contact-derek-actions a {
  border-color: rgba(17, 17, 17, 0.22);
}

body.landing-dark:not(.detail-page-dark) .contact-derek-actions a:first-child {
  background: #111111;
  color: #fbfbfa;
}

/* Preserve intentional dark media placeholders on the light index page */
body.landing-dark:not(.detail-page-dark) .work-derek-placeholder,
body.landing-dark:not(.detail-page-dark) .work-derek-placeholder-inner strong {
  color: #ffffff;
}

body.landing-dark:not(.detail-page-dark) .work-derek-placeholder-inner p {
  color: #b7b7b3;
}

/* Bee Cue — Design Decisions section aligned with the compact Figma composition */
#goal .case-study-body {
  display: block;
}

#goal .case-study-copy {
  max-width: 980px;
}

#goal .case-study-copy h2 {
  max-width: 900px;
  letter-spacing: -0.045em;
}

#goal .case-study-copy p {
  max-width: 1020px;
  color: var(--bee-muted);
}

#goal .bee-cue-goal-visual-grid {
  width: min(100%, 1180px);
  margin: clamp(58px, 6.1vw, 88px) auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

#goal .bee-cue-goal-visual-grid article {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: clamp(26px, 2.8vw, 40px) clamp(20px, 2.4vw, 34px) 0;
}

#goal .bee-cue-goal-visual-grid article:not(:last-child) {
  border-right: 1px solid var(--bee-line);
}

#goal .bee-cue-goal-media {
  width: min(100%, 220px);
  aspect-ratio: 1;
  margin: 0 auto clamp(18px, 1.8vw, 24px);
  background: transparent;
}

#goal .bee-cue-goal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#goal .bee-cue-goal-visual-grid strong {
  display: block;
  max-width: 280px;
  margin: 0 auto;
  font-size: clamp(24px, 2.35vw, 34px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 1024px) {
  #goal .bee-cue-goal-visual-grid {
    width: min(100%, 980px);
    margin-top: 68px;
  }

  #goal .bee-cue-goal-visual-grid article {
    padding-inline: 22px;
  }

  #goal .bee-cue-goal-media {
    width: min(100%, 188px);
    margin-bottom: 18px;
  }

  #goal .bee-cue-goal-visual-grid strong {
    max-width: 240px;
    font-size: clamp(21px, 2.8vw, 29px);
  }
}

@media (max-width: 768px) {
  #goal .bee-cue-goal-visual-grid {
    width: min(100%, 560px);
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 52px;
  }

  #goal .bee-cue-goal-visual-grid article {
    padding: 32px 0;
  }

  #goal .bee-cue-goal-visual-grid article:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--bee-line);
  }

  #goal .bee-cue-goal-media {
    width: min(100%, 170px);
    margin-bottom: 16px;
  }

  #goal .bee-cue-goal-visual-grid strong {
    max-width: 300px;
    font-size: clamp(23px, 6vw, 30px);
    line-height: 1;
  }
}

@media (max-width: 430px) {
  #goal .bee-cue-goal-visual-grid {
    width: 100%;
    margin-top: 42px;
  }

  #goal .bee-cue-goal-visual-grid article {
    padding: 27px 0;
  }

  #goal .bee-cue-goal-media {
    width: min(100%, 148px);
    margin-bottom: 13px;
  }

  #goal .bee-cue-goal-visual-grid strong {
    max-width: 260px;
    font-size: clamp(21px, 7vw, 27px);
  }
}

/* Bee Cue — keep Design Decisions in three columns on mobile */
@media (max-width: 768px) {
  #goal .bee-cue-goal-visual-grid {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: clamp(34px, 7vw, 52px);
  }

  #goal .bee-cue-goal-visual-grid article {
    min-width: 0;
    padding: clamp(16px, 3.5vw, 24px) clamp(8px, 2vw, 14px) 0;
  }

  #goal .bee-cue-goal-visual-grid article:not(:last-child) {
    border-right: 1px solid var(--bee-line);
    border-bottom: 0;
  }

  #goal .bee-cue-goal-media {
    width: clamp(72px, 18vw, 132px);
    margin-bottom: clamp(10px, 2vw, 14px);
  }

  #goal .bee-cue-goal-visual-grid strong {
    max-width: 100%;
    font-size: clamp(11px, 2.8vw, 18px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
    hyphens: none;
  }
}

@media (max-width: 430px) {
  #goal .bee-cue-goal-visual-grid {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
  }

  #goal .bee-cue-goal-visual-grid article {
    padding: 16px 6px 0;
  }

  #goal .bee-cue-goal-media {
    width: clamp(62px, 20vw, 86px);
    margin-bottom: 10px;
  }

  #goal .bee-cue-goal-visual-grid strong {
    font-size: clamp(10px, 3.1vw, 13px);
    line-height: 1.08;
  }
}

@media (max-width: 360px) {
  #goal .bee-cue-goal-visual-grid article {
    padding-inline: 4px;
  }

  #goal .bee-cue-goal-media {
    width: clamp(54px, 19vw, 72px);
  }

  #goal .bee-cue-goal-visual-grid strong {
    font-size: clamp(9px, 3vw, 11px);
  }
}


/* Responsive spacing between Design Decisions and System Logic */
@media (max-width: 768px) {
  #goal.case-study-section {
    padding-bottom: 64px;
  }

  #logic.case-study-section {
    padding-top: 44px;
  }
}

@media (max-width: 430px) {
  #goal.case-study-section {
    padding-bottom: 52px;
  }

  #logic.case-study-section {
    padding-top: 38px;
  }
}

/* Bee Cue — keep System Logic flow in one horizontal row on tablet and mobile */
@media (max-width: 768px) {
  #logic .bee-cue-flow-icons {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    width: 100%;
    row-gap: 0;
    column-gap: 0;
    margin-top: clamp(30px, 6vw, 44px);
    overflow: visible;
  }

  #logic .bee-cue-flow-icons div,
  #logic .bee-cue-flow-icons div:nth-child(4),
  #logic .bee-cue-flow-icons div:nth-child(even),
  #logic .bee-cue-flow-icons div:nth-child(odd):last-child {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
    min-width: 0;
    min-height: clamp(76px, 17vw, 104px);
    grid-template-rows: clamp(28px, 6.8vw, 46px) auto;
    justify-items: center;
    gap: clamp(4px, 1vw, 8px);
    padding: 0 clamp(5px, 1.1vw, 10px);
    border-right: 1px solid var(--bee-line);
    border-bottom: 0;
    font-size: clamp(7px, 1.55vw, 11px);
    line-height: 1.12;
    text-align: center;
  }

  #logic .bee-cue-flow-icons div:last-child {
    border-right: 0;
  }

  #logic .bee-cue-flow-icon-media {
    width: clamp(26px, 6vw, 42px);
  }

  #logic .bee-cue-flow-icons div:not(:last-child)::after {
    content: ">";
    right: clamp(1px, 0.45vw, 4px);
    top: clamp(22px, 5.4vw, 35px);
    font-size: clamp(7px, 1.55vw, 11px);
  }
}

@media (max-width: 430px) {
  #logic .bee-cue-flow-icons {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    row-gap: 0;
    margin-top: 30px;
  }

  #logic .bee-cue-flow-icons div,
  #logic .bee-cue-flow-icons div:nth-child(4),
  #logic .bee-cue-flow-icons div:nth-child(even),
  #logic .bee-cue-flow-icons div:nth-child(odd):last-child {
    grid-column: auto;
    width: auto;
    min-height: 76px;
    grid-template-rows: 28px auto;
    gap: 5px;
    padding: 0 3px;
    border-right: 1px solid var(--bee-line);
    border-bottom: 0;
    font-size: clamp(6px, 1.8vw, 8px);
    line-height: 1.1;
  }

  #logic .bee-cue-flow-icons div:last-child {
    border-right: 0;
  }

  #logic .bee-cue-flow-icon-media {
    width: clamp(22px, 7vw, 30px);
  }

  #logic .bee-cue-flow-icons div:not(:last-child)::after {
    content: ">";
    right: 0;
    top: 24px;
    font-size: 7px;
  }
}

@media (max-width: 360px) {
  #logic .bee-cue-flow-icons div,
  #logic .bee-cue-flow-icons div:nth-child(4),
  #logic .bee-cue-flow-icons div:nth-child(even),
  #logic .bee-cue-flow-icons div:nth-child(odd):last-child {
    min-height: 70px;
    grid-template-rows: 24px auto;
    padding-inline: 2px;
    font-size: 5.6px;
  }

  #logic .bee-cue-flow-icon-media {
    width: 23px;
  }

  #logic .bee-cue-flow-icons div:not(:last-child)::after {
    top: 21px;
    font-size: 6px;
  }
}

/* Bee Cue — shorten System Logic separators on tablet and mobile */
@media (max-width: 768px) {
  #logic .bee-cue-flow-icons div,
  #logic .bee-cue-flow-icons div:nth-child(4),
  #logic .bee-cue-flow-icons div:nth-child(even),
  #logic .bee-cue-flow-icons div:nth-child(odd):last-child {
    position: relative;
    border-right: 0 !important;
  }

  #logic .bee-cue-flow-icons div:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: clamp(48px, 8vw, 60px);
    background: var(--bee-line);
    transform: translateY(-50%);
    pointer-events: none;
  }
}

@media (max-width: 430px) {
  #logic .bee-cue-flow-icons div:not(:last-child)::before {
    height: 48px;
  }
}

@media (max-width: 360px) {
  #logic .bee-cue-flow-icons div:not(:last-child)::before {
    height: 42px;
  }
}

/* Bee Cue — show the main website screenshot in full without side cropping */
#design .bee-cue-wide-visual {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
}

#design .bee-cue-wide-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

/* Bee Cue system logic flow — use one responsive image */
#logic .bee-cue-flow-image {
  width: min(100%, 1219px);
  margin: 57px auto 33px;
  overflow: visible;
  background: transparent;
}

#logic .bee-cue-flow-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 768px) {
  #logic .bee-cue-flow-image {
    width: 100%;
    margin: 40px auto 28px;
  }
}

@media (max-width: 430px) {
  #logic .bee-cue-flow-image {
    margin-top: 32px;
    margin-bottom: 24px;
  }
}


/* =========================================================
   Bee Cue recruitment-case-study refinement
   Final Product → Context → Decisions → Logic → Evaluation
   ========================================================= */

/* Keep Final Product and Product Walkthrough visually connected */
#design.case-study-section {
  padding-bottom: clamp(44px, 4.5vw, 68px);
}

#demo.case-study-section {
  padding-top: clamp(44px, 4.5vw, 68px);
}

/* Compact system-level iteration evidence */
#logic .bee-cue-system-evolution {
  width: min(100%, 1180px);
  margin: clamp(56px, 5.5vw, 82px) auto 0;
}

#logic .bee-cue-subsection-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 0.72fr);
  gap: 28px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--bee-line-strong);
}

#logic .bee-cue-subsection-heading span {
  color: var(--bee-text);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#logic .bee-cue-subsection-heading p {
  margin: 0;
  color: var(--bee-muted);
  font-size: 15px;
  line-height: 1.55;
}

#logic .bee-cue-evolution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

#logic .bee-cue-evolution-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0;
  align-content: start;
  min-height: 270px;
  padding: 26px 30px 28px 0;
  border-bottom: 1px solid var(--bee-line);
}

#logic .bee-cue-evolution-card:first-child {
  padding-right: 38px;
  border-right: 1px solid var(--bee-line);
}

#logic .bee-cue-evolution-card:last-child {
  padding-left: 38px;
}

#logic .bee-cue-evolution-index {
  color: var(--bee-accent);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

#logic .bee-cue-evolution-label {
  color: var(--bee-text);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

#logic .bee-cue-evolution-flow {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) auto minmax(0, 0.58fr);
  gap: 16px;
  align-items: center;
  margin: 26px 0 18px;
}

#logic .bee-cue-evolution-flow span {
  color: var(--bee-text);
  font-size: clamp(18px, 1.65vw, 25px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.035em;
}

#logic .bee-cue-evolution-flow b {
  color: var(--bee-accent);
  font-size: 21px;
  font-weight: 700;
}

#logic .bee-cue-evolution-card > p {
  grid-column: 2;
  max-width: 470px;
  margin: 0;
  color: var(--bee-muted);
  font-size: 14px;
  line-height: 1.58;
}

/* Outcome evidence remains inside System Logic rather than becoming another section */
#logic .bee-cue-outcome-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 1180px);
  margin: clamp(34px, 3.5vw, 50px) auto 0;
  border-top: 1px solid var(--bee-line-strong);
  border-bottom: 1px solid var(--bee-line);
}

#logic .bee-cue-outcome-strip > div {
  min-height: 126px;
  padding: 22px 26px 22px 0;
}

#logic .bee-cue-outcome-strip > div + div {
  padding-left: 26px;
  border-left: 1px solid var(--bee-line);
}

#logic .bee-cue-outcome-strip strong {
  display: block;
  margin-bottom: 10px;
  color: var(--bee-text);
  font-size: 14px;
  line-height: 1.35;
}

#logic .bee-cue-outcome-strip p {
  margin: 0;
  color: var(--bee-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Backtesting image doubles as the system-outcome evidence */
#logic .bee-cue-backtest-metrics {
  display: grid;
  gap: 12px;
  margin: 22px 0 18px;
}

#logic .bee-cue-captioned-asset figcaption > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--bee-text);
  font-size: 15px;
  line-height: 1.35;
}

#logic .bee-cue-captioned-asset figcaption > p {
  margin: 0;
  color: var(--bee-muted);
  font-size: 14px;
  line-height: 1.58;
}

#logic .bee-cue-backtest-metrics span {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid var(--bee-line);
}

#logic .bee-cue-backtest-metrics b {
  color: var(--bee-text);
  font-size: 21px;
  line-height: 1;
  font-weight: 700;
}

#logic .bee-cue-backtest-metrics em {
  color: var(--bee-muted);
  font-size: 11px;
  line-height: 1.35;
  font-style: normal;
}

#logic .bee-cue-captioned-asset figcaption small {
  display: block;
  color: var(--bee-muted);
  font-size: 11px;
  line-height: 1.5;
}

/* Field evaluation: one real context image + three concise design responses */
#evaluation.case-study-section {
  padding-top: clamp(62px, 6vw, 92px);
  padding-bottom: clamp(74px, 7vw, 108px);
}

#evaluation .bee-cue-evaluation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  gap: clamp(42px, 5vw, 76px);
  align-items: start;
  margin-top: clamp(50px, 5vw, 72px);
}

#evaluation .bee-cue-evaluation-media {
  overflow: visible;
  background: transparent;
}

#evaluation .bee-cue-evaluation-media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

#evaluation .bee-cue-evaluation-media figcaption {
  margin-top: 12px;
  color: var(--bee-muted);
  font-size: 11px;
  line-height: 1.45;
}

#evaluation .bee-cue-evaluation-findings {
  border-top: 1px solid var(--bee-line-strong);
}

#evaluation .bee-cue-evaluation-findings article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--bee-line);
}

#evaluation .bee-cue-evaluation-findings article > span {
  color: var(--bee-accent);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

#evaluation .bee-cue-evaluation-findings strong {
  display: block;
  margin-bottom: 14px;
  color: var(--bee-text);
  font-size: clamp(20px, 1.65vw, 27px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

#evaluation .bee-cue-evaluation-findings p {
  margin: 0 0 8px;
  color: var(--bee-muted);
  font-size: 13px;
  line-height: 1.55;
}

#evaluation .bee-cue-evaluation-findings p:last-child {
  margin-bottom: 0;
}

#evaluation .bee-cue-evaluation-findings p b {
  color: var(--bee-text);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Reflection is intentionally shorter for internship/recruitment review */
#reflection .bee-cue-reflection-grid article {
  grid-template-columns: 446px minmax(0, 760px);
}

@media (max-width: 1024px) {
  #logic .bee-cue-evolution-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  #logic .bee-cue-evolution-flow {
    grid-template-columns: 1fr auto 1.2fr;
    gap: 10px;
  }

  #evaluation .bee-cue-evaluation-grid {
    grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
    gap: 38px;
  }
}

@media (max-width: 768px) {
  #logic .bee-cue-subsection-heading,
  #logic .bee-cue-evolution-grid,
  #logic .bee-cue-outcome-strip,
  #evaluation .bee-cue-evaluation-grid {
    grid-template-columns: 1fr;
  }

  #logic .bee-cue-subsection-heading {
    gap: 9px;
  }

  #logic .bee-cue-evolution-card,
  #logic .bee-cue-evolution-card:first-child,
  #logic .bee-cue-evolution-card:last-child {
    min-height: 0;
    padding: 24px 0 26px;
    border-right: 0;
  }

  #logic .bee-cue-evolution-flow {
    grid-template-columns: minmax(0, 0.42fr) auto minmax(0, 0.58fr);
  }

  #logic .bee-cue-outcome-strip > div,
  #logic .bee-cue-outcome-strip > div + div {
    min-height: 0;
    padding: 18px 0;
    border-left: 0;
    border-bottom: 1px solid var(--bee-line);
  }

  #logic .bee-cue-outcome-strip > div:last-child {
    border-bottom: 0;
  }

  #evaluation .bee-cue-evaluation-grid {
    gap: 36px;
    margin-top: 38px;
  }

  #evaluation .bee-cue-evaluation-findings article {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  #reflection .bee-cue-reflection-grid article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  #logic .bee-cue-evolution-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #logic .bee-cue-evolution-flow b {
    transform: rotate(90deg);
    transform-origin: center;
    justify-self: start;
  }

  #logic .bee-cue-evolution-flow span {
    font-size: 20px;
  }

  #evaluation .bee-cue-evaluation-findings article {
    grid-template-columns: 34px minmax(0, 1fr);
  }
}

/* =========================================================
   From the Pet's Perspective — scoped project page styles
   ========================================================= */
.pets-page {
  --pets-bg: #F7F7F7; /* Shared portfolio background, aligned with Bee Cue */
  --pets-paper: #fbf8eb;
  --pets-surface: #e7ecd7;
  --pets-surface-soft: #eef1df;
  --pets-text: #20241d;
  --pets-muted: #66705f;
  --pets-line: rgba(52, 67, 45, 0.17);
  --pets-line-strong: rgba(52, 67, 45, 0.3);
  --pets-green: #6f8a45;
  --pets-lime: #c7d941;
  --pets-orange: #dfa247;
  --pets-shell: min(1120px, calc(100% - 520px));
  overflow-x: clip;
  background: var(--pets-bg);
  color: var(--pets-text);
}

.pets-page *,
.pets-page *::before,
.pets-page *::after {
  box-sizing: border-box;
}

.pets-page .progress-bar {
  background: var(--pets-green);
}

.pets-page main {
  width: 100%;
  padding-top: 62px;
}

.pets-site-nav {
  min-height: 62px;
  padding: 10px clamp(18px, 7.55vw, 128px);
  background: rgba(247, 247, 247, 0.82);
  box-shadow: none;
}

.pets-site-nav.is-scrolled {
  background: rgba(247, 247, 247, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--pets-line);
}

.pets-site-nav .site-nav-brand,
.pets-site-nav .floating-nav a {
  color: #3f4938;
}

.pets-main-nav {
  grid-template-columns: repeat(5, auto);
  width: min(570px, 48vw);
  gap: clamp(24px, 3.5vw, 54px);
}

.pets-shell {
  width: var(--pets-shell);
  margin-inline: auto;
}

.pets-hero {
  width: 100%;
  padding: 0 0 12px;
}

.pets-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
  width: min(1480px, calc(100% - 96px));
  min-height: min(760px, calc(100vh - 62px));
  align-items: stretch;
  overflow: hidden;
}

.pets-hero__copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 860px;
  padding: clamp(54px, 6vw, 92px) 0;
}

.pets-eyebrow {
  margin: 0 0 16px;
  color: var(--pets-green);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.pets-hero h1 {
  max-width: 860px;
  margin: 0 0 24px;
  color: var(--pets-text);
  font-size: clamp(66px, 6.7vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.068em;
  text-wrap: normal;
}

.pets-hero h2 {
  max-width: 600px;
  margin: 0 0 18px;
  color: var(--pets-text);
  font-size: clamp(26px, 2.25vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.pets-hero__copy > p:not(.pets-eyebrow) {
  max-width: 590px;
  margin: 0;
  color: var(--pets-muted);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.68;
}

.pets-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  background: var(--pets-surface);
}

.pets-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--pets-bg) 0%, rgba(247, 247, 247, 0.94) 31%, rgba(247, 247, 247, 0.35) 57%, rgba(247, 247, 247, 0.03) 100%);
}

.pets-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 73% center;
}

.pets-actions,
.pets-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pets-actions {
  margin-top: 26px;
}

.pets-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid var(--pets-text);
  border-radius: 999px;
  color: var(--pets-text);
  font-size: 13px;
  font-weight: 700;
}

.pets-actions a:first-child {
  background: var(--pets-text);
  color: var(--pets-paper);
}

.pets-tags {
  max-width: 610px;
  margin-top: 24px;
}

.pets-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(232, 236, 215, 0.94);
  color: var(--pets-text);
  font-size: 12.5px;
  font-weight: 700;
}

.pets-anchor-nav {
  position: sticky;
  top: 62px;
  z-index: 30;
  display: flex;
  width: min(1480px, calc(100% - 96px));
  gap: 7px;
  min-height: 65px;
  padding: 12px 0 23px;
  overflow-x: auto;
  border-bottom: 1px solid var(--pets-line);
  background: rgba(247, 247, 247, 0.88);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.pets-anchor-nav::-webkit-scrollbar {
  display: none;
}

.pets-anchor-nav a {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--pets-text);
  font-size: 12.5px;
}

.pets-overview,
.pets-section,
.pets-meta,
.pets-see-also {
  position: relative;
  padding: clamp(64px, 7vw, 108px) 0;
}

.pets-section::before,
.pets-meta::before,
.pets-see-also::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--pets-shell);
  height: 1px;
  background: var(--pets-line);
  transform: translateX(-50%);
}

.pets-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.37fr) minmax(0, 0.63fr);
  gap: 40px;
}

.pets-section-label {
  color: var(--pets-text);
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 700;
}

.pets-overview__content {
  min-width: 0;
}

.pets-lead {
  max-width: 850px;
  margin: 0 0 48px;
  color: var(--pets-text);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.38;
  font-weight: 500;
}

.pets-info-grid {
  border-top: 1px solid var(--pets-line-strong);
}

.pets-info-grid > div,
.pets-reflection-grid article,
.pets-meta-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  padding: 20px 0 19px;
  border-bottom: 1px solid var(--pets-line);
}

.pets-info-grid span,
.pets-reflection-grid span,
.pets-meta-row span {
  color: var(--pets-text);
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 700;
}

.pets-info-grid p,
.pets-reflection-grid p,
.pets-meta-row p {
  margin: 0;
  color: var(--pets-muted);
  font-size: 18px;
  line-height: 1.62;
}

.pets-boundary-note {
  margin-top: 28px;
  padding: 21px 0;
  border-top: 1px solid var(--pets-line-strong);
  border-bottom: 1px solid var(--pets-line);
}

.pets-boundary-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--pets-green);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pets-boundary-note p {
  max-width: 850px;
  margin: 0;
  color: var(--pets-muted);
  font-size: 15px;
  line-height: 1.58;
}

.pets-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-bottom: clamp(42px, 5vw, 70px);
}

.pets-section__intro h2 {
  max-width: 1020px;
  margin: 0 0 18px;
  color: var(--pets-text);
  font-size: 40px;
  line-height: 0.98;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.pets-section__intro p {
  max-width: 900px;
  margin: 0;
  color: var(--pets-muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.66;
}

.pets-wide-media,
.pets-media {
  display: block;
  margin: 0;
  overflow: hidden;
  background: var(--pets-paper);
}

.pets-wide-media img,
.pets-media img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.pets-wide-media--dark {
  background: #30322f;
}

.pets-wide-media--dark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pets-wide-media--paper {
  width: 90%;
  margin-inline: auto;
  padding: 0;
  background: transparent;
}

.pets-wide-media--paper img {
  height: auto;
  object-fit: contain;
}

.pets-media img {
  height: auto;
  object-fit: contain;
}

.pets-media--contain {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  background: transparent;
}

.pets-media--contain img {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.pets-media--light {
  background: #f7f6ef;
}

.pets-outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px 20px;
  margin-top: 22px;
}

.pets-outcome-grid article {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  min-width: 0;
}

.pets-outcome-grid .pets-media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.pets-outcome-grid .pets-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.pets-outcome-grid span,
.pets-process-points span,
.pets-challenge-list span,
.pets-iteration-list span,
.pets-principles > article > span {
  color: var(--pets-green);
  font-size: 11.5px;
  font-weight: 700;
}

.pets-outcome-grid h3,
.pets-principles h3 {
  margin: 7px 0 10px;
  color: var(--pets-text);
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.pets-outcome-grid p,
.pets-principles p,
.pets-challenge-list p,
.pets-process-points p,
.pets-iteration-list p {
  max-width: 620px;
  margin: 0;
  color: var(--pets-muted);
  font-size: 15.5px;
  line-height: 1.62;
}

.pets-challenge-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
  gap: clamp(42px, 5vw, 76px);
  align-items: start;
}

.pets-challenge-visual {
  padding: 0;
  background: transparent;
}

.pets-challenge-list {
  border-top: 1px solid var(--pets-line-strong);
}

.pets-challenge-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 6px 0;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--pets-line);
}

.pets-challenge-list strong {
  color: var(--pets-text);
  font-size: 19px;
}

.pets-challenge-list p {
  grid-column: 2;
}

.pets-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--pets-line-strong);
}

.pets-principles article {
  min-height: 0;
  padding: 26px 28px 30px;
}

.pets-principles article:not(:last-child) {
  border-right: 1px solid var(--pets-line);
}

.pets-principles article:nth-child(1) {
  background: rgba(231, 236, 215, 0.58);
}

.pets-principles article:nth-child(2) {
  background: rgba(251, 251, 250, 0.72);
}

.pets-principles article:nth-child(3) {
  background: rgba(223, 162, 71, 0.08);
}

.pets-research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.pets-research-grid .pets-media {
  margin-inline: auto;
  padding: 0;
  background: transparent;
}

.pets-research-grid img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.pets-research-summary,
.pets-process-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 1px solid var(--pets-line-strong);
}

.pets-research-summary article,
.pets-process-points article {
  padding: 23px 28px 28px 0;
}

.pets-research-summary article:not(:last-child),
.pets-process-points article:not(:last-child) {
  border-right: 1px solid var(--pets-line);
  margin-right: 28px;
}

.pets-research-summary span {
  display: block;
  margin-bottom: 8px;
  color: var(--pets-orange);
  font-size: 13px;
  font-weight: 700;
}

.pets-research-summary p {
  margin: 0;
  color: var(--pets-muted);
  font-size: 15px;
  line-height: 1.58;
}

.pets-process-points strong {
  display: block;
  margin: 8px 0 8px;
  color: var(--pets-text);
  font-size: 20px;
}

.pets-iteration-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(340px, 0.38fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
}

.pets-iteration-visual {
  padding: 0;
  background: transparent;
}

.pets-iteration-list {
  border-top: 1px solid var(--pets-line-strong);
}

.pets-iteration-list article {
  padding: 20px 0 24px;
  border-bottom: 1px solid var(--pets-line);
}

.pets-iteration-list strong {
  display: block;
  margin: 8px 0 8px;
  color: var(--pets-text);
  font-size: 18px;
  line-height: 1.3;
}

.pets-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pets-detail-gallery figure {
  display: grid;
  grid-template-rows: auto auto;
  background: #161816;
}

.pets-detail-gallery img {
  height: auto;
  object-fit: contain;
}

.pets-detail-gallery figcaption {
  padding: 15px 18px 18px;
  background: var(--pets-paper);
  color: var(--pets-muted);
  font-size: 14px;
  line-height: 1.55;
}

.pets-section__header--reflection {
  margin-bottom: 22px;
}

.pets-reflection-grid {
  border-top: 1px solid var(--pets-line-strong);
}

.pets-reflection-grid article {
  grid-template-columns: 250px minmax(0, 820px);
}

.pets-meta {
  margin-top: 88px;
}

.pets-meta-row {
  grid-template-columns: minmax(0, 0.37fr) minmax(0, 0.63fr);
}

.pets-meta-row span,
.pets-meta-row p {
  color: var(--pets-green);
}

.pets-meta-row p {
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.38;
}

.pets-see-also header {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--pets-line);
}

.pets-see-also header span {
  color: var(--pets-muted);
  font-size: 13px;
}

.pets-see-also-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.pets-see-also-list a {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 132px;
  padding: 14px;
  background: rgba(251, 248, 235, 0.55);
  transition: transform 0.25s ease, background 0.25s ease;
}

.pets-see-also-list a:hover {
  transform: translateY(-2px);
  background: var(--pets-paper);
}

.pets-see-also-list img {
  width: 100%;
  height: 104px;
  object-fit: cover;
}

.pets-see-also-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--pets-muted);
  font-size: 12px;
}

.pets-see-also-list strong {
  display: block;
  color: var(--pets-text);
  font-size: clamp(26px, 2.6vw, 42px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.pets-see-also-list b {
  color: var(--pets-green);
  font-size: 30px;
  font-weight: 500;
}

@media (max-width: 1280px) {
  .pets-page {
    --pets-shell: min(100% - 240px, 960px);
  }

  .pets-hero__inner {
    min-height: 670px;
  }

}

@media (max-width: 1024px) {
  .pets-page {
    --pets-shell: min(100% - 48px, 900px);
  }

  .pets-main-nav {
    width: min(560px, 64vw);
    gap: 22px;
  }

  .pets-hero__inner {
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
    min-height: 620px;
  }

  .pets-hero h1 {
    font-size: clamp(56px, 8.5vw, 88px);
  }

  .pets-challenge-layout,
  .pets-iteration-layout {
    grid-template-columns: 1fr;
  }

  .pets-challenge-list,
  .pets-iteration-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 26px;
  }

}

@media (max-width: 768px) {
  .pets-page {
    --pets-shell: min(100% - 32px, 680px);
  }

  .pets-site-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px 16px;
  }

  .pets-main-nav {
    grid-template-columns: repeat(5, auto);
    justify-content: start;
    width: 100%;
    gap: 14px;
    overflow-x: auto;
  }

  .pets-page main {
    padding-top: 92px;
  }

  .pets-anchor-nav {
    width: min(100% - 32px, 680px);
    top: 92px;
  }

  .pets-hero__inner {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 680px);
    min-height: 0;
    padding: 0 0 58px;
  }

  .pets-hero__media {
    position: relative;
    order: -1;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .pets-hero__media::after {
    background: linear-gradient(180deg, rgba(247, 247, 247, 0.04) 55%, var(--pets-bg) 100%);
  }

  .pets-hero__media img {
    object-position: 73% center;
  }

  .pets-hero__copy {
    padding: 30px 0 0;
  }

  .pets-hero h1 {
    font-size: clamp(52px, 15vw, 84px);
  }

  .pets-overview__grid,
  .pets-research-grid {
    grid-template-columns: 1fr;
  }

  .pets-overview__grid {
    gap: 28px;
  }

  .pets-outcome-grid,
  .pets-detail-gallery {
    grid-template-columns: 1fr;
  }

  .pets-principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pets-principles article {
    min-height: 250px;
    padding: 22px 14px 24px;
  }

  .pets-principles h3 {
    font-size: clamp(17px, 4.8vw, 26px);
  }

  .pets-principles p {
    font-size: 13px;
    line-height: 1.48;
  }

  .pets-research-summary,
  .pets-process-points {
    grid-template-columns: 1fr;
  }

  .pets-research-summary article,
  .pets-process-points article {
    padding-right: 0;
    border-bottom: 1px solid var(--pets-line);
  }

  .pets-research-summary article:not(:last-child),
  .pets-process-points article:not(:last-child) {
    margin-right: 0;
    border-right: 0;
  }

  .pets-challenge-list,
  .pets-iteration-list {
    grid-template-columns: 1fr;
  }

  .pets-reflection-grid article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pets-meta {
    margin-top: 0;
  }

  .pets-see-also-list a {
    grid-template-columns: 120px minmax(0, 1fr) auto;
  }
}

@media (max-width: 430px) {
  .pets-page {
    --pets-shell: min(100% - 24px, 390px);
  }

  .pets-hero__inner {
    width: min(100% - 24px, 390px);
  }

  .pets-anchor-nav {
    width: min(100% - 24px, 390px);
    top: 92px;
    min-height: 52px;
    padding: 10px 0 12px;
  }

  .pets-hero h1 {
    font-size: clamp(46px, 14.8vw, 66px);
  }

  .pets-hero h2,
  .pets-section__intro h2 {
    font-size: clamp(28px, 8.6vw, 36px);
  }

  .pets-actions a {
    width: 100%;
  }

  .pets-info-grid > div,
  .pets-meta-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pets-principles article {
    min-height: 220px;
    padding: 18px 7px 20px;
  }

  .pets-principles h3 {
    font-size: clamp(13px, 4vw, 18px);
  }

  .pets-principles p {
    font-size: 10px;
    line-height: 1.35;
  }

  .pets-see-also-list a {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 108px;
    padding: 10px;
  }

  .pets-see-also-list img {
    height: 84px;
  }

  .pets-see-also-list strong {
    font-size: 20px;
  }
}

/* Final mobile readability adjustment for the three design principles */
@media (max-width: 768px) {
  .pets-principles {
    grid-template-columns: 1fr;
  }

  .pets-principles article {
    min-height: 0;
    padding: 28px 0 30px;
    background: transparent !important;
  }

  .pets-principles article:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--pets-line);
  }

  .pets-principles h3 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .pets-principles p {
    max-width: 560px;
    font-size: 15px;
    line-height: 1.58;
  }
}

.pets-site-nav.is-scrolled {
  box-shadow: none;
}

.pets-anchor-nav,
.pets-challenge-list,
.pets-principles,
.pets-research-summary,
.pets-process-points,
.pets-iteration-list,
.pets-reflection-grid,
.pets-see-also header {
  border-top: 0;
  border-bottom: 0;
}

.pets-section::before,
.pets-meta::before,
.pets-see-also::before {
  content: none;
}

.pets-challenge-list article,
.pets-principles article:not(:last-child),
.pets-research-summary article,
.pets-process-points article,
.pets-research-summary article:not(:last-child),
.pets-process-points article:not(:last-child),
.pets-iteration-list article,
.pets-reflection-grid article,
.pets-meta-row {
  border: 0;
}


/* Bee Cue — related projects */
.bee-cue-see-also {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(72px, 7vw, 108px) 0 clamp(88px, 9vw, 136px);
}

.bee-cue-see-also::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--bee-shell);
  height: 1px;
  background: var(--bee-line);
  transform: translateX(-50%);
  pointer-events: none;
}

.bee-cue-see-also header {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--bee-line);
}

.bee-cue-see-also header span {
  color: var(--bee-muted);
  font-size: 13px;
  line-height: 1.35;
}

.bee-cue-see-also-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.bee-cue-see-also-list a {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--bee-line);
  background: rgba(251, 251, 250, 0.58);
  transition: transform 0.25s ease, background 0.25s ease;
}

.bee-cue-see-also-list a:hover {
  transform: translateY(-2px);
  background: #f5f4f1;
}

.bee-cue-see-also-list img {
  width: 100%;
  height: 104px;
  object-fit: cover;
  object-position: center;
}

.bee-cue-see-also-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--bee-muted);
  font-size: 12px;
  line-height: 1.35;
}

.bee-cue-see-also-list strong {
  display: block;
  color: var(--bee-text);
  font-size: clamp(26px, 2.6vw, 42px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.bee-cue-see-also-list b {
  color: var(--bee-accent);
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
}

@media (max-width: 768px) {
  .bee-cue-see-also {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .bee-cue-see-also-list a {
    grid-template-columns: 120px minmax(0, 1fr) auto;
  }
}

@media (max-width: 430px) {
  .bee-cue-see-also {
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .bee-cue-see-also-list a {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 108px;
    padding: 10px;
  }

  .bee-cue-see-also-list img {
    height: 84px;
  }

  .bee-cue-see-also-list strong {
    font-size: 20px;
    line-height: 1.05;
  }

  .bee-cue-see-also-list b {
    font-size: 24px;
  }
}

/* Coralline sanitation case-study page */
.coralline-page {
  --coralline-bg: #F7F7F7;
  --coralline-text: #111111;
  --coralline-muted: #606a6d;
  --coralline-soft: #eaf7fa;
  --coralline-surface: #ffffff;
  --coralline-line: rgba(17, 17, 17, 0.12);
  --coralline-line-strong: rgba(17, 17, 17, 0.22);
  --coralline-blue: #6faee5;
  --coralline-shell: min(1120px, calc(100% - 520px));
  background: var(--coralline-bg);
  color: var(--coralline-text);
}

.coralline-page *,
.coralline-page *::before,
.coralline-page *::after {
  box-sizing: border-box;
}

.coralline-page .progress-bar {
  background: var(--coralline-text);
}

.coralline-site-nav {
  min-height: 62px;
  padding: 10px clamp(18px, 7.55vw, 128px);
  background: rgba(247, 247, 247, 0.78);
  box-shadow: none;
}

.coralline-site-nav.is-scrolled {
  background: rgba(247, 247, 247, 0.84);
  box-shadow: none;
}

.coralline-main-nav {
  grid-template-columns: repeat(5, auto);
  width: min(560px, 46vw);
  gap: clamp(28px, 3.6vw, 58px);
}

.coralline-page main {
  padding-bottom: 110px;
}

.coralline-shell {
  width: var(--coralline-shell);
  margin: 0 auto;
}

.coralline-hero {
  padding: 96px 0 42px;
}

.coralline-hero__inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  width: min(1480px, calc(100% - 96px));
  min-height: calc(100vh - 138px);
  margin: 0 auto;
}

.coralline-hero__copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.coralline-eyebrow {
  margin: 0;
  color: var(--coralline-blue);
  font-size: 0.84rem;
  font-weight: 800;
}

.coralline-hero h1 {
  margin: 0;
  color: var(--coralline-text);
  font-size: clamp(4.2rem, 8vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  font-weight: 800;
  text-transform: uppercase;
}

.coralline-hero h2 {
  max-width: 720px;
  margin: 0;
  color: var(--coralline-text);
  font-size: clamp(2rem, 3.6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 800;
  text-wrap: balance;
}

.coralline-hero__copy > p:not(.coralline-eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--coralline-muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.66;
}

.coralline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.coralline-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(111, 174, 229, 0.34);
  background: rgba(111, 174, 229, 0.08);
  color: var(--coralline-text);
  font-size: 0.82rem;
  font-weight: 800;
}

.coralline-hero__media {
  display: grid;
  place-items: center;
  margin: 0;
  min-width: 0;
  aspect-ratio: auto;
  overflow: visible;
  background: var(--coralline-surface);
}

.coralline-hero__media img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  object-position: center;
}

.coralline-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100%;
  aspect-ratio: inherit;
  background:
    linear-gradient(135deg, rgba(111, 174, 229, 0.16), rgba(255, 255, 255, 0.72)),
    var(--coralline-soft);
  color: rgba(17, 17, 17, 0.46);
}

.coralline-placeholder span {
  font-size: 0.82rem;
  font-weight: 800;
}

.coralline-anchor-nav {
  position: sticky;
  top: 62px;
  z-index: 20;
  display: flex;
  gap: 7px;
  width: min(1480px, calc(100% - 96px));
  min-height: 65px;
  margin: 0 auto 68px;
  padding: 12px 0 23px;
  overflow-x: auto;
  border-bottom: 1px solid var(--coralline-line);
  background: rgba(247, 247, 247, 0.86);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.coralline-anchor-nav::-webkit-scrollbar {
  display: none;
}

.coralline-anchor-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: var(--coralline-text);
  font-size: 12.48px;
  line-height: 1;
  font-weight: 500;
}

.coralline-overview {
  margin-bottom: 74px;
}

.coralline-overview__grid,
.coralline-meta {
  border-top: 1px solid var(--coralline-line-strong);
}

.coralline-overview__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.coralline-overview__grid div,
.coralline-meta-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--coralline-line);
}

.coralline-overview__grid div {
  padding-right: 24px;
}

.coralline-overview__grid span,
.coralline-meta-row span {
  display: block;
  margin-bottom: 8px;
  color: var(--coralline-blue);
  font-size: 0.8rem;
  font-weight: 800;
}

.coralline-overview__grid p,
.coralline-meta-row p {
  margin: 0;
  color: var(--coralline-text);
  font-size: 1rem;
  line-height: 1.48;
  font-weight: 650;
}

.coralline-section {
  padding: 0 0 92px;
}

.coralline-section__header {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: start;
  margin-bottom: 42px;
}

.coralline-section-label {
  color: var(--coralline-text);
  font-size: 0.96rem;
  font-weight: 800;
}

.coralline-section__intro h2 {
  max-width: 920px;
  margin: 0 0 18px;
  color: var(--coralline-text);
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-wrap: balance;
}

.coralline-section__intro p {
  max-width: 760px;
  margin: 0;
  color: var(--coralline-muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.68;
}

.coralline-principles,
.coralline-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.coralline-principles article,
.coralline-outcome-grid article {
  min-width: 0;
}

.coralline-principles span,
.coralline-outcome-grid span,
.coralline-system-list span {
  display: block;
  margin-bottom: 12px;
  color: var(--coralline-blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.coralline-principles h3,
.coralline-outcome-grid h3,
.coralline-system-list h3 {
  margin: 0 0 10px;
  color: var(--coralline-text);
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.coralline-principles p,
.coralline-outcome-grid p,
.coralline-system-list p {
  margin: 0;
  color: var(--coralline-muted);
  line-height: 1.62;
}

.coralline-research-grid,
.coralline-system-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
}

.coralline-media,
.coralline-wide-media {
  display: grid;
  place-items: center;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: transparent;
}

.coralline-media img,
.coralline-wide-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.coralline-media {
  aspect-ratio: 16 / 9;
}

.coralline-media--full {
  aspect-ratio: auto;
  overflow: visible;
}

.coralline-media--full img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.coralline-research-grid.coralline-iteration-stack {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.coralline-iteration-stack .coralline-media {
  width: 100%;
  max-width: 960px;
  aspect-ratio: auto;
  overflow: visible;
}

.coralline-iteration-stack .coralline-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.coralline-media--dark {
  background: transparent;
}

.coralline-wide-media {
  aspect-ratio: 16 / 9;
  margin-top: 28px;
}

.coralline-wide-media--final {
  aspect-ratio: 4 / 3;
}

.coralline-system-list {
  display: grid;
  gap: 30px;
  align-content: center;
}

.coralline-outcome-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coralline-outcome-grid article {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 0;
}

.coralline-outcome-grid .coralline-media {
  margin-bottom: 24px;
}

.coralline-meta {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.coralline-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: 28px;
}

.coralline-meta-row span {
  margin-bottom: 0;
}

.coralline-see-also {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(72px, 7vw, 108px) 0 clamp(88px, 9vw, 136px);
}

.coralline-see-also::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--coralline-shell);
  height: 1px;
  background: var(--coralline-line);
  transform: translateX(-50%);
  pointer-events: none;
}

.coralline-see-also header {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--coralline-line);
}

.coralline-see-also header span {
  color: var(--coralline-muted);
  font-size: 13px;
  line-height: 1.35;
}

.coralline-see-also-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.coralline-see-also-list a {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--coralline-line);
  background: rgba(255, 255, 255, 0.5);
  transition: transform 0.25s ease, background 0.25s ease;
}

.coralline-see-also-list a:hover {
  transform: translateY(-2px);
  background: #f0f0f0;
}

.coralline-see-also-list img {
  width: 100%;
  height: 104px;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.coralline-see-also-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--coralline-muted);
  font-size: 12px;
  line-height: 1.35;
}

.coralline-see-also-list strong {
  display: block;
  color: var(--coralline-text);
  font-size: clamp(26px, 2.6vw, 42px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.coralline-see-also-list b {
  color: var(--coralline-blue);
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
}

@media (max-width: 1280px) {
  .coralline-page {
    --coralline-shell: min(100% - 240px, 960px);
  }

  .coralline-hero__inner {
    grid-template-columns: minmax(260px, 0.4fr) minmax(0, 0.6fr);
  }
}

@media (max-width: 900px) {
  .coralline-page {
    --coralline-shell: min(100% - 32px, 760px);
  }

  .coralline-main-nav {
    width: min(560px, 56vw);
  }

  .coralline-hero__inner,
  .coralline-section__header,
  .coralline-research-grid,
  .coralline-system-layout,
  .coralline-meta-row {
    grid-template-columns: 1fr;
  }

  .coralline-hero__inner,
  .coralline-anchor-nav {
    width: min(100% - 32px, 760px);
    flex-wrap: wrap;
    overflow: visible;
  }

  .coralline-hero__inner {
    min-height: auto;
  }

  .coralline-hero h1 {
    font-size: clamp(3.4rem, 14vw, 6rem);
  }

  .coralline-section__intro h2 {
    font-size: clamp(2rem, 8vw, 40px);
  }

  .coralline-overview__grid,
  .coralline-principles,
  .coralline-outcome-grid,
  .coralline-see-also-list {
    grid-template-columns: 1fr;
  }

  .coralline-overview__grid div {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .coralline-see-also {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .coralline-see-also-list a {
    grid-template-columns: 120px minmax(0, 1fr) auto;
  }
}

@media (max-width: 560px) {
  .coralline-page {
    --coralline-shell: min(100% - 24px, 390px);
  }

  .coralline-site-nav {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px 16px;
  }

  .coralline-main-nav {
    grid-template-columns: repeat(5, auto);
    justify-content: start;
    justify-self: start;
    width: 100%;
    gap: 14px;
    overflow-x: auto;
  }

  .coralline-hero {
    padding-top: 132px;
  }

  .coralline-hero__inner,
  .coralline-anchor-nav {
    width: min(100% - 24px, 390px);
    top: 58px;
    min-height: 52px;
    padding: 10px 0 12px;
  }

  .coralline-see-also {
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .coralline-see-also-list a {
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 108px;
    padding: 10px;
  }

  .coralline-see-also-list img {
    height: 84px;
  }

  .coralline-see-also-list strong {
    font-size: 20px;
    line-height: 1.05;
  }

  .coralline-see-also-list b {
    font-size: 24px;
  }
}

/* Coralline alignment pass: match Pets / Bee Cue case-study rhythm */
.coralline-page {
  --coralline-muted: #66665f;
  --coralline-soft: #edf4f5;
  --coralline-shell: min(1120px, calc(100% - 520px));
}

.coralline-page main {
  padding-bottom: 120px;
}

.coralline-hero {
  padding: 84px 0 40px;
}

.coralline-hero__inner {
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  width: min(1480px, calc(100% - 96px));
  min-height: calc(100vh - 124px);
}

.coralline-hero h1 {
  max-width: 760px;
  font-size: clamp(4.6rem, 8.8vw, 9rem);
}

.coralline-hero h2 {
  max-width: 760px;
}

.coralline-hero__media {
  aspect-ratio: auto;
  background: transparent;
}

.coralline-placeholder {
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(111, 174, 229, 0.1), rgba(247, 247, 247, 0.92)),
    var(--coralline-soft);
}

.coralline-placeholder span {
  color: rgba(17, 17, 17, 0.42);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.coralline-anchor-nav {
  width: min(1480px, calc(100% - 96px));
  gap: 7px;
  min-height: 65px;
  margin-bottom: 76px;
  padding: 12px 0 23px;
  border-bottom: 1px solid var(--coralline-line);
  background: rgba(247, 247, 247, 0.84);
}

.coralline-overview {
  margin-bottom: 92px;
}

.coralline-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(26px, 4vw, 58px);
  border-top: 0;
}

.coralline-overview__content {
  min-width: 0;
  padding-right: 0;
  border-bottom: 0;
}

.coralline-overview__grid .coralline-info-grid {
  padding-right: 0;
  border-bottom: 0;
}

.coralline-lead {
  max-width: 880px;
  margin: 0 0 34px;
  color: var(--coralline-text);
  font-size: clamp(1.7rem, 2.4vw, 2.65rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.coralline-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--coralline-line-strong);
}

.coralline-info-grid div {
  min-width: 0;
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid var(--coralline-line);
}

.coralline-info-grid span,
.coralline-boundary-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--coralline-blue);
  font-size: 0.8rem;
  font-weight: 800;
}

.coralline-info-grid p,
.coralline-boundary-note p {
  margin: 0;
  color: var(--coralline-muted);
  line-height: 1.58;
}

.coralline-boundary-note {
  margin-top: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--coralline-line-strong);
  border-bottom: 1px solid var(--coralline-line);
}

.coralline-overview__grid .coralline-boundary-note {
  padding: 18px 0;
  border-bottom: 1px solid var(--coralline-line);
}

.coralline-section {
  padding-bottom: 104px;
}

.coralline-section__header {
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  margin-bottom: 46px;
}

.coralline-section__intro h2 {
  font-size: 40px;
}

.coralline-wide-media {
  margin-top: 0;
  margin-bottom: 46px;
  aspect-ratio: 16 / 9;
}

.coralline-outcome-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 34px;
}

.coralline-outcome-grid article {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
}

.coralline-outcome-grid article > div {
  min-width: 0;
}

.coralline-outcome-grid .coralline-media {
  margin: 0;
}

.coralline-challenge-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(340px, 0.42fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
}

.coralline-challenge-list,
.coralline-system-list {
  display: grid;
  gap: 30px;
}

.coralline-challenge-list article,
.coralline-system-list article {
  min-width: 0;
}

.coralline-challenge-list span,
.coralline-system-list span {
  display: block;
  margin-bottom: 10px;
  color: var(--coralline-blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.coralline-challenge-list strong,
.coralline-system-list h3 {
  display: block;
  margin: 0 0 10px;
  color: var(--coralline-text);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.coralline-challenge-list p,
.coralline-system-list p {
  max-width: 440px;
  margin: 0;
  color: var(--coralline-muted);
  line-height: 1.62;
}

.coralline-research-grid,
.coralline-system-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.coralline-system-layout.coralline-test-layout {
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
}

.coralline-test-layout .coralline-system-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.coralline-test-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.coralline-test-media-grid .coralline-media {
  width: 100%;
  align-self: start;
  place-items: start center;
}

.coralline-test-layout .coralline-system-list p {
  max-width: 100%;
}

.coralline-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.coralline-process-grid .coralline-media {
  aspect-ratio: 4 / 3;
}

.coralline-meta {
  margin-top: 0;
}

@media (max-width: 1280px) {
  .coralline-page {
    --coralline-shell: min(100% - 240px, 960px);
  }
}

@media (max-width: 900px) {
  .coralline-page {
    --coralline-shell: min(100% - 32px, 760px);
  }

  .coralline-hero__inner,
  .coralline-overview__grid,
  .coralline-section__header,
  .coralline-challenge-layout,
  .coralline-research-grid,
  .coralline-system-layout,
  .coralline-meta-row {
    grid-template-columns: 1fr;
  }

  .coralline-hero__inner,
  .coralline-anchor-nav {
    width: min(100% - 32px, 760px);
  }

  .coralline-info-grid,
  .coralline-outcome-grid,
  .coralline-process-grid,
  .coralline-test-media-grid,
  .coralline-test-layout .coralline-system-list {
    grid-template-columns: 1fr;
  }

  .coralline-lead {
    font-size: clamp(1.55rem, 6vw, 2.4rem);
  }
}

@media (max-width: 560px) {
  .coralline-page {
    --coralline-shell: min(100% - 24px, 390px);
  }

  .coralline-hero__inner,
  .coralline-anchor-nav {
    width: min(100% - 24px, 390px);
  }
}

/* EARMURA interactive narrative / web prototype case-study page */
.earmura-page {
  --earmura-bg: #050505;
  --earmura-surface: #0d0d0d;
  --earmura-text: #f4f4f1;
  --earmura-muted: #b8b8b1;
  --earmura-soft: #d8d8cf;
  --earmura-line: rgba(255, 255, 255, 0.12);
  --earmura-line-strong: rgba(255, 255, 255, 0.24);
  --earmura-accent: #d07a2a;
  --earmura-shell: min(1120px, calc(100% - 520px));
  overflow-x: clip;
  background: var(--earmura-bg);
  color: var(--earmura-text);
}

.earmura-page.detail-page-dark main {
  width: var(--earmura-shell);
}

.earmura-page main {
  padding-top: 62px;
}

.earmura-site-nav {
  min-height: 62px;
  padding: 10px clamp(18px, 7.55vw, 128px);
  background: rgba(5, 5, 5, 0.78);
  box-shadow: none;
}

.earmura-site-nav.is-scrolled {
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(244, 244, 241, 0.08);
}

.earmura-site-nav .site-nav-brand,
.earmura-site-nav .floating-nav a {
  color: rgba(244, 244, 241, 0.78);
}

.earmura-main-nav {
  grid-template-columns: repeat(7, auto);
  width: min(760px, 56vw);
  gap: clamp(20px, 2.8vw, 48px);
}

.earmura-page.detail-page-dark main::before {
  inset: 0 260px;
  background-image:
    linear-gradient(to right, transparent 0, transparent calc(25% - 0.5px), rgba(255, 255, 255, 0.055) calc(25% - 0.5px), rgba(255, 255, 255, 0.055) 25%, transparent 25%, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.055) calc(50% - 0.5px), rgba(255, 255, 255, 0.055) 50%, transparent 50%, transparent calc(75% - 0.5px), rgba(255, 255, 255, 0.055) calc(75% - 0.5px), rgba(255, 255, 255, 0.055) 75%, transparent 75%),
    linear-gradient(to bottom, transparent 0, transparent 143px, rgba(255, 255, 255, 0.04) 143px, rgba(255, 255, 255, 0.04) 144px, transparent 144px);
  opacity: 0.34;
}

.earmura-hero {
  min-height: 88vh;
  background: #050505;
}

.earmura-hero img {
  height: 88vh;
  object-fit: contain;
  object-position: center;
  opacity: 0.74;
}

.earmura-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.02), transparent 0 34%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.78));
  pointer-events: none;
}

.earmura-hero-copy {
  z-index: 2;
  gap: 16px;
}

.earmura-hero-copy p {
  color: rgba(244, 244, 241, 0.76);
  letter-spacing: 0.04em;
}

.earmura-hero-copy h1 {
  color: var(--earmura-text);
  font-size: clamp(4rem, 10vw, 10.5rem);
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.earmura-hero-copy span {
  max-width: 780px;
  color: rgba(244, 244, 241, 0.9);
  font-size: clamp(1.05rem, 1.45vw, 1.42rem);
}

.earmura-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.earmura-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(244, 244, 241, 0.72);
  border-radius: 999px;
  color: var(--earmura-text);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.earmura-hero-actions a:first-child {
  background: var(--earmura-text);
  color: #090909;
}

.earmura-hero-actions a:hover {
  transform: translateY(-2px);
}

.earmura-anchor-nav {
  position: sticky;
  top: 62px;
  z-index: 20;
  display: flex;
  gap: 7px;
  width: min(1480px, calc(100vw - 96px));
  min-height: 65px;
  margin: 0 calc(50% - min(740px, calc(50vw - 48px))) 76px;
  padding: 12px 0 23px;
  overflow-x: auto;
  border-bottom: 1px solid var(--earmura-line);
  background: rgba(5, 5, 5, 0.84);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.earmura-anchor-nav::-webkit-scrollbar {
  display: none;
}

.earmura-anchor-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: var(--earmura-text);
  font-size: 12.48px;
  line-height: 1;
  font-weight: 500;
}

.earmura-overview {
  padding-top: 0;
}

.earmura-page .detail-intro-label,
.earmura-page .case-study-label {
  color: var(--earmura-text);
}

.earmura-page .detail-intro-main > p {
  color: var(--earmura-text);
  font-size: clamp(1.55rem, 2.35vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.earmura-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--earmura-line-strong);
}

.earmura-info-grid div {
  min-width: 0;
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid var(--earmura-line);
}

.earmura-info-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--earmura-accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.earmura-info-grid p {
  margin: 0;
  color: var(--earmura-muted);
  line-height: 1.58;
}

.earmura-page .case-study-section {
  padding: clamp(46px, 5vw, 72px) 0;
  border-top: 1px solid var(--earmura-line);
}

.earmura-page .case-study-body {
  grid-template-columns: minmax(0, 0.64fr) minmax(260px, 0.36fr);
  gap: clamp(28px, 4vw, 58px);
}

.earmura-page .case-study-copy h2 {
  color: var(--earmura-text);
  font-size: clamp(2.25rem, 4.15vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.earmura-page .case-study-copy p,
.earmura-page .detail-gallery-copy p,
.earmura-page .case-study-note p,
.earmura-page .earmura-hierarchy-list p {
  color: var(--earmura-muted);
}

.earmura-page .case-study-link,
.earmura-page .case-study-note,
.earmura-hierarchy-card,
.earmura-metric-strip div {
  border: 1px solid var(--earmura-line);
  background: rgba(255, 255, 255, 0.026);
}

.earmura-page .case-study-link {
  transition: transform 0.25s ease, background 0.25s ease;
}

.earmura-page .case-study-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}

.earmura-outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  margin: clamp(28px, 4vw, 54px) 0 28px;
}

.earmura-outcome-grid figure {
  overflow: hidden;
  background: #0b0b0b;
}

.earmura-outcome-grid figure:first-child {
  grid-column: 1 / -1;
}

.earmura-outcome-grid img,
.earmura-page .detail-gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.earmura-prototype-preview {
  position: relative;
  display: block;
  margin: clamp(28px, 4vw, 54px) 0 28px;
  overflow: hidden;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.earmura-prototype-preview::after {
  content: "Open live site";
  position: absolute;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(244, 244, 241, 0.5);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.68);
  color: var(--earmura-text);
  font-size: 12.48px;
  line-height: 1;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.earmura-prototype-preview figure {
  margin: 0;
  overflow: hidden;
  background: transparent;
}

.earmura-prototype-preview img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.45s ease, opacity 0.32s ease;
}

.earmura-prototype-preview:hover,
.earmura-prototype-preview:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

.earmura-prototype-preview:hover::after,
.earmura-prototype-preview:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.earmura-prototype-preview:hover img,
.earmura-prototype-preview:focus-visible img {
  transform: scale(1.018);
  opacity: 0.92;
}

@media (prefers-reduced-motion: reduce) {
  .earmura-prototype-preview,
  .earmura-prototype-preview::after,
  .earmura-prototype-preview img {
    transition: none;
  }

  .earmura-prototype-preview:hover,
  .earmura-prototype-preview:focus-visible,
  .earmura-prototype-preview:hover img,
  .earmura-prototype-preview:focus-visible img,
  .earmura-prototype-preview:hover::after,
  .earmura-prototype-preview:focus-visible::after {
    transform: none;
  }
}

.earmura-film-embed {
  margin-top: clamp(32px, 4vw, 56px);
  margin-bottom: 0;
}

.earmura-decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
  margin-top: 34px;
  border-top: 1px solid var(--earmura-line-strong);
}

.earmura-decision-grid article {
  min-width: 0;
  padding-top: 22px;
}

.earmura-decision-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--earmura-accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.earmura-decision-grid h3 {
  margin: 0 0 12px;
  color: var(--earmura-text);
  font-size: clamp(1.3rem, 1.65vw, 1.85rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.earmura-decision-grid p {
  margin: 0;
  color: var(--earmura-muted);
  line-height: 1.62;
}

.earmura-page .detail-gallery-split {
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
}

.earmura-page .detail-gallery-copy strong {
  color: var(--earmura-text);
}

.earmura-page .detail-asset-figure {
  background: transparent;
}

.earmura-world-grid {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.earmura-world-grid .detail-asset-figure {
  width: min(100%, 860px);
}

.earmura-page .detail-pills em {
  background: #efefec;
  color: #111;
}

.earmura-page .detail-meta-board {
  border-top-color: var(--earmura-line-strong);
}

.earmura-page .detail-meta-row {
  border-bottom-color: var(--earmura-line);
}

.earmura-page .detail-see-also-card {
  background: rgba(255, 255, 255, 0.026);
}

.earmura-page .detail-see-also-card:hover {
  background: rgba(255, 255, 255, 0.07);
}

.earmura-page .detail-see-also-card img {
  object-fit: cover;
}

@media (max-width: 1280px) {
  .earmura-page {
    --earmura-shell: min(100% - 240px, 960px);
  }

  .earmura-page.detail-page-dark main::before {
    inset: 0 120px;
  }
}

@media (max-width: 900px) {
  .earmura-page {
    --earmura-shell: min(100% - 32px, 760px);
  }

  .earmura-page.detail-page-dark main::before {
    inset: 0 16px;
  }

  .earmura-main-nav {
    grid-template-columns: repeat(7, auto);
    gap: 16px;
    overflow-x: auto;
    width: min(720px, 66vw);
  }

  .earmura-anchor-nav {
    width: min(100% - 32px, 760px);
    margin-right: auto;
    margin-left: auto;
    flex-wrap: wrap;
    overflow: visible;
  }

  .earmura-overview,
  .earmura-page .case-study-body,
  .earmura-page .detail-gallery-split,
  .earmura-page .detail-gallery-split-reverse {
    grid-template-columns: 1fr;
  }

  .earmura-info-grid,
  .earmura-outcome-grid,
  .earmura-decision-grid,
  .earmura-page .detail-gallery-grid,
  .earmura-page .detail-gallery-grid-balanced {
    grid-template-columns: 1fr;
  }

  .earmura-outcome-grid figure:first-child {
    grid-column: auto;
  }

  .earmura-page .problem-research-section .case-study-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .earmura-research-panel {
    grid-template-columns: 1fr;
  }

  .problem-research-graphic img {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .earmura-page {
    --earmura-shell: min(100% - 24px, 390px);
  }

  .earmura-page.detail-page-dark main::before {
    inset: 0 12px;
  }

  .earmura-site-nav {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px 16px;
  }

  .earmura-main-nav {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    justify-self: start;
    width: 100%;
    gap: 10px 16px;
    overflow: visible;
  }

  .earmura-hero {
    min-height: 78vh;
  }

  .earmura-hero img {
    height: 78vh;
  }

  .earmura-hero-copy {
    padding: 28px 18px;
  }

  .earmura-hero-copy p,
  .earmura-hero-copy span {
    display: block;
    width: min(100%, 318px);
    max-width: min(100%, 318px);
  }

  .earmura-hero-copy p {
    font-size: 0.75rem;
    line-height: 1.3;
    text-wrap: balance;
  }

  .earmura-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 14.8vw, 3.75rem);
    letter-spacing: -0.055em;
  }

  .earmura-hero-copy span {
    font-size: 1rem;
    line-height: 1.42;
    text-wrap: balance;
  }

  .earmura-hero-actions a {
    width: min(100%, 270px);
  }

  .earmura-anchor-nav {
    width: min(100% - 24px, 390px);
    top: 58px;
    min-height: 52px;
    padding: 10px 0 12px;
  }

  .earmura-page .detail-intro-main > p {
    font-size: clamp(1.35rem, 8vw, 2rem);
  }

  .earmura-info-grid div {
    padding-right: 0;
  }

  .earmura-page .case-study-copy h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }
}
