/* ==========================================================================
   Qubix Network — site styles
   Black background, white text. Monochrome, geometric, editorial.
   ========================================================================== */

:root {
  --bg: #000;
  --surface: #0a0a0a;
  --surface-2: #121212;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #fff;
  --muted: #b0b0b0;
  --dim: #8a8a8a;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

::selection {
  background: #fff;
  color: #000;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-link.is-active {
  color: var(--text);
}

.nav-link[aria-current="page"],
.nav-link.is-active {
  background: var(--surface-2);
}

.nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px var(--gutter) 24px;
    background: #000;
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    display: block;
    padding: 12px 14px;
    font-size: 17px;
  }

  .nav-cta {
    margin: 8px 0 0;
    justify-content: center;
  }
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-primary:hover {
  background: #dcdcdc;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: #fff;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s, gap 0.2s var(--ease);
}

.text-link .icon {
  width: 16px;
  height: 16px;
}

.text-link:hover {
  border-color: #fff;
  gap: 9px;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(80px, 11vw, 140px);
  scroll-margin-top: var(--header-h);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label .num {
  color: var(--text);
}

.section-label::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--line-strong);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

.section-intro {
  color: var(--muted);
  font-size: 18px;
  max-width: 46ch;
}

@media (max-width: 860px) {
  .section-head {
    grid-template-columns: 1fr;
  }
}

/* ---------- 01 Introduction ---------- */

.intro {
  padding-top: clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.intro .container {
  position: relative;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.intro-title {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.intro-title .soft {
  color: var(--dim);
}

.intro-text {
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 36px;
}

.intro-text strong {
  color: var(--text);
  font-weight: 600;
}

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

.intro-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 460px;
  width: 100%;
  justify-self: end;
}

.intro-visual .hex-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}

.intro-visual .hex-rings .ring-outer {
  transform-origin: 50% 50%;
  animation: spin 80s linear infinite;
  stroke-dasharray: 4 10;
}

.intro-visual .logo-mark {
  position: relative;
  width: 64%;
  filter: drop-shadow(0 0 60px rgba(255, 255, 255, 0.12));
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line);
  list-style: none;
  padding: 0;
}

.formats li {
  padding: 28px 28px 4px 0;
}

.formats li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.formats .fmt-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin-bottom: 10px;
}

.formats h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.formats p {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 860px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-visual {
    order: -1;
    justify-self: start;
    max-width: 220px;
  }

  .formats {
    grid-template-columns: 1fr;
  }

  .formats li,
  .formats li + li {
    padding: 22px 0;
    border-left: 0;
  }

  .formats li + li {
    border-top: 1px solid var(--line);
  }
}

/* ---------- 02 Products ---------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease), background-color 0.3s;
}

.product-card:hover {
  border-color: var(--line-strong);
  background: #0e0e0e;
  transform: translateY(-4px);
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.product-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #000;
}

.product-icon .icon {
  width: 24px;
  height: 24px;
}

.product-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.product-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.product-card p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.product-handle {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 24px;
}

.product-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

@media (max-width: 960px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-top {
    margin-bottom: 28px;
  }
}

/* ---------- 03 Founder ---------- */

.founder-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.founder-portrait {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.founder-portrait .hex {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%);
  background: linear-gradient(160deg, #1d1d1d, #050505 70%);
}

.founder-portrait .hex-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 0.6;
}

.founder-portrait .monogram {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(64px, 9vw, 110px);
  letter-spacing: -0.04em;
}

.founder-role {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 28px;
}

.founder-bio {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.6;
  color: #d6d6d6;
  max-width: 58ch;
  margin-bottom: 36px;
}

.founder-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding: 20px 0;
  margin: 0 0 36px;
  border-block: 1px solid var(--line);
}

.founder-facts div {
  display: flex;
  flex-direction: column;
}

.founder-facts dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.founder-facts dd {
  margin: 4px 0 0;
  font-weight: 500;
}

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

@media (max-width: 860px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .founder-portrait {
    max-width: 200px;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-tagline {
  margin-top: 18px;
  color: var(--muted);
  max-width: 34ch;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 16px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-list a:hover {
  color: var(--text);
}

.footer-list .icon {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Blog listing ---------- */

.page-head {
  position: relative;
  padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 80% at 80% 0%, #000 10%, transparent 70%);
  pointer-events: none;
}

.page-head .container {
  position: relative;
}

.page-title {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.page-lede {
  max-width: 60ch;
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--muted);
}

.page-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.blog-body {
  padding: clamp(48px, 7vw, 88px) 0 clamp(80px, 10vw, 120px);
}

.post-count {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 24px;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.post-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.post-list li:first-child {
  grid-column: 1 / -1;
}

.post-list li:first-child .post-card {
  padding: clamp(32px, 5vw, 56px);
}

.post-list li:first-child .post-card h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  max-width: 22ch;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 18px;
}

.post-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--dim);
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.post-card h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.post-card h2 a {
  text-decoration: none;
}

/* Whole card is clickable via the title link */
.post-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.post-card p {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 68ch;
}

.post-card .read-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}

.post-card .read-more .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.post-card:hover .read-more .icon {
  transform: translate(2px, -2px);
}

.empty-state {
  padding: 56px 32px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
}

.empty-state h2 {
  color: var(--text);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.blog-follow {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(120deg, #0f0f0f, #000 70%);
}

.blog-follow h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 8px;
}

.blog-follow p {
  color: var(--muted);
}

.blog-follow .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .post-list {
    grid-template-columns: 1fr;
  }

  .blog-follow {
    grid-template-columns: 1fr;
  }
}

/* ---------- Article ---------- */

.article-head {
  padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.article-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--text);
}

.back-link .icon {
  width: 16px;
  height: 16px;
}

.article-title {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  letter-spacing: -0.03em;
  margin: 18px 0 22px;
}

.article-lede {
  font-size: clamp(19px, 1.9vw, 22px);
  color: var(--muted);
  line-height: 1.55;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  clip-path: polygon(50% 0, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%);
  background: #fff;
  color: #000;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}

.article-byline .who {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.article-byline .who strong {
  font-weight: 600;
}

.article-byline .who span {
  font-size: 14px;
  color: var(--dim);
}

.prose {
  padding: clamp(40px, 6vw, 64px) 0;
  font-size: 18px;
  line-height: 1.75;
  color: #dcdcdc;
}

.prose > * + * {
  margin-top: 1.25em;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: 1.75rem;
  color: var(--text);
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 1.3rem;
  color: var(--text);
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: var(--text);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-color: #fff;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.5em;
}

.prose li::marker {
  color: var(--dim);
}

.prose blockquote {
  margin-inline: 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--text);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin-block: 2.5em;
}

.article-foot {
  padding: 32px 0 clamp(80px, 10vw, 120px);
  border-top: 1px solid var(--line);
}

.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.share-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-right: 6px;
}

.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.author-card .avatar {
  width: 56px;
  height: 56px;
  font-size: 18px;
}

.author-card h2 {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.author-card .role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.author-card p {
  margin: 12px 0 16px;
  color: var(--muted);
  font-size: 16px;
}

.author-card .links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

@media (max-width: 520px) {
  .author-card {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
