:root {
  --bg: #FFFFFF;
  --bg-2: #F5F5F2;
  --surface: #FFFFFF;
  --ink: #000000;
  --ink-2: #4A4A48;
  --ink-3: #8E8D86;
  --line: #E5E4DE;
  --line-2: #D6D4CC;
  --accent: #E63E1C;
  --crystal-tint: rgba(230, 62, 28, 0.06);
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist', system-ui, sans-serif;
  --serif: 'Geist', system-ui, sans-serif;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }

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

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

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 100001;
  transform: translate(-50%, -50%);
  will-change: transform;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid #fff;
  border-radius: 50%;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s var(--ease);
  opacity: 0.6;
}
body.hover-active .cursor-dot { width: 0; height: 0; }
body.hover-active .cursor-ring { width: 64px; height: 64px; opacity: 1; }
body.hover-text .cursor-ring { width: 90px; height: 90px; opacity: 1; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
  color: #fff;
}
nav.top .brand {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
nav.top .brand .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}
nav.top ul {
  list-style: none;
  display: flex;
  gap: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
nav.top ul a {
  position: relative;
  padding: 4px 0;
  text-transform: lowercase;
}
nav.top ul a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease-out);
}
nav.top ul a:hover::after { width: 100%; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), width 0.3s var(--ease);
  transform-origin: center;
}
nav.top.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.top.open .nav-toggle span:nth-child(2) { opacity: 0; width: 0; }
nav.top.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 720px) {
  nav.top { padding: 18px 20px; }
  nav.top ul { gap: 16px; font-size: 11px; }
}
@media (max-width: 480px) {
  nav.top {
    padding: 16px 20px;
    flex-wrap: wrap;
    align-items: center;
    mix-blend-mode: normal;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px);
    transition: background 0.3s var(--ease);
  }
  nav.top:not(.open) {
    background: transparent;
    mix-blend-mode: difference;
  }
  nav.top:not(.open) ul { display: none; }
  nav.top ul {
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 12px 0 8px;
    font-size: 13px;
    letter-spacing: 0.04em;
  }
  nav.top ul li { border-top: 1px solid rgba(255,255,255,0.08); }
  nav.top ul a { display: block; padding: 12px 0; }
  .nav-toggle { display: flex; }
}

section.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 200px);
  min-height: calc(100svh - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  animation: rise 1s var(--ease-out) 0.2s forwards;
}
.hero-tag::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--ink-3);
}

.hero h1 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(40px, 8.5vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  max-width: 18ch;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line span {
  display: block;
  transform: translateY(110%);
  animation: rise-line 1.1s var(--ease-out) forwards;
}
.hero h1 .line:nth-child(1) span { animation-delay: 0.35s; }
.hero h1 .line:nth-child(2) span { animation-delay: 0.45s; }
.hero h1 .line:nth-child(3) span { animation-delay: 0.55s; }
.hero h1 .line:nth-child(4) span { animation-delay: 0.65s; }
.hero h1 em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero-meta {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  opacity: 0;
  animation: rise 1s var(--ease-out) 1s forwards;
}
.hero-meta .left {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  max-width: 280px;
}
.hero-meta .left strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
  font-size: 13px;
}
.hero-meta .scroll {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-meta .scroll .arrow {
  display: inline-block;
  width: 1px; height: 24px;
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
}
.hero-meta .scroll .arrow::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--ink);
  animation: scroll-arrow 2s var(--ease) infinite;
}
@keyframes scroll-arrow {
  0% { transform: translateY(0); }
  100% { transform: translateY(200%); }
}

#crystal-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
  pointer-events: none;
  cursor: auto;
}
#crystal-canvas.ready { opacity: 1; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rise-line {
  to { transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 80px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  flex-wrap: wrap;
}
.sec-head h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.sec-head h2 em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}
.sec-head .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sec-head .label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--ink);
  border-radius: 50%;
}

section.about {
  padding: 160px 0 120px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}
.about-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.about-text {
  font-family: var(--sans);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.about-text em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
}
.about-text .accent { color: var(--ink-2); }

section.stats {
  padding: 80px 0 120px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  padding: 48px 24px 48px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: none; padding-right: 0; }
@media (max-width: 900px) {
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.stat-num {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.stat-num em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  color: var(--ink-2);
  font-size: 0.7em;
  vertical-align: 0.1em;
  margin-left: 4px;
}
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

section.work {
  padding: 80px 0 120px;
  position: relative;
}
.work-list {
  list-style: none;
  position: relative;
}
.work-list.is-hovering .work-row:not(.is-active) {
  opacity: 0.25;
  filter: blur(3px);
}
.work-row {
  display: grid;
  grid-template-columns: 48px 1.5fr 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding 0.5s var(--ease-out), opacity 0.4s var(--ease-out), filter 0.4s var(--ease-out);
  cursor: none;
}
.work-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-2);
  z-index: -1;
  opacity: 0;
  transform: scaleY(0.4);
  transform-origin: center;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.work-row:hover { padding-left: 24px; padding-right: 24px; }
.work-row:hover::before { opacity: 1; transform: scaleY(1); }
.work-row:hover .row-name { transform: translateX(8px); }
.work-row:hover .row-arrow { transform: translateX(0) rotate(-45deg); opacity: 1; }

.row-main { min-width: 0; display: flex; flex-direction: column; }
.row-idx {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.row-name {
  font-family: var(--sans);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: transform 0.5s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 12px;
}
.row-name .tld {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  color: var(--ink-2);
  font-size: 0.7em;
  margin-left: 2px;
}
.row-name .row-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-2);
  border: 1px solid var(--line);
  image-rendering: pixelated;
}
.row-name .row-icon.is-empty { opacity: 0; pointer-events: none; }
.row-role {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.row-role .pill {
  display: inline-block;
  border: 1px solid var(--line-2);
  padding: 4px 10px;
  border-radius: 100px;
  margin-right: 6px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.row-role .pill--cfg {
  border-color: var(--accent);
  color: var(--accent);
}
.row-stats {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  text-align: right;
  min-width: 180px;
  line-height: 1.5;
}
.row-stats .big {
  font-family: var(--sans);
  font-size: 18px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.row-arrow {
  font-family: var(--sans);
  font-size: 20px;
  opacity: 0.3;
  transform: translateX(-8px) rotate(0deg);
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
  display: inline-block;
  width: 24px; text-align: right;
}
.row-note {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin-top: 6px;
}

/* Floating hover card */
.work-card {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  width: 360px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.11), 0 2px 8px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translate(-9999px, -9999px) scale(0.96);
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
  pointer-events: none;
}
.work-card.is-visible {
  opacity: 1;
  transform: translate(var(--card-x, 0), var(--card-y, 0)) scale(1);
}
.work-card-top {
  display: flex;
  gap: 14px;
  align-items: center;
}
.work-card-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-2);
  border: 1px solid var(--line);
}
.work-card-icon.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: -0.01em;
}
.work-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.work-card-name {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.work-card-role {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}
.work-card-meta {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.03em;
  margin-top: 3px;
}
.work-card-meta strong {
  color: var(--ink);
  font-weight: 500;
}
.work-card-divider {
  height: 1px;
  background: var(--line);
}
.work-card-desc {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-2);
}
.work-card-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.work-card-pills .pill {
  display: inline-block;
  border: 1px solid var(--line-2);
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 9.5px;
  font-family: var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.work-card-pills .pill--cfg {
  border-color: var(--accent);
  color: var(--accent);
}
.work-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.work-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  background: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
  cursor: pointer;
}
.work-card-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.work-card-btn--primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.work-card-btn--primary:hover { background: #333; border-color: #333; }
.work-card-btn--copy.copied { border-color: #2EA947; color: #2EA947; background: none; }
.work-card.is-pinned { pointer-events: auto; }

@media (max-width: 900px) {
  .work-row {
    grid-template-columns: 32px 1fr auto;
    grid-template-rows: auto auto;
    gap: 12px 16px;
  }
  .row-role { grid-column: 2 / 4; font-size: 11px; }
  .row-stats { grid-column: 2 / 4; text-align: left; min-width: 0; }
  .row-arrow { grid-row: 1; grid-column: 3; }
  .row-name .row-icon { width: 24px; height: 24px; flex-basis: 24px; }
  .work-card { display: none; }
  .work-list.is-hovering .work-row:not(.is-active) { opacity: 1; filter: none; }
}

section.stores {
  padding: 80px 0 120px;
  position: relative;
}
.stores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .stores-grid { grid-template-columns: 1fr; }
}
.store-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease);
  display: block;
}
.store-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.store-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.store-card:hover::before { transform: scaleX(1); }
.store-card:hover .store-arrow { transform: translate(4px, -4px); }

.store-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.store-tag .live-dot {
  width: 6px; height: 6px;
  background: #2EA947;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 169, 71, 0.5);
  animation: live 2s var(--ease) infinite;
}
@keyframes live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 169, 71, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(46, 169, 71, 0); }
}
.store-name {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.store-url {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  word-break: break-all;
}
.store-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.store-foot .stack {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.store-arrow {
  font-family: var(--mono);
  font-size: 18px;
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}

section.configs {
  padding: 80px 0 100px;
  border-top: 1px solid var(--line);
}
.configs-sub {
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink-2);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 56px;
}
.configs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .configs-grid { grid-template-columns: 1fr; }
}
.cfg-card {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.4s var(--ease);
}
.cfg-card:hover { background: var(--surface); }
.cfg-file {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.cfg-title {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.cfg-desc {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

section.contact {
  padding: 120px 0 80px;
  background: var(--bg-2);
  color: var(--ink);
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
section.contact .sec-head { border-color: rgba(0,0,0,0.1); }
section.contact .sec-head .label { color: rgba(0,0,0,0.5); }
section.contact .sec-head .label::before { background: var(--ink); }

.contact-line {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 110px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 16ch;
  margin-bottom: 80px;
}
.contact-line em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.55);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 80px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item {
  padding: 36px 32px 36px 0;
  border-right: 1px solid rgba(0,0,0,0.1);
  position: relative;
  display: block;
}
.contact-item:last-child { border-right: none; }
@media (max-width: 900px) {
  .contact-item {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 28px 0;
  }
  .contact-item:last-child { border-bottom: none; }
}
.contact-item .label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  margin-bottom: 12px;
  display: block;
}
.contact-item .value {
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.4s var(--ease-out);
}
.contact-item:hover .value { transform: translateX(6px); }
.contact-item .arrow {
  font-family: var(--sans);
  opacity: 0.4;
  transition: opacity 0.4s var(--ease);
  font-size: 18px;
}
.contact-item:hover .arrow { opacity: 1; }

footer.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 60px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: rgba(0,0,0,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.foot-legal a { color: rgba(0,0,0,0.55); }
.foot-legal a:hover { color: var(--ink); }

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 24px 0;
  margin: 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 64px;
  animation: marquee 40s linear infinite;
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}
.marquee-track em {
  font-family: var(--serif);
  font-style: normal;
  color: var(--ink);
  font-weight: 400;
}
.marquee-track .sep {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 14px;
  align-self: center;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.8s var(--ease) 0.3s, visibility 0.8s var(--ease) 0.3s;
}
.loader.gone { opacity: 0; visibility: hidden; }
.loader-bar {
  width: 200px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.loader-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 100%;
  background: var(--ink);
  transform: translateX(-100%);
  animation: load 1.2s var(--ease-out) forwards;
}
@keyframes load {
  to { transform: translateX(0); }
}
.loader-text {
  position: absolute;
  bottom: 32px; left: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero-head-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.hero-head {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  border-radius: 4px;
  flex-shrink: 0;
}
.ign-lookup {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ign-head-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
}
.ign-lookup-head {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  border-radius: 3px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.ign-lookup-head.loaded { opacity: 1; }
.ign-name-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity: 0.75;
}
.ign-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ign-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 3px 0;
  width: 140px;
  outline: none;
  transition: border-color 0.2s;
}
.ign-input::placeholder { color: var(--ink-2); opacity: 0.6; }
.ign-input:focus { border-color: var(--ink); }
.ign-btn {
  background: transparent;
  border: 1px solid var(--ink-2);
  color: var(--ink);
  font-size: 12px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.6;
}
.ign-btn:hover { opacity: 1; border-color: var(--ink); }
.ign-history {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ign-chip {
  background: transparent;
  border: 1px solid var(--ink-2);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 3px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.ign-chip:hover { color: var(--ink); border-color: var(--ink); }

.mc-login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  backdrop-filter: blur(8px);
}
.mc-login-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.mc-login-card {
  background: var(--bg);
  border: 1px solid var(--ink-2);
  border-radius: 8px;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 300px;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s cubic-bezier(.22,1,.36,1);
}
.mc-login-overlay.visible .mc-login-card { transform: none; }
.mc-login-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mc-login-head {
  width: 52px;
  height: 52px;
  image-rendering: pixelated;
  border-radius: 4px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
  background: var(--ink-2);
}
.mc-login-head.loaded { opacity: 1; }
.mc-login-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mc-login-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.mc-login-sub {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.mc-login-input {
  background: transparent;
  border: 1px solid var(--ink-2);
  border-radius: 4px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.mc-login-input:focus { border-color: var(--ink); }
.mc-login-input::placeholder { color: var(--ink-2); opacity: 0.5; }
.mc-login-btn {
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.mc-login-btn:hover { opacity: 0.8; }
.mc-login-btn:disabled { opacity: 0.3; cursor: default; }
.mc-login-skip {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--ink-3);
  cursor: pointer;
  text-align: center;
  transition: color 0.2s;
}
.mc-login-skip:hover { color: var(--ink); }
.hero-head-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-logout {
  background: transparent;
  border: none;
  padding: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  cursor: pointer;
  text-align: left;
  transition: color 0.15s;
}
.hero-logout:hover { color: var(--ink); }

.skin-dl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  backdrop-filter: blur(6px);
}
.skin-dl-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.skin-dl-card {
  background: var(--bg);
  border: 1px solid var(--ink-2);
  border-radius: 6px;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.22s cubic-bezier(.22,1,.36,1);
}
.skin-dl-overlay.visible .skin-dl-card {
  transform: translateY(0) scale(1);
}
.skin-dl-head {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  border-radius: 4px;
}
.skin-dl-ign {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.skin-dl-filename {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.skin-dl-bar-wrap {
  width: 100%;
  height: 3px;
  background: var(--ink-2);
  border-radius: 2px;
  overflow: hidden;
}
.skin-dl-bar {
  height: 100%;
  width: 0%;
  background: var(--ink);
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(.4,0,.2,1);
}
.skin-dl-status {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.06em;
  min-height: 16px;
  transition: color 0.2s;
}
.skin-dl-status.done { color: var(--ink); }
.skin-dl-status.err  { color: #e05555; }
.skin-dl-folder {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  opacity: 0.6;
  min-height: 14px;
}

section.reviews {
  padding: 80px 0 120px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.reviews-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.reviews-track {
  display: inline-flex;
  gap: 24px;
  will-change: transform;
  animation: reviews-scroll var(--review-dur, 60s) linear infinite;
}
@keyframes reviews-scroll {
  to { transform: translateX(-50%); }
}
.review-card {
  flex: 0 0 360px;
  width: 360px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  white-space: normal;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-server-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 6px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  image-rendering: pixelated;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  overflow: hidden;
  background-color: var(--bg-2);
  border: 1px solid var(--line);
}
.review-server-icon.has-img { background-color: transparent; }
.review-server-icon.has-img .ri-fallback { display: none; }
.review-server-name {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.review-stars {
  display: flex;
  gap: 4px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.08em;
}
.review-stars .star { color: var(--line-2); }
.review-stars .star.on { color: var(--accent); }
.review-msg {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.01em;
  flex: 1;
}
.review-divider {
  height: 1px;
  background: var(--line);
}
.review-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 6px;
  background-color: var(--bg-2);
  border: 1px solid var(--line);
  image-rendering: pixelated;
}
.review-author { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.review-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.review-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}
@media (max-width: 720px) {
  .review-card { flex-basis: 300px; width: 300px; }
}

.no-cursor { cursor: none; }

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