/* =========================================================================
   SHIKULO.COM — Monochrome Crimson & Pure White Art-Director Editorial System
   Inspired by Effepinna Studio: stark #ffffff surface, vivid #ee2c3d crimson,
   single Instrument Sans variable typography, 1px hairline grids, interactive
   articulated ragdoll physics, organic brushstroke canvas, scroll-expanding
   work rows, elastic crimson bulge, draggable physics letters & curtain footer.
   ========================================================================= */

:root {
  --red: #ee2c3d;
  --red-deep: #d61f30;
  --white: #ffffff;
  --paper: #f3f2ef;
  --ink: #0a0a0a;

  --font: 'Instrument Sans', Arial, Helvetica, sans-serif;

  --pad-x: clamp(20px, 2.8vw, 44px);
  --pad-top: clamp(22px, 2.2vw, 34px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; background: var(--white); font-size: 16px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.modal-open, html.modal-open body { overflow: hidden; }

body {
  background: var(--white);
  color: var(--red);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
ul, ol { list-style: none; }
code { font-family: ui-monospace, SFMono-Regular, monospace; font-size: 0.9em; }

::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[data-nav-theme='inverse'] :focus-visible,
.crimson-showcase :focus-visible,
.pixel-menu :focus-visible { outline-color: var(--white); }

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--red);
  color: var(--white);
  font-weight: 500;
}
.skip-link:focus { top: 12px; }

/* ===================== CUSTOM MAGNETIC CURSOR ===================== */
.magnetic-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--red);
  border: 1.5px solid var(--red);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  will-change: transform, width, height;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.magnetic-cursor.is-visible { opacity: 1; }
.magnetic-cursor.is-hover {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  background: transparent;
}
.magnetic-cursor.is-drag {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  background: rgba(238, 44, 61, 0.14);
}
.magnetic-cursor.is-inverse {
  background: var(--white);
  border-color: var(--white);
}
.magnetic-cursor.is-inverse.is-hover { background: transparent; }
.magnetic-cursor.is-inverse.is-drag { background: rgba(255, 255, 255, 0.2); }

@media (hover: none), (pointer: coarse) {
  .magnetic-cursor { display: none !important; }
}

/* ===================== FIXED TOP-RIGHT FLOATING CONTROLS ===================== */
.top-controls {
  position: fixed;
  top: var(--pad-top);
  right: var(--pad-x);
  z-index: 9001;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--red);
  transition: color 0.2s ease;
}
.top-controls[data-nav-theme='inverse'] { color: var(--white); }

.quick-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.quick-links a {
  position: relative;
  padding-bottom: 2px;
}
.quick-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.quick-links a:hover::after { transform: scaleX(1); }
.ql-sep { opacity: 0.4; font-weight: 400; }

.top-clock-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.na-flag-micro {
  width: 21px;
  height: 14px;
  flex: none;
  display: block;
  border-radius: 1.5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s var(--ease);
}
.na-flag-micro .na-flag-stroke {
  stroke: rgba(17, 17, 17, 0.16);
  transition: stroke 0.2s ease;
}
.top-controls[data-nav-theme='inverse'] .na-flag-micro .na-flag-stroke {
  stroke: rgba(255, 255, 255, 0.78);
}
.top-clock-wrap:hover .na-flag-micro {
  transform: perspective(100px) rotateY(-14deg) skewY(-2deg) scale(1.06);
}
.top-clock {
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}

.menu-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  background: var(--red);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.25s var(--ease);
}
.menu-toggle:hover { transform: scale(1.04); }
.menu-toggle span {
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease), background 0.2s ease;
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }

.top-controls[data-nav-theme='inverse'] .menu-toggle { background: var(--white); }
.top-controls[data-nav-theme='inverse'] .menu-toggle span { background: var(--red); }

.menu-toggle.is-open span:first-child { transform: translateY(0) rotate(45deg); }
.menu-toggle.is-open span:last-child { transform: translateY(0) rotate(-45deg); }

/* ===================== FULL-SCREEN PIXEL-GRID CRIMSON MENU ===================== */
.pixel-menu {
  position: fixed;
  inset: 0;
  z-index: 9000;
  visibility: hidden;
  pointer-events: none;
}
.pixel-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}
.pixel-menu-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pixel-menu-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  padding: clamp(86px, 12vh, 130px) var(--pad-x) clamp(26px, 4vh, 42px);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.pixel-menu.is-ready .pixel-menu-inner { opacity: 1; }

.pm-nav {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vh, 22px);
}
.pm-nav a {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  max-width: 100%;
}
.pm-n {
  font-size: 0.875rem;
  font-weight: 500;
  width: 24px;
}
.pm-line {
  width: clamp(32px, 4vw, 62px);
  height: 1px;
  background: rgba(255, 255, 255, 0.65);
  transition: width 0.35s var(--ease), background 0.25s ease;
}
.pm-label {
  font-size: clamp(32px, 4.6vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  opacity: 0.72;
  transition: opacity 0.25s ease, transform 0.35s var(--ease);
}
.pm-nav a:hover .pm-label,
.pm-nav a:focus-visible .pm-label { opacity: 1; transform: translateX(8px); }
.pm-nav a:hover .pm-line { width: clamp(54px, 6.5vw, 96px); background: var(--white); }

.pm-visual {
  display: grid;
  place-items: center;
}
.doodle-ring.pm-seal {
  width: clamp(220px, 24vw, 310px);
  background: transparent;
}
.doodle-ring.pm-seal .stamp-ring-svg {
  color: rgba(255, 255, 255, 0.92);
}
.doodle-ring.pm-seal .doodle-profile-img {
  mix-blend-mode: normal;
}

.pm-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.9rem;
  font-weight: 500;
}
.pm-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.pm-socials { display: flex; flex-wrap: wrap; gap: 22px; }
.pm-foot a:hover { text-decoration: underline; }

/* ===================== CURTAIN STACK ARCHITECTURE ===================== */
.curtain-stack {
  position: relative;
  z-index: 2;
  background: var(--white);
  box-shadow: 0 28px 46px -22px rgba(238, 44, 61, 0.55);
}

/* Shared Editorial Typography & Masked Word Reveals */
.section-title {
  font-size: clamp(2.25rem, 3.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--red);
}
.section-title.centered { text-align: center; }
.section-title.white { color: var(--white); }

.ed-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.ed-word > span {
  display: inline-block;
  transform: translateY(108%) rotate(1.6deg);
  transition: transform 0.85s var(--ease);
  will-change: transform;
}
.editorial-reveal.is-in .ed-word > span {
  transform: translateY(0) rotate(0deg);
}

.editorial-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.1rem, 1.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--red);
  transition: gap 0.3s var(--ease), opacity 0.2s ease;
}
.editorial-arrow-link.white { color: var(--white); }
.editorial-arrow-link .arr { transition: transform 0.3s var(--ease); }
.editorial-arrow-link:hover .arr { transform: translateX(6px); }

/* ===================== 01. HERO / OPENING ===================== */
.home-opening {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  background: var(--white);
  overflow: hidden;
}

.top-crimson-strip {
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--red);
  z-index: 4;
}

.hero-datum {
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 1px;
  background: var(--red);
  z-index: 1;
}

.hero-sig {
  position: absolute;
  top: clamp(16px, 2vw, 28px);
  left: var(--pad-x);
  z-index: 5;
  width: clamp(150px, 14.5vw, 218px);
  color: var(--red);
  transition: transform 0.4s var(--ease);
}
.hero-sig:hover { transform: rotate(-4deg) scale(1.04); }
.hero-sig img, .hero-sig svg { width: 100%; height: auto; display: block; }

/* Full-Viewport Interactive Matter.js Ragdoll Arena (throw him anywhere across the Hero!) */
.hero-ragdoll-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}
.ragdoll-canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
  cursor: default;
}
.ragdoll-canvas.is-over-body { cursor: grab; }
.ragdoll-canvas.is-dragging { cursor: grabbing; touch-action: none; }

.ragdoll-hint {
  position: absolute;
  bottom: clamp(82px, 11vh, 114px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.ragdoll-hint.is-hidden { opacity: 0; }

/* Bottom-Left Massive Lowercase Wordmark */
.hero-brand-block {
  position: absolute;
  left: var(--pad-x);
  bottom: clamp(24px, 3.4vh, 44px);
  z-index: 4;
  width: min(51vw, 720px);
  pointer-events: none;
}
.hero-wordmark {
  font-size: clamp(66px, 12.6vw, 186px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--red);
  margin-left: -0.04em;
  user-select: none;
}
.hero-wordmark-rule {
  width: 100%;
  height: 1px;
  background: var(--red);
  margin-top: clamp(8px, 1.2vh, 14px);
}
.hero-roles {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding-top: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--red);
}
.hr-right { text-align: right; }

/* Bottom-Right Spinning Crimson Stamp Ring + Rotating Artistic Side-Profile Seal */
.hero-right-block {
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(24px, 3.4vh, 44px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}
.doodle-ring {
  position: relative;
  width: clamp(118px, 11vw, 156px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  overflow: visible;
  transition: transform 0.45s var(--ease);
  will-change: transform, rotate;
}
.doodle-ring:hover { transform: scale(1.06); }
.doodle-ring .stamp-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--red);
  pointer-events: none;
  animation: stampSpinCW 24s linear infinite;
  will-change: transform;
}
.doodle-ring .doodle-profile-img {
  position: relative;
  z-index: 1;
  width: 68%;
  height: 68%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.doodle-ring:hover .stamp-ring-svg {
  animation-play-state: paused;
}
.doodle-ring.lg {
  width: clamp(168px, 15.2vw, 222px);
}

@keyframes stampSpinCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-disciplines {
  text-align: right;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.38;
  color: var(--red);
}

/* ===================== 02. MANIFESTO / ABOUT ===================== */
.manifesto {
  position: relative;
  min-height: 122vh;
  padding: clamp(96px, 13vh, 168px) var(--pad-x) clamp(90px, 12vh, 150px);
  background: var(--white);
  overflow: hidden;
}

.manifesto-path-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.manifesto-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.manifesto-lead {
  grid-column: 1 / span 6;
  font-size: clamp(26px, 2.5vw, 40px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--red);
  max-width: 18em;
}

.manifesto-body-col {
  grid-column: 6 / span 7;
  margin-top: clamp(24px, 4vh, 48px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vh, 44px);
}

/* Pure unframed 2:3 editorial portrait — zero borders, zero drop shadows */
.manifesto-portrait {
  width: clamp(170px, 15vw, 220px);
  overflow: hidden;
}
.manifesto-portrait img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 50% 16%;
}

.manifesto-statement {
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: -0.02em;
  color: var(--red);
  max-width: 24em;
}

.manifesto-meta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-top: clamp(24px, 4vh, 52px);
}
.manifesto-bio {
  max-width: 24em;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--red);
}

/* ===================== 03. SELECTED WORK ===================== */
.work {
  position: relative;
  padding: clamp(56px, 8vh, 110px) var(--pad-x) clamp(90px, 12vh, 160px);
  background: var(--white);
}

.work-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  margin-bottom: clamp(42px, 6vh, 72px);
}
.work-header .section-title { grid-column: 2; }
.work-count {
  grid-column: 3;
  justify-self: end;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--red);
}

.work-list {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--red);
}

.work-row {
  --work-focus: 0;
  border-top: 1px solid var(--red);
  transition: border-color 0.3s ease;
}

.work-more-drawer[hidden] { display: none; }
.work-more-drawer {
  display: flex;
  flex-direction: column;
}
.work-more-drawer.is-open .work-row {
  animation: fadeSlideIn 0.45s var(--ease) both;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.work-more-bar {
  display: flex;
  justify-content: center;
  padding-top: clamp(28px, 4vh, 46px);
}
.work-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 28px;
  border: 1px solid var(--red);
  background: var(--white);
  color: var(--red);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.work-more-btn .wm-arr {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.work-more-btn[aria-expanded="true"] .wm-arr {
  transform: rotate(180deg);
}
.work-more-btn:hover {
  background: var(--red);
  color: var(--white);
}

.work-row-btn {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 34vw) minmax(0, 1fr);
  gap: clamp(20px, 3.2vw, 56px);
  align-items: start;
  padding: clamp(22px, 2.8vh, 34px) 0;
  color: var(--red);
  transition: color 0.3s ease;
}

.work-row:hover { border-top-color: var(--work-hover-color, var(--red)); }
.work-row:hover .work-row-btn { color: var(--work-hover-color, var(--red)); }

.work-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 12vw);
  gap: 16px 24px;
  align-items: start;
}
.work-copy h3 {
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  transition: transform 0.45s var(--ease);
}
.work-row:hover .work-copy h3 { transform: translateX(6px); }

.work-meta {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4.5vh, 52px);
  text-align: right;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
}
.work-year { opacity: 0.85; }

/* Full uncropped 16:10 preview frame that smoothly swells in proportion on scroll focus! */
.work-media {
  width: calc(74% + var(--work-focus) * 26%);
  margin-left: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper);
  outline: 1px solid rgba(10, 10, 10, 0.08);
  outline-offset: -1px;
  transition: width 0.25s linear;
}
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}
.work-row:hover .work-media img { transform: scale(1.02); }

/* ===================== 04. CAPABILITIES / SERVICES ===================== */
.editorial-services {
  padding: clamp(80px, 11vh, 148px) var(--pad-x);
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.72fr) auto minmax(190px, 0.78fr);
  gap: clamp(24px, 3vw, 52px);
  align-items: start;
}

.services-left .section-title { margin-bottom: clamp(26px, 4vh, 42px); }
.services-intro {
  font-size: clamp(20px, 1.9vw, 29px);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.02em;
  max-width: 19em;
}

.services-mid {
  border-left: 1px solid var(--red);
  padding-left: clamp(16px, 2vw, 28px);
  min-height: 220px;
}
.services-core {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
}

.services-doodle {
  align-self: center;
  padding-top: 16px;
}

.services-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  text-align: right;
  padding-top: 24px;
}
.services-detail {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
}
.services-avail {
  font-size: 0.875rem;
  font-weight: 500;
  max-width: 19em;
  line-height: 1.45;
}
.services-avail u { text-underline-offset: 4px; }

/* 5-Row Swiss Editorial "What I Build" Discipline Matrix */
.cap-matrix {
  margin-top: clamp(56px, 8vh, 96px);
  border-top: 1px solid var(--red);
}
.cap-row {
  display: grid;
  grid-template-columns: 52px minmax(200px, 0.95fr) minmax(0, 1.45fr) minmax(180px, 0.85fr);
  gap: 14px clamp(18px, 2.6vw, 40px);
  align-items: baseline;
  padding: clamp(20px, 2.6vh, 30px) 0;
  border-bottom: 1px solid var(--red);
  transition: padding-left 0.32s var(--ease), background 0.25s ease;
}
.cap-row:hover {
  padding-left: 10px;
  background: rgba(238, 44, 61, 0.03);
}
.cap-num {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.72;
}
.cap-name {
  font-size: clamp(1.22rem, 1.65vw, 1.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.cap-desc {
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.48;
  max-width: 38em;
}
.cap-stack {
  justify-self: end;
  text-align: right;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.85;
}

/* ===================== 05. COLLABORATE + HANGING RAGDOLL + CRIMSON BULGE ===================== */
.editorial-collaborations {
  position: relative;
  padding: clamp(72px, 10vh, 132px) var(--pad-x) 0;
  background: var(--white);
}

.collab-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(56px, 8vh, 96px);
}

.collab-lead-col .section-title { margin-bottom: clamp(22px, 3.5vh, 36px); }
.collab-intro {
  font-size: clamp(20px, 1.9vw, 29px);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.02em;
  max-width: 19em;
  margin-bottom: 28px;
}

.collab-ragdoll-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: start;
  width: min(500px, 100%);
}
.hang-bar {
  width: 100%;
  height: 1px;
  background: var(--red);
}
.ragdoll-hang-canvas {
  width: 100%;
  height: clamp(360px, 46vh, 460px);
  display: block;
  touch-action: pan-y;
  cursor: default;
}
.ragdoll-hang-canvas.is-over-body { cursor: grab; }
.ragdoll-hang-canvas.is-dragging { cursor: grabbing; touch-action: none; }

.collab-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 84px);
  padding-bottom: clamp(56px, 8vh, 104px);
}
.collab-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.collab-card h3 {
  font-size: clamp(1.45rem, 1.9vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.collab-card p {
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 400;
  line-height: 1.45;
  max-width: 28em;
}
.collab-card .editorial-arrow-link { align-self: flex-end; margin-top: 8px; }

/* Dynamic Elastic Crimson Bulge */
.crimson-bulge-wrap {
  margin-inline: calc(var(--pad-x) * -1);
  line-height: 0;
  overflow: hidden;
  margin-bottom: -2px;
}
#crimsonBulgeSvg {
  display: block;
  width: 100%;
  height: clamp(56px, 9vw, 138px);
}

/* ===================== 06. HIGHLIGHTS & PHYSICS LETTERS (FULL-BLEED CRIMSON) ===================== */
.crimson-showcase {
  position: relative;
  background: var(--red);
  color: var(--white);
  padding: clamp(44px, 6vh, 84px) var(--pad-x) clamp(48px, 6vh, 72px);
}

.cs-wrap > .section-title { margin-bottom: clamp(32px, 5vh, 56px); }

/* Featured Recognition */
.hl-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  margin-bottom: clamp(64px, 9vh, 112px);
}
.hl-feat-media {
  display: block;
  width: 100%;
  border: 6px solid var(--white);
  overflow: hidden;
  background: var(--ink);
  transition: transform 0.5s var(--ease);
}
.hl-feat-media:hover { transform: scale(1.015); }
.hl-feat-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hl-feat-copy h3 {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hl-feat-copy p {
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 400;
  line-height: 1.45;
  max-width: 28em;
  margin-bottom: 28px;
}

/* Lower Spread: Staggered Looping Editorial Strip + Archive Ledger */
.hl-lower {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
  margin-bottom: clamp(72px, 10vh, 132px);
}

.hl-marquee {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  height: clamp(440px, 58vh, 580px);
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
}
.hl-col { overflow: hidden; }
.hl-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  will-change: transform;
}
.hl-col-up .hl-track { animation: loopUp 28s linear infinite; }
.hl-col-down .hl-track { animation: loopDown 32s linear infinite; }
.hl-marquee:hover .hl-track { animation-play-state: paused; }

@keyframes loopUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes loopDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

.hl-tile {
  background: var(--white);
  padding: 5px;
  color: var(--red);
}
.hl-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.hl-tile figcaption {
  display: flex;
  justify-content: space-between;
  padding: 6px 4px 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Hairline-divided White Archive Ledger */
.hl-ledger-title {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.archive-list { border-top: 1px solid rgba(255, 255, 255, 0.5); }
.archive-item { border-bottom: 1px solid rgba(255, 255, 255, 0.5); }

.ai-trigger {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  color: var(--white);
  transition: opacity 0.2s ease;
}
.ai-trigger:hover { opacity: 0.82; }
.ai-name {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 500;
  line-height: 1.3;
}
.ai-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0.9;
}

.ai-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding-bottom 0.35s var(--ease);
}
.archive-item.is-open .ai-panel {
  max-height: 260px;
  padding-bottom: 20px;
}
.ai-panel p {
  font-size: 0.98rem;
  line-height: 1.55;
  opacity: 0.92;
  max-width: 46em;
}
.ai-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}
.ai-links a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  padding-bottom: 2px;
}
.ai-links a:hover { border-bottom-color: var(--white); }

/* Bottom Interactive Draggable Physics Letters ("shikulo") */
.letters-stage {
  position: relative;
  min-height: clamp(200px, 30vh, 320px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 48px;
  overflow: hidden;
}
.letters-hint {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}
.letters-arena {
  position: relative;
  display: flex;
  align-items: baseline;
  user-select: none;
  touch-action: none;
}
.phys-letter {
  display: inline-block;
  font-size: clamp(74px, 14.5vw, 224px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--white);
  cursor: grab;
  will-change: transform;
  padding-right: 0.01em;
}
.phys-letter:active { cursor: grabbing; }

.letters-doodle {
  width: clamp(96px, 11.5vw, 158px);
  height: auto;
  flex: none;
  pointer-events: none;
  opacity: 0.96;
}

/* ===================== 07. FIXED CURTAIN-REVEAL FOOTER ===================== */
.footer-curtain-spacer {
  height: 100vh;
  height: 100svh;
  pointer-events: none;
}

.site-footer {
  position: fixed;
  inset: auto 0 0 0;
  height: 100vh;
  height: 100svh;
  z-index: 0;
  background: var(--white);
  color: var(--red);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(86px, 10vh, 108px) var(--pad-x) clamp(20px, 3vh, 32px);
  overflow: hidden;
}

.footer-top-row {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}
.footer-col-left,
.footer-col-right-rule {
  pointer-events: auto;
}
.footer-short-rule {
  width: clamp(150px, 20vw, 310px);
  height: 1px;
  background: var(--red);
  margin-bottom: 18px;
}
.footer-brand {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.footer-services {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.42;
}

/* Direct WhatsApp CTA positioned right beside the standing cartoon */
.footer-wa-beside {
  position: absolute;
  top: 50%;
  left: calc(50% + clamp(138px, 13.5vw, 198px));
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  pointer-events: auto;
}
.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--red);
  background: var(--white);
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-wa-btn .wa-arr {
  transition: transform 0.25s var(--ease);
}
.footer-wa-btn:hover {
  background: var(--red);
  color: var(--white);
}
.footer-wa-btn:hover .wa-arr {
  transform: translate(2px, -2px);
}

/* Full-Viewport Standing Interactive Ragdoll in Footer */
.footer-ragdoll-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.footer-mid-row {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-bottom: clamp(22px, 3.5vh, 40px);
  pointer-events: none;
}
.footer-based,
.footer-sig {
  pointer-events: auto;
}

/* Flag-Filled Namibia Silhouette + Crimson Editorial Compass Halo */
.footer-based {
  display: flex;
  align-items: center;
  gap: 18px;
}
.namibia-badge {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
}
.nb-disc {
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1px solid rgba(238, 44, 61, 0.34);
  background: radial-gradient(circle, rgba(238, 44, 61, 0.065) 0%, rgba(238, 44, 61, 0) 72%);
  transform: translate(2px, 3px);
  transition: transform 0.45s var(--ease), border-color 0.35s ease;
}
.namibia-flag-map {
  position: relative;
  width: 108px;
  height: 108px;
  filter: drop-shadow(0 6px 14px rgba(17, 17, 17, 0.1));
  transition: transform 0.45s var(--ease), filter 0.35s ease;
}
.namibia-flag-map .na-sun {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.7s var(--ease);
}
.namibia-flag-map .na-sheen {
  transform: translateX(0) skewX(-18deg);
  transition: transform 0.75s var(--ease);
}
.namibia-flag-map .whk-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: whkPulse 2.8s ease-out infinite;
}
@keyframes whkPulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  75%, 100% { transform: scale(2.4); opacity: 0; }
}
.footer-based:hover .nb-disc {
  transform: translate(2px, 3px) scale(1.08);
  border-color: rgba(238, 44, 61, 0.62);
}
.footer-based:hover .namibia-flag-map {
  transform: scale(1.06) rotate(-2deg);
  filter: drop-shadow(0 10px 20px rgba(17, 17, 17, 0.16));
}
.footer-based:hover .namibia-flag-map .na-sheen {
  transform: translateX(200px) skewX(-18deg);
}
.fb-text { font-size: 0.875rem; line-height: 1.38; }
.fb-text strong { display: block; font-weight: 700; margin-bottom: 2px; }

.footer-sig {
  width: clamp(144px, 13vw, 196px);
  color: var(--red);
  transition: transform 0.4s var(--ease);
}
.footer-sig:hover { transform: rotate(-5deg) scale(1.06); }
.footer-sig img, .footer-sig svg { width: 100%; height: auto; display: block; }

.footer-bottom {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--red);
  font-size: 0.875rem;
  font-weight: 500;
}
.fb-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.fb-email {
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.fb-email:hover { opacity: 0.65; }
.fb-socials {
  justify-self: end;
  display: flex;
  gap: 20px;
}
.fb-socials a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.fb-socials a:hover { border-bottom-color: var(--red); }

/* Bottom 6px crimson strip matching hero top strip */
.site-footer::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: var(--red);
}

/* ===================== DEEP SHAREABLE CASE STUDY SHEET (PURE WHITE & CRIMSON) ===================== */
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  visibility: hidden;
  pointer-events: none;
}
.case-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}
.case-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.case-modal.is-open .case-backdrop { opacity: 1; }

.case-sheet {
  position: absolute;
  inset: 0;
  background: var(--white);
  color: var(--red);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(100%);
  transition: transform 0.62s var(--ease);
  outline: none;
}
.case-modal.is-open .case-sheet { transform: translateY(0%); }

.case-bar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad-x);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--red);
  font-size: 0.875rem;
  font-weight: 600;
}
.case-bar-actions { display: flex; align-items: center; gap: 22px; }
.case-action-link:hover, .case-close:hover { text-decoration: underline; text-underline-offset: 4px; }
.case-close { font-weight: 700; }

.case-content {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(32px, 5vh, 64px) var(--pad-x) clamp(56px, 8vh, 96px);
}
.cs-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}
.cs-cat { font-size: 0.9rem; font-weight: 500; margin-bottom: 10px; }
.cs-title {
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.cs-tagline {
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.38;
  max-width: 34em;
}

.cs-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  margin-bottom: 36px;
}
.cs-meta dt { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.75; margin-bottom: 4px; }
.cs-meta dd { font-size: 0.98rem; font-weight: 600; }

.cs-img {
  width: 100%;
  margin-bottom: 42px;
  background: var(--paper);
  outline: 1px solid rgba(10, 10, 10, 0.08);
  outline-offset: -1px;
}
.cs-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }

.cs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  margin-bottom: 54px;
}
.cs-block + .cs-block { margin-top: 32px; }
.cs-block h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.cs-block p { font-size: 1.08rem; line-height: 1.6; }

.cs-hl { border-top: 1px solid var(--red); }
.cs-hl li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(238, 44, 61, 0.35);
  font-size: 1rem;
  line-height: 1.48;
}
.cs-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.92rem;
  font-weight: 600;
}

.cs-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--red);
  padding-top: 24px;
  gap: 20px;
}
.cs-nav-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: opacity 0.2s ease;
}
.cs-nav-btn:hover { opacity: 0.65; }
.cs-nav-btn.next { align-items: flex-end; text-align: right; }
.cs-nav-btn small { font-size: 0.8rem; font-weight: 500; }
.cs-nav-btn strong { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; }

/* ===================== PODIUM LIGHTBOX ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9600;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(10, 10, 10, 0.92);
  color: var(--white);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox.is-open { visibility: visible; opacity: 1; }
.lb-close {
  position: fixed;
  top: 22px;
  right: var(--pad-x);
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid var(--white);
  padding-bottom: 2px;
}
.lb-fig { max-width: min(92vw, 1040px); text-align: center; }
.lb-fig img { max-height: 78vh; width: auto; margin: 0 auto; border: 6px solid var(--white); }
.lb-fig figcaption { margin-top: 14px; font-size: 0.88rem; opacity: 0.82; }

/* ===================== RESPONSIVE (TABLET & MOBILE) ===================== */
@media (max-width: 1024px) {
  .manifesto-lead { grid-column: 1 / -1; }
  .manifesto-body-col { grid-column: 1 / -1; }
  .work-row-btn { grid-template-columns: 1fr; gap: 18px; }
  .work-media { width: 100% !important; height: auto !important; aspect-ratio: 16 / 10; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-mid { border-left: 0; border-top: 1px solid var(--red); padding: 20px 0 0; min-height: 0; }
  .services-right { align-items: flex-start; text-align: left; }
  .cap-row { grid-template-columns: 36px 1fr; gap: 8px 16px; }
  .cap-desc, .cap-stack { grid-column: 2; justify-self: start; text-align: left; }
  .collab-top, .collab-split, .hl-featured, .hl-lower, .cs-head, .cs-grid { grid-template-columns: 1fr; }
  .pixel-menu-inner { grid-template-columns: 1fr; }
  .pm-visual { display: none; }
  .cs-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* On tablet/mobile make footer normal flow so small viewports never clip */
  .footer-curtain-spacer { display: none; }
  .site-footer { position: relative; height: auto; min-height: 100svh; z-index: 2; }
  .footer-ragdoll-stage { position: relative; inset: auto; width: 100%; height: 460px; margin: 12px auto; }
  .footer-wa-beside { position: static; transform: none; align-items: center; text-align: center; margin: 8px auto 24px; }
  .footer-bottom { grid-template-columns: 1fr; justify-items: start; gap: 12px; }
  .fb-socials { justify-self: start; }
}

@media (max-width: 768px) {
  .quick-links, .top-clock-wrap { display: none; }
  .hero-ragdoll-stage {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero-datum { top: 44%; }
  .ragdoll-hint { bottom: 138px; }
  .hero-brand-block {
    width: calc(100% - var(--pad-x) * 2);
    bottom: 24px;
  }
  .hero-wordmark { font-size: clamp(58px, 19.5vw, 108px); }
  .hero-roles { grid-template-columns: 1fr auto; gap: 8px; font-size: 0.78rem; }
  .hero-right-block {
    top: 78px;
    bottom: auto;
    gap: 10px;
  }
  .doodle-ring { width: 86px; }
  .hero-disciplines { display: none; }

  .work-copy { grid-template-columns: 1fr; gap: 8px; }
  .work-meta { flex-direction: row; justify-content: space-between; text-align: left; gap: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .hl-marquee { height: 340px; }
  .letters-doodle { display: none; }
  .footer-top-row { flex-direction: column; gap: 18px; }
  .footer-col-right-rule { display: none; }
  .footer-mid-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cs-nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hl-col-up .hl-track,
  .hl-col-down .hl-track,
  .doodle-ring .stamp-ring-svg,
  .doodle-ring .doodle-profile-img,
  .letters-doodle,
  .namibia-flag-map .whk-pulse { animation: none; }
  .ed-word > span { transform: none !important; transition: none !important; }
}
