:root {
  --bg: #0b0c0e;
  --bg-surface: #12151b;
  --bg-elevated: #181c24;

  --fg: #f3f1eb;
  --fg-body: #d0cec6;
  --fg-muted: #9a9890;

  --border: rgba(243, 241, 235, 0.12);
  --border-strong: rgba(243, 241, 235, 0.24);

  --accent: #e5b95c;
  --accent-ink: #0b0c0e;

  --blue: #60a5fa;
  --green: #34d399;
  --rose: #fb7185;

  --font-jp: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Space Grotesk', 'Zen Kaku Gothic New', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container-max: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

button,
input {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 0.12em 0.4em;
  background: rgba(243, 241, 235, 0.09);
  border-radius: 3px;
  color: var(--fg);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 3000;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  background: #000;
}

.brand__text {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.brand__jp {
  font-weight: 700;
  font-size: 1rem;
}

.brand__en {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.35rem;
}

.site-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-body);
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.site-nav__link:hover {
  color: var(--fg);
}

.site-nav__cta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--fg);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.site-nav__cta:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.3rem;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
}

.btn--primary:hover {
  background: #f0c975;
  border-color: #f0c975;
}

.btn--secondary {
  background: var(--bg-surface);
  color: var(--fg);
  border: 1px solid var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--fg);
  background: var(--bg-elevated);
}

.btn--outline {
  background: var(--bg-surface);
  color: var(--fg);
  border: 1px solid var(--border-strong);
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  white-space: nowrap;
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--large {
  padding: 0.85rem 1.65rem;
  font-size: 1rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--fg-body);
  white-space: nowrap;
}

.status-badge--active {
  border-color: rgba(52, 211, 153, 0.42);
  background: rgba(52, 211, 153, 0.11);
  color: #6ee7b7;
}

.status-badge--deployed {
  border-color: rgba(96, 165, 250, 0.42);
  background: rgba(96, 165, 250, 0.11);
  color: #93c5fd;
}

.status-badge--ended {
  border-color: rgba(251, 113, 133, 0.4);
  background: rgba(251, 113, 133, 0.11);
  color: #fda4af;
}

.status-badge--work {
  border-color: rgba(243, 241, 235, 0.32);
  background: rgba(243, 241, 235, 0.08);
  color: var(--fg);
}

.status-badge--pending {
  border-color: var(--border-strong);
  background: rgba(243, 241, 235, 0.06);
  color: var(--fg-body);
}

.intro-loader {
  display: none;
}

html.is-intro-active .intro-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: var(--bg);
  color: var(--fg);
  padding: 2rem;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s linear 0.65s;
}

html.is-intro-active .intro-loader.is-complete {
  opacity: 0;
  transform: translate3d(0, -100%, 0);
  pointer-events: none;
  visibility: hidden;
}

.intro-loader__inner {
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.intro-loader__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}

.intro-loader__brand {
  color: var(--fg);
  font-weight: 600;
}

.intro-loader__counter {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.2rem;
  font-family: var(--font-en);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.intro-loader__num {
  font-size: clamp(3.4rem, 8vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.intro-loader__unit {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--accent);
}

.intro-loader__track {
  width: 100%;
  height: 3px;
  background: rgba(243, 241, 235, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.intro-loader__fill {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(229, 185, 92, 0.55);
  transition: width 0.04s linear;
}

@keyframes heroFadeDown {
  0% {
    opacity: 0;
    transform: translate3d(0, -14px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroRiseIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes heroCardSlideIn {
  0% {
    opacity: 0;
    transform: translate3d(22px, 14px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes accentBarDraw {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes avatarRingPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 185, 92, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(229, 185, 92, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 185, 92, 0);
  }
}

@keyframes heroAmbientDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -12px, 0) scale(1.05);
  }
}

.site-header {
  position: relative;
  z-index: 20;
  animation: heroFadeDown 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.is-intro-active:not(.is-intro-done) .site-header,
html.is-intro-active:not(.is-intro-done) .hero__identity,
html.is-intro-active:not(.is-intro-done) .hero__title-row,
html.is-intro-active:not(.is-intro-done) .hero__title-accent::after,
html.is-intro-active:not(.is-intro-done) .hero__lead,
html.is-intro-active:not(.is-intro-done) .hero__actions,
html.is-intro-active:not(.is-intro-done) .domain-index,
html.is-intro-active:not(.is-intro-done) .domain-item {
  animation-play-state: paused;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
  --pointer-x: 28%;
  --pointer-y: 35%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(
      620px circle at var(--pointer-x) var(--pointer-y),
      rgba(229, 185, 92, 0.09),
      rgba(96, 165, 250, 0.04) 42%,
      transparent 72%
    ),
    linear-gradient(rgba(243, 241, 235, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 241, 235, 0.028) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  background-position: center center, -1px -1px, -1px -1px;
  mask-image: radial-gradient(ellipse 90% 85% at 50% 45%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 45%, #000 35%, transparent 100%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: 6%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 185, 92, 0.07) 0%, rgba(96, 165, 250, 0.04) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: heroAmbientDrift 11s ease-in-out infinite;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.88fr;
  gap: 3rem;
  align-items: center;
}

.hero__main-col {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

.hero__identity {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  animation: heroRiseIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.hero__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-strong);
  background: #000;
  animation: avatarRingPulse 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s 1;
}

.hero__name-line {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.hero__name-jp {
  font-size: 1.3rem;
  font-weight: 900;
}

.hero__name-en {
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

.hero__role-line {
  font-size: 0.88rem;
  color: var(--fg-muted);
  margin-top: 0.1rem;
}

.hero__title {
  font-size: clamp(2.15rem, 3.85vw, 3.35rem);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.hero__title-row {
  display: block;
  animation: heroRiseIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.hero__title-row:nth-child(2) {
  animation-delay: 0.24s;
}

.hero__title-accent {
  position: relative;
  color: var(--accent);
  display: inline-block;
}

.hero__title-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.11em;
  background: linear-gradient(90deg, var(--accent), rgba(229, 185, 92, 0.25));
  border-radius: 2px;
  transform-origin: left center;
  animation: accentBarDraw 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.58s both;
}

.hero__lead {
  font-size: 1.05rem;
  line-height: 1.88;
  color: var(--fg-body);
  max-width: 58ch;
  animation: heroRiseIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.hero__lead strong {
  color: var(--fg);
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-top: 0.25rem;
  animation: heroRiseIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.44s both;
}

.hero__actions .btn {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.22s;
}

.hero__actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

.domain-index {
  position: relative;
  border-top: 2px solid var(--fg);
  background: rgba(18, 21, 27, 0.88);
  backdrop-filter: blur(8px);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  animation: heroCardSlideIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.domain-index__head {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.domain-index__title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--fg);
}

.domain-index__count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fg-muted);
}

.domain-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.75rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.22s, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  animation: heroCardSlideIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.domain-item:nth-of-type(1) {
  animation-delay: 0.32s;
}

.domain-item:nth-of-type(2) {
  animation-delay: 0.42s;
}

.domain-item:nth-of-type(3) {
  animation-delay: 0.52s;
}

.domain-item:last-child {
  border-bottom: none;
}

.domain-item:hover {
  background: var(--bg-elevated);
  transform: translateX(4px);
}

.domain-item__num {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg-muted);
  padding-top: 0.05rem;
  transition: color 0.2s;
}

.domain-item:hover .domain-item__num {
  color: var(--accent);
}

.domain-item__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.domain-item__top strong {
  font-size: 0.98rem;
  color: var(--fg);
}

.domain-item__top span {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.domain-item__body p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--fg-body);
}

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.section-head__eyebrow {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  margin-bottom: 0.35rem;
}

.section-head__title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.section-head__desc {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--fg-body);
  max-width: 56ch;
}

.feature-work {
  padding-top: 2.75rem;
  margin-bottom: 4.75rem;
  border-top: 1px solid var(--border-strong);
}

.feature-work:last-child {
  margin-bottom: 0;
}

.feature-work__header {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.25rem;
  align-items: start;
  margin-bottom: 1.85rem;
}

.feature-work__meta-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.feature-work__index-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.feature-work__num {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--fg);
}

.feature-work__cat {
  font-size: 0.88rem;
  color: var(--fg-muted);
}

.feature-work__tech {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--fg);
  padding: 0.45rem 0.75rem;
  background: var(--bg-surface);
  border-left: 2px solid var(--border-strong);
  margin-top: 0.2rem;
}

.feature-work__desc-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-work__title {
  font-size: clamp(1.38rem, 2.15vw, 1.82rem);
  font-weight: 900;
  line-height: 1.35;
  color: var(--fg);
}

.title-chunk {
  display: inline-block;
}

.feature-work__summary {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--fg-body);
}

.feature-work__action-row {
  display: flex;
  align-items: center;
  padding-top: 0.15rem;
}

.fn-showcase {
  background: #0c1017;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.fn-showcase__topbar {
  padding: 0.75rem 1.25rem;
  background: #131924;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.fn-showcase__title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ui-window-dots {
  display: inline-flex;
  gap: 5px;
}

.ui-window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(243, 241, 235, 0.25);
}

.ui-window-dots i:first-child {
  background: var(--blue);
}

.fn-showcase__app-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fg);
}

.fn-showcase__caption {
  font-size: 0.82rem;
  color: var(--fg-body);
}

.fn-Controls {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: #0f151e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.fn-phases {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fn-phase-btn {
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #151c28;
  color: var(--fg-body);
  transition: all 0.2s;
}

.fn-phase-btn:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.fn-phase-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.fn-timeline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 240px;
  max-width: 380px;
  justify-content: flex-end;
}

.fn-timeline__label {
  font-size: 0.84rem;
  color: var(--fg-body);
  white-space: nowrap;
}

.fn-timeline__label strong {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
}

.fn-timeline__slider-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 44px;
}

.fn-timeline__slider {
  width: 100%;
  min-height: 44px;
  height: 44px;
  accent-color: var(--accent);
  cursor: pointer;
  background: transparent;
}

.fn-timeline__slider::-webkit-slider-runnable-track {
  height: 8px;
  background: rgba(243, 241, 235, 0.2);
  border-radius: 999px;
}

.fn-timeline__slider::-webkit-slider-thumb {
  margin-top: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.fn-timeline__slider::-moz-range-track {
  height: 8px;
  background: rgba(243, 241, 235, 0.2);
  border-radius: 999px;
}

.fn-timeline__slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
}

.fn-workspace {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
}

.fn-map-panel {
  padding: 1.15rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
}

.fn-map-panel__overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.fn-hud-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
  background: #161f2c;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--fg);
}

.fn-map-stage {
  width: 100%;
}

.fn-map-svg {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: block;
}

.fn-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.8rem;
  color: var(--fg-body);
}

.fn-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.fn-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fn-dot--gold {
  background: var(--accent);
}

.fn-dot--blue {
  background: var(--blue);
}

.fn-dot--rose {
  background: var(--rose);
}

.fn-dot--zone {
  border: 1.5px solid var(--fg);
  background: transparent;
}

.fn-data-panel {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
}

.fn-data-block {
  background: #131924;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fn-data-block__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
}

.fn-data-block__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fg-body);
  line-height: 1.4;
}

.fn-data-block__val {
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.35;
}

.fn-data-block__val--accent {
  color: var(--accent);
}

.fn-mats-bars {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.fn-mat-row {
  display: grid;
  grid-template-columns: 3.4rem 1fr 2.6rem;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
}

.fn-mat-row__label {
  color: var(--fg-body);
  white-space: nowrap;
}

.fn-mat-row__track {
  height: 8px;
  background: rgba(243, 241, 235, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.fn-mat-row__fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.2s ease;
}

.fn-mat-row__fill--wood {
  background: #d97706;
}

.fn-mat-row__fill--brick {
  background: #e11d48;
}

.fn-mat-row__fill--metal {
  background: #60a5fa;
}

.fn-mat-row__num {
  font-family: var(--font-mono);
  text-align: right;
  color: var(--fg);
  white-space: nowrap;
}

.fn-chart-box {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.fn-chart-scale-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--fg-muted);
}

.fn-chart-stage {
  display: grid;
  grid-template-columns: 2.95rem 1fr;
  column-gap: 0.45rem;
  row-gap: 0.35rem;
  align-items: stretch;
}

.fn-chart-yaxis {
  position: relative;
  margin: 1px 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1;
  color: var(--fg-muted);
  white-space: nowrap;
  user-select: none;
}

.fn-chart-ytick {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  text-align: right;
  line-height: 1;
}

.fn-chart-plot {
  position: relative;
  background: #0b0f16;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.fn-chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.fn-chart-xaxis {
  grid-column: 2;
  position: relative;
  height: 1.2rem;
  margin: 0 1px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1;
  color: var(--fg-muted);
  white-space: nowrap;
  user-select: none;
}

.fn-chart-xtick {
  position: absolute;
  top: 0.1rem;
  transform: translateX(-50%);
  line-height: 1;
  transition: color 0.2s ease;
}

.fn-chart-xtick.is-active-tick {
  color: var(--fg);
  font-weight: 600;
}

.fn-chart-xtick--start {
  transform: translateX(0);
}

.fn-chart-xtick--end {
  transform: translateX(-100%);
}

.fn-chart-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.78rem;
  color: var(--fg-body);
}

.fn-chart-caption span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.fn-data-block--note {
  background: #101620;
  border-color: var(--border-strong);
  gap: 0.3rem;
}

.fn-data-block__note-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fg);
}

.fn-data-block__desc {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--fg-body);
}

.fisteria-board {
  background-color: #10131a;
  background-image: radial-gradient(rgba(243, 241, 235, 0.07) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.fisteria-board__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.fisteria-board__community {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.fisteria-board__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
}

.fisteria-board__sub {
  display: block;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.fisteria-board__title {
  font-size: 0.98rem;
  color: var(--fg);
}

.fisteria-board__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fisteria-mod-btn {
  min-height: 44px;
  padding: 0.48rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--fg-body);
  transition: all 0.2s;
}

.fisteria-mod-btn:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.fisteria-mod-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.fisteria-diagram-view {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.fisteria-col-headers {
  display: grid;
  grid-template-columns: 1fr 84px 1.15fr 84px 1fr;
  padding: 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fg-muted);
}

.fisteria-col-headers span:nth-child(2) {
  grid-column: 3;
}

.fisteria-col-headers span:nth-child(3) {
  grid-column: 5;
}

.fisteria-lanes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fisteria-lane {
  display: grid;
  grid-template-columns: 1fr 84px 1.15fr 84px 1fr;
  align-items: center;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(18, 21, 28, 0.9);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.fisteria-lane--deprecated {
  border-style: dashed;
  border-color: rgba(251, 113, 133, 0.32);
  background: rgba(15, 17, 23, 0.92);
}

.fisteria-lane.is-active {
  border-color: var(--accent);
  border-width: 1.5px;
  border-style: solid;
  background: rgba(28, 26, 20, 0.95);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
}

.fisteria-node {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #141821;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.fisteria-lane.is-active .fisteria-node--tool {
  border-color: var(--accent);
  background: #1b1914;
}

.fisteria-node__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fg-muted);
}

.fisteria-node__badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.1rem;
}

.fisteria-state-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}

.fisteria-state-tag--active {
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.38);
}

.fisteria-state-tag--ended {
  background: rgba(251, 113, 133, 0.12);
  color: #fda4af;
  border: 1px solid rgba(251, 113, 133, 0.35);
}

.fisteria-tech-tag {
  font-size: 0.75rem;
  color: var(--fg-body);
}

.fisteria-node__name {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.38;
  color: var(--fg);
}

.fisteria-node__sub {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--fg-body);
}

.fisteria-edge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 0.25rem;
}

.fisteria-edge__line {
  width: 100%;
  height: 2px;
  background: var(--border-strong);
}

.fisteria-edge--dashed .fisteria-edge__line {
  background: repeating-linear-gradient(
    90deg,
    rgba(243, 241, 235, 0.32) 0,
    rgba(243, 241, 235, 0.32) 5px,
    transparent 5px,
    transparent 9px
  );
}

.fisteria-lane.is-active .fisteria-edge__line {
  background: var(--accent);
}

.fisteria-edge__label {
  font-size: 0.74rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
  white-space: nowrap;
}

.fisteria-lane.is-active .fisteria-edge__label {
  color: var(--accent);
  font-weight: 700;
}

.fisteria-edge__arrow {
  position: absolute;
  right: 2px;
  top: -7px;
  font-size: 0.7rem;
  color: var(--fg-muted);
}

.fisteria-lane.is-active .fisteria-edge__arrow {
  color: var(--accent);
}

.fisteria-detail-bar {
  margin-top: 0.25rem;
  padding: 1rem 1.15rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.fisteria-detail-bar__badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

.fisteria-detail-bar__text {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--fg-body);
}

@keyframes ccRouteFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.childcare-paper {
  --paper-bg: #0d1016;
  --paper-surface: #141821;
  --paper-surface-idle: #10141c;
  --paper-subtle: #12151b;
  --paper-ink: var(--fg);
  --paper-body: var(--fg-body);
  --paper-muted: var(--fg-muted);
  --paper-border: var(--border);
  --paper-border-idle: var(--border-strong);
  --paper-line-idle: rgba(243, 241, 235, 0.24);
  --paper-accent: var(--accent);
  --paper-accent-ink: var(--accent-ink);
  --paper-accent-bg: rgba(229, 185, 92, 0.11);
  --paper-highlight-bg: rgba(229, 185, 92, 0.16);

  background: var(--paper-bg);
  color: var(--paper-ink);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.36);
}

.childcare-paper__head {
  padding: 1.25rem 1.5rem;
  background: var(--paper-subtle);
  border-bottom: 1px solid var(--paper-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.childcare-paper__kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--paper-accent);
  margin-bottom: 0.15rem;
}

.childcare-paper__heading {
  font-size: 1rem;
  font-weight: 800;
  color: var(--paper-ink);
}

.childcare-paper__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cc-route-btn {
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 700;
  background: var(--paper-surface);
  color: var(--paper-body);
  border: 1px solid var(--paper-border-idle);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.cc-route-btn:hover {
  border-color: var(--paper-ink);
  color: var(--paper-ink);
}

.cc-route-btn:focus-visible,
.text-trigger:focus-visible {
  outline: 2.5px solid var(--paper-accent);
  outline-offset: 2px;
}

.cc-route-btn.is-active {
  background: var(--paper-accent);
  border-color: var(--paper-accent);
  color: var(--paper-accent-ink);
}

.childcare-diagram-view {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cc-map {
  display: grid;
  grid-template-columns: 0.9fr 110px 1fr 1.35fr;
  align-items: center;
  gap: 0.5rem;
}

.cc-node {
  background: var(--paper-surface-idle);
  border: 1.5px solid var(--paper-border-idle);
  border-radius: var(--radius-sm);
  padding: 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  transition: border-color 0.22s, background-color 0.22s, box-shadow 0.22s, transform 0.22s;
}

.cc-node--hub {
  border-width: 2px;
  border-color: var(--paper-accent);
  background: var(--paper-accent-bg);
}

.cc-node.is-highlighted {
  background: var(--paper-surface);
  border: 2px solid var(--paper-accent);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}

.cc-map.is-single-route .cc-node--parent.is-highlighted,
.cc-map.is-single-route .cc-target-row.is-highlighted .cc-node--target {
  background: #1b1914;
  border: 2.5px solid var(--paper-accent);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(229, 185, 92, 0.25);
}

.cc-node__role {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--paper-muted);
}

.cc-node.is-highlighted .cc-node__role,
.cc-target-row.is-highlighted .cc-node__role {
  color: var(--paper-accent);
}

.cc-node__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: var(--paper-accent);
  color: var(--paper-accent-ink);
}

.cc-node__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
}

.cc-node__tech {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--paper-muted);
}

.cc-node__title {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--paper-ink);
}

.cc-node__short {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--paper-body);
}

.cc-link--main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0 0.2rem;
}

.cc-link__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--paper-muted);
  text-align: center;
  line-height: 1.3;
  padding: 0.12rem 0.45rem;
  border-radius: 3px;
  background: transparent;
  border: 1px solid transparent;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.cc-link--main.is-highlighted .cc-link__label {
  color: var(--paper-accent);
  background: var(--paper-accent-bg);
  border-color: rgba(229, 185, 92, 0.35);
}

.cc-link__line {
  width: 100%;
  height: 1.5px;
  background: var(--paper-line-idle);
  position: relative;
  transition: background-color 0.2s, height 0.2s;
}

.cc-link--main.is-highlighted .cc-link__line {
  height: 3px;
  background: linear-gradient(90deg, var(--paper-accent) 0%, #f7dfa0 50%, var(--paper-accent) 100%);
  background-size: 200% 100%;
  animation: ccRouteFlow 2.4s linear infinite;
}

.cc-col--targets {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: relative;
  padding-left: 14px;
}

.cc-col--targets::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 2.5px;
  background: var(--paper-accent);
  transform: translateY(-50%);
}

.cc-target-row {
  position: relative;
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
}

.cc-target-row::before {
  content: '';
  position: absolute;
  left: 0;
  width: 2.5px;
  background: var(--paper-accent);
  top: 0;
  bottom: -0.65rem;
  transition: background-color 0.2s;
}

.cc-target-row:first-child::before {
  top: 50%;
}

.cc-target-row:last-child::before {
  bottom: auto;
  height: 50%;
}

.cc-target-row.is-highlighted .cc-node--target {
  background: var(--paper-surface);
  border: 2px solid var(--paper-accent);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}

.cc-branch-line {
  position: relative;
  height: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.cc-branch-line::before {
  content: '';
  position: absolute;
  left: 1.25px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--paper-line-idle);
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: background-color 0.2s, width 0.2s, height 0.2s;
}

.cc-target-row.is-highlighted .cc-branch-line::before {
  background: var(--paper-accent);
  width: 8px;
  height: 8px;
}

.cc-branch-line__bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1.5px;
  background: var(--paper-line-idle);
  transition: background-color 0.2s, height 0.2s;
}

.cc-target-row.is-highlighted .cc-branch-line__bar {
  height: 3px;
  background: linear-gradient(90deg, var(--paper-accent) 0%, #f7dfa0 50%, var(--paper-accent) 100%);
  background-size: 200% 100%;
  animation: ccRouteFlow 2.4s linear infinite;
}

.cc-branch-line__text {
  position: relative;
  z-index: 1;
  transform: translateY(15px);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--paper-muted);
  padding: 0.08rem 0.38rem;
  border-radius: 3px;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}

.cc-target-row.is-highlighted .cc-branch-line__text {
  color: var(--paper-accent);
  background: var(--paper-accent-bg);
}

.cc-detail-note {
  padding: 1rem 1.2rem;
  background: var(--paper-surface);
  border: 1px solid var(--paper-border-idle);
  border-left: 4px solid var(--paper-accent);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cc-detail-note__title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--paper-ink);
}

.cc-detail-note__desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--paper-body);
}

.childcare-related {
  padding: 0.95rem 1.5rem;
  border-top: 1px solid var(--paper-border);
  background: var(--paper-subtle);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
}

.childcare-related__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--paper-body);
}

.text-trigger {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--paper-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.text-trigger:hover {
  color: #f0c975;
}

.archive-controls {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--fg-body);
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.archive-list {
  border-top: 2px solid var(--fg);
}

.archive-row {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 240px 1fr 290px;
  gap: 1.5rem;
  align-items: center;
}

.archive-row.is-hidden {
  display: none;
}

.archive-row__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.archive-row__num {
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fg-muted);
}

.archive-row__cat {
  width: 100%;
  font-size: 0.82rem;
  color: var(--fg-muted);
}

.archive-row__title {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.archive-row__summary {
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--fg-body);
}

.archive-row__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.archive-row__tech {
  font-size: 0.82rem;
  color: var(--fg-body);
  text-align: right;
}

.archive-row__btn {
  min-height: 44px;
  padding: 0.45rem 1rem;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--fg);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.archive-row__btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.ops-layout {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.ops-fisteria {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ops-fisteria__visual {
  position: relative;
  height: 215px;
  background: #060709;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.ops-fisteria__banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ops-fisteria__badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.9rem 0.45rem 0.5rem;
  background: rgba(11, 12, 14, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.ops-fisteria__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
}

.ops-fisteria__badge-role {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.ops-fisteria__badge-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fg);
}

.ops-fisteria__body {
  padding: 1.75rem;
}

.ops-fisteria__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ops-fisteria__kicker {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--fg-muted);
  margin-bottom: 0.2rem;
}

.ops-fisteria__title {
  font-size: clamp(1.3rem, 2.1vw, 1.65rem);
  font-weight: 900;
  line-height: 1.32;
}

.ops-fisteria__scale-pill {
  padding: 0.3rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fg);
}

.ops-fisteria__text {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--fg-body);
  margin-bottom: 1.5rem;
}

.ops-fisteria__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.ops-fisteria__specs dt {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-bottom: 0.2rem;
}

.ops-fisteria__specs dd {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--fg);
}

.ops-team-note {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.ops-team-note__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.ops-team-note__kicker {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fg-muted);
}

.ops-team-note__title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.38;
}

.ops-team-note__text {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--fg-body);
}

.ops-team-note__text strong {
  color: var(--fg);
}

.ops-team-note__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border);
}

.ops-team-note__meta dt {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-bottom: 0.15rem;
}

.ops-team-note__meta dd {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fg);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.28fr;
  gap: 2.5rem;
  align-items: start;
}

.profile-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.profile-card__top {
  padding: 1.4rem 1.5rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.profile-card__avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-strong);
  background: #000;
}

.profile-card__name-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.profile-card__name {
  font-size: 1.35rem;
  font-weight: 900;
}

.profile-card__en {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg-muted);
}

.profile-card__sub {
  font-size: 0.86rem;
  color: var(--fg-body);
  margin-top: 0.15rem;
}

.profile-card__list {
  display: flex;
  flex-direction: column;
}

.profile-card__row {
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.profile-card__row:last-child {
  border-bottom: none;
}

.profile-card__row dt {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-bottom: 0.18rem;
}

.profile-card__row dd {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--fg);
}

.profile-card__link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-card__note {
  font-size: 0.84rem;
  color: var(--fg-muted);
  margin-left: 0.35rem;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.capabilities {
  border-top: 2px solid var(--fg);
}

.capability-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.capability-item__num {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg-muted);
  padding-top: 0.1rem;
}

.capability-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.capability-item__desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--fg-body);
}

.history-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.history-box__head {
  padding-bottom: 0.9rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.history-box__eyebrow {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--fg-muted);
  margin-bottom: 0.15rem;
}

.history-box__title {
  font-size: 1.15rem;
  font-weight: 800;
}

.history-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.history-item {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 1rem;
  padding-left: 0.95rem;
  border-left: 2px solid var(--border-strong);
}

.history-item--current {
  border-left-color: var(--accent);
}

.history-item__period {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg-body);
  padding-top: 0.1rem;
}

.history-item--current .history-item__period {
  color: var(--accent);
}

.history-item__title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.2rem;
}

.history-item__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--fg-body);
}

.site-footer {
  padding: 4.5rem 0 3rem;
  background: #08090b;
}

.contact-box {
  border-top: 2px solid var(--fg);
  padding: 2.5rem 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.contact-box__content {
  max-width: 62ch;
}

.contact-box__title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.contact-box__desc {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--fg-body);
}

.contact-box__cta {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.86rem;
  color: var(--fg-muted);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--fg);
  font-weight: 700;
}

.site-footer__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer__nav a:hover {
  color: var(--accent);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.project-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 7, 9, 0.82);
  backdrop-filter: blur(6px);
}

.project-modal__panel {
  position: relative;
  z-index: 1;
  width: min(740px, 100%);
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-strong);
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.project-modal.is-open .project-modal__panel {
  transform: translateX(0);
}

.project-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
}

.project-modal__header-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.project-modal__category {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.project-modal__close {
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--fg);
}

.project-modal__close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.project-modal__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-modal__title {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 900;
  line-height: 1.35;
}

.project-modal__desc {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--fg-body);
}

.project-modal__section-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fg-muted);
  margin-bottom: 0.6rem;
}

.project-modal__diagram {
  background: #0c0e13;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.diagram-node {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
}

.diagram-node__step {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fg-muted);
  margin-bottom: 0.25rem;
}

.diagram-node__title {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.diagram-node__detail {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--fg-body);
}

.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.arch-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.arch-box__label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.35rem;
}

.arch-box__text {
  font-size: 0.88rem;
  line-height: 1.68;
  color: var(--fg-body);
}

.project-modal__footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.project-modal__tech {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
}

.project-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

html.js-anim-ready .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 46px, 0) scale(0.985);
  filter: blur(5px);
  transition:
    opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.78s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

html.js-anim-ready .reveal-on-scroll.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (max-width: 1024px) {
  .hero__grid,
  .feature-work__header,
  .fn-workspace,
  .ops-layout,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .feature-work__header {
    gap: 1rem;
  }

  .fn-map-panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .fisteria-col-headers {
    display: none;
  }

  .fisteria-lane {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .fisteria-edge {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.15rem 0.5rem;
  }

  .fisteria-edge__line {
    width: 2px;
    height: 18px;
  }

  .fisteria-edge__label {
    margin-top: 0;
  }

  .fisteria-edge__arrow {
    position: static;
    transform: rotate(90deg);
  }

  .cc-map {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cc-link--main {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0.65rem;
    padding: 0.15rem 0 0.15rem 1.25rem;
  }

  .cc-link__line {
    order: -1;
    width: 2px;
    height: 28px;
  }

  .cc-link--main.is-highlighted .cc-link__line {
    width: 3px;
    height: 28px;
  }

  
  .cc-col--targets {
    margin-left: 1.25rem;
    padding-top: 0.85rem;
    padding-left: 0;
    border-left: none;
    gap: 0.65rem;
  }

  .cc-col--targets::before {
    display: none;
  }

  .cc-target-row {
    grid-template-columns: 74px 1fr;
    gap: 0;
    align-items: center;
  }

  .cc-target-row:first-child::before {
    top: -0.85rem;
    bottom: -0.65rem;
  }

  .cc-target-row:last-child::before {
    bottom: auto;
    height: 50%;
  }

  .cc-branch-line {
    padding: 0;
  }

  .cc-branch-line__text {
    font-size: 0.72rem;
    padding: 0.06rem 0.32rem;
  }

  .archive-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 1.35rem 0;
  }

  .archive-row__cat {
    width: auto;
  }

  .archive-row__footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
  }

  .archive-row__tech {
    text-align: left;
  }

  .contact-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.15rem;
  }

  .site-header__inner {
    padding: 0.85rem 1.15rem;
    gap: 0.65rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--border);
  }

  .site-nav__link {
    font-size: 0.82rem;
  }

  .site-nav__cta {
    padding: 0.3rem 0.65rem;
    font-size: 0.76rem;
  }

  .hero {
    padding: 2.25rem 0 3rem;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7.2vw, 2.35rem);
    line-height: 1.34;
  }

  .hero__lead {
    font-size: 1rem;
    line-height: 1.82;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-head {
    margin-bottom: 2.2rem;
    gap: 1rem;
  }

  .section-head__title {
    font-size: clamp(1.45rem, 6.2vw, 1.95rem);
    line-height: 1.34;
  }

  .feature-work {
    padding-top: 2rem;
    margin-bottom: 3.25rem;
  }

  .feature-work__title {
    font-size: 1.32rem;
    line-height: 1.38;
  }

  .fn-Controls {
    padding: 0.9rem;
  }

  .fn-phases {
    width: 100%;
  }

  .fn-phase-btn {
    flex: 1 1 100%;
    text-align: left;
  }

  .fn-timeline {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .fn-map-panel,
  .fn-data-panel {
    padding: 0.95rem;
  }

  .fisteria-board {
    padding: 1rem;
  }

  .fisteria-board__head {
    gap: 0.9rem;
    padding-bottom: 0.95rem;
    margin-bottom: 0.95rem;
  }

  .fisteria-board__tabs {
    width: 100%;
  }

  .fisteria-mod-btn {
    flex: 1 1 100%;
    text-align: left;
  }

  
  .fisteria-lane {
    display: none;
  }

  .fisteria-lane.is-active {
    display: grid;
  }

  .childcare-paper__head {
    padding: 1rem 1.1rem;
  }

  .childcare-paper__tabs {
    width: 100%;
  }

  .cc-route-btn {
    flex: 1 1 calc(50% - 0.3rem);
    text-align: center;
  }

  .childcare-diagram-view {
    padding: 1.1rem;
  }

  .cc-link--main {
    padding-left: 0.9rem;
  }

  .cc-col--targets {
    margin-left: 0.9rem;
  }

  .cc-target-row {
    grid-template-columns: 68px 1fr;
  }

  .childcare-related {
    padding: 0.95rem 1.1rem;
  }

  .archive-row__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .archive-row__btn {
    width: 100%;
  }

  .ops-fisteria__body {
    padding: 1.25rem;
  }

  .ops-fisteria__specs,
  .ops-team-note__meta,
  .project-modal__diagram,
  .arch-grid {
    grid-template-columns: 1fr;
  }

  .history-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .contact-box__cta {
    width: 100%;
  }

  .contact-box__cta .btn {
    width: 100%;
  }

  .project-modal__panel {
    padding: 1.35rem 1.15rem;
  }
}
