/* =========================================================
   ciwing.rush — terminal/CRT broadcast ops
   palette: jungle black, neon green, blaze orange
   ========================================================= */

:root {
  --ink-0: #08110b;
  --ink-1: #0d2017;
  --ink-2: #143324;
  --line: #1d4530;
  --line-2: #2a5c41;
  --green: #00ff9c;
  --green-2: #00b378;
  --green-d: #007a52;
  --orange: #ff6a3d;
  --red: #ff3855;
  --paper: #e8ffe0;
  --paper-d: #b3c6a8;
  --paper-x: #6b8a72;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--ink-0); color: var(--paper); }
body {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0,255,156,0.06), transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(255,106,61,0.04), transparent 50%),
    var(--ink-0);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---- global CRT overlays ---- */
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 9000;
  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);
  mix-blend-mode: multiply;
  opacity: 0.55;
}
.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 9001;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.6) 100%);
}

/* =========================================================
   BOOT OVERLAY
   ========================================================= */
.boot {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink-0);
  display: grid; place-items: center;
  transition: opacity 0.6s ease 0.1s, visibility 0.6s ease 0.1s;
}
.boot.hide { opacity: 0; visibility: hidden; }
.boot__scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,255,156,0.05) 2px 3px);
  pointer-events: none;
}
.boot__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,255,156,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,156,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.boot__inner {
  position: relative; z-index: 1; width: min(540px, 90vw);
  color: var(--green);
}
.boot__crest {
  display: grid; place-items: center;
  margin-bottom: 28px;
  color: var(--green);
  filter: drop-shadow(0 0 18px rgba(0,255,156,0.4));
}
.boot__sigil { width: 96px; height: 96px; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot__log {
  font-size: 11px; line-height: 1.7;
  border: 1px solid var(--line); border-left: 2px solid var(--green);
  background: rgba(0,255,156,0.04);
  padding: 14px 16px; height: 140px; overflow: hidden;
  font-family: var(--mono);
}
.boot__log b { color: var(--green); font-weight: 700; }
.boot__log em { color: var(--orange); font-style: normal; }
.boot__bar {
  margin-top: 14px; height: 3px; background: var(--ink-1); overflow: hidden;
  border: 1px solid var(--line);
}
.boot__bar-fill {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-2));
  box-shadow: 0 0 8px var(--green);
  transition: width 0.25s linear;
}

/* =========================================================
   TOP STATUS BAR
   ========================================================= */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 22px;
  background: rgba(8,17,11,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.topbar__l, .topbar__c, .topbar__r { display: flex; align-items: center; gap: 10px; }
.topbar__c { justify-content: center; gap: 16px; }
.topbar__r { justify-content: flex-end; }
.topbar__sig { color: var(--green); font-weight: 700; }
.topbar__sep { color: var(--line-2); }
.topbar__loc { color: var(--paper-x); }
.topbar__live { color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.topbar__time { color: var(--paper); font-variant-numeric: tabular-nums; }
.topbar__a {
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--paper-d);
  transition: all 0.15s ease;
}
.topbar__a:hover { color: var(--green); border-color: var(--green); background: rgba(0,255,156,0.06); }
.dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
  background: var(--green); box-shadow: 0 0 6px currentColor;
}
.dot--green { color: var(--green); }
.dot--red { color: var(--red); background: var(--red); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr 320px;
  gap: 32px;
  padding: 48px 32px 64px;
  max-width: 1280px;
  margin: 0 auto;
  min-height: calc(100vh - 60px);
  align-items: center;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,255,156,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,156,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero__sweep {
  position: absolute; top: 0; left: -30%; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,255,156,0.08), transparent);
  animation: sweep 7s linear infinite;
}
@keyframes sweep { to { left: 130%; } }

/* -- profile portrait (left) -- */
.hero__left { display: grid; place-items: center; }
.profile {
  position: relative; width: 240px;
  display: flex; flex-direction: column; gap: 12px;
}
.profile__frame {
  position: relative; width: 240px; height: 240px;
  border: 1px solid var(--green-d);
  background: var(--ink-0);
  overflow: hidden;
  box-shadow: 0 0 24px rgba(0,255,156,0.18);
}
.profile__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  filter: contrast(1.05) saturate(1.05) brightness(0.95);
}
.profile__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,255,156,0.05) 0%, transparent 30%, transparent 70%, rgba(8,17,11,0.55) 100%);
  mix-blend-mode: normal;
}
.profile__scan {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,255,156,0.06) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
  animation: profScan 6s linear infinite;
}
@keyframes profScan { from { background-position: 0 0; } to { background-position: 0 60px; } }
.profile__corners { position: absolute; inset: 0; pointer-events: none; }
.profile__corners .c {
  position: absolute; width: 18px; height: 18px;
  border: 2px solid var(--green);
  filter: drop-shadow(0 0 4px var(--green));
}
.profile__corners .c--tl { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.profile__corners .c--tr { top: 6px; right: 6px; border-left: 0; border-bottom: 0; }
.profile__corners .c--bl { bottom: 6px; left: 6px; border-right: 0; border-top: 0; }
.profile__corners .c--br { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }
.profile__id {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 10px;
  background: rgba(8,17,11,0.78);
  border-top: 1px solid var(--green-d);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--paper);
}
.profile__id-l { color: var(--green); font-weight: 700; }
.profile__id-r { color: var(--paper-d); }
.profile__meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.profile__row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  background: var(--ink-1);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  min-width: 0;
}
.profile__row span { color: var(--green); font-weight: 700; min-width: 30px; }
.profile__row b { color: var(--paper); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile__row b.ok { color: var(--green); }

/* -- mid (name + lede) -- */
.hero__mid { position: relative; }
.hero__kicker {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.kicker__tag {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid var(--line);
  color: var(--paper-d);
}
.kicker__tag--alt { color: var(--orange); border-color: var(--orange); background: rgba(255,106,61,0.06); }

.hero__title {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  display: flex; align-items: baseline; gap: 6px;
  flex-wrap: wrap;
}
.ht__l1 { color: var(--paper); }
.ht__l2 { color: var(--green); text-shadow: 0 0 28px rgba(0,255,156,0.35); }
.ht__cursor {
  color: var(--green);
  animation: blink 1s steps(2) infinite;
  font-size: 0.6em;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__sub {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--paper-x); margin-bottom: 22px;
}
.hero__lede {
  font-family: var(--mono);
  font-size: 14px; line-height: 1.7; color: var(--paper-d);
  max-width: 540px; margin-bottom: 28px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; font-size: 12px;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid var(--line);
  transition: all 0.18s ease;
  cursor: pointer;
}
.btn--primary { background: var(--green); color: var(--ink-0); border-color: var(--green); }
.btn--primary:hover { background: var(--paper); border-color: var(--paper); box-shadow: 0 0 22px rgba(0,255,156,0.5); }
.btn--ghost { color: var(--paper-d); }
.btn--ghost:hover { color: var(--green); border-color: var(--green); }
.btn__arr { transition: transform 0.18s ease; }
.btn--primary:hover .btn__arr { transform: translateX(3px); }
.btn__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 6px var(--red); animation: pulse 1.2s ease-in-out infinite;
}
.btn--wide { width: 100%; justify-content: center; padding: 16px 20px; }

/* -- right panels -- */
.hero__right { display: flex; flex-direction: column; gap: 16px; }
.panel {
  border: 1px solid var(--line);
  background: rgba(13,32,23,0.5);
  position: relative;
}
.panel::before {
  content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.6;
}
.panel__head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--paper-d);
}
.panel__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.panel__title { flex: 1; font-weight: 700; }
.panel__id { color: var(--orange); }

.stats { padding: 6px 0; }
.stats__row {
  display: grid; grid-template-columns: 90px 1fr; gap: 12px;
  padding: 8px 14px;
  font-size: 12px;
  border-bottom: 1px solid rgba(29,69,48,0.4);
}
.stats__row:last-child { border-bottom: 0; }
.stats__row dt { color: var(--paper-x); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; align-self: center; }
.stats__row dd { color: var(--paper); font-weight: 500; }
.stats__row dd.ok { color: var(--green); }
.stats__row dd.num { font-variant-numeric: tabular-nums; color: var(--orange); }

.panel--bars { padding: 14px; }
.scope {
  margin: 0 0 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.4);
  padding: 8px 10px 6px;
}
.scope__head {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 6px;
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
}
.scope__tag {
  padding: 2px 6px;
  border: 1px solid var(--green-d);
  color: var(--green);
  font-weight: 700;
}
.scope__tag--alt { color: var(--orange); border-color: var(--orange); }
.scope__svg {
  display: block; width: 100%; height: 70px;
  background: rgba(0,255,156,0.03);
  border: 1px solid var(--green-d);
}
.scope__grid line { stroke: rgba(0,255,156,0.12); stroke-width: 1; }
#scopeLine { filter: drop-shadow(0 0 4px var(--green)); }
.scope__foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--paper-x);
}
.scope__mid {
  padding: 1px 6px;
  border: 1px solid var(--green);
  color: var(--green);
  font-weight: 700;
  animation: pulse 1.2s ease-in-out infinite;
}
.sigmeta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  margin: 0 0 10px;
  background: var(--line);
  border: 1px solid var(--line);
}
.sigmeta__row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: var(--ink-1);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  min-width: 0;
}
.sigmeta__row span { color: var(--green); font-weight: 700; min-width: 26px; }
.sigmeta__row b { color: var(--paper); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sigmeta__row b.ok { color: var(--green); }
.bars span {
  flex: 1; background: var(--green-d);
  position: relative; overflow: hidden;
}
.bars span::after {
  content: ""; position: absolute; inset: 0;
  background: var(--green); transform-origin: bottom;
  animation: rise 1.2s ease-in-out infinite;
}
.bars span:nth-child(1)::after { animation-delay: 0.0s; --h: 30%; }
.bars span:nth-child(2)::after { animation-delay: 0.1s; --h: 55%; }
.bars span:nth-child(3)::after { animation-delay: 0.2s; --h: 75%; }
.bars span:nth-child(4)::after { animation-delay: 0.3s; --h: 90%; }
.bars span:nth-child(5)::after { animation-delay: 0.4s; --h: 65%; }
.bars span:nth-child(6)::after { animation-delay: 0.5s; --h: 80%; }
.bars span:nth-child(7)::after { animation-delay: 0.6s; --h: 45%; }
.bars span:nth-child(8)::after { animation-delay: 0.7s; --h: 70%; }
.bars span:nth-child(9)::after { animation-delay: 0.8s; --h: 95%; }
@keyframes rise {
  0%,100% { transform: scaleY(var(--h, 50%)); }
  50% { transform: scaleY(0.3); }
}
.bars__cap { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.2em; color: var(--paper-x); }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-1);
  padding: 12px 0;
}
.marquee__track {
  display: inline-flex; gap: 28px; align-items: center;
  white-space: nowrap;
  animation: scroll 22s linear infinite;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--paper-d);
}
.marquee__track span:nth-child(odd) { color: var(--green); font-weight: 700; }
.marquee__track span:nth-child(even) { color: var(--orange); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* =========================================================
   SECTION HEAD (shared)
   ========================================================= */
.section__head {
  display: flex; justify-content: space-between; align-items: end;
  padding: 0 0 24px; max-width: 1280px; margin: 0 auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.section__head-l { display: flex; align-items: baseline; gap: 14px; }
.section__num {
  font-family: var(--mono); font-size: 11px;
  color: var(--orange); letter-spacing: 0.2em;
  padding: 2px 8px; border: 1px solid var(--orange);
}
.section__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em; text-transform: uppercase;
  color: var(--paper);
}
.section__sub { font-size: 11px; color: var(--paper-x); letter-spacing: 0.2em; text-transform: uppercase; }

/* =========================================================
   FEED (clips)
   ========================================================= */
.feed {
  position: relative;
  padding: 80px 32px 100px;
  max-width: 1280px; margin: 0 auto;
}
.feed__filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.chip {
  padding: 8px 14px;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--paper-d); border: 1px solid var(--line);
  transition: all 0.15s ease;
}
.chip:hover { color: var(--green); border-color: var(--green); }
.chip--on { background: var(--green); color: var(--ink-0); border-color: var(--green); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.clip {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  background: var(--ink-1);
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
  aspect-ratio: 9/16;
}
.clip:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0,255,156,0.18);
}
.clip__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(1.05) brightness(0.85);
  transition: filter 0.3s ease;
}
.clip:hover .clip__media { filter: saturate(1.15) brightness(1); }
.clip__scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,255,156,0.04) 2px 3px);
  pointer-events: none;
}
.clip__top {
  position: absolute; top: 10px; left: 10px; right: 10px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 2;
}
.clip__id {
  font-size: 10px; color: var(--green);
  background: rgba(8,17,11,0.85);
  padding: 3px 7px; letter-spacing: 0.1em;
  border: 1px solid var(--line-2);
}
.clip__dur {
  font-size: 10px; color: var(--paper);
  background: rgba(8,17,11,0.85);
  padding: 3px 7px;
  border: 1px solid var(--line-2);
  font-variant-numeric: tabular-nums;
}
.clip__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 56px; height: 56px;
  border: 2px solid var(--green);
  background: rgba(8,17,11,0.6);
  display: grid; place-items: center;
  opacity: 0; transition: all 0.2s ease;
}
.clip:hover .clip__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.clip__play::before {
  content: ""; display: block;
  width: 0; height: 0;
  border-left: 14px solid var(--green);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.clip__bot {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 50px 14px 14px;
  background: linear-gradient(transparent, rgba(8,17,11,0.96));
  z-index: 2;
}
.clip__title {
  font-size: 12px; line-height: 1.4;
  color: var(--paper);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  font-weight: 500;
}
.clip__meta {
  display: flex; gap: 12px;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.clip__meta span::before { content: "▸ "; color: var(--orange); }

.feed__more { max-width: 320px; margin: 0 auto; }

/* =========================================================
   RIG
   ========================================================= */
.rig {
  position: relative;
  padding: 80px 32px 100px;
  max-width: 1280px; margin: 0 auto;
  border-top: 1px solid var(--line);
}
.rig__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.rig__card {
  border: 1px solid var(--line);
  background: var(--ink-1);
  padding: 20px;
  position: relative;
  transition: all 0.2s ease;
}
.rig__card::after {
  content: ""; position: absolute;
  top: 0; right: 0; width: 22px; height: 22px;
  background: linear-gradient(135deg, transparent 50%, var(--green) 50%);
  opacity: 0.6;
}
.rig__card:hover { border-color: var(--green); }
.rig__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rig__icon {
  font-size: 22px; color: var(--green);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--green-d);
  background: rgba(0,255,156,0.05);
}
.rig__name {
  font-family: var(--display); font-size: 16px; font-weight: 700;
  color: var(--paper); letter-spacing: -0.01em; text-transform: uppercase;
}
.rig__sub { font-size: 10px; color: var(--paper-x); letter-spacing: 0.15em; text-transform: uppercase; }
.rig__list { list-style: none; }
.rig__list li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(29,69,48,0.5);
  font-size: 12px; color: var(--paper-d);
  min-width: 0;
}
.rig__list li:last-child { border-bottom: 0; }
.rig__tag {
  font-size: 10px; font-weight: 700;
  color: var(--green);
  min-width: 28px;
  text-align: center;
  letter-spacing: 0.05em;
}
.rig__list em { color: var(--orange); font-style: normal; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; margin-left: auto; }
.rig__list em.now { color: var(--green); }
.rig__list--links li a {
  display: flex; align-items: baseline; gap: 10px; width: 100%;
  min-width: 0;
  color: var(--paper-d);
  transition: color 0.15s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.rig__list--links li a:hover { color: var(--green); }
.rig__list--links .rig__tag { color: var(--orange); flex-shrink: 0; }
.rig__list--links li a .rig__url {
  min-width: 0; flex: 1;
  overflow-wrap: anywhere; word-break: break-word;
  display: inline-block;
}

/* =========================================================
   HIRE
   ========================================================= */
.hire {
  position: relative;
  padding: 80px 32px 100px;
  max-width: 1280px; margin: 0 auto;
  border-top: 1px solid var(--line);
}
.hire__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
  align-items: start;
}
.hire__h {
  font-family: var(--display);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 18px;
}
.hire__h .accent { color: var(--green); text-shadow: 0 0 18px rgba(0,255,156,0.3); }
.hire__p {
  font-size: 14px; line-height: 1.7; color: var(--paper-d);
  margin-bottom: 24px; max-width: 480px;
}
.hire__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hire__small { font-size: 11px; color: var(--orange); letter-spacing: 0.1em; }
.hire__caps {
  list-style: none;
  border: 1px solid var(--line);
  background: var(--ink-1);
}
.hire__caps li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.hire__caps li:last-child { border-bottom: 0; }
.hire__k { color: var(--paper-x); letter-spacing: 0.18em; text-transform: uppercase; font-size: 10px; }
.hire__v { color: var(--paper); font-weight: 500; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 16px;
  padding: 22px 32px;
  border-top: 1px solid var(--line);
  background: var(--ink-1);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
}
.foot__l { display: flex; align-items: center; gap: 10px; color: var(--paper-x); }
.foot__brand { color: var(--green); font-weight: 700; }
.foot__sep { color: var(--line-2); }
.foot__c { text-align: center; color: var(--paper-x); }
.foot__r { text-align: right; }
.foot__studio {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--paper-d);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 1px;
  transition: all 0.18s ease;
}
.foot__studio:hover {
  color: var(--orange);
  border-bottom-color: var(--green);
  text-shadow: 0 0 10px rgba(255,106,61,0.4);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 32px 22px 60px; gap: 24px; min-height: auto; }
  .hero__left { order: 0; }
  .hero__mid { order: 1; }
  .hero__right { order: 2; flex-direction: row; flex-wrap: wrap; }
  .hero__right .panel { flex: 1 1 240px; }
  .profile, .profile__frame { width: 220px; }
  .profile__frame { height: 220px; }
  .hire__grid { grid-template-columns: 1fr; gap: 28px; }
  .topbar { grid-template-columns: 1fr 1fr; padding: 12px 18px; gap: 12px; font-size: 11px; }
  .topbar__l, .topbar__r { gap: 14px; flex-wrap: wrap; }
  .topbar__c { display: none; }
  .topbar__r { grid-column: 2; }
}

@media (max-width: 640px) {
  .topbar { padding: 12px 14px; font-size: 10px; gap: 10px; }
  .topbar__l, .topbar__r { gap: 10px; row-gap: 8px; flex-wrap: wrap; }
  .topbar__a { padding: 6px 10px; }
  .topbar__loc { display: none; }
  .hero { padding: 24px 16px 48px; }
  .hero__right { flex-direction: column; }
  .profile, .profile__frame { width: 200px; }
  .profile__frame { height: 200px; }
  .profile__meta { grid-template-columns: 1fr; }
  .feed, .rig, .hire { padding: 56px 16px 72px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .foot { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .foot__l, .foot__r { justify-content: center; }
  .foot__r { text-align: center; }
  .marquee__track { gap: 18px; font-size: 10px; }
}


/* Modal */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 18px; }
.modal.is-on { display: flex; }
.modal__bg { position: absolute; inset: 0; background: rgba(4,6,12,0.88); backdrop-filter: blur(14px); }
.modal__box { position: relative; width: min(420px, 100%); max-height: 92vh; background: var(--bg-2, #1a1a1a); border: 1px solid var(--line, #333); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line, #333); }
.modal__title { font-family: var(--font-mono, monospace); font-size: 11px; letter-spacing: 1.2px; color: var(--green, #d4a948); text-transform: uppercase; }
.modal__close { background: transparent; border: 1px solid var(--line, #333); color: var(--ink-2, #aaa); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-family: var(--font-mono, monospace); font-size: 13px; }
.modal__close:hover { color: var(--green, #d4a948); border-color: var(--green, #d4a948); }
.modal__embed { position: relative; aspect-ratio: 9/16; max-height: 70vh; background: #000; overflow: hidden; display: flex; align-items: center; justify-content: center; width: 100%; }
.modal__embed .skel { position: absolute; inset: 0; background-size: cover; background-position: center; }
.modal__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; margin: 0 auto; display: block; }
.modal__stats {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 12px 14px; border-top: 1px solid var(--line, #333);
  font-family: var(--font-mono, monospace); font-size: 10px;
  letter-spacing: 0.5px; color: var(--ink-2, #aaa);
  flex-wrap: wrap;
}
.modal__stats > span { text-align: center; flex: 1 1 auto; min-width: 50px; }
.modal__stats b { display: block; font-size: 14px; color: var(--accent, #0ff); margin-top: 2px; font-weight: 600; }
.modal__stat { text-align: center; }
.modal__stat b { display: block; font-size: 14px; font-family: var(--font-mono, monospace); color: var(--green, #d4a948); }
.modal__stat .k { font-size: 9px; letter-spacing: 1.2px; color: var(--ink-2, #aaa); text-transform: uppercase; margin-top: 2px; }
