/* ==========================================================================
   BANRAY HERO STORY & SECTION SYSTEM (ULTRA-POLISHED)
   ========================================================================== */

#hero.story-hero {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr 1.05fr !important;
  align-items: center !important;
  min-height: 850px;
  min-height: max(780px, 100svh);
  padding: 140px 5% 90px;
  gap: 5%;
  background: #ffefdf;
  isolation: isolate;
}

.hero-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse at 93% 55%, #e6844c 0%, #f6ba83 28%, #ffead5 60%, #fff1e5 85%);
}

#light-flow {
  width: 100%;
  height: 100%;
  opacity: .9;
}

.light-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff1e5 0%, #fff1e5e8 25%, #fff1e500 65%);
}

/* Sales Copy Column */
.story-hero .sales-copy {
  position: relative;
  z-index: 2;
  transform-origin: left center;
}

.story-hero .sales-copy h1 {
  font-size: clamp(56px, 5.8vw, 94px);
  line-height: 1.01;
}

.story-hero .sales-eyebrow {
  display: block !important;
  max-width: 100% !important;
  margin-bottom: 26px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-family: var(--font-1) !important;
  font-size: clamp(20px, 1.85vw, 27px) !important;
  font-weight: 850 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  animation: sales-claim-spring 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both !important;
  transform-origin: left center !important;
}

.eyebrow-accent {
  display: inline !important;
  color: #bf4314 !important;
  background: linear-gradient(135deg, #b83d16 0%, #eb561a 45%, #ff7c24 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(0 2px 10px rgba(184, 61, 22, 0.28)) !important;
  position: relative;
}

.eyebrow-spark {
  display: inline-block;
  color: #eb561a;
  font-size: 0.9em;
  margin-right: 10px;
  vertical-align: 2px;
  animation: spark-pulse 3.2s ease-in-out infinite alternate;
}

@keyframes sales-claim-spring {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.05);
  }
  80% {
    transform: translateY(1.5px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spark-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.85; }
  50% { transform: scale(1.28) rotate(18deg); opacity: 1; filter: drop-shadow(0 0 8px rgba(235, 86, 26, 0.65)); }
}

.story-hero .sales-lede {
  max-width: 24em;
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 1.4;
}

.story-hero .sales-detail {
  max-width: 28em;
  font-size: 15px;
  color: #70513e;
}

.story-hero .sales-footnote {
  color: #79513c;
}

/* --- ROLE THEATRE --- */
.role-theatre {
  position: relative;
  height: 660px;
  min-height: 640px;
  min-width: 0;
  perspective: 1000px;
  z-index: 1;
  --role-ink: #54280f;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.theatre-depth {
  position: absolute;
  inset: -10% -15%;
  pointer-events: none;
}

.depth-shard {
  position: absolute;
  display: block;
  width: 210px;
  height: 380px;
  border-radius: 48% 48% 46% 45%;
  background: linear-gradient(120deg, #fff9df03 15%, #fffbea77 45%, #fffaf213 56%, #a9471512 85%);
  border-left: 1px solid #fff9d5ad;
  box-shadow: 18px 26px 50px #a4491510;
  transform: rotate(28deg);
  animation: shard-drift 13s ease-in-out infinite alternate;
}

.shard-one { left: 18%; top: 12%; }
.shard-two { width: 120px; height: 310px; right: 0; top: 28%; transform: rotate(-24deg); animation-delay: -7s; opacity: .6; }

.depth-dust {
  position: absolute;
  width: 8px;
  height: 8px;
  left: 18%;
  top: 54%;
  border-radius: 50%;
  background: #fff8d6;
  box-shadow: 140px -180px 0 -2px #fff6db, 260px -35px 0 -1px #fff9e9, 40px 135px 0 -1px #c76c35, 300px 170px 0 -2px #fff;
  animation: dust-drift 9s ease-in-out infinite alternate;
}

.role-scenes {
  position: relative;
  flex: 1 1 auto;
  min-height: 560px;
  transform-style: preserve-3d;
}

.role-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  display: none;
  transform: translate3d(20px, 20px, -30px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}

.role-scene.is-active {
  opacity: 1;
  visibility: visible;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transform: translate3d(0, 0, 0) rotate(0deg);
  pointer-events: auto;
  padding: 10px 0 20px;
  box-sizing: border-box;
}

/* Zone 1: Question */
.role-question {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  display: flex;
  gap: 16px;
  align-items: center;
  animation: question-drift 6s ease-in-out infinite alternate;
  transform-origin: left center;
  margin-bottom: 12px;
}

.role-question p {
  font-size: clamp(23px, 2.35vw, 34px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.035em;
  max-width: 18em;
  margin: 0;
  color: #451c09;
  text-wrap: balance;
}

/* Role-specific signals: no question bubble. */
.role-signal { display: inline-flex; flex: 0 0 46px; height: 46px; align-items: center; justify-content: center; color: #c34b1b; filter: drop-shadow(0 5px 5px #bc591c30); }
.role-signal svg { width: 40px; height: 40px; }
.role-scene.is-active .role-signal { animation: signal-arrive 850ms cubic-bezier(.2,.8,.2,1) both, signal-lift 3.2s 850ms ease-in-out infinite; }
.role-scene.is-active .role-question p { animation: prompt-arrive 750ms 120ms cubic-bezier(.2,.8,.2,1) both; }
.prompt-punch { display: inline-block; color: #b84619; }
.role-scene.is-active .prompt-punch { animation: prompt-punch 650ms 650ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes signal-arrive { from { opacity: 0; transform: translateY(12px) rotate(-22deg) scale(.65); } to { opacity: 1; transform: none; } }
@keyframes signal-lift { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(5deg); } }
@keyframes prompt-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes prompt-punch { from { opacity: 0; transform: translateY(7px) scale(.94); } to { opacity: 1; transform: none; } }

/* Zone 2: Role Answer */
.role-answer {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  animation: answer-drift 7s ease-in-out infinite alternate;
  margin: 10px 0 auto;
}

.role-intro {
  font-family: var(--font-2);
  font-size: 13px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #8c3e16;
  margin-bottom: 20px;
  font-weight: 700;
  display: block;
}

.role-answer h2 {
  font-family: var(--font-1);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: 0.015em;
  font-size: clamp(50px, 5.8vw, 86px);
  margin: 0;
  display: inline-block;
  transform-origin: left center;
  animation: role-bouncy-zoom 4.8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite alternate;
  will-change: transform, filter;
  filter: drop-shadow(0 6px 18px rgba(135, 52, 18, 0.22));
}

/* First word pure white with subtle, elegant drop shadow; second word rich warm amber */
.role-word-top {
  display: inline-block;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  letter-spacing: 0.025em;
  text-shadow: 0 3px 12px rgba(24, 12, 6, 0.42), 0 1px 3px rgba(24, 12, 6, 0.65);
  filter: none !important;
}

.role-word-bot {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, #ffeedc 25%, #ffa652 65%, #ea6318 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #ffa652 !important;
  letter-spacing: 0.02em;
  filter: drop-shadow(0 3px 10px rgba(24, 12, 6, 0.38)) !important;
}

.role-promise {
  font-family: var(--font-2);
  font-size: clamp(18px, 1.65vw, 22px);
  font-weight: 550;
  line-height: 1.45;
  max-width: 25em;
  margin: 54px 0 0;
  color: #4a2410;
}

.promise-line-1 {
  display: block;
  font-weight: 650;
  color: #3f1908;
  letter-spacing: -0.01em;
}

.promise-line-2 {
  display: block;
  color: #834421;
  font-size: 0.94em;
  margin-top: 3px;
}

/* Zone 3: Capabilities */
.role-capabilities {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 10px 12px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  max-width: 520px;
}

.role-capabilities li {
  font-family: var(--font-2);
  font-size: 13.5px;
  font-weight: 650;
  padding: 9px 18px;
  color: #441e0a;
  background: rgba(255, 248, 238, 0.96);
  border: 1.5px solid rgba(255, 175, 110, 0.7);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(160, 60, 15, 0.12);
  animation: label-drift 5s ease-in-out infinite alternate;
}

.role-capabilities li:nth-child(2){animation-delay:-1.2s}
.role-capabilities li:nth-child(3){animation-delay:-2.4s}
.role-capabilities li:nth-child(4){animation-delay:-3.6s}
.role-capabilities li:nth-child(5){animation-delay:-4.8s}

.theatre-caption {
  position: relative;
  margin: 18px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: #7d4d2e;
  letter-spacing: .2px;
}

/* Animations */
@keyframes question-drift { from { transform: translate3d(-3px, 0, 0); } to { transform: translate3d(3px, -5px, 0); } }
@keyframes answer-drift { from { transform: translate3d(0, 3px, 0); } to { transform: translate3d(0, -3px, 0); } }
@keyframes label-drift { to { transform: translateY(-4px); } }
@keyframes shard-drift { to { transform: translate3d(22px, -25px, 0) rotate(38deg); } }
@keyframes dust-drift { to { transform: translate(15px, -20px); } }

@keyframes role-bouncy-zoom {
  0% {
    transform: scale(0.97) translateY(0);
    filter: drop-shadow(0 2px 4px rgba(90, 30, 10, 0.3)) drop-shadow(0 0 10px rgba(255, 140, 50, 0.45));
  }
  50% {
    transform: scale(1.04) translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(90, 30, 10, 0.35)) drop-shadow(0 0 18px rgba(255, 150, 60, 0.75));
  }
  100% {
    transform: scale(0.98) translateY(1px);
    filter: drop-shadow(0 2px 4px rgba(90, 30, 10, 0.3)) drop-shadow(0 0 12px rgba(255, 140, 50, 0.5));
  }
}

/* Hero Headline: Fall & Impact */
.title-falling-line {
  display: inline-block;
  animation: headline-fall 1.25s cubic-bezier(0.18, 0.89, 0.32, 1.28) 0.3s backwards;
  transform-origin: center bottom;
}

.word-more,
.word-less {
  color: var(--color-1) !important;
}

.word-business {
  display: inline-block;
  color: #bd4e25;
  animation: business-color-settle 1.4s cubic-bezier(0.2, 0.9, 0.3, 1) 0.3s forwards;
}

.title-target-line {
  display: inline-block;
}

.word-busywork {
  display: inline-block;
  color: var(--color-1);
  transform-origin: left center;
  animation: busywork-collision-pop 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

@keyframes headline-fall {
  0% { transform: translateY(-85px) rotate(-3deg); opacity: 0; }
  60% { transform: translateY(6px) rotate(1deg); opacity: 1; }
  80% { transform: translateY(-4px) rotate(-0.5deg); }
  100% { transform: translateY(0) rotate(0deg); opacity: 1; }
}

@keyframes business-color-settle {
  0%, 55% { color: #e6511a; }
  75% { color: #7b3318; }
  100% { color: var(--color-1); }
}

@keyframes busywork-collision-pop {
  0%, 55% { color: var(--color-1); transform: scale(1); }
  60% { transform: scale(1.14) translateY(2px); color: #e6511a; }
  78% { transform: scale(0.98) translateY(-1px); color: #bd4e25; }
  100% { transform: scale(1.02) translateY(0); color: #bd4e25; }
}

/* ==========================================================================
   WHERE WORK GETS STUCK (#work): MASSIVE PUNCHY HEADLINES & CRISP VISIBILITY
   ========================================================================== */
#work .case {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  background: #28170e !important;
  border: 1px solid rgba(255, 230, 200, 0.22) !important;
  box-shadow: 0 20px 50px rgba(40, 20, 10, 0.25) !important;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease !important;
}

#work .case:hover {
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: 0 28px 65px rgba(230, 85, 25, 0.22) !important;
}

#work .case__media {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

#work .case__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: blur(2.5px) brightness(0.85) saturate(1.15) !important;
  transform: scale(1.05) !important;
  transition: filter 0.4s ease, transform 0.4s ease !important;
}

#work .case:hover .case__img {
  filter: blur(1.5px) brightness(0.9) saturate(1.2) !important;
  transform: scale(1.02) !important;
}

/* Smooth gradient overlay that leaves photo clear while keeping text intensely readable */
#work .case__media::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(20, 10, 5, 0.6) 0%, rgba(20, 10, 5, 0.2) 42%, rgba(15, 8, 4, 0.78) 100%) !important;
}

/* Card Content Overlay: Placed cleanly on top with z-index 10 */
#work .case__text {
  position: absolute !important;
  inset: 0 !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: clamp(26px, 3.6vw, 44px) !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

/* Top half: Problem Statement Header */
.case__problem-header {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
  padding-bottom: 20px !important;
}

#work .case__name {
  font-family: var(--font-1) !important;
  font-size: clamp(38px, 4.4vw, 64px) !important;
  font-weight: 850 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em !important;
  color: #ffffff !important;
  margin: 0 !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.75), 0 2px 4px rgba(0, 0, 0, 0.85) !important;
  max-width: 100% !important;
  display: block !important;
}

.case__name-line {
  display: inline-block !important;
  color: #ffffff !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.85) !important;
}

.case__name-line--accent {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85), 0 0 16px rgba(255, 255, 255, 0.5) !important;
  letter-spacing: -0.04em !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) !important;
}

.case__name--slide-left {
  animation: card-bounce-left 5.2s cubic-bezier(0.34, 1.45, 0.64, 1) infinite alternate !important;
  will-change: transform;
}

.case__name--slide-right {
  animation: card-drift-right 5.2s cubic-bezier(0.34, 1.45, 0.64, 1) infinite alternate !important;
  will-change: transform;
}

@keyframes card-bounce-left {
  0% { transform: translateX(-10px) rotate(-0.5deg); }
  50% { transform: translateX(0px) rotate(0deg); }
  100% { transform: translateX(8px) rotate(0.4deg); }
}

@keyframes card-drift-right {
  0% { transform: translateX(10px) rotate(0.5deg); }
  50% { transform: translateX(0px) rotate(0deg); }
  100% { transform: translateX(-8px) rotate(-0.4deg); }
}

/* Bottom half: Solution Narrative & Details */
.case__solution-body {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding-top: 20px !important;
}

.case__narrative {
  font-family: var(--font-1) !important;
  font-size: clamp(21px, 2vw, 28px) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #fffaf4 !important;
  margin: 0 !important;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.8) !important;
}

/* Broken completely out of containers/pills: large, free-flowing, soothing sea-glass mint/teal */
.role-highlight {
  display: block !important;
  margin-top: 6px !important;
  font-family: var(--font-1) !important;
  font-size: clamp(24px, 2.3vw, 34px) !important;
  font-weight: 850 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  color: #4ee0c6 !important;
  background: linear-gradient(135deg, #ffffff 0%, #a8f5e5 45%, #3ddabf 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(0 2px 14px rgba(62, 222, 194, 0.45)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8)) !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  background-color: transparent !important;
}

.role-highlight::before {
  display: none !important;
}

#work .case__line {
  font-family: var(--font-2) !important;
  font-size: clamp(14px, 1.15vw, 16px) !important;
  line-height: 1.55 !important;
  color: #f5e4d7 !important;
  margin: 0 !important;
  max-width: 32em !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9) !important;
}

/* ==========================================================================
   RESPONSIVE LAYOUT BREAKPOINTS
   ========================================================================== */
@media(min-width: 1450px) {
  .role-theatre { max-width: 650px; width: 100%; margin: auto; }
  .role-answer h2 { font-size: 88px; }
}

@media(max-width: 1050px) and (min-width: 761px) {
  #hero.story-hero { gap: 3%; padding-inline: 4%; min-height: 800px; }
  .role-theatre { height: 600px; }
  .role-scenes { min-height: 500px; }
  .role-answer h2 { font-size: 5.6vw; }
  .role-question p { font-size: 24px; }
}

/* Mobile Viewport: Single column, clear vertical flow with spacious layout */
@media(max-width: 760px) {
  #hero.story-hero {
    padding: 110px 6% 60px !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .story-hero .sales-copy {
    display: block !important;
    width: 100% !important;
    margin-bottom: 50px !important;
  }

  .story-hero .sales-copy h1 {
    font-size: clamp(44px, 12.2vw, 74px);
    margin-bottom: 22px;
  }

  .story-hero .sales-eyebrow {
    font-size: 16px !important;
    padding: 0 !important;
    margin-bottom: 18px !important;
    max-width: 100% !important;
  }

  .story-hero .sales-lede {
    font-size: 20px;
    max-width: 20em;
    margin-bottom: 15px;
  }

  .story-hero .sales-detail {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .story-hero .sales-footnote {
    font-size: 11px;
    margin-top: 18px;
  }

  .story-hero .sales-actions {
    gap: 16px;
  }

  .story-hero .sales-actions .m-btn {
    font-size: 13px;
    padding: 15px 20px;
  }

  .story-hero .sales-link {
    font-size: 12px;
  }

  /* Role Theatre on mobile: positioned cleanly below hero copy with ample height and flex spacing */
  .role-theatre {
    position: relative !important;
    width: 100% !important;
    max-width: 480px !important;
    height: auto !important;
    min-height: 720px !important;
    margin: 30px auto 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding-top: 20px !important;
  }

  .role-scenes {
    position: relative !important;
    height: auto !important;
    min-height: 650px !important;
    flex: 1 1 auto !important;
  }

  .role-scene {
    position: absolute !important;
    inset: 0 !important;
  }

  .role-scene.is-active {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    padding: 14px 0 24px !important;
  }

  .role-question {
    gap: 14px !important;
    margin-bottom: 24px !important;
  }

  .role-signal {
    flex: 0 0 42px !important;
    height: 42px !important;
    font-size: 22px !important;
  }

  .role-question p {
    font-size: 22px !important;
    max-width: 14em !important;
    line-height: 1.25 !important;
  }

  .role-answer {
    margin: 10px 0 auto !important;
  }

  .role-intro {
    font-size: 11.5px !important;
    letter-spacing: 1.8px !important;
    margin-bottom: 14px !important;
  }

  .role-answer h2 {
    font-size: clamp(48px, 13vw, 68px) !important;
    line-height: 0.98 !important;
    letter-spacing: 0.015em !important;
    filter: drop-shadow(0 5px 14px rgba(135, 52, 18, 0.22)) !important;
  }

  .role-promise {
    font-size: 18px !important;
    line-height: 1.45 !important;
    margin-top: 48px !important;
    color: #4a2410 !important;
  }

  .role-capabilities {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 10px 10px !important;
    margin-top: 24px !important;
  }

  .role-capabilities li {
    font-size: 12.5px !important;
    padding: 8px 15px !important;
  }

  .theatre-caption {
    font-size: 12px;
    margin-top: 20px;
    text-align: left;
  }
}

/* Dedicated Mobile Card Redesign: Huge text that fills the taller vertical mobile cards */
@media(max-width: 767px) {
  #work .case__text {
    padding: 28px 22px 24px !important;
  }

  .case__problem-header {
    flex: 1 1 auto !important;
    padding-bottom: 18px !important;
    justify-content: flex-start !important;
  }

  #work .case__name {
    font-size: clamp(34px, 9.5vw, 44px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.045em !important;
  }

  .case__name-line {
    display: inline-block !important;
    margin-bottom: 2px !important;
  }

  .case__solution-body {
    padding-top: 16px !important;
    gap: 10px !important;
  }

  .case__narrative {
    font-size: 19px !important;
    line-height: 1.35 !important;
  }

  .role-highlight {
    font-size: clamp(22px, 6vw, 27px) !important;
    margin-top: 5px !important;
  }

  #work .case__line {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
  }
}

/* Haute Horlogerie / Ultra-Luxury Minimal Tech Logo */
.haute-logo-brand {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 48px;
  padding: 8px 22px !important;
  background: rgba(255, 248, 239, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 20px rgba(116, 67, 28, 0.12), inset 0 1px 0 #ffffff !important;
  text-decoration: none;
  backdrop-filter: blur(18px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.haute-logo-brand:hover {
  transform: translateY(-1px);
  border-color: rgba(230, 81, 26, 0.35) !important;
  box-shadow: 0 8px 26px rgba(189, 78, 37, 0.18), inset 0 1px 0 #ffffff !important;
}

.brand-logo-img {
  display: block !important;
  height: 27px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 1px 2px rgba(80, 40, 15, 0.12));
  transition: transform 0.25s ease;
}

.haute-logo-brand:hover .brand-logo-img {
  transform: scale(1.02);
}

@media(max-width: 760px) {
  .haute-logo-brand {
    padding: 6px 14px !important;
    min-height: 40px !important;
  }
  .haute-logo-brand .brand-logo-img {
    height: 22px !important;
  }
}

/* Statement Section: A smaller starting point in radiant orange */
.statement-orange-highlight {
  color: #c7481b !important;
  background: linear-gradient(135deg, #bd4e25 0%, #e6511a 60%, #ff8533 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Performance Optimizations: hardware-acceleration */
.story-hero, .role-theatre, .capabilities__deck, .service, .again__wheel, .case {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-paused .role-signal, .hero-paused .role-question p, .hero-paused .prompt-punch { animation: none !important; }
.hero-offscreen .role-signal, .hero-offscreen .role-question p, .hero-offscreen .prompt-punch { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .role-signal, .role-question p, .prompt-punch { animation: none !important; } }

.role-scenes { touch-action: pan-y pinch-zoom; user-select: none; cursor: grab; }
.role-scenes:active { cursor: grabbing; }
.role-scenes:focus-visible { outline: none; }
.role-theatre:has(.role-scenes:focus-visible) .role-navigation button { border-bottom-color: #a84420; border-bottom-width: 2px; }
.role-scene.is-active { animation: role-swipe-enter 550ms cubic-bezier(.16,1,.3,1) both; }
@keyframes role-swipe-enter { from { opacity: 0; transform: translate3d(var(--role-enter,36px),0,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
.role-navigation { display:flex; align-items:center; justify-content:space-between; gap:16px; position:relative; z-index:3; }
.role-navigation .theatre-caption { margin:0; position:static; }
.role-navigation button { border:0; border-bottom:1px solid #b9583450; border-radius:0; background:transparent; color:#a84420; padding:8px 12px; min-width:44px; min-height:44px; font-size:26px; cursor:pointer; }
.role-navigation button:focus-visible { outline:2px solid #a84420; outline-offset:3px; }
@media(prefers-reduced-motion:reduce) { .role-scene.is-active { animation:none; } }
