:root {
  /* Palette */
  --paper:     #f9f7f4;
  --paper-off: #f1ede6;
  --paper-dim: #e8e3db;
  --black:     #0c0b09;
  --ink:       #1a1916;
  --ink-mid:   #3d3b36;
  --gray:      #57544d;
  --gray-light:#9c9890;
  --line:      #dedad2;
  --line-soft: #eeebe4;
  --card:      #ffffff;
  --red:       #c31f34;
  --red-dark:  #8c1020;
  --red-soft:  rgba(195,31,52,0.08);
  --red-glow:  rgba(195,31,52,0.18);

  /* Typography scale */
  --display-xl: clamp(54px, 6.8vw, 108px);
  --display-lg: clamp(46px, 5.6vw, 88px);
  --display-md: clamp(38px, 4.6vw, 72px);
  --h1:         clamp(38px, 5vw, 72px);
  --h2:         clamp(28px, 3.6vw, 50px);
  --h3:         clamp(20px, 2.4vw, 30px);
  --label:      clamp(10px, 0.9vw, 12px);
  --body-lg:    18px;
  --body:       16px;
  --body-sm:    14px;
  --caption:    12px;

  /* Spacing */
  --section:      clamp(80px, 10vw, 140px);
  --section-sm:   clamp(50px, 6vw, 80px);
  --maxw:         1380px;
  --gutter:       clamp(20px, 4vw, 60px);

  /* Effects */
  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.09);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.13);
  --ease-out:    cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);

  /* Nav height for offset */
  --nav-h: 68px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  background: var(--paper);
  color: var(--black);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }
::selection { background: var(--red); color: #fff; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--black);
  color: var(--paper);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--red);
}

.t-display-xl { font-family: 'Anton', sans-serif; font-size: var(--display-xl); line-height: 0.86; letter-spacing: -0.01em; }
.t-display-lg { font-family: 'Anton', sans-serif; font-size: var(--display-lg); line-height: 0.88; letter-spacing: -0.01em; }
.t-display-md { font-family: 'Anton', sans-serif; font-size: var(--display-md); line-height: 0.90; letter-spacing: -0.01em; }
.t-h1 { font-size: var(--h1); font-weight: 800; line-height: 1.06; }
.t-h2 { font-size: var(--h2); font-weight: 800; line-height: 1.10; }
.t-h3 { font-size: var(--h3); font-weight: 700; line-height: 1.20; }
.t-body-lg { font-size: var(--body-lg); line-height: 1.65; }
.t-body { font-size: var(--body); line-height: 1.65; }
.t-body-sm { font-size: var(--body-sm); line-height: 1.60; }
.t-caption { font-size: var(--caption); line-height: 1.50; }
.t-label { font-size: var(--label); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.t-script { font-family: 'Dancing Script', cursive; font-weight: 700; }
.t-mono { font-family: 'Courier New', monospace; }

/* Stroke/Outlined headline */
.t-outline {
  -webkit-text-stroke: 2px var(--black);
  color: transparent;
}
.t-outline-thin {
  -webkit-text-stroke: 1.5px var(--black);
  color: transparent;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-pad { padding: var(--section) 0; }
.section-pad-sm { padding: var(--section-sm) 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
/* Centered eyebrow variant — used inside centered containers */
p.eyebrow-center {
  display: flex;
  justify-content: center;
}

/* Section heading composite */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Thin horizontal rule */
.rule { border: none; border-top: 1px solid var(--line); }
.rule-soft { border: none; border-top: 1px solid var(--line-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    background 0.22s var(--ease-out),
    color 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out),
    transform 0.22s var(--ease-out),
    box-shadow 0.22s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn .icon {
  transition: transform 0.22s var(--ease-out);
}
.btn:hover .icon {
  transform: translate(3px, -3px);
}
.btn-primary {
  background: var(--black);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(195,31,52,0.28);
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--gray);
  padding: 10px 0;
}
.btn-ghost:hover { color: var(--red); }

/* View-all link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  transition: color 0.2s;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.link-arrow:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}
.link-arrow .icon { transition: transform 0.2s var(--ease-out); }
.link-arrow:hover .icon { transform: translate(3px,-3px); }

#nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249,247,244,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
  height: var(--nav-h);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-logo .dot { color: var(--red); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-mid);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1.5px;
  background: var(--red);
  transition: right 0.28s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active { color: var(--black); }
.nav-links a.active::after,
.nav-links a:hover::after { right: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--red); transform: translateY(-1px); }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 110;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.28s var(--ease-out), opacity 0.28s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px var(--gutter);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.42s var(--ease-expo), visibility 0.42s var(--ease-expo);
  overflow: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-close-btn {
  position: absolute;
  top: 22px;
  right: var(--gutter);
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu-links a {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 10vw, 52px);
  color: var(--ink);
  transition: color 0.2s;
  display: inline-block;
}
.mobile-menu-links a:hover { color: var(--red); }
.mobile-menu-cta { margin-top: 32px; }
.mobile-menu-footer {
  margin-top: auto;
  padding-top: 40px;
  font-size: 13px;
  color: var(--gray);
}

/* Progress bar under nav */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--red);
  z-index: 99;
  transform-origin: left;
  transform: scaleX(0);
  width: 100%;
  transition: transform 0.1s linear;
}

#hero,
#home {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(24px, 2.8vw, 44px) 0 clamp(20px, 2.4vw, 36px);
  background: var(--paper);
}
.hero-bg-num {
  position: absolute;
  right: -2%;
  bottom: -8%;
  font-family: 'Anton', sans-serif;
  font-size: clamp(300px, 34vw, 660px);
  color: rgba(0,0,0,0.032);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.hero-inner {
  max-width: min(1660px, 94vw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr minmax(380px, 500px) minmax(260px, 320px);
  align-items: center;
  gap: clamp(16px, 2vw, 40px);
  position: relative;
  width: 100%;
}

.hero-copy { position: relative; z-index: 4; }
.hero-greeting {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(14.5px, 0.96vw, 16.5px);
  font-weight: 500;
  color: #4b5563;
  margin-bottom: clamp(14px, 1.4vw, 22px);
}
.hero-greeting .wave {
  display: inline-block;
  animation: wave 2.2s ease-in-out infinite;
  font-size: 19px;
}
@keyframes wave {
  0%,100% { transform: rotate(0); }
  15%      { transform: rotate(-18deg); }
  35%      { transform: rotate(14deg); }
  55%      { transform: rotate(-10deg); }
  75%      { transform: rotate(7deg); }
}

/* Primary Headlines */
.hero-h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(52px, 6.6vw, 114px);
  line-height: 0.88;
  letter-spacing: -0.015em;
  word-spacing: 0.06em;
  color: var(--black);
  display: block;
  margin-bottom: -0.02em;
}
.hero-h1-outline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(46px, 5.8vw, 100px);
  line-height: 0.90;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 2px var(--black);
  color: transparent;
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  flex-wrap: wrap;
}
.hero-arrow-ring {
  width: clamp(28px, 2.5vw, 40px);
  height: clamp(28px, 2.5vw, 40px);
  border: 2px solid var(--black);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-text-stroke: 0;
  vertical-align: middle;
  transition: all 0.22s ease;
}
.hero-arrow-ring svg {
  width: 44%;
  height: 44%;
  stroke: var(--black);
  -webkit-text-stroke: 0;
  transition: stroke 0.22s;
}
.hero-h1-outline:hover .hero-arrow-ring {
  background: var(--red);
  border-color: var(--red);
}
.hero-h1-outline:hover .hero-arrow-ring svg { stroke: #fff; }

.hero-sub {
  max-width: 460px;
  margin: clamp(16px, 1.5vw, 24px) 0 clamp(18px, 1.7vw, 26px);
  font-size: clamp(15px, 1vw, 17.5px);
  line-height: 1.55;
  color: #4b5563;
}
.hero-sub strong {
  color: var(--black);
  font-weight: 700;
}

/* Dual CTAs */
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: clamp(24px, 2vw, 34px);
  flex-wrap: wrap;
}
.btn-hero-primary {
  background: var(--red);
  color: #fff;
  border: 1.5px solid var(--red);
  border-radius: 8px;
  font-weight: 500;
  font-size: clamp(13.5px, 0.9vw, 15px);
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-hero-primary:hover {
  background: #a81729;
  border-color: #a81729;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(195, 31, 52, 0.25);
}
.btn-hero-outline {
  background: #fff;
  color: var(--black);
  border: 1.5px solid var(--black);
  border-radius: 8px;
  font-weight: 500;
  font-size: clamp(13.5px, 0.9vw, 15px);
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-hero-outline:hover {
  background: var(--black);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Location + Availability Bar */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta-loc {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.hero-pin-icon {
  color: var(--black);
  margin-top: 2px;
  flex-shrink: 0;
}
.hero-meta-loc-text span {
  display: block;
  font-size: clamp(13px, 0.88vw, 14.5px);
  color: #374151;
  font-weight: 500;
}
.hero-meta-loc-text small {
  display: block;
  font-size: clamp(11px, 0.75vw, 12px);
  color: #6b7280;
  margin-top: 1px;
}
.hero-meta-div {
  width: 1px;
  height: 28px;
  background: #d1d5db;
}
.hero-avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(13px, 0.88vw, 14px);
  color: #374151;
  font-weight: 500;
}
.dot-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3aa15b;
  position: relative;
  display: inline-block;
}
.dot-live::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #3aa15b;
  animation: sonar 2.4s ease-out infinite;
}
@keyframes sonar {
  0%   { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero-portrait-col {
  position: relative;
  align-self: flex-end;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 3;
}
.hero-signature {
  position: absolute;
  top: 4%;
  right: -8%;
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: clamp(130px, 15vw, 240px);
  color: rgba(0, 0, 0, 0.14);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  line-height: 1;
  transform: rotate(-6deg);
}
.hero-portrait-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: transparent;
  border: none;
  box-shadow: none;
}
.hero-portrait-img {
  width: 100%;
  aspect-ratio: 0.5625;
  max-height: clamp(500px, 74vh, 720px);
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius-sm);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0,0,0,0.3) 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0,0,0,0.3) 88%, transparent 100%);
}
.hero-portrait-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 65% at 88% 22%, rgba(195,31,52,0.18), transparent 65%);
  pointer-events: none;
  z-index: 3;
}

.hero-right-col {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 28px);
  z-index: 4;
}

/* Quote */
.hero-quote {
  position: relative;
  max-width: 220px;
}
.hero-quote-mark {
  font-family: Georgia, serif;
  font-size: 26px;
  color: #9ca3af;
  line-height: 0;
  display: inline-block;
  vertical-align: -6px;
}
.hero-quote p {
  display: inline;
  font-family: 'Inter', sans-serif;
  font-size: clamp(13.5px, 0.9vw, 15px);
  font-style: italic;
  color: #6b7280;
  line-height: 1.5;
}

/* Tagline */
.hero-tagline {
  position: relative;
  max-width: 180px;
}
.hero-tagline-text {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: clamp(20px, 1.35vw, 23px);
  color: #111;
  line-height: 1.15;
  display: block;
}
.hero-tagline-swoosh {
  width: 76px;
  margin-top: 4px;
  display: block;
}

/* Tools Cluster (2 rows) */
.hero-tools {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.hero-tools-row {
  display: flex;
  gap: 9px;
  align-items: center;
}
.tool-chip {
  width: clamp(40px, 2.7vw, 46px);
  height: clamp(40px, 2.7vw, 46px);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
  flex-shrink: 0;
}
.tool-chip:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
}
.tool-chip svg {
  width: 58%;
  height: 58%;
}

/* Stats Block (3 columns with vertical dividers) */
.hero-stats {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.1vw, 18px);
  padding-top: 4px;
}
.hero-stat b {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: clamp(30px, 2.2vw, 38px);
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.01em;
}
.hero-stat span {
  font-size: clamp(11px, 0.76vw, 12.5px);
  color: #6b7280;
  display: block;
  line-height: 1.3;
  margin-top: 4px;
  font-weight: 500;
}
.hero-stat-sep {
  width: 1px;
  height: 38px;
  background: #e5e7eb;
}
/* Scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  z-index: 10;
  animation: scrollBob 2s ease-in-out infinite;
}
.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray), transparent);
}
@keyframes scrollBob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(5px); }
}

.panels-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: box-shadow 0.26s var(--ease-out), transform 0.26s var(--ease-out), border-color 0.26s;
}
.panel:hover {
  border-color: rgba(195,31,52,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.panel-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.panel-label::before {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--red);
  display: block;
  flex-shrink: 0;
}
/* Mini project row */
.mini-item {
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 9px;
  background: #fff;
  transition: border-color 0.22s var(--ease-out), background 0.22s var(--ease-out), transform 0.22s var(--ease-out), box-shadow 0.22s;
  display: block;
  text-decoration: none;
  color: inherit;
}
.mini-item:last-child { margin-bottom: 0; }
.mini-item:hover {
  border-color: rgba(195,31,52,0.35);
  background: rgba(195,31,52,0.025);
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.mini-item .tag {
  font-size: 10.5px;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 4px;
}
.mini-item .name {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
}
.mini-item .name-brand {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mini-item .arr {
  font-size: 13px;
  color: var(--gray-light);
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}
.mini-item:hover .arr {
  color: var(--red);
  transform: translate(2px, -2px);
}
.mini-item .desc { font-size: 12.5px; color: var(--gray); line-height: 1.45; }

/* Mini cert */
.mini-cert {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 9px;
  background: #fff;
  transition: border-color 0.22s var(--ease-out), background 0.22s var(--ease-out), transform 0.22s var(--ease-out), box-shadow 0.22s;
  text-decoration: none;
  color: inherit;
}
.mini-cert:last-child { margin-bottom: 0; }
.mini-cert:hover {
  border-color: rgba(195,31,52,0.35);
  background: rgba(195,31,52,0.025);
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.mini-cert-img {
  width: 58px;
  height: 42px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  border: 1px solid var(--line);
  transition: border-color 0.22s;
}
.mini-cert:hover .mini-cert-img { border-color: var(--red); }
.mini-cert-info { flex: 1; min-width: 0; }
.mini-cert-name { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.mini-cert-org { font-size: 11px; color: var(--gray); margin-top: 2px; }
.mini-cert .arr {
  font-size: 13px;
  color: var(--gray-light);
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}
.mini-cert:hover .arr {
  color: var(--red);
  transform: translate(2px, -2px);
}

/* Mini client link */
.mini-client {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 9px;
  background: #fff;
  transition: border-color 0.22s var(--ease-out), background 0.22s var(--ease-out), transform 0.22s var(--ease-out), box-shadow 0.22s;
  text-decoration: none;
  color: inherit;
}
.mini-client:last-child { margin-bottom: 0; }
.mini-client:hover {
  border-color: var(--red);
  background: var(--red-soft);
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.mini-client .name { font-size: 14px; font-weight: 700; color: var(--ink); }
.mini-client .cat  { font-size: 11px; color: var(--gray); margin-top: 1px; }
.mini-client .arr  { font-size: 14px; color: var(--gray-light); flex-shrink: 0; transition: transform 0.22s var(--ease-out), color 0.22s; }
.mini-client:hover .arr { color: var(--red); transform: translate(2px, -2px); }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.about-headline {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.24;
  color: var(--ink);
  margin-bottom: 22px;
  max-width: 24ch;
  text-wrap: balance;
  letter-spacing: -0.015em;
}
.about-headline strong { font-weight: 800; }
.about-bio {
  font-size: var(--body-lg);
  line-height: 1.72;
  color: var(--gray);
  margin-bottom: 24px;
  max-width: 48ch;
}
.about-status-strip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-mid);
  background: var(--card);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  margin-bottom: 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.about-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.22);
  flex-shrink: 0;
}
.about-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.about-edu-degree {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}
.about-edu-school {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* Skill system */
.skill-groups {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.skill-group {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: border-color 0.22s, box-shadow 0.22s;
}
.skill-group:hover {
  border-color: rgba(195,31,52,0.3);
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}
.skill-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.skill-group-head h4 {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.skill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.skill-count {
  font-size: 11px;
  font-family: 'Courier New', monospace;
  color: var(--gray-light);
  font-weight: 600;
}
.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skill-chip {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-mid);
  background: var(--paper);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}
.skill-chip:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-soft);
  transform: translateY(-1px);
}

.timeline {
  max-width: 840px;
  margin: 0 auto;
}
.tl-item {
  display: grid;
  grid-template-columns: 124px 1px 1fr;
  gap: 0 30px;
  padding-bottom: 52px;
  position: relative;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  padding-top: 4px;
  line-height: 1.4;
  white-space: nowrap;
}
.tl-line {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tl-line::before {
  content: '';
  position: absolute;
  top: 16px;
  bottom: -52px;
  width: 1px;
  background: var(--line);
}
.tl-item:last-child .tl-line::before { display: none; }
.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 4px;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--paper);
}
.tl-content { padding-top: 0; min-width: 0; }
.tl-role { font-size: 20px; font-weight: 800; line-height: 1.2; margin-bottom: 3px; overflow-wrap: break-word; word-break: normal; }
.tl-org { font-size: 13px; font-weight: 600; color: var(--red); margin-bottom: 12px; }
.tl-desc { font-size: 14.5px; color: var(--gray); line-height: 1.68; max-width: 52ch; }
.tl-desc strong { color: var(--ink); font-weight: 600; }

/* Timeline tech-tag pills */
.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.tl-tag {
  font-size: 11px;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid rgba(195,31,52,0.18);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* Project number label */
.proj-number {
  font-family: 'Anton', sans-serif;
  font-size: 11px;
  color: var(--gray-light);
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
/* HERO PROJECT — large dark card */
.proj-featured {
  background: var(--black);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  grid-column: 1 / -1;
}
.proj-featured-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  min-height: 440px;
}
.proj-featured-body {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.proj-featured-visual {
  position: relative;
  overflow: hidden;
  background: #0f0e0c;
  min-height: 380px;
}
.ch-visual-art {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 3.2vw, 36px);
  background: #0f0e0c;
  overflow: hidden;
}
.ch-arch-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.ch-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Anton', sans-serif;
  font-size: clamp(68px, 9.5vw, 128px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.038);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.ch-meta-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}
.ch-meta-tag {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}
.ch-meta-version {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
}
.ch-center-badge {
  position: relative;
  z-index: 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 0;
}
.ch-node-frame {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #191815;
  border: 1px solid rgba(195, 31, 52, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
}
.ch-node-frame::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 23px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.ch-node-icon {
  width: 34px;
  height: 34px;
  color: var(--red);
}
.ch-node-label {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.ch-node-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.ch-spec-bar {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}
.ch-spec-pill {
  font-size: 10.5px;
  font-family: 'Courier New', monospace;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
}
.ch-spec-pill.active {
  border-color: rgba(195, 31, 52, 0.5);
  color: #fca5a5;
  background: rgba(195, 31, 52, 0.1);
}
.proj-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #e0a0a8;
  margin-bottom: 14px;
}
.proj-featured-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 0.92;
  margin-bottom: 16px;
}
.proj-featured-desc {
  font-size: 15px;
  color: #c8c6c0;
  line-height: 1.68;
  max-width: 52ch;
  flex: 1;
  margin-bottom: 24px;
}
.proj-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.proj-meta-grid h5 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7c7a74;
  margin-bottom: 4px;
}
.proj-meta-grid p { font-size: 13px; color: #e0deda; line-height: 1.5; }
.proj-meta-grid .stack { font-family: 'Courier New', monospace; color: #f0a0ac; font-size: 12px; }
.proj-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  width: fit-content;
  transition: background 0.22s, border-color 0.22s;
}
.proj-cta:hover { background: var(--red); border-color: var(--red); }
.proj-cta .icon { transition: transform 0.2s var(--ease-out); }
.proj-cta:hover .icon { transform: translate(3px,-3px); }

/* WORK GRID layout */
.work-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
}
/* Secondary project card */
.proj-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.26s var(--ease-out), box-shadow 0.26s var(--ease-out), border-color 0.26s;
}
.proj-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
  opacity: 0;
  transition: opacity 0.26s;
}
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(195,31,52,0.22); }
.proj-card:hover::before { opacity: 1; }
.proj-card-tag { font-size: 11px; font-family: 'Courier New', monospace; color: var(--red); margin-bottom: 10px; font-weight: 600; }
.proj-card-title { font-size: 20px; font-weight: 800; margin-bottom: 9px; }
.proj-card-desc { font-size: 13.5px; color: var(--gray); line-height: 1.6; flex: 1; }
.proj-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.proj-card-status { font-size: 12px; color: var(--gray-light); font-style: italic; }

.creative-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.creative-copy h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 0.88;
  margin-bottom: 24px;
}
.creative-copy h2 .outline {
  -webkit-text-stroke: 2px var(--black);
  color: transparent;
  display: block;
}
/* Creative roles pill strip */
.creative-roles {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.creative-role-pill {
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--card);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  white-space: nowrap;
}
.creative-role-sep {
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
}
.creative-desc { font-size: var(--body-lg); color: var(--gray); line-height: 1.68; margin-bottom: 32px; max-width: 44ch; }
/* Tool icon row */
.tools-display {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.tool-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
  background: var(--card);
  transition: border-color 0.2s, transform 0.2s;
}
.tool-badge:hover { border-color: var(--red); transform: translateY(-2px); }
.tool-badge svg { width: 20px; height: 20px; flex-shrink: 0; }
/* Video showcase card */
.creative-showcase {
  background: var(--black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
}
.creative-showcase-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.creative-showcase-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}
.creative-showcase-glow {
  display: none; /* Removed to show original video color */
}
.creative-showcase-content {
  position: relative;
  z-index: 3;
  color: #fff;
}
.creative-showcase-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: #e0a0a8; margin-bottom: 12px; font-weight: 700; }
.creative-showcase-title { font-family: 'Anton', sans-serif; font-size: clamp(28px, 4vw, 48px); line-height: 1; margin-bottom: 12px; }
.creative-showcase-desc { font-size: 14px; color: #c8c6c0; line-height: 1.6; max-width: 40ch; margin-bottom: 24px; }
.creative-bignum {
  position: absolute;
  right: 28px;
  top: 28px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(80px,12vw,160px);
  color: rgba(255,255,255,0.05);
  line-height: 1;
  letter-spacing: -0.02em;
}

#certificates { background: var(--paper-off); }
.cert-scroller-wrap { position: relative; }
.cert-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 0 24px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cert-scroller::-webkit-scrollbar { display: none; }
.cert-card {
  flex: 0 0 auto;
  width: 296px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.26s var(--ease-out), box-shadow 0.26s;
  position: relative;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cert-card-thumb-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.cert-card-thumb {
  width: 100%;
  height: 176px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--paper-off);
  transition: transform 0.4s var(--ease-out);
}
.cert-card:hover .cert-card-thumb { transform: scale(1.04); }
.cert-card-body { padding: 16px 18px 20px; }
.cert-card-year {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.62);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  z-index: 2;
}
.cert-card-title { font-size: 13.5px; font-weight: 700; line-height: 1.35; margin-bottom: 5px; }
.cert-card-org { font-size: 11.5px; color: var(--gray); }
/* No-image cert placeholder */
.cert-card-placeholder {
  width: 100%;
  height: 176px;
  background: var(--paper-off);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 52px;
  color: rgba(0,0,0,0.08);
}
/* Cert controls */
.cert-nav { display: flex; gap: 10px; }
.cert-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.22s, background 0.22s, color 0.22s;
}
.cert-nav-btn:hover { border-color: var(--red); background: var(--red); color: #fff; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
  padding: 24px;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img-wrap {
  position: relative;
  max-width: min(92vw, 940px);
  transform: scale(0.94);
  transition: transform 0.3s var(--ease-expo);
}
.lightbox.active .lightbox-img-wrap { transform: scale(1); }
.lightbox-img {
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
  display: block;
}
.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 12;
}
.lightbox-close:hover { background: var(--red); transform: scale(1.06); }
.lightbox-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Lightbox Navigation Buttons */
.lb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.22s var(--ease-out), transform 0.22s var(--ease-out), border-color 0.22s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10;
}
.lb-nav-btn:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-50%) scale(1.06);
}
.lb-nav-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.lb-prev { left: -28px; }
.lb-next { right: -28px; }
.lb-caption {
  text-align: center;
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.lb-counter {
  text-align: center;
  margin-top: 5px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.client-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s, border-color 0.28s;
  box-shadow: var(--shadow-sm);
}
.client-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(195, 31, 52, 0.35);
}

/* Subtle browser frame at the top */
.client-browser {
  background: #141311;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.client-browser-bar {
  height: 28px;
  background: #1c1b18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  gap: 8px;
}
.browser-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.browser-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red    { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green  { background: #10b981; }

.browser-address {
  flex: 1;
  max-width: 210px;
  height: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  font-size: 10px;
  font-family: 'Courier New', monospace;
  color: rgba(255, 255, 255, 0.65);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.client-card:hover .browser-address {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.browser-address svg {
  stroke: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}
.browser-ext {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s, transform 0.2s;
}
.client-card:hover .browser-ext {
  color: var(--red);
  transform: translate(2px, -2px);
}

/* Screenshot image container */
.client-browser-screen {
  position: relative;
  overflow: hidden;
  background: #0c0b09;
}
.client-browser-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 551;
  display: block;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.client-card:hover .client-browser-img {
  transform: scale(1.03);
}

/* Card Body */
.client-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.client-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.client-number {
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  color: var(--red);
  letter-spacing: 0.04em;
  line-height: 1;
}
.client-meta-row .client-tag {
  margin-bottom: 0;
}
.client-tag { font-size: var(--label); color: var(--red); margin-bottom: 8px; }
.client-name { font-size: 18px; font-weight: 800; margin-bottom: 9px; letter-spacing: -0.01em; color: var(--black); }
.client-desc { font-size: 13.5px; color: var(--gray); line-height: 1.6; flex: 1; margin-bottom: 20px; }
.client-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s;
}
.client-link:hover,
.client-card:hover .client-link { color: var(--red); }
.client-link .icon { transition: transform 0.2s var(--ease-out); }
.client-card:hover .client-link .icon { transform: translate(3px,-3px); }

/* ==========================================================================
   ACHIEVEMENTS (CINEMATIC)
   ========================================================================== */
.achieve-cinematic {
  position: relative;
  padding: 120px 0;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.achieve-cinematic-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}
.achieve-cinematic-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.5;
}
.achieve-cinematic-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(12,11,9,1) 0%, rgba(12,11,9,0.75) 50%, rgba(12,11,9,0.3) 100%);
}
.achieve-cinematic-content {
  position: relative;
  z-index: 1;
}
.achieve-cinematic-header {
  margin-bottom: 60px;
  max-width: 700px;
}
.eyebrow-red {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-red::before {
  content: ''; display: block; width: 22px; height: 2px; background: var(--red);
}
.t-h2-serif {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 8vw, 84px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #fff;
}
.t-h2-serif em {
  font-style: italic;
  font-weight: 600;
  color: #e6d3af; /* subtle gold/cream tint */
}
.achieve-subtitle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a8a49c;
  margin-bottom: 32px;
}
.achieve-quote-wrapper {
  position: relative;
}
.achieve-para {
  font-size: 16px;
  color: #d1cdc4;
  line-height: 1.6;
  max-width: 480px;
}
.achieve-quote {
  position: absolute;
  left: 520px;
  top: -40px;
  font-family: 'Dancing Script', cursive;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  color: rgba(255,255,255,0.15);
  transform: rotate(-8deg);
  white-space: nowrap;
}

.achieve-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ac-card {
  display: flex;
  background: rgba(25, 24, 22, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.ac-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.25);
}
.ac-card-img {
  width: 320px;
  flex-shrink: 0;
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.ac-card-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.ac-card-img-placeholder {
  background: linear-gradient(135deg, #1c1524 0%, #0d0a12 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  min-height: 240px;
}
.ac-placeholder-clapper { font-size: 64px; margin-bottom: 12px; opacity: 0.6; }
.ac-placeholder-text { font-family: 'Dancing Script', cursive; font-size: 24px; text-align: center; color: rgba(255,255,255,0.4); transform: rotate(-5deg); }

.ac-card-body {
  padding: 40px 48px;
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ac-card-number {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.05);
  pointer-events: none;
}
.ac-card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #fff;
  max-width: 80%;
}
.ac-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  align-self: flex-start;
}
.ac-pill-red { background: rgba(195,31,52,0.2); color: #ff6b7b; border: 1px solid rgba(195,31,52,0.4); }
.ac-pill-purple { background: rgba(107,33,168,0.25); color: #d8b4fe; border: 1px solid rgba(107,33,168,0.4); }

.ac-card-desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 480px;
}

.ac-laurel {
  position: absolute;
  right: 48px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ac-laurel svg { width: 44px; height: 44px; opacity: 0.7; }
.ac-laurel span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.75;
}
.ac-laurel-gold { color: #e6d3af; }
.ac-laurel-purple { color: #c084fc; }

#contact { }
.contact-inner { text-align: center; }
.contact-headline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(44px, 7.5vw, 108px);
  line-height: 0.90;
  margin-bottom: 24px;
  position: relative;
}
.contact-headline .line-outline {
  display: block;
  -webkit-text-stroke: 2px var(--black);
  color: transparent;
}
.contact-headline .line-script {
  display: block;
  font-family: 'Dancing Script', cursive;
  font-size: 0.60em;
  color: var(--red);
  -webkit-text-stroke: 0;
  font-weight: 700;
  line-height: 1;
  margin-top: 4px;
  padding-inline: 0.1em;
}
.contact-sub {
  font-size: var(--body-lg);
  color: var(--gray);
  max-width: 46ch;
  margin: 0 auto 42px;
  line-height: 1.65;
}
.contact-ctas { display: flex; gap: 14px; justify-content: center; margin-bottom: 52px; flex-wrap: wrap; }
.contact-socials {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.contact-social-link:hover { color: var(--red); border-bottom-color: var(--red); }
.contact-social-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.contact-email-display {
  font-family: 'Anton', sans-serif;
  font-size: clamp(16px, 2.2vw, 28px);
  color: var(--gray-light);
  letter-spacing: 0.01em;
  margin-bottom: 44px;
  transition: color 0.2s;
}
.contact-email-display a:hover { color: var(--red); }

footer {
  border-top: 1px solid var(--line);
  padding: 38px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-logo { font-family: 'Anton', sans-serif; font-size: 22px; }
.footer-logo .dot { color: var(--red); }
.footer-tagline { font-size: 12px; color: var(--gray); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--gray); transition: color 0.2s; }
.footer-links a:hover { color: var(--red); }
.footer-copy { font-size: 12px; color: var(--gray-light); }
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--gray-light);
}
.footer-legal-links a { color: var(--gray); transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--red); }
.footer-legal-links span { color: var(--line); }

.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.28s, transform 0.28s var(--ease-out), background 0.2s;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top-btn:hover { background: var(--red); }

/* ==========================================================================
   CINEMATIC CV DOWNLOAD OVERLAY
   ========================================================================== */
.cv-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.cv-modal.active {
  visibility: visible;
  opacity: 1;
}
.cv-modal[hidden] {
  display: none;
}
.cv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 11, 9, 0.94);
}
.cv-modal-window {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #141311;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: clamp(28px, 6vw, 44px) clamp(24px, 5vw, 36px);
  color: var(--paper);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(195, 31, 52, 0.15);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
.cv-modal.active .cv-modal-window {
  transform: translateY(0) scale(1);
}
.cv-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #c8c6c0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.cv-modal-close:hover,
.cv-modal-close:focus-visible {
  border-color: var(--red);
  color: #fff;
  background: rgba(195, 31, 52, 0.15);
  outline: none;
}
.cv-modal-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.cv-modal-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(38px, 8vw, 56px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 6px;
}
.cv-modal-subtitle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a978f;
  margin-bottom: 28px;
}
.cv-status-wrap {
  margin-bottom: 20px;
}
.cv-modal-status {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.cv-modal-stage {
  font-size: 13px;
  color: #b5b2aa;
  line-height: 1.5;
  display: block;
  min-height: 22px;
}
.cv-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 2px;
  overflow: hidden;
  margin: 18px 0 10px;
}
.cv-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--red);
}
.cv-modal-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #7a7770;
  font-family: 'Courier New', monospace;
  margin-bottom: 24px;
}
.cv-modal-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cv-fallback-note {
  font-size: 12px;
  color: #8c8981;
}
.cv-direct-link {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s;
}
.cv-direct-link:hover,
.cv-direct-link:focus-visible {
  color: #ff5266;
}

/* Animated CV Download Button (UIverse) */
.cv-btn-animated {
  --main-focus: #2d8cf0;
  --font-color: #dedede;
  --bg-color-sub: #222;
  --bg-color: #323232;
  --main-color: #dedede;
  position: relative;
  width: 160px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border: 2px solid var(--main-color);
  box-shadow: 4px 4px var(--main-color);
  background-color: var(--bg-color);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
}

.cv-btn-animated, .cv-btn-animated__icon, .cv-btn-animated__text {
  transition: all 0.3s;
}

.cv-btn-animated .cv-btn-animated__text {
  transform: translateX(20px);
  color: var(--font-color);
  font-weight: 600;
  font-family: inherit;
  font-size: 14px;
}

.cv-btn-animated .cv-btn-animated__icon {
  position: absolute;
  transform: translateX(117px);
  height: 100%;
  width: 39px;
  background-color: var(--bg-color-sub);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cv-btn-animated .svg {
  width: 20px;
  stroke: var(--main-color);
}

.cv-btn-animated:hover {
  background: var(--bg-color);
}

.cv-btn-animated:hover .cv-btn-animated__text {
  color: transparent;
}

.cv-btn-animated:hover .cv-btn-animated__icon {
  width: 156px;
  transform: translateX(0);
}

.cv-btn-animated:active {
  transform: translate(3px, 3px);
  box-shadow: 0px 0px var(--main-color);
}

/* Spiderverse Glitch Button */
.button-wrapper {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
  display: inline-block;
}

.spiderverse-button {
  position: relative;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  color: #000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform-style: preserve-3d;
  transition: all 0.15s ease;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

.spiderverse-button:hover {
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff;
}

.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-layers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  opacity: 0;
  transition: all 0.15s ease;
  pointer-events: none;
  white-space: nowrap;
}

.layer-1 {
  color: #0ff;
  transform-origin: center;
}

.layer-2 {
  color: #f0f;
  transform-origin: center;
}

.button-wrapper:hover .layer-1 {
  opacity: 1;
  animation: glitchLayer1 0.4s steps(2) infinite;
}

.button-wrapper:hover .layer-2 {
  opacity: 1;
  animation: glitchLayer2 0.4s steps(2) infinite;
}

.button-wrapper:hover .spiderverse-button {
  animation: buttonGlitch 0.3s steps(2) infinite;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(0, 255, 255, 0.5),
    0 0 30px rgba(255, 0, 255, 0.5);
  background: #111;
  color: #fff;
  border-color: #111;
}

.noise {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0,
    rgba(0, 0, 0, 0.1) 1px,
    transparent 2px
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  animation: noise 0.2s steps(2) infinite;
  z-index: 10;
}

.button-wrapper:hover .noise {
  opacity: 1;
}

@keyframes buttonGlitch {
  0% { transform: translate(0) scale(1.02); }
  25% { transform: translate(-3px, 2px) scale(1.05) skew(-2deg); }
  50% { transform: translate(3px, -2px) scale(1.02) skew(2deg); }
  75% { transform: translate(-4px, -2px) scale(1.04) skew(-1deg); }
  100% { transform: translate(0) scale(1.02); }
}

@keyframes glitchLayer1 {
  0% {
    transform: translate(-4px, -2px) scale(1.05) skew(-5deg);
    clip-path: polygon(0 20%, 100% 20%, 100% 50%, 0 50%);
  }
  25% {
    transform: translate(4px, 2px) scale(1.1) skew(5deg);
    clip-path: polygon(0 30%, 100% 30%, 100% 60%, 0 60%);
  }
  50% {
    transform: translate(-3px, 2px) scale(0.95) skew(-2deg);
    clip-path: polygon(0 10%, 100% 10%, 100% 40%, 0 40%);
  }
  75% {
    transform: translate(3px, -2px) scale(1.1) skew(2deg);
    clip-path: polygon(0 40%, 100% 40%, 100% 70%, 0 70%);
  }
  100% {
    transform: translate(-4px, -2px) scale(1.05) skew(-5deg);
    clip-path: polygon(0 20%, 100% 20%, 100% 50%, 0 50%);
  }
}

@keyframes glitchLayer2 {
  0% {
    transform: translate(4px, 2px) scale(1.05) skew(5deg);
    clip-path: polygon(0 50%, 100% 50%, 100% 80%, 0 80%);
  }
  25% {
    transform: translate(-4px, -2px) scale(1.1) skew(-5deg);
    clip-path: polygon(0 60%, 100% 60%, 100% 90%, 0 90%);
  }
  50% {
    transform: translate(3px, -2px) scale(0.95) skew(2deg);
    clip-path: polygon(0 40%, 100% 40%, 100% 70%, 0 70%);
  }
  75% {
    transform: translate(-3px, 2px) scale(1.1) skew(-2deg);
    clip-path: polygon(0 70%, 100% 70%, 100% 100%, 0 100%);
  }
  100% {
    transform: translate(4px, 2px) scale(1.05) skew(5deg);
    clip-path: polygon(0 50%, 100% 50%, 100% 80%, 0 80%);
  }
}

@keyframes noise {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -2%); }
  20% { transform: translate(4%, 2%); }
  30% { transform: translate(-2%, 4%); }
  40% { transform: translate(6%, -2%); }
  50% { transform: translate(-4%, 6%); }
  60% { transform: translate(2%, -4%); }
  70% { transform: translate(-6%, 2%); }
  80% { transform: translate(4%, 4%); }
  90% { transform: translate(-2%, 6%); }
  100% { transform: translate(0, 0); }
}

.glitch-slice {
  position: absolute;
  width: 120%;
  height: 5px;
  background: #fff;
  opacity: 0;
  animation: slice 3s linear infinite;
  z-index: 12;
}

@keyframes slice {
  0% { top: -10%; opacity: 0; }
  1% { opacity: 0.5; }
  3% { opacity: 0; }
  50% { top: 110%; }
  100% { top: 110%; }
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ─────────────────────────────────────────────────────────────────
   Hamster Wheel Loader Animation (UIverse)
───────────────────────────────────────────────────────────────── */
.cv-hamster-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 20px;
  transform: scale(0.65);
  transform-origin: center bottom;
  margin-top: -30px;
}

.wheel-and-hamster {
  --dur: 1s;
  position: relative;
  width: 12em;
  height: 12em;
  font-size: 14px;
}

.wheel,
.hamster,
.hamster div,
.spoke {
  position: absolute;
}

.wheel,
.spoke {
  border-radius: 50%;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wheel {
  background: radial-gradient(100% 100% at center,hsla(0,0%,60%,0) 47.8%,hsl(0,0%,60%) 48%);
  z-index: 2;
}

.hamster {
  animation: hamster var(--dur) ease-in-out infinite;
  top: 50%;
  left: calc(50% - 3.5em);
  width: 7em;
  height: 3.75em;
  transform: rotate(4deg) translate(-0.8em,1.85em);
  transform-origin: 50% 0;
  z-index: 1;
}

.hamster__head {
  animation: hamsterHead var(--dur) ease-in-out infinite;
  background: hsl(30,90%,55%);
  border-radius: 70% 30% 0 100% / 40% 25% 25% 60%;
  box-shadow: 0 -0.25em 0 hsl(30,90%,80%) inset,
		0.75em -1.55em 0 hsl(30,90%,90%) inset;
  top: 0;
  left: -2em;
  width: 2.75em;
  height: 2.5em;
  transform-origin: 100% 50%;
}

.hamster__ear {
  animation: hamsterEar var(--dur) ease-in-out infinite;
  background: hsl(0,90%,85%);
  border-radius: 50%;
  box-shadow: -0.25em 0 hsl(30,90%,55%) inset;
  top: -0.25em;
  right: -0.25em;
  width: 0.75em;
  height: 0.75em;
  transform-origin: 50% 75%;
}

.hamster__eye {
  animation: hamsterEye var(--dur) linear infinite;
  background-color: hsl(0,0%,0%);
  border-radius: 50%;
  top: 0.375em;
  left: 1.25em;
  width: 0.5em;
  height: 0.5em;
}

.hamster__nose {
  background: hsl(0,90%,75%);
  border-radius: 35% 65% 85% 15% / 70% 50% 50% 30%;
  top: 0.75em;
  left: 0;
  width: 0.2em;
  height: 0.25em;
}

.hamster__body {
  animation: hamsterBody var(--dur) ease-in-out infinite;
  background: hsl(30,90%,90%);
  border-radius: 50% 30% 50% 30% / 15% 60% 40% 40%;
  box-shadow: 0.1em 0.75em 0 hsl(30,90%,55%) inset,
		0.15em -0.5em 0 hsl(30,90%,80%) inset;
  top: 0.25em;
  left: 2em;
  width: 4.5em;
  height: 3em;
  transform-origin: 17% 50%;
  transform-style: preserve-3d;
}

.hamster__limb--fr,
.hamster__limb--fl {
  clip-path: polygon(0 0,100% 0,70% 80%,60% 100%,0% 100%,40% 80%);
  top: 2em;
  left: 0.5em;
  width: 1em;
  height: 1.5em;
  transform-origin: 50% 0;
}

.hamster__limb--fr {
  animation: hamsterFRLimb var(--dur) linear infinite;
  background: linear-gradient(hsl(30,90%,80%) 80%,hsl(0,90%,75%) 80%);
  transform: rotate(15deg) translateZ(-1px);
}

.hamster__limb--fl {
  animation: hamsterFLLimb var(--dur) linear infinite;
  background: linear-gradient(hsl(30,90%,90%) 80%,hsl(0,90%,85%) 80%);
  transform: rotate(15deg);
}

.hamster__limb--br,
.hamster__limb--bl {
  border-radius: 0.75em 0.75em 0 0;
  clip-path: polygon(0 0,100% 0,100% 30%,70% 90%,70% 100%,30% 100%,40% 90%,0% 30%);
  top: 1em;
  left: 2.8em;
  width: 1.5em;
  height: 2.5em;
  transform-origin: 50% 30%;
}

.hamster__limb--br {
  animation: hamsterBRLimb var(--dur) linear infinite;
  background: linear-gradient(hsl(30,90%,80%) 90%,hsl(0,90%,75%) 90%);
  transform: rotate(-25deg) translateZ(-1px);
}

.hamster__limb--bl {
  animation: hamsterBLLimb var(--dur) linear infinite;
  background: linear-gradient(hsl(30,90%,90%) 90%,hsl(0,90%,85%) 90%);
  transform: rotate(-25deg);
}

.hamster__tail {
  animation: hamsterTail var(--dur) linear infinite;
  background: hsl(0,90%,85%);
  border-radius: 0.25em 50% 50% 0.25em;
  box-shadow: 0 -0.2em 0 hsl(0,90%,75%) inset;
  top: 1.5em;
  right: -0.5em;
  width: 1em;
  height: 0.5em;
  transform: rotate(30deg) translateZ(-1px);
  transform-origin: 0.25em 0.25em;
}

.spoke {
  animation: spoke var(--dur) linear infinite;
  background: radial-gradient(100% 100% at center,hsl(0,0%,60%) 4.8%,hsla(0,0%,60%,0) 5%),
		linear-gradient(hsla(0,0%,55%,0) 46.9%,hsl(0,0%,65%) 47% 52.9%,hsla(0,0%,65%,0) 53%) 50% 50% / 99% 99% no-repeat;
}

@keyframes hamster {
  from, to { transform: rotate(4deg) translate(-0.8em,1.85em); }
  50% { transform: rotate(0) translate(-0.8em,1.85em); }
}

@keyframes hamsterHead {
  from, 25%, 50%, 75%, to { transform: rotate(0); }
  12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(8deg); }
}

@keyframes hamsterEye {
  from, 90%, to { transform: scaleY(1); }
  95% { transform: scaleY(0); }
}

@keyframes hamsterEar {
  from, 25%, 50%, 75%, to { transform: rotate(0); }
  12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(12deg); }
}

@keyframes hamsterBody {
  from, 25%, 50%, 75%, to { transform: rotate(0); }
  12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(-2deg); }
}

@keyframes hamsterFRLimb {
  from, 25%, 50%, 75%, to { transform: rotate(50deg) translateZ(-1px); }
  12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(-30deg) translateZ(-1px); }
}

@keyframes hamsterFLLimb {
  from, 25%, 50%, 75%, to { transform: rotate(-30deg); }
  12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(50deg); }
}

@keyframes hamsterBRLimb {
  from, 25%, 50%, 75%, to { transform: rotate(-60deg) translateZ(-1px); }
  12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(20deg) translateZ(-1px); }
}

@keyframes hamsterBLLimb {
  from, 25%, 50%, 75%, to { transform: rotate(20deg); }
  12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(-60deg); }
}

@keyframes hamsterTail {
  from, 25%, 50%, 75%, to { transform: rotate(30deg) translateZ(-1px); }
  12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(10deg) translateZ(-1px); }
}

@keyframes spoke {
  from { transform: rotate(0); }
  to { transform: rotate(-1turn); }
}

/* ─────────────────────────────────────────────────────────────────
   Loader Text Animation (UIverse)
───────────────────────────────────────────────────────────────── */
.cv-loader-text-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  user-select: none;
  color: #fff;
  letter-spacing: 2px;
}

.cv-loader-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  background-color: transparent;
  mask: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 6px,
    black 7px,
    black 8px
  );
  -webkit-mask: repeating-linear-gradient(90deg, transparent 0, transparent 6px, black 7px, black 8px);
}

.cv-loader-text-overlay::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(circle at 50% 50%, #ff0 0%, transparent 50%),
    radial-gradient(circle at 45% 45%, #f00 0%, transparent 45%),
    radial-gradient(circle at 55% 55%, #0ff 0%, transparent 45%),
    radial-gradient(circle at 45% 55%, #0f0 0%, transparent 45%),
    radial-gradient(circle at 55% 45%, #00f 0%, transparent 45%);
  mask: radial-gradient(circle at 50% 50%, transparent 0%, transparent 10%, black 25%);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 0%, transparent 10%, black 25%);
  animation:
    transform-animation 2s infinite alternate,
    opacity-animation 4s infinite;
  animation-timing-function: cubic-bezier(0.6, 0.8, 0.5, 1);
}

@keyframes transform-animation {
  0% { transform: translate(-25%); }
  100% { transform: translate(25%); }
}

@keyframes opacity-animation {
  0%, 100% { opacity: 0; }
  15% { opacity: 1; }
  65% { opacity: 0; }
}

.cv-loader-letter {
  display: inline-block;
  opacity: 0;
  animation: loader-letter-anim 4s infinite linear;
  z-index: 2;
}

.cv-loader-letter:nth-child(1) { animation-delay: 0.1s; }
.cv-loader-letter:nth-child(2) { animation-delay: 0.2s; }
.cv-loader-letter:nth-child(3) { animation-delay: 0.3s; }
.cv-loader-letter:nth-child(4) { animation-delay: 0.4s; }
.cv-loader-letter:nth-child(5) { animation-delay: 0.5s; }
.cv-loader-letter:nth-child(6) { animation-delay: 0.6s; }
.cv-loader-letter:nth-child(7) { animation-delay: 0.7s; }
.cv-loader-letter:nth-child(8) { animation-delay: 0.8s; }
.cv-loader-letter:nth-child(9) { animation-delay: 0.9s; }
.cv-loader-letter:nth-child(10) { animation-delay: 1.0s; }

@keyframes loader-letter-anim {
  0% { opacity: 0; }
  5% {
    opacity: 1;
    text-shadow: 0 0 4px #fff;
    transform: scale(1.1) translateY(-2px);
  }
  20% { opacity: 0.5; text-shadow: none; transform: scale(1) translateY(0); }
  100% { opacity: 0; }
}
