*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { font-size: 16.2px; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background-color: #ffffff;
  color: #111;
  min-height: 100vh;
}

/* ─── LAYOUT ──────────────────────────────────── */
.layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* LEFT — fixed 33% */
.left-panel {
  width: 33%;
  height: 100vh;
  overflow-y: hidden;
  padding: 30px 26px 0;
  flex-shrink: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.left-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  flex: 1;
  overflow-y: auto;
  padding-bottom: 40px;
}

/* RIGHT — 67% */
.right-panel {
  width: 67%;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  scrollbar-width: none;
}
.right-panel::-webkit-scrollbar { width: 0; }


/* ─── LEFT CONTENT ────────────────────────────── */

.name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.name-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.name {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #111;
}

.bio {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.bio p          { font-size: 1.1rem; line-height: 1.3; color: #444; }
.bio p:not(.bio-lead) { font-size: 0.88rem; color: #aaa; }
.bio-lead       { font-size: 1.1rem !important; line-height: 1.3 !important; font-weight: 500; color: #111 !important; }

/* ─── INDUSTRIES MARQUEE ──────────────────────── */
.industries {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  min-height: 0;
  flex-shrink: 0;
}

.industries-label {
  font-size: 1.1rem;
  color: #111;
}

.industries-track {
  display: flex;
  width: max-content;
  animation: marquee 14.4s linear infinite;
  height: auto;
}
.industries-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.industries-tags {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  padding-right: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.935rem;
  font-weight: 500;
  color: #444;
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 5px;
  padding: 5.5px 13.2px;
  white-space: nowrap;
}

.available-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #111;
  margin-top: -32px;
}

.btn-group {
  margin-top: -32px;
}

.available-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-email {
  display: inline-block;
  background: linear-gradient(90deg, #fbbf24, #f97316, #fbbf24);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  padding: 9px 17px;
  border-radius: 5px;
  width: fit-content;
  transition: opacity 0.2s;
  background-size: 200% auto;
  animation: gradientShift 3s ease infinite;
}
.btn-email:hover { opacity: 0.85; }

@keyframes gradientShift {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: #111;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 5px;
  border: 1.5px solid #111;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: #111; color: #fff; }

.section { display: flex; flex-direction: column; gap: 12px; }

.section-label { font-size: 1.1rem; color: #111; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 0;
}
.services-grid span { font-size: 1rem; color: #111; }

.client-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.client-row:first-of-type { border-top: 1px solid #f0f0f0; }

.client-info { display: flex; flex-direction: column; gap: 2px; }
.client-name    { font-size: 1rem; font-weight: 500; }
.client-service { font-size: 0.88rem; color: #aaa; }

.client-logo { font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.client-date { font-size: 0.9rem; color: #999; white-space: nowrap; }
.contact-item { font-size: 1rem; color: #111; }
.contact-link { color: #111; text-decoration: none; }
.contact-link:hover { text-decoration: underline; }
.client-logo--tiny   { font-style: italic; font-weight: 700; font-size: 1.1rem; }
.client-logo--jasper { font-style: italic; font-size: 1.05rem; }
.client-logo--hockey,
.client-logo--firefly { font-size: 0.85rem; font-weight: 500; }
.client-logo--adapt  { font-size: 0.85rem; letter-spacing: 0.02em; }




/* ─── GRAVITY SECTION ────────────────────────── */
.gravity-section {
  width: 100%;
  height: 400px;
  background: #f5f5f5;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  flex-shrink: 0;
}

.gravity-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.6rem;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  z-index: 5;
  white-space: nowrap;
}

.phys-body {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10.8px 21.6px;
  border-radius: 99px;
  font-size: 1.056rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  will-change: transform;
}

/* ─── IMAGE CARDS — 1 column, full-width, same size ── */
.img-card {
  width: 100%;
  height: 600px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
}

/* size label on each card */
.img-card .size-label,
.hero-placeholder .size-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.04em;
  pointer-events: none;
  user-select: none;
}

/* SHAKE */
.shake-card {
  background: linear-gradient(135deg, #2d1f00, #1a1200, #0d0900);
}

.scene-lottie {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* all specific card overrides removed — .img-card handles everything */

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ─── CARD GROUP + META ─────────────────────── */
.card-group {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.card-group + .card-group {
  margin-top: 52px;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 4px 0;
}

.card-name {
  font-size: 1.48rem;
  font-weight: 400;
  color: #111;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: 0.88rem;
  color: #aaa;
  line-height: 1.5;
  margin-top: 4px;
}

.card-name-sub {
  font-size: 1.48rem;
  font-weight: 400;
  color: #111;
  letter-spacing: -0.02em;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-tag {
  font-size: 0.88rem;
  color: #444;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 99px;
  padding: 4px 14px;
  white-space: nowrap;
}

/* ─── FULL HEIGHT IMAGE ──────────────────────── */
.full-img-card {
  margin-top: 52px;
  width: 100%;
  height: calc(100vh - 24px);
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-lottie {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

@keyframes float {
  0%   { transform: translate(-50%, -50%); }
  50%  { transform: translate(-50%, calc(-50% - 12px)); }
  100% { transform: translate(-50%, -50%); }
}

.footer-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 40px 48px;
  text-align: center;
  animation: float 4s ease-in-out infinite;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #111;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.footer-body {
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
  line-height: 1.4;
}

.copyright {
  font-size: 0.88rem;
  color: #aaa;
  padding: 12px 0;
  flex-shrink: 0;
}


/* ─── SCROLLBAR ───────────────────────────────── */
.left-panel::-webkit-scrollbar { width: 0; }
.left-inner::-webkit-scrollbar { width: 0; }
.left-inner { scrollbar-width: none; }

/* ─── 1. CUSTOM CURSOR — removed, back to default ── */
.cursor-dot, .cursor-ring { display: none; }

/* ─── IMG HOVER — pointer + Detail popup ────── */
.img-card {
  cursor: pointer;
}

.img-popup {
  position: fixed;
  background: #111;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -130%) scale(0.9);
  transition: opacity 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.img-popup.visible {
  opacity: 1;
  transform: translate(-50%, -130%) scale(1);
}

/* ─── BIO GAME LINK ───────────────────────────── */
.bio-game-link {
  display: inline-block;
  font-size: 0.82rem;
  color: #aaa;
  text-decoration: none;
  background: linear-gradient(90deg, transparent 0%, transparent 100%);
  background-size: 200% 100%;
  padding: 2px 6px 2px 0;
  border-radius: 4px;
  transition: color 0.25s;
  position: relative;
}

.bio-game-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, #f97316, #fbbf24, #f97316);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  animation: link-shimmer 3s ease infinite;
}

@keyframes link-shimmer {
  0%,100% { background-position: 0% center; opacity: 0.5; }
  50%      { background-position: 100% center; opacity: 1; }
}

.bio-game-link:hover {
  color: #111;
}
.bio-game-link:hover::after {
  transform: scaleX(1);
}

