/* ============================================
   BLAKE MCAMIS — CONSULTING
   Monochrome, editorial, restrained
   ============================================ */

:root {
  --bg: #0a0c10;
  --surface: #111318;
  --border: #1f2229;
  --text: #e8e6e1;
  --muted: #9a9ea8;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
}

/* --- Typography --- */
.label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text);
}

h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
}

h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

/* --- Links & Buttons --- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  transition: opacity 0.2s ease;
}
.link-arrow::after { content: "\2192"; }
.link-arrow:hover { opacity: 0.5; }

.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.btn-outline:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.btn-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  transition: background 0.3s ease;
}
.site-nav.scrolled {
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid var(--border);
}
.site-nav.scrolled .nav-inner {
  border-bottom-color: transparent;
}
.nav-brand {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 20px;
  border: 1px solid var(--border);
  letter-spacing: 0.06em;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}
.nav-cta:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg) !important;
}

.nav-toggle {
  display: none;
  width: 24px;
  height: 18px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.mobile-overlay.open { display: flex; }
.mobile-overlay a {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--muted);
  transition: color 0.2s ease;
}
.mobile-overlay a:hover { color: var(--text); }
.mobile-overlay .mobile-cta {
  color: var(--text);
}

/* --- Hero --- */
.hero {
  display: flex;
  align-items: center;
  padding: 10rem 0 5rem;
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero .label {
  margin-bottom: 1.5rem;
}
.hero h1 {
  margin-bottom: 1.5rem;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

/* --- Sections --- */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.section-header {
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.section-header .label {
  margin-bottom: 1rem;
}
.section-header p {
  margin-top: 0.75rem;
  color: var(--muted);
  max-width: 45ch;
}

/* --- Content Body (prose sections) --- */
.content-body {
  max-width: 720px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.content-body p + p {
  margin-top: 1.25rem;
}
.content-body a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
  transition: text-decoration-color 0.2s ease;
}
.content-body a:hover {
  text-decoration-color: var(--text);
}

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.breadcrumb a:hover {
  color: var(--text);
}

/* --- Internal Links Grid --- */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}
.links-grid a {
  display: block;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.links-grid a:hover {
  border-color: var(--text);
  color: var(--text);
}

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-item {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--bg);
}
.service-item h3 {
  margin-bottom: 0.6rem;
}
.service-item p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Work: Featured --- */
.work-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.work-featured-item {
  padding: clamp(2rem, 3vw, 2.75rem);
  background: var(--surface);
}
.work-featured-item .label {
  margin-bottom: 0.75rem;
}
.work-featured-item h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.work-featured-item > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 45ch;
}
.work-metrics {
  display: flex;
  gap: 2.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.work-metric small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.work-featured-link {
  display: inline-flex;
  margin-top: 1.5rem;
}

/* --- Work: List --- */
.work-list {
  border-top: 1px solid var(--border);
}
.work-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}
.work-item:hover {
  background: var(--surface);
  margin: 0 -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}
.work-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.work-meta .label {
  margin-bottom: 0.25rem;
}
.work-meta h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.work-meta p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 55ch;
}
.work-link {
  padding-top: 0.35rem;
  white-space: nowrap;
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.about-text p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1.25rem;
}
.about-numbers {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 0.5rem;
}
.about-num {
  border-left: 1px solid var(--border);
  padding-left: 1.5rem;
}
.about-num span {
  display: block;
  font-family: var(--serif);
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
  /* reveal animation handled in Animations section */
}
.about-num small {
  color: var(--muted);
  font-size: 0.82rem;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 0;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.faq-question:hover {
  color: var(--muted);
}
.faq-question svg {
  flex-shrink: 0;
  margin-left: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  padding-bottom: 1.25rem;
  max-width: 65ch;
}

/* --- SEO Proof Section --- */
.seo-proof-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.seo-proof {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}
.seo-proof .label {
  margin-bottom: 1rem;
}
.seo-proof h2 {
  margin-bottom: 1.25rem;
}
.seo-proof-sub {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.seo-proof-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
}
.seo-proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.seo-proof-num {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}
.seo-proof-stat small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .seo-proof-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* --- Showcase Section --- */
.showcase-sub {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 55ch;
  margin-bottom: 2.5rem;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.showcase-card {
  background: var(--bg);
  overflow: hidden;
}
.showcase-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.showcase-preview {
  height: 260px;
  padding: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}
.showcase-card-info {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.showcase-card-info h3 { margin-bottom: 0.5rem; }
.showcase-card-info p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
}
.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.showcase-tags span {
  padding: 3px 10px;
  border: 1px solid var(--border);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.showcase-grid .showcase-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible .showcase-card:nth-child(1) { transition-delay: 0s; }
.reveal.visible .showcase-card:nth-child(2) { transition-delay: 0.08s; }
.reveal.visible .showcase-card:nth-child(3) { transition-delay: 0.16s; }
.reveal.visible .showcase-card:nth-child(4) { transition-delay: 0.24s; }
.reveal.visible .showcase-card:nth-child(5) { transition-delay: 0.32s; }
.reveal.visible .showcase-card:nth-child(6) { transition-delay: 0.4s; }
.reveal.visible .showcase-card {
  opacity: 1;
  transform: translateY(0);
}

/* --- Shared Browser Chrome --- */
.sc-browser {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #0d0f14;
}
.sc-browser-bar {
  display: flex;
  gap: 4px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.sc-browser-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(232,230,225,0.12);
}
.sc-browser-body {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* ========================
   CARD 1: LANDING PAGE
   ======================== */
.sc-land-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sc-land-logo {
  width: 40px; height: 4px;
  background: rgba(232,230,225,0.3);
  border-radius: 2px;
}
.sc-land-links { display: flex; gap: 8px; }
.sc-land-links span {
  width: 20px; height: 3px;
  background: rgba(232,230,225,0.12);
  border-radius: 1px;
}
.sc-land-hero {
  padding: 20px 14px 14px;
  text-align: center;
}
.sc-land-h1 {
  width: 75%; height: 8px; margin: 0 auto 6px;
  background: rgba(232,230,225,0.25);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.sc-land-h1b { width: 50%; }
.sc-land-p {
  width: 60%; height: 4px; margin: 10px auto 0;
  background: rgba(232,230,225,0.08);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.5s 0.3s ease;
}
.sc-land-cta {
  width: 50px; height: 16px; margin: 12px auto 0;
  border: 1px solid rgba(232,230,225,0.15);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.4s 0.45s ease;
}
.sc-landing.playing .sc-land-h1,
.sc-landing.playing .sc-land-p,
.sc-landing.playing .sc-land-cta {
  opacity: 1;
  transform: translateY(0);
}
.sc-land-cards {
  display: flex; gap: 6px;
  padding: 0 14px;
}
.sc-land-card {
  flex: 1; height: 55px;
  background: rgba(232,230,225,0.03);
  border: 1px solid rgba(232,230,225,0.05);
  border-radius: 3px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.sc-landing.playing .sc-land-card { opacity: 1; transform: translateY(0); }
.sc-landing.playing .sc-land-card:nth-child(1) { transition-delay: 0.5s; }
.sc-landing.playing .sc-land-card:nth-child(2) { transition-delay: 0.6s; }
.sc-landing.playing .sc-land-card:nth-child(3) { transition-delay: 0.7s; }
.sc-landing.playing .sc-land-cta {
  background: rgba(232,230,225,0.12);
  border-color: rgba(232,230,225,0.3);
  animation: ctaPulse 2s 1s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,230,225,0); }
  50% { box-shadow: 0 0 6px 2px rgba(232,230,225,0.08); }
}

/* ========================
   CARD 2: DASHBOARD
   ======================== */
.sc-dash-body {
  display: flex;
}
.sc-dash-sidebar {
  width: 36px;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.sc-dash-nav-item {
  height: 4px;
  background: rgba(232,230,225,0.08);
  border-radius: 2px;
}
.sc-dash-active { background: rgba(232,230,225,0.25); }
.sc-dash-main {
  flex: 1;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sc-dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sc-dash-search {
  width: 60px; height: 10px;
  border: 1px solid rgba(232,230,225,0.06);
  border-radius: 3px;
}
.sc-dash-avatar {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(232,230,225,0.1);
}
.sc-dash-stats {
  display: flex; gap: 4px;
}
.sc-dash-stat {
  flex: 1;
  padding: 5px 6px;
  background: rgba(232,230,225,0.03);
  border: 1px solid rgba(232,230,225,0.05);
  border-radius: 3px;
}
.sc-dash-stat-num {
  font-size: 8px;
  font-weight: 600;
  color: rgba(232,230,225,0.6);
  margin-bottom: 3px;
  white-space: nowrap;
}
.sc-dash-stat-label {
  font-size: 5px;
  color: rgba(232,230,225,0.25);
  letter-spacing: 0.04em;
}
.sc-dash-chart {
  height: 50px;
  background: rgba(232,230,225,0.02);
  border: 1px solid rgba(232,230,225,0.04);
  border-radius: 3px;
  padding: 6px;
  overflow: hidden;
}
.sc-dash-line { width: 100%; height: 100%; }
.sc-dash-line-fill {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.sc-dash.playing .sc-dash-line-fill { stroke-dashoffset: 0; }
.sc-dash-table {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sc-dash-row {
  display: flex; gap: 6px;
  align-items: center;
  padding: 3px 6px;
  border-radius: 2px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sc-dash.playing .sc-dash-row { opacity: 1; transform: translateX(0); }
.sc-dash.playing .sc-dash-row:nth-child(1) { transition-delay: 0.6s; }
.sc-dash.playing .sc-dash-row:nth-child(2) { transition-delay: 0.7s; }
.sc-dash.playing .sc-dash-row:nth-child(3) { transition-delay: 0.8s; }
.sc-dash.playing .sc-dash-row:nth-child(4) { transition-delay: 0.9s; }
.sc-dash-row-head { opacity: 1; transform: none; }
.sc-dash-row span {
  flex: 1; height: 3px;
  background: rgba(232,230,225,0.08);
  border-radius: 1px;
}
.sc-dash-row-head span { background: rgba(232,230,225,0.15); }
.sc-dash-badge {
  width: 16px !important; flex: none !important;
  height: 6px;
  background: rgba(100, 220, 140, 0.3) !important;
  border-radius: 3px;
}
.sc-dash-badge-warn { background: rgba(240, 180, 70, 0.3) !important; }

/* ========================
   CARD 3: E-COMMERCE
   ======================== */
.sc-ecom-body { padding: 10px; }
.sc-ecom-grid {
  display: flex;
  gap: 10px;
  height: 100%;
}
.sc-ecom-img {
  width: 45%;
  background: linear-gradient(145deg, rgba(232,230,225,0.06), rgba(232,230,225,0.02));
  border: 1px solid rgba(232,230,225,0.06);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.sc-ecom-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(232,230,225,0.04) 45%, rgba(232,230,225,0.08) 50%, rgba(232,230,225,0.04) 55%, transparent 60%);
  transform: translateX(-100%);
}
.sc-ecom.playing .sc-ecom-img::after {
  animation: ecomShimmer 2s 0.2s ease forwards;
}
@keyframes ecomShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.sc-ecom-badge-sale {
  position: absolute;
  top: 6px; left: 6px;
  padding: 2px 6px;
  background: rgba(220, 80, 80, 0.7);
  font-size: 6px; font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  border-radius: 2px;
}
.sc-ecom-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px 0;
}
.sc-ecom-cat {
  width: 30px; height: 3px;
  background: rgba(232,230,225,0.1);
  border-radius: 1px;
}
.sc-ecom-title {
  width: 80%; height: 6px;
  background: rgba(232,230,225,0.2);
  border-radius: 2px;
}
.sc-ecom-stars {
  display: flex; gap: 1px;
  font-size: 8px;
  color: rgba(240, 200, 60, 0.2);
}
.sc-ecom-stars span {
  transition: color 0.3s ease;
}
.sc-ecom.playing .sc-ecom-stars span:nth-child(1) { color: rgba(240, 200, 60, 0.9); transition-delay: 0.3s; }
.sc-ecom.playing .sc-ecom-stars span:nth-child(2) { color: rgba(240, 200, 60, 0.9); transition-delay: 0.5s; }
.sc-ecom.playing .sc-ecom-stars span:nth-child(3) { color: rgba(240, 200, 60, 0.9); transition-delay: 0.7s; }
.sc-ecom.playing .sc-ecom-stars span:nth-child(4) { color: rgba(240, 200, 60, 0.9); transition-delay: 0.9s; }
.sc-ecom.playing .sc-ecom-stars span:nth-child(5) { color: rgba(240, 200, 60, 0.9); transition-delay: 1.1s; }
.sc-ecom-prices {
  display: flex; gap: 6px; align-items: center;
}
.sc-ecom-price-new {
  font-size: 12px; font-weight: 600;
  color: rgba(232,230,225,0.8);
}
.sc-ecom-price-old {
  font-size: 9px;
  color: rgba(232,230,225,0.25);
  text-decoration: line-through;
}
.sc-ecom-sizes {
  display: flex; gap: 4px; margin-top: 2px;
}
.sc-ecom-sizes span {
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(232,230,225,0.1);
  border-radius: 2px;
  font-size: 6px; font-weight: 500;
  color: rgba(232,230,225,0.3);
  transition: all 0.3s ease;
}
.sc-ecom-size-active {
  border-color: rgba(232,230,225,0.4) !important;
  color: rgba(232,230,225,0.8) !important;
  background: rgba(232,230,225,0.06);
}
.sc-ecom.step-size .sc-ecom-sizes span { border-color: rgba(232,230,225,0.15); color: rgba(232,230,225,0.4); }
.sc-ecom.step-size .sc-ecom-size-active {
  border-color: rgba(232,230,225,0.5) !important;
  color: rgba(232,230,225,0.9) !important;
  background: rgba(232,230,225,0.1);
  box-shadow: 0 0 6px rgba(232,230,225,0.08);
}
.sc-ecom-add-btn {
  margin-top: auto;
  height: 22px;
  background: rgba(232,230,225,0.08);
  border: 1px solid rgba(232,230,225,0.12);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 7px; font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(232,230,225,0.5);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}
.sc-ecom-btn-text, .sc-ecom-btn-check {
  transition: all 0.3s ease;
}
.sc-ecom-btn-check {
  position: absolute;
  opacity: 0;
  transform: scale(0);
  color: rgba(100, 220, 140, 0.8);
  font-size: 10px;
}
.sc-ecom.step-cart .sc-ecom-add-btn {
  background: rgba(232,230,225,0.15);
  border-color: rgba(232,230,225,0.25);
  color: rgba(232,230,225,0.8);
}
.sc-ecom.step-cart .sc-ecom-btn-text { opacity: 0; transform: translateY(-10px); }
.sc-ecom.step-cart .sc-ecom-btn-check { opacity: 1; transform: scale(1); }

/* ========================
   CARD 4: AI CHAT
   ======================== */
.sc-ai-body {
  display: flex;
  flex-direction: column;
}
.sc-ai-header {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sc-ai-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(100, 220, 140, 0.4);
  transition: background 0.3s ease;
}
.sc-ai.playing .sc-ai-dot { background: rgba(100, 220, 140, 0.8); animation: aiGlow 2s ease infinite; }
@keyframes aiGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(100,220,140,0); }
  50% { box-shadow: 0 0 4px 2px rgba(100,220,140,0.2); }
}
.sc-ai-title {
  width: 40px; height: 4px;
  background: rgba(232,230,225,0.15);
  border-radius: 2px;
}
.sc-ai-messages {
  flex: 1;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.sc-ai-msg { max-width: 80%; }
.sc-ai-user { align-self: flex-end; }
.sc-ai-bot { align-self: flex-start; }
.sc-ai-bubble-user {
  height: 18px; width: 90px;
  background: rgba(232,230,225,0.08);
  border-radius: 8px 8px 2px 8px;
}
.sc-ai-bubble-short { width: 55px; }
.sc-ai-bubble-bot {
  min-height: 20px;
  padding: 6px 10px;
  background: rgba(232,230,225,0.03);
  border: 1px solid rgba(232,230,225,0.06);
  border-radius: 8px 8px 8px 2px;
}
.sc-ai-typing-dots {
  display: flex; gap: 3px;
}
.sc-ai-typing-dots span {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(232,230,225,0.15);
}
.sc-ai.playing .sc-ai-typing-dots span {
  animation: aiTyping 1s ease-in-out infinite;
}
.sc-ai.playing .sc-ai-typing-dots span:nth-child(2) { animation-delay: 0.12s; }
.sc-ai.playing .sc-ai-typing-dots span:nth-child(3) { animation-delay: 0.24s; }
@keyframes aiTyping {
  0%, 60%, 100% { opacity: 0.2; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
.sc-ai-response {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  overflow: hidden;
}
.sc-ai-resp-line {
  height: 3px; width: 0;
  background: rgba(232,230,225,0.12);
  border-radius: 1px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.sc-ai-resp-short { max-width: 50px; }
.sc-ai.step-resp1 .sc-ai-resp-line { width: 80px; }
.sc-ai.step-resp1 .sc-ai-resp-short { width: 50px; transition-delay: 0.3s; }
.sc-ai-user2, .sc-ai-bot2 {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sc-ai.step-user2 .sc-ai-user2 { opacity: 1; transform: translateY(0); }
.sc-ai.step-bot2 .sc-ai-bot2 { opacity: 1; transform: translateY(0); }
.sc-ai-dots2 span { animation: none !important; }
.sc-ai.step-bot2 .sc-ai-dots2 span { animation: aiTyping 1s ease-in-out infinite !important; }
.sc-ai.step-bot2 .sc-ai-dots2 span:nth-child(2) { animation-delay: 0.12s !important; }
.sc-ai.step-bot2 .sc-ai-dots2 span:nth-child(3) { animation-delay: 0.24s !important; }
.sc-ai-input {
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  border-top: 1px solid rgba(255,255,255,0.04);
  align-items: center;
}
.sc-ai-input-field {
  flex: 1; height: 14px;
  border: 1px solid rgba(232,230,225,0.06);
  border-radius: 4px;
  transition: border-color 0.3s ease;
}
.sc-ai.playing .sc-ai-input-field { border-color: rgba(232,230,225,0.15); }
.sc-ai-send {
  font-size: 7px;
  color: rgba(232,230,225,0.2);
  transition: color 0.3s ease;
}
.sc-ai.playing .sc-ai-send { color: rgba(232,230,225,0.5); }

/* ========================
   CARD 5: PORTFOLIO (pure CSS infinite animations)
   ======================== */
.sc-port-body {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0d0f14;
}
.sc-port-bigtext {
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: 0.25em;
  color: rgba(232,230,225,0.04);
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  white-space: nowrap;
  z-index: 0;
  animation: portBreathe 4s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes portBreathe {
  0%, 100% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.7; }
}
.sc-port-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 14px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.sc-port-thumb {
  height: 55px;
  border-radius: 3px;
  border: 1px solid rgba(232,230,225,0.06);
  animation: portReveal 6s ease-in-out infinite;
}
.sc-port-t1 { background: linear-gradient(135deg, rgba(232,230,225,0.08), rgba(232,230,225,0.02)); animation-delay: 0s; }
.sc-port-t2 { background: linear-gradient(135deg, rgba(232,230,225,0.04), rgba(232,230,225,0.1)); animation-delay: 0.4s; }
.sc-port-t3 { background: linear-gradient(135deg, rgba(232,230,225,0.1), rgba(232,230,225,0.03)); animation-delay: 0.8s; }
.sc-port-t4 { background: linear-gradient(135deg, rgba(232,230,225,0.03), rgba(232,230,225,0.08)); animation-delay: 1.2s; }
@keyframes portReveal {
  0%, 100% { opacity: 0.4; transform: scale(0.92); }
  30%, 70% { opacity: 1; transform: scale(1); }
}
.sc-port-cursor {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(232,230,225,0.4);
  position: absolute;
  top: 35%; left: 30%;
  opacity: 0.7;
  pointer-events: none;
  z-index: 2;
  animation: cursorMove 3s ease-in-out infinite;
}
@keyframes cursorMove {
  0% { top: 35%; left: 30%; }
  25% { top: 40%; left: 65%; }
  50% { top: 65%; left: 60%; }
  75% { top: 60%; left: 35%; }
  100% { top: 35%; left: 30%; }
}

/* ========================
   CARD 6: SAAS PRICING
   ======================== */
.sc-saas-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.sc-saas-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 6px;
  font-weight: 500;
  color: rgba(232,230,225,0.3);
  letter-spacing: 0.04em;
}
.sc-saas-switch {
  width: 22px; height: 12px;
  background: rgba(232,230,225,0.08);
  border-radius: 6px;
  position: relative;
  transition: background 0.3s ease;
}
.sc-saas-knob {
  width: 8px; height: 8px;
  background: rgba(232,230,225,0.3);
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sc-saas.step-yearly .sc-saas-knob {
  left: 12px;
  background: rgba(232,230,225,0.6);
}
.sc-saas.step-yearly .sc-saas-switch { background: rgba(232,230,225,0.12); }
.sc-saas.step-yearly .sc-saas-yr { color: rgba(232,230,225,0.6); }
.sc-saas-plans {
  display: flex;
  gap: 6px;
  width: 100%;
}
.sc-saas-plan {
  flex: 1;
  padding: 8px;
  background: rgba(232,230,225,0.02);
  border: 1px solid rgba(232,230,225,0.06);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  transition: all 0.4s ease;
}
.sc-saas-popular {
  border-color: rgba(232,230,225,0.15);
  background: rgba(232,230,225,0.04);
}
.sc-saas.step-lift .sc-saas-popular {
  border-color: rgba(232,230,225,0.25);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.sc-saas-pop-badge {
  position: absolute;
  top: -6px; right: 6px;
  padding: 1px 5px;
  background: rgba(232,230,225,0.15);
  font-size: 5px; font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(232,230,225,0.6);
  border-radius: 2px;
}
.sc-saas-plan-name {
  font-size: 6px;
  font-weight: 600;
  color: rgba(232,230,225,0.35);
  letter-spacing: 0.06em;
}
.sc-saas-price {
  display: flex; align-items: baseline;
  color: rgba(232,230,225,0.5);
}
.sc-saas-dollar { font-size: 7px; }
.sc-saas-amount {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.03em;
  color: rgba(232,230,225,0.6);
  transition: all 0.4s ease;
}
.sc-saas.playing .sc-saas-amount { color: rgba(232,230,225,0.85); }
.sc-saas-per { font-size: 6px; margin-left: 1px; }
.sc-saas-features {
  display: flex; flex-direction: column; gap: 3px;
}
.sc-saas-feat {
  display: flex; align-items: center; gap: 4px;
}
.sc-saas-check {
  font-size: 6px;
  color: rgba(100, 220, 140, 0.15);
  transition: color 0.3s ease;
}
.sc-saas.step-checks .sc-saas-check { color: rgba(100, 220, 140, 0.7); }
.sc-saas-feat span:last-child {
  flex: 1; height: 3px;
  background: rgba(232,230,225,0.06);
  border-radius: 1px;
}
.sc-saas-btn {
  height: 14px;
  border: 1px solid rgba(232,230,225,0.1);
  border-radius: 3px;
  margin-top: auto;
  transition: all 0.3s ease;
}
.sc-saas-btn-pop {
  background: rgba(232,230,225,0.08);
  border-color: rgba(232,230,225,0.15);
}
.sc-saas.step-lift .sc-saas-btn-pop {
  background: rgba(232,230,225,0.15);
  border-color: rgba(232,230,225,0.3);
}

@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-preview { height: 280px; }

  /* Landing — scale up internal elements */
  .sc-land-hero { padding: 28px 20px 18px; }
  .sc-land-h1 { height: 10px; margin-bottom: 8px; }
  .sc-land-p { height: 5px; margin-top: 12px; }
  .sc-land-cta { width: 65px; height: 20px; margin-top: 14px; }
  .sc-land-cards { padding: 0 20px; gap: 8px; }
  .sc-land-card { height: 65px; }

  /* Dashboard — bigger stats and chart */
  .sc-dash-stat { padding: 6px 8px; }
  .sc-dash-stat-num { font-size: 10px; }
  .sc-dash-stat-label { font-size: 6px; }
  .sc-dash-chart { height: 60px; }

  /* E-Commerce — more spacious */
  .sc-ecom-body { padding: 12px; }
  .sc-ecom-stars { font-size: 10px; }
  .sc-ecom-price-new { font-size: 14px; }
  .sc-ecom-price-old { font-size: 10px; }
  .sc-ecom-sizes span { width: 22px; height: 22px; font-size: 7px; }
  .sc-ecom-add-btn { height: 26px; font-size: 8px; }

  /* AI Chat — bigger bubbles */
  .sc-ai-messages { padding: 10px 14px; gap: 8px; }
  .sc-ai-bubble-user { height: 22px; width: 110px; }
  .sc-ai-bubble-short { width: 70px; }
  .sc-ai-typing-dots span { width: 5px; height: 5px; }

  /* Portfolio — bigger text and thumbs */
  .sc-port-bigtext { font-size: 38px; }
  .sc-port-gallery { gap: 8px; padding: 16px; }
  .sc-port-thumb { height: 65px; }
  .sc-port-cursor { width: 10px; height: 10px; }

  /* SaaS — bigger prices */
  .sc-saas-body { padding: 12px; gap: 10px; }
  .sc-saas-toggle { font-size: 7px; }
  .sc-saas-plan { padding: 10px; gap: 6px; }
  .sc-saas-plan-name { font-size: 7px; }
  .sc-saas-amount { font-size: 22px; }
  .sc-saas-dollar { font-size: 8px; }
  .sc-saas-per { font-size: 7px; }
  .sc-saas-check { font-size: 7px; }
  .sc-saas-btn { height: 18px; }
}

@media (max-width: 600px) {
  .showcase-preview { height: 260px; }
}

/* --- CTA Banner --- */
.cta-banner {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.cta-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
@media (max-width: 600px) {
  .cta-banner-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* --- Service Area --- */
.area-description {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 2rem;
}
.area-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.area-cities span {
  padding: 6px 16px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.03em;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.area-cities span:hover {
  color: var(--text);
  border-color: var(--text);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact-intro p {
  color: #a0a3ab;
  margin-top: 1rem;
  line-height: 1.7;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-group label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.7;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 0;
  border-bottom: 1px solid #3a3d45;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--text);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9a9da5;
  opacity: 1;
}
.form-group select {
  appearance: none;
  cursor: pointer;
  color: #9a9da5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' stroke='%239a9da5' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
}
.form-group select option {
  background: var(--surface);
  color: var(--text);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
  border: none;
  border-bottom: 1px solid #3a3d45;
}
.form-group select:valid {
  color: var(--text);
}
.form-submit {
  margin-top: 0.5rem;
  align-self: flex-start;
}
.form-success {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.4;
  padding: 2rem 0;
}

/* --- Footer --- */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--text); }

/* --- Animations & Interactions --- */

/* Staggered scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside grids */
.services-grid .service-item,
.work-featured .work-featured-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible .service-item,
.reveal.visible .work-featured-item {
  opacity: 1;
  transform: translateY(0);
}
.reveal.visible .service-item:nth-child(1),
.reveal.visible .work-featured-item:nth-child(1) { transition-delay: 0s; }
.reveal.visible .service-item:nth-child(2),
.reveal.visible .work-featured-item:nth-child(2) { transition-delay: 0.08s; }
.reveal.visible .service-item:nth-child(3) { transition-delay: 0.16s; }
.reveal.visible .service-item:nth-child(4) { transition-delay: 0.24s; }
.reveal.visible .service-item:nth-child(5) { transition-delay: 0.32s; }
.reveal.visible .service-item:nth-child(6) { transition-delay: 0.4s; }

/* Service card hover lift */
.service-item {
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s ease,
              background 0.3s ease;
}
.service-item:hover {
  background: var(--surface);
  transform: translateY(-4px);
}

/* Featured work card hover */
.work-featured-item {
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s ease,
              background 0.3s ease;
}
.work-featured-item:hover {
  background: #161922;
}

/* Nav link underline animation */
.nav-links a:not(.nav-cta) {
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

/* Nav CTA glow on hover */
.nav-cta {
  position: relative;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  background: var(--text);
  filter: blur(12px);
  transition: opacity 0.4s ease;
  z-index: -1;
}
.nav-cta:hover::before {
  opacity: 0.15;
}

/* Button hover glow */
.btn-outline {
  position: relative;
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: -1px;
  opacity: 0;
  background: var(--text);
  filter: blur(16px);
  transition: opacity 0.4s ease;
  z-index: -1;
}
.btn-outline:hover::before {
  opacity: 0.12;
}

/* Metric number count-up feel */
.work-metric span {
  display: block;
  font-family: var(--serif);
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.3rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible .work-metric span {
  opacity: 1;
  transform: translateY(0);
}
.reveal.visible .work-featured-item:nth-child(1) .work-metric:nth-child(1) span { transition-delay: 0.3s; }
.reveal.visible .work-featured-item:nth-child(1) .work-metric:nth-child(2) span { transition-delay: 0.45s; }
.reveal.visible .work-featured-item:nth-child(2) .work-metric:nth-child(1) span { transition-delay: 0.38s; }
.reveal.visible .work-featured-item:nth-child(2) .work-metric:nth-child(2) span { transition-delay: 0.53s; }

/* About stat reveal */
.about-num span {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible .about-num:nth-child(1) span { transition-delay: 0.15s; }
.reveal.visible .about-num:nth-child(2) span { transition-delay: 0.3s; }
.reveal.visible .about-num span {
  opacity: 1;
  transform: translateY(0);
}

/* Link arrow hover slide */
.link-arrow::after {
  content: "\2192";
  transition: transform 0.25s ease;
}
.link-arrow:hover::after {
  transform: translateX(4px);
}
.link-arrow:hover {
  opacity: 1;
}

/* Horizontal rule grow-in for work list */
.work-list {
  border-top: 1px solid var(--border);
  position: relative;
}
.work-item {
  position: relative;
}
.work-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--muted);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-item:hover::after {
  width: 100%;
}

/* Form input focus line animation */
.form-group {
  position: relative;
}
.form-group input,
.form-group select,
.form-group textarea {
  position: relative;
  z-index: 1;
}
.form-group::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-group:focus-within::after {
  width: 100%;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero { padding-top: 7rem; padding-bottom: 3rem; }

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

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

  .work-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .work-item:hover {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-numbers {
    flex-direction: row;
    gap: 0;
  }
  .about-num {
    flex: 1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: center; gap: 1rem; }

  .about-numbers { flex-direction: column; gap: 1.5rem; }
}
