
:root {
  --bg: #07111a;
  --panel: rgba(255,255,255,0.05);
  --panel-strong: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.10);
  --text: #f4f7fb;
  --muted: rgba(244,247,251,0.76);
  --soft: rgba(244,247,251,0.46);
  --cyan: #8ee7ff;
  --amber: #ffd58d;
  --green: #8af0c0;
  --radius: 34px;
  --radius-sm: 28px;
  --shadow: 0 24px 70px rgba(0,0,0,0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(132,214,255,0.10), transparent 24%),
    radial-gradient(circle at top right, rgba(138,240,192,0.08), transparent 22%),
    linear-gradient(180deg, #07111a 0%, #071520 52%, #07111a 100%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.page { min-height: 100vh; }
.container { width: min(100% - 34px, 1400px); margin: 0 auto; position: relative; }
.topbar-wrap { position: sticky; top: 18px; z-index: 80; padding-top: 14px; }
.topbar {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 22px; border-radius: 26px; border: 1px solid var(--border);
  background: rgba(11,22,34,0.62); backdrop-filter: blur(24px); box-shadow: 0 18px 38px rgba(0,0,0,0.16);
}
.brand-kicker, .section-kicker, .media-label, .project-card-badge {
  font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 700; color: var(--soft);
}
.brand-name { margin-top: 4px; font-size: 22px; font-weight: 800; letter-spacing: -0.04em; }
.nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nav-link, .nav-primary, .btn, .btn-secondary, .btn-ghost, .copy-btn, .back-home {
  border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 18px; border: 1px solid transparent; transition: 180ms ease; cursor: pointer;
}
.nav-link { border-color: rgba(255,255,255,0.10); background: rgba(255,255,255,0.04); }
.nav-link:hover { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.08); }
.nav-primary, .btn {
  background: rgba(255,255,255,0.98); color: #0d1822; font-weight: 800;
}
.nav-primary:hover, .btn:hover { transform: translateY(-1px); }
.btn-secondary, .btn-ghost, .back-home {
  border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.05);
}
.copy-btn {
  border-color: rgba(138,240,192,0.36); background: linear-gradient(180deg, rgba(138,240,192,0.16), rgba(138,240,192,0.09)); color: #ecfff5; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(138,240,192,0.10);
}
.btn-secondary:hover, .btn-ghost:hover, .back-home:hover { background: rgba(255,255,255,0.08); }
.copy-btn:hover { background: rgba(138,240,192,0.14); }
.panel {
  border: 1px solid var(--border); background: var(--panel); backdrop-filter: blur(18px);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.pad { padding: 32px; }
.alt { background: linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04)); }
.tone-amber { background: linear-gradient(135deg, rgba(255,213,141,0.12), rgba(255,255,255,0.05)); }
.tone-cyan { background: linear-gradient(135deg, rgba(142,231,255,0.12), rgba(255,255,255,0.05)); }
.home-gap { margin-top: 34px; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 20px; margin-top: 20px; align-items: stretch;
}
.badge {
  display: inline-flex; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(138,240,192,0.22);
  background: rgba(138,240,192,0.10); color: #baf7d8; font-weight: 700; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
}
.hero-title { font-size: clamp(44px, 5.8vw, 72px); line-height: 1.02; letter-spacing: -0.055em; margin: 22px 0 0; font-weight: 900; }
.lead { font-size: 18px; line-height: 1.9; color: var(--muted); max-width: 760px; margin-top: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-side { display: flex; flex-direction: column; gap: 16px; min-height: 100%; }
.kpi-grid.two-up { grid-template-columns: repeat(2, minmax(0,1fr)); }
.review-panel { min-height: 0; flex: 1 1 auto; display: grid; grid-template-rows: auto minmax(0,1fr) auto; padding: 26px; }
.review-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.review-title { margin: 10px 0 0; font-size: 28px; line-height: 1.08; letter-spacing: -0.04em; font-weight: 800; }
.review-stats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.review-stats span {
  display: inline-flex; align-items: center; padding: 9px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.86); font-size: 13px; font-weight: 700;
}
.review-slides { position: relative; margin-top: 16px; height: clamp(120px, 12vw, 150px); min-height: 0; }
.review-slide { display: none; height: 100%; }
.review-slide.is-active { display: grid; grid-template-rows: minmax(0,1fr) auto; gap: 16px; }
.review-quote {
  margin: 0; font-size: clamp(15px, 0.96vw, 18px); line-height: 1.55; letter-spacing: -0.015em; font-weight: 700;
  color: var(--text); overflow: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.14) transparent;
}
.review-quote::-webkit-scrollbar { width: 6px; }
.review-quote::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 999px; }
.review-source { margin-top: 0; color: var(--soft); font-size: 14px; letter-spacing: 0.02em; }
.review-controls { display: flex; align-items: center; gap: 10px; }
.review-footer { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.review-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.review-dot { position: relative; width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,0.18); cursor: pointer; transition: transform 0.2s ease, background 0.2s ease; }
.review-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 999px; border: 1.5px solid rgba(138,240,192,0); opacity: 0; transform: scale(0.72); }
.review-dot.is-active { background: var(--green); transform: scale(1.18); box-shadow: 0 0 0 4px rgba(138,240,192,0.08); }
.review-dot.is-active::after { animation: dotPulse 5.5s linear forwards; }
.compact-controls { margin-top: 0; }
.btn-icon { width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); color: var(--text); font-size: 28px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.btn-icon:hover { background: rgba(255,255,255,0.10); }
.review-nav { padding-inline: 0; }
.review-count { min-width: 66px; text-align: center; color: var(--soft); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
@keyframes dotPulse {
  0% { opacity: 0.92; transform: scale(0.72); border-color: rgba(138,240,192,0.34); }
  70% { opacity: 0.38; transform: scale(1.55); border-color: rgba(138,240,192,0.18); }
  100% { opacity: 0; transform: scale(2.05); border-color: rgba(138,240,192,0); }
}
.kpi-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; align-content: start; align-self: start;
}
.kpi {
  padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: rgba(255,255,255,0.05);
  min-height: 0; height: auto;
}
.kpi-label { color: rgba(255,255,255,0.50); font-size: 14px; }
.kpi-value { font-size: 30px; line-height: 1.1; margin-top: 14px; font-weight: 900; letter-spacing: -0.05em; }
.kpi-value.cyan { color: var(--cyan); }
.kpi-value.amber { color: var(--amber); }
.kpi-value.green { color: var(--green); }
.featured-row { margin-top: 30px; margin-bottom: 46px; display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.section-title { font-size: clamp(30px, 4vw, 50px); line-height: 1.06; letter-spacing: -0.05em; margin: 14px 0 0; font-weight: 900; }
.section-text { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.82; max-width: 860px; }
.server-title { font-size: clamp(28px, 3vw, 38px); overflow-wrap: anywhere; }

.server-proof { align-self: start; }
.server-proof .section-text { max-width: 560px; }
.server-proof .cta-row { margin-top: 20px; }
.service-grid { display: grid; gap: 20px; margin-top: 24px; margin-bottom: 18px; }
.service-grid.four-up { grid-template-columns: repeat(4, minmax(0,1fr)); }
.service-card {
  overflow: hidden; padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
}
.service-cyan { border-top: 1px solid rgba(142,231,255,0.28); background: linear-gradient(180deg, rgba(142,231,255,0.14), rgba(255,255,255,0.04)); }
.service-green { border-top: 1px solid rgba(138,240,192,0.28); background: linear-gradient(180deg, rgba(138,240,192,0.14), rgba(255,255,255,0.04)); }
.service-violet { border-top: 1px solid rgba(210,179,255,0.28); background: linear-gradient(180deg, rgba(210,179,255,0.14), rgba(255,255,255,0.04)); }
.service-amber { border-top: 1px solid rgba(255,213,141,0.28); background: linear-gradient(180deg, rgba(255,213,141,0.14), rgba(255,255,255,0.04)); }
.service-card .icon, .service-icon { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; background: rgba(255,255,255,0.10); }
.service-card h3 { margin: 16px 0 0; font-size: 24px; letter-spacing: -0.03em; }
.service-card p { margin: 14px 0 0; color: var(--muted); line-height: 1.82; }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px; }
.value-list { display: grid; gap: 12px; margin-top: 20px; }
.value-item { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px 18px; border-radius: 22px; border: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.12); color: var(--muted); line-height: 1.8; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); margin-top: 10px; }
.contact-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 24px; }
.step { padding: 18px; border-radius: 22px; border: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.12); }
.step-num { width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.10); font-weight: 800; margin-bottom: 10px; }
.work-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.work-title { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.03; letter-spacing: -0.055em; margin: 12px 0 0; font-weight: 900; }
.project-index { display: grid; gap: 18px; margin-top: 28px; }
.project-index-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px; }
.project-index-meta h3 { margin: 10px 0 0; font-size: 34px; line-height: 1.06; letter-spacing: -0.04em; }
.project-index-meta p { margin: 14px 0 0; color: var(--muted); line-height: 1.82; max-width: 880px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.project-tags.compact-tags { margin-top: 14px; }
.project-tags-large { margin-top: 20px; }
.project-tag { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.026); color: rgba(244,247,251,0.70); font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; cursor: default; box-shadow: inset 0 1px 0 rgba(255,255,255,0.02); }
.project-tag::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: rgba(142,231,255,0.55); box-shadow: 0 0 12px rgba(142,231,255,0.16); }
.project-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.case-study { margin-top: 34px; }
.case-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 24px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.feature-item { padding: 16px 18px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.12); color: var(--muted); line-height: 1.75; }
.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.media-grid.one-up { grid-template-columns: 1fr; }
.media-grid.three-up { grid-template-columns: repeat(3, minmax(0,1fr)); }
.media-card { padding: 18px; border-radius: 24px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04)); }
.media-card.wide { grid-column: span 2; }
.media-card.full { grid-column: 1 / -1; }
.media-frame { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid rgba(255,255,255,0.10); background: rgba(0,0,0,0.2); aspect-ratio: 16 / 10; }
.media-frame.tall { aspect-ratio: 16 / 8.6; }
.media-frame.squareish { aspect-ratio: 4 / 3; }
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 28px; gap: 10px; background: linear-gradient(180deg, rgba(9,20,31,0.90), rgba(7,17,26,0.82));
}
.media-placeholder-title { font-size: 28px; line-height: 1.1; letter-spacing: -0.04em; font-weight: 800; }
.media-placeholder-text { max-width: 560px; color: var(--muted); line-height: 1.7; }
.media-label { margin-top: 14px; }
.media-title { margin-top: 12px; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.media-desc { margin-top: 10px; color: var(--muted); line-height: 1.75; }
.gallery-grid { display: grid; gap: 16px; margin-top: 24px; }
.gallery-grid.curated { grid-template-columns: repeat(3, minmax(0,1fr)); }
.gallery-item { overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); }
.gallery-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-caption { padding: 14px 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.small-note { margin-top: 12px; color: rgba(255,255,255,0.58); font-size: 14px; line-height: 1.7; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; padding: 24px 0 30px; border-top: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.46); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1200px) {
  .hero-grid, .featured-row, .case-grid { grid-template-columns: 1fr; }
  .service-grid.four-up { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-grid.curated { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .project-index-card { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .review-header { flex-direction: column; }
  .review-slides { height: 220px; }
  .container { width: min(100% - 28px, 1400px); }
  .topbar { flex-direction: column; align-items: flex-start; }
  .nav { width: 100%; }
  .hero-grid, .featured-row, .about-grid, .case-grid, .contact-grid, .media-grid, .media-grid.three-up { grid-template-columns: 1fr; }
  .service-grid.four-up, .gallery-grid.curated, .feature-list { grid-template-columns: 1fr; }
  .media-card.wide, .media-card.full { grid-column: auto; }
  .kpi-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 30px; }
  .hero-title { font-size: 42px; }
  .work-title { font-size: 38px; }
  .work-hero { flex-direction: column; align-items: flex-start; }
  .project-index-meta h3 { font-size: 28px; }
  .media-placeholder-title { font-size: 24px; }
  .footer { flex-direction: column; align-items: flex-start; }
}

.review-panel .section-kicker{margin-bottom:0;}
#services, #reviews, #contact { margin-top: 36px; }
.hero-grid + .featured-row { margin-top: 30px; }
.service-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.service-cyan .service-icon { color: var(--cyan); }
.service-green .service-icon { color: var(--green); }
.service-violet .service-icon { color: #c9b7ff; }
.service-amber .service-icon { color: var(--amber); }
.project-library-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 28px; }
.project-library-card { padding: 26px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04)); }
.project-library-card h3 { margin: 12px 0 0; font-size: 32px; line-height: 1.08; letter-spacing: -0.04em; }
.project-library-card p { margin: 14px 0 0; color: var(--muted); line-height: 1.8; }
@media (max-width: 900px) { .project-library-grid { grid-template-columns: 1fr; } }

/* --- Portfolio refresh: project depth, mobile polish, and media support --- */
.featured-row,
.case-grid,
.project-index-card { align-items: start; }
.server-proof { align-self: start; }
.nav { display: flex; flex-wrap: wrap; gap: 10px; }
.project-index-card,
.service-card,
.media-card,
.panel { box-sizing: border-box; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 26px; }
.workflow-card { padding: 22px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.08); background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)); }
.step-label { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; background: rgba(96, 214, 255, 0.12); border: 1px solid rgba(96,214,255,0.20); color: #9be7ff; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.workflow-title { margin-top: 14px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.workflow-copy { margin-top: 10px; color: var(--muted); line-height: 1.75; }
.project-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.project-stat { padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); }
.project-stat-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.52); font-weight: 700; }
.project-stat-value { margin-top: 8px; font-size: 20px; letter-spacing: -0.03em; font-weight: 800; }
.media-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.gallery-frame { aspect-ratio: 16 / 10; overflow: hidden; }
.gallery-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inline-note { margin-top: 14px; color: rgba(255,255,255,0.64); line-height: 1.7; }
.project-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.82); font-size: 13px; font-weight: 700; }
.project-status::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: #4fd6ff; box-shadow: 0 0 18px rgba(79,214,255,0.85); }
.project-card-image { border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); aspect-ratio: 16 / 10; }
.project-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-quote strong { color: #ffffff; }
.media-callout { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1200px) {
  .workflow-grid,
  .project-stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .workflow-grid,
  .project-stat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page { padding: 24px 0 30px; }
  .panel.pad,
  .service-card,
  .media-card,
  .project-index-card,
  .workflow-card { padding: 18px; }
  .topbar { padding: 16px; gap: 12px; }
  .nav { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nav-link,
  .nav-primary,
  .btn,
  .btn-secondary,
  .copy-btn { width: 100%; justify-content: center; text-align: center; }
  .cta-row,
  .project-actions,
  .review-footer,
  .media-callout { flex-direction: column; align-items: stretch; }
  .hero-title { font-size: 36px; }
  .work-title { font-size: 32px; }
  .lead { font-size: 17px; }
  .section-title { font-size: 28px; }
  .hero-copy p,
  .media-desc,
  .workflow-copy,
  .feature-item { font-size: 15px; }
  .review-slides { height: 260px; }
}

.page-shell { position: relative; min-height: 100vh; overflow-x: hidden; }
.page-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(circle at 12% 10%, rgba(96,214,255,0.08), transparent 24%),
    radial-gradient(circle at 88% 6%, rgba(138,240,192,0.08), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(255,213,141,0.05), transparent 30%);
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; display: block; filter: drop-shadow(0 0 12px rgba(138,240,192,0.14)); }
.brand-mark {
  width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.10); background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  font-size: 14px; font-weight: 900; letter-spacing: 0.08em;
}
.brand-sub { margin-top: 3px; color: rgba(244,247,251,0.54); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.eyebrow, .card-kicker, .project-index-kicker {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700; color: var(--soft);
}
.section-intro, .proof-copy {
  margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.82; max-width: 860px;
}
.featured-card, .contact-panel { height: 100%; }
.kpi-card {
  padding: 22px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
}
.kpi-number { font-size: 34px; line-height: 1; margin-top: 2px; font-weight: 900; letter-spacing: -0.05em; color: var(--cyan); }
.proof-title { font-size: clamp(28px, 3vw, 38px); line-height: 1.06; letter-spacing: -0.05em; margin: 12px 0 0; font-weight: 900; overflow-wrap: anywhere; }
.project-index-actions { display: flex; align-items: flex-start; justify-content: flex-end; }
.project-media { margin-top: 28px; }
.review-stat {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.88);
}
.review-stat strong { font-size: 14px; font-weight: 800; }
.review-stat span { font-size: 12px; color: rgba(255,255,255,0.64); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .project-index-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .brand-mark { width: 42px; height: 42px; border-radius: 12px; }
  .review-stats { justify-content: flex-start; }
  .review-stat { width: fit-content; }
  .project-index-actions { width: 100%; }
}


.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.82); display: none; align-items: center; justify-content: center; padding: 24px; z-index: 80; }
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; width: min(1200px, 100%); }
.lightbox-close { position: absolute; top: -12px; right: -12px; width: 42px; height: 42px; border: 0; border-radius: 999px; background: #fff; color: #07111a; font-size: 26px; font-weight: 800; cursor: pointer; }
.lightbox img { width: 100%; max-height: calc(100vh - 70px); object-fit: contain; border-radius: 22px; border: 1px solid rgba(255,255,255,0.10); background: #03080f; }

#services { margin-bottom: 44px; }
.project-library-card .project-tag { background: rgba(255,255,255,0.024); }
.review-slide.is-active { display: flex; flex-direction: column; height: 100%; gap: 14px; }
.review-quote { flex: 1 1 auto; }
.review-source { margin-top: 0; }
.review-slides { height: 210px; }

/* --- v17 targeted refinements --- */
body { overflow-x: hidden; }
.topbar-wrap {
  position: sticky;
  top: 12px;
  z-index: 80;
  padding-top: 18px;
  margin-bottom: 24px;
}
.home-gap-first { margin-top: 0; }
.topbar {
  background: rgba(11,22,34,0.46);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.brand-name { letter-spacing: -0.045em; }
.hero-title,
.work-title,
.section-title,
.review-title { overflow-wrap: anywhere; }
.hero-grid { margin-top: 0; }
.featured-row { margin-top: 0; margin-bottom: 44px; }

.project-tags.premium-tags {
  gap: 10px;
}
.project-tag {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.018));
  color: rgba(244,247,251,0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.project-tag::before {
  width: 4px;
  height: 4px;
  background: rgba(142,231,255,0.42);
  box-shadow: none;
}
.btn,
.btn-secondary,
.copy-btn {
  min-height: 56px;
  padding: 15px 26px;
}
.copy-btn {
  background: linear-gradient(180deg, rgba(138,240,192,0.18), rgba(138,240,192,0.10));
  border-color: rgba(138,240,192,0.34);
  color: #edfff5;
}
.copy-btn.copied { background: rgba(138,240,192,0.22); }

#services { margin-bottom: 56px; }
.process-section { margin-top: 42px; }
.service-grid.four-up { align-items: stretch; }
.service-card,
.contact-option {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.service-card p { flex: 1 1 auto; }
.contact-option .project-actions { margin-top: auto; }
.contact-grid { align-items: stretch; }

.review-panel {
  padding: 24px 26px;
  min-height: 0;
}
.review-slides {
  height: clamp(120px, 14vw, 180px);
}
.review-slide.is-active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-quote {
  font-size: clamp(15px, 1.02vw, 18px);
  line-height: 1.62;
}
.review-footer { margin-top: 14px; }
.review-dots { gap: 10px; }
.review-dot { width: 9px; height: 9px; }
.review-dot::after { inset: -6px; }

.footer {
  margin-top: 40px;
  padding: 28px 10px 34px;
  color: rgba(255,255,255,0.54);
}
.footer-links {
  gap: 26px;
}
.footer-links a:hover { color: rgba(255,255,255,0.86); }

.project-library-grid { margin-top: 24px; }
.project-library-card .project-actions { margin-top: 22px; }
.gallery-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.gallery-button:focus-visible { outline: 2px solid rgba(138,240,192,0.42); outline-offset: 3px; }
.media-frame iframe { border: 0; }

@media (max-width: 820px) {
  .topbar-wrap { top: 10px; padding-top: 14px; margin-bottom: 18px; }
  .footer-links { gap: 16px; }
  .review-slides { height: 240px; }
}


/* --- v18 refinement pass --- */
.topbar-wrap {
  position: sticky;
  top: 14px;
  z-index: 120;
  padding-top: 18px;
  margin-bottom: 30px;
}
.topbar {
  background: rgba(8, 16, 27, 0.66);
  border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}
.home-gap-first { margin-top: 8px; }
.hero-grid, .featured-row { margin-top: 0; }
.section-intro { max-width: 900px; }
.review-section-head {
  margin-bottom: 16px;
}
.review-section-head .section-title {
  margin-top: 12px;
}
.project-tags.premium-tags {
  gap: 12px;
}
.project-tag {
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(142,231,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
  color: rgba(244,247,251,0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.project-tag::before {
  width: 6px;
  height: 6px;
  background: rgba(142,231,255,0.66);
  box-shadow: 0 0 0 4px rgba(142,231,255,0.07);
}
.review-panel {
  min-height: 0;
  padding: 26px;
}
.review-slides {
  margin-top: 18px;
  min-height: 200px;
  height: auto;
}
.review-slide {
  min-height: 180px;
}
.review-slide.is-active {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-quote {
  flex: 1 1 auto;
  font-size: clamp(15px, 1.02vw, 18px);
  line-height: 1.66;
}
.review-footer {
  margin-top: 18px;
}
.review-dots {
  min-height: 18px;
  align-items: center;
}
.review-dot {
  width: 10px;
  height: 10px;
}
.contact-grid {
  align-items: stretch;
}
.contact-option {
  min-height: 100%;
}
.contact-option .project-actions {
  margin-top: auto;
}
.footer {
  margin-top: 46px;
  padding: 30px 10px 42px;
}
@media (max-width: 820px) {
  .topbar-wrap {
    top: 10px;
    margin-bottom: 22px;
  }
  .home-gap-first { margin-top: 0; }
}


/* --- v19 polish pass --- */
.nav-primary {
  background: linear-gradient(180deg, rgba(138,240,192,0.96), rgba(138,240,192,0.82));
  color: #0c1720;
  box-shadow: 0 12px 28px rgba(138,240,192,0.18), inset 0 1px 0 rgba(255,255,255,0.42);
}
.nav-primary:hover {
  background: linear-gradient(180deg, rgba(156,244,201,1), rgba(138,240,192,0.88));
}
.featured-card .project-tags,
.project-library-card .project-tags,
.panel > .project-tags,
.project-tags-large,
.project-tags.compact-tags {
  margin-top: 26px !important;
}
.project-tags {
  gap: 12px;
}
.project-tag {
  position: relative;
  padding: 11px 15px 11px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.09);
  background: linear-gradient(180deg, rgba(7,16,26,0.78), rgba(13,26,40,0.58));
  color: rgba(244,247,251,0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: inset 3px 0 0 rgba(142,231,255,0.34), 0 12px 24px rgba(0,0,0,0.10);
}
.project-tag::before {
  content: none !important;
}
.media-grid-featured {
  margin-top: 24px;
}
.media-grid-showcase {
  margin-top: 20px;
}
.media-card,
.media-card-featured {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.media-card-featured {
  padding: 22px;
}
.media-copy {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}
.media-title {
  margin: 6px 0 0;
  font-size: 22px;
  line-height: 1.08;
}
.media-panel-tight .section-text {
  margin-bottom: 18px;
}
.media-card .media-frame,
.media-card-featured .media-frame {
  margin-top: auto;
}
.review-section-head {
  margin-bottom: 14px;
}
.review-header {
  align-items: center;
}
.review-title {
  margin-top: 0;
}
.review-footer {
  justify-content: space-between;
}
.review-controls {
  margin-left: auto;
}
.review-dots {
  gap: 9px;
}
.review-dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.14);
}
.review-dot.is-active {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(138,240,192,0.07);
}
.review-count {
  display: none !important;
}
.btn-icon.review-nav {
  width: 40px;
  height: 40px;
  font-size: 24px;
  opacity: 0.88;
}
.footer {
  padding-top: 28px;
}
@media (max-width: 1100px) {
  .media-grid.three-up {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 820px) {
  .media-grid.three-up {
    grid-template-columns: 1fr;
  }
  .project-tag {
    width: fit-content;
  }
}


/* --- v19 targeted fixes --- */
.review-panel {
  min-height: 0;
  padding: 26px;
}
.review-slides {
  margin-top: 18px;
  height: 170px;
  min-height: 170px;
}
.review-slide {
  min-height: 170px;
}
.review-slide.is-active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-quote {
  flex: 1 1 auto;
  overflow: auto;
  font-size: clamp(15px, 0.98vw, 18px);
  line-height: 1.62;
}
.review-source {
  margin-top: auto;
}
.contact-grid {
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.contact-option {
  min-height: 320px;
  padding: 30px;
}
.contact-option h3 {
  margin: 14px 0 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.contact-option p {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.85;
}
.contact-option .project-actions {
  margin-top: auto;
  padding-top: 28px;
}
.btn-discord {
  background: linear-gradient(180deg, rgba(88,101,242,0.98), rgba(88,101,242,0.84));
  color: #fff;
  box-shadow: 0 14px 30px rgba(88,101,242,0.24), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-discord:hover {
  background: linear-gradient(180deg, rgba(101,115,255,1), rgba(88,101,242,0.9));
}
.btn-fiverr {
  border-color: rgba(29,191,115,0.32);
  background: linear-gradient(180deg, rgba(29,191,115,0.16), rgba(29,191,115,0.09));
  color: #effff7;
  box-shadow: inset 0 0 0 1px rgba(29,191,115,0.08);
}
.btn-fiverr:hover {
  background: linear-gradient(180deg, rgba(29,191,115,0.22), rgba(29,191,115,0.12));
}
.project-tag {
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(255,255,255,0.028);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(244,247,251,0.74);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.015em;
  box-shadow: none;
}
.project-tags {
  gap: 10px;
}
@media (max-width: 820px) {
  .review-slides,
  .review-slide {
    height: 230px;
    min-height: 230px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-option {
    min-height: 0;
  }
}
