/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --black:   #0a0a0a;
  --black-2: #111111;
  --black-3: #1a1a1a;
  --black-4: #222222;
  --orange:  #ff5500;
  --orange-2:#ff7733;
  --orange-3:#cc4400;
  --white:   #ffffff;
  --white-60:rgba(255,255,255,0.6);
  --white-35:rgba(255,255,255,0.35);
  --white-12:rgba(255,255,255,0.12);
  --white-06:rgba(255,255,255,0.06);
  --line:    rgba(255,255,255,0.1);

  --sans: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce:cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 72px;
  --container: 1280px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius-hero: 28px;
  --radius-card: 20px;
  --radius-sm: 10px;
  --radius-pill: 999px;
}

/* =============================================================
   2. Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--black);
  color: var(--white);
  overflow-x: clip;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--sans); text-wrap: balance; line-height: 1.0; letter-spacing: -0.04em; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1.2rem; background: var(--white); color: var(--black);
  z-index: 9999; border-radius: var(--radius-sm); font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* =============================================================
   4. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease-out), clip-path .8s var(--ease-out);
  animation: splashSafety .01s 4.5s forwards;
}
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
.splash-wordmark {
  font-family: var(--sans);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--white);
  animation: splashFadeIn .8s var(--ease-out) forwards;
  opacity: 0;
}
.splash-wordmark span { color: var(--orange); }
@keyframes splashFadeIn { to { opacity: 1; } }
.splash-bar { width: 240px; height: 2px; background: var(--white-12); border-radius: 2px; overflow: hidden; }
.splash-progress {
  height: 100%; background: var(--orange); border-radius: 2px;
  animation: splashLoad 2.6s var(--ease-soft) forwards;
}
@keyframes splashLoad { from { width: 0; } to { width: 100%; } }

/* =============================================================
   5. Navigation (inside hero card)
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 800; height: var(--nav-h);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex; flex-direction: column; gap: 0; line-height: 1; flex-shrink: 0;
}
.nav-logo-img {
  height: 34px; width: auto; display: block;
}
.nav-logo-mark {
  font-family: var(--sans);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
}
.nav-logo-sub {
  font-family: var(--mono);
  font-size: .5rem;
  letter-spacing: .2em;
  color: var(--white-35);
  padding-left: 1px;
}
.nav-menu { display: flex; align-items: center; gap: .15rem; list-style: none; }
.nav-link {
  font-family: var(--sans); font-size: .875rem; font-weight: 500;
  padding: .45rem .9rem; border-radius: var(--radius-pill);
  color: var(--white-60);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: var(--white-06); }
.nav-link--cta {
  background: var(--white);
  color: var(--black) !important;
  padding: .5rem 1.25rem;
  font-weight: 600;
  display: flex; align-items: center; gap: .5rem;
  transition: background .2s, transform .2s var(--ease-out);
}
.nav-link--cta:hover { background: var(--orange); color: var(--white) !important; transform: scale(1.03); }
.nav-cta-dot {
  width: 22px; height: 22px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  transition: background .2s;
}
.nav-link--cta:hover .nav-cta-dot { background: var(--white); color: var(--orange); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: .5rem; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   6. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: .9375rem; font-weight: 600;
  padding: .9rem 2rem; border-radius: var(--radius-pill);
  transition: transform .25s var(--ease-out), box-shadow .25s, background .2s, color .2s;
  white-space: nowrap; cursor: pointer; letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-2); box-shadow: 0 12px 40px rgba(255,85,0,0.4); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: #f0f0f0; box-shadow: 0 12px 40px rgba(255,255,255,0.15); }
.btn-ghost { background: transparent; color: var(--white-60); border: 1px solid var(--white-12); }
.btn-ghost:hover { color: var(--white); border-color: var(--white-35); background: var(--white-06); }
.btn-icon-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
  transition: background .2s, transform .25s var(--ease-bounce);
}
.btn:hover .btn-icon-circle { background: var(--orange-2); transform: rotate(45deg); }

/* =============================================================
   7. HERO — Folioblox-style rounded card
   ============================================================= */
.hero-wrapper {
  background: var(--black);
  padding: 0 var(--gutter);
  padding-top: calc(var(--nav-h) + 1.25rem);
  padding-bottom: 0;
}
.hero {
  position: relative;
  border-radius: var(--radius-hero);
  overflow: hidden;
  min-height: 88vh;
  min-height: 88svh;
  display: flex; flex-direction: column;
  background:
    linear-gradient(160deg,
      #ff5500 0%,
      #cc3800 18%,
      #7a1a00 40%,
      #1c0800 60%,
      #0a0a0a 80%
    );
}
/* Noise grain on hero */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  opacity: .06;
  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='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
}
/* Vignette */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 70% 60% at 75% 40%, transparent 30%, rgba(10,10,10,0.5) 100%);
  pointer-events: none;
}

.hero-nav-space { height: 0; }

.hero-body {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 3rem 3rem 0;
}

.hero-eyebrow {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin-bottom: .75rem;
}

.hero-main {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem;
}

.hero-title-col { flex: 1; }
.hero-title {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  color: var(--white);
  line-height: .95;
  letter-spacing: -0.05em;
  margin-bottom: 2.5rem;
}

.hero-side-col {
  flex-shrink: 0;
  width: min(340px, 36%);
  padding-bottom: .25rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.hero-side-quote {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.hero-side-desc {
  font-size: .875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}
.hero-side-actions {
  display: flex; gap: .75rem; align-items: center; flex-wrap: wrap;
}

/* Number tags strip */
.hero-tags {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 2.5rem;
}
.hero-tag-item {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: column; gap: .35rem;
  transition: background .25s;
}
.hero-tag-item:last-child { border-right: 0; }
.hero-tag-item:hover { background: rgba(255,255,255,0.05); }
.hero-tag-num {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .12em;
  color: var(--orange);
}
.hero-tag-label {
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 500;
  color: var(--white);
}

/* =============================================================
   8. Clients strip (marquee)
   ============================================================= */
.clients {
  background: var(--black-2);
  padding-block: 2.5rem;
  border-top: 0;
  overflow: hidden;
}
.clients-inner {
  display: flex; align-items: center; gap: 3rem;
  white-space: nowrap;
}
.clients-label {
  font-family: var(--body);
  font-size: .75rem;
  color: var(--white-35);
  flex-shrink: 0;
  min-width: 140px;
  line-height: 1.4;
  letter-spacing: .02em;
}
.clients-track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.clients-list {
  display: flex; gap: 3.5rem; align-items: center;
  animation: marqueeScroll 22s linear infinite;
  width: max-content;
}
.clients-list--clone { margin-left: 3.5rem; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-name {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white-35);
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color .25s;
  cursor: default;
}
.client-name:hover { color: var(--white-60); }

/* =============================================================
   9. Section chrome
   ============================================================= */
.section-tag {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--orange);
  display: block;
  margin-bottom: .875rem;
}
.section-title {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.section-title em { font-style: normal; color: var(--orange); }
.section-header { margin-bottom: 3.5rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   10. About — asymmetric two-col
   ============================================================= */
.about {
  background: var(--black);
  padding-block: 8rem;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-left {}
.about-label {
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 1.5rem;
  display: block;
  letter-spacing: -.01em;
}
.about-headline {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--white);
}
.about-right {
  padding-top: 1rem;
  display: flex; flex-direction: column; gap: 2rem;
}
.about-desc {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--white-60);
  line-height: 1.7;
  max-width: 480px;
}
.about-cta-row {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.about-cta-hint {
  font-size: .8rem;
  color: var(--white-35);
  letter-spacing: .02em;
  line-height: 1.4;
  max-width: 160px;
}

/* Stats row */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  background: var(--white-06);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 4rem;
}
.stat-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .4rem;
  transition: background .25s;
}
.stat-item:last-child { border-right: 0; }
.stat-item:hover { background: var(--white-06); }
.stat-value {
  font-family: var(--sans);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.05em;
  line-height: 1;
}
.stat-label {
  font-size: .75rem;
  color: var(--white-35);
  letter-spacing: .04em;
  line-height: 1.4;
}

/* Founder */
.founder-strip {
  display: flex; align-items: center; gap: 2rem;
  margin-top: 3rem;
  padding: 2rem 2.25rem;
  background: var(--white-06);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.founder-photo {
  width: 88px; height: 96px;
  border-radius: 14px;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.1);
  filter: grayscale(20%) contrast(1.05) brightness(0.95);
  transition: filter .35s, transform .35s var(--ease-out);
}
.founder-strip:hover .founder-photo {
  filter: grayscale(0%) contrast(1.08) brightness(1);
  transform: scale(1.02);
}
.founder-av {
  width: 88px; height: 96px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-3) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: 1.5rem; color: #fff;
}
.founder-info { display: flex; flex-direction: column; gap: .2rem; }
.founder-name { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; }
.founder-role {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .1em;
  color: var(--orange); margin-top: .1rem;
}
.founder-location { font-size: .75rem; color: var(--white-35); margin-top: .15rem; }
.founder-bio { font-size: .8125rem; color: var(--white-60); line-height: 1.65; margin-left: auto; max-width: 400px; }

/* =============================================================
   11. Experience
   ============================================================= */
.experience { background: var(--black-2); padding-block: 8rem; }
.exp-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.exp-card {
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 2rem 2.25rem;
  transition: background .3s, border-color .3s, transform .35s var(--ease-out), box-shadow .35s;
  cursor: default;
  display: flex; flex-direction: column;
  position: relative;
}
.exp-card--wide { grid-column: 1 / -1; }
.exp-card--link { cursor: pointer; }
.exp-card--link:hover {
  background: var(--black-4);
  border-color: rgba(255,85,0,0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(255,85,0,.1);
}
.exp-card-link-hint {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .08em;
  color: var(--orange); margin-top: 1.25rem;
  opacity: 0; transform: translateX(-4px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.exp-card--link:hover .exp-card-link-hint { opacity: 1; transform: none; }
.exp-card-corner-arrow {
  position: absolute; top: 1.5rem; right: 1.75rem;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--white-06); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--white-35);
  opacity: 0; transform: scale(.8);
  transition: opacity .25s, transform .25s var(--ease-out), background .2s, color .2s;
}
.exp-card--link:hover .exp-card-corner-arrow {
  opacity: 1; transform: scale(1) rotate(-45deg);
  background: var(--orange); color: #fff; border-color: var(--orange);
}
.exp-bullets {
  list-style: none; margin-top: 1rem;
  display: flex; flex-direction: column; gap: .4rem;
}
.exp-bullets li {
  font-size: .7875rem; color: var(--white-60); line-height: 1.55;
  padding-left: 1rem; position: relative;
}
.exp-bullets li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--orange); font-size: .55rem;
  top: .3rem;
}
.exp-card-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 1.25rem; gap: 1rem;
}
.exp-badge {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .12em;
  color: var(--orange); background: rgba(255,85,0,0.12);
  border: 1px solid rgba(255,85,0,0.2);
  padding: .25rem .7rem; border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.exp-period {
  font-family: var(--mono); font-size: .65rem;
  color: var(--white-35); letter-spacing: .06em;
}
.exp-client {
  font-family: var(--sans); font-size: 1.3rem; font-weight: 700;
  letter-spacing: -0.03em; color: var(--white); margin-bottom: .2rem;
}
.exp-role {
  font-size: .8125rem; font-weight: 500; color: var(--orange-2); margin-bottom: .875rem;
}
.exp-desc { font-size: .8125rem; color: var(--white-60); line-height: 1.7; }

/* =============================================================
   12. Projects
   ============================================================= */
.projects { background: var(--black); padding-block: 8rem; }
.projects-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; margin-bottom: 3.5rem; flex-wrap: wrap;
}
.projects-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }

.project-card {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease-out), box-shadow .4s;
  cursor: default;
}
.project-card:hover {
  border-color: rgba(255,85,0,0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,85,0,0.08);
}

/* Visual header of card — like B&W photo block */
.project-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--black-3);
  display: flex; align-items: center; justify-content: center;
}
.project-visual-bg {
  position: absolute; inset: 0;
  transition: transform .6s var(--ease-soft);
}
.project-card:hover .project-visual-bg { transform: scale(1.04); }

/* Project 1 – HARI App */
.project-card:nth-child(1) .project-visual-bg {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #111 100%);
}
/* Project 2 – Insane Animals */
.project-card:nth-child(2) .project-visual-bg {
  background: linear-gradient(135deg, #1a0a00 0%, #2d1100 40%, #0a0a0a 100%);
}
/* Project 3 – Little Destroyers */
.project-card:nth-child(3) .project-visual-bg {
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2d 40%, #0a0a0a 100%);
}
/* Project 4 – Righan */
.project-card:nth-child(4) .project-visual-bg {
  background: linear-gradient(135deg, #001a0a 0%, #002d14 40%, #0a0a0a 100%);
}

.project-visual-icon {
  position: relative; z-index: 1;
  width: 72px; height: 72px;
  color: rgba(255,255,255,0.15);
  transition: color .3s, transform .4s var(--ease-out);
}
.project-card:hover .project-visual-icon { color: rgba(255,85,0,0.5); transform: scale(1.1); }

.project-glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle 160px at 50% 50%, rgba(255,85,0,0.12), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.project-card:hover .project-glow { opacity: 1; }

.project-body { padding: 1.75rem 2rem; }
.project-meta {
  display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem;
}
.project-num {
  font-family: var(--mono); font-size: .65rem;
  letter-spacing: .12em; color: var(--orange);
}
.project-cat {
  font-family: var(--mono); font-size: .65rem;
  letter-spacing: .08em; color: var(--white-35);
}
.project-title {
  font-family: var(--sans); font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.04em; color: var(--white); margin-bottom: .65rem;
}
.project-desc { font-size: .8125rem; color: var(--white-60); line-height: 1.65; margin-bottom: 1.25rem; }
.project-pills {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem;
}
.project-pill {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .08em;
  color: var(--white-35); background: var(--white-06);
  border: 1px solid var(--line); padding: .22rem .65rem;
  border-radius: var(--radius-pill);
}
.project-status {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .65rem;
  letter-spacing: .05em; color: var(--white-35);
}
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #3ecf4e; flex-shrink: 0; box-shadow: 0 0 6px rgba(62,207,78,0.5); }

/* =============================================================
   13. Services
   ============================================================= */
.services { background: var(--black-2); padding-block: 8rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.service-card {
  background: var(--black-3);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: .75rem;
  transition: background .3s;
  cursor: default;
}
.service-card:hover { background: var(--black-4); }
.service-icon {
  font-size: 1.625rem; color: var(--orange); line-height: 1;
  transition: transform .3s var(--ease-bounce);
}
.service-card:hover .service-icon { transform: scale(1.2) rotate(-8deg); }
.service-title {
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  color: var(--white); letter-spacing: -0.02em; line-height: 1.2;
}
.service-desc { font-size: .8rem; color: var(--white-60); line-height: 1.65; }

/* =============================================================
   14. Vision
   ============================================================= */
.vision {
  position: relative; background: var(--black); padding-block: 10rem;
  overflow: hidden; text-align: center;
}
.vision-orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,85,0,0.12) 0%, transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.vision-inner { position: relative; z-index: 1; }
.vision-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700; letter-spacing: -0.05em; line-height: .95;
  margin-block: 1rem 2rem; max-width: 860px; margin-inline: auto;
}
.vision-title em { font-style: normal; color: var(--orange); }
.vision-text {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--white-60); max-width: 600px; margin-inline: auto;
  line-height: 1.75; margin-bottom: 4rem;
}
.vision-pillars {
  display: flex; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow: hidden; max-width: 600px; margin-inline: auto;
}
.vision-pillar {
  flex: 1; padding: 1.75rem 1rem;
  background: var(--black-2);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .4rem; align-items: center;
  transition: background .3s;
}
.vision-pillar:last-child { border-right: 0; }
.vision-pillar:hover { background: var(--black-3); }
.pillar-num { font-family: var(--mono); font-size: .65rem; color: var(--orange); letter-spacing: .1em; }
.pillar-label { font-family: var(--sans); font-size: .875rem; font-weight: 600; color: var(--white); text-align: center; }

/* =============================================================
   15. Contact
   ============================================================= */
.contact { background: var(--black-2); padding-block: 8rem; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.35fr;
  gap: 6rem; align-items: start;
}
.contact-lead {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: var(--white-60); line-height: 1.75; margin-bottom: 2.5rem;
}
.contact-detail {
  display: flex; flex-direction: column; gap: .2rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line);
}
.contact-detail:first-of-type { border-top: 1px solid var(--line); }
.contact-label {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; color: var(--white-35);
}
.contact-value { font-size: .9375rem; font-weight: 500; color: var(--white); }
a.contact-value:hover { color: var(--orange); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group label { font-family: var(--mono); font-size: .65rem; letter-spacing: .1em; color: var(--white-35); }
.form-group input, .form-group textarea {
  background: var(--black-3); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .9rem 1.1rem;
  font-family: var(--body); font-size: .9375rem; color: var(--white);
  width: 100%; outline: none; resize: none;
  transition: border-color .25s, box-shadow .25s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--white-35); }
.form-group input:focus, .form-group textarea:focus {
  border-color: rgba(255,85,0,.5); box-shadow: 0 0 0 3px rgba(255,85,0,.1);
}
.form-group input.is-invalid, .form-group textarea.is-invalid { border-color: #e53e3e; }
.btn-submit {
  width: 100%; justify-content: center;
  background: var(--orange); color: var(--white);
  padding: 1rem 2rem; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 600;
}
.btn-submit:hover { background: var(--orange-2); box-shadow: 0 12px 40px rgba(255,85,0,.35); }
.form-success {
  display: flex; align-items: center; gap: .6rem;
  background: rgba(62,207,78,.1); border: 1px solid rgba(62,207,78,.25);
  border-radius: var(--radius-sm); padding: .9rem 1.1rem;
  font-size: .875rem; color: #3ecf4e; font-weight: 500;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
  pointer-events: none;
}
.form-success.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* =============================================================
   16. Footer
   ============================================================= */
.footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding-block: 4rem 2.5rem;
}
.footer-top {
  display: flex; gap: 4rem; justify-content: space-between;
  margin-bottom: 4rem; flex-wrap: wrap;
}
.footer-logo-mark {
  font-family: var(--sans); font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.04em; color: var(--white); display: block; margin-bottom: .2rem;
}
.footer-logo-sub {
  font-family: var(--mono); font-size: .5rem; letter-spacing: .18em; color: var(--white-35);
}
.footer-logo-img {
  height: 40px; width: auto; display: block;
}
.footer-tagline { font-size: .875rem; color: var(--white-35); margin-top: .75rem; }
.footer-nav { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-nav-heading { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; color: var(--white-35); margin-bottom: .75rem; }
.footer-nav-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav-col a { font-size: .875rem; color: var(--white-60); transition: color .2s; }
.footer-nav-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--line);
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy, .footer-origin {
  font-family: var(--mono); font-size: .65rem;
  color: var(--white-35); letter-spacing: .06em;
}

/* =============================================================
   17. Custom cursor
   ============================================================= */
.cursor { pointer-events: none; position: fixed; inset: 0; z-index: 9999; }
.cursor-dot, .cursor-ring {
  position: fixed; border-radius: 50%;
  transform: translate3d(-50%,-50%,0);
  will-change: transform; pointer-events: none;
}
.cursor-dot { width: 6px; height: 6px; background: var(--orange); top: 0; left: 0; }
.cursor-ring {
  width: 30px; height: 30px; border: 1.5px solid rgba(255,85,0,.5);
  top: 0; left: 0;
  transition: width .25s var(--ease-out), height .25s var(--ease-out), border-color .25s;
}
.cursor { opacity: 0; transition: opacity .25s; }
.cursor.is-ready { opacity: 1; }
.cursor.is-hovering .cursor-ring { width: 44px; height: 44px; border-color: var(--orange); background: rgba(255,85,0,.07); }
.cursor.is-clicking .cursor-dot { transform: translate3d(-50%,-50%,0) scale(.5); }

/* =============================================================
   18. Responsive
   ============================================================= */
@media (max-width: 1023px) {
  .hero-main { flex-direction: column; align-items: flex-start; }
  .hero-side-col { width: 100%; }
  .hero-tags { grid-template-columns: repeat(2,1fr); }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-stats { grid-template-columns: repeat(2,1fr); }
  .exp-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .founder-strip { flex-wrap: wrap; }
  .founder-bio { margin-left: 0; }
}
@media (max-width: 719px) {
  :root { --nav-h: 60px; }
  .hero-wrapper { padding-inline: .75rem; padding-top: calc(var(--nav-h) + .75rem); }
  .hero-body { padding: 2rem 1.75rem 0; }
  .hero-tags { grid-template-columns: repeat(2,1fr); }
  .hero-tag-item { padding: 1rem 1rem; }
  .nav-menu {
    display: none; position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,10,.97); backdrop-filter: blur(20px);
    flex-direction: column; gap: 0; padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu.is-open { display: flex; }
  .nav-link { padding: .85rem 1rem; width: 100%; text-align: left; }
  .nav-link--cta { margin-top: .5rem; justify-content: flex-start; }
  .nav-toggle { display: flex; }
  .clients-label { display: none; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .vision-pillars { flex-direction: column; }
  .vision-pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .vision-pillar:last-child { border-bottom: 0; }
  .footer-top { flex-direction: column; gap: 2rem; }
  .cursor { display: none; }
}
@media (max-width: 539px) {
  .hero-title { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-tags { grid-template-columns: 1fr 1fr; }
  .hero-side-actions { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   19. Language Toggle
   ============================================================= */
.lang-toggle {
  display: flex; align-items: center; gap: .75rem;
}
.lang-toggle-label {
  font-family: var(--mono);
  font-size: .6rem; letter-spacing: .14em;
  color: var(--white-35);
  text-transform: uppercase;
}
.lang-switcher {
  display: flex; align-items: center;
  background: var(--black-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 0;
  position: relative;
}
.lang-btn {
  font-family: var(--mono);
  font-size: .75rem; font-weight: 500;
  letter-spacing: .1em;
  color: var(--white-35);
  padding: .4rem .9rem;
  border-radius: var(--radius-pill);
  border: none; background: transparent; cursor: pointer;
  transition: color .25s var(--ease-out), background .25s var(--ease-out);
  position: relative; z-index: 1;
  line-height: 1;
}
.lang-btn[aria-pressed="true"] {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(255,85,0,.35);
}
.lang-btn[aria-pressed="false"]:hover {
  color: var(--white-60);
}
.lang-divider {
  width: 1px; height: 14px;
  background: var(--line);
  flex-shrink: 0;
}

/* Transition flash on lang switch */
body.lang-transitioning * {
  transition: opacity .18s ease !important;
  opacity: 0.4 !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .clients-list { animation-duration: 60s; }
}

/* =============================================================
   20. Project sub-page (e.g. DNFD)
   ============================================================= */
.project-page-hero {
  background: var(--black);
  padding: calc(var(--nav-h) + 3.5rem) 0 5rem;
  border-bottom: 1px solid var(--line);
}
.project-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  color: var(--white-35); margin-bottom: 2.5rem;
  transition: color .2s, gap .2s;
}
.project-back:hover { color: var(--orange); gap: .75rem; }
.project-page-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.project-page-eyebrow {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em;
  color: var(--orange); background: rgba(255,85,0,0.12);
  border: 1px solid rgba(255,85,0,0.2);
  padding: .35rem .9rem; border-radius: var(--radius-pill);
  display: inline-block;
}
.project-page-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700; color: var(--white);
  letter-spacing: -0.04em; line-height: 1.05;
  margin-bottom: .5rem;
}
.project-page-role { font-size: 1rem; font-weight: 500; color: var(--orange-2); margin-bottom: 1.75rem; }
.project-page-intro { font-size: 1rem; color: var(--white-60); line-height: 1.75; max-width: 760px; }

.brand-section { background: var(--black-2); padding-block: 6rem; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.brand-card {
  display: flex; flex-direction: column;
}
.brand-card-logo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black-4);
  transition: border-color .3s, transform .4s var(--ease-out), box-shadow .4s;
}
.brand-card:hover .brand-card-logo {
  border-color: rgba(255,85,0,0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,85,0,0.08);
}
.brand-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-card-body { padding-top: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.brand-card-title { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--white); }
.brand-card-desc { font-size: .8125rem; color: var(--white-60); line-height: 1.65; }

.social-section { background: var(--black); padding-block: 5rem; text-align: center; }
.social-section-tag {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em;
  color: var(--orange); display: block; margin-bottom: 1.5rem;
}
.social-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.videos-section { background: var(--black-2); padding-block: 6rem; }
.video-embed-wrap {
  position: relative; width: 100%; padding-top: 56.25%;
  border-radius: var(--radius-card); overflow: hidden;
  border: 1px solid var(--line);
}
.video-embed-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

.toys-section { background: var(--black); padding-block: 6rem; }
.toys-intro {
  display: flex; align-items: center; gap: 2.5rem;
  margin-bottom: 3.5rem; flex-wrap: wrap;
}
.toys-logo {
  width: 180px; height: 180px; flex-shrink: 0;
  border-radius: var(--radius-card);
  object-fit: cover;
  border: 1px solid var(--line);
}
.toys-intro .project-page-intro { margin-top: 1rem; }
.toys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.toy-card { display: flex; flex-direction: column; gap: 1rem; }
.toy-viewer {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black-3);
  transition: border-color .3s, transform .4s var(--ease-out), box-shadow .4s;
}
.toy-card:hover .toy-viewer {
  border-color: rgba(255,85,0,0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,85,0,0.08);
}
.toy-viewer model-viewer { width: 100%; height: 100%; --poster-color: transparent; }
.toy-name { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--white); text-align: center; }

@media (max-width: 1023px) {
  .brand-grid { grid-template-columns: 1fr; }
  .toys-grid { grid-template-columns: 1fr; }
  .toys-intro { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   21. Project sub-page — image galleries (e.g. OwnElSalvador)
   ============================================================= */
.gallery-section { padding-block: 6rem; }
.gallery-section:nth-of-type(odd) { background: var(--black); }
.gallery-section:nth-of-type(even) { background: var(--black-2); }
.gallery-desc { font-size: 1rem; color: var(--white-60); line-height: 1.75; max-width: 760px; margin-bottom: 2.5rem; }
.anatomy-group-label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.anatomy-grid + .anatomy-group-label { margin-top: 3rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.gallery-grid.gallery-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gallery-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color .3s, transform .4s var(--ease-out), box-shadow .4s;
}
.gallery-item:hover {
  border-color: rgba(255,85,0,0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,85,0,0.08);
}
.gallery-item img { width: 100%; height: auto; display: block; }
.project-cta-row { display: flex; justify-content: center; margin-top: 1rem; }

.gallery-item video { width: 100%; height: auto; display: block; background: var(--black-4); }
.gallery-caption { font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; color: var(--white-35); margin-top: .75rem; text-align: center; }

/* Process videos — each sized to its own aspect ratio instead of forced equal columns */
.video-process-grid {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 1.75rem; flex-wrap: wrap;
}
.video-process-item--wide { flex: 2 1 480px; max-width: 720px; }
.video-process-item--tall { flex: 1 1 220px; max-width: 280px; }

@media (max-width: 1023px) {
  .video-process-grid { flex-direction: column; align-items: center; }
  .video-process-item--wide, .video-process-item--tall { max-width: 480px; width: 100%; }
}

/* Interactive flip card — invitation */
.invite-card-wrap {
  max-width: 560px; margin: 0 auto;
  perspective: 2000px;
  cursor: grab;
  touch-action: pan-y;
}
.invite-card-wrap:active { cursor: grabbing; }
.invite-card {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 300;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(0.34, 1.1, 0.4, 1);
  transform: rotateY(0deg);
}
.invite-card.is-flipped { transform: rotateY(180deg); }
.invite-card.is-dragging { transition: none; }
.invite-face {
  position: absolute; inset: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  backface-visibility: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.invite-face img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.invite-face--back { transform: rotateY(180deg); }
.invite-hint {
  text-align: center; margin-top: 1.5rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  color: var(--white-35);
}

/* Split layout — text left, visual right (e.g. triptych flip card) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.invite-card-wrap--triptych { max-width: 720px; margin: 0 auto; }
.invite-card-wrap--triptych .invite-card { aspect-ratio: 1755 / 1241; }
.invite-card-wrap--triptych .invite-face img { object-fit: cover; }

@media (max-width: 1023px) {
  .split-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-visual { order: -1; }
}

@media (max-width: 1023px) {
  .gallery-grid, .gallery-grid.gallery-grid--3 { grid-template-columns: 1fr; }
}

/* =============================================================
   22. Anatomy viewer — Sketchfab-style 3D hotspots (e.g. UAM)
   ============================================================= */
.anatomy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.anatomy-card { display: flex; flex-direction: column; gap: 1rem; }
.anatomy-viewer {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--black-3);
}
.anatomy-viewer model-viewer { width: 100%; height: 100%; }

/* ─── Media fallback — shown when a 3D model/video fails to
   load (e.g. heavy assets excluded from a lightweight preview
   deploy like GitHub Pages), instead of an empty gap. ──────── */
.media-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .65rem;
  padding: 1.5rem;
  text-align: center;
  background: var(--black-3);
  z-index: 2;
}
.media-fallback-icon {
  width: 40px; height: 40px;
  color: var(--white-35);
}
.media-fallback-icon svg { width: 100%; height: 100%; }
.media-fallback-text {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--white-35);
  max-width: 22ch;
  line-height: 1.5;
}
.anatomy-name { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--white); text-align: center; }
.anatomy-hint { font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; color: var(--white-35); text-align: center; }

.hotspot-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 4px rgba(255,85,0,0.3), 0 2px 8px rgba(0,0,0,0.4);
  cursor: pointer;
  padding: 0;
  transition: transform .2s var(--ease-bounce);
  animation: hotspotPulse 2s ease-in-out infinite;
}
.hotspot-dot:hover { transform: scale(1.25); }
.hotspot-dot.is-active { background: var(--white); animation: none; }
@keyframes hotspotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,85,0,0.3), 0 2px 8px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255,85,0,0.12), 0 2px 8px rgba(0,0,0,0.4); }
}
.hotspot-card {
  display: none;
  position: absolute;
  left: 22px; top: 50%;
  transform: translateY(-50%);
  width: 200px;
  background: rgba(10,10,10,0.95);
  border: 1px solid rgba(255,85,0,0.3);
  border-radius: var(--radius-sm);
  padding: .75rem .9rem;
  pointer-events: none;
  z-index: 5;
}
.hotspot-dot.is-active .hotspot-card { display: block; }
.hotspot-card-title {
  font-family: var(--sans); font-size: .8rem; font-weight: 700;
  color: var(--orange-2); margin-bottom: .25rem; letter-spacing: -0.01em;
}
.hotspot-card-desc { font-family: var(--body); font-size: .72rem; color: var(--white-60); line-height: 1.5; }

.anim-case { margin-bottom: 3.5rem; }
.anim-case:last-child { margin-bottom: 0; }
.anim-case-title {
  font-family: var(--sans); font-size: 1.2rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--white); margin-bottom: 1rem;
}
.anim-case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.anim-case-grid .anatomy-viewer { aspect-ratio: 16/9; }

@media (max-width: 1023px) {
  .anatomy-grid { grid-template-columns: 1fr; }
  .anim-case-grid { grid-template-columns: 1fr; }
}

/* ─── Tools used — neon circular badges ─────────────────── */
.tools-used { margin-top: 2.25rem; }
.tools-used-label {
  display: block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white-35);
  margin-bottom: .9rem;
}
.tools-used-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.tool-badge { display: flex; flex-direction: column; align-items: center; gap: .55rem; --tool-color: var(--orange); }
.tool-badge-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--tool-color) 22%, var(--black-3)), var(--black-2) 70%);
  border: 1.5px solid color-mix(in srgb, var(--tool-color) 70%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--tool-color) 25%, transparent) inset,
    0 0 16px color-mix(in srgb, var(--tool-color) 55%, transparent),
    0 0 36px color-mix(in srgb, var(--tool-color) 25%, transparent);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.tool-badge:hover .tool-badge-circle {
  transform: translateY(-4px) scale(1.06);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--tool-color) 40%, transparent) inset,
    0 0 22px color-mix(in srgb, var(--tool-color) 75%, transparent),
    0 0 50px color-mix(in srgb, var(--tool-color) 40%, transparent);
}
.tool-badge-mono {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -0.02em;
  color: var(--tool-color);
}
.tool-badge-circle img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.tool-badge-circle img[src*="blender"] {
  width: 72%; height: 72%;
  object-fit: contain;
  border-radius: 0;
}
.tool-badge-label {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .04em;
  color: var(--white-60);
}
.tool-badge--mini .tool-badge-circle { width: 40px; height: 40px; }

/* ─── Equine category — featured + grid ─────────────────── */
.equine-section { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.equine-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: stretch;
  background: linear-gradient(155deg, var(--black-2), var(--black) 70%);
  border: 1px solid var(--line);
  border-radius: var(--radius-hero);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: 1.5rem;
}
.equine-feature-viewer { aspect-ratio: 1/1; border-radius: var(--radius-card); }
.equine-feature-info { display: flex; flex-direction: column; justify-content: center; gap: .9rem; padding: .5rem clamp(0rem, 1vw, 1rem); }
.equine-feature-label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}
.equine-feature-title { font-family: var(--sans); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
.equine-feature-desc { color: var(--white-60); line-height: 1.6; max-width: 46ch; }
.equine-feature-tools { display: flex; gap: 1rem; margin-top: .25rem; }
.equine-grid-title {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 600;
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: 1.25rem;
}
.equine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}
.equine-card {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: .75rem;
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.equine-card:hover { border-color: color-mix(in srgb, var(--orange) 50%, transparent); transform: translateY(-3px); }
.equine-card .anatomy-viewer { aspect-ratio: 1/1; border-radius: var(--radius-sm); }
.equine-card-name { font-size: .8rem; color: var(--white-60); margin-top: .65rem; text-align: center; }

@media (max-width: 800px) {
  .equine-feature { grid-template-columns: 1fr; }
  .equine-feature-viewer { aspect-ratio: 4/3; }
}
