/* ═══════════════════════════════════════════════════════════
   FLYNN // SIGNAL — v2-pages.css
   Shared inner-page system: page hero · filter bar · gallery
   · lightbox · credits · prose · contact — all themeable
═══════════════════════════════════════════════════════════ */

/* ── inner-page hero header ── */
.v2-page-hero { position: relative; padding: calc(var(--nav-offset) + 64px) 0 48px; overflow: hidden; }
.v2-page-hero.tall { padding-top: calc(var(--nav-offset) + 96px); padding-bottom: 64px; }
.v2-page-hero .glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 12% 10%, rgba(var(--volt-rgb),0.07), transparent 55%); }
.v2-page-kicker { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.v2-page-title { font-family: var(--font-hero, var(--display)); font-weight: 800; font-size: clamp(40px, 9vw, 110px); letter-spacing: -0.05em; line-height: 0.86; }
.v2-page-title em, .v2-page-title .it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--volt); }
.v2-page-lead { font-size: clamp(15px, 1.7vw, 18px); color: var(--ink-70); line-height: 1.7; max-width: 560px; margin-top: 24px; }
.v2-page-hand { font-family: var(--hand); font-weight: 600; font-size: clamp(22px, 3vw, 34px); color: var(--volt); transform: rotate(-3deg); display: inline-block; }

/* breadcrumb */
.v2-crumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-35); display: inline-flex; gap: 8px; align-items: center; }
.v2-crumb a { color: var(--ink-50); transition: color 0.2s; }
.v2-crumb a:hover { color: var(--volt); }

/* ── filter / control bar ── */
.v2-filterbar { position: sticky; top: 56px; z-index: 30; padding: 14px 0; margin-bottom: 28px; transition: top 0.3s var(--ease);
  background: rgba(10,10,12,0.7); backdrop-filter: blur(16px); border-bottom: 1px solid var(--ink-08); }
.v2-filterbar-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.v2-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.v2-pill { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 2px; border: 1px solid var(--ink-12); color: var(--ink-50); transition: all 0.18s; white-space: nowrap; }
.v2-pill:hover { color: var(--bone); border-color: var(--ink-20); }
.v2-pill.on { background: var(--volt); color: #000; border-color: var(--volt); }
.v2-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ink-12); border-radius: 2px; padding: 8px 12px; min-width: 180px; }
.v2-search:focus-within { border-color: var(--volt); }
.v2-search input { background: none; border: none; outline: none; color: var(--bone); font-family: var(--mono); font-size: 12px; width: 100%; }
.v2-search input::placeholder { color: var(--ink-35); }
.v2-search svg { color: var(--ink-35); flex-shrink: 0; }

/* ── masonry gallery ── */
.v2-gal { columns: 2; column-gap: 14px; }
@media (min-width: 720px) { .v2-gal { columns: 3; column-gap: 16px; } }
@media (min-width: 1080px) { .v2-gal { columns: 4; column-gap: 18px; } }
.v2-gal-item { break-inside: avoid; margin-bottom: 14px; position: relative; overflow: hidden; border-radius: 8px;
  border: 1px solid var(--ink-08); background: var(--panel); cursor: pointer; display: block; width: 100%; text-align: left; color: inherit; }
.v2-gal-item:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
@media (min-width: 720px) { .v2-gal-item { margin-bottom: 16px; } }
.v2-gal-item img { width: 100%; height: auto; display: block; min-height: 150px; background: var(--panel); filter: saturate(0.86) brightness(0.84); transition: transform 0.7s var(--ease), filter 0.45s; will-change: transform; }
.v2-gal-item:hover img { transform: scale(1.045); filter: saturate(1.04) brightness(1); }
.v2-gal-item .chips { position: absolute; top: 12px; left: 12px; display: flex; gap: 5px; z-index: 2; }
.v2-gal-item .chip { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--volt); background: rgba(10,10,12,0.72); backdrop-filter: blur(5px); padding: 4px 8px; border-radius: 2px; }
.v2-gal-item .play { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(10,10,12,0.6); backdrop-filter: blur(6px); border: 1px solid var(--ink-20); display: grid; place-items: center; color: var(--volt); z-index: 2; }
.v2-gal-meta { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(to top, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.05) 56%, transparent 100%); }
.v2-gal-meta .logo { height: 16px; width: auto; object-fit: contain; margin-bottom: 9px; filter: brightness(0) invert(1); opacity: 0.9; align-self: flex-start; }
.v2-gal-meta .client { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--volt); margin-bottom: 4px; }
.v2-gal-meta .t { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; line-height: 1.1; }
.v2-gal-meta .roles { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.v2-gal-meta .roles span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-70); border: 1px solid var(--ink-12); padding: 2px 6px; border-radius: 2px; }
.v2-gal-empty { text-align: center; padding: 80px 0; color: var(--ink-35); font-family: var(--serif); font-style: italic; font-size: 20px; }

@media (max-width: 520px) {
  .v2-gal { columns: 1; column-gap: 0; }
  .v2-gal-item { margin-bottom: 18px; }
  .v2-gal-meta { padding: 18px; }
  .v2-gal-meta .t { font-size: 18px; line-height: 1.15; }
  .v2-gal-meta .roles { gap: 6px; margin-top: 9px; }
  .v2-gal-meta .roles span { font-size: 9.5px; line-height: 1.25; padding: 3px 7px; }
}

/* ── lightbox ── */
.v2-lb { position: fixed; inset: 0; z-index: 3000; background: rgba(6,6,8,0.96); backdrop-filter: blur(14px); display: flex; flex-direction: column; }
.v2-lb-top { display: flex; align-items: center; gap: 4px; padding: 12px 16px; border-bottom: 1px solid var(--ink-08); flex-shrink: 0; overflow-x: auto; background: rgba(10,10,12,0.6); }
.v2-lb-top::-webkit-scrollbar { display: none; }
.v2-lb-close { width: 34px; height: 34px; display: grid; place-items: center; color: var(--ink-50); flex-shrink: 0; margin-right: 6px; }
.v2-lb-close:hover { color: var(--volt); }
.v2-lb-cat { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 2px; flex-shrink: 0; white-space: nowrap; border: 1px solid var(--ink-12); color: var(--ink-50); transition: all 0.15s; }
.v2-lb-cat.on { background: var(--volt); color: #000; border-color: var(--volt); }
.v2-lb-count { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--ink-35); flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding-left: 12px; white-space: nowrap; }
.v2-lb-body { flex: 1; display: grid; min-height: 0; grid-template-columns: 1fr; }
@media (min-width: 760px) { .v2-lb-body { grid-template-columns: 1.5fr 1fr; } }
.v2-lb-media { position: relative; background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.v2-lb-media img { width: 100%; height: 100%; object-fit: contain; }
.v2-lb-arrow { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: rgba(10,10,12,0.55); backdrop-filter: blur(8px); border: 1px solid var(--ink-20); color: var(--bone); display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
.v2-lb-arrow:hover { color: var(--volt); background: rgba(10,10,12,0.85); }
.v2-lb-arrow.up { top: 12px; right: 12px; } .v2-lb-arrow.down { bottom: 12px; right: 12px; }
.v2-lb-info { overflow-y: auto; background: var(--void-2); border-top: 1px solid var(--ink-08); padding: 28px 26px; }
@media (min-width: 760px) { .v2-lb-info { border-top: none; border-left: 1px solid var(--ink-08); } }
.v2-lb-info .logo { height: 18px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.6; }
.v2-lb-info h2 { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.03em; line-height: 1.02; }
.v2-lb-info .client { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--volt); margin-top: 8px; }
.v2-lb-block { padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--ink-08); }
.v2-lb-block .lbl { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-35); margin-bottom: 10px; }
.v2-lb-block .role { display: flex; gap: 8px; align-items: baseline; margin-bottom: 5px; font-size: 14px; font-weight: 600; }
.v2-lb-block .role span { color: var(--volt); }
.v2-lb-block p { font-size: 14px; color: var(--ink-70); line-height: 1.7; }
.v2-lb-thumbs { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; margin-top: 12px; }
.v2-lb-thumbs::-webkit-scrollbar { display: none; }
.v2-lb-thumb { width: 64px; height: 44px; flex-shrink: 0; border-radius: 3px; overflow: hidden; border: 1px solid var(--ink-12); opacity: 0.5; transition: opacity 0.2s, border-color 0.2s; }
.v2-lb-thumb.on { opacity: 1; border-color: var(--volt); }
.v2-lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v2-lb-hint { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; color: var(--ink-35); }

/* ── credits grid ── */
.v2-credits { padding: clamp(70px, 11vh, 130px) 0; border-top: 1px solid var(--ink-08); }
.v2-credits-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 44px; }
@media (min-width: 600px) { .v2-credits-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .v2-credits-grid { grid-template-columns: repeat(4, 1fr); } }
.v2-credit { padding: 28px 24px; border: 1px solid var(--ink-08); border-radius: 8px; background: var(--panel); transition: border-color 0.3s, transform 0.3s; }
.v2-credit:hover { border-color: var(--ink-20); transform: translateY(-3px); }
.v2-credit .head { height: 24px; display: flex; align-items: center; margin-bottom: 16px; }
.v2-credit .head img { height: 18px; filter: brightness(0) invert(1); opacity: 0.7; }
.v2-credit .head .nm { font-family: var(--display); font-weight: 700; font-size: 16px; }
.v2-credit .type { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--volt); margin-bottom: 6px; }
.v2-credit .role { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--bone); margin-bottom: 16px; }
.v2-credit ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.v2-credit li { font-size: 13px; color: var(--ink-50); display: flex; gap: 8px; line-height: 1.5; }
.v2-credit li span { color: var(--volt); flex-shrink: 0; }

/* ── prose / generic content ── */
.v2-prose { max-width: 680px; }
.v2-prose p { font-size: clamp(15px, 1.6vw, 17px); color: var(--ink-70); line-height: 1.85; margin-bottom: 22px; }
.v2-prose p strong { color: var(--bone); font-weight: 600; }
.v2-prose h3 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; margin: 40px 0 16px; }

/* ── two-col split section ── */
.v2-split { padding: clamp(60px, 9vh, 120px) 0; }
.v2-split-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 860px) { .v2-split-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.v2-split-grid.rev > :first-child { order: 2; }
@media (max-width: 859px) { .v2-split-grid.rev > :first-child { order: 0; } }
.v2-split-media { border-radius: 10px; overflow: hidden; border: 1px solid var(--ink-08); position: relative; }
.v2-split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; filter: saturate(0.9) contrast(1.03); }
.v2-split h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 5vw, 58px); letter-spacing: -0.04em; line-height: 0.94; margin: 14px 0 20px; }
.v2-split h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--volt); }

/* ── CTA band (inner pages) ── */
.v2-ctaband { padding: clamp(80px, 14vh, 170px) 0; text-align: center; border-top: 1px solid var(--ink-08); position: relative; overflow: hidden; }
.v2-ctaband .glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 60% at 50% 120%, rgba(var(--volt-rgb),0.1), transparent 60%); }
.v2-ctaband h2 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 7vw, 92px); letter-spacing: -0.05em; line-height: 0.9; margin-bottom: 22px; position: relative; }
.v2-ctaband h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--volt); }
.v2-ctaband p { font-size: 16px; color: var(--ink-50); max-width: 460px; margin: 0 auto 34px; line-height: 1.7; position: relative; }
.v2-ctaband .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

@media (max-width: 879px) {
  .v2-filterbar { top: var(--nav-offset); }
  html.v2-headroom-collapsed .v2-filterbar { top: var(--nav-offset); }
}

@media (max-width: 560px) {
  .v2-page-hero { padding-top: calc(var(--nav-offset) + 36px); padding-bottom: 32px; }
  .v2-page-hero.tall { padding-top: calc(var(--nav-offset) + 48px); padding-bottom: 36px; }
  .v2-credits, .v2-split { padding-top: 52px; padding-bottom: 52px; }
  .v2-ctaband { padding-top: 64px; padding-bottom: 64px; }
  .v2-credits-grid { margin-top: 28px; }
}

/* ═══════════════ ABOUT PAGE ═══════════════ */
.a-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; padding-bottom: 56px; overflow: hidden; isolation: isolate; }
.a-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 28%; transform: scale(1.12); will-change: transform; z-index: 0; }
.a-hero-scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,12,0.32) 0%, rgba(10,10,12,0.28) 32%, rgba(10,10,12,0.72) 76%, var(--void) 100%); }
.a-hero-inner { position: relative; z-index: 2; }
.a-avail { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--volt); }
.a-avail .d { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); animation: voltPulse 1.8s ease-in-out infinite; }
.a-hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-08); border: 1px solid var(--ink-08); border-radius: 4px; overflow: hidden; margin-top: 34px; max-width: 640px; }
@media (min-width: 680px) { .a-hero-stats { grid-template-columns: repeat(4, 1fr); } }
.a-hero-stats .hs { background: rgba(10,10,12,0.62); backdrop-filter: blur(8px); padding: 18px 20px; }
.a-hero-stats .v { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1; }
.a-hero-stats .l { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-50); margin-top: 8px; }

@media (max-width: 560px) {
  /* Keep the photograph below the painted safe-area/nav plane. This preserves
     the cap, face, and gimbal instead of letting the fixed header scalp them. */
  .a-hero-bg {
    top: var(--nav-offset);
    background-color: var(--void);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    transform: none;
  }
  .a-hero-scrim {
    background:
      linear-gradient(90deg, rgba(10,10,12,0.38) 0%, rgba(10,10,12,0.18) 72%, rgba(10,10,12,0.28) 100%),
      linear-gradient(180deg, rgba(10,10,12,0.2) 0%, rgba(10,10,12,0.3) 46%, rgba(10,10,12,0.92) 72%, var(--void) 100%);
  }
}

.a-bio-photo { position: relative; }
.a-bio-photo img { width: 100%; border-radius: 10px; aspect-ratio: 4/5; object-fit: cover; object-position: center top; filter: saturate(0.92) contrast(1.03); }
.a-bio-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
@media (max-width: 560px) {
  .a-bio-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .a-bio-actions .v2-btn { width: 100%; min-width: 0; justify-content: center; padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 360px) {
  .a-bio-actions { grid-template-columns: 1fr; }
}
.a-bio-bar { position: absolute; left: -10px; top: 30px; bottom: 30px; width: 4px; background: var(--volt); box-shadow: 0 0 20px var(--volt); border-radius: 2px; }
.a-bio-quote { position: absolute; right: -8px; bottom: 24px; background: var(--void-2); border: 1px solid var(--ink-12); border-radius: 8px; padding: 14px 18px; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8); }
.a-bio-quote .v2-hand { font-size: 25px; line-height: 1.05; }

/* timeline */
.a-timeline { padding: clamp(70px, 11vh, 130px) 0; border-top: 1px solid var(--ink-08); }
.a-tl-h2 { font-family: var(--font-headline, var(--display)); font-weight: 800; font-size: clamp(30px, 5vw, 58px); letter-spacing: -0.04em; line-height: 0.94; margin: 14px 0 36px; }
.a-open { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 8px; margin-bottom: 34px;
  background: rgba(var(--volt-rgb),0.05); border: 1px solid rgba(var(--volt-rgb),0.22); transition: background 0.25s; }
.a-open:hover { background: rgba(var(--volt-rgb),0.1); }
.a-open .d { width: 10px; height: 10px; border-radius: 50%; background: var(--volt); flex-shrink: 0; box-shadow: 0 0 12px var(--volt); animation: voltPulse 2s ease-in-out infinite; }
.a-open .t { flex: 1; font-size: 13px; color: var(--ink-50); line-height: 1.5; }
.a-open .t b { display: block; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--volt); margin-bottom: 2px; }
.a-open svg { color: var(--volt); flex-shrink: 0; }
.a-tl { position: relative; padding-left: 28px; }
.a-tl-spine { position: absolute; left: 4px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(to bottom, var(--volt), var(--flare)); opacity: 0.5; border-radius: 2px; }
.a-tl-row { position: relative; padding: 18px 0; border-bottom: 1px solid var(--ink-08); cursor: pointer; }
.a-tl-row:last-child { border-bottom: none; }
.a-tl-dot { position: absolute; left: -28px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink-20); border: 2px solid var(--void); transition: background 0.3s, box-shadow 0.3s; transform: translateX(-1px); }
.a-tl-row.open .a-tl-dot, .a-tl-row:hover .a-tl-dot { background: var(--volt); box-shadow: 0 0 12px var(--volt); }
.a-tl-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.a-tl-main .yr { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-35); margin-bottom: 5px; }
.a-tl-main .role { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.2vw, 24px); color: var(--bone); line-height: 1.1; }
.a-tl-main .co { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--volt); margin-top: 4px; }
.a-tl-chev { color: var(--ink-35); flex-shrink: 0; margin-top: 4px; transition: transform 0.3s, color 0.3s; }
.a-tl-chev.up { transform: rotate(180deg); color: var(--volt); }
.a-tl-row:hover .a-tl-chev { color: var(--bone); }
.a-tl-det { list-style: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ink-08); display: flex; flex-direction: column; gap: 8px; }
.a-tl-det li { font-size: 13.5px; color: var(--ink-70); line-height: 1.7; display: flex; gap: 10px; }
.a-tl-det li span { color: var(--volt); flex-shrink: 0; margin-top: 2px; }

/* skills */
.a-skills { padding: clamp(70px, 11vh, 130px) 0; border-top: 1px solid var(--ink-08); }
.a-skills-head { display: grid; gap: 24px; margin-bottom: 36px; }
@media (min-width: 760px) { .a-skills-head { grid-template-columns: 1fr auto; align-items: end; } }
.a-skills-tabs { display: inline-flex; gap: 6px; border: 1px solid var(--ink-12); border-radius: 4px; padding: 5px; flex-wrap: wrap; }
.a-skill-tab { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-50); padding: 9px 15px; border-radius: 2px; transition: color 0.2s, background 0.2s; }
.a-skill-tab .ct { font-size: 9px; padding: 2px 6px; border-radius: 2px; background: var(--ink-08); color: var(--ink-50); }
.a-skill-tab.on { background: var(--volt); color: #000; }
.a-skill-tab.on .ct { background: rgba(0,0,0,0.18); color: #000; }
.a-skill-chips { display: flex; flex-direction: column; gap: 22px; }
.a-skill-line { display: grid; gap: 10px; }
.a-skill-cat { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--volt); display: flex; align-items: center; gap: 10px; }
.a-skill-cat::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(var(--volt-rgb),0.3), transparent); }
.a-skill-chiprow { display: flex; flex-wrap: wrap; gap: 10px; }
.a-chip { font-family: var(--mono); font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--ink-70); border: 1px solid var(--ink-12); padding: 9px 16px; border-radius: 3px; transition: color 0.2s, border-color 0.2s, transform 0.2s; cursor: default; }
.a-chip:hover { color: var(--volt); border-color: rgba(var(--volt-rgb),0.45); transform: translateY(-2px); }
.a-skill-note { margin-top: 28px; }
.a-skill-note .v2-hand { font-size: 24px; transform: rotate(-3deg); display: inline-block; }

@media (max-width: 560px) {
  .a-hero { min-height: 70vh; }
  .a-timeline, .a-skills { padding-top: 52px; padding-bottom: 52px; }
  .a-bio-quote { right: 0; bottom: 14px; padding: 11px 14px; }
  .a-bio-quote .v2-hand { font-size: 20px; }
}

/* ═══════════════ CONTACT PAGE ═══════════════ */
.c-hero { padding-bottom: 8px; }
.c-main { padding: 24px 0 clamp(70px, 11vh, 130px); }
.c-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 920px) { .c-grid { grid-template-columns: 340px 1fr; gap: 32px; } }

.c-card { background: var(--panel); border: 1px solid var(--ink-08); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 84px; }
@media (max-width: 919px) { .c-card { position: static; } }
.c-card-photo { position: relative; }
.c-card-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; border-radius: 10px; }
.c-card-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); background: rgba(10,10,12,0.7); backdrop-filter: blur(8px); padding: 6px 11px; border-radius: 3px; }
.c-card-badge .d { width: 6px; height: 6px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 8px var(--volt); animation: voltPulse 1.8s ease-in-out infinite; }
.c-card-head { text-align: center; border-bottom: 1px solid var(--ink-08); padding-bottom: 18px; }
.c-card-head h3 { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--bone); }
.c-card-head .tag { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--volt); }
.c-card-info { display: flex; flex-direction: column; }
.c-card-info .row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--ink-08); }
.c-card-info .k { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-35); }
.c-card-info .v { font-size: 12.5px; font-weight: 600; color: var(--bone); display: inline-flex; align-items: center; gap: 7px; }
.c-card-info .v.hot { color: var(--volt); }
.c-card-info .v .d { width: 6px; height: 6px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 8px var(--volt); }
.c-card-soc .lbl { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-35); margin-bottom: 10px; }
.c-card-soc .row { display: flex; gap: 8px; flex-wrap: wrap; }
.c-card-soc a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--ink-12); display: grid; place-items: center; color: var(--ink-50); transition: color 0.2s, border-color 0.2s; }
.c-card-soc a:hover { color: var(--volt); border-color: rgba(var(--volt-rgb),0.4); }
.c-card-mail { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 8px; background: rgba(var(--volt-rgb),0.06); border: 1px solid rgba(var(--volt-rgb),0.22); color: var(--volt); font-family: var(--mono); font-size: 12px; font-weight: 600; transition: background 0.2s; }
.c-card-mail:hover { background: rgba(var(--volt-rgb),0.12); }

.c-form { background: var(--panel); border: 1px solid var(--ink-08); border-radius: 14px; padding: clamp(24px, 4vw, 40px); }
.c-form h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.03em; line-height: 1.04; }
.c-form-sub { font-size: 14px; color: var(--ink-50); line-height: 1.7; margin: 8px 0 28px; }
.c-row2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .c-row2 { grid-template-columns: 1fr 1fr; } }
.c-field { display: block; margin-bottom: 14px; }
.c-field > span { display: block; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-35); margin-bottom: 7px; }
.c-field input, .c-field textarea, .c-select select {
  width: 100%; padding: 13px 15px; border-radius: 6px; background: var(--ink-04);
  border: 1px solid var(--ink-12); color: var(--bone); font-family: var(--display); font-size: 14px; outline: none; transition: border-color 0.2s;
}
.c-field input::placeholder, .c-field textarea::placeholder { color: var(--ink-35); }
.c-field input:focus, .c-field textarea:focus, .c-select select:focus { border-color: var(--volt); }
.c-field textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.c-select { position: relative; }
.c-select select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.c-select svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(90deg); color: var(--ink-35); pointer-events: none; }
.c-types { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 460px) { .c-types { grid-template-columns: 1fr 1fr; } }
.c-type { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-radius: 6px; border: 1px solid var(--ink-12); background: transparent; text-align: left; font-size: 13px; font-weight: 500; color: var(--ink-50); transition: all 0.18s; }
.c-type .box { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--ink-35); display: grid; place-items: center; flex-shrink: 0; color: #000; transition: all 0.15s; }
.c-type.on { border-color: var(--volt); background: rgba(var(--volt-rgb),0.08); color: var(--bone); }
.c-type.on .box { background: var(--volt); border-color: var(--volt); }
.c-submit { width: 100%; margin-top: 8px; padding: 16px 24px; border-radius: 6px; background: var(--volt); color: #000; font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 9px; transition: transform 0.2s, box-shadow 0.2s; }
.c-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px var(--volt); }
.c-submit:disabled { background: var(--ink-12); color: var(--ink-50); cursor: not-allowed; transform: none; box-shadow: none; }
.c-form-foot { font-size: 11px; color: var(--ink-35); text-align: center; margin-top: 14px; }
.c-form-foot a { color: var(--volt); }
.c-form-error { margin-top: 14px; padding: 11px 13px; border: 1px solid rgba(255,90,90,.35); border-radius: 6px; background: rgba(255,90,90,.08); color: #ff8e8e; font-size: 12px; line-height: 1.5; }
.c-sent { background: var(--panel); border: 1px solid rgba(var(--volt-rgb),0.3); border-radius: 14px; padding: clamp(40px, 7vw, 72px) 32px; text-align: center; }
.c-sent-mark { width: 64px; height: 64px; border-radius: 50%; background: rgba(var(--volt-rgb),0.1); border: 1px solid rgba(var(--volt-rgb),0.4); display: grid; place-items: center; color: var(--volt); margin: 0 auto 22px; }
.c-sent h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
.c-sent p { font-size: 14px; color: var(--ink-50); line-height: 1.7; max-width: 380px; margin: 12px auto 28px; }
.c-sent .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── contact: big JF logo in hero ── */
.c-hero { position: relative; overflow: hidden; }
.c-hero-inner { position: relative; z-index: 2; }
.c-hero-logo {
  position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  height: 320px; width: auto; opacity: 0.06; pointer-events: none; z-index: 1;
  filter: drop-shadow(0 0 40px rgba(var(--volt-rgb),0.3));
}
.c-hero-lead { max-width: 480px; margin-top: 18px; font-size: clamp(15px, 1.7vw, 17px); color: var(--ink-70); line-height: 1.7; }
.c-hero-hand { font-size: 24px; color: var(--volt); white-space: nowrap; }
@media (max-width: 700px) { .c-hero-logo { height: 180px; opacity: 0.05; right: -10%; } }

/* ── contact: resume stat band (cursive numerals) ── */
.c-statband { padding: clamp(30px, 5vh, 56px) 0 0; }
.c-statband-head { display: flex; align-items: baseline; gap: 14px 18px; flex-wrap: wrap; margin-bottom: 22px; }
.c-statband-hand { font-size: 30px; color: var(--volt); transform: rotate(-3deg); }
.c-statband-sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-50); }
.c-statbar { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ink-08); border: 1px solid var(--ink-08); border-radius: 10px; overflow: hidden; }
@media (min-width: 720px) { .c-statbar { grid-template-columns: repeat(4, 1fr); } }
.c-stat { background: var(--panel); padding: 26px 24px; }
.c-stat .v { font-family: var(--hand); font-weight: 700; font-size: clamp(46px, 6vw, 64px); line-height: 0.9; color: var(--volt); }
.c-stat .l { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-50); margin-top: 10px; }
.c-card-note { text-align: center; }
.c-card-note .v2-hand { font-size: 24px; transform: rotate(-2deg); }

/* ── contact: capability grid ── */
.c-svcs { padding: clamp(56px, 9vh, 100px) 0; border-top: 1px solid var(--ink-08); }
.c-svcs-h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.03em; line-height: 1.02; margin: 14px 0 30px; }
.c-svcs-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 680px) { .c-svcs-grid { grid-template-columns: 1fr 1fr; } }
.c-svc {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--panel); border: 1px solid var(--ink-08); border-radius: 12px;
  padding: 22px 22px; transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.c-svc:hover { border-color: rgba(var(--volt-rgb),0.35); transform: translateY(-2px); background: var(--void-2); }
.c-svc-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--ink-12); display: grid; place-items: center; color: var(--volt); background: rgba(var(--volt-rgb),0.05); }
.c-svc-body { flex: 1; }
.c-svc-body h3 { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--bone); }
.c-svc-body p { font-size: 13px; color: var(--ink-50); line-height: 1.6; margin-top: 5px; }
.c-svc-go { flex-shrink: 0; color: var(--ink-35); transition: color 0.25s, transform 0.25s; }
.c-svc:hover .c-svc-go { color: var(--volt); transform: translate(2px, -2px); }

/* ═══════════════ SERVICE PAGES (shared) ═══════════════ */
.s-h2 { font-family: var(--font-headline, var(--display)); font-weight: 800; font-size: clamp(28px, 4.6vw, 56px); letter-spacing: -0.04em; line-height: 0.96; margin: 14px 0 18px; }
.s-h2 em, .s-h2 .v2-serif-it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--volt); }
.s-sub { font-size: 15px; color: var(--ink-50); line-height: 1.75; max-width: 52ch; margin-bottom: 8px; }

/* hero */
.s-hero { position: relative; min-height: 74vh; display: flex; align-items: flex-end; padding-bottom: 52px; overflow: hidden; isolation: isolate; }
.s-hero-bg { position: absolute; inset: 0; background-size: cover; transform: scale(1.12); will-change: transform; z-index: 0; }
.s-hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,12,0.38) 0%, rgba(10,10,12,0.3) 34%, rgba(10,10,12,0.74) 78%, var(--void) 100%); }
.s-hero-inner { position: relative; z-index: 2; }
.s-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* stat bar */
.s-statbar { padding: 0; margin-top: -1px; }
.s-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-08); border-top: 1px solid var(--ink-08); border-bottom: 1px solid var(--ink-08); }
@media (min-width: 680px) { .s-stats { grid-template-columns: repeat(4, 1fr); } }
.s-stats .hs { background: var(--void); padding: 28px 24px; }
.s-stats .v { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1; }
.s-stats .v .u, .s-stats .v span { color: var(--volt); }
.s-stats .l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-35); margin-top: 10px; }

/* service grid */
.s-services { padding: clamp(70px, 11vh, 130px) 0; }
.s-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
@media (min-width: 620px) { .s-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .s-grid { grid-template-columns: repeat(3, 1fr); } }
.s-card { border: 1px solid var(--ink-08); border-radius: 10px; background: linear-gradient(180deg, var(--panel), var(--void-2)); padding: 26px; transition: border-color 0.3s, transform 0.3s; }
.s-card:hover { border-color: rgba(var(--volt-rgb),0.3); transform: translateY(-3px); }
.s-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.s-card .ic { width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--ink-12); display: grid; place-items: center; color: var(--volt); background: rgba(var(--volt-rgb),0.05); }
.s-card .no { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ink-20); }
.s-card h3 { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; margin-bottom: 9px; }
.s-card p { font-size: 13.5px; color: var(--ink-50); line-height: 1.65; margin-bottom: 16px; }
.s-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.s-card li { font-size: 12.5px; color: var(--ink-70); display: flex; gap: 9px; line-height: 1.45; }
.s-card li span { color: var(--volt); flex-shrink: 0; }

/* process */
.s-process { padding: clamp(70px, 11vh, 130px) 0; border-top: 1px solid var(--ink-08); background: var(--void-2); }
.s-process-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .s-process-grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; } }
.s-process-intro { position: sticky; top: 90px; }
@media (max-width: 899px) { .s-process-intro { position: static; } }
.s-steps { display: flex; flex-direction: column; }
.s-step { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--ink-08); align-items: flex-start; }
.s-step:last-child { border-bottom: none; }
.s-step .n { font-family: var(--display); font-weight: 800; font-size: 30px; color: rgba(var(--volt-rgb),0.3); line-height: 1; flex-shrink: 0; min-width: 46px; }
.s-step h4 { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--bone); margin-bottom: 7px; }
.s-step p { font-size: 13.5px; color: var(--ink-50); line-height: 1.7; }

/* testimonial */
.s-testi { padding: clamp(60px, 9vh, 110px) 0; }
.s-testi-card { position: relative; max-width: 820px; margin: 0 auto; border: 1px solid var(--ink-08); border-radius: 12px; background: linear-gradient(180deg, var(--panel), var(--void-2)); padding: clamp(30px, 5vw, 56px); overflow: hidden; }
.s-testi-card .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--volt); margin-bottom: 18px; }
.s-testi-card .qmark { position: absolute; top: 40px; right: 30px; font-family: var(--serif); font-size: 130px; line-height: 0; color: var(--ink-08); }
.s-testi-card blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.8vw, 30px); line-height: 1.4; color: var(--bone); margin-bottom: 24px; position: relative; z-index: 1; }
.s-testi-card .who { display: flex; flex-direction: column; gap: 3px; }
.s-testi-card .who .n { font-family: var(--display); font-weight: 700; font-size: 16px; }
.s-testi-card .who .r { font-family: var(--mono); font-size: 11px; color: var(--ink-50); }

/* ═══════════════ COORDINATION — pipeline ═══════════════ */
.co-pipe { padding: clamp(70px, 11vh, 130px) 0; }
.co-pipe-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 40px 0 28px; }
.co-pipe-line { position: absolute; top: 21px; left: 12%; right: 12%; height: 2px; background: var(--ink-12); z-index: 0; }
.co-pipe-line span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--volt); box-shadow: 0 0 8px var(--volt); transition: width 0.45s var(--ease); }
.co-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding-top: 0; }
.co-node .dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); border: 1.5px solid var(--ink-20); color: var(--ink-50); transition: all 0.3s var(--ease); }
.co-node.done .dot { border-color: var(--volt); color: var(--volt); }
.co-node.on .dot { background: var(--volt); border-color: var(--volt); color: #0A0A0C; transform: scale(1.12); box-shadow: 0 0 22px -4px var(--volt); }
.co-node .lbl { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: -0.01em; color: var(--ink-50); transition: color 0.2s; }
.co-node.on .lbl { color: var(--bone); }
.co-node .ph { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-20); }
@media (max-width: 600px) { .co-node .lbl { font-size: 11px; } .co-node .ph { display: none; } }
.co-pipe-panel { border: 1px solid var(--ink-08); border-radius: 12px; background: linear-gradient(180deg, var(--panel), var(--void-2)); padding: clamp(24px, 4vw, 40px); }
.co-pipe-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.co-pipe-head .ic { width: 56px; height: 56px; border-radius: 12px; border: 1px solid rgba(var(--volt-rgb),0.3); background: rgba(var(--volt-rgb),0.06); display: grid; place-items: center; color: var(--volt); flex-shrink: 0; }
.co-pipe-head .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--volt); margin-bottom: 4px; }
.co-pipe-head h3 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3.4vw, 36px); letter-spacing: -0.03em; }
.co-pipe-blurb { font-size: 15px; color: var(--ink-70); line-height: 1.7; max-width: 60ch; margin-bottom: 22px; }
.co-pipe-items { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 620px) { .co-pipe-items { grid-template-columns: 1fr 1fr; } }
.co-pipe-items li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--bone); padding: 12px 14px; border: 1px solid var(--ink-08); border-radius: 8px; background: var(--void); }
.co-pipe-items li svg { color: var(--volt); flex-shrink: 0; }

/* coordination formats */
.co-formats { padding: clamp(70px, 11vh, 130px) 0; border-top: 1px solid var(--ink-08); background: var(--void-2); }
.co-formats-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .co-formats-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.co-formats-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 520px) { .co-formats-cards { grid-template-columns: 1fr 1fr; } }
.co-fmt { padding: 22px 20px; border: 1px solid var(--ink-08); border-radius: 10px; background: var(--panel); transition: border-color 0.3s, transform 0.3s; }
.co-fmt:hover { border-color: rgba(var(--volt-rgb),0.3); transform: translateY(-3px); }
.co-fmt-label { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--volt); margin-bottom: 14px; }
.co-fmt ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.co-fmt li { font-size: 13px; color: var(--ink-50); display: flex; gap: 8px; }
.co-fmt li span { color: var(--volt); }

/* ═══════════════ MARKETING — agencies ═══════════════ */
.mk-agency { padding: clamp(70px, 11vh, 130px) 0; }
.mk-agency-list { display: flex; flex-direction: column; gap: 12px; margin-top: 38px; }
.mk-ag { position: relative; overflow: hidden; border: 1px solid var(--ink-08); border-radius: 12px; background: var(--panel); cursor: pointer; transition: border-color 0.3s; }
.mk-ag:hover { border-color: color-mix(in srgb, var(--ag) 40%, transparent); }
.mk-ag.on { border-color: color-mix(in srgb, var(--ag) 55%, transparent); }
.mk-ag-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.mk-ag.on .mk-ag-bg, .mk-ag:hover .mk-ag-bg { opacity: 1; }
.mk-ag-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; }
.mk-ag-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.mk-ag-id img { height: 26px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; flex-shrink: 0; }
.mk-ag-id h3 { font-family: var(--display); font-weight: 800; font-size: clamp(18px, 2.2vw, 24px); letter-spacing: -0.02em; }
.mk-ag-id .role { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--ag); }
.mk-ag-chev { color: var(--ink-35); flex-shrink: 0; transition: transform 0.3s, color 0.3s; }
.mk-ag-chev.up { transform: rotate(180deg); color: var(--ag); }
.mk-ag-detail { position: relative; padding: 0 24px 24px; }
.mk-ag-detail p { font-size: 14px; color: var(--ink-70); line-height: 1.7; max-width: 60ch; margin-bottom: 16px; }
.mk-ag-detail ul { list-style: none; display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 620px) { .mk-ag-detail ul { grid-template-columns: 1fr 1fr; } }
.mk-ag-detail li { font-size: 12.5px; color: var(--ink-50); display: flex; gap: 9px; }
.mk-ag-detail li span { color: var(--ag); flex-shrink: 0; }

/* ClickUp ambassador */
.mk-clickup { position: relative; padding: clamp(70px, 11vh, 130px) 0; overflow: hidden; border-top: 1px solid rgba(123,97,255,0.18); background: #0a0718; }
.mk-clickup-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 820px; height: 420px; background: radial-gradient(ellipse at top, rgba(123,97,255,0.16), transparent 70%); pointer-events: none; }
.mk-clickup-grid { position: relative; z-index: 1; display: grid; gap: 48px; }
@media (min-width: 900px) { .mk-clickup-grid { grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; } }
.mk-cu-badge { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 9px; border-radius: 6px; border: 1px solid rgba(123,97,255,0.35); background: rgba(123,97,255,0.08); margin-bottom: 24px; }
.mk-cu-badge .ck { width: 30px; height: 30px; border-radius: 6px; background: #7B61FF; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.mk-cu-badge b { display: block; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #A78BFF; }
.mk-cu-badge span span, .mk-cu-badge > span { font-family: var(--mono); font-size: 10px; color: var(--ink-50); letter-spacing: 0.04em; }
.mk-cu-btn { background: #7B61FF; color: #fff; margin-top: 26px; }
.mk-cu-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(123,97,255,0.6); }
.mk-cu-list { display: flex; flex-direction: column; border-top: 1px solid rgba(123,97,255,0.15); }
.mk-cu-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(123,97,255,0.12); align-items: flex-start; }
.mk-cu-item .ic { width: 42px; height: 42px; border-radius: 8px; border: 1px solid rgba(123,97,255,0.3); background: rgba(123,97,255,0.08); display: grid; place-items: center; color: #A78BFF; flex-shrink: 0; }
.mk-cu-item h4 { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--bone); margin-bottom: 6px; }
.mk-cu-item p { font-size: 13px; color: var(--ink-50); line-height: 1.65; }

/* ═══════════════ WRITING — typewriter ═══════════════ */
.wr-type { padding: clamp(70px, 11vh, 130px) 0; }
.wr-term { margin-top: 38px; border: 1px solid var(--ink-12); border-radius: 12px; overflow: hidden; background: var(--void-2); box-shadow: 0 30px 70px -30px rgba(0,0,0,0.8); }
.wr-term-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--ink-08); background: var(--panel); }
.wr-term-bar .dots { display: flex; gap: 7px; }
.wr-term-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-20); }
.wr-term-bar .dots i:first-child { background: var(--flare); }
.wr-term-bar .dots i:nth-child(2) { background: var(--volt); }
.wr-term-bar .fn { font-family: var(--mono); font-size: 11px; color: var(--ink-50); letter-spacing: 0.04em; }
.wr-term-body { padding: clamp(28px, 5vw, 56px) clamp(24px, 4vw, 44px); min-height: 220px; display: flex; flex-direction: column; justify-content: center; }
.wr-term-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.wr-term-meta .lbl { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--volt); }
.wr-term-meta .ctx { font-family: var(--mono); font-size: 10px; color: var(--ink-35); }
.wr-term-text { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3.4vw, 40px); line-height: 1.35; color: var(--bone); letter-spacing: -0.01em; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--volt); margin-left: 2px; vertical-align: -0.12em; animation: caretBlink 1s steps(1) infinite; box-shadow: 0 0 8px var(--volt); }
@keyframes caretBlink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }
.wr-term-tabs { display: flex; flex-wrap: wrap; gap: 2px; border-top: 1px solid var(--ink-08); background: var(--panel); }
.wr-tab { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.08em; color: var(--ink-50); padding: 12px 16px; transition: color 0.2s, background 0.2s; }
.wr-tab:hover { color: var(--bone); }
.wr-tab.on { color: var(--volt); background: rgba(var(--volt-rgb),0.06); }
body.v2-calm .caret { animation: none; }

/* writing dev */
.wr-dev { padding: clamp(70px, 11vh, 130px) 0; border-top: 1px solid var(--ink-08); background: var(--void-2); }
.wr-dev-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 38px; }
@media (min-width: 640px) { .wr-dev-grid { grid-template-columns: 1fr 1fr; } }
.wr-dev-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 20px; border: 1px solid var(--ink-08); border-radius: 10px; background: var(--panel); transition: border-color 0.3s, transform 0.3s; }
.wr-dev-card:hover { border-color: rgba(var(--volt-rgb),0.3); transform: translateY(-3px); }
.wr-dev-card .ic { width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0; background: rgba(var(--volt-rgb),0.06); border: 1px solid rgba(var(--volt-rgb),0.2); display: grid; place-items: center; color: var(--volt); }
.wr-dev-card h4 { font-family: var(--serif); font-style: italic; font-size: 18px; margin-bottom: 6px; }
.wr-dev-card p { font-size: 13px; color: var(--ink-50); line-height: 1.65; }

@media (max-width: 560px) {
  .s-hero { min-height: 66vh; }
  .s-services, .s-process, .co-pipe, .co-formats, .mk-agency, .mk-clickup, .wr-type, .wr-dev { padding-top: 52px; padding-bottom: 52px; }
  .mk-ag-id { gap: 12px; }
  .mk-ag-id img { height: 20px; }
}

/* ═══════════════ DEV PAGE ═══════════════ */
.dev-hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--nav-offset) + 32px) 0 48px; isolation: isolate; }

@media (prefers-reduced-motion: reduce) {
  .v2-filterbar { transition: none; }
}
.dev-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.dev-hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(var(--volt-rgb),0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--volt-rgb),0.03) 1px, transparent 1px); background-size: 64px 64px; mask: radial-gradient(ellipse 80% 70% at 50% 50%, #000 10%, transparent 80%); }
.dev-hero-inner { position: relative; z-index: 1; width: 100%; }
.dev-hero-2col { display: grid; gap: 30px; align-items: center; }
.dev-hero-txt { order: 1; }
.dev-hero-term { order: 2; min-width: 0; }
@media (min-width: 900px) {
  .dev-hero-2col { grid-template-columns: 1.02fr 0.98fr; gap: 48px; }
  .dev-hero-txt { order: 1; }
  .dev-hero-term { order: 2; }
}
.dev-hero-hint { font-size: 14px; color: var(--ink-50); line-height: 1.6; margin: 16px 0 2px; }
.dev-hero-hint .v2-hand { font-size: 21px; color: var(--volt); display: block; margin-bottom: 2px; }
.dev-hero-hint b { color: var(--bone); font-weight: 600; font-family: var(--mono); font-size: 12px; }
.dev-hero-term .dev-term-win { max-width: none; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8), 0 0 50px rgba(var(--volt-rgb),0.06); }
.dev-hero-term .dev-term-body { min-height: 220px; max-height: 290px; }
.dev-term-keys { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px; border-top: 1px solid rgba(255,255,255,0.04); }
.dev-term-keys button { font-family: var(--mono); font-size: 10.5px; white-space: nowrap; color: var(--ink-50); border: 1px solid var(--ink-12); border-radius: 5px; padding: 5px 10px; background: rgba(255,255,255,0.02); cursor: pointer; transition: all 0.16s; }
.dev-term-keys button:hover { color: var(--volt); border-color: rgba(var(--volt-rgb),0.4); }
.dev-term-keys button.game { color: var(--flare); border-color: rgba(255,90,44,0.25); }
.dev-term-keys button.game:hover { border-color: rgba(255,90,44,0.55); background: rgba(255,90,44,0.06); }
.dev-hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6.4vw, 80px); letter-spacing: -0.05em; line-height: 0.88; margin: 16px 0 20px; }
.dev-hero-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--volt); }
.dev-hero-code { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: clamp(11px, 1.6vw, 14px); color: var(--volt); background: rgba(var(--volt-rgb),0.05); border: 1px solid rgba(var(--volt-rgb),0.16); border-left: 3px solid var(--volt); border-radius: 0 6px 6px 0; padding: 11px 18px; margin-bottom: 26px; max-width: 100%; overflow: hidden; white-space: nowrap; min-height: 42px; }
.dev-hero-code .p { color: rgba(var(--volt-rgb),0.4); }
.dev-hero-code .cur { animation: caretBlink 0.9s steps(1) infinite; }
.dev-hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 30px; }
.dev-hero-tags span { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-35); border: 1px solid var(--ink-08); border-radius: 3px; padding: 5px 10px; }
.dev-toolkit { margin-top: 30px; }
.dev-toolkit-label { display: block; margin-bottom: 9px; font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--volt); }
.dev-toolkit .dev-hero-tags { margin-top: 0; }
@media (max-width: 560px) {
  .dev-toolkit { margin-top: 24px; }
  .dev-hero-tags { gap: 5px; }
  .dev-hero-tags span { font-size: 9px; letter-spacing: 0.07em; padding: 4px 8px; }
}
.dev-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.dev-tags span { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--volt); border: 1px solid rgba(var(--volt-rgb),0.3); padding: 3px 8px; border-radius: 2px; }
.s-services .s-grid { grid-template-columns: 1fr; }
@media (min-width: 620px) { .s-services .s-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .s-services .s-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── Arcade ── */
.arcade { position: relative; padding: clamp(70px, 11vh, 130px) 0; border-top: 1px solid var(--ink-08); background: var(--void-2); overflow: hidden; }
.arcade-scan { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; background: repeating-linear-gradient(0deg, rgba(0,0,0,0) 0px, rgba(0,0,0,0) 2px, rgba(0,0,0,0.18) 3px, rgba(0,0,0,0) 4px); }
.arcade > .v2-wrap { position: relative; z-index: 1; }
.arcade-tabs { display: inline-flex; gap: 4px; border: 1px solid var(--ink-12); border-radius: 6px; padding: 5px; margin: 26px 0 22px; }
.arcade-tab { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-50); padding: 11px 18px; border-radius: 3px; transition: color 0.2s, background 0.2s; }
.arcade-tab svg { color: var(--volt); }
.arcade-tab.on { background: var(--volt); color: #0A0A0C; }
.arcade-tab.on svg { color: #0A0A0C; }
.arcade-cab { border: 1px solid var(--ink-12); border-radius: 14px; background: linear-gradient(180deg, #0c0c10, var(--void)); padding: clamp(14px, 2.5vw, 24px); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.04); max-width: 720px; }
.arcade-cab-flash { animation: arcadeFlash 1.1s ease-out; }
@keyframes arcadeFlash {
  0%   { border-color: var(--volt); box-shadow: 0 0 0 1px var(--volt), 0 0 60px rgba(var(--volt-rgb),0.5), 0 40px 90px -40px rgba(0,0,0,0.9); }
  100% { border-color: var(--ink-12); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.04); }
}

/* ── shared game UI ── */
.gm { display: flex; flex-direction: column; gap: 14px; }
.gm:fullscreen { background: var(--void); padding: 24px; justify-content: center; }
.gm-hud { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gm-hud-l { display: flex; gap: 16px; align-items: baseline; }
.gm-score, .gm-hi { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-35); }
.gm-score b, .gm-hi b { color: var(--volt); font-size: 15px; margin-left: 4px; }
.gm-diff { display: inline-flex; gap: 3px; border: 1px solid var(--ink-12); border-radius: 5px; padding: 3px; }
.gm-diff-b { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-50); padding: 6px 11px; border-radius: 3px; transition: all 0.18s; }
.gm-diff-b.on { background: var(--volt); color: #0A0A0C; }
.gm-diff-b:disabled { opacity: 0.45; cursor: not-allowed; }
.gm-fs { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--ink-12); border-radius: 6px; color: var(--ink-50); transition: color 0.2s, border-color 0.2s; }
.gm-fs:hover { color: var(--volt); border-color: rgba(var(--volt-rgb),0.4); }
.gm-title-sm { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-50); }

.gm-stage { position: relative; width: 100%; aspect-ratio: 1; max-width: 520px; margin: 0 auto; border: 1px solid var(--ink-12); border-radius: 10px; overflow: hidden; background: #08080b; }
.gm-stage.plat { aspect-ratio: 800 / 360; max-width: 640px; }
.gm-canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.gm-canvas.plat { height: auto; }
.gm-flash { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--volt); background: rgba(10,10,12,0.7); padding: 6px 14px; border-radius: 4px; text-shadow: 0 0 10px var(--volt); pointer-events: none; }
.gm-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; background: rgba(8,8,11,0.86); backdrop-filter: blur(4px); }
.gm-title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 6vw, 52px); letter-spacing: -0.04em; line-height: 0.9; color: var(--bone); }
.gm-title span { color: var(--volt); }
.gm-overlay p { font-size: 13px; color: var(--ink-50); line-height: 1.6; max-width: 36ch; }
.gm-btn { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--volt); color: #0A0A0C; padding: 13px 26px; border-radius: 4px; transition: transform 0.2s, box-shadow 0.2s; }
.gm-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -8px var(--volt); }
.gm-legend { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-35); }
.gm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.gm-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.gm-legend i.f { background: var(--flare); } .gm-legend i.b { background: #FFE14D; } .gm-legend i.s { background: #5CF2C2; } .gm-legend i.k { background: #7AA8FF; }

.gm-controls { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gm-dpad { display: grid; grid-template-columns: repeat(3, 50px); grid-template-rows: repeat(3, 50px); gap: 5px; }
.gm-dpad button { border: 1px solid var(--ink-12); border-radius: 8px; background: var(--panel); color: var(--ink-70); font-size: 15px; display: grid; place-items: center; transition: background 0.12s, color 0.12s; -webkit-user-select: none; user-select: none; }
.gm-dpad button:active { background: var(--volt); color: #0A0A0C; }
.gm-dpad .up { grid-column: 2; grid-row: 1; } .gm-dpad .left { grid-column: 1; grid-row: 2; } .gm-dpad .pause { grid-column: 2; grid-row: 2; color: var(--volt); } .gm-dpad .right { grid-column: 3; grid-row: 2; } .gm-dpad .down { grid-column: 2; grid-row: 3; }
.gm-plat-btns { display: flex; gap: 12px; }
.gm-plat-btns .big { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; padding: 16px 28px; border: 1px solid var(--ink-12); border-radius: 10px; background: var(--panel); color: var(--ink-70); -webkit-user-select: none; user-select: none; transition: background 0.12s, color 0.12s; }
.gm-plat-btns .big:active, .gm-plat-btns .jump:active { background: var(--volt); color: #0A0A0C; }
.gm-plat-btns .jump { background: rgba(var(--volt-rgb),0.12); color: var(--volt); border-color: rgba(var(--volt-rgb),0.4); }
.gm-hint { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; color: var(--ink-35); text-align: center; }
@media (max-width: 540px) { .gm-dpad { grid-template-columns: repeat(3, 46px); grid-template-rows: repeat(3, 46px); } }
@media (min-width: 760px) { .gm-controls { display: none; } } /* desktop: keyboard only, hide touch pad */
.gm:fullscreen .gm-controls { display: flex; }

/* ── AI nodal map ── */
.ai { position: relative; padding: clamp(70px, 11vh, 130px) 0; border-top: 1px solid var(--ink-08); overflow: hidden; }
.ai-glow { position: absolute; top: 10%; left: 50%; transform: translateX(-50%); width: 90%; max-width: 900px; height: 500px; background: radial-gradient(ellipse at center, rgba(var(--volt-rgb),0.08), transparent 70%); pointer-events: none; }
.ai > .v2-wrap { position: relative; z-index: 1; }
.ai-board { display: grid; gap: 24px; align-items: center; margin-top: 30px; }
@media (min-width: 920px) { .ai-board { grid-template-columns: 1.4fr 1fr; gap: 36px; } }
.ai-map { border: 1px solid var(--ink-08); border-radius: 14px; background: radial-gradient(ellipse at center, rgba(var(--volt-rgb),0.05), var(--void-2)); padding: 8px; }
.ai-svg { width: 100%; height: auto; display: block; overflow: visible; }

/* orbit + spokes */
.ai-orbit { fill: none; stroke: rgba(var(--volt-rgb),0.16); stroke-width: 1; stroke-dasharray: 3 8; }
.ai-orbit.faint { stroke: rgba(255,255,255,0.04); stroke-dasharray: none; }
.ai-spoke { stroke: var(--ink-12); stroke-width: 1; transition: stroke 0.3s; }
.ai-spoke.on { stroke: var(--volt); stroke-width: 1.6; }
.ai-pulse { fill: var(--volt); filter: drop-shadow(0 0 4px var(--volt)); }

/* Hermes core */
.ai-core { cursor: pointer; }
.ai-core-halo { fill: rgba(var(--volt-rgb),0.10); }
.ai-core-ring { fill: none; stroke: rgba(var(--volt-rgb),0.45); stroke-width: 1.4; stroke-dasharray: 3 5; }
.ai-core-fill { fill: var(--volt); filter: drop-shadow(0 0 22px rgba(var(--volt-rgb),0.65)); }
.ai-core-name { fill: #0A0A0C; font-family: var(--display); font-weight: 800; font-size: 19px; text-anchor: middle; letter-spacing: -0.03em; pointer-events: none; }
.ai-core-tag { fill: rgba(10,10,12,0.62); font-family: var(--mono); font-size: 8.5px; font-weight: 700; letter-spacing: 0.22em; text-anchor: middle; pointer-events: none; }

/* model nodes */
.ai-mnode { cursor: pointer; }
.ai-mnode-hit { fill: transparent; }
.ai-mnode-c { fill: var(--panel); stroke: var(--ink-20); stroke-width: 1.5; transition: stroke 0.25s, fill 0.25s; }
.ai-mnode:hover .ai-mnode-c { stroke: rgba(var(--volt-rgb),0.6); }
.ai-mnode.on .ai-mnode-c { fill: rgba(var(--volt-rgb),0.16); stroke: var(--volt); }
.ai-mnode-m { fill: var(--bone); font-family: var(--display); font-weight: 800; font-size: 20px; text-anchor: middle; pointer-events: none; transition: fill 0.25s; }
.ai-mnode.on .ai-mnode-m, .ai-mnode:hover .ai-mnode-m { fill: var(--volt); }
.ai-mnode-l { fill: var(--ink-50); font-family: var(--mono); font-size: 12px; font-weight: 600; text-anchor: middle; letter-spacing: 0.02em; pointer-events: none; transition: fill 0.25s; }
.ai-mnode.on .ai-mnode-l, .ai-mnode:hover .ai-mnode-l { fill: var(--bone); }

.ai-detail { border: 1px solid var(--ink-08); border-radius: 14px; background: var(--panel); padding: 28px 26px; min-height: 240px; }
.ai-detail-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--volt); margin-bottom: 12px; }
.ai-detail h3 { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 8px; }
.ai-role { font-family: var(--hand); font-weight: 700; font-size: 22px; color: var(--volt); line-height: 1; margin-bottom: 14px; }
.ai-detail .ai-pitch { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.34; color: var(--bone); margin-bottom: 6px; }
.ai-detail p { font-size: 14px; color: var(--ink-70); line-height: 1.7; }
.ai-detail-tools { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.ai-chip { font-family: var(--mono); font-size: 11px; color: var(--ink-70); border: 1px solid var(--ink-12); padding: 7px 12px; border-radius: 3px; transition: all 0.18s; }
.ai-chip:hover { color: var(--volt); border-color: rgba(var(--volt-rgb),0.45); }
.ai-detail-hint, .ai-detail-back { font-family: var(--mono); font-size: 10.5px; color: var(--ink-35); margin-top: 16px; }
.ai-detail-back { color: var(--volt); }
.ai-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.ai-foot .v2-hand { font-size: 24px; transform: rotate(-3deg); display: inline-block; }
@media (max-width: 560px) {
  .dev-hero, .arcade, .ai { padding-top: 54px; padding-bottom: 54px; }
  .dev-hero { min-height: 88vh; }
  .ai-foot { flex-direction: column; align-items: flex-start; }
}

/* ── responsive fix: hero code block fades on narrow screens ── */
@media (max-width: 640px) {
  .dev-hero-code {
    -webkit-mask-image: linear-gradient(to right, black 78%, transparent 100%);
    mask-image: linear-gradient(to right, black 78%, transparent 100%);
  }
}

/* ── AI map: tighten on small screens ── */
@media (max-width: 500px) {
  .ai-board  { gap: 16px; }
  .ai-detail { padding: 20px 18px; min-height: 180px; }
  .ai-map    { padding: 4px; }
}

/* ── service card: hover code preview (V1 signature, V2 palette) ── */
.dev-svc-code {
  margin-top: 14px;
  background: rgba(6, 8, 10, 0.96);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.42s cubic-bezier(0.4,0,0.2,1),
              opacity 0.28s,
              margin-top 0.28s;
}
.dev-svc-code.open { max-height: 210px; opacity: 1; }
.dev-svc-code-bar {
  display: flex; gap: 5px;
  padding: 8px 12px 5px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dev-svc-code-bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: block;
  opacity: 0.75;
}
.dev-svc-code pre {
  margin: 0;
  padding: 9px 13px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.65;
  white-space: pre;
  overflow: hidden;
}
.dev-svc-hov { border-color: rgba(var(--volt-rgb),0.3) !important; }

/* CTA link that appears on hover */
.dev-svc-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--volt); text-decoration: none;
  margin-top: 14px;
  transition: opacity 0.25s, gap 0.2s;
}
.dev-svc-cta:hover { gap: 10px; }

/* ══════════ INTERACTIVE TERMINAL ══════════ */
.dev-term {
  padding: clamp(70px, 11vh, 130px) 0;
  border-top: 1px solid var(--ink-08);
}

.dev-term-win {
  max-width: 760px;
  background: #07090b;
  border: 1px solid rgba(var(--volt-rgb), 0.2);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 60px rgba(var(--volt-rgb), 0.05),
    0 40px 80px -30px rgba(0,0,0,0.65);
}

/* CRT scanlines overlay */
.dev-term-scan {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 5;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0)    0px,
    rgba(0,0,0,0)    2px,
    rgba(0,0,0,0.04) 3px,
    rgba(0,0,0,0)    4px
  );
}

.dev-term-bar {
  background: #0d1012;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 12px;
}
.dev-term-bar .dots { display: flex; gap: 6px; }
.dev-term-bar .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dev-term-bar .path  {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-35); letter-spacing: 0.04em;
}

.dev-term-body {
  padding: 16px 20px 8px;
  min-height: 260px; max-height: 400px;
  overflow-y: auto;
  cursor: text;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.85;
}
.dev-term-body::-webkit-scrollbar { width: 3px; }
.dev-term-body::-webkit-scrollbar-thumb {
  background: rgba(var(--volt-rgb), 0.25);
  border-radius: 2px;
}

.dev-term-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px 14px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.dev-term-foot .prompt {
  font-family: var(--mono); font-size: 13px;
  color: var(--volt); user-select: none; flex-shrink: 0;
}
.dev-term-foot input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: var(--mono); font-size: 13px;
  color: var(--bone); caret-color: var(--volt);
}
.dev-term-foot input:focus-visible { outline: 2px solid var(--volt); outline-offset: 4px; border-radius: 2px; }
.dev-term-foot input::placeholder { color: var(--ink-35); }

@media (max-width: 560px) {
  .dev-term { padding-top: 54px; padding-bottom: 54px; }
  .dev-term-body { min-height: 200px; max-height: 300px; font-size: 11.5px; }
  .dev-term-win  { border-radius: 10px; }
  .dev-term-foot input { font-size: 12px; }
}

/* ══════════ DEV LAB (terminal left + guide right, games inline) ══════════ */
.dev-lab { padding: clamp(70px, 11vh, 130px) 0; border-top: 1px solid var(--ink-08); }
.dev-lab-head { margin-bottom: 34px; }
.dev-lab-grid { display: grid; gap: 26px; align-items: stretch; }
@media (min-width: 900px) { .dev-lab-grid { grid-template-columns: 1.25fr 0.85fr; gap: 32px; } }

.dev-lab-term { min-width: 0; }
.dev-lab-term .dev-term-win { max-width: none; height: 100%; display: flex; flex-direction: column; }
.dev-lab-term .dev-term-body { flex: 1; }

.dev-term-exit {
  margin-left: auto; font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; color: var(--flare); padding: 4px 10px; border-radius: 5px;
  border: 1px solid rgba(255,90,44,0.3); background: rgba(255,90,44,0.06); cursor: pointer;
  transition: background 0.18s;
}
.dev-term-exit:hover { background: rgba(255,90,44,0.14); }
.dev-term-game { padding: 14px; position: relative; z-index: 6; }

/* right guide panel */
.dev-lab-aside {
  display: flex; flex-direction: column;
  border: 1px solid var(--ink-08); border-radius: 14px;
  background: linear-gradient(180deg, var(--panel), var(--void-2));
  padding: clamp(22px, 3vw, 32px);
}
.dev-lab-aside h3 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.03em; line-height: 1.0; }
.dev-lab-aside > p { font-size: 14px; color: var(--ink-70); line-height: 1.7; margin: 14px 0 4px; }
.dev-lab-grp { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-35); margin: 24px 0 12px; }
.dev-lab-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.dev-lab-chip {
  font-family: var(--mono); font-size: 12px; color: var(--ink-70);
  border: 1px solid var(--ink-12); padding: 7px 13px; border-radius: 6px;
  background: rgba(255,255,255,0.02); cursor: pointer; transition: all 0.18s;
}
.dev-lab-chip::before { content: '$ '; color: var(--ink-35); }
.dev-lab-chip:hover { color: var(--volt); border-color: rgba(var(--volt-rgb),0.45); background: rgba(var(--volt-rgb),0.06); }
.dev-lab-games { display: flex; flex-direction: column; gap: 8px; }
.dev-lab-game {
  display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  border: 1px solid var(--ink-12); border-radius: 10px; padding: 12px 14px;
  background: rgba(255,255,255,0.02); color: var(--ink-50); transition: all 0.2s;
}
.dev-lab-game:hover { border-color: rgba(var(--volt-rgb),0.4); background: rgba(var(--volt-rgb),0.05); transform: translateY(-1px); }
.dev-lab-game .ic { width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px; border: 1px solid var(--ink-12); display: grid; place-items: center; color: var(--volt); }
.dev-lab-game .tx { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.dev-lab-game .tx b { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--bone); letter-spacing: -0.01em; }
.dev-lab-game .tx i { font-family: var(--mono); font-style: normal; font-size: 10.5px; color: var(--ink-35); }
.dev-lab-game > svg { color: var(--ink-35); transition: transform 0.2s, color 0.2s; }
.dev-lab-game:hover > svg { color: var(--volt); transform: translateX(2px); }
.dev-lab-note { font-size: 13px; color: var(--ink-50); line-height: 1.6; margin-top: auto; padding-top: 22px; }
.dev-lab-note .v2-hand { font-size: 20px; color: var(--volt); display: block; margin-bottom: 2px; }

/* ══════════ DEV PROCESS (concepts → prototypes → implementations) ══════════ */
.dev-proc { padding: clamp(70px, 11vh, 130px) 0; border-top: 1px solid var(--ink-08); }
.dev-proc-track { display: grid; gap: 16px; margin-top: 34px; }
@media (min-width: 860px) { .dev-proc-track { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.dev-proc-step {
  position: relative; border: 1px solid var(--ink-08); border-radius: 14px;
  background: var(--panel); padding: 26px 24px 24px; transition: border-color 0.25s, transform 0.25s;
}
.dev-proc-step:hover { border-color: rgba(var(--volt-rgb),0.3); transform: translateY(-2px); }
.dev-proc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dev-proc-top .ic { width: 46px; height: 46px; border-radius: 11px; border: 1px solid var(--ink-12); display: grid; place-items: center; color: var(--volt); background: rgba(var(--volt-rgb),0.05); }
.dev-proc-top .no { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-20); }
.dev-proc-k { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--volt); margin-bottom: 8px; }
.dev-proc-step h3 { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.dev-proc-step p { font-size: 13.5px; color: var(--ink-70); line-height: 1.65; margin: 8px 0 16px; }
.dev-proc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dev-proc-tags span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--ink-50); border: 1px solid var(--ink-08); border-radius: 4px; padding: 4px 9px; }
.dev-proc-arrow { display: none; }
@media (min-width: 860px) {
  .dev-proc-arrow { display: grid; place-items: center; position: absolute; right: -16px; top: 38px; width: 28px; height: 28px; color: var(--ink-20); z-index: 2; }
}

/* ══════════ DEV SOFTWARE TIERS ══════════ */
.dev-tiers { padding: clamp(70px, 11vh, 130px) 0; border-top: 1px solid var(--ink-08); }
.dev-tiers-grid { display: grid; gap: 16px; margin-top: 34px; }
@media (min-width: 860px) { .dev-tiers-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.dev-tier {
  display: flex; flex-direction: column; border: 1px solid var(--ink-08); border-radius: 14px;
  background: var(--panel); padding: 26px 24px; transition: border-color 0.25s, transform 0.25s;
}
.dev-tier:hover { border-color: rgba(var(--volt-rgb),0.3); transform: translateY(-2px); }
.dev-tier.feat { border-color: rgba(var(--volt-rgb),0.4); background: linear-gradient(180deg, rgba(var(--volt-rgb),0.06), var(--panel)); box-shadow: 0 30px 70px -40px rgba(var(--volt-rgb),0.5); }
.dev-tier-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dev-tier-no { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-35); }
.dev-tier-badge { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #0A0A0C; background: var(--volt); padding: 4px 9px; border-radius: 20px; }
.dev-tier h3 { font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; }
.dev-tier-tagline { font-family: var(--hand); font-size: 19px; color: var(--volt); line-height: 1; margin: 4px 0 14px; }
.dev-tier-desc { font-size: 13.5px; color: var(--ink-70); line-height: 1.65; }
.dev-tier-when { font-size: 12px; color: var(--ink-50); line-height: 1.55; margin: 14px 0; padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,0.02); border: 1px solid var(--ink-08); }
.dev-tier-when span { display: block; font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-35); margin-bottom: 4px; }
.dev-tier-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.dev-tier-tools span { font-family: var(--mono); font-size: 10px; color: var(--ink-70); border: 1px solid var(--ink-12); border-radius: 4px; padding: 4px 9px; }
.dev-tier-eg { font-size: 12.5px; color: var(--ink-50); line-height: 1.6; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ink-08); }
.dev-tier-eg .v2-hand { font-size: 17px; color: var(--volt); margin-right: 4px; }
.dev-tiers-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.dev-tiers-foot .v2-hand { font-size: 24px; transform: rotate(-3deg); display: inline-block; }

@media (max-width: 560px) {
  .dev-lab, .dev-proc, .dev-tiers { padding-top: 54px; padding-bottom: 54px; }
  .dev-tiers-foot, .dev-proc-track { gap: 14px; }
}
