/* ============================================
   pages.css — Styles for subpages
   ============================================ */

/* ---------- Page Hero — Poster-quality ---------- */
.page-hero {
  padding: 130px var(--pad-x) clamp(80px, 10vw, 140px);
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 3; }

/* Massive background glyph — page-specific */
.page-hero::before {
  content: attr(data-bgglyph);
  position: absolute;
  bottom: -8%;
  right: -5%;
  font-size: clamp(280px, 42vw, 720px);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,0.025);
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Lime gradient blur */
.page-hero::after {
  content: "";
  position: absolute;
  top: 20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,255,58,0.08), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Decorative side card on hero */
.ph-side-card {
  position: absolute;
  top: clamp(140px, 18vw, 220px);
  right: clamp(24px, 4vw, 56px);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 20px;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
  animation: phFloat 4s ease-in-out infinite;
}
@keyframes phFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.ph-sc-tag {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.ph-sc-tag .badge {
  background: var(--lime);
  color: var(--black);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.ph-sc-viz {
  height: 90px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--lime), var(--lime-soft));
  position: relative;
  overflow: hidden;
}
.ph-sc-viz::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0, transparent 10px, rgba(10,10,10,0.08) 10px, rgba(10,10,10,0.08) 11px);
  animation: phStripeSlide 8s linear infinite;
}
@keyframes phStripeSlide {
  to { transform: translateX(-44px); }
}
.ph-sc-title { color: var(--white); font-size: 15px; font-weight: 500; }
.ph-sc-desc { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.5; }

@media (max-width: 1100px) { .ph-side-card { display: none; } }

.ph-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.ph-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}
.ph-crumb a { transition: color 0.2s; }
.ph-crumb a:hover { color: var(--lime); }
.ph-curr { color: var(--lime); }
.ph-slash { opacity: 0.3; }
.ph-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
}
.ph-meta::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(212,255,58,0.2);
  animation: bctaPulse 2s ease-out infinite;
}
@keyframes bctaPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(212,255,58,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(212,255,58,0.0); }
}

.ph-title {
  font-size: clamp(40px, 5.8vw, 92px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.ph-title .accent {
  color: var(--lime);
  font-weight: 700;
  display: inline-block;
  position: relative;
}

/* Animated word-by-word reveal */
.ph-title-word {
  display: inline-block;
  margin-right: 0.12em;
}
.ph-title-word:last-child { margin-right: 0; }

.ph-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-top: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 760px) { .ph-foot { grid-template-columns: 1fr; padding-bottom: 32px; margin-top: 40px; } }

.ph-lead {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  max-width: 60ch;
}

/* Hero indexed list */
.ph-index {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 960px) { .ph-index { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ph-index { grid-template-columns: 1fr; } }

.ph-idx {
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
}
.ph-idx:last-child { border-right: none; }
.ph-idx:hover { background: rgba(212,255,58,0.08); }
.ph-idx::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ph-idx:hover::before { transform: scaleX(1); }
.ph-idx-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--lime); }
.ph-idx-lbl { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.ph-idx-arr { font-family: var(--font-mono); margin-top: auto; align-self: flex-end; opacity: 0.5; transition: transform 0.3s, opacity 0.3s; }
.ph-idx:hover .ph-idx-arr { opacity: 1; transform: translateX(4px); }

/* Hero stats row underneath */
.ph-stats {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 760px) { .ph-stats { grid-template-columns: repeat(2, 1fr); } }
.ph-stat-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px 20px;
  transition: background 0.4s, border-color 0.4s;
}
.ph-stat-pill:hover { background: rgba(212,255,58,0.06); border-color: rgba(212,255,58,0.3); }
.ph-stat-val { font-size: clamp(20px, 1.8vw, 28px); font-weight: 600; letter-spacing: -0.02em; color: var(--white); }
.ph-stat-val .accent { color: var(--lime); font-weight: 700; }
.ph-stat-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ---------- Service Detail sections ---------- */
.srv-detail {
  padding: clamp(60px, 9vw, 140px) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.srv-light { background: var(--paper); color: var(--ink); }
.srv-dark { background: var(--black); color: var(--white); }
.srv-lime { background: var(--lime); color: var(--ink); }

.srv-detail .container { position: relative; }

.srv-anchor {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}
.srv-anchor .srv-line {
  flex: 1;
  height: 1px;
  background: var(--gray-200);
  max-width: 80px;
}
.srv-anchor.light .srv-line { background: rgba(255,255,255,0.15); }
.srv-anchor .srv-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gray-500);
}
.srv-dark .srv-anchor .srv-tag { color: rgba(255,255,255,0.5); }

.srv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 960px) { .srv-grid { grid-template-columns: 1fr; } }

.srv-eye {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.srv-dark .srv-eye { color: rgba(255,255,255,0.55); }
.srv-lime .srv-eye { color: rgba(10,10,10,0.6); }

.srv-h {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin-bottom: 24px;
}
.srv-p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray-500);
  max-width: 50ch;
  margin-bottom: 32px;
}
.srv-dark .srv-p { color: rgba(255,255,255,0.65); }
.srv-lime .srv-p { color: rgba(10,10,10,0.75); }

.srv-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 26px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.srv-cta:hover { transform: translateX(6px); }
.srv-cta.dark { background: var(--ink); color: var(--lime); }
.srv-cta .srv-arr {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 13px;
}

.srv-feats-grid {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}
.srv-feats-grid li {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 16px;
  line-height: 1.4;
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.srv-feats-grid li:hover { padding-left: 8px; }
.srv-feats-grid li:first-child { border-top: 1px solid var(--gray-200); }
.srv-dark .srv-feats-grid li { border-color: rgba(255,255,255,0.08); }
.srv-dark .srv-feats-grid li:first-child { border-top-color: rgba(255,255,255,0.08); }
.srv-lime .srv-feats-grid li { border-color: rgba(10,10,10,0.12); }
.srv-lime .srv-feats-grid li:first-child { border-top-color: rgba(10,10,10,0.12); }
.srv-feats-grid li .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lime);
  width: 24px;
  flex-shrink: 0;
  padding-top: 3px;
}
.srv-dark .srv-feats-grid li .num { color: var(--lime); }
.srv-lime .srv-feats-grid li .num { color: var(--black); }

.srv-stats {
  display: flex;
  gap: 28px;
  margin-top: 8px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.srv-stat { display: flex; flex-direction: column; gap: 6px; }
.srv-snum {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--lime);
}
.srv-snum .x { font-size: 32px; opacity: 0.7; }
.srv-slbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  line-height: 1.35;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--white);
  padding: clamp(60px, 8vw, 100px) var(--pad-x);
}
.tb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
@media (max-width: 760px) { .tb-grid { grid-template-columns: 1fr; } }

.tb-cell {
  padding: 40px 32px;
  border-right: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.4s;
}
.tb-cell:last-child { border-right: none; }
.tb-cell:hover { background: var(--paper); }
.tb-cell.accent { background: var(--lime); }
.tb-cell.accent:hover { background: var(--lime); }

.tb-num {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.tb-num .plus { font-weight: 400; opacity: 0.6; }
.tb-lbl {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.4;
}
.tb-cell.accent .tb-lbl { color: rgba(10,10,10,0.75); }

.tb-statement {
  margin-top: 40px;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 60ch;
  text-wrap: balance;
}

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--paper);
  padding: clamp(60px, 9vw, 120px) var(--pad-x);
}
.faq-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}
.faq-title {
  font-size: clamp(36px, 4.6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--gray-200);
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.3s;
}
.faq-item:hover { background: rgba(255,255,255,0.5); }
.faq-item[open] { background: var(--white); }

.faq-item summary {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 16px;
  padding: 28px 24px;
  cursor: pointer;
  list-style: none;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gray-400);
}
.faq-q {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.faq-tog {
  font-size: 24px;
  font-weight: 300;
  width: 36px;
  height: 36px;
  background: var(--paper);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}
.faq-item[open] .faq-tog { transform: rotate(45deg); background: var(--lime); }
.faq-item p {
  padding: 0 24px 32px 100px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-500);
  max-width: 75ch;
}
@media (max-width: 660px) {
  .faq-item summary { grid-template-columns: 40px 1fr 32px; padding: 22px 14px; gap: 12px; }
  .faq-item p { padding: 0 14px 24px 60px; }
}

/* ---------- Generic content blocks for branch pages ---------- */
.big-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .big-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .big-list { grid-template-columns: 1fr; } }
.big-list-item {
  padding: 60px 26px 26px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
  overflow: hidden;
}
.big-list-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.big-list-item:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(10,10,10,0.06); }
.big-list-item:hover::before { transform: scaleX(1); }
.big-list-item .bl-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-500);
  background: var(--white);
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.big-list-item:hover .bl-badge { background: var(--white); color: var(--gray-500); border-color: var(--gray-200); transform: none; }
.bl-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--lime); text-transform: uppercase; }
.bl-h { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.bl-p { font-size: 14px; color: var(--gray-500); line-height: 1.55; margin-top: 4px; }

/* ---------- Project cards (Projekte page) ---------- */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .proj-grid { grid-template-columns: 1fr; } }

.proj-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.proj-card:hover { transform: translateY(-8px); }
.proj-thumb {
  aspect-ratio: 4/3;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.proj-thumb .ph-stripes {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 12px, var(--gray-100) 12px, var(--gray-100) 13px);
}
.proj-thumb .ph-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.proj-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.proj-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.proj-name { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.proj-desc { font-size: 14px; line-height: 1.55; color: var(--gray-500); margin-bottom: auto; }
.proj-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ---------- Editorial layout (About) ---------- */
.editorial {
  padding: clamp(60px, 9vw, 120px) var(--pad-x);
  background: var(--paper);
}
.ed-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 880px) { .ed-grid { grid-template-columns: 1fr; gap: 32px; } }

.ed-side {
  position: sticky;
  top: 100px;
}
.ed-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.ed-h {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.ed-body p {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--gray-700);
}
.ed-body p:first-child {
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 32px;
  text-wrap: balance;
}
.ed-body strong { font-weight: 600; color: var(--ink); }

/* ---------- Big numbered list — Interactive flow ---------- */
.num-list {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 28px;
  padding: 32px 28px;
  margin-bottom: 14px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 22px;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.num-list::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(212,255,58,0.08));
  opacity: 0;
  transition: opacity 0.5s;
}
.num-list::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 6px; height: 100%;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.num-list:hover {
  transform: translateX(8px);
  border-color: var(--lime);
  box-shadow: 0 24px 60px rgba(10,10,10,0.08);
}
.num-list:hover::before { opacity: 1; }
.num-list:hover::after { transform: scaleY(1); }

.num-list .nl-num {
  font-size: 72px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--gray-100);
  transition: color 0.4s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}
.num-list:hover .nl-num { color: var(--lime); transform: scale(1.05); }
.num-list .nl-text { display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 2; }
.num-list .nl-h {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.num-list .nl-h::after {
  content: "→";
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s 0.1s, transform 0.4s 0.1s;
  font-size: 18px;
  color: var(--lime);
}
.num-list:hover .nl-h::after { opacity: 1; transform: translateX(0); }
.num-list .nl-p { font-size: 14px; color: var(--gray-500); line-height: 1.5; max-width: 60ch; }
.num-list .nl-tags {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.num-list .nl-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--paper);
  border-radius: 999px;
  color: var(--gray-500);
}
.num-list .nl-meta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  position: relative;
  z-index: 2;
}
.num-list .nl-meta .nl-meta-pill {
  background: var(--paper);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s;
}
.num-list:hover .nl-meta-pill { background: var(--ink); color: var(--lime); }
.num-list .nl-meta .nl-meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0;
  transition: opacity 0.4s 0.2s;
}
.num-list:hover .nl-meta-dot { opacity: 1; }
@media (max-width: 760px) {
  .num-list { grid-template-columns: 60px 1fr; padding: 22px 18px; gap: 16px; }
  .num-list .nl-num { font-size: 44px; }
  .num-list .nl-meta { display: none; }
}

/* ---------- Rich Stats Grid — replaces basic tb-grid for content sections ---------- */
.rich-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
@media (max-width: 880px) { .rich-stats { grid-template-columns: 1fr; } }

.rich-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.5s, border-color 0.5s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
}
.rich-stat:hover {
  transform: translateY(-6px);
  background: rgba(212,255,58,0.06);
  border-color: rgba(212,255,58,0.3);
}
.rich-stat.accent {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}
.rich-stat.accent:hover { background: var(--lime); transform: translateY(-6px); }

.rs-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rs-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.rich-stat.accent .rs-label { color: rgba(10,10,10,0.6); }
.rs-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  color: var(--lime);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.rich-stat.accent .rs-icon { background: var(--ink); color: var(--lime); }
.rich-stat:hover .rs-icon { transform: rotate(-12deg) scale(1.1); }

.rs-num {
  font-size: clamp(72px, 8vw, 120px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.85;
  margin-top: auto;
  color: var(--lime);
}
.rich-stat.accent .rs-num { color: var(--ink); }
.rs-num .unit { opacity: 0.6; font-weight: 400; }

.rs-text {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
}
.rich-stat.accent .rs-text { color: rgba(10,10,10,0.8); }

.rs-source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.rich-stat.accent .rs-source { color: rgba(10,10,10,0.5); border-top-color: rgba(10,10,10,0.15); }
.rs-source-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.rich-stat.accent .rs-source-dot { background: var(--ink); }

/* Mini sparkline bars */
.rs-bars {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 36px;
  margin-top: 4px;
}
.rs-bars span {
  flex: 1;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  transition: background 0.4s, transform 0.4s;
}
.rich-stat:hover .rs-bars span { background: var(--lime); }
.rich-stat.accent .rs-bars span { background: rgba(10,10,10,0.2); }
.rich-stat.accent:hover .rs-bars span { background: rgba(10,10,10,0.5); }

/* ---------- Browser mockup with rich content ---------- */
.browser-frame {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(10,10,10,0.2);
}
.bf-head {
  background: var(--paper);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--gray-100);
}
.bf-dots { display: flex; gap: 6px; }
.bf-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gray-200);
  transition: background 0.3s;
}
.bf-dots span:nth-child(1):hover { background: #ff5f57; }
.bf-dots span:nth-child(2):hover { background: #febc2e; }
.bf-dots span:nth-child(3):hover { background: #28c840; }
.bf-url {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-700);
  background: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--gray-100);
  flex: 1;
  max-width: 320px;
}
.bf-url::before { content: "🔒 "; opacity: 0.5; font-size: 10px; }
.bf-nav { display: flex; gap: 18px; margin-left: auto; font-size: 13px; }
.bf-nav span { color: var(--gray-500); transition: color 0.3s; }
.bf-nav span:hover { color: var(--ink); }
.bf-nav .active { color: var(--ink); font-weight: 500; }

.bf-body {
  padding: 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 520px;
}
.bf-hero {
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--paper) 0%, var(--white) 100%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.bf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-dim);
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  align-self: flex-start;
}
.bf-eyebrow::before { content: "•"; color: var(--lime-dim); }
.bf-h1 {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 8px;
}
.bf-h1 strong { color: var(--lime-dim); font-weight: 600; }
.bf-sub { font-size: 14px; color: var(--gray-500); line-height: 1.55; max-width: 36ch; }
.bf-cta-row { display: flex; gap: 10px; margin-top: 8px; }
.bf-cta {
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bf-cta.primary { background: var(--ink); color: var(--white); }
.bf-cta.secondary { background: var(--white); color: var(--ink); border: 1px solid var(--gray-200); }

.bf-side {
  padding: 32px 28px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bf-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.4s;
}
.bf-card:hover { background: rgba(212,255,58,0.06); }
.bf-card-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.bf-card-val { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.bf-card-val .pos { color: var(--lime); font-size: 14px; font-weight: 400; margin-left: 6px; }
.bf-mini-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 28px;
  margin-top: 4px;
}
.bf-mini-bars span {
  flex: 1;
  background: var(--lime);
  border-radius: 2px;
  opacity: 0.4;
}
.bf-mini-bars span:last-child { opacity: 1; }

@media (max-width: 860px) {
  .bf-body { grid-template-columns: 1fr; }
  .bf-side { padding: 24px; }
  .bf-nav { display: none; }
}

/* ---------- Quote card ---------- */
.quote-card {
  background: var(--black);
  color: var(--white);
  padding: clamp(40px, 6vw, 80px);
  border-radius: 32px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}
.qc-mark {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 180px;
  line-height: 0.5;
  color: var(--lime);
  position: absolute;
  top: 20px;
  left: 30px;
  opacity: 0.6;
}
.qc-text {
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 400;
  line-height: 1.3;
  max-width: 28ch;
  position: relative;
  z-index: 2;
  padding-top: 80px;
  text-wrap: balance;
}
.qc-text em { font-weight: 600; color: var(--lime); font-style: normal; }
.qc-attr {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ---------- Specialty page accents ---------- */

/* Webdesign — browser frame mockup */
.browser-frame {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(10,10,10,0.12);
}
.bf-head {
  background: var(--paper);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--gray-100);
}
.bf-dots { display: flex; gap: 6px; }
.bf-dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--gray-200); }
.bf-url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
  background: var(--white);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--gray-100);
}
.bf-body { padding: 40px 32px; min-height: 320px; display: flex; flex-direction: column; gap: 18px; }

/* Software — terminal aesthetic */
.terminal-card {
  background: var(--black);
  color: var(--white);
  border-radius: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
}
.tc-line { padding: 4px 0; }
.tc-prompt { color: var(--lime); }
.tc-cmd { color: var(--white); }
.tc-out { color: rgba(255,255,255,0.5); }
.tc-tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  background: var(--lime);
  color: var(--black);
  border-radius: 4px;
  margin-left: 6px;
}

/* Google Ads — chart aesthetic */
.chart-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 32px;
}
.cc-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}
.cc-stats { display: flex; gap: 40px; }
.cc-stat { display: flex; flex-direction: column; gap: 4px; }
.cc-snum { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.cc-snum.lime { color: var(--lime); }
.cc-slbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gray-500);
  text-transform: uppercase;
}

/* Branch hero variant — image placeholder side */
.branch-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 880px) { .branch-hero-grid { grid-template-columns: 1fr; } }
.bh-placeholder {
  aspect-ratio: 4/3;
  background: rgba(212,255,58,0.06);
  border: 1px dashed rgba(212,255,58,0.4);
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  position: relative;
}
.bh-placeholder::before {
  content: "";
  position: absolute;
  inset: 12px;
  background: repeating-linear-gradient(135deg, transparent, transparent 24px, rgba(212,255,58,0.08) 24px, rgba(212,255,58,0.08) 25px);
}
