/* ===== Tokens ===== */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6vw, 6.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  /* Surfaces: near-black with a faint cool cast */
  --color-bg: oklch(0.145 0.006 285);
  --color-surface: oklch(0.175 0.007 285);
  --color-surface-2: oklch(0.205 0.008 285);
  --color-surface-offset: oklch(0.12 0.005 285);
  --color-border: oklch(1 0 0 / 0.09);
  --color-divider: oklch(1 0 0 / 0.06);

  --color-text: oklch(0.95 0.004 285);
  --color-text-muted: oklch(0.72 0.01 285);
  --color-text-faint: oklch(0.55 0.01 285);
  --color-text-inverse: oklch(0.14 0 0);

  /* Logo red + logo steel blue */
  --color-primary: oklch(0.63 0.25 28);
  --color-primary-hover: oklch(0.69 0.23 30);
  --color-primary-active: oklch(0.56 0.23 28);
  --color-primary-highlight: oklch(0.63 0.25 28 / 0.14);
  --color-steel: oklch(0.68 0.11 252);
  --color-steel-dim: oklch(0.68 0.11 252 / 0.16);
  --color-success: oklch(0.75 0.15 150);

  --radius-sm: 2px;
  --radius-md: 4px;
  --cut: 14px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-lg: 0 24px 60px oklch(0 0 0 / 0.5);

  --content-wide: 1240px;

  --font-display: 'Clash Display', 'Satoshi', sans-serif;
  --font-body: 'Satoshi', 'Inter', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  color-scheme: dark;
}

/* ===== Utilities ===== */
.wrap { width: min(100% - 2 * var(--space-6), var(--content-wide)); margin-inline: auto; }
.mono { font-family: var(--font-mono); letter-spacing: 0.01em; }
.red { color: var(--color-primary); }
.nowrap { white-space: nowrap; }
.kicker {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.dot { width: 8px; height: 8px; display: inline-block; background: var(--color-text-faint); transform: rotate(45deg); flex: none; }
.dot--live { background: var(--color-primary); box-shadow: 0 0 12px var(--color-primary); }
.skip {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--color-primary); color: #fff; padding: var(--space-3) var(--space-4);
}
.skip:focus { top: var(--space-4); }

a { color: inherit; text-decoration: none; }
:focus-visible { outline-color: var(--color-steel); }
::selection { background: oklch(0.63 0.25 28 / 0.35); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 0 var(--space-5);
  font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.02em;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  white-space: nowrap;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--primary:active { background: var(--color-primary-active); }
.btn--ghost { background: var(--color-surface-2); color: var(--color-text); box-shadow: inset 0 0 0 1px var(--color-border); }
.btn--ghost:hover { background: oklch(0.25 0.01 285); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.145 0.006 285 / 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.35s var(--ease-out);
}
.header--hidden { transform: translateY(-100%); }
.header__inner {
  width: min(100% - 2 * var(--space-6), var(--content-wide)); margin-inline: auto;
  display: flex; align-items: center; gap: var(--space-6); min-height: 68px;
}
.brand { display: flex; align-items: center; gap: var(--space-3); margin-right: auto; min-height: 44px; }
.brand__mark { width: 44px; height: 44px; object-fit: cover; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.brand__word {
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-base);
  text-transform: uppercase; letter-spacing: 0.08em; line-height: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.brand__sub { font-family: var(--font-mono); font-weight: 400; font-size: 0.6875rem; letter-spacing: 0.32em; color: var(--color-primary); }

.nav__list { display: flex; gap: var(--space-1); }
.nav__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3);
  font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 500;
}
.nav__list a:hover, .nav__list a[aria-current='true'] { color: var(--color-text); }
.nav__list a[aria-current='true'] { box-shadow: inset 0 -2px 0 var(--color-primary); }
.nav__toggle { display: none; }

@media (max-width: 960px) {
  .header__cta { display: none; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 10px;
  }
  .nav__toggle span { display: block; height: 2px; background: var(--color-text); transition: transform 0.25s var(--ease-out); }
  .nav__toggle[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--color-bg); border-bottom: 1px solid var(--color-border);
    padding: var(--space-2) var(--space-6) var(--space-6);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 0.35s var(--ease-out), visibility 0s linear 0.35s;
  }
  .nav__list.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.35s var(--ease-out); }
  .nav__list a { font-size: var(--text-lg); color: var(--color-text); width: 100%; border-bottom: 1px solid var(--color-divider); min-height: 56px; padding: 0; }
}

/* ===== Hero ===== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92vh, 960px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: clamp(var(--space-16), 10vw, var(--space-32));
  border-bottom: 1px solid var(--color-divider);
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%;
  z-index: -2; opacity: 0.55;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--color-bg) 8%, oklch(0.145 0.006 285 / 0.75) 45%, oklch(0.145 0.006 285 / 0.2) 100%),
    linear-gradient(0deg, var(--color-bg) 0%, transparent 40%);
}
.hero__inner {
  width: min(100% - 2 * var(--space-6), var(--content-wide)); margin-inline: auto;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center; flex: 1;
}
.hero__title {
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-hero);
  line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.hero__lede { color: var(--color-text-muted); font-size: var(--text-base); max-width: 52ch; margin-bottom: var(--space-8); }

.search {
  position: relative; display: flex; align-items: center; max-width: 560px;
  background: oklch(0.12 0.005 285 / 0.85);
  box-shadow: inset 0 0 0 1px var(--color-border);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.search:focus-within { box-shadow: inset 0 0 0 1px var(--color-steel); }
.search__icon { position: absolute; left: var(--space-4); color: var(--color-text-faint); pointer-events: none; }
.search input {
  width: 100%; min-height: 56px; background: transparent; border: 0; outline: 0;
  padding: 0 var(--space-12) 0 var(--space-12); font-size: var(--text-base);
}
.search input::placeholder { color: var(--color-text-faint); }
.search input::-webkit-search-cancel-button { filter: invert(1) opacity(0.5); }
.search__kbd {
  position: absolute; right: var(--space-4); font-size: var(--text-xs); color: var(--color-text-faint);
  border: 1px solid var(--color-border); padding: 0 var(--space-2); border-radius: var(--radius-sm);
}

.hero__tile {
  position: relative; justify-self: end; width: min(100%, 440px);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
  box-shadow: var(--shadow-lg);
  animation: tile-in 1.1s var(--ease-out) both 0.15s;
}
.hero__tile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero__tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) var(--space-6) var(--space-4) var(--space-12);
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em;
  color: oklch(0.15 0 0); background: oklch(1 0 0 / 0);
}
@keyframes tile-in {
  from { clip-path: polygon(0 0, 0 0, 0 0, 0 100%, 0 100%, 0 100%); }
}

.counters {
  width: min(100% - 2 * var(--space-6), var(--content-wide)); margin-inline: auto;
  margin-top: clamp(var(--space-12), 6vw, var(--space-20));
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--color-border);
}
.counters li + li { border-left: 1px solid var(--color-divider); }
.counter {
  display: flex; flex-direction: column; gap: var(--space-1); width: 100%; text-align: left;
  padding: var(--space-5) var(--space-4) var(--space-6);
}
.counter:hover .counter__n { color: var(--color-primary); }
.counter__n { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1; font-variant-numeric: tabular-nums; transition: color var(--transition-interactive); }
.counter__l { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-mono); }

/* ===== Sections ===== */
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section__head { margin-bottom: clamp(var(--space-8), 4vw, var(--space-12)); max-width: 720px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-8); flex-wrap: wrap; }
.section__head--row .section__lede { max-width: 40ch; }
.section__title {
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl);
  line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: var(--space-4);
}
.section__lede { color: var(--color-text-muted); max-width: 56ch; }

/* ===== Directory ===== */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.chip {
  min-height: 44px; padding: 0 var(--space-4);
  font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted);
  box-shadow: inset 0 0 0 1px var(--color-border);
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.chip:hover { color: var(--color-text); box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.22); }
.chip[aria-pressed='true'] { background: var(--color-text); color: var(--color-text-inverse); box-shadow: none; }
.chip__n { font-family: var(--font-mono); font-size: var(--text-xs); opacity: 0.7; }

.dir-status { font-size: var(--text-xs); color: var(--color-text-faint); margin-bottom: var(--space-6); min-height: 1.5em; }

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4);
}
.card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-3);
  height: 100%; padding: var(--space-6);
  background: var(--color-surface);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.card::after {
  /* the cut corner gets a thin red notch */
  content: ''; position: absolute; top: 0; right: 0; width: calc(var(--cut) * 1.42); height: 2px;
  background: var(--color-primary); transform-origin: right top; transform: translate(0, 0) rotate(45deg) translateX(1px);
  opacity: 0; transition: opacity var(--transition-interactive);
}
a.card:hover { background: var(--color-surface-2); }
a.card:hover::after { opacity: 1; }
a.card:hover .card__arrow { transform: translate(3px, -3px); color: var(--color-primary); }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.card__cat { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-steel); }
.card__name { font-size: var(--text-lg); font-weight: 700; line-height: 1.2; }
.card__url { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-faint); word-break: break-all; }
.card__desc { color: var(--color-text-muted); font-size: var(--text-sm); }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding-top: var(--space-3); }
.card__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag { font-size: var(--text-xs); color: var(--color-text-faint); }
.tag + .tag::before { content: '/'; margin-right: var(--space-2); color: var(--color-text-faint); opacity: 0.6; }
.card__arrow { color: var(--color-text-faint); transition: transform var(--transition-interactive), color var(--transition-interactive); flex: none; }

.status { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); font-family: var(--font-mono); color: var(--color-text-muted); white-space: nowrap; }
.status--live .dot { background: var(--color-success); }
.status--dev .dot { background: var(--color-primary); }
.status--soon .dot { background: transparent; box-shadow: inset 0 0 0 1px var(--color-text-faint); }

.card-wrap--featured { grid-column: span 2; grid-row: span 2; }
.card--featured { padding: 0; background: var(--color-primary); color: #fff; }
.card--featured .card__media { position: relative; flex: 1; min-height: 220px; overflow: hidden; background: oklch(0.12 0 0); }
.card--featured .card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.8s var(--ease-out); }
.card--featured:hover .card__media img { transform: scale(1.03); }
.card--featured .card__media .card__mark { inset: auto auto var(--space-6) var(--space-8); width: 80px; height: 80px; opacity: 1; box-shadow: var(--shadow-lg); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.card--featured .card__body { padding: var(--space-6) var(--space-8) var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); }
.card--featured .card__cat { color: oklch(1 0 0 / 0.85); }
.card--featured .card__name { font-family: var(--font-display); font-size: var(--text-xl); text-transform: uppercase; font-weight: 600; }
.card--featured .card__tagline { font-family: var(--font-mono); font-size: var(--text-sm); color: oklch(1 0 0 / 0.9); }
.card--featured .card__desc, .card--featured .card__url, .card--featured .tag, .card--featured .status { color: oklch(1 0 0 / 0.88); }
.card--featured .status--live .dot { background: #fff; }
.card--featured .card__arrow { color: #fff; }
a.card--featured:hover { background: var(--color-primary-hover); }
.card--featured::after { display: none; }

.empty { padding: var(--space-16) var(--space-6); text-align: center; background: var(--color-surface); display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.empty[hidden] { display: none; }
.empty__title { font-size: var(--text-lg); font-weight: 700; }

/* card enter */
.grid > li { animation: card-in 0.5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes card-in { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* ===== Band (Games & Apps) ===== */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
  background: var(--color-surface-offset);
  border-block: 1px solid var(--color-divider);
}
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; z-index: -2; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--color-surface-offset) 15%, oklch(0.12 0.005 285 / 0.7) 55%, oklch(0.12 0.005 285 / 0.15) 100%); }
.band__title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-3xl); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: var(--space-6); }
.band__lede { color: var(--color-text-muted); max-width: 46ch; margin-bottom: var(--space-10); }
.band__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: var(--space-8); }
.list-title { font-size: var(--text-xs); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-primary); font-weight: 500; margin-bottom: var(--space-3); }
.mini li { border-top: 1px solid var(--color-border); }
.mini li:last-child { border-bottom: 1px solid var(--color-border); }
.mini a, .mini span.row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); min-height: 52px; font-weight: 700; }
.mini a:hover { color: var(--color-primary); }

/* ===== Blogs ===== */
.blogs__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: start; }
.blogs .section__head { position: sticky; top: 100px; }
.blog-list { counter-reset: b; }
.blog-item { border-top: 1px solid var(--color-border); }
.blog-item:last-child { border-bottom: 1px solid var(--color-border); }
.blog-link { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-6); align-items: start; padding: var(--space-6) 0; }
.blog-link:hover .blog-name { color: var(--color-primary); }
.blog-n { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-faint); padding-top: 6px; }
.blog-name { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); text-transform: uppercase; line-height: 1.05; transition: color var(--transition-interactive); }
.blog-url { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-steel); margin: var(--space-2) 0; }
.blog-desc { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ===== Partners ===== */
.partners { background: var(--color-surface-offset); border-block: 1px solid var(--color-divider); }
.partner-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.partner {
  display: grid; grid-template-columns: 1fr auto; gap: var(--space-4) var(--space-6); align-items: end;
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  background: var(--color-surface); height: 100%;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.partner:hover { background: var(--color-surface-2); }
.partner:hover .partner__name { color: var(--color-primary); }
.partner__name { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); text-transform: uppercase; line-height: 1; transition: color var(--transition-interactive); grid-column: 1 / -1; }
.partner__tagline { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-steel); grid-column: 1 / -1; }
.partner__desc { color: var(--color-text-muted); font-size: var(--text-sm); grid-column: 1 / -1; max-width: 48ch; }
.partner__url { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-faint); }
.note { margin-top: var(--space-6); font-size: var(--text-xs); color: var(--color-text-faint); max-width: 70ch; }

/* ===== Build ===== */
.build__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; }
.build__media { clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px)); }
.build__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.steps { margin: var(--space-8) 0 var(--space-10); }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-4); padding: var(--space-5) 0; border-top: 1px solid var(--color-border); }
.steps li:last-child { border-bottom: 1px solid var(--color-border); }
.steps__n { color: var(--color-primary); font-size: var(--text-sm); padding-top: 2px; }
.steps h3 { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-1); }
.steps p { color: var(--color-text-muted); font-size: var(--text-sm); }
.build__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.build__mail { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--color-text-faint); user-select: all; }

/* ===== Footer ===== */
.footer { background: var(--color-surface-offset); border-top: 1px solid var(--color-border); padding-top: clamp(var(--space-12), 6vw, var(--space-20)); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 1.6fr; gap: var(--space-10); padding-bottom: var(--space-12); }
.footer__brand img { width: 72px; height: 72px; margin-bottom: var(--space-4); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.footer__name { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--text-xl); line-height: 1; }
.footer__small { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-2); }
.footer__h { font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-primary); font-weight: 500; margin-bottom: var(--space-3); }
.footer nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--color-text-muted); font-size: var(--text-sm); }
.footer nav a:hover { color: var(--color-text); }
.footer__disclosure p { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.6; }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding-block: var(--space-4); border-top: 1px solid var(--color-divider); font-size: var(--text-xs); color: var(--color-text-faint); }
.footer__base a { min-height: 44px; display: inline-flex; align-items: center; }
.footer__base a:hover { color: var(--color-text); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .counters { grid-template-columns: repeat(3, 1fr); }
  .counters li:nth-child(4) { border-left: 0; }
  .counters li:nth-child(n+4) { border-top: 1px solid var(--color-divider); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__tile { justify-self: start; width: min(64%, 300px); order: -1; }
  .hero::before { background: linear-gradient(0deg, var(--color-bg) 10%, oklch(0.145 0.006 285 / 0.7) 60%, oklch(0.145 0.006 285 / 0.5) 100%); }
  .blogs__grid, .build__grid { grid-template-columns: 1fr; }
  .blogs .section__head { position: static; }
  .partner-list { grid-template-columns: 1fr; }
  .band__lists { grid-template-columns: 1fr; }
  .band::before { background: linear-gradient(90deg, var(--color-surface-offset) 0%, oklch(0.12 0.005 285 / 0.82) 100%); }
  .build__media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .card-wrap--featured { grid-column: auto; grid-row: auto; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .counters li:nth-child(n) { border-left: 0; border-top: 1px solid var(--color-divider); }
  .counters li:nth-child(even) { border-left: 1px solid var(--color-divider); }
  .counters li:nth-child(-n+2) { border-top: 0; }
  .search__kbd { display: none; }
  .blog-link { grid-template-columns: auto 1fr; }
  .blog-link { gap: var(--space-2) var(--space-4); padding: var(--space-5) 0; }
  .blog-link > .status { grid-column: 2; }
  .hero__tile figcaption { padding: var(--space-3) var(--space-4) var(--space-3) var(--space-8); white-space: nowrap; }
  .hero__tile figcaption span:last-child { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer__base { flex-direction: column; align-items: flex-start; gap: 0; }
  .brand__mark { width: 40px; height: 40px; }
}
