/* ============================================================
   GECRAFT — Shared Styles
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:          #0d0d0d;
  --bg-card:     #141414;
  --bg-card-2:   #1a1a1a;
  --border:      rgba(255, 255, 255, 0.08);
  --accent:      #25904a;          /* brand green highlight */
  --accent-dim:  rgba(37, 144, 74, 0.12);
  --text:        #ffffff;
  --text-muted:  #888888;
  --text-dim:    #555555;
  --font:        'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max-w:       1200px;
  --radius:      12px;
  --radius-lg:   20px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul, ol {
  list-style: none;
}

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

/* ── Typography ───────────────────────────────────────────── */
.display-xl {
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.display-lg {
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.display-md {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Layout Helpers ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 120px 0;
}

.section--sm {
  padding: 80px 0;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

.btn--primary {
  background: var(--accent);
  color: #0d0d0d;
}

.btn--primary:hover {
  background: #d4f55a;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 12px 0;
}

.btn--ghost:hover {
  color: var(--text);
}

/* Arrow icon helper */
.arrow-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav__logo {
  flex-shrink: 0;
}

.nav__logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}

.nav__cta {
  flex-shrink: 0;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 10px;
  background: var(--accent);
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
}

.footer__brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 240px;
  line-height: 1.7;
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col ul a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__col ul a:hover {
  color: var(--text);
}

.footer__bottom {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* ── Tag / Badge ──────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag--accent {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(200, 240, 74, 0.25);
}

.tag--neutral {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── Number Counter ───────────────────────────────────────── */
.stat-number {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  .section {
    padding: 80px 0;
  }
  .nav__links {
    display: none;
  }
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .nav.nav--open .nav__links {
    display: flex;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    gap: 18px;
    padding: 20px 24px 28px;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--border);
    align-items: center;
  }
  .nav.nav--open .nav__links a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ============================================================
   Home Page (index.html) — page-specific styles
   ============================================================ */

/* Hero */
.hero {
  padding: 120px 0 40px;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(ellipse 55% 75% at 78% 50%, #040c04 0%, transparent 70%);
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero__bg-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(37, 144, 74, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  flex-shrink: 0;
}

.hero__visual {
  flex: 1;
  min-height: 400px;
  max-width: 480px;
  align-self: stretch;
  background-color: transparent;
  background-image: url(/images/intro.webp);
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
  border-radius: 0;
  overflow: hidden;
  box-shadow:
    inset 80px  0    90px 0 #0d0d0d,
    inset -140px 0   130px 0 #0d0d0d,
    inset 0     80px 90px 0 #0d0d0d,
    inset 0    -80px 90px 0 #0d0d0d;
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.hero__label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__heading {
  margin-bottom: 32px;
}

.hero__heading em {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--text-dim), transparent);
}

/* Marquee / ticker */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker__track {
  display: inline-flex;
  animation: ticker-scroll 30s linear infinite;
}

.ticker__track:hover {
  animation-play-state: paused;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker__item::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Stats row */
.stats {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats__item {
  padding: 40px;
  border-right: 1px solid var(--border);
  position: relative;
}

.stats__item:first-child {
  padding-left: 0;
}

.stats__item:last-child {
  border-right: none;
}

.stats__number {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stats__number sup {
  font-size: 0.5em;
  color: var(--accent);
  vertical-align: super;
}

.stats__label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Services teaser */
.services-teaser {
  padding: 120px 0;
}

.services-teaser__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}

.services-teaser__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.5s ease-out, transform 0.5s ease-out;
  cursor: default;
  opacity: 0;
  transform: translateY(24px);
}

.service-card:hover {
  background: var(--bg-card-2);
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
}

.service-card--visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__num {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-left: auto;
}

.service-card__header {
  display: flex;
  align-items: flex-start;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

/* Process section */
.process {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.process__head {
  max-width: 540px;
  margin-bottom: 80px;
}

.process__head h2 {
  margin-top: 16px;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process__step {
  padding: 40px;
  border-right: 1px solid var(--border);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.process__step--visible {
  opacity: 1;
  transform: translateY(0);
}

.process__step:first-child {
  padding-left: 0;
}

.process__step:last-child {
  border-right: none;
}

.process__step-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.process__step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.process__step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
  padding: 80px 0;
}

.cta-banner__inner {
  background: #060606;
  border-radius: 32px;
  padding: 72px 72px 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.cta-banner__glow {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 144, 74, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__text h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 4px;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  margin-top: 24px;
  align-items: flex-start;
}

.cta-banner__actions .btn {
  max-width: 260px;
}

/* Home responsive tweaks */
@media (max-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats__item:nth-child(2) {
    border-right: none;
  }
  .stats__item:nth-child(3) {
    border-top: 1px solid var(--border);
    padding-left: 0;
  }
  .stats__item:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: none;
  }
  .services-teaser__list {
    grid-template-columns: 1fr 1fr;
  }
  .process__steps {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .process__step:nth-child(2) {
    border-right: none;
  }
  .process__step:nth-child(3) {
    border-top: 1px solid var(--border);
    padding-left: 0;
  }
  .process__step:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: none;
  }
  .cta-banner__inner {
    flex-direction: column;
    padding: 60px 48px;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: 80px;
    justify-content: center;
  }
  .hero__visual {
    display: none;
  }
  .hero__scroll {
    display: none;
  }
  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats__item {
    padding: 28px 20px;
  }
  .stats__item:first-child {
    padding-left: 20px;
  }

  .services-hero__visual {
    display: none;
  }
  .services-teaser__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-teaser__list {
    grid-template-columns: 1fr;
  }
  .process__steps {
    grid-template-columns: 1fr;
  }
  .process__step {
    border-right: none;
    border-top: 1px solid var(--border);
    padding: 32px 0;
  }
  .process__step:first-child {
    border-top: none;
  }
  .cta-banner__inner {
    padding: 48px 32px;
  }
  .cta-banner__actions {
    width: 100%;
  }
  .cta-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   About Page (/about/index.html) — page-specific styles
   ============================================================ */

/* Page Hero */
.page-hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.page-hero__content .section-label {
  display: block;
  margin-bottom: 24px;
}

.page-hero__content h1 {
  margin-bottom: 0;
}

.page-hero__aside p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* Services hero visual */
.services-hero__visual {
  min-height: 340px;
  border-radius: var(--radius-lg);
  background-color: var(--bg);
  background-image: url(/images/gecraft-services.webp);
  background-size: auto 110%;
  background-position: right center;
  background-repeat: no-repeat;
}

/* Values / pillars strip */
.pillars {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.pillar {
  padding: 40px;
  border-right: 1px solid var(--border);
}

.pillar:first-child {
  padding-left: 0;
}

.pillar:last-child {
  border-right: none;
}

.pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.pillar p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Story section */
.story {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}

.story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.story__left {
  position: sticky;
  top: 120px;
}

.story__left .section-label {
  margin-bottom: 20px;
  display: block;
}

.story__left h2 {
  margin-bottom: 28px;
}

.story__left p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.story__visual {
  aspect-ratio: 4/5;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin-top: 48px;
}

.story__visual-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,144,74,0.04) 0%, transparent 60%);
}

.story__visual-text {
  position: relative;
  text-align: center;
  padding: 40px;
}

.story__visual-text .display-lg {
  color: rgba(255,255,255,0.06);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.story__right {
  padding-top: 48px;
}

.story__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  position: relative;
}

.timeline__item:last-child {
  border-bottom: 1px solid var(--border);
}

.timeline__year {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 3px;
}

.timeline__content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.timeline__content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* About stats */
.about-stats {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.about-stat {
  padding: 40px;
  border-right: 1px solid var(--border);
  text-align: left;
}

.about-stat:first-child {
  padding-left: 0;
}

.about-stat:last-child {
  border-right: none;
}

.about-stat__num {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat__num sup {
  font-size: 0.45em;
  color: var(--accent);
  vertical-align: super;
}

/* Values */
.values {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}

.values__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: start;
}

.values__left {
  position: sticky;
  top: 120px;
}

.values__left h2 {
  margin-top: 16px;
  margin-bottom: 24px;
}

.values__left p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.value-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px;
  transition: background 0.25s ease;
}

.value-card:hover {
  background: var(--bg-card-2);
}

.value-card__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Stack / tools */
.stack {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.stack__head {
  margin-bottom: 48px;
}

.stack__head h2 {
  margin-top: 16px;
}

.stack__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.stack-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}

.stack-chip:hover {
  background: var(--bg-card-2);
  color: var(--text);
}

.stack-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* About CTA banner */
.cta-banner__text h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 12px;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  margin-top: 10px;
  align-items: flex-start;
}

.cta-banner__actions .btn {
  max-width: 260px;
}

/* About responsive tweaks */
@media (max-width: 1024px) {
  .page-hero__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pillars__grid {
    grid-template-columns: 1fr 1fr;
  }
  .pillar:nth-child(2) {
    border-right: none;
  }
  .pillar:nth-child(3) {
    border-top: 1px solid var(--border);
    padding-left: 0;
  }
  .pillar:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: none;
  }
  .story__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .story__left {
    position: static;
  }
  .about-stats__grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-stat {
    padding: 28px 20px;
  }
  .about-stat:first-child {
    padding-left: 20px;
  }
  .team__grid {
    grid-template-columns: 1fr 1fr;
  }
  .values__grid {
    grid-template-columns: 1fr;
  }
  .cta-banner__inner {
    padding: 48px 32px;
  }
}



/* ============================================================
   SERVICES PAGE — /services/
   ============================================================ */
    /* Page Hero */
    .page-hero {
      padding: 180px 0 100px;
      position: relative;
      overflow: hidden;
      border-bottom: 1px solid var(--border);
    }

    .page-hero__bg {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
    }

    .page-hero__content {
      position: relative;
      z-index: 1;
      max-width: 780px;
    }

    .page-hero__content .section-label {
      margin-bottom: 24px;
      display: block;
    }

    .page-hero__content h1 {
      margin-bottom: 28px;
    }

    .page-hero__content p {
      font-size: 1.125rem;
      color: var(--text-muted);
      line-height: 1.75;
      max-width: 560px;
    }

    /* Services Main Grid */
    .services-main {
      padding: 100px 0;
    }

    .services-main__grid {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    /* Full-width service row */
    .service-row {
      background: var(--bg-card);
      border-radius: var(--radius);
      overflow: hidden;
      transition: background 0.25s ease;
    }

    .service-row:hover {
      background: var(--bg-card-2);
    }

    .service-row__inner {
      display: grid;
      grid-template-columns: 80px 1fr 1fr auto;
      align-items: start;
      gap: 0;
      padding: 48px 48px 48px 0;
    }

    .service-row__num-col {
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding-top: 4px;
    }

    .service-row__num {
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--accent);
      letter-spacing: 0.08em;
      writing-mode: vertical-rl;
      transform: rotate(180deg);
    }

    .service-row__icon {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      background: var(--accent-dim);
      border: 1px solid rgba(37,144,74,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 28px;
    }

    .service-row__icon svg {
      width: 24px;
      height: 24px;
      stroke: var(--accent);
      fill: none;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .service-row__main {
      padding-right: 60px;
    }

    .service-row__main h2 {
      font-size: 1.5rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 12px;
    }

    .service-row__main p {
      font-size: 0.9375rem;
      color: var(--text-muted);
      line-height: 1.75;
      max-width: 400px;
    }

    .service-row__detail {
      padding-right: 60px;
    }

    .service-row__detail h4 {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-dim);
      margin-bottom: 16px;
    }

    .service-row__list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .service-row__list li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.875rem;
      color: var(--text-muted);
    }

    .service-row__list li::before {
      content: '';
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
    }

    .service-row__action {
      align-self: flex-start;
      flex-shrink: 0;
    }

    /* Tech stack section */
    .services-stack {
      padding: 80px 0;
      border-top: 1px solid var(--border);
    }

    .services-stack__head {
      margin-bottom: 32px;
    }

    .services-stack__head p {
      margin-top: 12px;
      color: var(--text-muted);
      font-size: 0.9375rem;
      line-height: 1.7;
      max-width: 520px;
    }

    .services-stack__grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px 60px;
    }

    .services-stack__item h3 {
      font-size: 0.875rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-dim);
      margin-bottom: 6px;
    }

    .services-stack__item p {
      font-size: 0.9375rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* Compact approach: stacked card grid for supplementary services */
    .services-compact {
      padding: 0 0 100px;
    }

    .services-compact__head {
      margin-bottom: 48px;
    }

    .services-compact__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
    }

    .compact-card {
      background: var(--bg-card);
      border-radius: var(--radius);
      padding: 36px;
      transition: background 0.25s ease;
    }

    .compact-card:hover {
      background: var(--bg-card-2);
    }

    .compact-card__top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 20px;
    }

    .compact-card__icon {
      width: 44px;
      height: 44px;
      border-radius: 11px;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .compact-card__icon svg {
      width: 20px;
      height: 20px;
      stroke: var(--text-muted);
      fill: none;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .compact-card h3 {
      font-size: 1.0625rem;
      font-weight: 600;
      letter-spacing: -0.01em;
      margin-bottom: 10px;
    }

    .compact-card p {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* Pricing / Packages section */
    .packages {
      padding: 100px 0;
      border-top: 1px solid var(--border);
    }

    .packages__head {
      text-align: center;
      max-width: 560px;
      margin: 0 auto 72px;
    }

    .packages__head h2 {
      margin-top: 16px;
    }

    .packages__head p {
      margin-top: 16px;
      color: var(--text-muted);
      font-size: 0.9375rem;
      line-height: 1.7;
    }

    .packages__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      align-items: start;
    }

    .package-card {
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      padding: 48px 40px;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    .package-card--featured {
      background: var(--accent);
      color: #0d0d0d;
    }

    .package-card--featured .package-card__price-label,
    .package-card--featured .package-card__desc,
    .package-card--featured .package-card__features li {
      color: rgba(0,0,0,0.6);
    }

    .package-card--featured .package-card__features li::before {
      background: #0d0d0d;
    }

    .package-card__badge {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(0,0,0,0.15);
      color: #0d0d0d;
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 5px 12px;
      border-radius: 50px;
    }

    .package-card__name {
      font-size: 0.875rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--text-dim);
    }

    .package-card--featured .package-card__name {
      color: rgba(0,0,0,0.5);
    }

    .package-card__price {
      display: flex;
      align-items: baseline;
      gap: 6px;
    }

    .package-card__price-val {
      font-size: 3rem;
      font-weight: 700;
      letter-spacing: -0.04em;
      line-height: 1;
    }

    .package-card__price-label {
      font-size: 0.875rem;
      color: var(--text-muted);
    }

    .package-card__desc {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .package-card__divider {
      border: none;
      border-top: 1px solid rgba(255,255,255,0.08);
    }

    .package-card--featured .package-card__divider {
      border-color: rgba(0,0,0,0.12);
    }

    .package-card__features {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .package-card__features li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.875rem;
      color: var(--text-muted);
    }

    .package-card__features li::before {
      content: '';
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%230d0d0d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-size: cover;
    }

    .package-card .btn {
      width: 100%;
      justify-content: center;
    }

    .package-card--featured .btn--primary {
      background: #0d0d0d;
      color: var(--accent);
    }

    /* FAQ */
    .faq {
      padding: 100px 0;
      border-top: 1px solid var(--border);
    }

    .faq__inner {
      display: grid;
      grid-template-columns: 1fr 1.8fr;
      gap: 100px;
      align-items: start;
    }

    .faq__head h2 {
      margin-top: 16px;
    }

    .faq__head p {
      margin-top: 20px;
      color: var(--text-muted);
      font-size: 0.9375rem;
      line-height: 1.7;
    }

    .faq__list {
      display: flex;
      flex-direction: column;
    }

    .faq__item {
      border-top: 1px solid var(--border);
      padding: 28px 0;
    }

    .faq__item:last-child {
      border-bottom: 1px solid var(--border);
    }

    .faq__question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      cursor: pointer;
      user-select: none;
    }

    .faq__question h3 {
      font-size: 1rem;
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    .faq__toggle {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--bg-card-2);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: background 0.2s, transform 0.3s;
    }

    .faq__toggle svg {
      width: 14px;
      height: 14px;
      stroke: var(--text-muted);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      transition: transform 0.3s;
    }

    .faq__item.open .faq__toggle {
      background: var(--accent-dim);
    }

    .faq__item.open .faq__toggle svg {
      stroke: var(--accent);
      transform: rotate(45deg);
    }

    .faq__answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, padding 0.25s ease;
    }

    .faq__answer p {
      padding-top: 16px;
      font-size: 0.9375rem;
      color: var(--text-muted);
      line-height: 1.75;
    }

    .faq__item.open .faq__answer {
      max-height: 300px;
    }

    /* CTA */
    .cta-banner {
      padding: 80px 0;
    }

    .cta-banner__inner {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 60px;
      position: relative;
      overflow: hidden;
    }

    .cta-banner__glow {
      position: absolute;
      right: -100px;
      top: 50%;
      transform: translateY(-50%);
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(37, 144, 74, 0.08) 0%, transparent 70%);
      pointer-events: none;
    }

    .cta-banner__text h2 {
      font-size: clamp(2rem, 4vw, 3.5rem);
      font-weight: 700;
      letter-spacing: -0.025em;
      line-height: 1.1;
      margin-top: 12px;
    }

    .cta-banner__actions {
      display: flex;
      flex-direction: column;
      gap: 16px;
      flex-shrink: 0;
      margin-top: 20px;
      align-items: flex-start;
    }
    .cta-banner__actions .btn {
      max-width: 260px;
    }

    /* ── Responsive ────────────────────────────────────────── */
    @media (max-width: 1024px) {
      .service-row__inner {
        grid-template-columns: 60px 1fr 1fr;
        padding-right: 40px;
      }
      .service-row__action {
        display: none;
      }
      .services-compact__grid {
        grid-template-columns: 1fr 1fr;
      }
      .packages__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
      }
      .faq__inner {
        grid-template-columns: 1fr;
        gap: 48px;
      }
      .cta-banner__inner {
        flex-direction: column;
        padding: 60px 48px;
        gap: 40px;
      }
    }

    @media (max-width: 768px) {
      .service-row__inner {
        grid-template-columns: 1fr;
        padding: 32px 32px;
        gap: 24px;
      }
      .service-row__num-col {
        display: none;
      }
      .service-row__main {
        padding-right: 0;
      }
      .service-row__detail {
        padding-right: 0;
      }
      .services-compact__grid {
        grid-template-columns: 1fr;
      }
      .cta-banner__inner {
        padding: 48px 32px;
      }
    }


/* ============================================================
   ABOUT PAGE — /about/
   ============================================================ */
    /* Page Hero */
    .page-hero {
      padding: 180px 0 100px;
      position: relative;
      overflow: hidden;
      border-bottom: 1px solid var(--border);
    }

    .page-hero__bg {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
    }

    .page-hero__layout {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: end;
    }

    .page-hero__content .section-label {
      display: block;
      margin-bottom: 24px;
    }

    .page-hero__content h1 {
      margin-bottom: 0;
    }

    .page-hero__aside p {
      font-size: 1.0625rem;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 32px;
    }

    /* Values / pillars strip */
    .pillars {
      padding: 80px 0;
      border-bottom: 1px solid var(--border);
    }

    .pillars__grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
    }

    .pillar {
      padding: 40px;
      border-right: 1px solid var(--border);
    }

    .pillar:first-child {
      padding-left: 0;
    }

    .pillar:last-child {
      border-right: none;
    }

    .pillar__icon {
      width: 44px;
      height: 44px;
      border-radius: 11px;
      background: var(--accent-dim);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }

    .pillar__icon svg {
      width: 20px;
      height: 20px;
      stroke: var(--accent);
      fill: none;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .pillar h3 {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 10px;
      letter-spacing: -0.01em;
    }

    .pillar p {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* Story section */
    .story {
      padding: 120px 0;
      border-bottom: 1px solid var(--border);
    }

    .story__inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 100px;
      align-items: start;
    }

    .story__left {
      position: sticky;
      top: 120px;
    }

    .story__left .section-label {
      margin-bottom: 20px;
      display: block;
    }

    .story__left h2 {
      margin-bottom: 28px;
    }

    .story__left p {
      font-size: 0.9375rem;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 20px;
    }

    .story__visual {
      aspect-ratio: 4/5;
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
      margin-top: 48px;
    }

    .story__visual-inner {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(37,144,74,0.04) 0%, transparent 60%);
    }

    .story__visual-text {
      position: relative;
      text-align: center;
      padding: 40px;
    }

    .story__visual-text .display-lg {
      color: rgba(255,255,255,0.06);
      font-size: clamp(5rem, 12vw, 10rem);
      line-height: 1;
      letter-spacing: -0.05em;
    }

    .story__right {
      padding-top: 48px;
    }

    .story__timeline {
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .timeline__item {
      display: grid;
      grid-template-columns: 80px 1fr;
      gap: 24px;
      padding: 32px 0;
      border-top: 1px solid var(--border);
      position: relative;
    }

    .timeline__item:last-child {
      border-bottom: 1px solid var(--border);
    }

    .timeline__year {
      font-size: 0.8125rem;
      font-weight: 700;
      color: var(--accent);
      letter-spacing: 0.06em;
      padding-top: 3px;
    }

    .timeline__content h3 {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 8px;
      letter-spacing: -0.01em;
    }

    .timeline__content p {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* Stats */
    .about-stats {
      padding: 80px 0;
      border-bottom: 1px solid var(--border);
    }

    .about-stats__grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
    }

    .about-stat {
      padding: 40px;
      border-right: 1px solid var(--border);
      text-align: left;
    }

    .about-stat:first-child {
      padding-left: 0;
    }

    .about-stat:last-child {
      border-right: none;
    }

    .about-stat__num {
      font-size: clamp(2.5rem, 4vw, 4rem);
      font-weight: 700;
      letter-spacing: -0.04em;
      line-height: 1;
      margin-bottom: 8px;
    }

    .about-stat__num sup {
      font-size: 0.45em;
      color: var(--accent);
      vertical-align: super;
    }

    .about-stat__label {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* Team section */
    .team {
      padding: 120px 0;
      border-bottom: 1px solid var(--border);
    }

    .team__head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 40px;
      margin-bottom: 72px;
    }

    .team__head h2 {
      margin-top: 16px;
    }

    .team__grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2px;
    }

    .team-card {
      background: var(--bg-card);
      border-radius: var(--radius);
      overflow: hidden;
      transition: background 0.25s ease;
    }

    .team-card:hover {
      background: var(--bg-card-2);
    }

    .team-card__photo {
      aspect-ratio: 3/4;
      background: var(--bg-card-2);
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .team-card__photo-placeholder {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: rgba(255,255,255,0.06);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .team-card__photo-placeholder svg {
      width: 36px;
      height: 36px;
      stroke: var(--text-dim);
      fill: none;
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .team-card__photo-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(20,20,20,0.6) 0%, transparent 50%);
    }

    .team-card__info {
      padding: 24px 28px;
    }

    .team-card__name {
      font-size: 1rem;
      font-weight: 600;
      letter-spacing: -0.01em;
      margin-bottom: 4px;
    }

    .team-card__role {
      font-size: 0.8125rem;
      color: var(--text-muted);
      margin-bottom: 16px;
    }

    .team-card__links {
      display: flex;
      gap: 12px;
    }

    .team-card__links a {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: var(--bg-card-2);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: border-color 0.2s, background 0.2s;
    }

    .team-card__links a:hover {
      border-color: rgba(255,255,255,0.2);
      background: rgba(255,255,255,0.06);
    }

    .team-card__links svg {
      width: 14px;
      height: 14px;
      stroke: var(--text-muted);
      fill: none;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* Values section */
    .values {
      padding: 120px 0;
      border-bottom: 1px solid var(--border);
    }

    .values__inner {
      display: grid;
      grid-template-columns: 1fr 1.5fr;
      gap: 100px;
      align-items: start;
    }

    .values__left {
      position: sticky;
      top: 120px;
    }

    .values__left h2 {
      margin-top: 16px;
      margin-bottom: 24px;
    }

    .values__left p {
      font-size: 0.9375rem;
      color: var(--text-muted);
      line-height: 1.8;
    }

    .values__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
    }

    .value-card {
      background: var(--bg-card);
      border-radius: var(--radius);
      padding: 36px;
      transition: background 0.25s ease;
    }

    .value-card:hover {
      background: var(--bg-card-2);
    }

    .value-card__num {
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--accent);
      letter-spacing: 0.1em;
      margin-bottom: 16px;
    }

    .value-card h3 {
      font-size: 1.0625rem;
      font-weight: 600;
      letter-spacing: -0.01em;
      margin-bottom: 12px;
    }

    .value-card p {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.75;
    }

    /* Stack / tools */
    .stack {
      padding: 80px 0;
      border-bottom: 1px solid var(--border);
    }

    .stack__head {
      margin-bottom: 48px;
    }

    .stack__head h2 {
      margin-top: 16px;
    }

    .stack__logos {
      display: flex;
      flex-wrap: wrap;
      gap: 2px;
    }

    .stack-chip {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--bg-card);
      border-radius: 50px;
      padding: 10px 20px;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--text-muted);
      transition: background 0.2s, color 0.2s;
    }

    .stack-chip:hover {
      background: var(--bg-card-2);
      color: var(--text);
    }

    .stack-chip__dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
    }

    /* CTA */
    .cta-banner {
      padding: 80px 0;
    }

    .cta-banner__inner {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 60px;
      position: relative;
      overflow: hidden;
    }

    .cta-banner__glow {
      position: absolute;
      right: -100px;
      top: 50%;
      transform: translateY(-50%);
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(37, 144, 74, 0.08) 0%, transparent 70%);
      pointer-events: none;
    }

    .cta-banner__text h2 {
      font-size: clamp(2rem, 4vw, 3.5rem);
      font-weight: 700;
      letter-spacing: -0.025em;
      line-height: 1.1;
      margin-top: 12px;
    }

    .cta-banner__actions {
      display: flex;
      flex-direction: column;
      gap: 16px;
      flex-shrink: 0;
      margin-top: 10px;
      align-items: flex-start;
    }
    .cta-banner__actions .btn {
      max-width: 260px;
    }

    /* ── Responsive ────────────────────────────────────────── */
    @media (max-width: 1024px) {
      .page-hero__layout {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .pillars__grid {
        grid-template-columns: 1fr 1fr;
      }
      .pillar:nth-child(2) {
        border-right: none;
      }
      .pillar:nth-child(3) {
        border-top: 1px solid var(--border);
        padding-left: 0;
      }
      .pillar:nth-child(4) {
        border-top: 1px solid var(--border);
        border-right: none;
      }
      .story__inner {
        grid-template-columns: 1fr;
        gap: 60px;
      }
      .story__left {
        position: static;
      }
      .about-stats__grid {
        grid-template-columns: 1fr 1fr;
      }
      .about-stat:nth-child(2) { border-right: none; }
      .about-stat:nth-child(3) {
        border-top: 1px solid var(--border);
        padding-left: 0;
      }
      .about-stat:nth-child(4) {
        border-top: 1px solid var(--border);
        border-right: none;
      }
      .team__grid {
        grid-template-columns: 1fr 1fr;
      }
      .values__inner {
        grid-template-columns: 1fr;
        gap: 60px;
      }
      .values__left {
        position: static;
      }
      .cta-banner__inner {
        flex-direction: column;
        padding: 60px 48px;
        gap: 40px;
      }
    }

    @media (max-width: 768px) {
      .pillars__grid {
        grid-template-columns: 1fr;
      }
      .pillar {
        border-right: none;
        border-top: 1px solid var(--border);
        padding: 32px 0;
      }
      .pillar:first-child {
        border-top: none;
        padding-left: 0;
      }
      .about-stats__grid {
        grid-template-columns: 1fr 1fr;
      }
      .about-stat {
        padding: 28px 20px;
      }
      .about-stat:first-child {
        padding-left: 20px;
      }
      .team__grid {
        grid-template-columns: 1fr 1fr;
      }
      .values__grid {
        grid-template-columns: 1fr;
      }
      .cta-banner__inner {
        padding: 48px 32px;
      }
    }


/* ============================================================
   PORTFOLIO PAGE — /portfolio/
   ============================================================ */
    .page-hero {
      padding: 180px 0 80px;
      position: relative;
      overflow: hidden;
      border-bottom: 1px solid var(--border);
    }

    .page-hero__bg {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
    }

    .page-hero__content {
      position: relative;
      z-index: 1;
      max-width: 720px;
    }

    .page-hero__content .section-label {
      margin-bottom: 24px;
      display: block;
    }

    .page-hero__content h1 {
      margin-bottom: 20px;
    }

    .page-hero__content p {
      font-size: 1.0625rem;
      color: var(--text-muted);
      line-height: 1.8;
      max-width: 520px;
    }

    .projects {
      padding: 80px 0 100px;
    }

    .projects__grid {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .portfolio-hero__visual {
      min-height: 260px;
      border-radius: var(--radius-lg);
      background-color: var(--bg);
      background-image: url(/images/portfolio.webp);
      background-size: auto 100%;
      background-position: right center;
      background-repeat: no-repeat;
    }

    .project-card {
      background: var(--bg-card);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      padding: 32px 32px 28px;
      transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    }

    .project-card--with-media {
      display: grid;
      grid-template-columns: 320px minmax(0, 1fr);
      gap: 32px;
      align-items: stretch;
    }

    .project-card__media {
      border-radius: calc(var(--radius) - 2px);
      overflow: hidden;
      background-color: #000;
      height: 320px;
    }

    .project-card__media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .project-card__body {
      display: flex;
      flex-direction: column;
    }

    .project-card:hover {
      background: var(--bg-card-2);
      border-color: rgba(37,144,74,0.5);
      transform: translateY(-2px);
    }

    .project-card__header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 16px;
    }

    .project-card__title {
      font-size: 1.25rem;
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    .project-card__badge {
      display: inline-flex;
      align-items: center;
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid rgba(37,144,74,0.4);
      background: rgba(37,144,74,0.12);
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
      white-space: nowrap;
    }

    .project-card__description {
      font-size: 0.9375rem;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 20px;
    }

    .project-card__meta {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
      padding-top: 16px;
      border-top: 1px solid var(--border);
    }

    .project-card__meta h3 {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-dim);
      margin-bottom: 8px;
    }

    .project-card__meta p {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .cta-banner {
      margin-bottom: 80px;
    }

    .cta-banner__actions {
      display: flex;
      flex-direction: column;
      gap: 16px;
      flex-shrink: 0;
      margin-top: 24px;
      align-items: flex-start;
    }
    .cta-banner__actions .btn {
      max-width: 260px;
    }

    @media (max-width: 768px) {
      .page-hero {
        padding: 140px 0 60px;
      }

      .project-card {
        padding: 24px 20px 22px;
      }

      .project-card--with-media {
        grid-template-columns: 1fr;
      }

      .portfolio-hero__visual {
        display: none;
      }

      .project-card__meta {
        grid-template-columns: 1fr;
      }
    }
