/* Link site-navbar.css after this file in HTML (navbar is not imported here — avoids duplicate loads). */
@import url("site-footer.css");

@font-face {
  font-family: "PP Monument Extended Black";
  src: url("/fonts/PPMonumentExtended-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

body.portfolio-page {
  --brand-blue: #3f75f5;
  --brand-purple: #6030d9;
  --neutral-950: #0a0a0a;
  --neutral-800: #1f2937;
  --neutral-600: #4b5563;
  --neutral-700: #374151;
  --neutral-500: #6b7280;
  --neutral-400: #9ca3af;
  --neutral-200: #e5e7eb;
  --neutral-100: #f3f4f6;
  --neutral-50: #f9fafb;
  --white: #ffffff;
  --font-heading: "PP Monument Extended Black", var(--font-body), system-ui, sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, Segoe UI, sans-serif;
  --radius-full: 999px;
  --radius-xl: 24px;
  --radius-md: 8px;
}

body.portfolio-page,
body.portfolio-page *,
body.portfolio-page *::before,
body.portfolio-page *::after { box-sizing: border-box; }

/* Do not use body.portfolio-page * { margin } — it beats .nav-tab and zeros nav padding. Scope to content only. */
body.portfolio-page section *,
body.portfolio-page footer * {
  margin: 0;
}

body.portfolio-page {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--neutral-950);
  -webkit-font-smoothing: antialiased;
  padding-top: 0;
}

body.portfolio-page a { text-decoration: none; color: inherit; }
body.portfolio-page img { max-width: 100%; height: auto; }

/* LEGAL (terms / privacy) */
body.portfolio-page.legal-page section.legal-section {
  padding-top: 120px;
  padding-bottom: 120px;
}

/* Main content width — exclude nav > .container (see components/navbar.html). */
body.portfolio-page section .container,
body.portfolio-page footer .container {
  max-width: 1440px;
  width: 100%;
  margin-inline: auto;
  padding-left: 53px;
  padding-right: 53px;
}

@media (max-width: 768px) {
  body.portfolio-page section .container,
  body.portfolio-page footer .container { padding-left: 18px; padding-right: 18px; }
}

/* UTIL */
body.portfolio-page .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
body.portfolio-page .pill-outline {
  border: 1px solid rgba(17, 24, 39, 0.22);
  color: rgba(17, 24, 39, 0.78);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ABOUT HERO */
body.portfolio-page.about-page .about-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--site-navbar-height) + 42px) 0 88px;
  background: linear-gradient(180deg, #f6f6f5 0%, #f2f2f2 45%, #f0f0ef 100%);
  overflow: hidden;
}
@media (max-width: 768px) {
  body.portfolio-page.about-page .about-hero {
    padding: calc(var(--site-navbar-height) + 56px) 0 88px;
  }
}
body.portfolio-page.about-page .about-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
body.portfolio-page.about-page .about-hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 64px;
  line-height: 70px;
  letter-spacing: -3.2px;
  text-transform: uppercase;
  color: var(--neutral-950);
  margin: 0 0 28px;
}
body.portfolio-page.about-page .about-hero__title-accent { color: var(--brand-blue); }
body.portfolio-page.about-page .about-hero__subtitle {
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  color: var(--neutral-800);
  margin: 0;
}
body.portfolio-page.about-page .about-hero__col-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  min-height: min(480px, 62vh);
}
body.portfolio-page.about-page .about-hero__bg-ripple {
  position: absolute;
  inset: -45% -35%;
  z-index: 2; /* behind main visual */
  pointer-events: none;
  opacity: 0.72;
  mix-blend-mode: multiply;
  filter: none;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform;
}
body.portfolio-page.about-page .about-hero__bg-ripple::before,
body.portfolio-page.about-page .about-hero__bg-ripple::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62vmin;
  height: 62vmin;
  transform: translate(-50%, -50%) scale(0.92);
  border-radius: 999px;
  /* Topographic / radar rings (less dense, with edge breaks) */
  background:
    repeating-radial-gradient(circle at 50% 50%,
      rgba(10, 10, 10, 0.00) 0px,
      rgba(10, 10, 10, 0.00) 28px,
      rgba(10, 10, 10, 0.18) 29px,
      rgba(10, 10, 10, 0.00) 30px);
  -webkit-mask-image:
    radial-gradient(circle at 50% 50%,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 58%,
      rgba(0,0,0,0) 76%),
    repeating-conic-gradient(from 18deg,
      rgba(0,0,0,1) 0deg,
      rgba(0,0,0,1) 14deg,
      rgba(0,0,0,0) 16deg,
      rgba(0,0,0,1) 22deg,
      rgba(0,0,0,1) 34deg,
      rgba(0,0,0,0) 36deg,
      rgba(0,0,0,1) 52deg,
      rgba(0,0,0,1) 62deg,
      rgba(0,0,0,0) 64deg,
      rgba(0,0,0,1) 90deg);
  mask-image:
    radial-gradient(circle at 50% 50%,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 58%,
      rgba(0,0,0,0) 76%),
    repeating-conic-gradient(from 18deg,
      rgba(0,0,0,1) 0deg,
      rgba(0,0,0,1) 14deg,
      rgba(0,0,0,0) 16deg,
      rgba(0,0,0,1) 22deg,
      rgba(0,0,0,1) 34deg,
      rgba(0,0,0,0) 36deg,
      rgba(0,0,0,1) 52deg,
      rgba(0,0,0,1) 62deg,
      rgba(0,0,0,0) 64deg,
      rgba(0,0,0,1) 90deg);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  opacity: 0;
  animation: aboutHeroTopoRipple 4200ms ease-out infinite;
}
body.portfolio-page.about-page .about-hero__bg-ripple::after { animation-delay: 1200ms; }
@keyframes aboutHeroBgRipple {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.55); }
  18% { opacity: 0.85; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.22); }
}
@keyframes aboutHeroTopoRipple {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.94); }
  18% { opacity: 0.55; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.10); }
}
@media (prefers-reduced-motion: reduce) {
  body.portfolio-page.about-page .about-hero__bg-ripple::before,
  body.portfolio-page.about-page .about-hero__bg-ripple::after {
    animation: none;
    opacity: 0.28;
    transform: translate(-50%, -50%) scale(1);
  }
}
body.portfolio-page.about-page .about-hero__hud { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
body.portfolio-page.about-page .about-hero__scramble-layer { position: absolute; inset: 0; pointer-events: none; }
body.portfolio-page.about-page .about-hero__scramble-float {
  position: absolute;
  transform: translate(-100%, 0);
  opacity: 0;
  user-select: none;
  pointer-events: none;
  transition: opacity 0.25s ease;
  mix-blend-mode: multiply;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
body.portfolio-page.about-page .about-hero__scramble-float.is-in { opacity: 0.92; }
body.portfolio-page.about-page .about-hero__scramble-float.is-out { opacity: 0; }

body.portfolio-page.about-page .about-hero__scramble-line-wrap {
  position: relative;
  flex-shrink: 0;
  width: 1.25em;
  min-height: 12ch;
}

body.portfolio-page.about-page .about-hero__scramble-line {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(63, 117, 245, 0.72);
  text-shadow: 0 0 18px rgba(63, 117, 245, 0.12);
  white-space: nowrap;
  line-height: 1;
}
body.portfolio-page.about-page .about-hero__visual { position: relative; width: min(560px, 100%); height: 100%; }
body.portfolio-page.about-page .about-hero__visual-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 100%);
  height: auto;
  transform: translate(-50%, -52%);
  opacity: 0.9;
  filter: blur(0px);
  pointer-events: none;
  user-select: none;
}
body.portfolio-page.about-page .about-hero__visual-tilt {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  transform-style: preserve-3d;
  /* Default angle: rotateX 55deg, rotateZ -25deg */
  transform: perspective(920px) rotateX(55deg) rotateZ(-25deg);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
body.portfolio-page.about-page .about-hero__visual {
  width: min(560px, 100%);
  height: 100%;
}
body.portfolio-page.about-page .about-hero__img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, 92%); height: auto; }
body.portfolio-page.about-page .about-hero__img--ghost { opacity: 0.0; transition: opacity 240ms ease; }
body.portfolio-page.about-page .about-hero__visual--interactive:hover .about-hero__img--ghost { opacity: 0.22; }

/* Radar / topo contours layer (shows over main visual) */
body.portfolio-page.about-page .about-hero__contours {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  pointer-events: none;
  z-index: 4;
  transform: translateZ(120px) rotateX(55deg) rotateZ(-25deg) scaleY(0.72);
  background-image: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0,
    transparent 40px,
    rgba(63, 117, 245, 0.2) 41px,
    transparent 42px
  );
  opacity: 0.42;
  mix-blend-mode: multiply;
}

/* Ensure rotated base image matches our hero angle spec */
body.portfolio-page.about-page .about-hero__img--base {
  transform: translate(-50%, -50%) rotate(40deg);
}
body.portfolio-page.about-page .about-hero__img--ghost {
  transform: translate(-50%, -50%) rotate(40deg);
}

/* Mid-bottom vertical gradient line (flow) */
body.portfolio-page.about-page .about-hero__line {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 1px;
  height: 64px;
  pointer-events: none;
  z-index: 6;
  overflow: hidden;
}
body.portfolio-page.about-page .about-hero__line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(63, 117, 245, 0.55), transparent);
  animation: about-hero-line-flow 2s infinite ease-in-out;
}
@keyframes about-hero-line-flow {
  0%,
  100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
}
body.portfolio-page.about-page .about-hero__ripple {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(63,117,245,0.55);
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  pointer-events: none;
}
body.portfolio-page.about-page .about-hero__ripple.is-anim { animation: aboutRipple 780ms ease-out 1; }
@keyframes aboutRipple {
  0% { opacity: 0.0; transform: translate(-50%, -50%) scale(0.65); }
  25% { opacity: 0.55; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(10); }
}

@media (prefers-reduced-motion: reduce) {
  body.portfolio-page.about-page .about-hero__line::before { animation: none; transform: none; }
  body.portfolio-page.about-page .about-hero__visual-tilt { transition: none; transform: none !important; }
}

@media (max-width: 1024px) {
  body.portfolio-page.about-page .about-hero__inner { grid-template-columns: 1fr; }
  body.portfolio-page.about-page .about-hero__title { font-size: 48px; line-height: 54px; letter-spacing: -2.4px; }
  body.portfolio-page.about-page .about-hero__col-visual { min-height: 380px; }
}

/* AI HERO */
body.portfolio-page.ai-page { background: #07080a; color: var(--white); }
body.portfolio-page.ai-page .ai-hero {
  position: relative;
  padding: calc(var(--site-navbar-height) + 112px) 0 220px;
  overflow: hidden;
}
body.portfolio-page.ai-page .ai-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px; /* soften seam */
  height: 140px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, rgba(7, 8, 10, 0) 0%, rgba(7, 8, 10, 1) 100%);
}
body.portfolio-page.ai-page .ai-hero__layers { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
body.portfolio-page.ai-page .ai-hero__spotlight {
  position: absolute;
  inset: -40% -30% auto -30%;
  height: 70%;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(63,117,245,0.22), rgba(63,117,245,0) 65%);
}
body.portfolio-page.ai-page .ai-hero__grid-canvas,
body.portfolio-page.ai-page .ai-hero__noise-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
body.portfolio-page.ai-page .ai-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
body.portfolio-page.ai-page .ai-hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -2.6px;
  margin: 0 0 18px;
  text-align: center;
}
body.portfolio-page.ai-page .ai-hero__brand {
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: inherit;
}
body.portfolio-page.ai-page .ai-hero__lead {
  margin: 0 auto 28px;
  max-width: 560px;
  color: rgba(255,255,255,0.76);
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}
body.portfolio-page.ai-page .ai-hero__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
body.portfolio-page.ai-page .ai-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
body.portfolio-page.ai-page .ai-hero__btn--primary { background: var(--white); color: var(--neutral-950); border: 1px solid transparent; }
body.portfolio-page.ai-page .ai-hero__btn--primary:hover { opacity: 0.88; }
body.portfolio-page.ai-page .ai-hero__btn--secondary {
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  background: transparent;
}
body.portfolio-page.ai-page .ai-hero__btn--secondary:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
  opacity: 1;
}
body.portfolio-page.ai-page .ai-hero__btn:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  body.portfolio-page.ai-page .ai-hero__title { font-size: 38px; letter-spacing: -1.7px; }
}

/* AI — what we're exploring */
body.portfolio-page.ai-page .ai-exploring {
  position: relative;
  padding: 88px 0 112px;
  border-top: none;
  background: linear-gradient(180deg, rgba(7, 8, 10, 0) 0%, rgba(63, 117, 245, 0.04) 50%, rgba(7, 8, 10, 0) 100%);
}
body.portfolio-page.ai-page .ai-exploring__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin: 0 0 36px;
  color: var(--white);
  text-transform: uppercase;
}
body.portfolio-page.ai-page .ai-exploring__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}
body.portfolio-page.ai-page .ai-exploring__item {
  margin: 0;
  padding: 24px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
body.portfolio-page.ai-page .ai-exploring__icon-mount {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 220px;
  margin: 0 auto 18px;
  min-height: 140px;
  flex-shrink: 0;
  overflow: visible;
}
body.portfolio-page.ai-page .ai-exploring__icon-mount svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 148px;
  margin-inline: auto;
  overflow: visible;
  vertical-align: middle;
}
body.portfolio-page.ai-page .ai-exploring__item-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}
body.portfolio-page.ai-page .ai-exploring__item-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}
@media (max-width: 900px) {
  body.portfolio-page.ai-page .ai-exploring__list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  body.portfolio-page.ai-page .ai-exploring {
    padding: 64px 0 88px;
  }
  body.portfolio-page.ai-page .ai-exploring__title {
    font-size: 20px;
    margin-bottom: 28px;
  }
}

/* AI — hub (Impact-style lead; scroll-in reveal like about .about-impact) */
body.portfolio-page.ai-page .ai-hub {
  position: relative;
  padding: 96px 0 120px;
  background: var(--neutral-50);
  color: var(--neutral-950);
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

/* Line-by-line hub copy reveal (assets/copy-line-reveal.js); re-triggers each time the section enters */
body.portfolio-page.ai-page .ai-hub.il-line-reveal--pending .ai-hub__lead {
  opacity: 0;
}

body.portfolio-page.ai-page .ai-hub:not(.ai-hub--revealed) .il-line-reveal__line,
body.portfolio-page.ai-page .ai-hub:not(.ai-hub--revealed) .ai-hub__badge,
body.portfolio-page.ai-page .ai-hub:not(.ai-hub--revealed) .ai-hub__title,
body.portfolio-page.ai-page .ai-hub:not(.ai-hub--revealed) .ai-hub__cta {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: none;
}

body.portfolio-page.ai-page .ai-hub.ai-hub--revealed .il-line-reveal__line,
body.portfolio-page.ai-page .ai-hub.ai-hub--revealed .ai-hub__badge,
body.portfolio-page.ai-page .ai-hub.ai-hub--revealed .ai-hub__title,
body.portfolio-page.ai-page .ai-hub.ai-hub--revealed .ai-hub__cta {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.04s + var(--il-line-stagger, 0) * 0.055s);
}

body.portfolio-page.ai-page .ai-hub .il-line-reveal__line {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  body.portfolio-page.ai-page .ai-hub .il-line-reveal__line,
  body.portfolio-page.ai-page .ai-hub .ai-hub__badge,
  body.portfolio-page.ai-page .ai-hub .ai-hub__title,
  body.portfolio-page.ai-page .ai-hub .ai-hub__cta {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  body.portfolio-page.ai-page .ai-hub .ai-hub__lead {
    opacity: 1;
  }
}

body.portfolio-page.ai-page .ai-hub__inner {
  display: block;
  position: relative;
  z-index: 1;
}

body.portfolio-page.ai-page .ai-hub__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(17, 24, 39, 0.18);
  background: rgba(255, 255, 255, 0.75);
  color: rgba(17, 24, 39, 0.82);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin: 0 0 32px;
}
body.portfolio-page.ai-page .ai-hub__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 24px);
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 24px;
  max-width: 42ch;
  color: var(--neutral-950);
}
body.portfolio-page.ai-page .ai-hub__lead {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -1.6px;
  width: 800px;
  max-width: 100%;
  margin: 0 0 32px;
  color: var(--neutral-950);
}
body.portfolio-page.ai-page .ai-hub__accent {
  color: var(--brand-blue);
}
body.portfolio-page.ai-page .ai-hub__cta.ai-hero__btn {
  margin-top: 4px;
  gap: 6px;
  background: var(--neutral-950);
  color: var(--white);
  border: 1px solid var(--neutral-950);
}
body.portfolio-page.ai-page .ai-hub__cta.ai-hero__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: inherit;
}
body.portfolio-page.ai-page .ai-hub__cta.ai-hero__btn:hover {
  opacity: 0.9;
  background: var(--neutral-800);
  border-color: var(--neutral-800);
}
body.portfolio-page.ai-page .ai-hub__cta.ai-hero__btn:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}
@media (max-width: 700px) {
  body.portfolio-page.ai-page .ai-hub {
    padding: 72px 0 96px;
  }
  body.portfolio-page.ai-page .ai-hub__badge {
    margin: 0 0 20px;
  }
  body.portfolio-page.ai-page .ai-hub__title {
    margin: 0 0 18px;
  }
  body.portfolio-page.ai-page .ai-hub__lead {
    width: auto;
    font-size: clamp(28px, 7.2vw, 34px);
    line-height: 1.06;
    letter-spacing: -1.1px;
    margin: 0 0 28px;
  }
}

/* AI — communities (light two-column; timeline ~ about-journey) */
body.portfolio-page.ai-page .ai-communities {
  position: relative;
  padding: 96px 0 120px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  background: #ffffff;
  color: var(--neutral-950);
}
body.portfolio-page.ai-page .ai-communities__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
body.portfolio-page.ai-page .ai-communities__col--timeline {
  min-width: 0;
}
body.portfolio-page.ai-page .ai-communities__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(17, 24, 39, 0.18);
  background: rgba(255, 255, 255, 0.75);
  color: rgba(17, 24, 39, 0.82);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin: 0 0 32px;
}
body.portfolio-page.ai-page .ai-communities__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--neutral-950);
  text-transform: uppercase;
  max-width: 42ch;
}
body.portfolio-page.ai-page .ai-communities__sub {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--neutral-800);
  max-width: 62ch;
}
body.portfolio-page.ai-page .ai-communities__cta.ai-hero__btn {
  margin-top: 24px;
  gap: 6px;
  background: var(--neutral-950);
  color: var(--white);
  border: 1px solid var(--neutral-950);
}
body.portfolio-page.ai-page .ai-communities__cta.ai-hero__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: inherit;
}
body.portfolio-page.ai-page .ai-communities__cta.ai-hero__btn:hover {
  opacity: 0.9;
  background: var(--neutral-800);
  border-color: var(--neutral-800);
}
body.portfolio-page.ai-page .ai-communities__cta.ai-hero__btn:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}
body.portfolio-page.ai-page .ai-communities__city-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 16px;
}
body.portfolio-page.ai-page .ai-communities__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.12);
  background: rgba(17, 24, 39, 0.04);
}
body.portfolio-page.ai-page .ai-communities__flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
body.portfolio-page.ai-page .ai-communities__event-date {
  margin: 4px 0 0;
  padding: 0;
  max-width: 42ch;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--neutral-600);
}
body.portfolio-page.ai-page .ai-communities__timeline-wrap {
  position: relative;
  padding-left: clamp(18px, 2.2vw, 32px);
}
body.portfolio-page.ai-page .ai-communities__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
body.portfolio-page.ai-page .ai-communities__timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(17, 24, 39, 0.1);
}
body.portfolio-page.ai-page .ai-communities__timeline-item {
  position: relative;
  margin: 0;
  padding: 0 0 22px 18px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--neutral-950);
}
body.portfolio-page.ai-page .ai-communities__timeline-item:last-child {
  padding-bottom: 0;
}
body.portfolio-page.ai-page .ai-communities__timeline-item--with-collage .ai-communities__collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 14px;
  margin-bottom: 4px;
  width: 100%;
  max-width: min(100%, 420px);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.06);
}
body.portfolio-page.ai-page .ai-communities__timeline-item--with-collage .ai-communities__event-date + .ai-communities__collage {
  margin-top: 10px;
}
body.portfolio-page.ai-page .ai-communities__collage-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}
body.portfolio-page.ai-page .ai-communities__timeline-item::before {
  content: "";
  position: absolute;
  left: 0.5px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neutral-950);
  box-shadow: 0 0 0 3px #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.12);
}
body.portfolio-page.ai-page .ai-communities__col--timeline .ai-communities__note {
  margin: 20px 0 0;
  padding-left: clamp(18px, 2.2vw, 32px);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--neutral-600);
}
@media (max-width: 900px) {
  body.portfolio-page.ai-page .ai-communities__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  body.portfolio-page.ai-page .ai-communities {
    padding: 72px 0 96px;
  }
  body.portfolio-page.ai-page .ai-communities__badge {
    margin: 0 0 20px;
  }
  body.portfolio-page.ai-page .ai-communities__title {
    font-size: 20px;
    margin-bottom: 16px;
  }
  body.portfolio-page.ai-page .ai-communities__sub {
    font-size: 16px;
  }
  body.portfolio-page.ai-page .ai-communities__timeline-item {
    font-size: 17px;
  }
  body.portfolio-page.ai-page .ai-communities__event-date {
    font-size: 12px;
  }
}

/* JOURNEY */
body.portfolio-page.about-page .about-journey {
  padding: 120px 0 120px;
  background: #ffffff;
}
body.portfolio-page.about-page .about-journey__copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
}
body.portfolio-page.about-page .about-journey__title {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 24px;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}
body.portfolio-page.about-page .about-journey__lead {
  color: var(--neutral-950);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  max-width: 46ch;
}
body.portfolio-page.about-page .about-journey__lead--strong { font-weight: 500; }
body.portfolio-page.about-page .about-journey__lead-rule {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  color: rgba(17,24,39,0.55);
}
body.portfolio-page.about-page .about-journey__lead-rule-line {
  height: 1px;
  background: rgba(17,24,39,0.12);
  width: 100%;
}
body.portfolio-page.about-page .about-journey__lead-rule-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}
body.portfolio-page.about-page .about-journey__body-wrap {
  position: relative;
  padding-left: clamp(18px, 2.2vw, 32px);
}
body.portfolio-page.about-page .about-journey__body-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(17,24,39,0.10);
}
body.portfolio-page.about-page .about-journey__body {
  margin: 0;
  color: var(--neutral-800);
  font-size: 14px;
  line-height: 1.75;
  max-width: 70ch;
}

body.portfolio-page.about-page .about-journey__logo-marquee {
  position: relative;
  margin-top: 38px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  display: flex;
}
body.portfolio-page.about-page .about-journey__logo-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  padding: 12px 0;
  animation: journeyMarquee 36s linear infinite;
  flex: 0 0 auto;
}
body.portfolio-page.about-page .about-journey__logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 44px;
  box-sizing: border-box;
  overflow: visible;
}
body.portfolio-page.about-page .about-journey__logo-img {
  width: auto;
  max-width: 100%;
  height: 32px;
  max-height: 100%;
  padding: 0 14px;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 0.75;
  filter: grayscale(100%);
}

/* Fine-tune a few wordmarks / stacked marks that read too “tight” in the marquee strip */
body.portfolio-page.about-page .about-journey__logo-img[src*="cms.png"] { height: 30px; padding: 0 18px; }
/* Slightly larger than the default strip height — these marks read a bit small at 30px */
body.portfolio-page.about-page .about-journey__logo-img[src*="illusionist-group.png"] { height: 34px; padding: 0 12px; }
body.portfolio-page.about-page .about-journey__logo-img[src*="incuba-alpha.png"] { height: 30px; padding: 0 18px; }
body.portfolio-page.about-page .about-journey__logo-img[src*="ternary-capital.png"] { height: 30px; padding: 0 18px; }
body.portfolio-page.about-page .about-journey__logo-img[src*="thelao.png"] { height: 30px; padding: 0 18px; }
body.portfolio-page.about-page .about-journey__logo-img[src*="gbv.png"] { height: 30px; padding: 0 18px; }
body.portfolio-page.about-page .about-journey__logo-img[src*="divergence.png"] { height: 30px; padding: 0 18px; }
body.portfolio-page.about-page .about-journey__logo-img[src*="hashed.png"] { height: 30px; padding: 0 18px; }
body.portfolio-page.about-page .about-journey__logo-img[src*="d1.png"] { height: 30px; padding: 0 18px; }
body.portfolio-page.about-page .about-journey__logo-img[src*="sanctor.png"] { height: 34px; padding: 0 12px; }
body.portfolio-page.about-page .about-journey__logo-img:hover {
  opacity: 0.95;
  filter: grayscale(0%);
}
body.portfolio-page.about-page .about-journey__logo-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 110px;
  pointer-events: none;
}
body.portfolio-page.about-page .about-journey__logo-fade--left {
  left: 0;
  background: linear-gradient(90deg, #ffffff 10%, rgba(255,255,255,0) 100%);
}
body.portfolio-page.about-page .about-journey__logo-fade--right {
  right: 0;
  background: linear-gradient(270deg, #ffffff 10%, rgba(255,255,255,0) 100%);
}
@keyframes journeyMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  body.portfolio-page.about-page .about-journey__logo-track { animation: none; }
}
@media (max-width: 900px) {
  body.portfolio-page.about-page .about-journey { padding: 64px 0 64px; }
  body.portfolio-page.about-page .about-journey__copy-grid { grid-template-columns: 1fr; }
  body.portfolio-page.about-page .about-journey__body-wrap { padding-left: 0; padding-top: 16px; }
  body.portfolio-page.about-page .about-journey__body-wrap::before { display: none; }
  body.portfolio-page.about-page .about-journey__logo-fade { width: 70px; }
  body.portfolio-page.about-page .about-journey__logo-item { width: 138px; height: 40px; }
  body.portfolio-page.about-page .about-journey__logo-img { height: 30px; padding: 0 12px; }
  body.portfolio-page.about-page .about-journey__logo-img[src*="illusionist-group.png"] { height: 32px; padding: 0 10px; }
  body.portfolio-page.about-page .about-journey__logo-img[src*="sanctor.png"] { height: 32px; padding: 0 10px; }
}

/* IMPACT */
body.portfolio-page.about-page .about-impact {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 120px 0;
  background: var(--neutral-950);
  color: var(--white);
  --impact-rays-scale: 1.28;
}

/* Line-by-line copy reveal (assets/copy-line-reveal.js); re-triggers each time the section enters */
body.portfolio-page.about-page .about-impact.il-line-reveal--pending .about-impact__lead,
body.portfolio-page.about-page .about-impact.il-line-reveal--pending .about-impact__note {
  opacity: 0;
}

body.portfolio-page.about-page .about-impact:not(.about-impact--revealed) .il-line-reveal__line,
body.portfolio-page.about-page .about-impact:not(.about-impact--revealed) .about-impact__kicker,
body.portfolio-page.about-page .about-impact:not(.about-impact--revealed) .about-impact__stats {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: none;
}

body.portfolio-page.about-page .about-impact.about-impact--revealed .il-line-reveal__line,
body.portfolio-page.about-page .about-impact.about-impact--revealed .about-impact__kicker,
body.portfolio-page.about-page .about-impact.about-impact--revealed .about-impact__stats {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.04s + var(--il-line-stagger, 0) * 0.055s);
}

body.portfolio-page.about-page .about-impact .il-line-reveal__line {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  body.portfolio-page.about-page .about-impact .il-line-reveal__line,
  body.portfolio-page.about-page .about-impact .about-impact__kicker,
  body.portfolio-page.about-page .about-impact .about-impact__stats {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  body.portfolio-page.about-page .about-impact .about-impact__lead,
  body.portfolio-page.about-page .about-impact .about-impact__note {
    opacity: 1;
  }
}

body.portfolio-page.about-page .about-impact__inner {
  display: block;
  position: relative;
  z-index: 1;
}
body.portfolio-page.about-page .about-impact__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255,255,255,0.86);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  /* Match index .stats: 32px between section label and content below */
  margin: 0 0 32px;
}
body.portfolio-page.about-page .about-impact__lead {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -1.6px;
  width: 800px;
  max-width: 100%;
  /* Match index hero .hero-heading → .hero-sub rhythm (28px) */
  margin: 0 0 28px;
}
body.portfolio-page.about-page .about-impact__accent { color: var(--brand-blue); }
body.portfolio-page.about-page .about-impact__note {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.7;
  max-width: 62ch;
}
body.portfolio-page.about-page .about-impact__stats {
  margin-top: 32px;
  width: 100%;
  max-width: min(560px, 100%);
}
body.portfolio-page.about-page .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 64px;
}
body.portfolio-page.about-page .stat-cell {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.portfolio-page.about-page .stat-number {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 6px;
}
body.portfolio-page.about-page .stat-label { color: rgba(255,255,255,0.74); font-size: 13px; letter-spacing: 0.02em; }
body.portfolio-page.about-page .about-impact__radial {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 0;
  transform: translateX(-50%) scale(var(--impact-rays-scale));
  transform-origin: 50% 100%;
  width: min(1600px, 160vw);
  pointer-events: none;
  opacity: 0.62;
  line-height: 0;
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}
body.portfolio-page.about-page .about-impact:not(.about-impact--revealed) .about-impact__radial {
  opacity: 0;
  transform: translateX(-50%) scale(calc(var(--impact-rays-scale) * 0.88));
}
@media (prefers-reduced-motion: reduce) {
  body.portfolio-page.about-page .about-impact .about-impact__radial {
    opacity: 0.62;
    transform: translateX(-50%) scale(var(--impact-rays-scale));
    transition: none;
  }
}
body.portfolio-page.about-page .about-impact__radial-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Draw-in animation variables (set by assets/about-impact-rays-animate.js) */
body.portfolio-page.about-page .about-impact__radial path {
  stroke-dasharray: var(--about-impact-dash, none);
  stroke-dashoffset: var(--about-impact-offset, 0);
  opacity: 0.62;
}

@media (max-width: 700px) {
  body.portfolio-page.about-page .about-impact {
    padding: 72px 0;
    --impact-rays-scale: 1.05;
  }
  body.portfolio-page.about-page .about-impact__kicker {
    margin: 0 0 20px;
  }
  body.portfolio-page.about-page .about-impact__lead {
    width: auto;
    font-size: clamp(28px, 7.2vw, 34px);
    line-height: 1.06;
    letter-spacing: -1.1px;
    margin: 0 0 18px;
  }
  body.portfolio-page.about-page .about-impact__note {
    font-size: 15px;
    line-height: 1.65;
  }
  body.portfolio-page.about-page .about-impact__stats {
    margin-top: 24px;
    max-width: 100%;
  }
  body.portfolio-page.about-page .stats-grid {
    grid-template-columns: 1fr;
  }
  body.portfolio-page.about-page .stat-cell {
    padding: 14px;
  }
}

/* ECOSYSTEM */
body.portfolio-page.about-page .about-ecosystem {
  padding: 120px 0 120px;
  background: #ffffff;
}
body.portfolio-page.about-page .about-ecosystem__inner { width: 100%; }

body.portfolio-page.about-page .about-community {
  /* Light “institutional” cards */
  --mm-surface: var(--neutral-50);
  --mm-border: rgba(17, 24, 39, 0.1);
  --mm-text-muted: rgba(17, 24, 39, 0.62);
  --mm-meta: rgba(17, 24, 39, 0.45);
  padding: 0 0 120px;
  background: #ffffff;
}
body.portfolio-page.about-page .about-community__container { width: 100%; }
body.portfolio-page.about-page .about-ecosystem__card {
  border: 0;
  background: #f6f6f5;
  border-radius: 32px;
  padding: clamp(24px, 3vw, 36px);
}
body.portfolio-page.about-page .about-ecosystem__title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 34px;
  letter-spacing: -0.8px;
  margin: 16px 0 18px;
}
body.portfolio-page.about-page #about-ecosystem-title {
  font-size: 24px;
  letter-spacing: -0.4px;
}
body.portfolio-page.about-page #about-community-title {
  font-size: 24px;
  letter-spacing: -0.5px;
}
body.portfolio-page.about-page .about-ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--neutral-200);
  border-left: 1px solid var(--neutral-200);
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
}
body.portfolio-page.about-page .about-ecosystem__cell {
  border-right: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
  padding: 40px 32px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.portfolio-page.about-page .about-ecosystem__cell.is-revealed {
  opacity: 1;
}
body.portfolio-page.about-page .about-ecosystem__logo {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
  max-width: 160px;
  max-height: 44px;
  opacity: 1;
  filter: saturate(0.9);
  transform: translateY(1px) scale(0.98);
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
}
body.portfolio-page.about-page .about-ecosystem__logo[src*="sbi-japan"] {
  padding: 2% 6%;
  box-sizing: border-box;
  max-width: 190px;
  max-height: 54px;
}
body.portfolio-page.about-page .about-ecosystem__cell:hover .about-ecosystem__logo,
body.portfolio-page.about-page .about-ecosystem__cell.is-active .about-ecosystem__logo {
  filter: saturate(1);
  transform: translateY(0) scale(1.04);
}

body.portfolio-page.about-page .about-community__inner {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: clamp(24px, 3vw, 36px);
  padding-right: clamp(24px, 3vw, 36px);
}
body.portfolio-page.about-page .about-community__subtitle {
  margin: -8px 0 28px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(17, 24, 39, 0.58);
}
body.portfolio-page.about-page .about-community__highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
body.portfolio-page.about-page .about-community__highlight-item {
  min-width: 0;
  display: flex;
}
body.portfolio-page.about-page .about-community__highlight-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
body.portfolio-page.about-page .about-community__highlight-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 18px;
  background: var(--mm-surface);
  border: 1px solid var(--mm-border);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s ease;
  box-shadow: none;
}
body.portfolio-page.about-page .about-community__highlight-link:hover {
  border-color: rgba(17, 24, 39, 0.14);
  box-shadow: none;
}
body.portfolio-page.about-page .about-community__highlight-link:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}
body.portfolio-page.about-page .about-community__highlight-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--neutral-100);
}
body.portfolio-page.about-page .about-community__highlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
body.portfolio-page.about-page .about-community__highlight-link:hover .about-community__highlight-media img {
  transform: scale(1.07);
}
@media (prefers-reduced-motion: reduce) {
  body.portfolio-page.about-page .about-community__highlight-media img {
    transition: none;
  }
  body.portfolio-page.about-page .about-community__highlight-link:hover .about-community__highlight-media img {
    transform: none;
  }
}
body.portfolio-page.about-page .about-community__highlight-media--video::after {
  content: "Video";
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.52);
  color: rgba(255, 255, 255, 0.92);
  pointer-events: none;
}
body.portfolio-page.about-page .about-community__highlight-media--placeholder {
  background: linear-gradient(135deg, #ecebe8 0%, #f6f6f5 45%, #e8e7e4 100%);
}
body.portfolio-page.about-page .about-community__highlight-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  gap: 10px;
}
body.portfolio-page.about-page .about-community__highlight-title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--neutral-950);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
body.portfolio-page.about-page .about-community__highlight-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--mm-text-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  flex: 1;
}
body.portfolio-page.about-page .about-community__highlight-meta {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mm-meta);
}
body.portfolio-page.about-page .about-community__highlight-ref {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.38);
}
body.portfolio-page.about-page .about-community__highlight-ref svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: currentColor;
}

@media (max-width: 900px) {
  body.portfolio-page.about-page .about-ecosystem { padding: 96px 0 96px; }
  body.portfolio-page.about-page .about-ecosystem__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.portfolio-page.about-page .about-ecosystem__cell { padding: 34px 26px; height: 120px; }
  body.portfolio-page.about-page .about-ecosystem__logo { max-width: 150px; max-height: 40px; }
  body.portfolio-page.about-page .about-ecosystem__logo[src*="sbi-japan"] { max-width: 175px; max-height: 50px; }
  body.portfolio-page.about-page .about-community__highlights {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  body.portfolio-page.about-page .about-community__highlights::-webkit-scrollbar { display: none; }
  body.portfolio-page.about-page .about-community__highlight-item {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  body.portfolio-page.about-page .about-ecosystem { padding: 72px 0 72px; }
  body.portfolio-page.about-page .about-ecosystem__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.portfolio-page.about-page .about-ecosystem__cell { padding: 28px 18px; height: 110px; }
  body.portfolio-page.about-page .about-ecosystem__logo { max-width: 140px; }
  body.portfolio-page.about-page .about-ecosystem__logo[src*="sbi-japan"] { max-width: 165px; max-height: 46px; }
  body.portfolio-page.about-page .about-community__subtitle {
    font-size: 14px;
    margin-bottom: 22px;
  }
}

/* CTA — careers (mirrors index.html; also ai.html) */
body.portfolio-page.about-page .cta-section,
body.portfolio-page.ai-page .cta-section {
  background: var(--white);
}
body.portfolio-page.about-page .cta-section {
  padding: 0 0 120px;
}
body.portfolio-page.ai-page .cta-section {
  padding: 120px 0 120px;
}
body.portfolio-page.about-page .cta-card,
body.portfolio-page.ai-page .cta-card {
  border: none;
  border-radius: var(--radius-xl);
  padding: 80px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #324764 0%, #0a0a0a 100%);
  overflow: hidden;
}
body.portfolio-page.about-page .cta-heading,
body.portfolio-page.ai-page .cta-heading {
  font-family: var(--font-heading);
  font-size: 64px;
  line-height: 72px;
  letter-spacing: -2.4px;
  text-transform: uppercase;
  color: var(--white);
  width: 1000px;
  max-width: 100%;
  margin: 0;
  white-space: normal;
}
body.portfolio-page.about-page .cta-heading-accent,
body.portfolio-page.ai-page .cta-heading-accent {
  display: inline;
  white-space: normal;
  color: var(--brand-blue);
}
body.portfolio-page.ai-page #ai-cta-heading {
  font-size: 55px;
  width: 1000px;
  max-width: 100%;
}
body.portfolio-page.about-page #about-cta-heading {
  font-size: 55px;
  width: 1000px;
  max-width: 100%;
}
body.portfolio-page.about-page #about-cta-heading .cta-heading-nowrap {
  display: inline-block;
  white-space: nowrap !important;
}
@media (max-width: 768px) {
  body.portfolio-page.about-page #about-cta-heading .cta-heading-nowrap {
    display: inline;
    white-space: normal !important;
  }
}
/* AI page CTA: keep “AI & Web3” on one line */
body.portfolio-page.ai-page #ai-cta-heading .cta-heading-accent {
  white-space: nowrap;
}
body.portfolio-page.about-page .cta-sub,
body.portfolio-page.ai-page .cta-sub {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--neutral-400);
  max-width: 580px;
}
body.portfolio-page.about-page .cta-section .btn,
body.portfolio-page.ai-page .cta-section .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 52px;
  padding: 0 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
  border: none;
  text-decoration: none;
  box-sizing: border-box;
}
body.portfolio-page.about-page .cta-section .btn:hover,
body.portfolio-page.ai-page .cta-section .btn:hover { opacity: 0.85; }
body.portfolio-page.about-page .cta-section .btn-cta-white,
body.portfolio-page.ai-page .cta-section .btn-cta-white {
  background: var(--white);
  color: var(--neutral-950);
}
body.portfolio-page.about-page .cta-section .btn-cta-white:hover,
body.portfolio-page.ai-page .cta-section .btn-cta-white:hover { opacity: 0.9; }
body.portfolio-page.about-page .cta-section .btn:focus-visible,
body.portfolio-page.ai-page .cta-section .btn:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}
body.portfolio-page.about-page .cta-section .btn svg,
body.portfolio-page.ai-page .cta-section .btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
}

@media (max-width: 768px) {
  body.portfolio-page.about-page .cta-section,
  body.portfolio-page.ai-page .cta-section { padding: 80px 0; }
  body.portfolio-page.about-page .cta-card,
  body.portfolio-page.ai-page .cta-card { padding: 50px 24px; }
  body.portfolio-page.about-page .cta-heading,
  body.portfolio-page.ai-page .cta-heading {
    font-size: 36px;
    line-height: 42px;
    letter-spacing: -1.5px;
  }
  body.portfolio-page.about-page #about-cta-heading,
  body.portfolio-page.ai-page #ai-cta-heading {
    font-size: 36px;
    line-height: 42px;
    letter-spacing: -1.5px;
  }
  body.portfolio-page.about-page .cta-heading-accent,
  body.portfolio-page.ai-page .cta-heading-accent { white-space: normal; }
}

@media (max-width: 480px) {
  body.portfolio-page.about-page .cta-heading,
  body.portfolio-page.ai-page .cta-heading {
    font-size: 30px;
    line-height: 36px;
  }
  body.portfolio-page.about-page #about-cta-heading,
  body.portfolio-page.ai-page #ai-cta-heading {
    font-size: 30px;
    line-height: 36px;
  }
}

