:root {
  --bg: #070707;
  --bg-soft: #101010;
  --panel: rgba(19, 19, 19, 0.9);
  --panel-strong: #111111;
  --panel-border: rgba(179, 255, 45, 0.16);
  --text: #f4f4f4;
  --muted: #d8d8d8;
  --muted-soft: #aaaaaa;
  --accent: #b9ff2e;
  --accent-strong: #a9f51c;
  --accent-glow: rgba(185, 255, 46, 0.42);
  --line: rgba(185, 255, 46, 0.2);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(185, 255, 46, 0.08), transparent 24%),
    radial-gradient(circle at 50% 76%, rgba(185, 255, 46, 0.05), transparent 18%),
    linear-gradient(180deg, #090909 0%, #070707 48%, #040404 100%);
}

/* noise texture removed — file did not exist, causing 404 */

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  transform: translateY(-100%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  top: 1rem;
  left: 1rem;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header,
.hero-section,
.stats-section,
.portfolio-section,
.steps-section,
.features-section,
.proof-section,
.structure-section,
.cta-section {
  position: relative;
}

.site-header {
  z-index: 100;
  padding-top: 0.75rem;
}

.header-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 80px;
}

.brand-logo {
  width: 9rem;
  height: auto;
  object-fit: contain;
}

.site-nav {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  left: auto;
  display: grid;
  gap: 0.6rem;
  width: min(17rem, calc(100vw - 2rem));
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.2rem;
  background: rgba(10, 10, 10, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.35rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
  list-style: none;
  margin: 0;
}

.nav-links.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  color: #f3f3f3;
  background: rgba(255, 255, 255, 0.04);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.9rem 1.3rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible,
.project-link:hover,
.project-link:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #111111;
  background: linear-gradient(180deg, #c5ff3f 0%, #a6ea16 100%);
  box-shadow: 0 0 0 1px rgba(185, 255, 46, 0.1), 0 0 28px rgba(185, 255, 46, 0.24);
}

.button-secondary {
  color: #f3f3f3;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.header-cta,
.cta-button {
  width: 100%;
}

.hero-actions .button {
  width: 100%;
}

/* Service Toggle */
.service-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 10;
}

.service-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.35rem;
  gap: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.toggle-btn {
  padding: 0.65rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
}

.toggle-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.toggle-btn.active {
  background: var(--accent);
  color: #111111;
  box-shadow: 0 2px 12px rgba(185, 255, 46, 0.25);
}

@media (max-width: 480px) {
  .service-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0.3rem;
  }
  
  .toggle-btn {
    padding: 0.6rem 0.5rem;
    font-size: 0.75rem;
    flex: 1;
    text-align: center;
  }
}

/* Service Content Visibility */
.service-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.service-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 1rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: -8% -8% -20% 34%;
  pointer-events: none;
  background:
    radial-gradient(circle at 44% 42%, rgba(185, 255, 46, 0.32) 0%, rgba(185, 255, 46, 0.16) 20%, rgba(185, 255, 46, 0.06) 36%, transparent 62%);
  filter: blur(90px);
  z-index: 0;
  opacity: 0.96;
}

/* hero noise overlay removed — file did not exist, causing 404 */

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  z-index: 1;
}

/* Removed hero-grid::after to avoid double dividers */

.hero-copy {
  position: relative;
  z-index: 2;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.hero-copy h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 10vw, 5.7rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  display: block;
}

.hero-text {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.5;
}

.hero-actions {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.hero-visual {
  position: relative;
  min-height: 300px;
  width: 100%;
}

.featured-work-card,
.stat-card,
.step-card {
  transform: perspective(1100px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Hero Mobile Image — hidden by default, .is-active shows on mobile only */
.hero-mobile-img {
  display: none;
  width: 90%;
  height: auto;
  max-width: none;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  border-radius: 12px;
}

.hero-mobile-img.is-active {
  display: block;
}

/* Single hero image inside .hero-stack — no border, no box */
.hero-single-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* Hero Stack — hidden by default */
.hero-stack {
  display: none;
  position: relative;
  width: 100%;
  margin-inline: auto;
  animation: floatStack 8s ease-in-out infinite;
}




.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 10%, rgba(185, 255, 46, 0.75) 50%, var(--line) 90%, transparent 100%);
  box-shadow: 0 0 16px rgba(185, 255, 46, 0.32);
  margin-bottom: 3.5rem;
  margin-top: 0;
}

.stats-section,
.portfolio-section,
.steps-section,
.features-section,
.proof-section,
.structure-section,
.cta-section {
  padding-top: 0;
  padding-bottom: 5rem;
}

.section-title {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 6vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-title.center,
.cta-title {
  text-align: center;
}

/* Stats */
.stats-grid {
  display: grid;
  gap: 1rem;
}

.stat-card {
  padding: 1.6rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 40%, rgba(185, 255, 46, 0.08), transparent 55%),
    rgba(18, 18, 18, 0.88);
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: clamp(3rem, 11vw, 5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.stat-card-featured {
  border-color: rgba(185, 255, 46, 0.42);
  box-shadow: inset 0 0 0 1px rgba(185, 255, 46, 0.15), 0 0 24px rgba(185, 255, 46, 0.08);
}

/* Steps Section */
.steps-grid {
  display: grid;
  gap: 1.5rem;
}

.step-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 18, 0.6);
}

.step-number, .step-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(185, 255, 46, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(185, 255, 46, 0.05);
}

.step-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.step-card p {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Features Section */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--text);
}

.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.text-content .lead-text {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.text-content p {
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Proof Section */
.proof-list {
  display: grid;
  gap: 1rem;
}

.proof-item {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.proof-item strong {
  font-size: 1.1rem;
}

.proof-item span {
  color: var(--accent);
  font-weight: 700;
}

/* Structure Section */
.timeline-grid {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  padding: 1.2rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent);
}

.time-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-soft);
  margin-bottom: 0.3rem;
}

.timeline-item p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Portfolio Section */
.portfolio-section {
  padding-bottom: 5rem;
  overflow: hidden; /* Ensure pinned content doesn't break layout */
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Portfolio Showcase (New Design) */
.portfolio-showcase {
  display: none; /* Hidden on mobile by default */
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  min-height: 600px;
}

@media (min-width: 992px) {
  .portfolio-showcase {
    display: grid;
  }
  
  .featured-work-grid.mobile-only {
    display: none;
  }
}

/* Image Side */
.showcase-image-wrapper {
  position: relative;
  perspective: 1500px;
  padding: 1rem;
}

.browser-frame {
  background: #1a1a1a;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  transform: rotateY(5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.browser-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.01);
}

.browser-header {
  height: 36px;
  background: #252525;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  border-radius: 12px 12px 0 0;
  gap: 1rem;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a3a3a;
}

.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27c93f; }

.browser-address {
  flex: 1;
  background: #111;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--muted-soft);
  letter-spacing: 0.05em;
}

.showcase-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
}

.showcase-image-container:hover {
  transform: none;
}

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(185, 255, 46, 0.1), transparent 70%);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Content Side */
.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.showcase-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1.5rem;
}

.showcase-meta {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.meta-pill {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(185, 255, 46, 0.3);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(185, 255, 46, 0.05);
  font-weight: 600;
}

.showcase-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
}

.showcase-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  font-feature-settings: "tnum";
}

.metric-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.showcase-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-body p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.portfolio-review {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), transparent);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.portfolio-review blockquote {
  margin: 0 0 0.8rem 0;
  font-style: italic;
  font-size: 1.05rem;
  color: #eee;
}

.portfolio-review cite {
  display: block;
  font-size: 0.85rem;
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}

/* Nav Controls */
.showcase-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.nav-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

.nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(185, 255, 46, 0.2);
}

.nav-indicators {
  font-family: monospace;
  font-size: 1.1rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.nav-indicators span {
  color: #fff;
  font-weight: 700;
}

.featured-work-grid {
  display: grid;
  gap: 1rem;
}

.featured-work-card {
  padding: 0.8rem;
  border-radius: 1rem;
  border: 1px solid rgba(185, 255, 46, 0.18);
  background: rgba(16, 16, 16, 0.92);
  box-shadow: var(--shadow);
}

.featured-work-media {
  overflow: hidden;
  border-radius: 0.8rem;
  background: #111111;
}

.featured-work-media img {
  aspect-ratio: 2.08 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-work-copy {
  display: grid;
  gap: 1rem;
  padding: 1rem 0.2rem 0.2rem;
}

.featured-label {
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-work-copy h3 {
  margin-bottom: 0.5rem;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.featured-work-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted-soft);
  line-height: 1.6;
}

.project-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f3f3f3;
  background: rgba(255, 255, 255, 0.03);
}

.cta-shell {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.cta-title {
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 2rem;
}

.cta-title span {
  color: var(--accent);
}

.cta-button {
  max-width: 19rem;
}

/* Footer — styles are now scoped in footer.php */

.tilt-card.is-pressed {
  transform: perspective(1100px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) scale(0.992);
}

/* Pricing Section */
.pricing-section {
  padding-bottom: 5rem;
}

/* Pricing Grid (New Style) */
.pricing-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.pricing-option {
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(185, 255, 46, 0.2);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 200px;
}

.pricing-plus {
  font-size: 2rem;
  color: var(--muted);
  font-weight: 300;
}

.pricing-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-soft);
  font-weight: 700;
}

.pricing-cost {
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
}

.pricing-term {
  font-size: 0.9rem;
  color: var(--text);
}

.pricing-details {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.pricing-subtext {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  font-style: italic;
}

.pricing-includes-simple {
  margin-bottom: 2.5rem;
}

.includes-label {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-soft);
  margin-bottom: 1rem;
  font-weight: 700;
}

.inline-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.5rem;
}

.inline-features li {
  color: var(--text);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inline-features li::before {
  content: "•";
  color: var(--accent);
  font-size: 1.2rem;
}

/* Waitlist Pill */
.waitlist-pill {
  display: inline-block;
  background: rgba(255, 95, 86, 0.15);
  border: 1px solid rgba(255, 95, 86, 0.4);
  color: #ff5f56;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Who For Sections */
.who-for-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.subsection-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

/* CTA Actions */
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Mobile Portfolio Grid */
#mobile-portfolio-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.mobile-portfolio-card {
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.mobile-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.mobile-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-card-content {
  padding: 1.25rem;
}

.mobile-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.mobile-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}

.mobile-card-industry {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.mobile-card-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-metric {
  display: flex;
  flex-direction: column;
}

.mobile-metric-value {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.mobile-metric-label {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
}

.mobile-view-btn {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-view-btn:active {
  background: rgba(255, 255, 255, 0.1);
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.modal.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image-wrapper {
  width: 100%;
  height: 220px;
  background: #000;
  flex-shrink: 0;
}

.modal-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  padding: 1.5rem;
}

.modal-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.modal-project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#modal-title {
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
  line-height: 1.1;
}

.modal-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.modal-metrics-grid .metric-item {
  text-align: center;
}

.modal-metrics-grid .metric-value {
  font-size: 1.1rem;
  display: block;
}

.modal-metrics-grid .metric-label {
  font-size: 0.6rem;
}

#modal-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.modal-review {
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  margin-top: 1rem;
}

#modal-quote {
  font-style: italic;
  color: #eee;
  font-size: 0.95rem;
  margin: 0 0 0.5rem 0;
}

#modal-author {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  font-style: normal;
}

.modal-nav {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.modal-nav-btn {
  flex: 1;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}

.modal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.modal-nav-btn:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .pricing-grid {
    flex-direction: column;
    gap: 1rem;
  }
  
  .pricing-plus {
    display: none;
  }
  
  .pricing-option {
    width: 100%;
  }
}

/* Tablet (768px) + */
@media (min-width: 768px) {
  .header-cta {
    width: auto;
    min-width: 10rem;
  }

  .hero-section {
    padding-top: 1.4rem;
    padding-bottom: 5rem;
  }

  .hero-actions {
    grid-template-columns: auto auto;
    justify-content: start;
  }

  .hero-actions .button {
    width: auto;
    min-width: 0;
    padding-inline: 1.6rem;
  }

  .hero-mobile-img,
  .hero-mobile-img.is-active {
    display: none;
  }

  .hero-stack.is-active {
    display: block;
    width: 100%;
    max-width: none;
  }

  .stats-grid,
  .service-links-grid,
  .steps-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .featured-work-copy {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

}

/* Desktop / Laptop (992px) */
@media (min-width: 992px) {
  .hero-grid {
    display: block;
    position: relative;
    min-height: 560px;
    padding-top: 1rem;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    max-width: 32rem;
    padding-top: 2rem;
  }

  .hero-visual {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 70%;
    min-height: auto;
    z-index: 1;
  }

  .hero-stack.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .timeline-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Timeline 5 col for Consulting if needed */
  #consulting-content .timeline-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  /* Hide mobile portfolio and modal on desktop */
  #mobile-portfolio-grid,
  .modal {
    display: none !important;
  }
}

/* Large Desktop (1024px+) */
@media (min-width: 1024px) {
  .site-header {
    padding-top: 1.1rem;
  }

  .header-shell {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    justify-content: center;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    list-style: none;
    margin: 0;
  }

  .nav-links a {
    width: auto;
    min-height: 42px;
    padding: 0.5rem 0.9rem;
    background: transparent;
    color: #f0f0f0;
    font-size: 1.05rem;
  }

  .section-title {
    margin-bottom: 1.8rem;
  }

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

@media (min-width: 1280px) {
  .hero-copy h1 {
    font-size: 5.6rem;
  }

}

@keyframes floatStack {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-stack {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Scan CTA Band ──────────────────────────────────────────────────────────*/
.scan-band-section {
  position: relative;
}
.scan-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.25rem;
  background: rgba(185, 255, 46, 0.04);
  border: 1px solid rgba(185, 255, 46, 0.18);
  border-radius: 1.25rem;
}
.scan-band-copy {
  flex: 1 1 auto;
}
.scan-band-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.scan-band-title {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.35rem;
  line-height: 1.35;
}
.scan-band-sub {
  font-size: 0.85rem;
  color: var(--muted-soft);
  margin: 0;
  line-height: 1.5;
}
.scan-band-btn {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .scan-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem;
  }
  .scan-band-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Remove old laptop styles if any remain unused */
.laptop-container-wrapper,
.portfolio-split,
.laptop-wrapper,
.laptop-lid,
.laptop-base {
  display: none !important;
}
