@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Monochrome brand (Nov 2026): black, white and gray. */
  --ink: #0a0a0b;
  --muted: #6b6b72;
  --muted-strong: #3a3a3f;
  --bg: #FFFFFF;
  --border: #e2e2e4;
  --surface: #f5f5f5;
  --surface-2: #ebebec;
  --gray-300: #a8a8ae;
  /* Occasion accent: off by default. Set to an occasion colour for a campaign. */
  --accent: var(--ink);
  /* Occasion colours (brand guide): tiny solid marks only, never fills */
  --spring: #4F8A5B; --summer: #D35A2A; --fall: #9C4526; --winter: #3E5C8A; --launch: #B3263A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- NAV ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1064px;
  margin: 0 auto;
  padding: 20px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-inner > .logo { justify-self: start; }

.nav-inner > .nav-right { display: contents; }

.nav-links { display: flex; align-items: center; gap: 30px; }
@media (max-width: 1000px) { .nav-links { gap: 24px; } }
/* tablet widths: no room for the button next to six links (Newsletter stays in the links) */
@media (min-width: 761px) and (max-width: 1000px) { .nav-inner .nav-cta { display: none; } }
/* desktop: the button on the right already is the newsletter link, so drop the duplicate from the links (kept in the tablet/mobile menu) */
@media (min-width: 1001px) { .nav-links .nav-link-ext { display: none; } }

/* desktop: quiet active marker, a short gradient underline under the current page */
@media (min-width: 761px) {
  .nav-links .nav-link { position: relative; padding: 6px 0; }
  .nav-links .nav-link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px; background: var(--ink); }
}

.nav-inner .nav-cta { justify-self: end; }

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 26px;
  width: auto;
  display: block;
}

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

.btn-work-with-me {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(10, 10, 11, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-work-with-me:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(10, 10, 11, 0.65);
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  padding: 44px 32px 40px;
  overflow: hidden;
  isolation: isolate;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: #fff;
  position: relative;
  border: 1.5px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(var(--ink), var(--ink));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  margin-bottom: 26px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  display: inline-block;
  flex-shrink: 0;
}

.accent-text {
  color: inherit;
}

/* ---------- ABOUT ---------- */

.about {
  padding: 96px 32px;
  background: #fff;
}

.about-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 38px;
}

/* ---------- COLLABORATIONS ---------- */

.collabs {
  padding: 32px 0 24px;
  background: #fff;
}

/* ---------- RECENT WORK ---------- */

.recent-work {
  padding: 0 0 20px;
  background: #fff;
}

/* ---------- FOOTER ---------- */

.site-footer {
  padding: 28px 32px;
  text-align: center;
  background: var(--ink);
}

.site-footer p {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 760px) {
  .hero {
    padding: 28px 20px 32px;
  }

  .hero-badge {
    font-size: 0.62rem;
    padding: 8px 14px;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 4px;
    max-width: 100%;
  }

  .about {
    padding: 32px 20px;
  }

  .about-title {
    margin-bottom: 28px;
  }

  .collabs {
    padding: 20px 0 16px;
  }

  .recent-work {
    padding: 0 0 12px;
  }
}

/* ---------- GUIDES ---------- */

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted-strong);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.guides-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 32px 72px;
}

.guides-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.guides-head .hero-badge {
  margin-bottom: 22px;
}

.guides-title {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.guides-intro {
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.guide-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.filter-pill {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--muted-strong);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-pill.is-active {
  color: #fff;
  border-color: transparent;
  background: var(--ink);
}

.guides-count {
  margin: 18px 0 22px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.guide-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ink);
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 18px 36px -20px rgba(10, 10, 11, 0.45);
}

.guide-card h2 {
  margin-top: 16px;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.guide-card-sub {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.guide-card p {
  margin-top: 12px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}

.guide-card-foot {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.guide-card-foot .read-link {
  color: var(--ink);
  font-weight: 700;
}

.guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.guide-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(10, 10, 11, 0.09);
}

/* article page */

.back-link {
  display: inline-block;
  margin-bottom: 26px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.article-head .guide-tags {
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.meta-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  color: var(--muted-strong);
}

.article-title {
  font-size: clamp(2.3rem, 5.4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.article-sub {
  margin-top: 10px;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 700;
}

.accent-bar {
  width: 64px;
  height: 5px;
  border-radius: 999px;
  background: var(--ink);
  margin: 22px 0;
}

.article-intro {
  max-width: 680px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted);
}

.prompt-toolbar {
  position: sticky;
  top: 67px;
  z-index: 50;
  margin: 36px 0 8px;
  padding: 14px 0 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.prompt-search {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  outline: none;
  margin-bottom: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.prompt-search:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(10, 10, 11, 0.12);
}

.prompt-toolbar .guide-filters {
  justify-content: flex-start;
}

.prompt-toolbar .guides-count {
  text-align: left;
  margin: 12px 0 0;
}

.prompt-section {
  margin-top: 44px;
}

.section-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(10, 10, 11, 0.09);
}

.section-heading {
  margin: 12px 0 18px;
  padding-left: 16px;
  position: relative;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  border-radius: 999px;
  background: var(--ink);
}

.prompt-table {
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.prompt-head,
.prompt-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 22px;
  padding: 18px 24px;
}

.prompt-head {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: #ffffff;
  padding-top: 12px;
  padding-bottom: 12px;
}

.prompt-row {
  border-top: 1px solid var(--border);
  align-items: start;
}

.prompt-row.is-hidden,
.site-card.is-hidden,
.prompt-section.is-hidden {
  display: none;
}

.prompt-num {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: var(--ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.prompt-title {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.prompt-body {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted-strong);
  padding: 12px 14px;
  border-radius: 12px;
  background: #f5f5f5;
  border: 1px solid var(--border);
  overflow-wrap: anywhere;
}

.copy-btn {
  margin-top: 10px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.copy-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.copy-btn.is-copied {
  color: #fff;
  border-color: transparent;
  background: var(--ink);
}

.prompt-why {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.no-results {
  display: none;
  margin-top: 48px;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
}

.no-results.is-visible {
  display: block;
}

@media (max-width: 900px) {
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .guides-page {
    padding: 36px 20px 56px;
  }

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

  .nav-right {
    gap: 14px;
  }

  .prompt-toolbar {
    top: 60px;
  }

  .prompt-toolbar .guide-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .prompt-toolbar .guide-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    white-space: nowrap;
  }

  .prompt-head {
    display: none;
  }

  .prompt-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 16px;
  }

  .prompt-why::before {
    content: "What it does: ";
    font-weight: 700;
    color: var(--ink);
  }
}

/* ---------- MOBILE MENU ---------- */

.nav-toggle {
  display: none;
}

@media (max-width: 760px) {
  .nav.has-menu .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .nav.has-menu .nav-toggle span {
    display: block;
    height: 2.5px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .nav.has-menu.open .nav-toggle span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .nav.has-menu.open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.has-menu.open .nav-toggle span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .nav.has-menu .nav-inner { display: flex; justify-content: space-between; }

  .nav.has-menu .nav-links { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }

  .nav.has-menu {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.98);
  }

  .nav.has-menu .nav-toggle { position: relative; z-index: 130; }

  .nav.has-menu .nav-inner { position: relative; z-index: 125; background: #fff; }

  .nav.has-menu .nav-right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px 18px 22px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 22px 34px -22px rgba(10, 10, 11, 0.3);
    clip-path: inset(0 0 100% 0);
    transform: translateY(-14px);
    visibility: hidden;
    transition: clip-path 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  }

  .nav.has-menu.open .nav-right {
    clip-path: inset(0 0 -40px 0);
    transform: translateY(0);
    visibility: visible;
    transition: clip-path 0.3s ease, transform 0.3s ease, visibility 0s;
  }

  .nav.has-menu.open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(10, 10, 11, 0.35);
  }

  .nav.has-menu .nav-right .nav-cta { display: none; }

  .nav.has-menu .nav-right .nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 14px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
  }

  .nav.has-menu .nav-right .nav-link .nav-ico { display: block; width: 22px; height: 22px; flex: none; color: var(--muted-strong); }

  .nav.has-menu .nav-right .nav-link.is-active { background: #f5f5f5; }
}

.nav-ico { display: none; }

/* mobile menu: newsletter is an external link, set apart with a divider and an arrow (not a button) */
@media (max-width: 760px) {
  .nav.has-menu .nav-right .nav-link-ext { margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--border); border-radius: 0 0 14px 14px; }
  .nav.has-menu .nav-right .nav-link-ext::after { content: "\2197"; margin-left: auto; font-size: 1.05rem; color: var(--muted); }
  .nav.has-menu .nav-right .nav-link-ext + .nav-link { margin-top: 0; }
}

/* ---------- LOCKED GUIDE CARD ---------- */

.lock-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #6b6b72;
  background: #ebebec;
}

/* ---------- IMAGE COMMAND GUIDES ---------- */

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
  max-width: 760px;
}

.how-step {
  padding: 16px 18px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: #fff;
}

.how-step b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.85rem;
  background: var(--ink);
}

.how-step h3 {
  font-size: 0.95rem;
  font-weight: 800;
}

.how-step p {
  margin-top: 4px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

.section-hint {
  margin: -6px 0 16px 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.cmd-table .prompt-head,
.cmd-table .prompt-row {
  grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.5fr);
}

.cmd-code {
  display: inline-block;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f5f5f5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.article-note {
  max-width: 680px;
  margin-top: 14px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

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

@media (max-width: 760px) {
  .cmd-table .prompt-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- SITE COLLECTION GUIDE ---------- */

.site-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.site-card {
  display: block;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: 0 12px 24px -16px rgba(10, 10, 11, 0.4);
}

.site-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.site-name .ext-arrow {
  margin-left: 5px;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.8em;
}

.site-desc {
  margin-top: 5px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .site-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .site-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------- HUB SECTIONS ---------- */

.hub-section {
  margin-top: 44px;
}

.hub-section:first-of-type {
  margin-top: 8px;
}

.hub-section-title {
  margin-bottom: 18px;
  padding-left: 16px;
  position: relative;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hub-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 5px;
  border-radius: 999px;
  background: var(--ink);
}

/* hero buttons */

.hero-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 999px; font-weight: 800; font-size: 1rem; white-space: nowrap; transition: transform 0.2s ease, box-shadow 0.2s ease; }

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

.hero-btn-fill { color: #fff; background: var(--ink); box-shadow: 0 12px 26px -10px rgba(10, 10, 11, 0.6); }

@media (max-width: 480px) {
  .hero-btn { flex: 1 1 0; padding: 13px 12px; font-size: 0.92rem; }
}

/* ---------- 676K challenge (simple tracker) ---------- */

.ch-page { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }

.ch-page h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.035em; }

.ch-lede { margin-top: 16px; font-size: 1.04rem; line-height: 1.65; color: var(--muted-strong); }

.ch-page .hero-btn { margin-top: 22px; }

.ch-track { margin-top: 34px; padding: 22px 24px; border-radius: 20px; border: 1.5px solid var(--border); background: #fff; }

.ch-trow { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }

.ch-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.ch-num { font-size: clamp(1.9rem, 6vw, 2.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }

.ch-num small { font-size: 0.5em; font-weight: 700; color: var(--muted); letter-spacing: 0; }

.ch-bar { margin-top: 14px; height: 14px; border-radius: 999px; background: #ebebec; }

.ch-bar > span { position: relative; display: block; height: 100%; width: 0; border-radius: 999px; background: var(--ink); overflow: hidden; transition: width 1s ease; animation: chPulse 2.2s ease-in-out infinite; }

.ch-bar > span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 15%, rgba(255, 255, 255, 0.6) 50%, transparent 85%); transform: translateX(-120%); animation: chShine 2.6s ease-in-out infinite; }

@keyframes chPulse { 0%, 100% { filter: brightness(1) saturate(1); box-shadow: 0 0 0 0 rgba(10, 10, 11, 0); } 50% { filter: brightness(1.12) saturate(1.25); box-shadow: 0 0 18px 3px rgba(10, 10, 11, 0.5); } }

@keyframes chShine { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(120%); } }

.ch-pct { margin-top: 8px; font-size: 0.88rem; font-weight: 700; color: var(--muted-strong); }

.ch-free { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: rgba(10, 10, 11, 0.07); font-size: 0.92rem; line-height: 1.5; color: var(--muted-strong); }

.ch-free b { color: var(--ink); }

.ch-list { margin-top: 26px; border: 1.5px solid var(--border); border-radius: 20px; overflow: hidden; background: #fff; }

.ch-row { display: grid; grid-template-columns: 76px 1.1fr 1.6fr 24px; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--border); font-size: 0.95rem; color: var(--ink); }

.ch-row:first-child { border-top: 0; }

a.ch-row:hover { background: #f5f5f5; }

a.ch-row:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }

.ch-head { background: #f5f5f5; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 11px; padding-bottom: 11px; }

.ch-d { font-weight: 800; color: var(--ink); }

.ch-n b { display: block; font-weight: 800; }

.ch-n span { display: block; font-size: 0.8rem; color: var(--muted); overflow-wrap: anywhere; }

.ch-w { color: var(--muted-strong); }

.ch-ar { color: var(--ink); font-weight: 800; }

@media (max-width: 620px) {
  .ch-page { padding: 40px 18px 56px; }

  .ch-row { grid-template-columns: 58px 1fr 20px; gap: 10px; padding: 13px 14px; }

  .ch-w { grid-column: 2 / 3; grid-row: 2; font-size: 0.88rem; }

  .ch-row .ch-ar { grid-row: 1; grid-column: 3; }

  .ch-head .ch-w { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ch-bar > span,
.ch-bar > span::after { transition: none; animation: none; }
}

/* ---------- touch and press feedback ---------- */
a, button { -webkit-tap-highlight-color: transparent; }
.btn-work-with-me, .nav-toggle { transition: transform 100ms ease-out; }
.btn-work-with-me:active, .nav-toggle:active { transform: scale(0.97); }
.ch-bar > span, .ch-bar > span::after { animation: none; }
/* Tap targets at least 44px on touch screens. */
@media (pointer: coarse) {
  .btn-work-with-me { min-height: var(--tap, 44px); display: inline-flex; align-items: center; justify-content: center; }
  .nav-toggle { min-width: var(--tap, 44px); min-height: var(--tap, 44px); }
  .nav-link { min-height: var(--tap, 44px); display: flex; align-items: center; }
}

/* ---------- category dots: one occasion colour per category ---------- */
[data-cat] { --cat: var(--ink); }
[data-cat="chatgpt"] { --cat: var(--spring); }
[data-cat="claude"] { --cat: var(--summer); }
[data-cat="ai-tools"] { --cat: var(--winter); }
[data-cat="multi-tool"] { --cat: var(--launch); }
.guide-tag[data-cat]::before, .filter-pill[data-cat]::before, .h-res-tag[data-cat]::before { content: ""; display: inline-block; flex: none; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--cat); vertical-align: 1px; }
.filter-pill[data-cat][aria-pressed="true"]::before { box-shadow: 0 0 0 1.5px #fff; }
