/* ============ Base ============ */
:root {
  --ink: #141220;
  --navy: #0E1330;
  --blue: #21306A;
  --purple: #4C2A7E;
  --violet: #8B7CFF;
  --lilac: #B9A6E8;
  --sky: #5B8DFF;
  --bg: #F2F1F6;
  --muted: #55516A;
  --muted-light: #6E6A80;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--navy);
}

html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  min-height: 100vh;
  overflow-x: clip;
}

::selection { background: var(--violet); color: var(--navy); }

@keyframes bbOrbA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(120px, -60px) scale(1.15); }
  66% { transform: translate(-80px, 50px) scale(0.92); }
}
@keyframes bbOrbB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-140px, 70px) scale(1.2); }
  75% { transform: translate(90px, -40px) scale(0.9); }
}
@keyframes bbGradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============ Shared ============ */
.gradient-text {
  background: linear-gradient(95deg, var(--lilac), var(--violet), var(--sky));
  background-size: 200% 100%;
  animation: bbGradShift 6s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text-dark {
  background: linear-gradient(95deg, var(--blue), var(--purple), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 12px;
  display: inline-block;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-light { color: var(--navy); background: #FFFFFF; }
.btn-light:hover { background: var(--lilac); }

.btn-outline {
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
}
.btn-outline:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, 0.08); }

.btn-dark {
  color: #FFFFFF;
  background: var(--ink);
  font-size: 16px;
  padding: 17px 40px;
}
.btn-dark:hover { background: var(--purple); }

.section-title {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  text-transform: uppercase;
}

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(14, 19, 48, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(14, 19, 48, 0.25);
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img {
  /* The logo PNG has large transparent margins; oversize it and pull the
     margins back so the visible wordmark sits at the intended ~30px height. */
  height: 84px;
  margin: -27px 0 -27px -12px;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.nav-links { display: flex; align-items: center; gap: 34px; }

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-link:hover { color: #FFFFFF; }

.nav-cta {
  color: var(--navy);
  background: linear-gradient(100deg, var(--lilac), var(--violet));
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 10px;
  transition: filter 0.25s ease;
}
.nav-cta:hover { filter: brightness(1.15); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 6px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: #FFFFFF;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(14, 19, 48, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu .nav-link {
  font-size: 26px;
  font-weight: 700;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.85);
}

.mobile-menu .nav-cta {
  margin-top: 20px;
  font-size: 17px;
  padding: 15px 36px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px 48px 100px;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.orb-a {
  top: -10%; right: -5%;
  width: 56vw; height: 56vw;
  background: radial-gradient(circle at 40% 40%, rgba(76, 42, 126, 0.85), rgba(76, 42, 126, 0) 65%);
  animation: bbOrbA 18s ease-in-out infinite;
}
.orb-b {
  bottom: -20%; left: -8%;
  width: 48vw; height: 48vw;
  background: radial-gradient(circle at 60% 50%, rgba(33, 48, 106, 0.95), rgba(33, 48, 106, 0) 65%);
  animation: bbOrbB 22s ease-in-out infinite;
}
.orb-c {
  top: 30%; left: 38%;
  width: 30vw; height: 30vw;
  background: radial-gradient(circle, rgba(139, 124, 255, 0.4), rgba(139, 124, 255, 0) 70%);
  filter: blur(70px);
  animation: bbOrbA 26s ease-in-out 4s infinite;
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.hero-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--lilac);
  margin: 0;
}

.hero-title {
  font-size: clamp(64px, 10vw, 160px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0;
  text-transform: uppercase;
}

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

.hero-copy {
  max-width: 540px;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============ Portfolio detail page ============ */
.detail-hero {
  min-height: 76vh;
  padding: 170px 48px 90px;
}

.detail-title { font-size: clamp(56px, 8.5vw, 130px); }

.detail-hero-grid {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  flex-wrap: wrap;
}

.detail-hero-text {
  display: flex;
  flex-direction: column;
  gap: 36px;
  flex: 1;
  min-width: 320px;
}

.detail-hero-logo {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.detail-hero-logo img {
  width: clamp(200px, 22vw, 320px);
  height: auto;
  filter: drop-shadow(0 0 50px rgba(139, 124, 255, 0.45));
}

.detail-hero-logo img.glow-gold {
  filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.35));
}

.detail-hero-logo img.logo-wide {
  width: clamp(280px, 30vw, 420px);
}

/* AI Services page */
.card.card-compact { min-height: 0; padding: 30px 28px; }
.card-compact .card-bar { margin-bottom: 26px; }

.capability-title { font-size: 22px; margin: 0 0 10px; }

.engagement { padding-top: 0; }

.card.card-dark {
  background: var(--navy);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.08);
  min-height: 0;
  padding: 30px 28px;
}
.card-dark .card-bar { margin-bottom: 26px; }
.card-dark .card-copy { color: rgba(255, 255, 255, 0.65); }

.band-wide .ai-content { max-width: 100%; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px 64px;
  margin-top: 12px;
}

.why-item { display: flex; flex-direction: column; gap: 10px; }

.why-num {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--lilac);
}

.why-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

.why-copy {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.sectors-inner { align-items: baseline; }

.sectors-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  flex-shrink: 0;
}

.sectors-list {
  font-size: clamp(16px, 1.8vw, 24px);
  line-height: 1.7;
  max-width: 900px;
}

/* Partners & Investors page */
.card-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }

.partner-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.card-plus {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(95deg, var(--purple), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
}

.partner-feature {
  align-items: flex-start;
  max-width: 640px;
  padding: 40px 36px;
}

.partner-logo {
  height: 44px;
  width: auto;
  margin-bottom: 22px;
  opacity: 0.95;
}

.partner-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--lilac);
  text-decoration: none;
  margin-top: 22px;
  transition: color 0.2s ease;
}
.partner-link:hover { color: #FFFFFF; }

.ai-content.investor-grid {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  flex-wrap: wrap;
}

.investor-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  min-width: 300px;
  max-width: 480px;
}

.deck-form {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 440px;
  color: var(--ink);
}

.deck-form-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.form-field { display: flex; flex-direction: column; gap: 7px; }

.form-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.deck-form input,
.deck-form select,
.deck-form textarea {
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid rgba(20, 18, 32, 0.14);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.deck-form textarea { resize: vertical; }

.deck-form input:focus,
.deck-form select:focus,
.deck-form textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139, 124, 255, 0.2);
}

.deck-submit {
  margin-top: 6px;
  border: none;
  cursor: pointer;
  font-family: 'Archivo', sans-serif;
  background: linear-gradient(100deg, var(--blue), var(--purple));
  color: #FFFFFF;
}
.deck-submit:hover { background: var(--purple); }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.form-status--success { color: var(--blue); }
.form-status--error { color: #b42318; }

.deck-form { position: relative; }

/* Contact page */
.contact-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  flex-wrap: wrap;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 1;
  min-width: 280px;
}

.detail-item { display: flex; flex-direction: column; gap: 6px; }

.detail-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted-light);
}

.detail-value {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
a.detail-value:hover { color: var(--purple); }

.contact-form {
  border: 1px solid rgba(20, 18, 32, 0.08);
  max-width: 520px;
}

/* About page */
.about-tagline {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.mission-copy {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 1000px;
  margin: 0;
}

.detail-sub-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: -8px;
}

.detail-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(139, 124, 255, 0.5);
  color: var(--lilac);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

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

@keyframes bbPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(139, 124, 255, 0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(139, 124, 255, 0); }
}

.detail-intro { max-width: 720px; }

.card-static { cursor: default; }
.card-static:hover { transform: none; box-shadow: none; }

.feature-title { font-size: 26px; margin: 14px 0 12px; }

.back-section {
  padding: 0 48px 120px;
  max-width: 1376px;
  margin: 0 auto;
}

.back-link {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}
.back-link:hover { color: var(--violet); transform: translateX(-4px); }

/* ============ Strip ============ */
.strip {
  background: var(--navy);
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 36px 48px;
}

.strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.strip-flow {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.strip-arrow { color: var(--violet); }

.strip-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 380px;
}

/* ============ Portfolio ============ */
.portfolio { padding: 120px 48px; }
.portfolio-inner { max-width: 1280px; margin: 0 auto; }

.portfolio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.portfolio-sub {
  font-size: 15px;
  color: var(--muted-light);
  padding-bottom: 10px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 36px 32px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(20, 18, 32, 0.08);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  min-height: 380px;
}

.card:hover { transform: translateY(-8px); }
.card-blue:hover { box-shadow: 0 24px 48px -16px rgba(33, 48, 106, 0.25); }
.card-purple:hover { box-shadow: 0 24px 48px -16px rgba(76, 42, 126, 0.25); }
.card-violet:hover { box-shadow: 0 24px 48px -16px rgba(139, 124, 255, 0.3); }

.card-bar { height: 6px; border-radius: 999px; margin-bottom: 32px; }
.bar-blue { background: linear-gradient(90deg, var(--blue), var(--sky)); }
.bar-purple { background: linear-gradient(90deg, var(--purple), var(--violet)); }
.bar-violet { background: linear-gradient(90deg, var(--violet), var(--lilac)); }

.card-status {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted-light);
}

.card-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 14px 0 6px;
}

.card-tag { font-size: 14px; font-weight: 600; margin: 0 0 16px; }
.tag-blue { color: var(--blue); }
.tag-purple { color: var(--purple); }
.tag-violet { color: #6A55C2; }

.card-copy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  flex: 1;
}

.card-link { font-size: 15px; font-weight: 700; margin-top: 24px; }
.link-blue { color: var(--blue); }
.link-purple { color: var(--purple); }
.link-violet { color: #6A55C2; }

/* ============ AI Band ============ */
.ai-section { padding: 0 48px 120px; }

.ai-band {
  max-width: 1280px;
  margin: 0 auto;
  background: linear-gradient(115deg, var(--navy) 0%, var(--blue) 45%, var(--purple) 100%);
  border-radius: 28px;
  padding: 90px 72px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.ai-orb {
  position: absolute;
  top: -40%; right: -10%;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 124, 255, 0.45), rgba(139, 124, 255, 0) 70%);
  filter: blur(50px);
  animation: bbOrbB 20s ease-in-out infinite;
  pointer-events: none;
}

.ai-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  max-width: 720px;
}

.ai-title {
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
}

.ai-copy {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 540px;
}

/* ============ Contact ============ */
.contact { padding: 40px 48px 140px; }

.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.contact-title {
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
  text-transform: uppercase;
}

.contact-copy { font-size: 18px; color: var(--muted); margin: 0; }

/* ============ Footer ============ */
.footer {
  background: var(--navy);
  color: #FFFFFF;
  padding: 72px 48px 40px;
}

.footer-inner { max-width: 1280px; margin: 0 auto; }

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.footer-logo {
  height: 74px;
  margin: -24px 0 -24px -11px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact a:hover { color: #FFFFFF; }

.footer-col { display: flex; flex-direction: column; gap: 14px; }

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.35);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: #FFFFFF; }

.footer-legal {
  margin: 56px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* ============ Scroll to top ============ */
.to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--lilac), var(--violet));
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(14, 19, 48, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, filter 0.2s ease;
}

.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover { filter: brightness(1.12); }

@media (max-width: 640px) {
  .to-top { bottom: 16px; right: 16px; width: 44px; height: 44px; }
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .card-grid, .card-grid.grid-2 { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ai-band { padding: 64px 40px; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(48px, 15vw, 64px); }
  .ai-title { font-size: clamp(26px, 7.5vw, 36px); }
  .detail-hero { padding: 150px 20px 70px; min-height: 0; }
  .detail-hero-grid { gap: 48px; justify-content: center; }
  .detail-hero-text { min-width: 0; flex-basis: 100%; }
  .detail-hero-logo img { width: 190px; }
  .detail-hero-logo img.logo-wide { width: 260px; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .back-section { padding: 0 20px 80px; }
  .nav { padding: 14px 20px; }
  .hero { padding: 130px 20px 80px; }
  .strip { padding: 28px 20px; }
  .portfolio { padding: 80px 20px; }
  .ai-section { padding: 0 20px 80px; }
  .ai-band { padding: 56px 28px; border-radius: 20px; }
  .contact { padding: 20px 20px 100px; }
  .footer { padding: 56px 20px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; text-align: center; }
  .ai-content .hero-actions { flex-direction: column; }
  .ai-content .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .ai-orb, .gradient-text { animation: none; }
  html { scroll-behavior: auto; }
}
