/* ==========================================================================
   Croxx Media — Interactive UI Components
   ========================================================================== */

/* Buttons & Magnetic Pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.92rem 1.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background-color 0.35s var(--ease-out-expo),
    border-color 0.35s var(--ease-out-expo),
    color 0.35s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo),
    transform 0.35s var(--ease-out-expo);
  will-change: transform;
}

.btn--sm {
  padding: 0.62rem 1.2rem;
  font-size: 0.8rem;
}

.btn--gold {
  background-color: var(--gold);
  color: var(--oxblood-deep);
}

.btn--gold:hover {
  background-color: var(--gold-bright);
  box-shadow: 0 12px 32px -10px rgba(207, 180, 132, 0.45);
}

.btn--oxblood {
  background-color: var(--oxblood);
  color: var(--cream);
}

.btn--oxblood:hover {
  background-color: var(--oxblood-elevated);
  box-shadow: 0 14px 32px -12px rgba(39, 7, 17, 0.42);
}

.btn--ghost-light {
  background-color: rgba(246, 241, 233, 0.04);
  border-color: rgba(207, 180, 132, 0.34);
  color: var(--cream);
}

.btn--ghost-light:hover {
  background-color: rgba(207, 180, 132, 0.12);
  border-color: var(--gold);
}

.btn--ghost-dark {
  background-color: transparent;
  border-color: var(--hairline-light);
  color: var(--oxblood);
}

.btn--ghost-dark:hover {
  border-color: var(--oxblood);
  background-color: rgba(39, 7, 17, 0.05);
}

/* Header smart adaptive pill button */
.site-header[data-header-theme="light"] .header-cta {
  background-color: var(--oxblood);
  color: var(--cream);
}

.site-header[data-header-theme="light"] .header-cta:hover {
  background-color: var(--oxblood-elevated);
}

.btn__arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease-out-expo);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* Hero Lighting Mood Selector */
.studio-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.studio-controls__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.mood-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  background-color: rgba(21, 3, 8, 0.55);
  border: 1px solid rgba(207, 180, 132, 0.16);
}

.mood-pill {
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.38rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--caption-light);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mood-pill:hover {
  color: var(--cream);
}

.mood-pill.is-active {
  background-color: var(--gold);
  color: var(--oxblood-deep);
}

.hero__telemetry {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caption-light);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulseSoft 2.6s ease-in-out infinite;
}

@keyframes pulseSoft {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ==========================================================================
   Hero Flowing Graphic Stickers Pill
   ========================================================================== */
.hero-sticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  max-width: 100%;
  padding: 0.52rem 1rem 0.52rem 0.62rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(246, 241, 233, 0.08), rgba(14, 10, 20, 0.82));
  border: 1px solid rgba(207, 180, 132, 0.34);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #faf5ec;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}

.hero-sticker-pill:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 28px -10px rgba(207, 180, 132, 0.32);
}

.hero-sticker-pill:hover .hero-sticker-track {
  animation-play-state: paused;
}

.hero-sticker-stamps {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.hero-stamp {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.86rem;
  line-height: 1;
  border: 1.5px solid #08060c;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}

.hero-stamp + .hero-stamp {
  margin-left: -8px;
}

.hero-stamp--coral {
  background: linear-gradient(145deg, #f18367, var(--accent-coral));
  transform: rotate(-8deg);
  animation: stampBobA 3.4s ease-in-out infinite;
}

.hero-stamp--amber {
  background: linear-gradient(145deg, #f9cc78, var(--accent-amber));
  transform: rotate(5deg) translateY(-1px);
  animation: stampBobB 3.8s ease-in-out -1.1s infinite;
}

.hero-stamp--emerald {
  background: linear-gradient(145deg, #4cd3b2, var(--accent-emerald));
  transform: rotate(-5deg);
  animation: stampBobA 3.6s ease-in-out -2.2s infinite;
}

@keyframes stampBobA {
  0%, 100% { transform: translateY(0) rotate(-7deg); }
  50% { transform: translateY(-3px) rotate(-3deg); }
}

@keyframes stampBobB {
  0%, 100% { transform: translateY(-1px) rotate(5deg); }
  50% { transform: translateY(2px) rotate(9deg); }
}

.hero-sticker-viewport {
  height: 22px;
  overflow: hidden;
  display: block;
}

.hero-sticker-track {
  display: flex;
  flex-direction: column;
  animation: stickerCycle 12s var(--ease-out-expo) infinite;
}

.hero-sticker-item {
  height: 22px;
  line-height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cream);
  white-space: nowrap;
}

.hero-sticker-item i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-sticker-arrow {
  font-size: 0.84rem;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.hero-sticker-pill:hover .hero-sticker-arrow {
  transform: translate(2px, -2px);
}

@keyframes stickerCycle {
  0%, 14% { transform: translateY(0); }
  20%, 34% { transform: translateY(-22px); }
  40%, 54% { transform: translateY(-44px); }
  60%, 74% { transform: translateY(-66px); }
  80%, 94% { transform: translateY(-88px); }
  100% { transform: translateY(-110px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stamp,
  .hero-sticker-track {
    animation: none;
  }
}

/* ==========================================================================
   Thesis Metric Cards
   ========================================================================== */
.metric-card {
  position: relative;
  overflow: hidden;
  background-color: var(--sand);
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-md);
  padding: 1.65rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: transform 0.45s var(--ease-out-expo), border-color 0.35s ease, box-shadow 0.45s ease;
}

.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0.78;
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-dark);
  box-shadow: 0 18px 42px -18px rgba(39, 7, 17, 0.22);
}

.metric-card__value {
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--oxblood);
}

.metric-card__label {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--caption-dark);
}

.benchmark-note {
  margin-top: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--caption-dark);
  opacity: 0.8;
}

.founder-contact-card {
  margin-top: 1.35rem;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(54, 11, 24, 0.72), rgba(21, 3, 8, 0.88));
  border: 1px solid rgba(207, 180, 132, 0.28);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.founder-contact-card__top {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.founder-end-card__frame {
  position: relative;
  flex-shrink: 0;
  width: 108px;
  height: 128px;
  border-radius: 54px 54px 16px 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #e7dac2 0%, #b5915b 72%, #3a0c1b 100%);
  border: 1px solid rgba(228, 201, 152, 0.48);
  box-shadow: 0 12px 28px rgba(10, 2, 5, 0.45);
}

.founder-end-card__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 56%, rgba(30, 5, 13, 0.72) 100%);
}

.founder-end-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transform: scale(1.16);
  filter: contrast(1.04) sepia(0.08);
  transition: transform 0.6s var(--ease-out-expo);
}

.founder-contact-card:hover .founder-end-card__photo {
  transform: scale(1.2);
}

.founder-end-card__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.founder-end-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.founder-end-card__name {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}

.founder-end-card__role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.founder-end-card__bio {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  line-height: 1.48;
  color: var(--caption-light);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  background-color: rgba(42, 184, 149, 0.14);
  border: 1px solid rgba(42, 184, 149, 0.32);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: #7df2d2;
  white-space: nowrap;
}

.founder-contact-card__channels {
  padding-top: 1rem;
  border-top: 1px solid rgba(207, 180, 132, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.channel-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn--emerald-outline {
  background-color: rgba(42, 184, 149, 0.14);
  border: 1px solid rgba(42, 184, 149, 0.45);
  color: #88f6da;
}

.btn--emerald-outline:hover {
  background-color: rgba(42, 184, 149, 0.24);
  border-color: rgba(125, 242, 210, 0.72);
  color: #ffffff;
}

.btn--instagram {
  background: linear-gradient(135deg, rgba(232, 106, 74, 0.16), rgba(184, 61, 113, 0.2));
  border: 1px solid rgba(232, 106, 74, 0.44);
  color: #ffd0c2;
  gap: 0.4rem;
}

.btn--instagram:hover {
  background: linear-gradient(135deg, rgba(232, 106, 74, 0.28), rgba(184, 61, 113, 0.34));
  border-color: rgba(242, 180, 75, 0.65);
  color: #ffffff;
}

.slot-picker {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(207, 180, 132, 0.12);
}

.slot-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  color: var(--caption-light);
}

.slot-picker__hint {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: #88f6da;
}

.slot-picker__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.slot-pill {
  padding: 0.42rem 0.72rem;
  border-radius: 10px;
  font-size: 0.76rem;
  border: 1px solid rgba(207, 180, 132, 0.24);
  background-color: rgba(246, 241, 233, 0.04);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.22s var(--ease-out-expo);
}

.slot-pill:hover {
  border-color: var(--gold);
}

.slot-pill.is-active {
  border-color: #2ab895;
  background-color: rgba(42, 184, 149, 0.18);
  color: #88f6da;
  font-weight: 600;
}

/* ==========================================================================
   Work Filter Pills & Case Study Cards
   ========================================================================== */
.filter-pill {
  background: transparent;
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--caption-dark);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.filter-pill:hover {
  border-color: var(--oxblood);
  color: var(--oxblood);
}

.filter-pill.is-active {
  background-color: var(--oxblood);
  border-color: var(--oxblood);
  color: var(--cream);
}

/* Service Tab Spotlight Data Panel */
.tab-spotlight {
  margin-bottom: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #270711 0%, #3b0d1d 100%);
  color: var(--cream);
  border: 1px solid rgba(207, 180, 132, 0.25);
  box-shadow: var(--shadow-editorial);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.75rem;
  align-items: center;
  animation: spotlightIn 0.45s var(--ease-out-expo);
}

.tab-spotlight[hidden] {
  display: none;
}

@keyframes spotlightIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-spotlight__headline {
  margin: 0.45rem 0 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--cream);
}

.tab-spotlight__summary {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--caption-light);
}

.tab-spotlight__stack {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.tab-spotlight__right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tab-spotlight__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.tab-kpi-box {
  background-color: rgba(246, 241, 233, 0.06);
  border: 1px solid rgba(207, 180, 132, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.75rem;
}

.tab-kpi-box strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1.1;
}

.tab-kpi-box span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.73rem;
  line-height: 1.35;
  color: var(--caption-light);
}

.tab-spotlight__deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tab-spotlight__deliverables span {
  font-size: 0.74rem;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  background-color: rgba(207, 180, 132, 0.12);
  border: 1px solid rgba(207, 180, 132, 0.28);
  color: var(--cream);
}

@media (max-width: 900px) {
  .tab-spotlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .tab-spotlight__kpis {
    grid-template-columns: 1fr;
  }
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  cursor: pointer;
  transition: opacity 0.45s ease, transform 0.55s var(--ease-out-expo);
}

.work-card.is-hidden {
  display: none !important;
}

.work-card__media {
  position: relative;
  min-height: 236px;
  height: 236px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--oxblood-deep);
  border: 1px solid var(--hairline-light);
  box-shadow: 0 18px 42px -18px rgba(21, 3, 8, 0.25);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
}

@media (max-width: 560px) {
  .work-card__media {
    height: auto;
    min-height: 236px;
  }
}

.work-grid:not(.work-grid--filtered) .work-card--featured .work-card__media {
  height: 255px;
}

.work-card:hover .work-card__media {
  box-shadow: 0 26px 52px -18px rgba(21, 3, 8, 0.36);
}

/* Bespoke Service-Specific Animated Graphics (Zero AI Clipart) */
.ui-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 2.45rem 1rem 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--cream);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo);
}

.work-card:hover .ui-stage {
  transform: scale(1.012);
}

/* 1. Social Media — Kinetic Staggered Reels & Live Scrubber */
.ui-stage--social {
  background:
    radial-gradient(circle at 88% 15%, rgba(242, 180, 75, 0.24), transparent 48%),
    linear-gradient(155deg, #350918 0%, #17030a 100%);
}

.ui-social-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.ui-pill-dark {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
}

.ui-pill-accent {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(232, 106, 74, 0.22);
  color: #ffb8a4;
  border: 1px solid rgba(232, 106, 74, 0.45);
}

.ui-social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0.55rem 0;
  flex: 1;
}

.ui-reel-tile {
  border-radius: 10px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.ui-reel-tile--a {
  background: linear-gradient(160deg, rgba(232, 106, 74, 0.72), rgba(45, 9, 20, 0.92));
  animation: reelFloat 4.8s ease-in-out infinite;
}
.ui-reel-tile--b {
  background: linear-gradient(160deg, rgba(184, 61, 113, 0.72), rgba(35, 7, 17, 0.94));
  animation: reelFloat 5.4s ease-in-out -1.8s infinite;
}
.ui-reel-tile--c {
  background: linear-gradient(160deg, rgba(242, 180, 75, 0.62), rgba(39, 7, 17, 0.94));
  animation: reelFloat 4.4s ease-in-out -3.1s infinite;
}

@keyframes reelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.ui-reel-play {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  opacity: 0.9;
}

.ui-reel-label {
  font-size: 0.65rem;
  line-height: 1.25;
  font-weight: 500;
  color: #fff;
  margin-bottom: 5px;
}

.ui-reel-scrub {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.ui-reel-scrub i {
  display: block;
  height: 100%;
  width: 40%;
  background: #f2b44b;
  animation: scrubSweep 3.8s ease-in-out infinite;
}

.ui-reel-scrub--alt i {
  animation-delay: -1.6s;
  background: #ffffff;
}

@keyframes scrubSweep {
  0% { width: 12%; }
  50% { width: 88%; }
  100% { width: 12%; }
}

.ui-reel-dots {
  display: flex;
  gap: 4px;
}

.ui-reel-dots i {
  width: 12px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
}

.ui-reel-dots i:first-child {
  background: #fff;
  width: 18px;
}

.ui-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ui-kpi-strip strong {
  display: block;
  font-size: 0.88rem;
  color: var(--gold-bright);
}

.ui-kpi-strip span {
  font-size: 0.64rem;
  color: var(--caption-light);
}

/* 2. Website Development — Browser & Mobile Mockup */
.ui-stage--webdev {
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 180, 75, 0.20), transparent 50%),
    linear-gradient(145deg, #270711 0%, #130308 100%);
}

.ui-browser {
  background: #1a050c;
  color: var(--cream);
  border-radius: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(232, 212, 174, 0.28);
}

.ui-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.38rem 0.65rem;
  background: var(--ivory);
  border-bottom: 1px solid rgba(39, 7, 17, 0.1);
}

.ui-dots {
  display: inline-flex;
  gap: 4px;
}

.ui-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
}

.ui-dots i:nth-child(1) { background: #e86a4a; }
.ui-dots i:nth-child(2) { background: #f2b44b; }
.ui-dots i:nth-child(3) { background: #2ab895; }

.ui-domain {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--caption-dark);
}

.ui-speed-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: #10634e;
  background: rgba(42, 184, 149, 0.18);
  padding: 0.12rem 0.42rem;
  border-radius: var(--radius-pill);
}

.ui-browser-body {
  flex: 1;
  padding: 0.55rem 0.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(44px, 15%, 66px);
  gap: 0.5rem;
  align-items: center;
  background: linear-gradient(145deg, #240610 0%, #370b1a 100%);
  overflow: hidden;
}

.ui-web-preview {
  min-width: 0;
}

.ui-web-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 0.4rem;
  padding-bottom: 0.24rem;
  border-bottom: 1px solid rgba(232, 212, 174, 0.28);
  color: var(--gold-bright);
  font-size: 0.5rem;
}

.ui-web-title {
  margin: 0.27rem 0;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.15;
}

.ui-web-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.2rem;
}

.ui-web-projects div {
  display: grid;
  gap: 0.14rem;
  font-size: 0.48rem;
  line-height: 1.15;
}

.ui-web-projects i,
.ui-web-phone-screen i {
  display: block;
  height: 25px;
  border-radius: 3px;
  background:
    linear-gradient(135deg, transparent 45%, #bf9b75 46% 70%, #624535 71%) center / 72% 100% no-repeat,
    linear-gradient(#7b8f89 52%, #d4b38e 53%);
}

.ui-web-projects div:nth-child(2) i {
  background: repeating-linear-gradient(90deg, #a16c48 0 12%, #38231e 13% 21%, #d5a777 22% 40%);
}

.ui-web-projects div:nth-child(3) i {
  background:
    repeating-linear-gradient(90deg, transparent 0 13%, #ddbe9b 14% 19%) right / 78% 100% no-repeat,
    linear-gradient(110deg, #7a958f 28%, #51413c 29% 52%, #937454 53%);
}

.ui-web-phone {
  border-radius: 9px;
  background: #130509;
  border: 1px solid #ac7a69;
  padding: 4px;
}

.ui-web-phone-notch {
  display: block;
  width: 44%;
  height: 2px;
  margin: 0 auto 4px;
  border-radius: 2px;
  background: #ac7a69;
}

.ui-web-phone-screen {
  display: grid;
  gap: 4px;
  padding: 4px 3px;
  border-radius: 4px;
  background: var(--ivory);
  color: #270711;
  text-align: center;
  font-size: 0.42rem;
  line-height: 1.15;
}

.ui-web-phone-screen span {
  padding: 2px 0;
  background: #270711;
  color: var(--ivory);
  border-radius: 2px;
}

/* 3. Chatbot Automation — Live Sequential Messaging & Typing Pulse */
.ui-stage--chatbot {
  background:
    radial-gradient(circle at 82% 16%, rgba(42, 184, 149, 0.24), transparent 48%),
    linear-gradient(155deg, #0e2420 0%, #091210 100%);
}

.ui-chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.42rem;
}

.ui-chat-status {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--cream);
}

.ui-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ab895;
  box-shadow: 0 0 8px #2ab895;
  animation: pulseSoft 2.2s ease-in-out infinite;
}

.ui-pill-emerald {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 0.18rem 0.52rem;
  border-radius: var(--radius-pill);
  background: rgba(42, 184, 149, 0.2);
  color: #7df2d2;
  border: 1px solid rgba(42, 184, 149, 0.4);
}

.ui-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
}

.ui-bubble {
  max-width: 88%;
  padding: 0.28rem 0.56rem;
  border-radius: 9px;
  font-size: 0.66rem;
  line-height: 1.25;
}

.ui-bubble--user {
  align-self: flex-end;
  background: rgba(245, 239, 228, 0.14);
  color: var(--cream);
}

.ui-bubble--bot {
  align-self: flex-start;
  background: rgba(42, 184, 149, 0.24);
  border: 1px solid rgba(42, 184, 149, 0.38);
  color: #e9fff9;
}

.ui-chat-bottom-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ui-typing {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0.34rem 0.48rem;
  border-radius: 9px;
  background: rgba(42, 184, 149, 0.22);
}

.ui-typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7df2d2;
  display: block;
  animation: typingDot 1.4s ease-in-out infinite;
}

.ui-typing i:nth-child(2) { animation-delay: 0.2s; }
.ui-typing i:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.ui-chat-confirm {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 0.26rem 0.45rem;
  border-radius: var(--radius-pill);
  background: rgba(242, 180, 75, 0.18);
  color: var(--gold-bright);
  border: 1px solid rgba(242, 180, 75, 0.35);
}

/* 4. Meta Ads — A/B Ad Cards & Animated Weekly ROAS Columns */
.ui-stage--metaads {
  background:
    radial-gradient(circle at 80% 25%, rgba(242, 180, 75, 0.22), transparent 50%),
    linear-gradient(155deg, #380b1f 0%, #16040b 100%);
}

.ui-meta-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.ui-meta-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
}

.ui-meta-stat strong {
  display: block;
  font-size: 0.8rem;
  color: var(--gold-bright);
}

.ui-meta-stat span {
  font-size: 0.6rem;
  color: var(--caption-light);
}

.ui-meta-split {
  flex: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0.65rem;
  align-items: end;
  padding-top: 0.55rem;
}

.ui-ad-cards {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.ui-ad-card {
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ui-ad-card.is-winner {
  background: linear-gradient(135deg, rgba(232, 106, 74, 0.25), rgba(242, 180, 75, 0.16));
  border-color: rgba(242, 180, 75, 0.52);
}

.ui-ad-badge {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.ui-ad-card strong {
  font-size: 0.7rem;
  color: var(--cream);
}

.ui-ad-card > span:last-child {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gold-bright);
}

.ui-meta-chart {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.35rem;
  align-items: end;
}

.ui-meta-bar-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.22rem;
}

.ui-meta-bar {
  width: 100%;
  height: var(--bar-h, 70%);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #e86a4a 0%, rgba(184, 61, 113, 0.4) 100%);
  transform-origin: bottom;
  animation: barBreathe 4.2s ease-in-out calc(var(--bar-i, 0) * 0.2s) infinite;
}

.ui-meta-bar.is-peak {
  background: linear-gradient(180deg, #f2b44b 0%, rgba(232, 106, 74, 0.55) 100%);
}

@keyframes barBreathe {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.86); }
}

.ui-meta-bar-wrap span {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--caption-light);
}

/* 5. Branding — Designer Geometric Artboard on Warm Ivory */
.ui-stage--branding {
  background: linear-gradient(150deg, #fbf7ef 0%, #e7dbc5 100%);
  color: var(--oxblood);
}

.ui-brand-grid-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  stroke: rgba(158, 130, 85, 0.28);
  stroke-width: 1;
  fill: none;
}

.ui-grid-circle {
  transform-origin: 255px 56px;
  animation: gridPulse 6s ease-in-out infinite;
}

.ui-grid-circle.is-inner {
  stroke: rgba(39, 7, 17, 0.24);
  animation-delay: -3s;
}

@keyframes gridPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.09); opacity: 1; }
}

.ui-brand-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ui-brand-specimen {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.75rem;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: var(--oxblood);
  color: var(--gold-bright);
}

.ui-brand-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--oxblood);
}

.ui-brand-sub {
  font-size: 0.66rem;
  color: var(--caption-dark);
}

.ui-swatch-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.ui-swatch-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 5px;
  border: 1px solid rgba(39, 7, 17, 0.08);
  transition: transform 0.35s var(--ease-out-expo);
}

.work-card:hover .ui-swatch-card:nth-child(odd) {
  transform: translateY(-2px);
}

.work-card:hover .ui-swatch-card:nth-child(even) {
  transform: translateY(2px);
}

.ui-swatch-color {
  height: 46px;
  border-radius: 5px;
}

.ui-swatch-meta {
  padding-top: 4px;
}

.ui-swatch-meta strong {
  display: block;
  font-size: 0.62rem;
  color: var(--oxblood);
}

.ui-swatch-meta span {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--caption-dark);
}

.work-card__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(232, 212, 174, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-card:hover .work-card__sheen {
  opacity: 1;
}

.work-card__overlay-top {
  position: absolute;
  top: 0.7rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
  z-index: 3;
}

.work-card__index {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background-color: rgba(21, 3, 8, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--gold-bright);
  border: 1px solid rgba(207, 180, 132, 0.28);
}

.work-card__cta-badge {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  background-color: var(--ivory);
  color: var(--oxblood);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.35s ease, transform 0.45s var(--ease-out-expo);
}

.work-card:hover .work-card__cta-badge {
  opacity: 1;
  transform: translateY(0);
}

.work-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-inline: 0.2rem;
}

.work-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.work-card__title {
  margin: 0;
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--oxblood);
}

.work-card__impact {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dark);
  white-space: nowrap;
}

.work-card__summary {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.48;
  color: var(--caption-dark);
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.tag {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.78rem;
  border-radius: var(--radius-pill);
  background-color: var(--sand);
  color: var(--oxblood);
  border: 1px solid rgba(39, 7, 17, 0.09);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.work-card:hover .tag {
  border-color: rgba(39, 7, 17, 0.18);
}

.work-card__accent-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.72rem;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.65);
  color: var(--oxblood);
  border: 1px solid rgba(39, 7, 17, 0.1);
}

.work-card__accent-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--card-accent, var(--gold-dark));
}

/* ==========================================================================
   Capabilities Interactive List & 3D Artifact Stage
   ========================================================================== */
.cap-item {
  border-bottom: 1px solid var(--hairline-dark);
  padding: 1.05rem 0;
  cursor: pointer;
  transition: border-color 0.35s ease;
}

.cap-item:hover,
.cap-item.is-active {
  border-bottom-color: var(--gold);
}

.cap-item__trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
}

.cap-item__left {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.cap-item__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold-muted);
}

.cap-item.is-active .cap-item__num {
  color: var(--gold-bright);
}

.cap-item__title {
  margin: 0;
  font-size: clamp(1.12rem, 1.55vw, 1.42rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--caption-light);
  transition: color 0.3s ease;
}

.cap-item:hover .cap-item__title,
.cap-item.is-active .cap-item__title {
  color: var(--cream);
}

.cap-item__toggle {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--gold);
  transition: transform 0.35s var(--ease-out-expo);
}

.cap-item.is-active .cap-item__toggle {
  transform: rotate(45deg);
}

.cap-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out-expo);
}

.cap-item.is-active .cap-item__body {
  grid-template-rows: 1fr;
}

.cap-item__body-inner {
  overflow: hidden;
}

.cap-item__desc {
  margin: 0.65rem 0 0.85rem 2.2rem;
  max-width: 52ch;
  color: var(--caption-light);
  font-size: 0.89rem;
  line-height: 1.55;
}

.cap-item__deliverables {
  margin: 0 0 0.25rem 2.2rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cap-item__deliverables li {
  font-size: 0.72rem;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(207, 180, 132, 0.24);
  background-color: rgba(207, 180, 132, 0.06);
  color: var(--gold-bright);
}

.cap-stage-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(232, 106, 74, 0.18), transparent 48%),
    radial-gradient(circle at 75% 75%, rgba(42, 184, 149, 0.16), transparent 52%),
    radial-gradient(circle at 50% 44%, rgba(84, 17, 37, 0.85), rgba(21, 3, 8, 0.98) 76%);
  border: 1px solid rgba(207, 180, 132, 0.26);
  box-shadow: var(--shadow-dark);
  aspect-ratio: 4 / 3.2;
  max-height: 410px;
}

#capabilityCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.cap-stage-card__hud {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  pointer-events: none;
}

.cap-stage-card__caption {
  font-size: 0.85rem;
  color: var(--cream);
}

.cap-stage-card__cadence {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: rgba(21, 3, 8, 0.72);
  border: 1px solid rgba(207, 180, 132, 0.24);
}

/* ==========================================================================
   Process Nodes & Client Reflections
   ========================================================================== */
.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.process-step__dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--ivory);
  border: 1px solid var(--gold-dark);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--oxblood);
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.4s var(--ease-out-expo);
}

.process-step:hover .process-step__dot {
  background-color: var(--oxblood);
  color: var(--gold-bright);
  transform: scale(1.06);
}

.process-step__title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--oxblood);
}

.process-step__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--caption-dark);
}

.quote-card {
  margin: 0;
  background-color: var(--ivory);
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.quote-card__text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.52;
  color: var(--oxblood);
}

.quote-card__author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--hairline-light);
  font-size: 0.8rem;
}

.quote-card__author .eyebrow {
  font-size: 0.64rem;
  white-space: nowrap;
}

.quote-card__name {
  font-weight: 600;
  color: var(--oxblood);
}

.quote-card__role {
  color: var(--caption-dark);
}

/* ==========================================================================
   Interactive Studio Brief Composer
   ========================================================================== */
.contact__email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.contact__email {
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--gold-bright);
}

.brief-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(46, 9, 21, 0.64) 0%, rgba(21, 3, 8, 0.85) 100%);
  border: 1px solid rgba(207, 180, 132, 0.28);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-dark);
}

.brief-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.brief-panel__eyebrow {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.brief-panel__title {
  margin: 0 0 1.25rem;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.025em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(246, 241, 233, 0.04);
  border: 1px solid rgba(207, 180, 132, 0.24);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.92rem;
  font-size: 0.81rem;
  color: var(--caption-light);
  cursor: pointer;
  transition: all 0.28s var(--ease-out-expo);
}

.chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--chip-dot, var(--gold));
  flex-shrink: 0;
}

.chip.is-selected .chip__dot {
  background-color: var(--oxblood-deep);
}

.note-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.15rem 0 1.2rem;
  padding: 0;
  background: none;
  border: none;
  font-size: 0.82rem;
  color: var(--gold);
  cursor: pointer;
  transition: color 0.25s ease;
}

.note-toggle:hover {
  color: var(--gold-bright);
}

.brief-trust {
  margin: 0.85rem 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--caption-light);
  opacity: 0.82;
}

.brief-group {
  margin-bottom: 1.65rem;
}

.brief-label {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip:hover {
  border-color: var(--gold);
  color: var(--cream);
}

.chip.is-selected {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--oxblood-deep);
  font-weight: 600;
}

.audit-deliverables {
  margin-bottom: 1.15rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background-color: rgba(246, 241, 233, 0.04);
  border: 1px solid rgba(207, 180, 132, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.audit-deliverables__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.audit-deliverables__head span:last-child {
  color: var(--caption-light);
  letter-spacing: 0.06em;
  text-transform: none;
}

.audit-deliverables__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.9rem;
}

.audit-deliverable-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  line-height: 1.38;
  color: var(--cream);
}

.audit-deliverable-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.brief-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.brief-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field[hidden],
.brief-receipt[hidden],
.btn[hidden] {
  display: none !important;
}

.field--full {
  grid-column: 1 / -1;
}

.input,
.textarea {
  width: 100%;
  background-color: rgba(246, 241, 233, 0.04);
  border: 1px solid rgba(207, 180, 132, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.82rem 1rem;
  color: var(--cream);
  font-size: 0.94rem;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(197, 180, 174, 0.55);
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(246, 241, 233, 0.07);
}

.textarea {
  min-height: 112px;
  resize: vertical;
}

.brief-receipt {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(54, 11, 24, 0.9), rgba(21, 3, 8, 0.95));
  border: 1px solid var(--gold-dark);
}

.brief-receipt__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--hairline-dark);
}

.brief-receipt__list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}

.brief-receipt__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--caption-light);
}

.brief-receipt__row strong {
  color: var(--cream);
  text-align: right;
}

@media (max-width: 600px) {
  .brief-fields,
  .audit-deliverables__grid {
    grid-template-columns: 1fr;
  }

  .brief-cta-row {
    flex-direction: column;
  }

  .founder-contact-card__top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Case Study Slide-Over Drawer
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background-color: rgba(12, 2, 5, 0.74);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 310;
  width: min(680px, 100vw);
  background-color: var(--ivory);
  color: var(--oxblood);
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.6s var(--ease-out-expo), visibility 0s 0.6s;
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.45);
}

.drawer.is-open {
  visibility: visible;
  transition-delay: 0s;
  transform: translateX(0);
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hairline-light);
  margin-bottom: 1.75rem;
}

.icon-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hairline-light);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: background-color 0.25s ease, transform 0.35s var(--ease-out-expo);
}

.icon-close:hover {
  background-color: var(--sand);
  transform: rotate(90deg);
}

.drawer__canvas-wrap {
  position: relative;
  height: 245px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--oxblood-deep);
  margin-bottom: 1.5rem;
}

.drawer__title {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.drawer__section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline-light);
}

.drawer__section h4 {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.drawer__section p {
  margin: 0;
  color: var(--caption-dark);
  line-height: 1.65;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 500;
  background-color: var(--oxblood-elevated);
  color: var(--gold-bright);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius-pill);
  padding: 0.72rem 1.35rem;
  font-size: 0.85rem;
  box-shadow: var(--shadow-dark);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.4s var(--ease-out-expo);
}

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

@media (prefers-reduced-motion: reduce) {
  .pulse-dot,
  .hero-stamp--coral,
  .hero-stamp--amber,
  .hero-stamp--emerald,
  .hero-sticker-track,
  .ui-reel-tile--a,
  .ui-reel-tile--b,
  .ui-reel-tile--c,
  .ui-reel-scrub i,
  .ui-online-dot,
  .ui-typing i,
  .ui-meta-bar,
  .ui-grid-circle {
    animation: none;
  }
}
