:root {
  --bg: #101917;
  --surface: #18231f;
  --surface-strong: #1e2c27;
  --text: #f4f0e8;
  --muted: #b9c3bb;
  --accent: #d6f06b;
  --accent-strong: #8fcf8b;
  --warm: #f3a86b;
  --border: rgba(232, 239, 220, 0.14);
  --shadow: 0 24px 80px rgba(4, 12, 9, 0.35);
  font-family: 'DM Sans', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  padding-top: 56px; /* reserve space for fixed header */
  background:
    radial-gradient(circle at 78% 8%, rgba(214, 240, 107, 0.08), transparent 24%),
    radial-gradient(circle at 5% 48%, rgba(243, 168, 107, 0.06), transparent 22%),
    linear-gradient(180deg, #101917 0%, #12201b 48%, #101917 100%);
}

/* Site header / navigation */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(16, 25, 23, 0.86);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  z-index: 40;
}

.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.brand {
  font-weight: 800;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.nav-links a {
  margin-left: 0;
  color: var(--muted);
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.02);
}

@media (max-width: 680px) {
  .nav-links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: calc(100vw - 5.5rem);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar { display: none; }

  .nav-links a { white-space: nowrap; }
}

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

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

.hero,
.section {
  padding: 3.7rem 0;
}

.hero {
  padding-top: 5.5rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 5%, rgba(56, 189, 248, 0.04), transparent 25%);
  pointer-events: none;
}


.eyebrow {
  margin: 0 0 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.06;
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.12);
  color: #bae6fd;
  font-size: 0.92rem;
}

.lead {
  max-width: 760px;
  margin: 1rem 0 1.6rem;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.4fr) minmax(360px, 1fr);
  gap: 1.3rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-stripe {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 1.8rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #bae6fd;
  font-size: 0.9rem;
}

.hero-copy {
  display: grid;
  gap: 0.95rem;
}

.hero-subtitle {
  margin: 0;
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.75;
  letter-spacing: 0.012em;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button::after,
.button-secondary::after {
  content: '';
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.button::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.65), transparent 70%);
}

.button-secondary::after {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.55), transparent 70%);
}

.button:hover::after,
.button-secondary:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.button {
  background: var(--accent);
  color: #142019;
  box-shadow: 0 18px 35px rgba(214, 240, 107, 0.14);
}

.button-secondary {
  background: rgba(232, 239, 220, 0.06);
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.button,
.button-secondary {
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.proof-pill {
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.hero-stats,
.why-grid,
.services-grid,
.projects-grid,
.showcase-grid {
  display: grid;
  gap: 1rem;
}

.hero-stats {
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 1.4rem;
  justify-items: stretch;
  margin-top: 1.2rem;
  width: 100%;
}

.stat-card,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(16px);
}

.stat-card {
  padding: 0.95rem 0.85rem;
}

.stat-card {
  animation: floatIn 0.8s ease forwards;
  opacity: 0;
  transform: translateY(18px);
  padding: 1.4rem 1.2rem;
}

.stat-card strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-panel ul {
  padding-left: 1rem;
  margin: 0.9rem 0 1rem;
}

.hero-panel li {
  margin-bottom: 0.45rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 520px;
}

.section-heading h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin-top: 0.2rem;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
  max-width: 500px;
  line-height: 1.7;
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.showcase-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  padding: 1.5rem;
  position: relative;
}

.card::before {
  content: '';
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.95), rgba(139, 92, 246, 0.7));
}

.card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.card p,
.card li,
.card span {
  color: var(--muted);
  line-height: 1.7;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.budget-pill {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #bae6fd;
  font-size: 0.8rem;
  white-space: nowrap;
}

.project-card ul {
  padding-left: 1rem;
  margin: 0.9rem 0 1rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(56, 189, 248, 0.12);
  color: #bae6fd;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  font-size: 0.83rem;
}

.testimonial-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.testimonial-card p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #e2e8f0;
}

.testimonial-card strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #f8fafc;
}

.testimonial-card span {
  color: #94a3b8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.15rem;
}

.contact-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 5.4rem 0 2.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-hero h1 {
  max-width: 700px;
  margin-top: 0.35rem;
  letter-spacing: -0.045em;
}

.contact-hero .lead {
  margin-bottom: 0;
  max-width: 610px;
}

.contact-signal {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  padding: 0.65rem 0.85rem;
  color: #c7f9d8;
  font-size: 0.82rem;
  border: 1px solid rgba(74, 222, 128, 0.24);
  background: rgba(74, 222, 128, 0.08);
  border-radius: 999px;
}

.signal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.1);
}

.contact-flow {
  padding: 2rem 0 1.2rem;
}

.booking-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  padding: 1rem 0 0;
}

.booking-trust span {
  padding: 0.75rem 0.8rem;
  color: var(--muted);
  font-size: 0.78rem;
  border-left: 2px solid var(--accent);
  background: rgba(214, 240, 107, 0.05);
}

.booking-trust strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--text);
  font-size: 0.95rem;
}

.journey-card,
.booking-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.journey-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.journey-head h2,
.booking-card h2 {
  margin-top: 0.2rem;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  letter-spacing: -0.035em;
}

.journey-step {
  color: var(--accent);
  font-size: 0.78rem;
  white-space: nowrap;
}

.path-options {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0;
}

.path-option {
  display: grid;
  grid-template-columns: 2.35rem 1fr;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.85rem;
  text-align: left;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.path-option:hover,
.path-option.is-selected {
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(56, 189, 248, 0.1);
  transform: translateX(4px);
}

.path-option strong,
.path-option small {
  display: block;
}

.path-option strong {
  margin-bottom: 0.18rem;
  font-size: 0.95rem;
}

.path-option small {
  color: var(--muted);
  line-height: 1.45;
}

.path-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--accent);
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  font-size: 1.2rem;
}

.recommendation {
  padding: 1.25rem;
  border-left: 2px solid var(--accent);
  background: linear-gradient(100deg, rgba(56, 189, 248, 0.1), rgba(139, 92, 246, 0.06));
}

.recommendation-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.recommendation h3 {
  margin-bottom: 0.35rem;
}

.recommendation p,
.booking-intro {
  margin: 0 0 1.15rem;
}

.recommendation .button {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.booking-card {
  min-width: 0;
}

.booking-intro {
  color: var(--muted);
  line-height: 1.6;
}

.booking-card iframe {
  min-height: 470px;
  border-radius: 14px;
}

.booking-alternative {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.booking-alternative .button-secondary {
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
}

.contact-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.4rem 0 4rem;
}

.contact-proof > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.7rem;
  align-items: start;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.proof-number {
  grid-row: span 2;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-proof strong,
.contact-proof small {
  display: block;
}

.contact-proof strong {
  font-size: 0.92rem;
}

.contact-proof small {
  margin-top: 0.25rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-card ul {
  padding-left: 1.1rem;
  margin: 0.6rem 0 1rem;
  list-style: disc;
}

.contact-card li {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

#price-tag li {
  font-size: 1.1rem;
  color: #f8fafc;
  font-weight: 600;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.contact-copy {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-copy a {
  color: var(--text);
  text-decoration: underline;
}

.text-link {
  color: #bae6fd;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #020617;
  font-weight: 700;
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.2);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.3);
}

.floating-cta::after {
  content: '';
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.65), transparent 70%);
  pointer-events: none;
  z-index: -1;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.floating-cta:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

iframe {
  width: 100%;
  min-height: 540px;
  border: 0;
  border-radius: 20px;
  background: white;
}

footer {
  padding: 2rem 0 3rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--accent);
  transition: all 0.18s ease;
}

.footer-icon svg {
  width: 18px;
  height: 18px;
}

.footer-icon:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}


@media (max-width: 980px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Portfolio refresh */
.portfolio-main {
  max-width: 1240px;
}

.portfolio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  min-height: 660px;
  padding: 5.5rem 0 4rem;
}

.portfolio-hero h1 {
  max-width: 720px;
  margin: 0.65rem 0 1rem;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.portfolio-hero .hero-subtitle {
  max-width: 620px;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--muted);
}

.portfolio-hero .hero-badge {
  margin-bottom: 1.5rem;
  border-color: rgba(214, 240, 107, 0.28);
  background: rgba(214, 240, 107, 0.1);
  color: var(--accent);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.founder-card {
  position: relative;
  padding: 1rem;
  border: 1px solid rgba(214, 240, 107, 0.22);
  background: linear-gradient(145deg, rgba(31, 46, 39, 0.92), rgba(18, 31, 27, 0.96));
  box-shadow: 0 30px 80px rgba(4, 12, 9, 0.3);
  transform: rotate(1.5deg);
}

.founder-photo-wrap {
  height: 315px;
  overflow: hidden;
  background: #d9e0df;
}

.founder-card .hero-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  min-width: 0;
  object-fit: cover;
  object-position: center 25%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.founder-card-copy {
  padding: 1.25rem 0.6rem 0.85rem;
}

.founder-card-copy h2 {
  max-width: 340px;
  margin: 0.25rem 0 0.55rem;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.founder-card-copy p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.founder-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.7rem 0.6rem 0.35rem;
  border-top: 1px solid var(--border);
}

.founder-meta span {
  color: var(--accent);
  font-size: 0.75rem;
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-bar div {
  display: grid;
  gap: 0.2rem;
  padding: 1.15rem 1rem;
  border-right: 1px solid var(--border);
}

.proof-bar div:last-child { border-right: 0; }
.proof-bar strong { color: var(--accent); font-size: 1.35rem; }
.proof-bar span { color: var(--muted); font-size: 0.82rem; }

.outcome-section,
.work-section,
.process-section,
.testimonial-section {
  padding-top: 7rem;
  padding-bottom: 2rem;
}

.engagement-section {
  padding-top: 5rem;
  padding-bottom: 2rem;
}

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

.engagement-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--border);
  background: rgba(24, 35, 31, 0.6);
}

.engagement-card.is-featured {
  border-color: rgba(214, 240, 107, 0.5);
  background: rgba(214, 240, 107, 0.09);
}

.engagement-label {
  margin-bottom: 2.4rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.engagement-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.engagement-card p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.engagement-card a {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.tool-stack {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.tool-stack > span {
  color: var(--muted);
  font-size: 0.82rem;
}

.tool-stack > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.5rem;
}

.tool-stack b {
  padding: 0.4rem 0.65rem;
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(232, 239, 220, 0.05);
  font-size: 0.78rem;
  font-weight: 500;
}

.compact-heading {
  align-items: end;
}

.compact-heading h2 {
  max-width: 660px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.compact-heading > p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.outcome-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.outcome-card,
.case-card {
  position: relative;
  min-height: 260px;
  padding: 1.45rem;
  border: 1px solid var(--border);
  background: rgba(24, 35, 31, 0.72);
  overflow: hidden;
}

.outcome-card::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(214, 240, 107, 0.22);
  border-radius: 50%;
}

.outcome-ops::after { border-color: rgba(243, 168, 107, 0.28); }
.outcome-ai::after { border-color: rgba(143, 207, 139, 0.28); }

.outcome-index,
.case-number {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.outcome-card h3,
.case-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.outcome-card p,
.case-card > p:not(.eyebrow) {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.flow-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.6rem;
  color: var(--accent);
  font-size: 0.77rem;
}

.flow-line span {
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(214, 240, 107, 0.24);
  background: rgba(214, 240, 107, 0.07);
}

.flow-line i { color: var(--muted); font-style: normal; }

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

.case-card {
  min-height: 310px;
  padding: 1.6rem;
  background: rgba(24, 35, 31, 0.55);
}

.case-card:nth-child(2) { background: rgba(243, 168, 107, 0.08); }
.case-card:nth-child(3) { background: rgba(143, 207, 139, 0.08); }

.case-card .case-number { margin-bottom: 1.6rem; }
.case-card .eyebrow { margin-bottom: 0.35rem; color: var(--warm); }
.case-card h3 { max-width: 420px; font-size: 1.65rem; }

.case-result {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.case-result strong,
.case-result span {
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
}

.case-result strong { color: #172019; background: var(--accent); }
.case-result span { color: var(--muted); border: 1px solid var(--border); }

.case-card .tag {
  background: rgba(232, 239, 220, 0.08);
  color: var(--muted);
}

.process-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
  padding-bottom: 7rem;
}

.process-intro { position: sticky; top: 6rem; }
.process-intro h2 { margin: 0.5rem 0 1.2rem; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.04; letter-spacing: -0.055em; }
.process-intro .text-link { color: var(--accent); }

.process-list { border-top: 1px solid var(--border); }
.process-list > div { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--border); }
.process-list > div > span { color: var(--accent); font-size: 0.8rem; }
.process-list h3 { margin-bottom: 0.35rem; font-size: 1.2rem; }
.process-list p { max-width: 470px; margin: 0; color: var(--muted); line-height: 1.6; }

.testimonial-section { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; align-items: stretch; padding-bottom: 7rem; }
.testimonial-highlight,
.testimonial-aside { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--border); background: rgba(24, 35, 31, 0.72); }
.testimonial-highlight { display: flex; flex-direction: column; justify-content: space-between; min-height: 330px; }
.quote-mark { color: var(--accent); font-size: 4rem; line-height: 0.7; }
.testimonial-highlight blockquote { max-width: 650px; margin: 1rem 0 1.5rem; font-size: clamp(1.35rem, 2.5vw, 2.15rem); line-height: 1.2; letter-spacing: -0.04em; }
.testimonial-highlight strong,
.testimonial-highlight div span { display: block; }
.testimonial-highlight div span { margin-top: 0.2rem; color: var(--muted); font-size: 0.85rem; }
.testimonial-dots { display: flex; gap: 0.45rem; margin-top: 1.3rem; }
.testimonial-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(232, 239, 220, 0.25); cursor: pointer; }
.testimonial-dot.is-active { background: var(--accent); }
.testimonial-aside { display: flex; flex-direction: column; justify-content: end; }
.testimonial-aside h2 { margin: 0.35rem 0 0.8rem; font-size: 2rem; line-height: 1.05; letter-spacing: -0.05em; }
.testimonial-aside p:not(.eyebrow) { margin-bottom: 1.5rem; color: var(--muted); line-height: 1.6; }
.testimonial-aside .button { align-self: start; }

.cta-band { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin: 0 0 5rem; padding: clamp(1.6rem, 4vw, 3rem); background: var(--accent); color: #142019; }
.cta-band .eyebrow { color: #486044; }
.cta-band h2 { max-width: 650px; margin: 0.4rem 0 0.55rem; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.06em; }
.cta-band p:not(.eyebrow) { max-width: 560px; margin: 0; color: #486044; line-height: 1.5; }
.cta-band .button { flex-shrink: 0; background: #142019; color: var(--accent); box-shadow: none; }

@media (max-width: 900px) {
  .portfolio-hero { grid-template-columns: 1fr; min-height: auto; }
  .founder-card { max-width: 520px; transform: none; }
  .outcome-grid { grid-template-columns: 1fr; }
  .engagement-grid { grid-template-columns: 1fr; }
  .tool-stack { grid-template-columns: 1fr; }
  .tool-stack > div { justify-content: start; }
  .process-section, .testimonial-section { grid-template-columns: 1fr; gap: 2rem; }
  .process-intro { position: static; }
}

@media (max-width: 680px) {
  .portfolio-hero { padding-top: 3.5rem; }
  .portfolio-hero h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .proof-bar { grid-template-columns: repeat(2, 1fr); }
  .proof-bar div:nth-child(2) { border-right: 0; }
  .proof-bar div:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
  .outcome-section, .work-section, .process-section, .testimonial-section { padding-top: 4.5rem; padding-bottom: 1rem; }
  .compact-heading { display: block; }
  .compact-heading > p { margin-top: 1rem; }
  .case-grid { grid-template-columns: 1fr; }
  .process-section { padding-bottom: 4.5rem; }
  .testimonial-aside .button { margin-bottom: 4.5rem; }
  .cta-band { align-items: start; flex-direction: column; margin-bottom: 3rem; }
}


.hero-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  padding: 1.6rem 1.6rem;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(10, 16, 32, 0.9);
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.22);
}

.hero-panel-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-panel-visual {
  display: grid;
  place-items: center;
  justify-items: center;
}

.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.18s; }
.stat-card:nth-child(3) { animation-delay: 0.32s; }
.stat-card:nth-child(4) { animation-delay: 0.45s; }

@keyframes floatIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-photo {
  width: 100%;
  height: auto;
  min-width: 220px;
  max-width: 320px;
  max-height: 300px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 28px 55px rgba(2, 6, 23, 0.28);
}

@media (max-width: 980px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel-visual {
    justify-items: center;
  }

  .hero-photo {
    max-width: 100%;
    min-width: 0;
  }
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 72%);
  pointer-events: none;
}

.hero-panel h3 {
  margin-bottom: 1rem;
  color: #f8fafc;
}

.hero-panel h3 {
  margin-bottom: 1rem;
}

.hero-panel-footer {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-panel-footer span {
  background: rgba(255,255,255,0.05);
  color: #dbeafe;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
}

.why-card,
.project-card,
.card {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.why-card:hover,
.project-card:hover,
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.35);
}

.testimonial-marquee {
  overflow: hidden;
  position: relative;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 90px rgba(2, 6, 23, 0.22);
  padding: 1.2rem 0;
}

.testimonial-marquee::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(2,8,20,0.95), transparent 18%, transparent 82%, rgba(2,8,20,0.95));
}

.testimonial-track {
  display: flex;
  gap: 1rem;
  padding: 0 1rem;
  transition: transform 0.3s ease;
}

.testimonial-track .card {
  min-width: 320px;
  flex-shrink: 0;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.control-button {
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.control-button::after {
  content: '';
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.55), transparent 70%);
  pointer-events: none;
  z-index: -1;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.control-button:hover:not(:disabled)::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.control-button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(56, 189, 248, 0.12);
}

.control-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-links a {
  display: inline-flex;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255,255,255,0.04);
  color: #bae6fd;
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero,
  .section {
    padding: 3.4rem 0;
  }

  .contact-hero {
    align-items: start;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 3.4rem;
  }

  .contact-proof {
    grid-template-columns: 1fr;
    padding-bottom: 3.4rem;
  }

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

  .booking-alternative {
    align-items: start;
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .floating-cta {
    left: 1rem;
    right: 1rem;
    bottom: 0.8rem;
    text-align: center;
  }
}
