/* ---------- RESET + BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #111111;
  color: #f5f5f5;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4, h5 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn-primary {
  background: #4ade80;
  color: #0a0a0a;
}
.btn-primary:hover { transform: translateY(-2px); background: #6ee9a0; }

.section-eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 16px;
  font-weight: 600;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px;
}
.big-title {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.section-sub {
  color: #a3a3a3;
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 720px;
}
.mb-lg { margin-bottom: 48px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.logo .dot { color: #4ade80; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-item {
  font-size: 15px;
  color: #d4d4d4;
  font-weight: 500;
  transition: color .2s;
}
.nav-item:hover { color: #4ade80; }
.nav-dropdown {
  position: relative;
}
.nav-dropdown .caret {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  transition: transform .2s;
}
.nav-dropdown:hover .caret,
.nav-dropdown:focus-within .caret {
  transform: rotate(225deg);
  top: 1px;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: #d4d4d4;
}
.dropdown-menu a:hover { background: rgba(74, 222, 128, 0.1); color: #4ade80; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f5f5f5;
  transition: transform .2s;
}

/* ---------- HERO ---------- */
.hero {
  padding: 80px 0 60px;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}
.hero-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #1a1a1a;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.badge-title { font-weight: 600; font-size: 15px; }
.badge-sub { font-size: 13px; color: #a3a3a3; margin-top: 2px; }

.hero-copy .eyebrow {
  font-size: 14px;
  color: #4ade80;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.hero-copy h1 {
  font-size: clamp(44px, 8vw, 96px);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  line-height: 0.95;
}
.hero-tag {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #d4d4d4;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-desc {
  font-size: 18px;
  color: #a3a3a3;
  margin-bottom: 32px;
  max-width: 540px;
}

/* ---------- BRAND STRIP ---------- */
.brands {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.brand-logos img {
  height: 28px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(1) brightness(1.5);
  transition: opacity .2s, filter .2s;
}
.brand-logos img:hover { opacity: 1; filter: none; }

/* ---------- ABOUT ---------- */
.about { padding: 100px 0; }
.about-copy {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 500;
  line-height: 1.35;
  max-width: 1000px;
  margin-bottom: 60px;
  color: #f5f5f5;
  letter-spacing: -0.01em;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  color: #4ade80;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-label { color: #a3a3a3; font-size: 16px; }

/* ---------- SPECIALTIES ---------- */
.specialties { padding: 80px 0; }
.spec-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}
.spec-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.spec-heading .section-title { margin-bottom: 0; white-space: nowrap; }
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 0;
}
.spec-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  transition: opacity .2s;
  display: flex;
  flex-direction: column;
}
.spec-card:hover { transform: none; opacity: 0.85; }
.spec-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
}
.spec-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.spec-card h4 { font-size: 20px; font-weight: 700; margin-bottom: 0; }
.spec-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(74, 222, 128, 0.5);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  font-size: 14px;
  flex-shrink: 0;
}
.spec-card p { color: #a3a3a3; font-size: 15px; }

/* ---------- TESTIMONIALS ---------- */
.testimonials { padding: 100px 0; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.testimonial {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
}
.t-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}
.t-quote {
  font-size: 16px;
  color: #e5e5e5;
  margin-bottom: 20px;
  line-height: 1.6;
}
.t-name { font-weight: 600; margin-bottom: 2px; }
.t-role { color: #a3a3a3; font-size: 14px; }

/* ---------- KEY EXPERIENCES ---------- */
.key-experiences { padding: 100px 0; }
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.exp-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.exp-card:hover { transform: translateY(-4px); border-color: #4ade80; }
.exp-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.exp-card h4 { font-size: 22px; padding: 20px 20px 4px; }
.exp-year { color: #4ade80; font-size: 13px; padding: 0 20px; font-weight: 600; letter-spacing: 0.1em; }
.exp-role { color: #a3a3a3; font-size: 14px; padding: 4px 20px 20px; }

/* ---------- TIMELINE ---------- */
.experience { padding: 100px 0; background: #0d0d0d; }
.timeline {
  margin-top: 48px;
  border-left: 2px solid rgba(74, 222, 128, 0.3);
  padding-left: 32px;
}
.timeline-item {
  margin-bottom: 48px;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px #111111;
}
.t-date {
  color: #4ade80;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.timeline-item h4 {
  font-size: 24px;
  margin-bottom: 6px;
}
.t-company {
  color: #f5f5f5;
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 16px;
}
.timeline-item p:last-child {
  color: #a3a3a3;
  font-size: 15px;
  max-width: 780px;
}

/* ---------- PROFILES ---------- */
.profiles { padding: 100px 0; }
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.profile-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
}
.profile-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 20px;
}
.p-label {
  color: #4ade80;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.profile-card h4 { font-size: 28px; margin-bottom: 16px; }
.profile-card p:last-child { color: #a3a3a3; font-size: 15px; }

/* ---------- WEB WORK ---------- */
.web-work { padding: 100px 0; background: #0d0d0d; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.work-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
  transition: transform .2s, border-color .2s;
}
.work-card:hover { transform: translateY(-4px); border-color: #4ade80; }
.work-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  margin-bottom: 20px;
}
.work-logo img { max-height: 60px; width: auto; }
.work-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}
.work-card h4 { font-size: 24px; margin-bottom: 8px; }
.work-card p { color: #a3a3a3; font-size: 15px; margin-bottom: 16px; }
.work-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- TOOLS ---------- */
.tools { padding: 80px 0; border-top: 1px solid #e0e0e0; }
.tool-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px 32px;
  margin-top: 32px;
}
.tool-grid img {
  width: 100%;
  height: 36px;
  object-fit: contain;
  display: block;
  transition: opacity .2s;
}
.tool-grid img:hover { opacity: 0.7; }

/* ---------- METHODOLOGY ---------- */
.methodology { padding: 100px 0; background: #0d0d0d; }
.method-intro {
  font-size: 18px;
  color: #a3a3a3;
  max-width: 820px;
  margin-bottom: 48px;
}
.method-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
}
.step-num {
  font-size: 48px;
  font-weight: 800;
  color: #4ade80;
  letter-spacing: -0.04em;
  line-height: 1;
}
.step h4 {
  font-size: 24px;
  margin-bottom: 10px;
}
.step p {
  color: #a3a3a3;
  font-size: 15px;
  grid-column: 2;
}
@media (max-width: 960px) {
  .step p { grid-column: auto; }
}

/* ---------- SELECTED WORKS ---------- */
.selected-works { padding: 100px 0; }
.works-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.work-tile {
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform .2s, border-color .2s;
}
.work-tile:hover { transform: translateY(-3px); border-color: #4ade80; }
.work-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.work-tile p {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
}

/* ---------- CONTACT ---------- */
.contact { padding: 100px 0; background: #0d0d0d; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  margin-top: 32px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #d4d4d4;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 14px 16px;
  border-radius: 10px;
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f5f5f5;
  font-size: 15px;
  transition: border-color .2s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4ade80;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: transform .2s, border-color .2s;
}
.contact-link:hover { transform: translateX(4px); border-color: #4ade80; }
.contact-link img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}
.contact-link span {
  font-size: 17px;
  font-weight: 600;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer p { color: #737373; font-size: 14px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    background: #0d0d0d;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px;
    transform: translateX(100%);
    transition: transform .3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > * { width: 100%; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav-dropdown .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 8px 0 0 16px;
    min-width: 0;
  }
  .nav-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { max-width: 400px; margin: 0 auto; }

  .stats-grid,
  .card-grid-3,
  .exp-grid,
  .testimonial-grid,
  .profile-grid,
  .work-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .works-masonry { grid-template-columns: repeat(2, 1fr); }

  .step { grid-template-columns: 1fr; gap: 16px; }
  .step-num { font-size: 36px; }
}

@media (max-width: 540px) {
  .container { padding: 0 20px; }
  .hero { padding: 40px 0; }
  .about, .testimonials, .key-experiences, .experience,
  .profiles, .web-work, .methodology, .selected-works, .contact {
    padding: 60px 0;
  }
  .works-masonry { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-logos { justify-content: center; }
  .brand-logos img { height: 22px; }
  .timeline { padding-left: 24px; }
  .timeline-item::before { left: -33px; }
}

/* ========== DARK BACKGROUND TEXTURE ========== */
.dark-bg-texture {
  position: relative;
  isolation: isolate;
}
.dark-bg-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://cdn.prod.website-files.com/62ed6adbde80f127c7615f6b/6889903c942270565457b326_unsplash_hnysCJrPpkc.jpg') center / cover no-repeat;
  opacity: 0.75;
  z-index: -1;
}

/* ========== LIGHT SECTION THEME ========== */
.section-light {
  background: #f8f8f8 !important;
}
.section-light.brands {
  border-top-color: rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
.section-light .section-eyebrow,
.section-light .p-label,
.section-light .exp-year { color: #16a34a; }
.section-light .section-title,
.section-light .big-title,
.section-light h2,
.section-light h3,
.section-light h4 { color: #0a0a0a; }
.section-light .section-sub,
.section-light .spec-card p,
.section-light .t-quote,
.section-light .t-role,
.section-light .exp-role,
.section-light .method-intro,
.section-light .step p,
.section-light .work-card p,
.section-light .profile-card p:last-child { color: #525252; }
.section-light .about-copy { color: #1a1a1a; }
.section-light .stat-num,
.section-light .step-num { color: #16a34a; }
.section-light .stat-label { color: #525252; }
.section-light .stats-grid { border-top-color: rgba(0, 0, 0, 0.1); }
.section-light .brand-logos img { filter: grayscale(1) brightness(0.6); }
.section-light .spec-card,
.section-light .testimonial,
.section-light .exp-card,
.section-light .profile-card,
.section-light .work-card,
.section-light .step,
.section-light .work-tile,
.section-light .story-card,
.section-light .pillar {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}
.section-light .story-card h3 { color: #16a34a; }
.section-light .story-card p { color: #525252; }
.section-light .pillar h4 { color: #0a0a0a; }
.section-light .pillar p { color: #525252; }
.section-light .pillar::before { color: #16a34a; }
.section-light .method-intro { color: #525252; }
.section-light .t-name,
.section-light .work-card h4,
.section-light .work-tile p { color: #0a0a0a; }
.section-light .work-logo { background: rgba(0, 0, 0, 0.03); }
.section-light .work-tag {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

/* =========================================
   AI PAGE
   ========================================= */

/* Hero */
.ai-hero {
  background: #080808;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.ai-hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(74, 222, 128, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.ai-hero-content {
  position: relative;
  z-index: 1;
}
.ai-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.06);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 24px 0 28px;
}
.ai-headline {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #f5f5f5;
  margin-bottom: 24px;
}
.ai-lead {
  font-size: 18px;
  color: #a3a3a3;
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.ai-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.ai-btn-ghost {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: #d4d4d4;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color .2s, color .2s;
}
.ai-btn-ghost:hover { border-color: #4ade80; color: #4ade80; }
.ai-hero-img {
  width: 100%;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  display: block;
}

/* Stats */
.ai-stats {
  background: #0d0d0d;
  border-top: 1px solid rgba(74, 222, 128, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 72px 0;
}
.ai-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 40px;
  align-items: center;
}
.ai-stat-divider {
  background: rgba(255, 255, 255, 0.08);
  height: 80px;
  width: 1px;
  justify-self: center;
}
.ai-stat-num {
  display: block;
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 800;
  color: #4ade80;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.ai-stat-label {
  font-size: 15px;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 6px;
}
.ai-stat-desc { font-size: 14px; color: #737373; line-height: 1.55; }

/* Split feature sections */
.ai-split { padding: 100px 0; background: #111111; }
.ai-split--alt { background: #0d0d0d; }
.ai-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ai-split-grid--reverse { direction: rtl; }
.ai-split-grid--reverse > * { direction: ltr; }
.ai-split-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 14px;
}
.ai-split-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f5f5f5;
  margin-bottom: 20px;
  line-height: 1.1;
}
.ai-split-body {
  font-size: 16px;
  color: #a3a3a3;
  line-height: 1.75;
  margin-bottom: 28px;
}
.ai-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.ai-tech-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: #4ade80;
  letter-spacing: 0.04em;
  font-family: 'Courier New', monospace;
}
.ai-split-img img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  display: block;
}

/* CTA */
.ai-cta {
  background: #080808;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.ai-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(74, 222, 128, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.ai-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.ai-cta-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f5f5f5;
  margin-bottom: 16px;
  line-height: 1.1;
}
.ai-cta-sub {
  color: #737373;
  font-size: 17px;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 860px) {
  .ai-stats-grid { grid-template-columns: 1fr; }
  .ai-stat-divider { display: none; }
  .ai-split-grid,
  .ai-split-grid--reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
}

/* =========================================
   SUBPAGE STYLES (append to style.css)
   ========================================= */

/* Page hero */
.page-hero {
  padding: 80px 0 40px;
}
.page-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a3a3a3;
  font-size: 14px;
  margin-bottom: 32px;
  transition: color .2s;
}
.page-hero .back-link:hover { color: #4ade80; }
.page-hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  line-height: 1.02;
}
.page-hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4ade80;
  font-weight: 600;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.06);
}
.page-lead {
  font-size: 20px;
  color: #a3a3a3;
  max-width: 760px;
  line-height: 1.5;
  margin-bottom: 32px;
}
.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.tag-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d4d4d4;
  font-size: 13px;
  font-weight: 500;
}
.page-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
  margin: 48px 0 0;
}

/* "By the Numbers" block */
.numbers-block {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.numbers-block h3 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.numbers-grid.four { grid-template-columns: repeat(4, 1fr); }
.num-item .big-num {
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 800;
  color: #4ade80;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.num-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
}
.num-item p {
  color: #a3a3a3;
  font-size: 14px;
}

/* Story cards (where I learned) */
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.story-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
  transition: border-color .2s;
}
.story-card:hover { border-color: rgba(74, 222, 128, 0.4); }
.story-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #4ade80;
}
.story-card p { color: #d4d4d4; font-size: 15px; line-height: 1.7; }

/* Philosophy pillars */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  margin-top: 40px;
  counter-reset: step;
}
.pillar {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  align-items: start;
  counter-increment: step;
}
.pillar::before {
  content: counter(step, decimal-leading-zero);
  font-size: 28px;
  font-weight: 800;
  color: #4ade80;
  letter-spacing: -0.04em;
}
.pillar h4 { font-size: 22px; margin-bottom: 10px; }
.pillar p { color: #a3a3a3; font-size: 15px; }

/* Role card (lean marketing career progression) */
.role-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 24px;
  position: relative;
}
.role-card .role-badge {
  position: absolute;
  top: 32px;
  right: 32px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.role-card .role-date {
  color: #a3a3a3;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.role-card h3 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.role-card .role-summary {
  color: #d4d4d4;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 820px;
}
.role-card h5 {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4ade80;
  font-weight: 700;
  margin-bottom: 16px;
}
.role-card ul {
  list-style: none;
  margin-bottom: 28px;
  padding-left: 0;
}
.role-card ul li {
  color: #a3a3a3;
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
}
.role-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
}
.role-card .callout {
  padding: 16px 20px;
  border-left: 3px solid #4ade80;
  background: rgba(74, 222, 128, 0.06);
  color: #f5f5f5;
  font-weight: 500;
  font-size: 15px;
  border-radius: 4px;
  margin-bottom: 28px;
}
.role-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
}
.role-metric .m-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #4ade80;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  line-height: 1;
}
.role-metric .m-label {
  font-size: 13px;
  color: #a3a3a3;
}

/* Feature section (AI page, project pages) */
.feature-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.feature-section .feature-eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4ade80;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-section h2 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  max-width: 900px;
}
.feature-section .feature-sub {
  color: #d4d4d4;
  font-size: 18px;
  margin-bottom: 24px;
  max-width: 820px;
  font-weight: 500;
}
.feature-section .feature-body {
  color: #a3a3a3;
  font-size: 16px;
  max-width: 820px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.feature-img {
  width: 100%;
  border-radius: 20px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Article cards (Moore Holding) */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.article-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.article-card:hover { transform: translateY(-4px); border-color: #4ade80; }
.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-card .article-body { padding: 24px; }
.article-card .article-date {
  color: #4ade80;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.article-card h4 {
  font-size: 18px;
  line-height: 1.35;
}

/* Portfolio cards (website design page) */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.portfolio-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 48px 32px;
  transition: transform .2s, border-color .2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 320px;
  justify-content: space-between;
}
.portfolio-card:hover { transform: translateY(-4px); border-color: #4ade80; }
.portfolio-card .p-logo {
  height: 60px;
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
.portfolio-card .p-logo img { max-height: 60px; max-width: 200px; }
.portfolio-card h3 { font-size: 28px; margin-bottom: 12px; }
.portfolio-card p { color: #a3a3a3; font-size: 15px; margin-bottom: 20px; }
.portfolio-card .p-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Page hero — light variant */
.page-hero--light { background: #f5f5f5; }
.page-hero--light h1 { color: #0a0a0a; }
.page-hero--light .page-lead { color: #525252; }
.page-hero--light .back-link { color: #737373; }
.page-hero--light .back-link:hover { color: #16a34a; }

/* Website Design Page — Portfolio Showcase */
.wd-showcase { padding: 40px 0 100px; background: #f5f5f5; }
.wd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}
.wd-card--offset { margin-top: 0; }
.wd-card {
  background: #e8e8e8;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  transition: transform .2s;
  text-decoration: none;
}
.wd-card:hover { transform: translateY(-4px); }
.wd-card-img { padding: 24px 24px 0; }
.wd-card-img img {
  width: 100%;
  border-radius: 10px 10px 0 0;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.wd-card-img--placeholder {
  aspect-ratio: 16 / 10;
  background: #d4d4d4;
  border-radius: 10px 10px 0 0;
}
.wd-card--wide .wd-card-img img { aspect-ratio: 21 / 9; }
.wd-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 20px;
}
.wd-card-tag {
  font-size: 13px;
  color: #737373;
  font-weight: 500;
}
.wd-card-logo {
  height: 20px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(1);
}

/* Website Design Page — Experience Copy */
.wd-experience {
  padding: 100px 0;
  background: #111111;
}
.wd-experience .section-eyebrow { color: #4ade80; }
.wd-experience .big-title { color: #f5f5f5; }
.wd-experience .section-sub { color: #a3a3a3; }
.wd-exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
  margin-top: 56px;
}
.wd-exp-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 10px;
}
.wd-exp-item h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  color: #f5f5f5;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.wd-exp-item p { color: #a3a3a3; font-size: 15px; line-height: 1.75; }

@media (max-width: 768px) {
  .wd-grid { grid-template-columns: 1fr; }
  .wd-card--offset { margin-top: 0; }
  .wd-exp-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* CTA banner */
.cta-banner {
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.cta-banner p {
  color: #a3a3a3;
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive overrides */
@media (max-width: 960px) {
  .numbers-grid, .numbers-grid.four { grid-template-columns: repeat(2, 1fr); }
  .story-grid, .article-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .role-card { padding: 28px 24px; }
  .role-card .role-badge { position: static; margin-bottom: 12px; display: inline-block; }
  .role-metrics { grid-template-columns: repeat(2, 1fr); }
  .pillar { grid-template-columns: 1fr; gap: 12px; }
  .pillar::before { font-size: 22px; }
}
@media (max-width: 540px) {
  .numbers-grid, .numbers-grid.four { grid-template-columns: 1fr; }
  .page-hero-image { aspect-ratio: 4 / 3; }
}