/* ═══════════════════════════════════════════════════════════════════════════
   T13E LABS — PAGE-SPECIFIC & COMPONENT STYLES
   Tokens & base reset: shared/tokens.css + shared/base.css
   ═════════════════════════════════════════════════════════════════════════ */

/* Custom cursor + background texture: shared/chrome.css */

/* ─── SITE HEADER ──────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(248, 209, 6, 0.08);
  font-size: 0.54rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-header a {
  color: rgba(240, 240, 240, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.site-header a:hover {
  color: var(--white);
}

.site-header .portal-link:hover {
  color: var(--cyan);
}

/* ─── NAVIGATION ────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(248, 209, 6, 0.08);
}

#nav {
  top: 62px;
  padding: 20px 48px;
  background: rgba(10, 10, 10, 0.88);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 85px;
}

.nav-logo img {
  max-height: 100%;
  width: auto;
  display: block;
}

.nav-logo span {
  color: var(--yellow);
}

.nav-back {
  font-size: 0.48rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(240, 240, 240, 0.3);
  transition: color 0.2s;
}

.nav-back:hover {
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(240, 240, 240, 0.35);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-wip {
  color: var(--yellow) !important;
  border: 1px solid rgba(248, 209, 6, 0.3);
  padding: 6px 14px;
  transition: background 0.2s !important;
}

.nav-wip:hover {
  background: rgba(248, 209, 6, 0.08) !important;
}

.nav-menu {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-menu a {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: rgba(240, 240, 240, 0.35);
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--white);
}

.nav-cta {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 9px 22px;
  background: var(--yellow);
  color: #0a0a0a;
  border-radius: 0px;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ─── HERO SECTION ─────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  margin-top: 62px;
  overflow: hidden;
}

.hero-3d-container {
  width: 100%;
  max-width: 600px;
  height: 400px;
  margin: 40px 0;
  opacity: 0;
  transform: translateY(24px);
}

.hero-3d-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-labs-title {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: clamp(3rem, 12vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--yellow);
  opacity: 0;
  transform: translateY(24px);
  margin: 20px 0;
}

.hero-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
}

.hero-title {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: clamp(5rem, 20vw, 18rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(24px);
  position: relative;
  display: inline-block;
}

.hero-title .line2 {
  -webkit-text-stroke: 2px rgba(240, 240, 240, 0.14);
  color: transparent;
  display: block;
}

.hero-title .acc {
  color: var(--yellow);
}

.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font: inherit;
  color: transparent;
  pointer-events: none;
  opacity: 0;
}

.hero-title::before {
  -webkit-text-stroke: 0;
  color: var(--cyan);
  clip-path: polygon(0 18%, 100% 18%, 100% 38%, 0 38%);
  animation: glA 5s 3s infinite;
}

.hero-title::after {
  -webkit-text-stroke: 0;
  color: var(--pink);
  clip-path: polygon(0 58%, 100% 58%, 100% 78%, 0 78%);
  animation: glB 5s 3.12s infinite;
}

@keyframes glA {
  0%, 88%, 100% { opacity: 0; transform: none; }
  89% { opacity: 0.75; transform: translate(-5px, 2px); }
  91% { opacity: 0.75; transform: translate(5px, -2px); }
  92% { opacity: 0; }
}

@keyframes glB {
  0%, 88%, 100% { opacity: 0; transform: none; }
  90% { opacity: 0.6; transform: translate(5px, 1px); }
  92% { opacity: 0.6; transform: translate(-5px, -1px); }
  93% { opacity: 0; }
}

.hero-sub {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.28);
  margin-top: 32px;
  line-height: 2.2;
  opacity: 0;
  transform: translateY(16px);
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  opacity: 0;
  transform: translateY(16px);
}

.scroll-ind {
  position: absolute;
  bottom: 36px;
  font-size: 0.48rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.15);
  opacity: 0;
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ─── BUTTONS ───────────────────────────────────────────────────────────── */
.btn-y {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  padding: 14px 32px;
  background: var(--yellow);
  color: var(--black);
  border: none;
  cursor: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-y:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn-g {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: rgba(240, 240, 240, 0.45);
  border: 1px solid rgba(240, 240, 240, 0.15);
  cursor: none;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-g:hover {
  color: var(--white);
  border-color: rgba(240, 240, 240, 0.4);
  transform: translateY(-2px);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 0px;
  background: var(--yellow);
  color: #0a0a0a;
  border: none;
  cursor: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-solid:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 0px;
  background: transparent;
  color: rgba(240, 240, 240, 0.45);
  border: 1px solid var(--border);
  cursor: none;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-outline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ─── EXPERIMENTS SECTION ───────────────────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
}

.sec-header {
  text-align: center;
  margin-bottom: 80px;
}

.eyebrow {
  display: block;
  font-size: 0.54rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(4, 178, 217, 0.08);
}

.sec-title {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: clamp(3.2rem, 9.5vw, 8rem);
  letter-spacing: 0.03em;
  line-height: 0.92;
  font-weight: 700;
}

.sec-title .acc {
  color: var(--yellow);
}

#experiments {
  position: relative;
  z-index: 1;
  padding: 140px 48px 120px;
  max-width: 1380px;
  margin: 0 auto;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.exp-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.exp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.exp-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(248, 209, 6, 0.02), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.exp-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(248, 209, 6, 0.32);
  transform: translateY(-3px);
}

.exp-card:hover::before {
  opacity: 1;
}

.exp-card:hover::after {
  opacity: 1;
}

.exp-tag {
  display: inline-block;
  font-size: 0.46rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  margin-bottom: 22px;
}

.exp-tag.live {
  border: 1px solid var(--cyan);
  color: var(--cyan);
}

.exp-tag.wip {
  border: 1px solid rgba(240, 240, 240, 0.14);
  color: rgba(240, 240, 240, 0.22);
}

.exp-name {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 16px;
  margin-top: 8px;
}

.exp-desc {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: rgba(240, 240, 240, 0.38);
  margin-bottom: auto;
  padding-bottom: 20px;
  flex-grow: 1;
}

.exp-link {
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  color: var(--yellow);
  transition: letter-spacing 0.25s, color 0.25s;
  align-self: flex-start;
}

.exp-link:hover {
  letter-spacing: 0.28em;
  color: #ffd700;
}

.exp-card.locked .exp-link {
  color: rgba(240, 240, 240, 0.2);
}

.exp-card.locked .exp-link:hover {
  color: rgba(240, 240, 240, 0.4);
  letter-spacing: 0.2em;
}

.exp-card.locked .lock-icon {
  position: absolute;
  top: 34px;
  right: 34px;
  font-size: 0.85rem;
  opacity: 0.1;
}

/* ─── DIVIDER ──────────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  margin: 0 48px;
  background: linear-gradient(to right, transparent, rgba(248, 209, 6, 0.12), transparent);
}

/* ─── TEST & DEMO SECTION ──────────────────────────────────────────────── */
#test-demo {
  position: relative;
  z-index: 1;
  padding: 140px 48px 120px;
  max-width: 1380px;
  margin: 0 auto;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
  justify-content: center;
}

/* ─── ABOUT SECTION ────────────────────────────────────────────────────── */
#about {
  position: relative;
  z-index: 1;
  padding: 140px 48px 160px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, rgba(248, 209, 6, 0.01) 0%, transparent 80%);
}

.about-title {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: 0.03em;
  line-height: 0.98;
  margin-bottom: 32px;
  font-weight: 700;
}

.about-title em {
  color: var(--yellow);
  font-style: normal;
  font-weight: 700;
}

.about-body {
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  line-height: 2.2;
  color: rgba(240, 240, 240, 0.42);
  margin-bottom: 52px;
}

.about-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ───────────────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(248, 209, 6, 0.01) 100%);
}

.f-logo {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  height: 32px;
  text-transform: uppercase;
  font-weight: 700;
}

.f-logo img {
  max-height: 100%;
  width: auto;
  display: block;
  margin-right: 12px;
}

.f-logo span {
  color: var(--yellow);
}

.f-links {
  display: flex;
  gap: 28px;
}

.f-links a {
  font-size: 0.51rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.28);
  text-decoration: none;
  transition: color 0.25s;
  font-weight: 600;
}

.f-links a:hover {
  color: var(--yellow);
}

.f-copy {
  font-size: 0.49rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.12);
  width: 100%;
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 16px;
}

/* ─── SHOWCASE.HTML SPECIFIC ───────────────────────────────────────────── */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(248, 209, 6, 0.3);
  padding: 7px 16px;
  border-radius: 0px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(16px);
}

.hero-badge::before {
  content: '▸';
}

.hero-heading {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: clamp(4rem, 11vw, 11rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(32px);
}

.hero-heading .line-hollow {
  -webkit-text-stroke: 1.5px rgba(240, 240, 240, 0.2);
  color: transparent;
  display: block;
}

.hero-heading .line-accent {
  color: var(--yellow);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(240, 240, 240, 0.28);
  max-width: 400px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.scroll-line {
  position: absolute;
  bottom: 0;
  left: 56px;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(248, 209, 6, 0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  opacity: 0;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* STATS */
#stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stat-item {
  padding: 40px 48px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--yellow);
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.35);
  font-weight: 500;
}

/* SERVICES */
#services {
  padding: 120px 0;
}

.section-label {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  display: block;
}

.section-heading {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: clamp(2.5rem, 6vw, 6rem);
  letter-spacing: 0.03em;
  line-height: 0.93;
  margin-bottom: 72px;
}

.section-heading em {
  color: var(--yellow);
  font-style: normal;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 44px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
  transform-style: preserve-3d;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(248, 209, 6, 0.04), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(248, 209, 6, 0.25);
}

.service-card:hover::before {
  opacity: 1;
}

.service-num {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  color: rgba(240, 240, 240, 0.2);
  margin-bottom: 32px;
  display: block;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.service-title {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.service-desc {
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(240, 240, 240, 0.32);
  max-width: 380px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 28px;
  transition: gap 0.2s;
}

.service-link:hover {
  gap: 14px;
}

.service-link::after {
  content: '→';
}

/* WORK */
#work {
  padding: 0 0 120px;
}

.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

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

.work-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  cursor: none;
}

.work-card:nth-child(1) .work-img {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.work-card:nth-child(2) .work-img {
  background: linear-gradient(135deg, #0f3460, #533483);
}

.work-card:nth-child(3) .work-img {
  background: linear-gradient(135deg, #1b4332, #081c15);
}

.work-img {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-card:hover .work-img {
  transform: scale(1.05);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transform: translateY(8px);
  transition: transform 0.4s ease;
}

.work-card:hover .work-overlay {
  transform: translateY(0);
}

.work-cat {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 0.48rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}

.work-title {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.work-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--yellow);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
  border-radius: 0px;
}

.work-card:hover .work-arrow {
  opacity: 1;
  transform: scale(1);
}

/* ABOUT SPLIT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  overflow: hidden;
}

.about-visual-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(248, 209, 6, 0.06), rgba(4, 178, 217, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-label {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.04);
}

.about-accent-line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 60px;
  background: var(--yellow);
  transform: translateY(-50%);
}

.about-label {
  margin-bottom: 20px;
}

.about-heading {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
  margin-bottom: 28px;
}

.about-heading em {
  color: var(--yellow);
  font-style: normal;
}

.about-list {
  list-style: none;
  margin: 28px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(240, 240, 240, 0.6);
  letter-spacing: 0.04em;
}

.about-list li::before {
  content: '▸';
  color: var(--yellow);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* TESTIMONIALS */
#testimonials {
  padding: 120px 0;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.testi-card {
  background: var(--black);
  border: 1px solid var(--border);
  padding: 44px;
  transition: border-color 0.3s;
}

.testi-card:hover {
  border-color: rgba(248, 209, 6, 0.2);
}

.testi-quote {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(240, 240, 240, 0.55);
  font-style: italic;
  margin-bottom: 32px;
  position: relative;
}

.testi-quote::before {
  content: '"';
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(248, 209, 6, 0.1);
  position: absolute;
  top: -16px;
  left: -8px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 0.9rem;
  color: #0a0a0a;
  flex-shrink: 0;
}

.testi-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.testi-role {
  font-size: 0.65rem;
  color: rgba(240, 240, 240, 0.35);
}

/* CTA */
#cta {
  padding: 140px 0;
  text-align: center;
}

.cta-heading {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: clamp(3rem, 9vw, 9rem);
  letter-spacing: 0.03em;
  line-height: 0.9;
  margin-bottom: 32px;
}

.cta-heading em {
  color: var(--yellow);
  font-style: normal;
}

.cta-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(240, 240, 240, 0.28);
  max-width: 480px;
  margin: 0 auto 44px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-email {
  margin-top: 28px;
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: rgba(240, 240, 240, 0.18);
}

.cta-email a {
  color: var(--yellow);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  height: 30px;
}

.footer-logo img {
  max-height: 100%;
  width: auto;
  display: block;
}

.footer-logo em {
  color: var(--yellow);
  font-style: normal;
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(240, 240, 240, 0.2);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--yellow);
}

.footer-copy {
  font-size: 0.6rem;
  color: rgba(240, 240, 240, 0.15);
  letter-spacing: 0.08em;
}

#t13e-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 0.46rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 6px 12px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

/* ─── PASSWORD GATE (WIP.HTML) ─────────────────────────────────────────── */
#gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: var(--black);
  transition: opacity 0.6s, visibility 0.6s;
}

#gate.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-eyebrow {
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 20px;
}

.gate-title {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: clamp(3.5rem, 12vw, 9rem);
  letter-spacing: 0.03em;
  line-height: 0.9;
  margin-bottom: 12px;
}

.gate-title span {
  color: var(--pink);
}

.gate-sub {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.25);
  margin-bottom: 48px;
  line-height: 2;
}

.gate-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 340px;
}

.gate-input {
  width: 100%;
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border: 1px solid rgba(217, 20, 128, 0.3);
  outline: none;
  transition: border-color 0.2s;
  cursor: none;
}

.gate-input:focus {
  border-color: var(--pink);
}

.gate-input::placeholder {
  color: rgba(240, 240, 240, 0.15);
}

.gate-btn {
  width: 100%;
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 14px;
  background: var(--pink);
  color: var(--white);
  border: none;
  cursor: none;
  transition: opacity 0.2s;
}

.gate-btn:hover {
  opacity: 0.85;
}

.gate-err {
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  min-height: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gate-err.show {
  opacity: 1;
}

.gate-hint {
  font-size: 0.46rem;
  letter-spacing: 0.12em;
  color: rgba(240, 240, 240, 0.12);
  margin-top: 8px;
}

#gate::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.07) 2px, rgba(0, 0, 0, 0.07) 4px);
  z-index: 1;
}

#gate > * {
  position: relative;
  z-index: 2;
}

#wip-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
}

#wip-hero {
  padding: 80px 48px 40px;
  text-align: center;
}

.wip-badge {
  display: inline-block;
  font-size: 0.48rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 14px;
  border: 1px solid rgba(217, 20, 128, 0.5);
  color: var(--pink);
  margin-bottom: 24px;
}

.wip-title {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: clamp(3rem, 10vw, 9rem);
  letter-spacing: 0.03em;
  line-height: 0.9;
  margin-bottom: 20px;
}

.wip-title .acc {
  color: var(--pink);
}

.wip-sub {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.25);
  line-height: 2;
}

#wip-grid {
  padding: 60px 48px 120px;
  max-width: 1280px;
  margin: 0 auto;
}

.wip-section-label {
  font-size: 0.5rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.2);
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wip-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 80px;
}

.wip-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(217, 20, 128, 0.12);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.wip-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(217, 20, 128, 0.3);
  transform: translateY(-3px);
}

.wip-status {
  display: inline-block;
  font-size: 0.44rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  margin-bottom: 20px;
}

.wip-status.idea {
  border: 1px solid rgba(240, 240, 240, 0.12);
  color: rgba(240, 240, 240, 0.2);
}

.wip-status.building {
  border: 1px solid var(--yellow);
  color: var(--yellow);
}

.wip-status.testing {
  border: 1px solid var(--cyan);
  color: var(--cyan);
}

.wip-status.done {
  border: 1px solid var(--pink);
  color: var(--pink);
}

.wip-status.live {
  border: 1px solid var(--cyan);
  color: var(--cyan);
  background: rgba(4, 178, 217, 0.08);
}

.wip-card.live {
  border-color: rgba(4, 178, 217, 0.24);
  background: rgba(4, 178, 217, 0.02);
}

.wip-card.live:hover {
  background: rgba(4, 178, 217, 0.06);
  border-color: rgba(4, 178, 217, 0.4);
}

.wip-card-link {
  font-size: 0.54rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  color: var(--yellow);
  transition: letter-spacing 0.25s, color 0.25s;
  display: inline-block;
}

.wip-card-link:hover {
  letter-spacing: 0.28em;
  color: #ffd700;
}

.wip-card-title {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 10px;
}

.wip-card-desc {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: rgba(240, 240, 240, 0.38);
  margin-bottom: auto;
  padding-bottom: 20px;
  flex-grow: 1;
}

.wip-progress-wrap {
  margin-top: 16px;
}

.wip-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.42rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.2);
  margin-bottom: 6px;
}

.wip-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.wip-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--yellow);
  transition: width 1.2s ease;
  width: 0;
}

.wip-bar-fill.cyan {
  background: var(--cyan);
}

.wip-bar-fill.pink {
  background: var(--pink);
}

.wip-note {
  background: rgba(248, 209, 6, 0.03);
  border: 1px solid rgba(248, 209, 6, 0.08);
  border-left: 2px solid var(--yellow);
  padding: 20px 24px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: rgba(240, 240, 240, 0.35);
  margin-bottom: 12px;
}

.wip-note strong {
  color: var(--yellow);
  display: block;
  margin-bottom: 4px;
}

/* ─── CONTENT / LEGAL PAGES ───────────────────────────────────────────── */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 180px 48px 40px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.page-eyebrow {
  display: block;
  font-size: 0.54rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 20px;
}

.page-title {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 24px;
}

.breadcrumb {
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.25);
}

.breadcrumb a {
  color: rgba(240, 240, 240, 0.4);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--yellow);
}

main.content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}

/* Pages without a .page-hero (agb, barrierefreiheit) need clearance
   below the fixed nav */
main.content--standalone {
  padding-top: 170px;
}

.content-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 48px 44px;
}

.content h1 {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: 36px;
}

.content h2 {
  font-family: "Neue Kabel", "Kabel", system-ui, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--yellow);
  margin: 40px 0 14px;
}

.content h2:first-of-type {
  margin-top: 0;
}

.content h3 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 24px 0 10px;
}

.content p,
.content li {
  font-size: 0.82rem;
  line-height: 1.9;
  color: rgba(240, 240, 240, 0.55);
}

.content p {
  margin-bottom: 14px;
}

.content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.content li {
  margin-bottom: 6px;
}

.content a {
  color: var(--cyan);
  transition: color 0.2s;
}

.content a:hover {
  color: var(--yellow);
}

.highlight-box {
  background: rgba(248, 209, 6, 0.04);
  border: 1px solid rgba(248, 209, 6, 0.14);
  border-left: 2px solid var(--yellow);
  padding: 18px 22px;
  font-size: 0.8rem;
  line-height: 1.9;
  color: rgba(240, 240, 240, 0.6);
  margin: 8px 0 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--yellow) !important;
  transition: gap 0.2s;
}

.back-link:hover {
  gap: 12px;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    max-width: 480px;
  }

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

@media (max-width: 768px) {
  #nav {
    padding: 16px 24px;
  }

  .nav-menu {
    display: none;
  }

  nav {
    padding: 12px 16px;
  }

  #hero {
    padding: 60px 24px 32px;
  }

  #hero {
    margin-top: 62px;
  }

  .wrap {
    padding: 0 24px;
  }

  #experiments {
    padding: 80px 24px;
  }

  #about {
    padding: 80px 24px;
  }

  footer {
    padding: 24px 24px;
    flex-direction: column;
    text-align: center;
  }

  .f-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .divider {
    margin: 0 24px;
  }

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

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

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

  .work-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  #wip-hero {
    padding: 60px 24px 32px;
  }

  #wip-grid {
    padding: 40px 24px 80px;
  }
}

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

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-solid,
  .btn-outline {
    justify-content: center;
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .wip-cards {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 150px 24px 24px;
  }

  main.content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .content-card {
    padding: 28px 22px;
  }
}
