/* ==========================================================================
   Thomas Peham · Statement design system
   Swiss-bold / Pentagram / Koto DNA. Cobalt + paper + lime.
   ========================================================================== */

:root {
  /* Neutrals */
  --ink:      #0A0A0C;
  --paper:    #F5F4EE;
  --paper-2:  #EDEBE1;
  --rule:     #0A0A0C;
  --mute:     #666666;
  --soft:     #9A968A;

  /* Accents */
  --cobalt:   #1A1AFF;
  --cobalt-d: #0A0AE0;
  --hotlime:  #D4FF00;

  /* Type scale */
  --fs-display: clamp(3.5rem, 12vw, 11rem);
  --fs-headline: clamp(2.25rem, 5vw + 0.5rem, 4.5rem);
  --fs-section: clamp(1.75rem, 2.5vw + 0.75rem, 3rem);
  --fs-lede: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;

  /* Space scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;
}

/* =========================================================================
   RESET & BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Unbounded", "Inter", sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}
h5, h6 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

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

/* =========================================================================
   UTILITIES
   ========================================================================= */
.mono,
.label { font-family: "JetBrains Mono", "SF Mono", Menlo, monospace; }
.label {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.term { color: var(--cobalt); }
.cobalt { color: var(--cobalt); }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px; font-weight: 600;
  z-index: 10000;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--cobalt) !important;
  outline-offset: 3px !important;
}

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header {
  border-bottom: 1.5px solid var(--ink);
  padding: 16px 24px;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--paper);
  position: relative;
  z-index: 40;
}
@media (min-width: 768px) { .site-header { padding: 20px 40px; } }

.wordmark {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.wordmark:hover { color: var(--cobalt); }

.nav {
  display: flex; gap: 28px; align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
}
.nav a { position: relative; padding: 6px 0; color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--cobalt);
  transition: width .25s cubic-bezier(.2,.8,.2,1);
}
.nav a:hover::after { width: 100%; }
.nav a[aria-current="page"]::after { width: 100%; background: var(--ink); }
.nav .cta {
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; font-weight: 600;
  transition: background .15s;
}
.nav .cta::after { display: none; }
.nav .cta:hover { background: var(--cobalt); color: var(--paper); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: var(--ink); }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav ul.nav-menu { display: none; }
  .nav.is-open ul.nav-menu {
    display: flex;
    position: fixed; inset: 0;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 24px;
    padding: 96px 40px;
    background: var(--paper);
    z-index: 90;
    font-size: 1.5rem;
  }
}
@media (min-width: 861px) {
  .nav ul.nav-menu { display: flex; gap: 28px; align-items: center; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  padding: 40px 24px 80px;
  border-bottom: 1.5px solid var(--ink);
}
@media (min-width: 768px) { .hero { padding: 64px 40px 96px; } }

.hero::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 12px; background: var(--cobalt);
  pointer-events: none;
}

.hero-inner { max-width: 1320px; margin: 0 auto; position: relative; }

.hero-eyebrow-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; margin-bottom: 40px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.dot-live {
  display: inline-block; width: 8px; height: 8px; background: var(--cobalt);
  margin-right: 8px;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-name {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: var(--fs-display);
  line-height: 0.85;
  letter-spacing: -0.06em;
  margin: 0 0 24px;
  margin-left: -0.04em;
  max-width: 100%;
  text-transform: uppercase;
}
.hero-name .cobalt { color: var(--cobalt); }

.hero-headline {
  font-family: "Unbounded", sans-serif;
  font-weight: 400;
  font-size: var(--fs-headline);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 1200px;
  margin: 48px 0 40px;
}
.hero-headline em { font-style: italic; font-weight: 600; color: var(--cobalt); }

.hero-lede {
  font-family: "Inter", sans-serif;
  font-size: var(--fs-lede);
  line-height: 1.45;
  max-width: 680px;
  margin: 0 0 40px;
}
.hero-lede strong { font-weight: 700; }

/* Floating portrait */
.hero-portrait {
  position: absolute;
  top: 80px;
  right: 40px;
  width: clamp(220px, 24vw, 360px);
  z-index: 2;
  pointer-events: none;
}
.hero-portrait img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(10%) contrast(1.05);
  transition: filter .4s ease;
}
.hero-portrait::before {
  content: ""; position: absolute;
  inset: -16px -16px 16px 16px;
  background: var(--cobalt);
  z-index: -1;
}
.hero:hover .hero-portrait img { filter: grayscale(0%) contrast(1); }
.hero-portrait__caption {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 14px;
  text-align: right;
  padding-right: 4px;
}
@media (max-width: 900px) {
  .hero-portrait {
    position: relative; top: 0; right: 0;
    width: 180px;
    margin: 0 0 24px auto;
  }
}
@media (max-width: 540px) { .hero-portrait { width: 140px; } }

/* Reserve space for the floating portrait on desktop so the H2 and lede
   never get hidden behind it. Hero-name still overlaps intentionally. */
@media (min-width: 901px) {
  .hero .hero-headline,
  .hero .hero-lede,
  .hero .hero-eyebrow-row,
  .hero .btn-row {
    padding-right: clamp(260px, 28vw, 420px);
  }
}
/* The name can still run wide, but cap it so "M." doesn't fully disappear
   behind the portrait on very wide screens. */
@media (min-width: 1200px) {
  .hero .hero-name {
    padding-right: clamp(180px, 18vw, 280px);
  }
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn-row {
  display: flex; gap: 0;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 22px 32px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  transition: background .15s, color .15s, transform .15s;
  cursor: pointer;
  font-family-adjust: ex-height 0.52;
}
.btn + .btn { border-left: none; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.btn-primary { background: var(--cobalt); border-color: var(--cobalt); color: var(--paper); }
.btn.btn-primary:hover { background: var(--cobalt-d); }
.btn.btn-ghost {
  background: transparent; border-color: transparent;
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.btn.btn-ghost:hover { background: transparent; color: var(--cobalt); }
.btn .arrow { font-family: "Unbounded", sans-serif; font-weight: 900; font-size: 14px; }

.hero .btn-row { margin-top: 0; margin-bottom: 80px; }
@media (max-width: 560px) {
  .btn { padding: 16px 20px; font-size: 12px; }
  .btn + .btn { border-left: 1.5px solid var(--ink); border-top: none; }
}

/* =========================================================================
   STATS ROW
   ========================================================================= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1.5px solid var(--ink);
}
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }

.stat {
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: 32px 24px;
  transition: background .2s, color .2s;
}
.stat:nth-child(even) { border-right: none; }
@media (min-width: 768px) {
  .stat { border-bottom: none; padding: 40px 32px; }
  .stat:nth-child(even) { border-right: 1.5px solid var(--ink); }
  .stat:last-child { border-right: none; }
}
.stat:hover { background: var(--cobalt); color: var(--paper); }
.stat:hover .label { color: rgba(245,244,238,.7); }
.stat .value {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  display: block;
}
.stat .label { display: block; }

/* =========================================================================
   SECTIONS
   ========================================================================= */
.section {
  padding: 80px 24px;
  border-bottom: 1.5px solid var(--ink);
  position: relative;
}
@media (min-width: 768px) { .section { padding: 120px 40px; } }

.section-inner { max-width: 1320px; margin: 0 auto; }

.section-head {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 64px;
  align-items: end;
}
@media (min-width: 860px) { .section-head { grid-template-columns: 1fr 1fr; } }
.section-head .label { margin-bottom: 16px; display: block; }
.section-head h2 {
  font-size: var(--fs-section);
  letter-spacing: -0.04em;
}
.section-head .side {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--mute);
  max-width: 480px;
}

/* Bordered grid utility */
.bordered-grid {
  border: 1.5px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .bordered-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }

.bordered-cell {
  padding: 40px 32px 48px;
  border-bottom: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
  background: var(--paper);
  transition: background .2s, color .2s;
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
}
.bordered-cell:nth-child(even) { border-right: none; }
.bordered-cell:last-child, .bordered-cell:nth-last-child(2) { border-bottom: none; }
@media (max-width: 859px) {
  .bordered-cell { border-right: none; }
  .bordered-cell:last-child { border-bottom: none; }
}
.bordered-cell:hover { background: var(--ink); color: var(--paper); }
.bordered-cell:hover .label { color: rgba(245,244,238,.7); }
.bordered-cell:hover .cell-arrow { color: var(--hotlime); transform: translate(4px, -4px); }
.cell-arrow {
  font-family: "Unbounded", sans-serif;
  font-weight: 900; font-size: 24px;
  transition: transform .2s, color .2s;
}
.cell-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px;
}
.bordered-cell h3 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.bordered-cell p {
  font-size: 1rem; line-height: 1.5; margin: 0; opacity: .85;
}
.bordered-cell .foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid currentColor;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: .6;
}

/* =========================================================================
   FEATURED-IN LOGOS STRIP (articles page + others)
   Type-forward treatment — each publication rendered as a wordmark.
   ========================================================================= */
.logos-strip {
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: 32px 24px;
  background: var(--paper);
}
@media (min-width: 768px) { .logos-strip { padding: 40px 40px; } }

.logos-strip__inner {
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 860px) {
  .logos-strip__inner { grid-template-columns: auto 1fr; gap: 40px; }
}

.logos-strip__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}
.logos-strip__label::before {
  content: "■";
  color: var(--cobalt);
  margin-right: 8px;
  font-size: 9px;
}

.logos-strip__row {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (max-width: 640px) {
  .logos-strip__row { gap: 24px; justify-content: flex-start; }
}

.logo-item {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
  transition: opacity .2s, color .2s, transform .2s;
  white-space: nowrap;
  text-decoration: none;
}
.logo-item:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.logo-item--techcrunch:hover { color: #0A9657; }
.logo-item--cmswire:hover,
.logo-item--cmscritic:hover,
.logo-item--cmi:hover,
.logo-item--trending:hover { color: var(--cobalt); }

/* =========================================================================
   PRESS MENTIONS (homepage + articles — featured in TechCrunch, etc.)
   ========================================================================= */
.press-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border: 1.5px solid var(--ink);
}
@media (min-width: 860px)  { .press-grid { grid-template-columns: repeat(2, 1fr); } }

.press-card {
  padding: 40px 32px 36px;
  border-bottom: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column; gap: 24px;
  transition: background .2s, color .2s;
  position: relative;
  min-height: 260px;
}
.press-card:nth-child(even) { border-right: none; }
.press-card:last-child, .press-card:nth-last-child(2) { border-bottom: none; }
@media (max-width: 859px) {
  .press-card { border-right: none; }
  .press-card:last-child { border-bottom: none; }
}
.press-card:hover { background: var(--cobalt); color: var(--paper); }
.press-card:hover .press-card__publication { color: var(--paper); }
.press-card:hover .press-card__date { color: rgba(245,244,238,.7); }
.press-card:hover .press-card__arrow { color: var(--hotlime); transform: translate(4px, -4px); }

.press-card__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid currentColor;
  opacity: 1;
}

.press-card__publication {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transition: color .2s;
}
/* TechCrunch signature green */
.press-card--techcrunch .press-card__publication { color: #0A9657; }
.press-card--techcrunch:hover .press-card__publication { color: var(--hotlime); }

.press-card__date {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color .2s;
}

.press-card__quote {
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: clamp(1.125rem, 1.3vw + 0.5rem, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  flex-grow: 1;
  transition: color .2s;
}

.press-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: auto;
}
.press-card__arrow {
  font-family: "Unbounded", sans-serif;
  font-weight: 900; font-size: 22px;
  transition: transform .2s, color .2s;
}

/* =========================================================================
   LINKEDIN STREAM
   ========================================================================= */
.li-section {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1.5px solid var(--ink);
}
.li-section h2, .li-section .section-head h2 { color: var(--paper); }
.li-section .label { color: rgba(245,244,238,.5); }
.li-section .section-head .side { color: rgba(245,244,238,.7); }

.li-stream { border-top: 1px solid rgba(245,244,238,.15); }
.li-item {
  display: grid;
  gap: 16px;
  grid-template-columns: 100px 1fr auto;
  padding: 28px 0;
  border-bottom: 1px solid rgba(245,244,238,.15);
  text-decoration: none;
  color: var(--paper);
  align-items: start;
  transition: padding-left .2s;
}
.li-item:hover { padding-left: 12px; }
.li-item:hover .li-title { color: var(--hotlime); }
.li-item:hover .li-arrow { color: var(--hotlime); transform: translate(4px, -4px); }
.li-time {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,244,238,.5);
  padding-top: 6px;
}
.li-title {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  transition: color .2s;
  margin-bottom: 8px;
}
.li-snippet {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(245,244,238,.7);
  max-width: 640px;
}
.li-meta {
  margin-top: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,244,238,.4);
}
.li-arrow {
  font-family: "Unbounded", sans-serif;
  font-weight: 900; font-size: 20px;
  padding-top: 4px;
  transition: transform .2s, color .2s;
}
@media (max-width: 640px) {
  .li-item { grid-template-columns: 1fr auto; gap: 8px; }
  .li-time { grid-column: 1; grid-row: 1; }
  .li-item > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .li-arrow { grid-column: 2; grid-row: 1; }
}

/* =========================================================================
   GALLERY (speaking photos)
   ========================================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 1.5px solid var(--ink);
}
@media (min-width: 680px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--ink);
}
.gallery-item:last-child { border-right: none; }
@media (min-width: 1060px) { .gallery-item { border-bottom: none; } }
@media (max-width: 679px) {
  .gallery-item { border-right: none; }
  .gallery-item:last-child { border-bottom: none; }
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .3s;
  filter: grayscale(20%);
}
.gallery-item:hover img { transform: scale(1.04); filter: grayscale(0%); }
.gallery-item__tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--cobalt); color: var(--paper);
  padding: 6px 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}
.gallery-item__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 16px 16px;
  color: var(--paper);
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  z-index: 2;
}

/* =========================================================================
   VIDEO EMBEDS (talks page)
   ========================================================================= */
.video-grid {
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr;
  max-width: 980px;
  margin: 0 auto;
}
.video-item { display: flex; flex-direction: column; gap: 16px; }
.video-embed {
  position: relative; width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ink);
  border: 1.5px solid var(--ink);
}
.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-meta {
  display: flex; gap: 16px; align-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.video-meta .chip {
  padding: 4px 10px;
  background: var(--cobalt); color: var(--paper);
  font-size: 10px;
}
.video-item h3 {
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* =========================================================================
   PRESS LIST (archive — articles.html)
   ========================================================================= */
.press-filters {
  display: flex; gap: 0;
  flex-wrap: wrap;
  margin-bottom: 48px;
  border: 1.5px solid var(--ink);
  width: fit-content;
}
.press-filter {
  padding: 12px 20px;
  border: none;
  border-right: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
}
.press-filter:last-child { border-right: none; }
.press-filter:hover { background: var(--paper-2); }
.press-filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.press-list {
  border-top: 1.5px solid var(--ink);
}
.press-list li {
  border-bottom: 1.5px solid var(--ink);
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
}
.press-list .year {
  font-family: "Unbounded", sans-serif;
  font-weight: 800; font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.press-list .title {
  font-family: "Inter", sans-serif;
  font-weight: 500; font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--ink);
}
.press-list .chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
@media (max-width: 640px) {
  .press-list li { grid-template-columns: 60px 1fr; gap: 16px; }
  .press-list .title { font-size: .9375rem; }
  .press-list .chip { grid-column: 2; font-size: 9px; margin-top: -8px; }
}

/* =========================================================================
   CTA BLOCK
   ========================================================================= */
.cta-block {
  background: var(--cobalt);
  color: var(--paper);
  padding: 96px 24px;
  border-bottom: 1.5px solid var(--ink);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-block { padding: 160px 40px; } }

.cta-block::before {
  content: "";
  position: absolute;
  top: 40px; right: -40px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: var(--hotlime);
  opacity: 0.9;
  transform: translate(20%, -20%);
  pointer-events: none;
}
@media (max-width: 860px) {
  .cta-block::before { width: 200px; height: 200px; opacity: 0.6; }
}

.cta-block__inner { max-width: 1320px; margin: 0 auto; position: relative; }

.cta-block h2 {
  font-family: "Unbounded", sans-serif;
  font-size: var(--fs-headline);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 820px;
  color: var(--paper);
  margin-bottom: 32px;
}
.cta-block p {
  font-size: 1.1875rem;
  line-height: 1.5;
  max-width: 560px;
  margin-bottom: 40px;
  color: rgba(245,244,238,.9);
}
.cta-block .btn {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.cta-block .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cta-block .btn.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cta-block .btn.btn-primary:hover { background: var(--paper); color: var(--ink); }

/* =========================================================================
   PROSE (article detail / about sections)
   ========================================================================= */
.prose { max-width: 720px; }
.prose p, .prose ul, .prose ol {
  font-size: 1.125rem;
  line-height: 1.65;
  margin: 0 0 24px 0;
}
.prose ul, .prose ol {
  padding-left: 24px;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose h2 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 64px 0 24px;
}
.prose h3 {
  font-family: "Unbounded", sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
}
.prose a {
  color: var(--cobalt);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--cobalt-d); text-decoration-color: var(--hotlime); }
.prose strong { font-weight: 700; color: var(--ink); }
.prose em { font-style: italic; }
.prose code {
  font-family: "JetBrains Mono", monospace;
  background: var(--paper-2);
  padding: 2px 6px;
  font-size: 0.92em;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
}
.prose table th, .prose table td {
  text-align: left;
  padding: 14px 16px;
  border: 1.5px solid var(--ink);
}
.prose table th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  font-family: "Unbounded", sans-serif;
  font-size: 0.9375rem;
}
.prose details {
  border: 1.5px solid var(--ink);
  padding: 20px 24px;
  margin-bottom: 12px;
}
.prose details summary {
  font-weight: 700; cursor: pointer;
  list-style: none;
  font-family: "Unbounded", sans-serif;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.prose details summary::before {
  content: "+";
  color: var(--cobalt);
  font-weight: 900; margin-right: 12px;
}
.prose details[open] summary::before { content: "−"; }
.prose details p { margin-top: 20px; }
.prose blockquote {
  border-left: 4px solid var(--cobalt);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* =========================================================================
   RANKING LIST (ai-search-experts page)
   ========================================================================= */
.ranking-list {
  display: flex; flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--ink);
}
.ranking-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  padding: 32px 32px;
  border-bottom: 1.5px solid var(--ink);
  align-items: center;
  transition: background .2s;
}
.ranking-item:last-child { border-bottom: none; }
.ranking-item:hover { background: var(--paper-2); }
.ranking-item--featured {
  background: var(--cobalt);
  color: var(--paper);
}
.ranking-item--featured:hover { background: var(--cobalt-d); }
.ranking-item__rank {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.ranking-item--featured .ranking-item__rank { color: var(--hotlime); }
.ranking-item__body h3 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.ranking-item__body p {
  font-size: 0.9375rem;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 640px;
}
.ranking-item__tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1.5px solid currentColor;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .ranking-item { grid-template-columns: 60px 1fr; padding: 24px; }
  .ranking-item__tag { grid-column: 2; margin-top: -4px; }
}

/* =========================================================================
   CONTACT FORM
   ========================================================================= */
.contact-form {
  max-width: 720px;
  display: flex; flex-direction: column; gap: 24px;
}
.contact-form .field-row {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .contact-form .field-row { grid-template-columns: 1fr 1fr; }
}
.contact-form label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px 20px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font: inherit; font-size: 1rem;
  color: var(--ink);
  transition: background .15s, border-color .15s;
  font-family: inherit;
}
.contact-form textarea {
  min-height: 160px; resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: var(--paper-2);
  border-color: var(--cobalt);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--paper);
  padding: 64px 24px 32px;
}
@media (min-width: 768px) { .site-footer { padding: 80px 40px 40px; } }

.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  max-width: 1320px;
  margin: 0 auto 64px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; }
}

.footer-brand h3 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-brand p {
  font-size: 1rem; line-height: 1.5;
  color: var(--mute);
  max-width: 440px;
}

.footer-col h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-weight: 500; font-size: 0.9375rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--cobalt); }

.footer-legal {
  max-width: 1320px; margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

/* =========================================================================
   CONSENT BANNER
   ========================================================================= */
.consent-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 24px;
  z-index: 9999;
  display: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.consent-banner.visible { display: block; }
.consent-banner h3 {
  font-family: "Unbounded", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.consent-banner p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--mute);
  margin-bottom: 20px;
}
.consent-banner a {
  color: var(--cobalt);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-banner__actions {
  display: flex; gap: 0; flex-wrap: wrap;
}
.consent-banner__actions .btn {
  padding: 12px 20px;
  font-size: 12px;
}

/* =========================================================================
   ERROR PAGE
   ========================================================================= */
.error-page {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.error-page .eyebrow { margin-bottom: 24px; color: var(--cobalt); }
.error-page h1 {
  font-family: "Unbounded", sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.error-page p { color: var(--mute); max-width: 520px; margin: 0 auto 32px; }

/* =========================================================================
   HELPERS
   ========================================================================= */
.hero--narrow .hero-name { font-size: clamp(2.5rem, 8vw, 6rem); }
.hero--narrow::before { display: none; }
