﻿:root {
  color-scheme: light;
  --bg: #f8f4ec;
  --panel: rgba(255, 255, 255, 0.48);
  --panel-strong: rgba(255, 255, 255, 0.72);
  --line: rgba(91, 58, 41, 0.15);
  --line-strong: rgba(91, 58, 41, 0.26);
  --text: #4b2f23;
  --muted: rgba(75, 47, 35, 0.62);
  --green: #7d7848;
  --olive: #8f8a57;
  --cream: #fffaf1;
  --glass: rgba(255, 255, 255, 0.42);
  --chocolate: #4b2f23;
  --caramel: #a88753;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 74% 18%, rgba(168, 135, 83, 0.22), transparent 26rem),
    radial-gradient(ellipse at 18% 70%, rgba(143, 138, 87, 0.18), transparent 28rem),
    linear-gradient(126deg, transparent 0 58%, rgba(75, 47, 35, 0.05) 58% 64%, transparent 64%),
    linear-gradient(90deg, rgba(91, 58, 41, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(91, 58, 41, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #fffdf8, #f8f4ec 48%, #efe5d5);
  background-size: auto, auto, auto, 72px 72px, 72px 72px, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  cursor: auto;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 70% 44%, rgba(255, 255, 255, 0.5), transparent 15rem),
    linear-gradient(145deg, rgba(91, 58, 41, 0.035) 0 1px, transparent 1px 28px),
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.24) 48%, transparent 55%),
    radial-gradient(circle at 48% 52%, rgba(143, 138, 87, 0.06), transparent 24rem);
  background-size: auto, 28px 28px, auto, auto;
  opacity: 0.8;
}

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

::selection {
  background: var(--green);
  color: #071009;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 76px 1fr;
}

@media (max-width: 860px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-dot,
.cursor-ring,
.cursor-trail {
  pointer-events: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  translate: -50% -50%;
  border-radius: 999px;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: white;
}

.cursor-ring {
  width: var(--cursor-size, 42px);
  height: var(--cursor-size, 42px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  transition: width 0.25s ease, height 0.25s ease, border-radius 0.25s ease;
}

.cursor-ring.is-project {
  border-radius: 14px;
}

.cursor-trail {
  width: 18px;
  height: 18px;
  background: rgba(167, 201, 137, 0.32);
  filter: blur(5px);
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: rgba(7, 8, 7, 0.72);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 12px;
}

@media (max-width: 860px) {
  .sidebar {
    position: fixed;
    inset: auto 12px 12px;
    height: auto;
    flex-direction: row;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(7, 8, 7, 0.82);
    padding: 10px;
  }
}

.brand-chip {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  color: var(--green);
  font-weight: 900;
}

.tool-nav {
  display: grid;
  gap: 10px;
}

@media (max-width: 860px) {
  .tool-nav {
    display: flex;
    overflow-x: auto;
  }
}

.tool-button {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 12%, rgba(255, 255, 255, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.045);
  color: rgba(244, 246, 239, 0.54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 14px 34px rgba(0,0,0,0.18);
  backdrop-filter: blur(18px) saturate(1.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tool-button:hover,
.tool-button.active {
  border-color: rgba(255, 255, 255, 0.26);
  background:
    radial-gradient(circle at 32% 12%, rgba(255, 255, 255, 0.28), transparent 36%),
    rgba(255, 255, 255, 0.095);
  color: var(--green);
  transform: translateY(-2px);
}

.tool-button svg {
  width: 20px;
  height: 20px;
}

.workspace {
  min-width: 0;
  padding: 18px;
}

@media (max-width: 860px) {
  .workspace {
    padding: 12px 12px 88px;
  }
}

.workspace-frame {
  position: relative;
  min-height: calc(100vh - 36px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
}

.workspace-frame::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 62% 18%, rgba(255, 255, 255, 0.32), transparent 18rem),
    radial-gradient(ellipse at 24% 54%, rgba(244, 246, 239, 0.2), transparent 22rem),
    linear-gradient(132deg, transparent 0 46%, rgba(255, 255, 255, 0.08) 46% 50%, transparent 50%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.025) 18px 19px);
  opacity: 0.76;
}

.workspace-frame > * {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.window-dots span:nth-child(1) { background: #ff6b5e; }
.window-dots span:nth-child(2) { background: #ffc65a; }
.window-dots span:nth-child(3) { background: #75d37a; }

.topbar-left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 18px;
}

.search-pill,
.command-chip,
.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}

.search-pill {
  max-width: 42vw;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  padding: 10px 14px;
  color: rgba(244, 246, 239, 0.7);
  text-overflow: ellipsis;
}

.command-chip {
  width: 44px;
  height: 28px;
  border: 1px solid var(--line);
  color: rgba(244, 246, 239, 0.45);
  font-size: 10px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.workspace-grid {
  display: grid;
  min-height: calc(100vh - 95px);
  grid-template-columns: minmax(0, 1fr) 320px;
}

@media (max-width: 1180px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }
}

.main-canvas {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(24px, 4vw, 52px);
}

.main-canvas::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 70%);
  opacity: 0.54;
}

.main-canvas > * {
  position: relative;
  z-index: 1;
}

.inspector {
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  padding: 16px;
}

@media (max-width: 1180px) {
  .inspector {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

.panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 10%), rgba(255, 255, 255, 0.34), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.075));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -16px 30px rgba(0, 0, 0, 0.16),
    0 20px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(1.55) contrast(1.04);
  -webkit-backdrop-filter: blur(22px) saturate(1.55) contrast(1.04);
}

.panel,
.glass,
.clip-card,
.social-card,
.experiment-card {
  position: relative;
}

.panel::before,
.glass::before,
.social-card::before,
.experiment-card::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255,255,255,0.16), transparent 28%, transparent 70%, rgba(255,255,255,0.055));
  opacity: 0.38;
}

.panel > *,
.glass > *,
.social-card > *,
.experiment-card > * {
  position: relative;
  z-index: 1;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .panel,
  .glass,
  .social-card,
  .experiment-card,
  .tool-button,
  .timeline-controls button,
  .modal-head button,
  .modal-actions button {
    background: rgba(26, 29, 24, 0.88);
  }
}

.hero-title {
  max-width: 980px;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(48px, 7.8vw, 128px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-title-editorial {
  max-width: 760px;
  position: relative;
  overflow: hidden;
  padding-bottom: 0.08em;
  background: linear-gradient(105deg, #4b2f23 0%, #725941 35%, #fffaf1 49%, #8f8a57 57%, #4b2f23 100%);
  background-size: 520% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: letterGlass 38s cubic-bezier(0.33, 0, 0.2, 1) infinite;
}

.hero-title-editorial span,
.hero-title-editorial em {
  white-space: nowrap;
}

.hero-letter {
  display: inline-block;
  position: relative;
  color: #4b2f23;
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
  animation: none;
}

.hero-letter::after {
  content: attr(data-char);
  pointer-events: none;
  position: absolute;
  inset: 0;
  color: rgba(255, 250, 241, 0.22);
  -webkit-text-fill-color: rgba(255, 250, 241, 0.22);
  -webkit-text-stroke: 0;
  text-shadow: 0 0 0.2em rgba(255, 250, 241, 0.52);
  filter: blur(0.026em);
  opacity: 0;
  animation: letterEdgeGlow 3.8s ease-in-out infinite;
  animation-delay: calc(var(--letter-i) * 0.11s);
}

.hero-title-editorial em {
  display: inline-block;
  background: none;
  color: #7d7848;
  -webkit-text-fill-color: #7d7848;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  text-shadow: 0 0 42px rgba(167, 201, 137, 0.22);
  animation: none;
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: clamp(22px, 4vw, 56px);
  align-items: end;
  padding-top: 34px;
}

.hero-copy {
  margin: 0 0 10px;
  font-size: 16px;
}

.hero-person-strip {
  display: flex;
  width: fit-content;
  max-width: min(100%, 650px);
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  border-radius: 18px;
  padding: 10px 12px;
}

.hero-person-strip strong {
  color: var(--text);
  font-family: Sora, Inter, sans-serif;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
}

.hero-person-strip span:not(.availability-badge) {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-side {
  display: grid;
  gap: 16px;
}

.hero-portrait {
  --px: 50%;
  --py: 35%;
  --sx: 0px;
  --sy: 18px;
  position: relative;
  aspect-ratio: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 26px;
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at 50% 92%, rgba(0, 0, 0, 0.22), transparent 12rem),
    linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  backdrop-filter: blur(24px) saturate(1.45);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
  box-shadow:
    calc(var(--sx) * -0.25) var(--sy) 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 36%;
  scale: 1.06;
  filter: blur(22px) saturate(0.92) contrast(1.02);
  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}

.hero-portrait:hover img {
  transform: scale(1.018);
  filter: blur(18px) saturate(0.96) contrast(1.04);
}

.portrait-light {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.42), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(255, 250, 241, 0.12));
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  opacity: 0.72;
  transition: opacity 0.3s ease;
}

.hero-portrait:hover .portrait-light {
  opacity: 0.4;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 28%;
  z-index: 1;
  height: 23%;
  border-radius: 999px;
  background-image:
    linear-gradient(180deg, transparent 0, rgba(255,255,255,0.18) 14%, transparent 88%),
    url("./aleix2.jpg");
  background-size: 100% auto, cover;
  background-position: center, center 36%;
  filter: saturate(1.08) contrast(1.12);
  mask-image: linear-gradient(180deg, transparent 0, black 28%, black 66%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, black 28%, black 66%, transparent 100%);
  opacity: 0.94;
}

.hero-portrait::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(167, 201, 137, 0.22), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.12)),
    radial-gradient(circle at var(--px) var(--py), rgba(255, 255, 255, 0.18), transparent 12rem);
  mix-blend-mode: soft-light;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  border: 1px solid rgba(88, 128, 61, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  padding: 5px 9px;
  color: #526f36;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.availability-badge i {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #33c961;
  box-shadow: 0 0 0 4px rgba(51, 201, 97, 0.12);
}

.availability-badge i::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 1px solid rgba(51, 201, 97, 0.52);
  animation: activePulse 1.6s ease-in-out infinite;
}

@media (max-width: 980px) {
  .hero-row {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }
}

.workspace-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.soft-copy {
  color: var(--muted);
  line-height: 1.72;
}

.view-enter {
  animation: enterView 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes enterView {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metric-card {
  min-height: 118px;
  padding: 18px;
}

.metric-card strong {
  display: block;
  color: var(--green);
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.98;
  white-space: nowrap;
}

.metric-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
}

.section-head h2 {
  margin: 5px 0 0;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(28px, 4.4vw, 58px);
  line-height: 0.98;
}

.section-chip {
  padding: 11px 14px;
  border-radius: 999px;
  color: rgba(244, 246, 239, 0.76);
  font-size: 12px;
  font-weight: 900;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.brand-universe {
  margin-top: 40px;
}

.brand-orbit-stage {
  --active-brand: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  min-height: clamp(680px, calc(var(--brand-count, 20) * 58px), 1180px);
  margin-top: 18px;
  overflow: hidden;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 10% 82%, rgba(143, 138, 87, 0.18), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.18));
  perspective: 1300px;
  transform-style: preserve-3d;
}

.brand-orbit-stage::before,
.brand-orbit-stage::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.brand-orbit-stage::before {
  left: -12%;
  bottom: -11%;
  width: min(680px, 78vw);
  aspect-ratio: 1;
  border-radius: 999px 999px 0 0;
  background: radial-gradient(circle at 50% 62%, rgba(75,47,35,0.2), transparent 44%);
  filter: blur(26px);
}

.brand-orbit-stage::after {
  left: min(43%, 520px);
  top: 48%;
  width: min(210px, 28vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(75, 47, 35, 0.12), rgba(75, 47, 35, 0.54), transparent);
  transform: translateY(-50%);
}

.brand-globe {
  position: relative;
  z-index: 3;
  width: clamp(320px, 54vw, 720px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.64), transparent 12%),
    radial-gradient(circle at 58% 36%, rgba(244, 246, 239, 0.28), transparent 18%),
    radial-gradient(circle at 30% 42%, rgba(167, 201, 137, 0.46), transparent 22%),
    linear-gradient(110deg, rgba(53, 78, 62, 0.9), rgba(14, 32, 45, 0.92) 52%, rgba(167, 201, 137, 0.78));
  box-shadow:
    inset -34px -28px 58px rgba(0, 0, 0, 0.46),
    inset 22px 18px 44px rgba(255, 255, 255, 0.16),
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 0 90px rgba(167, 201, 137, 0.18);
  transform-style: preserve-3d;
  animation: globeTurn 18s linear infinite;
}

.brand-half-globe {
  position: sticky;
  top: 18vh;
  grid-column: 1 / 2;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  margin-left: clamp(16px, 4vw, 52px);
  margin-top: clamp(112px, 16vh, 170px);
  border-radius: 999px;
  clip-path: none;
  transform: rotateX(-10deg) rotateY(-18deg) rotateZ(-3deg);
  animation: globeTurn3d 18s linear infinite;
}

.brand-globe::before {
  content: "";
  position: absolute;
  inset: -12% -48%;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(255, 255, 255, 0.16) 7.4% 7.8%, transparent 8.2% 15%),
    linear-gradient(180deg, transparent 0 18%, rgba(255, 255, 255, 0.12) 18.3% 18.8%, transparent 19.2% 28%),
    radial-gradient(ellipse at 35% 42%, rgba(167, 201, 137, 0.42) 0 8%, transparent 8.6%),
    radial-gradient(ellipse at 58% 58%, rgba(167, 201, 137, 0.32) 0 7%, transparent 7.5%);
  background-size: 70px 100%, 100% 42px, 260px 180px, 280px 180px;
  mix-blend-mode: screen;
  opacity: 0.7;
  animation: globeMap 12s linear infinite;
}

.brand-globe::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.4), transparent 18%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.2), transparent 30%, rgba(0, 0, 0, 0.42) 78%);
}

.globe-shine,
.globe-ring {
  pointer-events: none;
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.globe-shine {
  inset: 0;
  border: 0;
  background: radial-gradient(circle at 30% 16%, rgba(255, 255, 255, 0.55), transparent 18%);
}

.globe-ring.ring-a { transform: rotateX(66deg); }
.globe-ring.ring-b { transform: rotateY(62deg); }
.globe-ring.ring-c { transform: rotateZ(34deg) rotateX(72deg); }

.brand-orbit {
  position: absolute;
  inset: 0;
  z-index: 4;
  transform-style: preserve-3d;
  animation: orbitTurn 30s linear infinite;
}

.brand-revolver-copy {
  position: sticky;
  top: 18vh;
  z-index: 4;
  grid-column: 1 / 2;
  grid-row: 1;
  align-self: start;
  width: min(340px, 72%);
  margin: 42px 0 0 clamp(36px, 7vw, 96px);
}

.brand-revolver-arrow {
  display: none;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  color: var(--chocolate);
}

.brand-revolver-arrow i {
  display: block;
  width: clamp(82px, 14vw, 170px);
  height: 1px;
  background: currentColor;
  opacity: 0.58;
}

.brand-revolver-arrow span {
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  rotate: 45deg;
}

.brand-revolver {
  position: sticky;
  top: 19vh;
  z-index: 5;
  grid-column: 2 / 3;
  grid-row: 1;
  display: grid;
  min-height: 360px;
  align-content: center;
  justify-self: start;
  width: min(360px, 100%);
  padding: clamp(20px, 4vw, 42px) clamp(14px, 3vw, 26px);
  transform: translateX(clamp(-92px, -6vw, -36px));
}

.brand-revolver-item {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  opacity: 0;
  transform: translateY(34px) rotateX(-12deg) scale(0.94);
  filter: blur(12px);
  pointer-events: none;
  transition: opacity 0.26s ease, transform 0.32s ease, filter 0.22s ease;
}

.brand-revolver-item.active {
  opacity: 1;
  transform: translateY(0) rotateX(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.brand-revolver-logo {
  display: grid;
  width: clamp(88px, 8vw, 112px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(75, 47, 35, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 22px 50px rgba(75, 47, 35, 0.14), inset 0 1px 0 rgba(255,255,255,0.72);
  backdrop-filter: blur(18px) saturate(1.35);
}

.brand-revolver-logo .brand-logo,
.brand-revolver-logo .custom-logo,
.brand-revolver-logo .logo-fallback {
  width: clamp(48px, 6vw, 68px);
  height: clamp(48px, 6vw, 68px);
  display: grid;
  place-items: center;
  place-self: center;
  margin: auto;
}

.brand-revolver-logo .brand-logo img {
  inset: 50%;
  width: 62%;
  height: 62%;
  transform: translate(-50%, -50%);
}

.brand-revolver-logo .custom-logo svg,
.brand-revolver-logo .logo-fallback {
  display: block;
  margin: auto;
}

.brand-revolver-item small {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-revolver-item strong {
  display: block;
  color: var(--text);
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(22px, 2.8vw, 38px);
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
}

.brand-revolver-item span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.brand-orbit-b {
  z-index: 2;
  opacity: 0.56;
  animation-duration: 44s;
  animation-direction: reverse;
  transform: rotateX(60deg) rotateZ(20deg);
}

.orbit-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.24), transparent 36%),
    rgba(8, 10, 8, 0.68);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform:
    rotateY(var(--angle))
    translateZ(var(--radius))
    translate(-50%, -50%)
    rotateY(calc(var(--angle) * -1))
    translateZ(calc(var(--depth) * 10px));
  backdrop-filter: blur(18px) saturate(1.45);
}

.orbit-logo .brand-logo,
.orbit-logo .logo-fallback {
  width: 34px;
  height: 34px;
}

.orbit-logo .brand-logo img {
  inset: 5px;
  width: 24px;
  height: 24px;
}

.orbit-logo .adobe-tile {
  width: 34px;
  height: 34px;
  min-width: 34px;
  flex-basis: 34px;
  border-radius: 9px;
  font-size: 12px;
}

.social-card {
  position: relative;
  min-height: 365px;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.social-visual {
  position: relative;
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 210px;
  padding: 18px;
  background:
    radial-gradient(circle at calc(24% + var(--post-index) * 10%) 20%, rgba(255, 255, 255, 0.16), transparent 10rem),
    linear-gradient(135deg, rgba(33, 45, 34, 0.95), rgba(119, 131, 90, 0.74));
}

.social-big-value {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -45%) scale(0.92);
  color: rgba(244, 246, 239, 0.96);
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  opacity: 0;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.social-focus-metric {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  display: grid;
  justify-items: center;
  gap: 4px;
  transform: translate(-50%, -42%) scale(0.92);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

.social-focus-metric.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.social-focus-metric strong {
  color: rgba(255, 255, 255, 0.96);
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 0.9;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.48);
}

.social-focus-metric small {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 7px 10px;
  color: rgba(244, 246, 239, 0.72);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.social-visual span {
  width: max-content;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.social-actions {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 2px;
}

.social-actions span {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(244, 246, 239, 0.72);
  backdrop-filter: blur(14px);
}

.social-actions span::after {
  content: none;
}

.social-actions span:hover,
.social-actions span.active {
  color: var(--green);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.26);
  background:
    radial-gradient(circle at 32% 14%, rgba(255,255,255,0.28), transparent 38%),
    rgba(255,255,255,0.09);
}

.social-actions svg {
  width: 16px;
  height: 16px;
}

.social-card-body {
  display: grid;
  gap: 12px;
  padding: 15px;
}

.social-card-body > div:first-child {
  display: grid;
  gap: 4px;
}

.social-card-body strong {
  font-family: Sora, Inter, sans-serif;
  font-size: 18px;
  line-height: 1.15;
}

.social-card-body span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.social-performance {
  width: max-content;
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  color: rgba(244, 246, 239, 0.82);
  font-size: 12px;
  font-weight: 900;
}


@media (max-width: 760px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .brand-orbit-stage {
    min-height: 430px;
  }

  .brand-globe {
    width: 142px;
  }

  .orbit-logo {
    width: 44px;
    height: 44px;
    transform:
      rotateY(var(--angle))
      translateZ(calc(var(--radius) * 0.66))
      translate(-50%, -50%)
      rotateY(calc(var(--angle) * -1));
  }

  .orbit-logo .brand-logo,
  .orbit-logo .logo-fallback,
  .orbit-logo .adobe-tile {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  .orbit-logo .brand-logo img {
    inset: 5px;
    width: 18px;
    height: 18px;
  }
}

.timeline-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
}

.timeline-header > div:first-child {
  display: grid;
  gap: 5px;
}

.timeline-header strong {
  color: rgba(244, 246, 239, 0.82);
  font-family: Sora, Inter, sans-serif;
  font-size: 22px;
}

.timeline-controls {
  display: flex;
  gap: 8px;
}

.timeline-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,0.24), transparent 36%),
    rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 18px 42px rgba(0,0,0,0.2);
  color: var(--text);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.timeline-controls button:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,0.34), transparent 38%),
    rgba(255,255,255,0.11);
  transform: translateY(-2px);
}

.timeline-controls svg {
  width: 18px;
  height: 18px;
}

.timeline {
  margin-top: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 0 20px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-y;
  user-select: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.timeline.is-dragging {
  cursor: grabbing;
}

.timeline.is-bumping {
  animation: sliderBump 0.25s cubic-bezier(0.2, 1, 0.35, 1);
}

.timeline::-webkit-scrollbar {
  display: none;
}

.timeline-slider {
  position: relative;
  height: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.035);
}

.timeline-slider-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(167, 201, 137, 0.42), rgba(244, 246, 239, 0.86));
  box-shadow: 0 0 28px rgba(167, 201, 137, 0.28);
  transition: transform 0.12s linear;
}

.timeline-slider-thumb {
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  translate: -50% -50%;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(244, 246, 239, 0.9);
  box-shadow: 0 0 30px rgba(167, 201, 137, 0.48);
  transition: left 0.12s linear;
}

.clip-track {
  display: grid;
  width: max-content;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 430px);
  gap: 14px;
  padding-right: 24px;
}

.clip-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 0;
  border-radius: 26px;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.clip-card:hover {
  transform: translateY(-6px) rotateX(1deg);
  filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.34));
}

.clip-card.is-opening {
  animation: folderCardOpen 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.clip-card:hover::after {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.34);
}

.stack-back {
  display: none;
}

.stack-back-one {
  transform: translate(16px, 12px) rotate(2.2deg);
  opacity: 0.76;
}

.stack-back-two {
  display: none;
}

.clip-card:hover .stack-back-one {
  transform: translate(18px, 18px) rotate(2.4deg);
}

.clip-card:hover .stack-back-two {
  transform: translate(34px, 32px) rotate(4deg);
}

.clip-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(135deg, var(--clip-a), var(--clip-b));
  opacity: 0.86;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.clip-card:hover::before {
  transform: none;
  filter: saturate(1.1) brightness(1.04);
}

.clip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  opacity: 1;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.folder-tab {
  position: absolute;
  left: 24px;
  top: 12px;
  z-index: 2;
  width: 172px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px 24px 0 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.045)),
    linear-gradient(135deg, var(--clip-a), var(--clip-b));
  clip-path: polygon(0 0, 58% 0, 72% 34%, 100% 34%, 100% 100%, 0 100%);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
}

.folder-tab::after {
  content: "";
  display: block;
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,0.54), transparent 52%);
  opacity: 0.48;
}

.clip-content {
  position: absolute;
  inset: 210px 0 0;
  z-index: 2;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.64));
  border-radius: 0 0 24px 24px;
}

.clip-content p,
.clip-content h3,
.clip-content span {
  margin: 0;
}

.clip-thumb {
  position: absolute;
  inset: 64px 18px auto;
  z-index: 2;
  display: grid;
  min-height: 74px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
}

.clip-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.clip-meta-row small {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 800;
}

.brand-logo {
  position: relative;
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
}

.brand-logo .logo-fallback {
  opacity: 0;
}

.brand-logo img {
  position: absolute;
  inset: 2px;
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(244, 246, 239, 0.16));
}

.tag-cloud img,
.tool-badge img,
.tool-pill img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.logo-fallback {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 5px;
  background: rgba(167, 201, 137, 0.18);
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
}

.adobe-tile {
  display: inline-grid;
  width: 44px;
  height: 44px;
  min-width: 44px;
  aspect-ratio: 1 / 1;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 11px;
  font-family: Sora, Inter, sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 20px color-mix(in srgb, currentColor 20%, transparent);
}

.adobe-tile.ps { color: #8bc8ff; background: #061f3d; }
.adobe-tile.ai { color: #ffb15f; background: #321403; }
.adobe-tile.pr { color: #d8a8ff; background: #1f123f; }
.adobe-tile.ae { color: #c7b4ff; background: #1a164a; }
.adobe-tile.au { color: #96f0df; background: #07332d; }

.custom-logo {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 10px;
  color: #f4f6ef;
  background:
    radial-gradient(circle at 30% 16%, rgba(255, 255, 255, 0.22), transparent 36%),
    rgba(255, 255, 255, 0.055);
}

.custom-logo svg {
  width: 22px;
  height: 22px;
}

.capcut-mark { color: #f4f6ef; background-color: #101010; }
.barca-mark { color: #f5c24b; background: linear-gradient(135deg, #173b87 0 48%, #8d1f31 48%); }
.laliga-mark { color: #ff6a3d; background-color: #171b12; }
.crest-mark { color: #b11e2f; background-color: #fff7e8; }
.wordmark-logo { color: #4b2f23; background-color: #fffaf1; font-family: Sora, Inter, sans-serif; font-size: 12px; font-weight: 900; }
.optics-mark { color: #31534d; background-color: #eef4e8; }
.stripe-mark { color: #9d2435; background: linear-gradient(90deg, #173b87 0 50%, #8d1f31 50%); }
.orbit-mark { color: #456146; background-color: #f6f7ea; }
.player-mark { color: #fffaf1; background: linear-gradient(135deg, #4b2f23, #8f8a57); font-family: Sora, Inter, sans-serif; font-size: 12px; font-weight: 900; }
.cards-mark { color: #6c5d34; background-color: #fffaf1; }
.cup-mark { color: #a88753; background-color: #222617; }
.banana-mark { color: #d0a62f; background-color: #fff9d9; }
.higg-mark { color: #8f8a57; background-color: #f3f4e8; }
.codex-mark { color: #4b2f23; background-color: #f7f7f0; }
.chatgpt-mark,
.openai-mark { color: #111; background-color: #f7f7f0; }
.redcross-mark { color: #e31b23; background-color: #fff7f3; }
.design-mark { color: #9ed0ff; background-color: #091b29; }
.video-mark { color: #b8d09a; background-color: #101f14; }
.marketing-mark { color: #ffd36f; background-color: #231b08; }

.clip-content p {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.clip-content h3 {
  max-width: 100%;
  overflow-wrap: anywhere;
  margin-top: 8px;
  font-family: Sora, Inter, sans-serif;
  font-size: 22px;
  line-height: 1.1;
}

.clip-content span {
  display: -webkit-box;
  margin-top: 9px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.clip-play {
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 4;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: white;
  opacity: 0;
  transform: translateY(-8px) scale(0.94);
  transition: opacity 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(18px);
}

.clip-card:hover .clip-play {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.clip-play svg {
  width: 18px;
  height: 18px;
}

.clip-code {
  position: absolute;
  left: 16px;
  top: 14px;
  z-index: 4;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.playhead {
  display: none;
}

.clip-card:hover .playhead {
  display: none;
}

.ruler {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  height: 28px;
  border-bottom: 1px solid var(--line);
  color: rgba(244, 246, 239, 0.32);
  font-size: 10px;
}

.ruler span {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 6px;
  line-height: 28px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.52);
  padding: 18px;
  backdrop-filter: blur(18px);
  animation: modalBackdropIn 0.28s ease both;
}

.detail-modal {
  width: min(1180px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  border-radius: 28px;
  animation: folderModalOpen 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: 50% 62%;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  color: rgba(244, 246, 239, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.modal-head > div:first-child {
  display: grid;
  gap: 4px;
}

.modal-head > div:first-child strong {
  color: var(--text);
  font-family: Sora, Inter, sans-serif;
  font-size: 18px;
}

.modal-actions {
  display: flex;
  gap: 8px;
}

.modal-head button,
.modal-actions button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 14%, rgba(255,255,255,0.24), transparent 36%),
    rgba(255, 255, 255, 0.075);
  color: var(--text);
  backdrop-filter: blur(18px) saturate(1.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
}

.modal-head svg {
  width: 18px;
  height: 18px;
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 20px;
  max-height: calc(92vh - 72px);
  overflow: auto;
  padding: 20px;
}

.modal-grid h2 {
  margin: 12px 0 12px;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 0.98;
}

.modal-preview {
  display: grid;
  min-height: 560px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #243423, #a7c989);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.modal-gallery {
  display: grid;
  gap: 10px;
}

.modal-filmstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.modal-filmstrip i {
  display: grid;
  min-height: 68px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 4rem),
    rgba(255, 255, 255, 0.045);
}

.modal-filmstrip span {
  color: rgba(244, 246, 239, 0.42);
  font-size: 11px;
  font-weight: 900;
}

.modal-info {
  min-width: 0;
}

.modal-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.modal-meta-strip span {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  padding: 11px;
  color: rgba(244, 246, 239, 0.72);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.modal-meta-strip small {
  display: block;
  margin-bottom: 5px;
  color: rgba(244, 246, 239, 0.42);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-note {
  margin-top: 22px;
  border-left: 2px solid var(--green);
  padding-left: 14px;
  color: rgba(244, 246, 239, 0.78);
  line-height: 1.55;
}

.modal-specs {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.modal-specs div {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px;
}

.modal-specs small {
  display: block;
  margin-bottom: 5px;
  color: rgba(244, 246, 239, 0.42);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-specs strong {
  color: rgba(244, 246, 239, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.modal-tools,
.modal-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tool-pill,
.modal-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  padding: 8px 10px;
  color: rgba(244, 246, 239, 0.76);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .modal-grid {
    grid-template-columns: 1fr;
    max-height: calc(92vh - 82px);
  }

  .modal-preview {
    min-height: 260px;
  }

  .modal-meta-strip {
    grid-template-columns: 1fr;
  }
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 16px;
  margin-top: 34px;
}

.about-copy,
.contact-card,
.contact-side {
  padding: clamp(20px, 3vw, 32px);
}

.about-copy p {
  margin: 0;
}

.about-copy p + p {
  margin-top: 18px;
}

.service-stack {
  display: grid;
  gap: 12px;
}

.service-card {
  padding: 18px;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  border-color: rgba(167, 201, 137, 0.36);
  background: rgba(255, 255, 255, 0.065);
  transform: translateX(-6px);
}

.service-card small {
  color: var(--green);
  font-weight: 900;
}

.service-card h3,
.contact-side h3 {
  margin: 10px 0 8px;
  font-family: Sora, Inter, sans-serif;
  font-size: 22px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.experiment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.experiment-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(167, 201, 137, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  padding: 22px;
}

.experiment-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 90deg, transparent, rgba(167, 201, 137, 0.22), transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: spin 12s linear infinite;
}

.experiment-card > * {
  position: relative;
  z-index: 1;
}

.experiment-card h3 {
  margin: 54px 0 10px;
  font-family: Sora, Inter, sans-serif;
  font-size: 24px;
  line-height: 1.08;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.skill-grid > span {
  display: grid;
  min-height: 86px;
  align-content: center;
  gap: 5px;
  background: rgba(9, 11, 9, 0.82);
  padding: 14px;
}

.tool-badge {
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.tool-badge:hover {
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-3px);
}

.skill-grid strong {
  font-size: 13px;
}

.skill-grid small {
  color: var(--muted);
}

.brand-logo-marquee {
  margin-top: 18px;
  overflow: hidden;
  padding: 18px 0;
}

.brand-logo-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: brandMarquee 32s linear infinite;
}

.brand-logo-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  border: 1px solid rgba(75, 47, 35, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.48);
  padding: 10px 14px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.brand-logo-track .brand-logo,
.brand-logo-track .custom-logo,
.brand-logo-track .logo-fallback {
  width: 30px;
  height: 30px;
}

.cta-pill {
  margin-top: 26px;
  padding: 14px 18px;
  color: var(--text);
  text-decoration: none;
}

.contact-card p,
.contact-side p {
  margin: 0;
}

.contact-side {
  align-self: start;
}

.inspector-panel {
  margin-bottom: 14px;
  overflow: hidden;
}

.inspector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 14px 15px;
  color: rgba(244, 246, 239, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inspector-row {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 15px;
}

.inspector-row:last-child {
  border-bottom: 0;
}

.inspector-row small {
  color: rgba(244, 246, 239, 0.42);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.inspector-row strong {
  color: rgba(244, 246, 239, 0.76);
  font-size: 13px;
  line-height: 1.35;
}

.tag-cloud {
  display: block;
  padding: 14px;
  position: relative;
  min-height: 306px;
  max-height: 360px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, black 12%, black 88%, transparent);
}

.tag-cloud::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: auto 8px 5px;
  height: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), transparent);
  filter: blur(10px);
  opacity: 0.58;
}

.tag-cloud > span {
  display: inline-grid;
  position: absolute;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.2), transparent 36%),
    rgba(255, 255, 255, 0.045);
  padding: 0;
  color: rgba(244, 246, 239, 0.66);
  transition: opacity 0.22s ease, filter 0.22s ease, transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  animation: brandDrift 7s ease-in-out infinite, brandPulse 5s ease-in-out infinite;
  animation-delay: calc(var(--brand-i, 0) * -0.3s);
  backdrop-filter: blur(16px) saturate(1.4);
}

.tag-cloud > span:nth-child(1) { left: 8%; top: 8%; }
.tag-cloud > span:nth-child(2) { left: 42%; top: 12%; animation-duration: 8.5s, 5.6s; }
.tag-cloud > span:nth-child(3) { left: 20%; top: 28%; animation-duration: 6.8s, 4.8s; }
.tag-cloud > span:nth-child(4) { left: 55%; top: 31%; animation-duration: 9.2s, 6s; }
.tag-cloud > span:nth-child(5) { left: 10%; top: 50%; animation-duration: 7.7s, 5.4s; }
.tag-cloud > span:nth-child(6) { left: 48%; top: 53%; animation-duration: 8.9s, 4.9s; }
.tag-cloud > span:nth-child(7) { left: 26%; top: 70%; animation-duration: 7.2s, 5.8s; }
.tag-cloud > span:nth-child(8) { left: 60%; top: 73%; animation-duration: 9.6s, 6.2s; }
.tag-cloud > span:nth-child(9) { left: 5%; top: 78%; animation-duration: 6.5s, 4.6s; }
.tag-cloud > span:nth-child(10) { left: 36%; top: 84%; animation-duration: 8.1s, 5.1s; }
.tag-cloud > span:nth-child(11) { left: 62%; top: 6%; animation-duration: 7.4s, 5.5s; }
.tag-cloud > span:nth-child(12) { left: 68%; top: 48%; animation-duration: 9s, 6.4s; }
.tag-cloud > span:nth-child(13) { left: 12%; top: 18%; animation-duration: 8.4s, 5.7s; }
.tag-cloud > span:nth-child(14) { left: 73%; top: 22%; animation-duration: 7.6s, 5.2s; }
.tag-cloud > span:nth-child(15) { left: 5%; top: 38%; animation-duration: 9.1s, 6.1s; }
.tag-cloud > span:nth-child(16) { left: 36%; top: 44%; animation-duration: 7.1s, 4.8s; }
.tag-cloud > span:nth-child(17) { left: 72%; top: 62%; animation-duration: 8.8s, 5.9s; }
.tag-cloud > span:nth-child(18) { left: 6%; top: 66%; animation-duration: 7.9s, 5.3s; }
.tag-cloud > span:nth-child(19) { left: 46%; top: 70%; animation-duration: 9.7s, 6.5s; }
.tag-cloud > span:nth-child(20) { left: 78%; top: 82%; animation-duration: 8.3s, 5.5s; }
.tag-cloud > span:nth-child(21) { left: 26%; top: 4%; animation-duration: 7.5s, 5s; }
.tag-cloud > span:nth-child(22) { left: 18%; top: 86%; animation-duration: 9.4s, 6.3s; }
.tag-cloud > span:nth-child(23) { left: 76%; top: 12%; animation-duration: 8.7s, 5.8s; }
.tag-cloud > span:nth-child(24) { left: 34%; top: 24%; animation-duration: 7.8s, 5.1s; }
.tag-cloud > span:nth-child(25) { left: 72%; top: 36%; animation-duration: 9.5s, 6.2s; }
.tag-cloud > span:nth-child(26) { left: 18%; top: 58%; animation-duration: 8.2s, 5.4s; }
.tag-cloud > span:nth-child(27) { left: 55%; top: 64%; animation-duration: 9.1s, 6.1s; }
.tag-cloud > span:nth-child(28) { left: 82%; top: 68%; animation-duration: 7.6s, 5.2s; }
.tag-cloud > span:nth-child(29) { left: 42%; top: 86%; animation-duration: 8.9s, 5.9s; }

.tag-cloud > span strong {
  display: none;
}

.skill-logo-cloud .brand-logo,
.skill-logo-cloud .logo-fallback {
  width: 34px;
  height: 34px;
}

.skill-logo-cloud .brand-logo img {
  inset: 5px;
  width: 24px;
  height: 24px;
}

.skill-logo-cloud .adobe-tile {
  width: 34px;
  height: 34px;
  min-width: 34px;
  flex-basis: 34px;
  border-radius: 9px;
  font-size: 12px;
}

.brand-chip-mini {
  display: inline-grid;
  width: auto;
  min-width: 18px;
  height: 18px;
  place-items: center;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.tag-cloud:hover > span {
  opacity: 0.48;
  filter: blur(1.2px);
}

.tag-cloud > span:hover {
  opacity: 1;
  filter: blur(0);
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(167, 201, 137, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(167, 201, 137, 0.18), transparent 70%),
    rgba(255, 255, 255, 0.065);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22), 0 0 28px rgba(167, 201, 137, 0.12);
}

body.cursor-project {
  --cursor-size: 72px;
}

body.cursor-project .cursor-ring {
  border-color: rgba(167, 201, 137, 0.9);
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 28%, rgba(143, 138, 87, 0.18), transparent 34rem),
    radial-gradient(circle at 78% 70%, rgba(255, 255, 255, 0.64), transparent 22rem),
    rgba(248, 244, 236, 0.78);
  backdrop-filter: blur(22px);
  animation: introIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.intro-overlay.is-leaving {
  animation: introOut 0.62s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.intro-ambient {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.intro-ambient span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: rgba(167, 201, 137, 0.55);
  box-shadow: 0 0 28px rgba(167, 201, 137, 0.24);
  animation: particleRise 3.1s ease-in-out infinite;
}

.intro-ambient span:nth-child(1) {
  left: 31%;
  top: 68%;
}

.intro-ambient span:nth-child(2) {
  left: 63%;
  top: 72%;
  animation-delay: 0.55s;
}

.intro-ambient span:nth-child(3) {
  left: 50%;
  top: 80%;
  animation-delay: 1.05s;
}

.intro-panel {
  width: min(780px, 94vw);
  overflow: hidden;
  border-radius: 30px;
  color: var(--text);
  background: rgba(255, 250, 241, 0.72);
  box-shadow: 0 34px 90px rgba(75, 47, 35, 0.18), inset 0 1px 0 rgba(255,255,255,0.72);
  animation: panelIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.intro-head,
.intro-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px;
}

.intro-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.intro-app-icon {
  display: grid;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(75, 47, 35, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--green);
}

.intro-app-icon svg,
.intro-status-icon svg {
  width: 24px;
  height: 24px;
}

.intro-head > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.intro-file {
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--text);
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(22px, 3.4vw, 38px);
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  animation: fileReveal 1.2s steps(32, end) both;
}

.intro-skip,
.intro-launch {
  border: 0;
  color: var(--text);
  font-weight: 900;
}

.intro-skip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  padding: 10px 14px;
  color: var(--muted);
}

.intro-body {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 18px;
  padding: 18px;
}

.intro-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.36);
}

.intro-preview-top {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 11px;
}

.intro-preview-top span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.intro-preview-frame {
  position: relative;
  display: grid;
  min-height: 230px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(75, 47, 35, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(75, 47, 35, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #fffdf8, #b7b980 58%, #556f65);
  background-size: 34px 34px, 34px 34px, auto;
}

.intro-play {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream);
  backdrop-filter: blur(20px);
}

.intro-play svg {
  width: 26px;
  height: 26px;
}

.intro-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  translate: 0 -100%;
  animation: scanline 2.2s ease-in-out infinite;
}

.intro-stack {
  display: grid;
  align-content: center;
  gap: 17px;
}

.intro-status-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.intro-status-icon {
  color: var(--green);
}

.intro-status-row strong {
  color: var(--text);
  font-family: Sora, Inter, sans-serif;
}

.intro-progress {
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(75, 47, 35, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.intro-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(167, 201, 137, 0.42), rgba(244, 246, 239, 0.92));
  box-shadow: 0 0 32px rgba(167, 201, 137, 0.36);
}

.intro-micro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.intro-micro-grid span {
  display: grid;
  min-height: 82px;
  place-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--muted);
}

.intro-micro-grid svg {
  width: 22px;
  height: 22px;
  color: var(--green);
}

.intro-micro-grid small {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-mini-timeline {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.1fr 0.65fr 1fr;
  gap: 6px;
}

.intro-mini-timeline i {
  height: 18px;
  border-radius: 999px;
  background: rgba(167, 201, 137, 0.2);
}

.intro-mini-timeline i:nth-child(even) {
  background: rgba(255, 255, 255, 0.1);
}

.cloud-sync {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.cloud-sync span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 22px rgba(167, 201, 137, 0.75);
}

.intro-launch {
  padding: 13px 18px;
  border-radius: 999px;
}

.intro-launch:disabled {
  opacity: 0.42;
}

@media (max-width: 720px) {
  .intro-head,
  .intro-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro-body {
    grid-template-columns: 1fr;
  }

  .intro-preview-frame {
    min-height: 170px;
  }
}

@media (max-width: 980px) {
  .about-grid,
  .contact-grid,
  .experiment-grid {
    grid-template-columns: 1fr;
  }

  .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.light-portfolio,
body {
  color: var(--text);
}

.sidebar,
.workspace-frame,
.topbar,
.inspector,
.panel,
.glass,
.tool-button,
.timeline-controls button,
.modal-head button,
.modal-actions button,
.intro-preview,
.intro-panel {
  border-color: var(--line);
  background:
    radial-gradient(circle at var(--mx, 34%) var(--my, 12%), rgba(255, 255, 255, 0.68), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.24));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -18px 34px rgba(75, 47, 35, 0.035),
    0 24px 70px rgba(75, 47, 35, 0.14);
  color: var(--text);
}

.sidebar {
  background: rgba(255, 255, 255, 0.42);
}

.brand-chip,
.command-chip,
.tool-button {
  color: var(--chocolate);
}

.tool-button:hover,
.tool-button.active {
  border-color: rgba(75, 47, 35, 0.28);
  color: var(--green);
  background:
    radial-gradient(circle at 32% 12%, rgba(255, 255, 255, 0.84), transparent 38%),
    rgba(255, 255, 255, 0.46);
}

.breadcrumb,
.search-pill,
.inspector-row strong,
.modal-head,
.modal-specs strong,
.modal-meta-strip span,
.tool-pill,
.modal-metrics span,
.timeline-header strong,
.social-card-body strong,
.service-card h3,
.contact-side h3,
.experiment-card h3,
.clip-content h3 {
  color: var(--text);
}

.workspace-label,
.service-card small,
.intro-status-icon,
.metric-card strong {
  color: var(--green);
}

.soft-copy,
.metric-card span,
.social-card-body span,
.service-card p,
.inspector-row small,
.modal-specs small,
.modal-meta-strip small,
.clip-content span,
.clip-content p {
  color: var(--muted);
}

.hero-title-editorial {
  background: linear-gradient(105deg, #4b2f23 0%, #7d5d39 34%, #fffaf1 49%, #8f8a57 58%, #4b2f23 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-editorial em {
  background: linear-gradient(105deg, #7d7848 0%, #a88753 42%, #fffaf1 50%, #6f5f35 60%, #7d7848 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 34px rgba(125, 120, 72, 0.14);
}

.hero-portrait {
  background:
    radial-gradient(circle at 52% 18%, rgba(255, 255, 255, 0.7), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.26));
}

.hero-portrait img {
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(0.96) contrast(1.02) drop-shadow(var(--sx) var(--sy) 24px rgba(75, 47, 35, 0.22));
}

.portrait-meta {
  border-color: rgba(75, 47, 35, 0.12);
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  box-shadow: 0 16px 36px rgba(75, 47, 35, 0.1);
}

.portrait-light {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.42), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(255, 250, 241, 0.12));
  mix-blend-mode: normal;
}

.metric-card {
  overflow: hidden;
}

.typewriter-text {
  position: relative;
  overflow: visible;
  animation: none;
}

.typewriter-line {
  display: contents;
  max-width: none;
  clip-path: none;
  animation: none;
}

.typewriter-text::after {
  content: none;
}

.typewriter-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(8px);
  animation: phraseWordIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--type-delay, 0s) + min(var(--word-i), 42) * 0.028s);
}

.brand-orbit-stage {
  min-height: 560px;
  background:
    radial-gradient(ellipse at 50% 72%, rgba(75, 47, 35, 0.16), transparent 18rem),
    radial-gradient(circle at 50% 46%, rgba(143, 138, 87, 0.14), transparent 16rem),
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.62), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.24));
  perspective: 1350px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 24px 70px rgba(75,47,35,0.12);
}

.brand-globe {
  width: clamp(180px, 24vw, 310px);
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,0.94), transparent 11%),
    radial-gradient(circle at 36% 30%, rgba(255,255,255,0.42), transparent 22%),
    radial-gradient(circle at 44% 58%, rgba(143, 138, 87, 0.38), transparent 28%),
    linear-gradient(118deg, #f7fbef 0%, #cbd5b6 27%, #8f8a57 49%, #56736a 72%, #213f3d 100%);
  box-shadow:
    inset -54px -42px 84px rgba(31, 42, 35, 0.48),
    inset 24px 20px 52px rgba(255, 255, 255, 0.72),
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    0 46px 84px rgba(75, 47, 35, 0.25),
    0 0 110px rgba(143, 138, 87, 0.22);
  transform: rotateX(-12deg) rotateY(-22deg);
  animation: globeTurn3d 18s linear infinite;
}

.brand-globe::before {
  inset: 0;
  opacity: 0.54;
  background:
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(255, 250, 241, 0.2) 21px 22px, transparent 23px 42px),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(255, 250, 241, 0.16) 25px 26px, transparent 27px 48px);
  border-radius: inherit;
  animation: none;
}

.globe-map {
  position: absolute;
  left: -58%;
  top: 16%;
  z-index: 1;
  width: 216%;
  height: 70%;
  fill: rgba(255, 250, 241, 0.48);
  filter: drop-shadow(0 7px 18px rgba(34, 51, 40, 0.32));
  animation: globeMapSlide 15s linear infinite;
}

.brand-globe::after {
  z-index: 2;
  background:
    radial-gradient(circle at 25% 16%, rgba(255, 255, 255, 0.72), transparent 15%),
    radial-gradient(ellipse at 47% 97%, rgba(31, 42, 35, 0.34), transparent 35%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.45), transparent 30%, rgba(32, 43, 34, 0.52) 82%);
}

.globe-shine,
.globe-ring {
  z-index: 3;
  border-color: rgba(255, 250, 241, 0.36);
  box-shadow: inset 0 0 24px rgba(255, 250, 241, 0.14);
}

.brand-orbit {
  animation: none;
  transform-style: preserve-3d;
}

.brand-orbit-b {
  opacity: 0.44;
  animation: none;
  transform: none;
}

.orbit-logo {
  border-color: rgba(75, 47, 35, 0.16);
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.78), transparent 38%),
    rgba(255, 255, 255, 0.48);
  box-shadow: 0 18px 38px rgba(75, 47, 35, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  animation: orbitLogo var(--duration) linear infinite;
  animation-delay: var(--delay);
  transform-style: preserve-3d;
}

.social-visual {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(75,47,35,0.18)),
    var(--social-img) center / cover;
}

.social-visual span,
.social-focus-metric small {
  border-color: rgba(75,47,35,0.16);
  background: rgba(255, 255, 255, 0.46);
  color: var(--text);
}

.social-focus-metric strong {
  color: var(--cream);
}

.social-actions span {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.42);
  color: var(--chocolate);
}

.clip-card {
  filter: drop-shadow(0 18px 38px rgba(75, 47, 35, 0.08));
}

.stack-back {
  border-color: rgba(75, 47, 35, 0.1);
  background: rgba(255, 255, 255, 0.28);
}

.clip-card::before,
.folder-tab,
.folder-tab::after {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.32)),
    linear-gradient(135deg, var(--clip-a), var(--clip-b));
  opacity: 0.96;
}

.clip-card::before {
  border-radius: 22px 26px 26px 26px;
  clip-path: polygon(0 34px, 30% 34px, 36% 0, 58% 0, 64% 34px, 100% 34px, 100% 100%, 0 100%);
}

.clip-card::after,
.folder-tab {
  border-color: rgba(75, 47, 35, 0.13);
}

.folder-tab::after {
  border: 1px solid rgba(75, 47, 35, 0.13);
  border-left: 0;
  border-bottom: 0;
}

.clip-thumb {
  min-height: 132px;
  overflow: hidden;
  border-color: rgba(75, 47, 35, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(75,47,35,0.22)),
    var(--clip-img) center / cover;
  color: #fffaf1;
}

.clip-thumb span {
  border-radius: 999px;
  background: rgba(75, 47, 35, 0.38);
  padding: 8px 10px;
  backdrop-filter: blur(12px);
}

.clip-content {
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.44), rgba(255, 250, 241, 0.9));
}

.clip-code,
.clip-play {
  border-color: rgba(75, 47, 35, 0.12);
  background: rgba(255, 255, 255, 0.48);
  color: var(--chocolate);
}

.clip-meta-row small {
  border-color: rgba(75, 47, 35, 0.12);
  background: rgba(255, 255, 255, 0.36);
  color: var(--muted);
}

.playhead {
  background: rgba(125, 120, 72, 0.78);
}

.modal-backdrop {
  background: rgba(75, 47, 35, 0.18);
}

.modal-preview {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(75,47,35,0.22)),
    var(--modal-img) center / cover;
  color: var(--cream);
}

.modal-preview span {
  border-radius: 999px;
  background: rgba(75, 47, 35, 0.42);
  padding: 9px 12px;
  backdrop-filter: blur(12px);
}

.modal-filmstrip i {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(75,47,35,0.16)),
    var(--modal-img) center / cover;
}

.skill-logo-cloud > span::after,
.tool-badge::after {
  content: attr(data-skill-name);
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 20;
  width: max-content;
  max-width: 180px;
  translate: -50% 6px;
  border: 1px solid rgba(75, 47, 35, 0.14);
  border-radius: 14px;
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 16px 34px rgba(75, 47, 35, 0.14);
  padding: 8px 10px;
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  opacity: 0;
  transition: opacity 0.18s ease, translate 0.18s ease;
  backdrop-filter: blur(18px) saturate(1.4);
}

.skill-logo-cloud > span:hover::after,
.tool-badge:hover::after {
  opacity: 1;
  translate: -50% 0;
}

.skill-logo-cloud > span.tooltip-below::after {
  top: calc(100% + 10px);
  bottom: auto;
  translate: -50% -6px;
}

.skill-logo-cloud > span.tooltip-below:hover::after {
  translate: -50% 0;
}

.brand-logo img,
.tag-cloud img,
.tool-badge img,
.tool-pill img {
  filter: drop-shadow(0 4px 9px rgba(75, 47, 35, 0.16));
}

.brand-logo-color img {
  inset: 3px;
  width: 28px;
  height: 28px;
}

.brand-universe .brand-orbit-stage {
  display: grid;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  min-height: clamp(680px, calc(var(--brand-count, 20) * 58px), 1180px);
  align-items: start;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 10% 82%, rgba(143, 138, 87, 0.18), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.18));
}

.brand-universe .brand-globe {
  width: clamp(300px, 34vw, 520px);
}

.brand-universe .brand-half-globe {
  position: sticky;
  top: 18vh;
  align-self: start;
  justify-self: start;
  margin-left: clamp(16px, 4vw, 52px);
  margin-top: clamp(112px, 16vh, 170px);
  border-radius: 999px;
  clip-path: none;
  transform: rotateX(-10deg) rotateY(-18deg) rotateZ(-3deg);
  animation: globeTurn3d 18s linear infinite;
}

.brand-universe .brand-orbit,
.brand-universe .orbit-logo {
  display: none;
}

@keyframes orbitLogo {
  from {
    transform:
      translate(-50%, -50%)
      rotateX(var(--tilt))
      rotateY(var(--angle))
      translateZ(var(--radius))
      rotateY(calc(-1 * var(--angle)))
      rotateX(calc(var(--tilt) * -1));
  }
  to {
    transform:
      translate(-50%, -50%)
      rotateX(var(--tilt))
      rotateY(calc(var(--angle) + 360deg))
      translateZ(var(--radius))
      rotateY(calc(-1 * var(--angle) - 360deg))
      rotateX(calc(var(--tilt) * -1));
  }
}

@keyframes globeMapSlide {
  to { transform: translateX(-50%); }
}

@keyframes globeTurn3d {
  from { transform: rotateX(-12deg) rotateY(-22deg) rotateZ(0deg); }
  to { transform: rotateX(-12deg) rotateY(338deg) rotateZ(0deg); }
}

@keyframes letterReflect {
  0%, 88%, 100% {
    background-position: 0% 50%;
    filter: saturate(0.95);
    text-shadow: 0 0 0 rgba(143, 138, 87, 0);
  }
  43%, 49% {
    background-position: 100% 50%;
    filter: saturate(1.08);
    text-shadow: 0 10px 34px rgba(143, 138, 87, 0.12);
  }
}

@keyframes typeLetter {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes activePulse {
  0%, 100% {
    opacity: 0.28;
    transform: scale(0.72);
  }
  50% {
    opacity: 0.82;
    transform: scale(1.38);
  }
}

@keyframes brandHalfTurn {
  from { transform: rotateX(58deg) rotateZ(-4deg) rotateY(-18deg); }
  to { transform: rotateX(58deg) rotateZ(-4deg) rotateY(342deg); }
}

@keyframes brandMarquee {
  to { transform: translateX(-50%); }
}

@keyframes modalBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes folderModalOpen {
  from {
    opacity: 0;
    transform: translateY(34px) scaleX(0.86) scaleY(0.08);
    filter: blur(12px);
  }
  58% {
    opacity: 1;
    transform: translateY(-4px) scaleX(1.01) scaleY(1.02);
    filter: blur(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes folderCardOpen {
  to {
    transform: translateY(-10px) scale(1.015);
    filter: drop-shadow(0 34px 70px rgba(75, 47, 35, 0.22)) brightness(1.04);
  }
}

@keyframes textTypeIn {
  from {
    clip-path: inset(0 100% 0 0);
    filter: blur(1px);
  }
  to {
    clip-path: inset(0 0 0 0);
    filter: blur(0);
  }
}

@keyframes caretBlink {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.7; }
}

@media (max-width: 560px) {
  body,
  button,
  a,
  [role="button"] {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring,
  .cursor-trail {
    display: none;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }

  .search-pill {
    max-width: 100%;
  }

  .clip-track {
    grid-auto-columns: minmax(250px, 82vw);
  }

  .hero-portrait,
  .hero-portrait img {
    min-height: 300px;
  }

  .section-head,
  .timeline-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-card {
    min-height: 370px;
  }

  .clip-card {
    min-height: 340px;
  }

  .clip-thumb {
    inset: 58px 14px auto;
  }

  .brand-universe .brand-orbit-stage {
    grid-template-columns: 1fr;
    min-height: calc(var(--brand-count, 20) * 92px);
  }

  .brand-universe .brand-half-globe {
    top: 15vh;
    width: 118vw;
    margin-left: -42vw;
    margin-top: 170px;
  }

  .brand-revolver-copy {
    top: 15vh;
    width: 78%;
    margin-left: 24px;
  }

  .brand-revolver {
    top: 28vh;
    grid-column: 1;
    min-height: 260px;
    padding: 24px;
    transform: none;
  }

  .brand-revolver-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .brand-revolver-logo {
    width: 68px;
    border-radius: 18px;
  }

  .brand-revolver-item strong {
    font-size: clamp(28px, 10vw, 44px);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes globeTurn {
  0% { transform: rotateY(0deg) rotateX(-8deg); }
  100% { transform: rotateY(360deg) rotateX(-8deg); }
}

@keyframes globeMap {
  to { transform: translateX(26%); }
}

@keyframes orbitTurn {
  from { transform: rotateX(62deg) rotateZ(0deg); }
  to { transform: rotateX(62deg) rotateZ(360deg); }
}

@keyframes sliderBump {
  0% { transform: translateX(0) scale(1); }
  35% { transform: translateX(3px) scale(0.997); }
  70% { transform: translateX(-2px) scale(1.002); }
  100% { transform: translateX(0) scale(1); }
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.975);
    filter: blur(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes letterGlass {
  0%, 28% { background-position: 0% 50%; }
  58% { background-position: 100% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes letterEdgeGlow {
  0%, 72%, 100% {
    opacity: 0;
    filter: blur(2px);
    transform: scale(1);
  }
  10%, 18% {
    opacity: 0.9;
    filter: blur(0.4px);
    transform: scale(1.012);
  }
}

@keyframes phraseWordIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes brandFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}

@keyframes brandDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  35% { transform: translate3d(8px, -7px, 0) rotate(1deg); }
  70% { transform: translate3d(-5px, 5px, 0) rotate(0.4deg); }
}

@keyframes brandPulse {
  0%, 100% {
    filter: blur(0);
    opacity: 0.74;
  }
  50% {
    filter: blur(0.55px);
    opacity: 1;
  }
}

@keyframes introIn {
  from {
    opacity: 0;
    filter: blur(18px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes introOut {
  to {
    opacity: 0;
    transform: scale(1.08);
    filter: blur(22px);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    filter: blur(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes fileReveal {
  from {
    max-width: 0;
  }
  to {
    max-width: 100%;
  }
}

@keyframes scanline {
  0% { translate: 0 -100%; opacity: 0; }
  20% { opacity: 1; }
  70% { opacity: 0.7; }
  100% { translate: 0 100%; opacity: 0; }
}

@keyframes particleRise {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.8);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-130px) scale(1.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 1181px) {
  .skill-logo-cloud {
    min-height: 420px;
    max-height: 460px;
    padding: 22px;
  }
}

.social-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.social-card:focus-visible {
  outline: 2px solid rgba(20, 134, 255, 0.75);
  outline-offset: 3px;
}

@keyframes typeReveal {
  to { clip-path: inset(0 0 0 0); }
}

@keyframes caretTrack {
  0% { opacity: 1; transform: translateX(0); }
  99% { opacity: 1; transform: translateX(var(--type-caret, 100%)); }
  100% { opacity: 0; transform: translateX(var(--type-caret, 100%)); }
}

.brand-revolver-item strong {
  line-height: 1.06;
  max-width: min(520px, 100%);
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

@media (max-width: 760px) {
  .brand-universe .brand-orbit-stage {
    min-height: clamp(720px, calc(var(--brand-count, 20) * 66px), 1320px);
  }

  .brand-universe .brand-half-globe {
    width: 88vw;
    margin-left: -18vw;
    margin-top: 148px;
  }
}

.brand-logo-color .logo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.brand-logo-color img + .logo-fallback,
.brand-logo-color:has(img) .logo-fallback {
  opacity: 0;
}

/* Photoshop-style brand layer board */
.brand-universe {
  min-height: calc(100vh + var(--brand-count, 20) * 72px);
}

.brand-universe .brand-orbit-stage {
  position: sticky;
  top: clamp(18px, 5vh, 54px);
  grid-template-columns: minmax(0, 58%) minmax(300px, 42%);
  height: clamp(590px, 78vh, 760px);
  min-height: 0;
  overflow: hidden;
  align-items: center;
  background:
    linear-gradient(rgba(75, 47, 35, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 47, 35, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.82), transparent 20rem),
    linear-gradient(135deg, rgba(255,255,255,0.74), rgba(245,242,232,0.5));
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 24px 70px rgba(75,47,35,0.12);
}

.brand-globe,
.brand-half-globe,
.globe-map,
.globe-shine,
.globe-ring,
.brand-orbit,
.brand-orbit-b,
.orbit-logo {
  display: none !important;
}

.brand-design-canvas {
  position: relative;
  z-index: 3;
  grid-column: 1 / 2;
  width: min(640px, calc(100% - 42px));
  height: min(520px, calc(100% - 76px));
  margin-left: clamp(22px, 5vw, 72px);
  border: 1px solid rgba(75,47,35,0.16);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,250,241,0.72);
  box-shadow: 0 30px 80px rgba(75,47,35,0.14), inset 0 1px 0 rgba(255,255,255,0.76);
  backdrop-filter: blur(16px) saturate(1.2);
}

.design-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(75,47,35,0.12);
  background: rgba(255,255,255,0.54);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.design-window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d8c4a5;
}

.design-window-bar span:nth-child(1) { background: #d77862; }
.design-window-bar span:nth-child(2) { background: #d5ad51; }
.design-window-bar span:nth-child(3) { background: #7fa873; }
.design-window-bar strong { margin-left: 8px; }

.design-artboard {
  position: absolute;
  inset: 42px 0 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(75,47,35,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,47,35,0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255,255,255,0.42), rgba(255,250,241,0.82));
  background-size: 28px 28px, 28px 28px, auto;
}

.artboard-ruler {
  position: absolute;
  z-index: 2;
  background: rgba(255,255,255,0.58);
  border-color: rgba(75,47,35,0.12);
}

.ruler-x { left: 0; right: 0; top: 0; height: 24px; border-bottom: 1px solid rgba(75,47,35,0.12); }
.ruler-y { left: 0; top: 0; bottom: 0; width: 24px; border-right: 1px solid rgba(75,47,35,0.12); }

.artboard-grid-lines {
  position: absolute;
  inset: 56px 48px 46px 58px;
  border: 1px dashed rgba(75,47,35,0.18);
  background: rgba(255,255,255,0.32);
}

.layer-stack-preview {
  position: absolute;
  left: clamp(42px, 8%, 72px);
  top: 58px;
  width: min(330px, 58%);
  display: grid;
  gap: 8px;
}

.layer-panel-head,
.design-layer-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(75,47,35,0.13);
  border-radius: 12px;
  background: rgba(255,255,255,0.58);
  padding: 9px 10px;
  color: var(--text);
  box-shadow: 0 12px 26px rgba(75,47,35,0.08);
}

.layer-panel-head {
  grid-template-columns: 28px 1fr;
  background: rgba(75,47,35,0.08);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.layer-panel-head svg,
.design-layer-row svg { width: 18px; height: 18px; }

.design-layer-row {
  opacity: 0.28;
  transform: translateX(-18px);
  filter: blur(1.4px);
  transition: opacity 0.28s ease, transform 0.34s ease, filter 0.28s ease, background 0.28s ease;
}

.design-layer-row.active {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  background: rgba(255,255,255,0.86);
  border-color: rgba(20, 134, 255, 0.42);
  box-shadow: 0 20px 42px rgba(20, 134, 255, 0.12), 0 12px 26px rgba(75,47,35,0.08);
}

.design-layer-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.design-layer-row small {
  color: var(--green);
  font-weight: 900;
}

.canvas-layer-focus {
  position: absolute;
  right: 48px;
  bottom: 52px;
  width: min(240px, 42%);
  min-height: 112px;
  border: 1px dashed rgba(75,47,35,0.18);
  border-radius: 16px;
  background: rgba(255,255,255,0.36);
}

.canvas-client-name {
  position: absolute;
  inset: 18px;
  display: grid;
  place-items: center;
  color: var(--text);
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(20px, 2.7vw, 34px);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.28s ease, transform 0.34s ease, clip-path 0.38s ease;
  overflow-wrap: anywhere;
}

.canvas-client-name.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  clip-path: inset(0 0 0 0);
}

.brand-revolver-copy,
.brand-revolver {
  position: relative;
  top: auto;
  align-self: center;
}

.brand-revolver-copy {
  grid-column: 1 / 2;
  margin: 0 0 360px clamp(38px, 7vw, 96px);
}

.brand-revolver {
  grid-column: 2 / 3;
  min-height: 300px;
  transform: translateX(clamp(-54px, -4vw, -22px));
}

@media (max-width: 760px) {
  .brand-universe {
    min-height: calc(100vh + var(--brand-count, 20) * 82px);
  }

  .brand-universe .brand-orbit-stage {
    grid-template-columns: 1fr;
    height: clamp(640px, 82vh, 760px);
  }

  .brand-design-canvas {
    width: calc(100% - 32px);
    height: 330px;
    margin: 24px 16px 0;
  }

  .layer-stack-preview {
    width: calc(100% - 84px);
  }

  .canvas-layer-focus {
    display: none;
  }

  .brand-revolver-copy {
    margin: 18px 24px 0;
  }

  .brand-revolver {
    grid-column: 1;
    min-height: 210px;
    padding: 16px 24px 28px;
    transform: none;
  }
}

.brand-design-canvas,
.brand-revolver-copy,
.brand-revolver {
  grid-row: 1;
}

.brand-design-canvas {
  align-self: center;
  justify-self: start;
  height: min(500px, calc(100% - 92px));
}

.brand-revolver-copy {
  align-self: start;
  margin-top: clamp(72px, 11vh, 118px);
  margin-bottom: 0;
}

.brand-revolver {
  justify-self: start;
}

@media (max-width: 760px) {
  .brand-design-canvas,
  .brand-revolver-copy,
  .brand-revolver {
    grid-row: auto;
  }

  .brand-revolver-copy {
    margin-top: 18px;
  }
}

/* UX polish pass: minimal artboard system */
:root {
  --artboard-grid: rgba(75, 47, 35, 0.045);
  --artboard-panel: rgba(255, 250, 241, 0.62);
  --artboard-line: rgba(75, 47, 35, 0.12);
}

.workspace-label {
  color: #75784b;
  letter-spacing: 0.16em;
}

.section-head {
  margin-top: clamp(34px, 5vw, 58px);
}

.section-head h2,
.hero-title {
  letter-spacing: 0;
}

.brand-universe {
  min-height: calc(82vh + var(--brand-count, 20) * 42px);
  margin-bottom: clamp(20px, 4vw, 48px);
}

.brand-universe .brand-orbit-stage {
  top: clamp(12px, 3.5vh, 38px);
  height: clamp(560px, 74vh, 700px);
  border-color: rgba(75,47,35,0.12);
  border-radius: 24px;
  background:
    linear-gradient(var(--artboard-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--artboard-grid) 1px, transparent 1px),
    radial-gradient(circle at 22% 22%, rgba(255,255,255,0.84), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,0.78), rgba(246,243,235,0.54));
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.brand-design-canvas {
  width: min(620px, calc(100% - 54px));
  height: min(480px, calc(100% - 88px));
  margin-left: clamp(28px, 5vw, 70px);
  border-radius: 16px;
  background: rgba(255,250,241,0.68);
  box-shadow: 0 24px 64px rgba(75,47,35,0.12), inset 0 1px 0 rgba(255,255,255,0.76);
}

.design-window-bar {
  height: 40px;
  background: rgba(255,255,255,0.68);
  color: rgba(75,47,35,0.62);
}

.layer-stack-preview {
  top: 58px;
  width: min(340px, 62%);
  gap: 0;
}

.layer-list-window {
  position: relative;
  height: 312px;
  margin-top: 10px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0, black 14%, black 86%, transparent 100%);
}

.layer-list-track {
  display: grid;
  gap: 8px;
  transform: translateY(calc(clamp(0, var(--active-brand), 999) * -57px + 57px));
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.design-layer-row {
  min-height: 49px;
  opacity: 0.22;
  transform: translateX(-10px) scale(0.985);
  background: rgba(255,255,255,0.42);
}

.design-layer-row.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  border-color: rgba(75,47,35,0.18);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 16px 34px rgba(75,47,35,0.1);
}

.brand-revolver-copy {
  z-index: 6;
  margin-left: clamp(28px, 6vw, 84px);
  margin-top: clamp(24px, 5vh, 46px);
}

.brand-revolver-copy .workspace-label {
  display: inline-flex;
  border: 1px solid rgba(75,47,35,0.12);
  border-radius: 999px;
  background: rgba(255,250,241,0.68);
  padding: 7px 10px;
  backdrop-filter: blur(14px);
}

.brand-revolver {
  width: min(500px, calc(100% - 26px));
  transform: translateX(clamp(4px, 1.5vw, 28px));
}

.brand-revolver-item span {
  color: rgba(75,47,35,0.62);
  line-height: 1.42;
}

.metric-grid,
.social-dashboard,
.about-projects,
.experiment-grid,
.contact-grid {
  position: relative;
  border-radius: 20px;
}

.metric-grid::before,
.social-dashboard::before,
.about-projects::before,
.experiment-grid::before,
.contact-grid::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -14px;
  z-index: -1;
  border: 1px solid rgba(75,47,35,0.075);
  border-radius: 24px;
  background:
    linear-gradient(var(--artboard-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--artboard-grid) 1px, transparent 1px),
    rgba(255,250,241,0.22);
  background-size: 28px 28px, 28px 28px, auto;
}

.social-dashboard {
  margin-top: clamp(54px, 7vw, 86px);
  padding-top: 8px;
}

.social-grid {
  gap: 16px;
}

.social-card,
.metric-card,
.service-card,
.experiment-card,
.clip-card,
.contact-card,
.contact-side {
  border-color: rgba(75,47,35,0.11);
  box-shadow: 0 18px 48px rgba(75,47,35,0.08);
}

.social-card {
  border-radius: 18px;
}

.social-visual {
  min-height: 196px;
}

.social-card-body strong,
.clip-content h3,
.service-card h3,
.experiment-card h3 {
  letter-spacing: 0;
}

.about-copy,
.service-card {
  background:
    linear-gradient(var(--artboard-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--artboard-grid) 1px, transparent 1px),
    rgba(255,250,241,0.48);
  background-size: 28px 28px, 28px 28px, auto;
}

@media (max-width: 760px) {
  .brand-universe {
    min-height: calc(84vh + var(--brand-count, 20) * 48px);
  }

  .brand-universe .brand-orbit-stage {
    height: clamp(620px, 82vh, 740px);
  }

  .brand-design-canvas {
    height: 350px;
  }

  .layer-list-window {
    height: 220px;
  }

  .layer-list-track {
    transform: translateY(calc(clamp(0, var(--active-brand), 999) * -57px + 57px));
  }
}

/* Readability refinements for long client names */
.brand-universe {
  min-height: calc(76vh + var(--brand-count, 20) * 36px);
}

.brand-universe .brand-orbit-stage {
  grid-template-columns: minmax(0, 56%) minmax(340px, 44%);
}

.brand-revolver {
  width: min(500px, 100%);
  transform: translateX(clamp(-18px, -1.4vw, -6px));
}

.brand-revolver-item {
  grid-template-columns: clamp(74px, 8vw, 100px) minmax(220px, 1fr);
}

.brand-revolver-item strong {
  font-size: clamp(24px, 2.55vw, 36px);
  line-height: 1.08;
  max-width: 430px;
  word-break: normal;
  overflow-wrap: anywhere;
}

.canvas-layer-focus {
  width: min(270px, 46%);
}

.canvas-client-name {
  font-size: clamp(18px, 2.25vw, 30px);
}

@media (max-width: 760px) {
  .brand-universe {
    min-height: calc(80vh + var(--brand-count, 20) * 42px);
  }

  .brand-revolver-item {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .brand-revolver-item strong {
    font-size: clamp(24px, 8vw, 36px);
  }
}

.hero-title-editorial {
  max-width: 100%;
  overflow: visible;
  font-size: clamp(48px, 7.1vw, 112px);
}

/* Adobe workspace refinement pass */
:root {
  --adobe-bg: #1f211f;
  --adobe-panel: #2b2d2b;
  --adobe-panel-2: #343734;
  --adobe-line: rgba(255, 255, 255, 0.12);
  --adobe-text: #f1f1ec;
  --adobe-muted: rgba(241, 241, 236, 0.66);
  --adobe-blue: #1486ff;
}

.workspace-frame {
  background:
    linear-gradient(rgba(20, 134, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 134, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 250, 241, 0.88), rgba(240, 235, 222, 0.78));
  background-size: 64px 64px, 64px 64px, auto;
}

.main-canvas::before {
  background:
    linear-gradient(90deg, rgba(20, 134, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 134, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 47, 35, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(75, 47, 35, 0.04) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  mask-image: linear-gradient(180deg, black, rgba(0, 0, 0, 0.3));
  opacity: 0.58;
}

.hero-portrait {
  aspect-ratio: 1;
  min-height: 0;
  isolation: isolate;
  border: 1px solid rgba(75, 47, 35, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(rgba(20, 134, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 134, 255, 0.05) 1px, transparent 1px),
    #0b2234;
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow:
    0 24px 70px rgba(75, 47, 35, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: inherit;
  object-fit: cover;
  object-position: center 36%;
  scale: 1.06;
  filter: blur(22px) saturate(0.92) contrast(1.02);
  clip-path: inset(0 round 30px);
}

.hero-portrait::after {
  inset: 1px;
  border-radius: 29px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.portrait-meta {
  left: 18px;
  right: 18px;
  bottom: 18px;
  border-radius: 20px;
  background: rgba(214, 231, 241, 0.74);
  color: #2e3942;
}

.portrait-meta small {
  color: rgba(46, 57, 66, 0.68);
}

.inspector {
  padding: 14px;
  border-left: 1px solid rgba(0, 0, 0, 0.38);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, #292b29, #1b1d1b);
  background-size: 18px 18px, 18px 18px, auto;
  color: var(--adobe-text);
}

.inspector-save-window {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.58);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--adobe-panel-2), var(--adobe-panel));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 42px rgba(0, 0, 0, 0.34);
}

.inspector-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.42);
  background: linear-gradient(180deg, #3c3f3c, #292c29);
  color: var(--adobe-text);
}

.inspector-titlebar.compact {
  min-height: 30px;
}

.inspector-titlebar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.inspector-titlebar span:nth-child(1) { background: #ff5f56; }
.inspector-titlebar span:nth-child(2) { background: #ffbd2e; }
.inspector-titlebar span:nth-child(3) { background: #27c93f; }

.inspector-titlebar strong {
  min-width: 0;
  margin-left: 6px;
  overflow: hidden;
  color: var(--adobe-text);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inspector-head {
  border-bottom-color: var(--adobe-line);
  background: rgba(0, 0, 0, 0.18);
  color: var(--adobe-text);
}

.inspector-head strong {
  color: #8fc4ff;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.inspector-row {
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(0, 0, 0, 0.04));
}

.inspector-row small,
.inspector-row strong {
  color: var(--adobe-text);
}

.inspector-row small {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--adobe-muted);
}

.inspector-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.inspector .availability-badge {
  background: rgba(39, 201, 63, 0.12);
  color: #9ee7ab;
}

.inspector .skill-logo-cloud {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 18px 18px, 18px 18px;
}

.inspector .tag-cloud span {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--adobe-text);
}

.brand-universe {
  min-height: auto;
  margin-bottom: clamp(34px, 6vw, 78px);
}

.brand-universe .brand-orbit-stage {
  position: relative;
  top: auto;
  height: clamp(520px, 67vh, 660px);
  min-height: 520px;
  align-items: center;
  border: 1px solid rgba(34, 38, 45, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(rgba(20, 134, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 134, 255, 0.11) 1px, transparent 1px),
    linear-gradient(rgba(75, 47, 35, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 47, 35, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.9), transparent 17rem),
    linear-gradient(135deg, rgba(246, 249, 250, 0.88), rgba(230, 238, 244, 0.72));
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px, auto, auto;
}

.brand-universe .brand-orbit-stage::after {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(20, 134, 255, 0.22);
  transform: none;
}

.brand-design-canvas {
  width: min(560px, calc(100% - 52px));
  height: min(420px, calc(100% - 80px));
  border-radius: 10px;
}

.design-window-bar {
  background: linear-gradient(180deg, #3c3f3c, #292c29);
  color: var(--adobe-text);
}

.design-artboard {
  background:
    linear-gradient(rgba(20, 134, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 134, 255, 0.08) 1px, transparent 1px),
    #f7f4ec;
  background-size: 26px 26px, 26px 26px, auto;
}

.layer-list-window {
  height: 254px;
}

.layer-list-track {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-orbit-stage.is-brand-hovered .layer-list-track,
.brand-orbit-stage.is-brand-stepping .layer-list-track {
  transition-duration: 0.22s;
}

.brand-revolver {
  width: min(440px, calc(100% - 28px));
  min-height: 250px;
  transform: none;
}

.brand-revolver-item {
  grid-template-columns: clamp(104px, 9vw, 124px) minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
}

.brand-revolver-item strong {
  max-width: 330px;
  font-size: clamp(22px, 2.2vw, 32px);
  text-wrap: balance;
}

.brand-revolver-copy {
  margin-left: clamp(24px, 4vw, 52px);
  margin-top: clamp(34px, 6vh, 62px);
}

.brand-revolver-copy .workspace-label {
  background: rgba(37, 40, 42, 0.82);
  color: #dbe8f5;
}

.panel,
.glass,
.inspector-save-window,
.brand-design-canvas,
.brand-universe .brand-orbit-stage,
.hero-portrait,
.social-card,
.experiment-card {
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.72),
    inset -1px -1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 28px rgba(255, 255, 255, 0.1),
    0 22px 70px rgba(75, 47, 35, 0.14);
}

.panel::before,
.glass::before,
.inspector-save-window::before,
.brand-design-canvas::before,
.brand-universe .brand-orbit-stage::before,
.hero-portrait::before,
.social-card::before,
.experiment-card::before {
  background:
    linear-gradient(122deg, rgba(255, 255, 255, 0.66) 0 1px, transparent 1px 24%),
    linear-gradient(138deg, transparent 0 58%, rgba(255, 255, 255, 0.28) 67%, transparent 76%),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.48), transparent 24%);
  opacity: 0.72;
  mix-blend-mode: screen;
}

.panel::after,
.glass::after,
.inspector-save-window::after,
.brand-design-canvas::after,
.brand-universe .brand-orbit-stage::after,
.hero-portrait::after,
.social-card::after,
.experiment-card::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.62), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.3)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 22%, transparent 76%, rgba(255, 255, 255, 0.18));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  opacity: 0.7;
}

.panel > *,
.glass > *,
.inspector-save-window > *,
.brand-design-canvas > *,
.brand-universe .brand-orbit-stage > *,
.hero-portrait > *,
.social-card > *,
.experiment-card > * {
  position: relative;
  z-index: 2;
}

.inspector {
  background:
    linear-gradient(90deg, rgba(75, 47, 35, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(75, 47, 35, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 22% 10%, rgba(255, 255, 255, 0.72), transparent 20rem),
    linear-gradient(180deg, rgba(255, 250, 241, 0.68), rgba(239, 229, 213, 0.58));
  background-size: 18px 18px, 18px 18px, auto, auto;
  color: var(--text);
  backdrop-filter: blur(28px) saturate(1.45);
  -webkit-backdrop-filter: blur(28px) saturate(1.45);
}

.inspector-save-window {
  border-color: rgba(75, 47, 35, 0.13);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.78), transparent 16rem),
    linear-gradient(180deg, rgba(255, 250, 241, 0.62), rgba(244, 238, 226, 0.46)),
    rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(26px) saturate(1.55) contrast(1.05);
  -webkit-backdrop-filter: blur(26px) saturate(1.55) contrast(1.05);
}

.inspector-titlebar {
  border-bottom-color: rgba(75, 47, 35, 0.12);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.72), rgba(234, 222, 204, 0.52));
  color: var(--text);
}

.inspector-titlebar strong,
.inspector-head,
.inspector-head strong,
.inspector-row small,
.inspector-row strong {
  color: var(--text);
}

.inspector-head {
  border-bottom-color: rgba(75, 47, 35, 0.1);
  background: rgba(255, 250, 241, 0.24);
}

.inspector-head strong {
  color: #7d7848;
}

.inspector-row {
  border-bottom-color: rgba(75, 47, 35, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 250, 241, 0.06));
}

.inspector-row small {
  color: rgba(75, 47, 35, 0.56);
}

.inspector .tag-cloud span {
  border-color: rgba(255, 255, 255, 0.42);
  background:
    radial-gradient(circle at 28% 12%, rgba(255, 255, 255, 0.68), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 250, 241, 0.14));
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.84),
    inset -1px -1px 0 rgba(255, 255, 255, 0.22),
    0 12px 28px rgba(75, 47, 35, 0.12);
  backdrop-filter: blur(18px) saturate(1.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.55);
  color: var(--text);
}

.inspector .skill-logo-cloud .brand-logo img,
.inspector .skill-logo-cloud .brand-logo-color img {
  filter: drop-shadow(0 5px 12px rgba(4, 15, 22, 0.16));
  opacity: 1;
}

.inspector .adobe-tile.ps { color: #8bc8ff; background: #061f3d; }
.inspector .adobe-tile.ai { color: #ffb15f; background: #321403; }
.inspector .adobe-tile.pr { color: #d8a8ff; background: #1f123f; }
.inspector .adobe-tile.ae { color: #c7b4ff; background: #1a164a; }
.inspector .adobe-tile.au { color: #96f0df; background: #07332d; }

.layer-list-window {
  cursor: grab;
  touch-action: none;
}

.layer-list-window.is-dragging {
  cursor: grabbing;
}

.layer-list-track {
  transition: transform 0.72s cubic-bezier(0.19, 1, 0.22, 1);
}

.brand-orbit-stage.is-brand-hovered .layer-list-track,
.brand-orbit-stage.is-brand-stepping .layer-list-track {
  transition-duration: 0.56s;
}

.canvas-layer-focus {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  opacity: 0.38;
}

.brand-design-canvas > .design-window-bar {
  position: relative;
  z-index: 3;
}

.brand-design-canvas > .design-artboard {
  position: absolute;
  inset: 40px 0 0;
  z-index: 2;
}

.metric-grid::before,
.social-dashboard::before,
.about-projects::before,
.experiment-grid::before,
.contact-grid::before {
  background:
    linear-gradient(rgba(20, 134, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 134, 255, 0.07) 1px, transparent 1px),
    rgba(255,250,241,0.24);
  background-size: 32px 32px, 32px 32px, auto;
}

.hero-portrait {
  aspect-ratio: 1;
  min-height: 0;
}

.hero-portrait img {
  min-height: 0;
  filter: blur(24px) saturate(0.88) contrast(1.02);
  will-change: transform;
}

.hero-portrait:hover img {
  filter: blur(24px) saturate(0.9) contrast(1.02);
}

.hero-portrait::before {
  left: -26%;
  right: -26%;
  top: 29.4%;
  z-index: 4;
  height: 16%;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(3,8,12,0.24), rgba(255,255,255,0.04) 48%, rgba(3,8,12,0.3)),
    url("./aleix2.jpg");
  background-size: 100% auto, 138% auto;
  background-position: center, center 33.2%;
  filter: saturate(1.18) contrast(1.2) brightness(0.98);
  mask-image: linear-gradient(180deg, transparent 0, black 24%, black 74%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, black 24%, black 74%, transparent 100%);
  opacity: 0.94;
  mix-blend-mode: normal;
}

.portrait-light {
  z-index: 3;
  background-image: url("./aleix2.jpg");
  background-size: 138% auto;
  background-position: center 33.2%;
  filter: blur(2px) saturate(1.12) contrast(1.14) brightness(1.04);
  opacity: 0;
  mask-image: radial-gradient(circle at var(--px) var(--py), black 0 12%, rgba(0,0,0,0.66) 18%, transparent 30%);
  -webkit-mask-image: radial-gradient(circle at var(--px) var(--py), black 0 12%, rgba(0,0,0,0.66) 18%, transparent 30%);
  transition: opacity 0.18s ease;
  will-change: opacity;
}

.hero-portrait:hover .portrait-light {
  opacity: 0.72;
}

.brand-revolver-item {
  grid-template-columns: 112px minmax(220px, 1fr);
  gap: 24px;
}

.noise {
  display: none;
}

.workspace-frame,
.hero-portrait,
.glass,
.panel,
.brand-design-canvas,
.brand-universe .brand-orbit-stage,
.inspector-save-window,
.clip-card,
.social-card,
.experiment-card {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.workspace-frame,
.brand-design-canvas,
.brand-universe .brand-orbit-stage,
.hero-portrait,
.social-card,
.experiment-card {
  box-shadow: 0 18px 46px rgba(75,47,35,0.08), inset 0 1px 0 rgba(255,255,255,0.58);
}

.clip-card {
  filter: none;
  box-shadow: 0 16px 32px rgba(75,47,35,0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.clip-card:hover {
  filter: none;
  transform: translateY(-3px);
}

.brand-revolver-item {
  filter: none;
  transition: opacity 0.18s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.brand-revolver-item.active {
  filter: none;
}

.design-layer-row {
  filter: none;
  transition: opacity 0.2s ease, transform 0.24s ease, background 0.2s ease;
}

.typewriter-word {
  filter: blur(4px);
  animation-duration: 0.56s;
}

.layer-list-track {
  transition: transform 0.48s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.brand-orbit-stage.is-brand-hovered .layer-list-track,
.brand-orbit-stage.is-brand-stepping .layer-list-track {
  transition-duration: 0.34s;
}

.skill-logo-cloud .brand-logo,
.skill-logo-cloud .custom-logo,
.skill-logo-cloud .adobe-tile,
.skill-logo-cloud .logo-fallback {
  border-radius: 12px;
}

.skill-logo-cloud .brand-logo {
  background:
    radial-gradient(circle at 30% 16%, rgba(255,255,255,0.76), transparent 42%),
    rgba(255,255,255,0.54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 8px 18px rgba(75,47,35,0.08);
  overflow: hidden;
}

.skill-logo-cloud .brand-logo img,
.skill-logo-cloud .custom-logo svg,
.skill-logo-cloud .adobe-tile {
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.skill-logo-cloud:hover > span {
  opacity: 0.58;
  filter: blur(0.9px) saturate(0.82);
}

.skill-logo-cloud > span:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-5px) scale(1.12);
  border-color: rgba(255,255,255,0.82);
  background:
    radial-gradient(circle at 28% 10%, rgba(255,255,255,0.9), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,0.76), rgba(255,250,241,0.28));
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.96),
    0 24px 48px rgba(75,47,35,0.18),
    0 0 0 1px rgba(255,255,255,0.34);
}

.skill-logo-cloud > span:hover .brand-logo img,
.skill-logo-cloud > span:hover .custom-logo svg,
.skill-logo-cloud > span:hover .adobe-tile {
  filter: drop-shadow(0 6px 12px rgba(4,15,22,0.18));
  opacity: 1;
  transform: scale(1.14);
}

.brand-revolver-item strong {
  max-width: none;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: manual;
  text-wrap: wrap;
  font-size: clamp(24px, 2.05vw, 30px);
}

@media (max-width: 1180px) {
  .inspector {
    border-top-color: rgba(0, 0, 0, 0.38);
  }
}

@media (max-width: 760px) {
  .hero-person-strip {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-person-strip span:not(.availability-badge) {
    white-space: normal;
  }

  .brand-universe {
    min-height: auto;
  }

  .brand-universe .brand-orbit-stage {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    padding-bottom: 22px;
  }

  .brand-design-canvas {
    height: 330px;
  }

  .brand-revolver {
    width: 100%;
  }
}
