:root {
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, Menlo, monospace;

  --bg: #fafaf7;
  --bg-2: #ffffff;
  --bg-3: #f1f1ec;
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-mute: #8a8a8a;
  --line: #e7e7e2;
  --line-strong: #cfcfc8;
  --accent: var(--brand);
  --accent-ink: #0a0a0a;
  --accent-soft: #e9ffa8;
  --card: #ffffff;
  --shadow-sm: 0 1px 0 rgba(10,10,10,.04), 0 1px 2px rgba(10,10,10,.04);
  --shadow-md: 0 2px 4px rgba(10,10,10,.04), 0 8px 24px rgba(10,10,10,.06);
  --shadow-lg: 0 8px 16px rgba(10,10,10,.06), 0 24px 60px rgba(10,10,10,.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --bg-3: #181818;
  --ink: #f5f5f5;
  --ink-2: #ededed;
  --ink-soft: #c0c0c0;
  --ink-mute: #777777;
  --line: #232323;
  --line-strong: #353535;
  --card: #131313;
  --shadow-sm: 0 1px 0 rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }

html { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
html[data-theme="dark"] { scrollbar-color: #2a2a2a transparent; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border: 3px solid var(--bg);
  border-radius: 999px;
  background-clip: padding-box;
  transition: background-color .2s var(--ease);
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-mute); background-clip: padding-box; }
::-webkit-scrollbar-thumb:active { background: var(--accent); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }

html[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #2e2e2e; background-clip: padding-box; }
html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: #444444; background-clip: padding-box; }
html[data-theme="dark"] ::-webkit-scrollbar-thumb:active { background: var(--accent); background-clip: padding-box; }

::selection { background: var(--accent); color: #0a0a0a; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 .4em;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: 10px 14px; font-size: 13px;
}
.skip-link:focus { left: 12px; top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.04em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-img {
  display: block;
  transition: filter .25s var(--ease);
}
html[data-theme="dark"] .brand:not(.brand-has-dark) .brand-img-light {
  filter: invert(1) brightness(1.15);
}
.brand-has-dark .brand-img-dark { display: none; }
html[data-theme="dark"] .brand-has-dark .brand-img-light { display: none; }
html[data-theme="dark"] .brand-has-dark .brand-img-dark { display: block; }

.demo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 50%, var(--brand-dark) 100%);
  color: #0a0a0a;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  text-align: center;
  border-bottom: 1px solid rgba(10,10,10,.2);
  position: relative;
  z-index: 200;
}
.demo-banner i { font-size: 16px; }
.demo-banner strong { font-weight: 700; }
.demo-banner span { font-weight: 500; opacity: .85; }
@media (max-width: 600px) {
  .demo-banner { flex-direction: column; gap: 2px; padding: 8px 12px; font-size: 12px; line-height: 1.3; text-align: center; }
}
.brand-word { font-weight: 700; }
.brand-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.brand-suffix {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 3px;
}

.primary-nav { margin: 0 auto; }
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  padding: 5px;
  margin: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.primary-nav a i {
  font-size: 14px;
  opacity: .85;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.primary-nav a:hover { color: var(--ink); background: var(--bg-3); }
.primary-nav a:hover i { opacity: 1; }
.primary-nav a.is-active {
  background: var(--ink);
  color: var(--bg);
  position: relative;
  isolation: isolate;
}
.primary-nav a.is-active i { opacity: 1; color: var(--brand); }
.primary-nav a.is-active::before,
.primary-nav a.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  border-radius: 999px;
  z-index: -1;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.primary-nav a.is-active::before {
  transform: rotate(-6deg) scale(0.96);
  opacity: 0.42;
}
.primary-nav a.is-active::after {
  transform: rotate(6deg) scale(0.96);
  opacity: 0.42;
}
.primary-nav a.is-active:hover::before { transform: rotate(-8deg) scale(0.97); opacity: 0.55; }
.primary-nav a.is-active:hover::after  { transform: rotate(8deg)  scale(0.97); opacity: 0.55; }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.theme-toggle:hover { border-color: var(--line-strong); }
.theme-toggle i {
  position: absolute;
  font-size: 16px;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.theme-toggle [data-icon="dark"] { opacity: 1; transform: translateY(0); }
.theme-toggle [data-icon="light"] { opacity: 0; transform: translateY(100%); }
html[data-theme="dark"] .theme-toggle [data-icon="dark"] { opacity: 0; transform: translateY(-100%); }
html[data-theme="dark"] .theme-toggle [data-icon="light"] { opacity: 1; transform: translateY(0); }

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.link-cta:hover { transform: translateY(-1px); }
.link-cta i { font-size: 14px; transition: transform .25s var(--ease); }
.link-cta:hover i { transform: translate(2px, -2px); }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  position: relative;
  padding: 0;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle.is-open span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { top: 18px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 16px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-radius: 12px;
}
.mobile-nav a i {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--bg-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--ink);
  flex: 0 0 auto;
}
.mobile-nav a:hover { background: var(--bg-3); }
.mobile-nav a:hover i { background: var(--ink); color: var(--brand); }

.site-main { min-height: calc(100vh - var(--header-h)); }

@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 560px) {
  .header-inner { padding: 0 18px; gap: 14px; }
  .link-cta span { display: none; }
  .link-cta { padding: 0 12px; gap: 0; }
}

.hero { padding: 56px 28px 80px; position: relative; }
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.status-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 45%, var(--brand-dark) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.45) inset,
    0 -8px 24px rgba(var(--brand-rgb) / .18) inset,
    0 10px 28px -8px rgba(var(--brand-rgb) / .55),
    0 2px 6px rgba(10,10,10,.08);
  margin-bottom: 26px;
  user-select: none;
  cursor: default;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease);
}
.status-switch:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.55) inset,
    0 -8px 24px rgba(var(--brand-rgb) / .22) inset,
    0 14px 32px -8px rgba(var(--brand-rgb) / .6),
    0 2px 8px rgba(10,10,10,.1);
}
.status-switch-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.015em;
  color: #0a0a0a;
}
.status-switch-track {
  position: relative;
  width: 56px;
  height: 30px;
  border-radius: 999px;
  background: #0a0a0a;
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,.4),
    0 1px 0 rgba(255,255,255,.35);
  flex: 0 0 auto;
}
.status-switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  font-size: 13px;
  box-shadow:
    0 2px 4px rgba(0,0,0,.35),
    inset 0 -1px 0 rgba(0,0,0,.08);
  transition: transform .35s var(--ease), background-color .3s var(--ease);
}
.status-switch-knob i { opacity: 0; transition: opacity .25s var(--ease) .1s; }
.status-switch.is-on .status-switch-knob {
  transform: translateX(26px);
  background: var(--brand);
}
.status-switch.is-on .status-switch-knob i { opacity: 1; }

.status-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #0a0a0a;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  box-shadow: 0 12px 28px -6px rgba(10,10,10,.4), 0 2px 6px rgba(10,10,10,.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px) scale(.96);
  transition: opacity .22s var(--ease), transform .28s var(--ease);
  z-index: 10;
}
.status-tooltip i {
  font-size: 15px;
  color: var(--brand);
}
.status-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border: 6px solid transparent;
  border-top-color: #0a0a0a;
  margin-top: -1px;
}
.status-switch:hover .status-tooltip {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.6vw, 84px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0 0 26px;
  color: var(--ink);
}
.hero-title .hl {
  display: inline-block;
  padding: 0 12px 4px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 10px;
  transform: rotate(-1.5deg);
  margin: 0 -2px;
}

.hero-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 32px;
  line-height: 1.55;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 36px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .2s var(--ease);
  border: 0;
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary i { font-size: 16px; transition: transform .25s var(--ease); }
.btn-primary:hover i { transform: translate(2px, -2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.btn-outline:hover { transform: translateY(-1px); border-color: var(--ink); }
.btn-outline i { font-size: 16px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-mute);
}
.hero-avatars {
  display: inline-flex;
}
.hero-avatars span {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--bg-3) center/cover no-repeat;
  margin-left: -8px;
}
.hero-avatars span:first-child { margin-left: 0; }
.hero-trust strong { color: var(--ink); font-weight: 600; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.02;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.hero-stage::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1 / 1;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--brand-rgb) / .32) 0%, rgba(var(--brand-rgb) / .12) 35%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.hero-character {
  position: relative;
  z-index: 2;
  width: 96%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.18));
}

.hero-text { position: relative; }

.site-spiral {
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.22));
  pointer-events: none;
  height: auto;
}

.site-spiral.spiral-follow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  opacity: 0;
  transform: translate3d(-2000px, -2000px, 0);
  will-change: transform;
  transition: opacity .3s var(--ease);
}
.site-spiral.spiral-follow.is-active { opacity: 1; }

.site-spiral.spiral-static {
  position: absolute;
  z-index: 1;
  animation: spiralFloat 8s var(--ease) infinite;
}
@keyframes spiralFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}

@media (max-width: 768px), (pointer: coarse) {
  .site-spiral.spiral-follow { display: none; }
}
@media (max-width: 720px) {
  .site-spiral.spiral-static { display: none; }
}

.hero-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow-md);
  min-width: 200px;
}
.hero-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
.hero-chip span:not(.chip-dot) {
  display: block;
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.hero-chip i {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: 0 0 auto;
}
.chip-dot {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
}
.chip-dot::before {
  content: "";
  width: 10px; height: 10px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,255,255,.25);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
  50% { box-shadow: 0 0 0 8px rgba(255,255,255,.05); }
}

.chip-accent {
  background: var(--brand);
  border-color: transparent;
}
.chip-accent strong { color: #0a0a0a; }
.chip-accent span:not(.chip-dot) { color: rgba(10,10,10,.65); }
.chip-accent i {
  background: #0a0a0a;
  color: #ffffff;
}

.chip-dark {
  background: #0a0a0a;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.chip-dark strong { color: #ffffff; }
.chip-dark span:not(.chip-dot) { color: rgba(255,255,255,.6); }
.chip-dark i {
  background: var(--brand);
  color: #0a0a0a;
}

.chip-top {
  top: 6%;
  left: -10px;
}
.chip-bottom {
  bottom: 8%;
  right: -16px;
}

.chip-tooltip {
  position: absolute;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #0a0a0a;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  box-shadow: 0 12px 28px -6px rgba(10,10,10,.4), 0 2px 6px rgba(10,10,10,.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .28s var(--ease);
  z-index: 20;
}
.hero-chip .chip-tooltip i {
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  color: var(--brand);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-chip .chip-tooltip span,
.hero-chip .chip-tooltip strong { color: #ffffff; font-weight: 500; font-size: 12.5px; margin: 0; }
.chip-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0; height: 0;
  border: 6px solid transparent;
}
.chip-tooltip-bottom {
  top: calc(100% + 12px);
  transform: translate(-50%, -6px) scale(.96);
}
.chip-tooltip-bottom::after {
  bottom: 100%;
  transform: translateX(-50%);
  border-bottom-color: #0a0a0a;
  margin-bottom: -1px;
}
.chip-tooltip-top {
  bottom: calc(100% + 12px);
  transform: translate(-50%, 6px) scale(.96);
}
.chip-tooltip-top::after {
  top: 100%;
  transform: translateX(-50%);
  border-top-color: #0a0a0a;
  margin-top: -1px;
}
.hero-chip:hover .chip-tooltip-bottom { opacity: 1; transform: translate(-50%, 0) scale(1); }
.hero-chip:hover .chip-tooltip-top { opacity: 1; transform: translate(-50%, 0) scale(1); }

.bento {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.bento-lg { grid-row: span 2; }
.bento-accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.bento-dark {
  background: var(--ink);
  color: var(--bg);
  border-color: transparent;
}

.bento h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: inherit;
}
.bento p {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0;
}
.bento-dark p { color: rgba(255,255,255,.6); }
.bento-accent p { color: rgba(10,10,10,.7); }

.bento-photo {
  position: relative;
  background:
    radial-gradient(120% 100% at 20% 20%, rgba(var(--brand-rgb) / .18), transparent 60%),
    linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
}
.bento-photo .photo-frame {
  position: absolute;
  inset: 22px;
  border-radius: 14px;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bento-photo .photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 50% 90%, rgba(var(--brand-rgb) / .15), transparent 60%);
}
.bento-photo .photo-frame i {
  font-size: 180px;
  color: rgba(255,255,255,.15);
  margin-bottom: -16px;
  position: relative;
}
.bento-photo .photo-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bento-photo .photo-tag::before {
  content: "";
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,.25);
}

.bento-stat .big {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-top: auto;
}
.bento-stat .lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.bento-accent .lbl, .bento-dark .lbl { color: inherit; opacity: .65; }

.bento-icon i {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 14px;
}
.bento-dark .bento-icon i { background: rgba(255,255,255,.1); color: #fff; }
.bento-accent .bento-icon i { background: rgba(10,10,10,.1); color: var(--accent-ink); }

.stack {
  padding: 96px 28px 96px;
  border-top: 1px solid var(--line);
}
.stack-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.stack-head {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 0 0 56px;
}
.stack-head-text { max-width: 560px; }
.stack-mascot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 260px;
}
.stack-mascot::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1 / 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--brand-rgb) / .28) 0%, rgba(var(--brand-rgb) / .1) 35%, transparent 70%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}
.stack-mascot-img {
  position: relative;
  z-index: 1;
  width: 88%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.18));
}
.stack-mascot-bubble {
  position: absolute;
  top: 14%;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #0a0a0a;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.005em;
  box-shadow: 0 14px 28px -8px rgba(10,10,10,.4), 0 2px 6px rgba(10,10,10,.16);
  white-space: nowrap;
}
.stack-mascot-bubble i { color: var(--brand); font-size: 14px; }
.stack-mascot-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 26px;
  width: 12px; height: 12px;
  background: #0a0a0a;
  transform: rotate(45deg);
  border-radius: 2px;
}
.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.stack-pill i { color: var(--ink); font-size: 13px; }
.stack-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  color: var(--ink);
}
.stack-title .hl {
  display: inline-block;
  padding: 0 12px 4px;
  background: var(--brand);
  color: #0a0a0a;
  border-radius: 10px;
  transform: rotate(-1.5deg);
  margin: 0 -2px;
}
.stack-lead {
  font-size: 16.5px;
  color: var(--ink-soft);
  margin: 0 auto;
  line-height: 1.55;
  max-width: 540px;
}

.stack-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.stack-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.015em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.stack-tab i { font-size: 16px; opacity: .8; }
.stack-tab em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink-mute);
  padding: 3px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.stack-tab:hover { color: var(--ink); background: var(--bg-3); }
.stack-tab.is-active {
  background: #0a0a0a;
  color: #ffffff;
}
.stack-tab.is-active i { opacity: 1; color: var(--brand); }
.stack-tab.is-active em {
  color: #ffffff;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}

.stack-panels {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.stack-panel {
  display: none;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  padding: 40px;
  animation: panelIn .35s var(--ease);
}
.stack-panel.is-active { display: grid; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.panel-tag .d {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.18);
  animation: pulse 2.4s var(--ease) infinite;
}
.panel-left h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--ink);
}
.panel-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.panel-meta span {
  font-size: 14px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.panel-meta strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.panel-meta .primary-call {
  margin-top: 6px;
  padding: 10px 14px;
  background: var(--bg-3);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.panel-meta .primary-call strong {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  margin-left: 6px;
  padding: 3px 9px;
  background: var(--brand);
  border-radius: 6px;
}

.panel-right { display: flex; flex-direction: column; gap: 14px; }
.tech-row {
  display: grid;
  grid-template-columns: 130px 1fr 64px;
  align-items: center;
  gap: 18px;
}
.tech-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.tech-bar {
  position: relative;
  height: 6px;
  background: var(--bg-3);
  border-radius: 999px;
  overflow: hidden;
}
.tech-bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--ink);
  border-radius: 999px;
  transition: width .6s var(--ease);
}
.tech-lvl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
}
.tech-row.is-primary .tech-name { color: var(--ink); }
.tech-row.is-primary .tech-bar i { background: var(--brand); box-shadow: 0 0 0 1px #0a0a0a inset; }
.tech-row.is-primary .tech-lvl { color: var(--ink); }

html[data-theme="dark"] .tech-bar { background: rgba(255,255,255,.08); }
html[data-theme="dark"] .tech-bar i { background: #ededed; }
html[data-theme="dark"] .tech-row.is-primary .tech-bar i { box-shadow: none; }

html[data-theme="dark"] .stack-tab.is-active {
  background: #ffffff;
  color: #0a0a0a;
}
html[data-theme="dark"] .stack-tab.is-active i { color: #0a0a0a; }
html[data-theme="dark"] .stack-tab.is-active em {
  background: rgba(10,10,10,.08);
  border-color: rgba(10,10,10,.18);
  color: #0a0a0a;
}

html[data-theme="dark"] .work-fbtn.is-active {
  background: #ffffff;
  color: #0a0a0a;
}
html[data-theme="dark"] .work-fbtn.is-active em {
  background: rgba(10,10,10,.1);
  color: #0a0a0a;
}

html[data-theme="dark"] .panel-meta .primary-call { background: rgba(255,255,255,.05); }
html[data-theme="dark"] .panel-meta .primary-call strong { color: #0a0a0a; }

.work {
  padding: 96px 28px 96px;
  border-top: 1px solid var(--line);
  position: relative;
}
.work-inner { max-width: var(--maxw); margin: 0 auto; }
.work-head {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 0 0 36px;
}
.work-head-text { max-width: 600px; }
.work-head-mascot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
}
.work-head-mascot::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--brand-rgb) / .28) 0%, rgba(var(--brand-rgb) / .1) 35%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.work-mascot-img {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.2));
}
@media (max-width: 900px) {
  .work-head { grid-template-columns: 1fr; gap: 24px; }
  .work-head-mascot { display: none; }
}
.work-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  color: var(--ink);
}
.work-title .hl {
  display: inline-block;
  padding: 0 12px 4px;
  background: var(--brand);
  color: #0a0a0a;
  border-radius: 10px;
  transform: rotate(-1.5deg);
}
.work-lead {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0;
  line-height: 1.55;
}
.work-head-actions {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.work-counter {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.work-counter strong {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.work-counter strong em {
  font-style: normal;
  font-size: 24px;
  color: var(--ink-mute);
  margin-left: 2px;
}
.work-counter span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.4;
}

.work-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.work-fbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.work-fbtn em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  padding: 2px 6px;
  background: var(--bg-3);
  border-radius: 999px;
}
.work-fbtn:hover { color: var(--ink); border-color: var(--line-strong); }
.work-fbtn.is-active {
  background: #0a0a0a;
  border-color: transparent;
  color: #ffffff;
}
.work-fbtn.is-active em { background: rgba(255,255,255,.1); color: var(--brand); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.wcard {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s var(--ease);
  color: inherit;
}
.wcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.wcard.is-hidden { display: none; }

.wcard-mock {
  position: relative;
  aspect-ratio: 16 / 7;
  flex-shrink: 0;
  background:
    radial-gradient(120% 100% at 30% 20%, rgba(var(--brand-rgb) / .18), transparent 65%),
    linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.wcard-mock > i {
  font-size: 38px;
  color: var(--ink);
  opacity: .85;
}
.wcard-mock .mock-label { display: none; }
.wcard:hover .wcard-mock { transform: none; }
.wcard-mock::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
}

.wcard-mock-dark {
  background:
    radial-gradient(120% 100% at 30% 20%, rgba(var(--brand-rgb) / .18), transparent 60%),
    linear-gradient(160deg, #16181d 0%, #0a0a0a 100%);
}
.wcard-mock-dark > i { color: var(--brand); opacity: 1; }
.wcard-mock-dark .mock-label { color: rgba(255,255,255,.7); }

.wcard-mock-accent {
  background: linear-gradient(155deg, var(--brand-light) 0%, var(--brand) 55%, var(--brand-dark) 100%);
}
.wcard-mock-accent > i { color: #0a0a0a; opacity: 1; }
.wcard-mock-accent .mock-label { color: rgba(10,10,10,.75); }

.wcard-mock-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: rgba(0,0,0,.04);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
}
.wcard-mock-bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}
.wcard-mock-bar em {
  font-style: normal;
  margin-left: 10px;
  letter-spacing: 0.08em;
}

.wcard-mock-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.wcard-mock-art > i { font-size: 64px; color: var(--ink); }
.wcard-mock-art .mock-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.wcard-flag {
  position: absolute;
  top: 10px; right: 10px;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background: var(--brand);
  color: #0a0a0a;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.005em;
  z-index: 2;
}

.wcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.wcard-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
}
.wcard-meta .dot {
  width: 2px; height: 2px;
  background: var(--ink-mute);
  border-radius: 50%;
  display: inline-block;
}
.wcard h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  line-height: 1.25;
}
.wcard-body p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.wcard-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.wcard-tags span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 3px 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.wcard-go {
  display: none;
}
.wcard-go i { font-size: 13px; transition: transform .25s var(--ease); }
.wcard:hover .wcard-go i { transform: translate(3px, -3px); }

.wcard-featured {
  border: 1px solid #0a0a0a;
}
.wcard-featured .wcard-mock {
  background:
    radial-gradient(120% 100% at 30% 20%, rgba(var(--brand-rgb) / .28), transparent 65%),
    linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
}
html[data-theme="dark"] .wcard-featured { border-color: var(--brand); }

.work-foot {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

@media (max-width: 1024px) {
  .work-head { grid-template-columns: 1fr; }
  .work-head-actions { justify-content: flex-start; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .work { padding: 64px 20px; }
  .work-grid { grid-template-columns: 1fr; }
  .wcard h3 { font-size: 17px; }
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.scard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .25s var(--ease);
  overflow: hidden;
  min-height: 320px;
}
.scard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width .35s var(--ease);
}
.scard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.scard:hover::before { width: 36px; }

.scard > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.scard-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.scard-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink);
  flex: 0 0 auto;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.scard:hover .scard-icon { background: #0a0a0a; color: #ffffff; }

.scard-body { display: flex; flex-direction: column; flex: 1; }
.scard h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: var(--ink);
}
.scard-data {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.scard-data strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  margin-right: 2px;
  letter-spacing: -0.01em;
}
.scard-data .dot {
  width: 3px; height: 3px;
  background: var(--ink-mute);
  border-radius: 50%;
  display: inline-block;
}

.scard ul {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.scard li {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color .2s var(--ease);
}
.scard li::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--ink-mute);
  border-radius: 50%;
  flex: 0 0 auto;
}
.scard li.is-primary {
  color: var(--ink);
  font-weight: 600;
  position: relative;
}
.scard li.is-primary::before {
  background: var(--brand);
  width: 6px; height: 6px;
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb) / .2);
}
.scard li.is-primary::after {
  content: "ana";
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.scard:hover li { color: var(--ink); }

@media (max-width: 1024px) {
  .stack-head { grid-template-columns: 1.4fr 1fr; gap: 28px; }
  .stack-mascot-img { max-width: 240px; }
  .stack-panel { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
}
@media (max-width: 720px) {
  .stack-head { grid-template-columns: 1fr; text-align: left; }
  .stack-mascot { display: none; }
  .stack-tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .stack-tab { white-space: nowrap; }
  .stack-tab em { display: none; }
}
@media (max-width: 600px) {
  .stack { padding: 64px 20px 64px; }
  .stack-head { margin-bottom: 36px; }
  .stack-panel { padding: 24px; gap: 24px; }
  .panel-meta { gap: 10px; }
  .tech-row { grid-template-columns: 100px 1fr 56px; gap: 12px; }
  .tech-name { font-size: 13.5px; }
}

.hero-strip {
  max-width: var(--maxw);
  margin: 56px auto 0;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-strip .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-strip ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.hero-strip li {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: -0.02em;
}

@media (max-width: 960px) {
  .hero { padding: 36px 20px 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; }
  .hero-title { font-size: clamp(38px, 9vw, 56px); }
  .hero-strip { margin-top: 36px; padding: 0 20px; }
  .hero-strip li { font-size: 18px; }
}
@media (max-width: 480px) {
  .hero-visual { aspect-ratio: 1 / 1; }
  .hero-character { width: 86%; }
  .hero-chip { min-width: 0; padding: 10px 12px 10px 10px; }
  .hero-chip strong { font-size: 12.5px; }
  .hero-chip span:not(.chip-dot) { font-size: 11px; }
  .hero-chip i, .chip-dot { width: 30px; height: 30px; font-size: 14px; }
  .chip-top { left: -4px; top: 4%; }
  .chip-bottom { right: -4px; bottom: 4%; }
  .text-spiral { width: 90px; top: -20px; right: -8px; }
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  position: relative;
}

.footer-cta {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 100% at 85% 50%, rgba(var(--brand-rgb) / .12), transparent 60%),
    var(--bg-2);
}
.footer-cta-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  color: var(--ink);
  z-index: 0;
  overflow: hidden;
}
.footer-cta-inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 28px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
}
.footer-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.eyebrow-arc {
  width: 150px;
  height: 32px;
  overflow: visible;
  display: block;
  margin-bottom: -6px;
  margin-left: -8px;
}
.eyebrow-arc text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  fill: var(--ink-mute);
  dominant-baseline: middle;
}
.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;
}
.footer-cta-eyebrow .d {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.18);
  animation: pulse 2.4s var(--ease) infinite;
}
.footer-cta-eyebrow.is-closed .d {
  background: #b8b8b8;
  box-shadow: 0 0 0 4px rgba(184,184,184,.18);
  animation: none;
}
.footer-cta-text {
  position: relative;
}
.footer-cta-coffee {
  position: absolute;
  left: -90px;
  top: auto;
  bottom: -18px;
  width: 92px;
  height: auto;
  transform: rotate(28deg);
  pointer-events: none;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.18));
  user-select: none;
}
.footer-cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
.footer-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-main {
  position: relative;
  overflow: hidden;
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 28px 40px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 36px;
  position: relative;
  z-index: 2;
}
.brand-lg { font-size: 26px; }
.footer-brand p {
  margin: 18px 0 24px;
  color: var(--ink-soft);
  max-width: 320px;
  font-size: 14.5px;
  line-height: 1.6;
}
.footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 16px;
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.footer-social a:hover {
  transform: translateY(-2px);
  background: #0a0a0a;
  border-color: transparent;
  color: var(--brand);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 22px;
  position: relative;
  padding-left: 22px;
}
.footer-col h5::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--ink-mute);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  width: fit-content;
  transition: color .2s var(--ease), padding-left .25s var(--ease);
}
.footer-col a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width .25s var(--ease);
}
.footer-col a:hover { padding-left: 14px; }
.footer-col a:hover::before { width: 10px; }

.footer-contact ul { gap: 16px; }
.footer-contact li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-contact li > span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.footer-contact li > a,
.footer-contact li > strong {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  padding-left: 0;
}
.footer-contact li > a::before { display: none; }
.footer-contact li > a:hover { padding-left: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(120px, 18vw, 240px);
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  text-stroke: 1px var(--line-strong);
  text-align: center;
  padding: 0 28px 24px;
  user-select: none;
  pointer-events: none;
  margin-top: -24px;
  position: relative;
  z-index: 1;
}
.footer-wordmark span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  margin-left: 0.05em;
}
html[data-theme="dark"] .footer-wordmark,
html[data-theme="dark"] .footer-wordmark span {
  -webkit-text-stroke-color: #1f1f1f;
}

.footer-base {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-base-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--ink-mute);
}
.footer-base-inner .copy { font-weight: 500; }
.footer-base-inner .maker { color: var(--ink-soft); font-weight: 500; }
.footer-base-inner .maker a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--ink-mute);
  padding-bottom: 1px;
  transition: border-color .2s var(--ease);
}
.footer-base-inner .maker a:hover { border-color: var(--ink); }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 18px;
}
.footer-links a {
  color: var(--ink-soft);
  font-weight: 500;
  transition: color .2s var(--ease);
}
.footer-links a:hover { color: var(--ink); }

@media (max-width: 1380px) {
  .footer-cta-coffee {
    left: -70px;
    bottom: -10px;
    width: 80px;
    transform: rotate(28deg);
  }
}
@media (max-width: 1200px) {
  .footer-cta-coffee {
    left: auto;
    right: -10px;
    top: -20px;
    bottom: auto;
    width: 110px;
    transform: rotate(20deg);
  }
}
@media (max-width: 1024px) {
  .footer-cta-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-cta-coffee {
    width: 130px;
    right: -8px;
    top: -30px;
    transform: rotate(22deg);
    left: auto;
  }
}
@media (max-width: 600px) {
  .footer-cta-coffee {
    width: 110px;
    right: -4px;
    top: -56px;
  }
  .footer-cta-actions {
    justify-content: center;
  }
  .footer-cta-actions .btn-primary,
  .footer-cta-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 3; max-width: 520px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
}
@media (max-width: 720px) {
  .footer-cta-inner { padding: 40px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 48px 20px 32px; gap: 28px; }
  .footer-brand { grid-column: span 2; }
  .footer-wordmark { font-size: 22vw; }
  .footer-base-inner { padding: 16px 20px; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

.page-hero {
  padding: 64px 28px 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 22px 0 20px;
  color: var(--ink);
}
.page-title .hl {
  display: inline-block;
  padding: 0 12px 4px;
  background: var(--brand);
  color: #0a0a0a;
  border-radius: 10px;
  transform: rotate(-1.5deg);
  margin: 0 -2px;
}
.page-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 28px;
  line-height: 1.55;
}
.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-hero-visual::before {
  content: "";
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--brand-rgb) / .3) 0%, rgba(var(--brand-rgb) / .1) 35%, transparent 70%);
  filter: blur(20px);
}
.page-hero-img {
  position: relative;
  max-width: 360px;
  width: 90%;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.2));
}

.about-bio {
  padding: 80px 28px;
}
.about-bio-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.7fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.bio-side {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.bio-side-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.bio-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; }
.bio-facts dt {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-mute);
}
.bio-facts dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}
.bio-main { max-width: 700px; }
.bio-intro {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.bio-main p {
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 22px;
}
.bio-quote {
  margin: 36px 0 0;
  padding: 28px 30px;
  background: var(--bg-3);
  border-left: 3px solid var(--brand);
  border-radius: 6px;
}
.bio-quote p {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.4;
}
.bio-quote footer {
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
}

.values {
  padding: 80px 28px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.values-inner { max-width: var(--maxw); margin: 0 auto; }
.values-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 0 0 48px;
}
.values-head-text { max-width: 640px; }
.values-head-mascot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
}
.values-head-mascot::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--brand-rgb) / .28) 0%, rgba(var(--brand-rgb) / .1) 35%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.values-laptop-img {
  position: relative;
  z-index: 1;
  width: 92%;
  max-width: 360px;
  height: auto;
  filter: drop-shadow(0 24px 32px rgba(0,0,0,.2));
}
@media (max-width: 900px) {
  .values-head { grid-template-columns: 1fr; gap: 24px; }
  .values-head-mascot { display: none; }
}
.values-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 18px 0 0;
  color: var(--ink);
}
.values-title .hl {
  display: inline-block;
  padding: 0 10px 2px;
  background: var(--brand);
  color: #0a0a0a;
  border-radius: 8px;
  transform: rotate(-1.5deg);
}
.manifesto {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.manifesto li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: padding-left .3s var(--ease);
}
.manifesto li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 36px;
  width: 0;
  height: calc(100% - 72px);
  background: var(--brand);
  transition: width .35s var(--ease);
}
.manifesto li:hover { padding-left: 22px; }
.manifesto li:hover::before { width: 4px; }
.m-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--ink);
  background: var(--accent-grad, none);
  font-variant-numeric: tabular-nums;
  position: relative;
}
.m-num::after {
  content: "";
  display: block;
  width: 28px;
  height: 4px;
  background: var(--brand);
  margin-top: 14px;
}
.m-body { max-width: 640px; }
.m-body h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.m-body h3 i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-3);
  color: var(--ink);
  font-size: 16px;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.manifesto li:hover .m-body h3 i { background: var(--brand); color: #0a0a0a; }
.m-body p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
  max-width: 580px;
}

.resume {
  padding: 80px 28px;
}
.resume-inner { max-width: var(--maxw); margin: 0 auto; }
.resume-head { max-width: 720px; margin: 0 0 40px; }
.resume-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 18px 0 0;
  color: var(--ink);
}
.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.resume-col h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.tline {
  position: relative;
  padding-left: 28px;
}
.tline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.tline-item {
  position: relative;
  padding: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  align-items: start;
}
.tline-item:last-child { padding-bottom: 0; }
.tline-dot {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-strong);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.tline-item:hover .tline-dot {
  background: var(--brand);
  border-color: #0a0a0a;
  transform: scale(1.15);
}
.tline-year {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  padding: 3px 9px;
  background: var(--bg-3);
  border-radius: 6px;
  white-space: nowrap;
  align-self: start;
}
.tline-item h5 {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}
.tline-sub {
  grid-column: 1 / -1;
  grid-row: 2;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.tline-tag {
  grid-column: 1 / -1;
  grid-row: 3;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  padding: 3px 9px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-top: 10px;
  width: fit-content;
}
.tline-verify {
  grid-column: 1 / -1;
  grid-row: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12.5px;
  color: var(--ink);
  margin-top: 10px;
  width: fit-content;
  padding: 4px 0;
  border-bottom: 1px solid var(--ink-mute);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.tline-verify i { font-size: 13px; color: var(--brand); }
.tline-verify:hover { border-color: var(--ink); }

.page-hero-single { grid-template-columns: 1fr; max-width: 820px; }
.page-hero-single .page-title { margin-top: 0; }

.sk-table {
  padding: 80px 28px 80px;
  border-top: 1px solid var(--line);
}
.sk-inner { max-width: var(--maxw); margin: 0 auto; }
.sk-head { max-width: 720px; margin: 0 0 36px; }
.sk-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  color: var(--ink);
}
.sk-title .hl {
  display: inline-block;
  padding: 0 10px 2px;
  background: var(--brand);
  color: #0a0a0a;
  border-radius: 8px;
  transform: rotate(-1.5deg);
}
.sk-lead {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0;
  line-height: 1.55;
}

.sk-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.sk-fbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.sk-fbtn em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-mute);
  padding: 2px 6px;
  background: var(--bg-3);
  border-radius: 999px;
}
.sk-fbtn:hover { color: var(--ink); border-color: var(--line-strong); }
.sk-fbtn.is-active {
  background: #0a0a0a;
  border-color: transparent;
  color: #ffffff;
}
.sk-fbtn.is-active em { background: rgba(255,255,255,.1); color: var(--brand); }
html[data-theme="dark"] .sk-fbtn.is-active {
  background: #ffffff;
  color: #0a0a0a;
}
html[data-theme="dark"] .sk-fbtn.is-active em { background: rgba(10,10,10,.1); color: #0a0a0a; }

.sk-rows {
  display: flex;
  flex-direction: column;
}
.sk-row {
  display: grid;
  grid-template-columns: 1.8fr 0.6fr 1.6fr 0.55fr 0.65fr;
  gap: 24px;
  align-items: center;
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s var(--ease), padding-left .25s var(--ease);
}
.sk-row:hover {
  background: var(--bg-2);
  padding-left: 18px;
}
.sk-row.is-hidden { display: none; }

.sk-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sk-name i {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--bg-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--ink);
  flex: 0 0 auto;
}
.sk-pin {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--brand);
  color: #0a0a0a;
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 4px;
}
.sk-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}
.sk-meta span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-right: 4px;
}
.sk-bar {
  position: relative;
  height: 5px;
  background: var(--bg-3);
  border-radius: 999px;
  overflow: hidden;
}
.sk-bar i {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--ink);
  border-radius: 999px;
  animation: skBarIn .8s var(--ease) forwards;
}
@keyframes skBarIn {
  from { width: 0%; }
}
html[data-theme="dark"] .sk-bar { background: rgba(255,255,255,.08); }
html[data-theme="dark"] .sk-bar i { background: #ededed; }
.sk-lvl {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sk-proj {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-mute);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.methods {
  padding: 80px 28px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.methods-inner { max-width: var(--maxw); margin: 0 auto; }
.methods-head { max-width: 720px; margin: 0 0 40px; }
.methods-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  color: var(--ink);
}
.methods-title .hl {
  display: inline-block;
  padding: 0 10px 2px;
  background: var(--brand);
  color: #0a0a0a;
  border-radius: 8px;
  transform: rotate(-1.5deg);
}
.methods-lead {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0;
  line-height: 1.55;
}

.extras {
  padding: 80px 28px;
}
.extras-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
}
.extras-block h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.lang-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lang-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 18px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.lang-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.lang-list strong {
  grid-row: 1;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lang-list span {
  grid-row: 1;
  grid-column: 2;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-mute);
  text-align: right;
}
.lang-meter {
  grid-column: 1 / -1;
  grid-row: 2;
  display: block;
  height: 5px;
  background: var(--bg-3);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  margin-top: 6px;
}
.lang-meter::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--v, 0%);
  background: var(--ink);
  border-radius: 999px;
}
html[data-theme="dark"] .lang-meter { background: rgba(255,255,255,.08); }
html[data-theme="dark"] .lang-meter::after { background: #ededed; }
.tool-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tool-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.tool-list li:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.tool-list li i { font-size: 16px; color: var(--ink); }

@media (max-width: 960px) {
  .sk-row { grid-template-columns: 1.6fr 0.5fr 1fr; gap: 14px; }
  .sk-row .sk-bar, .sk-row .sk-lvl { display: none; }
  .extras-inner { grid-template-columns: 1fr; gap: 36px; }
  .tool-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sk-table { padding: 56px 20px; }
  .methods { padding: 56px 20px; }
  .extras { padding: 56px 20px; }
  .sk-row { grid-template-columns: 1.4fr auto; padding: 14px 8px; }
  .sk-row .sk-proj { display: none; }
}

.work-page { padding-top: 56px; border-top: 1px solid var(--line); }

.pwork-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}
.pwork-search {
  position: relative;
  display: flex;
  align-items: center;
}
.pwork-search i {
  position: absolute;
  left: 16px;
  color: var(--ink-mute);
  font-size: 15px;
  pointer-events: none;
}
.pwork-search input {
  width: 100%;
  height: 46px;
  padding: 0 18px 0 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.pwork-search input::placeholder { color: var(--ink-mute); }
.pwork-search input:focus { border-color: var(--ink); }
.pwork-sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pwork-sort label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
}
.pwork-sort select {
  height: 46px;
  padding: 0 38px 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 6 8 10 12 6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  transition: border-color .2s var(--ease);
}
.pwork-sort select:focus, .pwork-sort select:hover { border-color: var(--line-strong); outline: none; }

.pwork-empty {
  text-align: center;
  padding: 80px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  margin-top: 18px;
}
.pwork-empty i {
  font-size: 32px;
  color: var(--ink-mute);
  margin-bottom: 14px;
  display: block;
}
.pwork-empty h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  color: var(--ink);
}
.pwork-empty p {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 0;
}

@media (max-width: 720px) {
  .pwork-bar { grid-template-columns: 1fr; gap: 10px; }
  .pwork-sort { justify-content: space-between; }
  .pwork-sort select { flex: 1; }
}

.contact {
  padding: 80px 28px;
  border-top: 1px solid var(--line);
}
.contact-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 32px 28px;
  box-shadow: var(--shadow-sm);
}
.contact-form-head {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.contact-form-head h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--ink);
}
.contact-form-head p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.form-flash {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.form-flash i { font-size: 16px; margin-top: 1px; flex: 0 0 auto; }
.form-flash-success {
  background: rgba(var(--brand-rgb) / .18);
  border: 1px solid var(--brand);
  color: #0a0a0a;
}
.form-flash-error {
  background: rgba(212,73,12,.08);
  border: 1px solid rgba(212,73,12,.4);
  color: #b03d0a;
}
html[data-theme="dark"] .form-flash-success {
  background: rgba(var(--brand-rgb) / .12);
  color: var(--brand);
}
html[data-theme="dark"] .form-flash-error {
  background: rgba(255,120,80,.12);
  border-color: rgba(255,120,80,.4);
  color: #ff7850;
}

.form-row { margin-bottom: 16px; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.field:last-of-type { margin-bottom: 18px; }
.form-row-2 .field { margin-bottom: 0; }
.field > span {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.field > span em {
  font-style: normal;
  color: #d4490c;
  margin-left: 2px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea {
  height: auto;
  min-height: 130px;
  padding: 14px;
  resize: vertical;
  line-height: 1.55;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 6 8 10 12 6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-mute);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  background: var(--card);
}

.field-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 22px;
  cursor: pointer;
}
.field-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: var(--bg);
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
  margin-top: 2px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.field-check input:checked {
  background: var(--brand);
  border-color: #0a0a0a;
}
.field-check input:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 2px;
  width: 6px; height: 11px;
  border: solid #0a0a0a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.field-check span {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.form-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-mute);
}
.form-note i { color: #22c55e; font-size: 13px; }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cside-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px 18px;
  box-shadow: var(--shadow-sm);
}
.cside-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cside-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cside-ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink);
  flex: 0 0 auto;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.cside-list li:hover .cside-ic { background: var(--brand); color: #0a0a0a; }
.cside-list em {
  font-style: normal;
  display: block;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2px;
}
.cside-list strong,
.cside-list a {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.cside-list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cside-list small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-top: 4px;
}

.cside-social {
  display: flex;
  gap: 8px;
  padding: 4px;
}
.cside-social a {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 17px;
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.cside-social a:hover {
  transform: translateY(-2px);
  background: #0a0a0a;
  border-color: transparent;
  color: var(--brand);
}

.faq {
  padding: 80px 28px 96px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.faq-inner { max-width: 860px; margin: 0 auto; }
.faq-head { margin: 0 0 36px; text-align: center; }
.faq-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
.faq-title .hl {
  display: inline-block;
  padding: 0 10px 2px;
  background: var(--brand);
  color: #0a0a0a;
  border-radius: 8px;
  transform: rotate(-1.5deg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 14px; height: 14px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}
.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .contact-inner { grid-template-columns: 1fr; gap: 24px; }
  .contact-form { padding: 24px 22px; }
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
  .form-row-2 .field { margin-bottom: 16px; }
}
@media (max-width: 600px) {
  .contact { padding: 56px 20px; }
  .faq { padding: 56px 20px 72px; }
}

.career {
  padding: 80px 28px;
  border-top: 1px solid var(--line);
}
.career-inner { max-width: var(--maxw); margin: 0 auto; }
.career-head { max-width: 720px; margin: 0 0 48px; }
.career-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
  color: var(--ink);
}
.career-title .hl {
  display: inline-block;
  padding: 0 10px 2px;
  background: var(--brand);
  color: #0a0a0a;
  border-radius: 8px;
  transform: rotate(-1.5deg);
}
.career-lead {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0;
  line-height: 1.55;
}

.cline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.cline::before {
  content: "";
  position: absolute;
  left: 156px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--line);
  border-radius: 999px;
}
.cline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 56px;
  position: relative;
  padding: 0 0 32px;
}
.cline-item:last-child { padding-bottom: 0; }
.cline-item::after {
  content: "";
  position: absolute;
  left: 150px;
  top: 22px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-strong);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  z-index: 2;
}
.cline-item:hover::after { transform: scale(1.2); background: var(--brand); border-color: #0a0a0a; }
.cline-item.is-current::after {
  background: var(--brand);
  border-color: #0a0a0a;
  box-shadow: 0 0 0 6px rgba(var(--brand-rgb) / .22);
  animation: clinePulse 2.4s var(--ease) infinite;
}
@keyframes clinePulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(var(--brand-rgb) / .18); }
  50% { box-shadow: 0 0 0 12px rgba(var(--brand-rgb) / .04); }
}

.cline-side {
  text-align: right;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.cline-year {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.cline-duration {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  padding: 2px 8px;
  background: var(--bg-3);
  border-radius: 999px;
}
.cline-tag-now {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 10px;
  background: var(--brand);
  color: #0a0a0a;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.cline-tag-now .d {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #0a0a0a;
  animation: tagPulse 1.8s var(--ease) infinite;
}
@keyframes tagPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.cline-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
}
.cline-item:hover .cline-card {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.cline-item.is-current .cline-card {
  border-color: #0a0a0a;
  background:
    linear-gradient(180deg, rgba(var(--brand-rgb) / .05) 0%, transparent 50%),
    var(--card);
}
html[data-theme="dark"] .cline-item.is-current .cline-card { border-color: var(--brand); }

.cline-card > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.cline-logo {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex: 0 0 auto;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.cline-logo-sm {
  font-size: 18px;
}
.cline-logo-sm i { font-size: 17px; }
.cline-item:hover .cline-logo {
  background: #0a0a0a;
  color: var(--brand);
  border-color: transparent;
}
.cline-item.is-current .cline-logo {
  background: var(--brand);
  color: #0a0a0a;
  border-color: transparent;
}
.cline-title { flex: 1; min-width: 0; }
.cline-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 4px;
  color: var(--ink);
  line-height: 1.2;
}
.cline-company {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.cline-company em {
  font-style: normal;
  color: var(--ink-mute);
  margin-left: 2px;
}
.cline-loc {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-mute);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
}
.cline-loc i { font-size: 13px; }
.cline-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 16px;
}
.cline-points {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cline-points li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}
.cline-points li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 2px;
  margin-top: 8px;
  transform: rotate(45deg);
}
.cline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
.cline-tags span {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 4px 9px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.cline-card-min { padding: 20px 24px; }
.cline-card-min p { margin-bottom: 0; }

.career-stats {
  padding: 56px 28px 88px;
  border-top: 1px solid var(--line);
}
.career-stats-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.cstat {
  padding: 22px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cstat:first-child { padding-left: 0; }
.cstat:last-child { border-right: 0; padding-right: 0; }
.cstat strong {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cstat strong em {
  font-style: normal;
  font-size: 0.55em;
  color: var(--ink-mute);
  margin-left: 4px;
  vertical-align: 4px;
}
.cstat span {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 200px;
}

@media (max-width: 900px) {
  .cline::before { left: 12px; }
  .cline-item { grid-template-columns: 1fr; gap: 16px; padding: 0 0 28px 36px; }
  .cline-item::after { left: 5px; top: 4px; }
  .cline-side { text-align: left; align-items: flex-start; padding-top: 0; flex-direction: row; gap: 12px; align-items: center; flex-wrap: wrap; }
  .cline-tag-now { margin-top: 0; }
  .cline-card::before, .cline-card::after { display: none; }
  .career-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .cstat { padding: 22px; border-right: 1px solid var(--line); }
  .cstat:nth-child(2) { border-right: 0; }
  .cstat:first-child, .cstat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .career { padding: 56px 20px; }
  .career-stats { padding: 40px 20px 64px; }
  .cline-card { padding: 22px 20px; }
  .cline-card > header { flex-direction: column; gap: 6px; }
}

.proj-hero { padding: 32px 28px 64px; }
.proj-hero-inner { max-width: var(--maxw); margin: 0 auto; }
.proj-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.proj-back:hover { background: var(--bg-3); color: var(--ink); }

.proj-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.proj-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.proj-meta .dot {
  width: 3px; height: 3px;
  background: var(--ink-mute);
  border-radius: 50%;
}
.proj-flag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--brand);
  color: #0a0a0a;
  border-radius: 6px;
  font-weight: 600;
  font-size: 11.5px;
  margin-left: 6px;
}
.proj-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
  color: var(--ink);
}
.proj-client {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.proj-client i { color: var(--ink-mute); }
.proj-desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 22px;
}
.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}
.proj-tags span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 5px 11px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.proj-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.proj-hero-visual {
  position: relative;
}
.proj-mock {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background:
    radial-gradient(120% 100% at 30% 20%, rgba(var(--brand-rgb) / .18), transparent 65%),
    linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.proj-mock > i { font-size: 80px; color: var(--ink); opacity: .85; }
.proj-mock img { width: 100%; height: 100%; object-fit: cover; }
.proj-mock.wcard-mock-dark {
  background:
    radial-gradient(120% 100% at 30% 20%, rgba(var(--brand-rgb) / .18), transparent 60%),
    linear-gradient(160deg, #16181d 0%, #0a0a0a 100%);
  border-color: transparent;
}
.proj-mock.wcard-mock-dark > i { color: var(--brand); opacity: 1; }
.proj-mock.wcard-mock-accent {
  background: linear-gradient(155deg, var(--brand-light) 0%, var(--brand) 55%, var(--brand-dark) 100%);
  border-color: transparent;
}
.proj-mock.wcard-mock-accent > i { color: #0a0a0a; opacity: 1; }

.proj-related { padding: 64px 28px 80px; }
.proj-related-inner { max-width: var(--maxw); margin: 0 auto; }
.proj-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.proj-related-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
.proj-related-head .hl {
  display: inline-block;
  padding: 0 10px 2px;
  background: var(--brand);
  color: #0a0a0a;
  border-radius: 8px;
  transform: rotate(-1.5deg);
}

@media (max-width: 900px) {
  .proj-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .proj-hero-visual { order: -1; }
}

.page-content {
  padding: 32px 28px 80px;
}
.page-content-inner {
  max-width: 820px;
  margin: 0 auto;
}
.page-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.page-body h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); margin: 36px 0 16px; }
.page-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.025em; color: var(--ink); margin: 28px 0 12px; }
.page-body h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); margin: 24px 0 10px; }
.page-body p { margin: 0 0 16px; }
.page-body ul, .page-body ol { padding-left: 22px; margin: 0 0 16px; }
.page-body li { margin-bottom: 6px; }
.page-body blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 3px solid var(--brand);
  background: var(--bg-3);
  border-radius: 8px;
  color: var(--ink);
  font-style: italic;
}
.page-body a { color: var(--ink); border-bottom: 1px solid var(--ink-mute); transition: border-color .2s var(--ease); }
.page-body a:hover { border-color: var(--ink); }
.page-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 16px 0; }
.page-body pre {
  background: var(--bg-3);
  padding: 16px 20px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13.5px;
  margin: 16px 0;
}
.page-body code {
  background: var(--bg-3);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13.5px;
}
.page-body hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.cta-band {
  padding: 80px 28px 80px;
  text-align: center;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%;
  height: 200%;
  background: radial-gradient(closest-side, rgba(var(--brand-rgb) / .22), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 14px;
}
.cta-band p {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  margin: 0 0 28px;
  line-height: 1.55;
}
.cta-band .btn-primary {
  background: var(--brand);
  color: #0a0a0a;
}

@media (max-width: 1024px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: left; }
  .page-hero-visual { order: -1; }
  .about-bio-inner { grid-template-columns: 1fr; gap: 32px; }
  .bio-side { position: static; }
  .resume-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 40px 20px 48px; }
  .about-bio { padding: 56px 20px; }
  .values { padding: 56px 20px; }
  .resume { padding: 56px 20px; }
  .cta-band { padding: 56px 20px; }
  .manifesto li { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .manifesto li:hover { padding-left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
