/* One family of headers and controls, with a recognisable colour for each area. */
html {
  color-scheme: dark;
  background: #08090c;
  --section-rgb: 112, 178, 255;
  --section-color: #83baff;
  --section-light: #c3dfff;
}
html[data-section="tools"] {
  --section-rgb: 112, 178, 255;
  --section-color: #83baff;
  --section-light: #c3dfff;
}
html[data-section="journal"] {
  --section-rgb: 179, 149, 235;
  --section-color: #bba0ed;
  --section-light: #e1d4f7;
}
html[data-section="deals"] {
  --section-rgb: 110, 197, 160;
  --section-color: #88d4b0;
  --section-light: #c7eddb;
}
html[data-section="studio"] {
  --section-rgb: 129, 174, 211;
  --section-color: #9bbfdd;
  --section-light: #d6e5f1;
}
body {
  --accent: var(--section-color);
  --accent-glow: rgba(var(--section-rgb), 0.13);
}
body main .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: none;
  height: 292px;
  min-height: 292px;
  padding: 106px 24px 28px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(var(--section-rgb), 0.09),
      transparent 72%
    ),
    #0d0f14;
  border-bottom: 1px solid rgba(var(--section-rgb), 0.13);
}
.page-hero::before,
.page-hero::after {
  display: none;
}
.page-hero > [class$="-bg"] {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(#ffffff12 1px, transparent 1px),
    linear-gradient(90deg, #ffffff12 1px, transparent 1px) !important;
  background-size: 48px 48px !important;
  mask-image: linear-gradient(transparent, #000, transparent);
}
.page-hero > [class$="-content"] {
  position: relative;
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 0;
  opacity: 1;
  transform: none;
}
body main .page-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0;
  opacity: 1;
  transform: none;
}
body main .page-hero h1 span[class*="gradient"],
body main .page-hero h1 span[style] {
  background: linear-gradient(
    125deg,
    var(--section-color),
    var(--section-light)
  ) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent;
}
body main .page-hero p {
  max-width: 650px;
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  opacity: 1;
  transform: none;
}
.page-hero > .section-label,
.page-hero > [class$="-content"] > .section-label {
  display: none;
}
.discovery-page {
  width: 100%;
  padding: 0 0 64px;
}
.discovery-content,
.blog-discovery {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 0;
}
.discovery-page .tool-hero {
  margin: 0;
}
/* Editorial navigation shares the Deals card construction, with a quieter hierarchy. */
body nav.discovery-nav {
  position: static;
  inset: auto;
  width: min(700px, 100%);
  max-width: none;
  margin: 0 auto 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  backdrop-filter: none;
}
body nav.discovery-nav a {
  min-width: 0;
  min-height: 76px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
  border: 1px solid #ffffff20;
  border-radius: 11px;
  background: #111318;
  color: #bac1cd;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
body nav.discovery-nav a small {
  color: #a2a9b6;
  font-size: 12px;
  font-weight: 400;
}
body nav.discovery-nav a[aria-current],
body nav.discovery-nav a:hover {
  color: var(--section-light);
  border-color: rgba(var(--section-rgb), 0.6);
  background: linear-gradient(130deg, rgba(var(--section-rgb), 0.15), #111318);
}
.discovery-page,
.blog-discovery {
  --discovery-accent: var(--section-color);
}
.blog-discovery-grid {
  margin-top: 0;
}
.directory-note {
  margin: 0 auto 24px;
  padding: 0;
}
.directory-note > span {
  color: var(--section-color);
}
body .catalogue-tabs {
  /* Three collections, same width as the three-way tool switcher. */
  width: min(820px, calc(100% - 48px));
  gap: 12px;
  margin: 24px auto;
}
body .catalogue-tabs a {
  padding: 17px 23px;
  min-height: 86px;
  border-radius: 11px;
  gap: 7px;
}
body .catalogue-tabs a > span {
  font-size: 24px;
  font-weight: 650;
}
body .catalogue-tabs a small {
  font-size: 13px;
}
body .catalogue-tabs a > b {
  display: none;
}
body .catalogue-tabs a[aria-current="page"],
body .catalogue-tabs #free-tab[aria-current="page"] {
  background: linear-gradient(120deg, rgba(var(--section-rgb), 0.18), #111a18);
  border-color: rgba(var(--section-rgb), 0.65);
  color: var(--section-light);
}
body .tool-switcher {
  width: min(820px, calc(100% - 48px));
  max-width: none;
  margin: 24px auto 32px;
  padding: 0;
}
body .tool-switcher-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
body .tool-switch-card {
  min-width: 0;
  min-height: 76px;
  padding: 14px 16px;
  border-radius: 11px;
  border: 1px solid #ffffff20;
  background: #111318;
}
body .tool-switch-card.active,
body .tool-switch-card:hover {
  border-color: rgba(var(--section-rgb), 0.65);
  background: linear-gradient(120deg, rgba(var(--section-rgb), 0.13), #111318);
}
body .tool-switch-card .tool-switch-icon,
body .tool-switch-card.active .tool-switch-icon,
body .tool-switch-card:hover .tool-switch-icon {
  color: var(--section-color);
}
body .tool-switch-name {
  font-size: 15px;
}
body .tool-switch-desc {
  font-size: 12px;
}
/* Home cards map to the same areas, rather than giving every destination blue. */
.feature-card[data-area="tools"] {
  --card-rgb: 112, 178, 255;
  --card-color: #83baff;
}
.feature-card[data-area="journal"] {
  --card-rgb: 179, 149, 235;
  --card-color: #bba0ed;
}
.feature-card[data-area="deals"] {
  --card-rgb: 110, 197, 160;
  --card-color: #88d4b0;
}
.feature-card[data-area] .feature-icon {
  background: rgba(var(--card-rgb), 0.1);
  color: var(--card-color);
  border-color: rgba(var(--card-rgb), 0.2);
}
.feature-card[data-area] .feature-link {
  color: var(--card-color);
}
.feature-card[data-area]:hover {
  border-color: rgba(var(--card-rgb), 0.5);
  box-shadow: 0 10px 34px rgba(var(--card-rgb), 0.07);
}
.features-grid,
.blog-discovery-grid,
.library-grid,
.free-grid {
  min-width: 0;
}
.features-grid > *,
.blog-discovery-grid > * {
  min-width: 0;
}
.features .section-header {
  margin-bottom: 40px;
}
.features,
.blog-discovery {
  display: flow-root;
}
.blog-discovery + .featured-section {
  margin-top: 20px;
}
.sfx-feature {
  overflow: hidden;
}
/* About preserves the original portrait, credits and skill bars below the shared header. */
.about-hero {
  padding: 48px 24px;
  background: transparent;
}
.about-hero-content {
  max-width: 1050px;
}
.about-hero-text h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-hero-text h2 .gradient {
  color: var(--section-color);
}
.about-story,
.about-credits {
  padding-top: 52px;
  padding-bottom: 52px;
}
.about-development {
  border-top: 1px solid var(--border);
}
.about-development .section-subtitle {
  margin: 0 auto 32px;
}
.contact-personal {
  padding: 20px 0 25px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.contact-personal strong {
  color: var(--text-primary);
  font-weight: 500;
}
.contact-personal p + p {
  margin-top: 12px;
}
/* Article header = the same full-width band as every other page's hero (lit from the seam under
   the header), even though the article itself sits in an 820px column: the band bleeds out of the
   column to the screen edges (body clips horizontal overflow), its contents keep the column width.
   Height grows with long headlines instead of clipping them. */
body main.article-page-centered {
  padding-top: 0;
}
body main .article-header.page-hero {
  width: 100vw;
  max-width: none;
  height: auto;
  min-height: 292px;
  margin: 0 calc(50% - 50vw) 40px;
  padding: 106px 24px 34px;
  border-radius: 0;
  gap: 12px;
}
body main .article-header.page-hero > * {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
body main .article-header.page-hero > .article-meta,
body main .article-header.page-hero > .article-tags {
  margin-top: 4px;
  margin-bottom: 0;
}
body main .article-header.page-hero > .article-breadcrumb {
  margin-bottom: 4px;
}
body main .article-header.page-hero > .article-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
}
body main .article-header.page-hero h1 {
  font-size: clamp(29px, 3.5vw, 44px);
}
.article-header.page-hero .article-category {
  color: var(--section-color);
}
@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
  .skill-bar-fill {
    width: var(--fill);
  }
}
@media (max-width: 640px) {
  body main .page-hero {
    height: 328px;
    min-height: 328px;
    padding: 94px 20px 25px;
  }
  body main .page-hero h1 {
    min-height: 68px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    column-gap: 0.22em;
    font-size: 30px;
  }
  body main .page-hero p {
    font-size: 15px;
    margin-top: 12px;
  }
  .discovery-content,
  .blog-discovery {
    width: calc(100% - 32px);
  }
  body nav.discovery-nav {
    gap: 6px;
  }
  body nav.discovery-nav a {
    padding: 12px 7px;
    font-size: 14px;
    min-height: 76px;
  }
  body nav.discovery-nav a small {
    display: none;
  }
  body .tool-switcher {
    width: calc(100% - 32px);
  }
  body .tool-switcher-grid {
    gap: 6px;
  }
  body .tool-switch-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 12px 6px;
    min-height: 90px;
  }
  body .tool-switch-name {
    font-size: 12px;
    line-height: 1.3;
  }
  body .tool-switch-desc {
    display: none;
  }
  body .tool-switch-icon {
    font-size: 19px;
  }
  body .catalogue-tabs {
    width: calc(100% - 32px);
    gap: 8px;
  }
  body .catalogue-tabs a {
    padding: 16px;
  }
  body .catalogue-tabs a > span {
    font-size: 23px;
  }
  body .catalogue-tabs a small {
    font-size: 12px;
  }
  body main .article-header.page-hero {
    height: auto;
    min-height: 0;
    padding: 94px 16px 26px;
  }
  .about-hero {
    padding: 36px 20px;
  }
  .about-hero-content {
    gap: 24px;
  }
  .skill-bar-header {
    gap: 10px;
  }
}
/* Clear legacy negative offsets and automatic minimum widths at narrow sizes. */
body .missing-dev-bar {
  margin-top: 0;
  padding-top: 14px;
  padding-bottom: 14px;
}
.article-page,
.article-main,
.article-layout {
  min-width: 0;
  max-width: 100%;
}
/* The rule above only guards against overflow; it must not lift the reading width of the
   centred article layout (article.css: 820px), or text runs across the whole screen. */
.article-page.article-page-centered,
.article-main.article-main-centered {
  max-width: 820px;
}
.article-header .article-meta,
.article-header .article-tags,
.article-header .article-breadcrumb {
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}
.article-header .article-breadcrumb {
  overflow-wrap: anywhere;
}
.article-content {
  overflow-wrap: anywhere;
}
.article-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
html[data-section="journal"] body nav.discovery-nav a[aria-current="page"] {
  color: var(--section-light);
  border: 1px solid rgba(var(--section-rgb), 0.6);
  box-shadow: none;
  background: linear-gradient(130deg, rgba(var(--section-rgb), 0.15), #111318);
}
body .tool-switcher .tool-switch-card.active,
body .tool-switcher .tool-switch-card:hover {
  border-color: rgba(var(--section-rgb), 0.65);
}
body .tool-switcher .tool-switch-card.active .tool-switch-icon,
body .tool-switcher .tool-switch-card:hover .tool-switch-icon {
  color: var(--section-color);
}
body main .page-hero.tool-hero {
  padding: 106px 24px 28px;
}
html[data-section="journal"] .sfx-feature {
  --discovery-accent: #c5adee;
}
html[data-section="journal"] .sfx-feature b {
  color: #c5adee;
}
html[data-section="journal"] .sfx-feature-lines i {
  background: linear-gradient(transparent, #bba0ed80, transparent);
}
@media (max-width: 640px) {
  body main .page-hero.tool-hero {
    padding: 94px 20px 25px;
  }
}
body .missing-dev-bar {
}
/* Bright area colours need dark ink when used as a solid control background. */
body {
  --accent-hover: var(--section-light);
}
body .btn-primary,
body .btn-primary:hover,
body .btn-about-primary,
body .filter-btn.active,
body .featured-badge,
body .badge-discount,
body .share-btn:hover,
body .plugin-cta {
  color: #080d15;
}
.contact-grid > * {
  min-width: 0;
}
.contact-form input,
.contact-form textarea {
  min-width: 0;
}
html[data-section="journal"] .library-visit {
  color: var(--section-light);
}
body .about-cta-row .btn-about-primary:hover {
  color: #080d15;
}
main > .rc-container {
  margin-bottom: 32px;
}
@media (prefers-reduced-motion: reduce) {
}
body main .cat-hub-header.page-hero {
  height: auto;
  min-height: 230px;
  padding: 32px 24px;
  margin-bottom: 32px;
  gap: 12px;
  border-radius: 12px;
}
body main.cat-hub {
  min-width: 0;
}
.cat-hub-header .cat-hub-breadcrumb {
  position: static;
  inset: auto;
  width: auto;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.cat-hub-header .cat-hub-count {
  color: var(--section-color);
}
body main.cat-hub {
  width: min(1100px, 100%);
}
.cat-hub-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.contact-wrapper > .contact-personal {
  max-width: 740px;
  padding: 0;
  margin: 0 auto 36px;
  text-align: center;
}
/* A reveal may travel 18–30px; keep it inside the gap before the information band. */
main > .tools-info {
  margin-top: 32px;
}

/* Star layers float above page sections (like the original WebGL field), below the nav, and
   never take clicks; behind the content they were hidden by every section with a background. */
.ambient-stars {
  position: fixed;
  inset: 0;
  z-index: 1;
  animation: tx-stars-in 1.4s ease-out both;
  overflow: hidden;
  pointer-events: none;
}
.ambient-stars-layer {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(100% + 900px);
  background-repeat: repeat;
  background-size: 720px 900px;
  will-change: transform;
}
.ambient-stars-layer:nth-child(2) {
  background-position: 240px 310px;
}
.ambient-stars-layer:nth-child(3) {
  background-position: 470px 620px;
}
/* Scroll-driven parallax: the compositor moves the layers with the scroll, no script runs while
   scrolling. One iteration = one texture height; bg-particles.js sets how many iterations the
   page's scroll range holds (speed × range / 900). */
@keyframes tx-star-par {
  to { transform: translate3d(0, -900px, 0); }
}
html.stars-scroll-timeline .ambient-stars-layer {
  animation: tx-star-par linear both;
  animation-iteration-count: 0;
  animation-timeline: scroll(root block);
}
body .catalogue-tabs a[aria-current="page"] {
  border-color: color-mix(in srgb, var(--section-accent) 55%, transparent);
  background: color-mix(in srgb, var(--section-accent) 10%, #101216);
}
/* Editorial cards make the news readable before reaching for a filter. */
.news-page .news-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  border: 0;
  background: transparent;
}
.news-page .news-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  border: 1px solid #ffffff12;
  border-radius: 18px;
  background: linear-gradient(135deg, #bba0ed09, transparent 65%), #101216;
  min-width: 0;
}
.news-page .news-row:first-child {
  grid-column: 1/-1;
  padding: 38px;
  background:
    radial-gradient(ellipse at 100% 0, #bba0ed18, transparent 65%), #101216;
}
.news-page .news-row:first-child h2 {
  font-size: clamp(26px, 3vw, 38px);
  max-width: 850px;
}
.news-page .news-date {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.news-page .news-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-page .news-copy h2 {
  font-size: 24px;
  line-height: 1.25;
  margin: 10px 0 16px;
}
.news-page .news-copy > p {
  font-size: 16px;
  line-height: 1.75;
  max-width: 85ch;
}
.news-page .news-context {
  margin: 16px 0 22px;
  padding-top: 16px;
  border-top: 1px solid #ffffff0d;
}
.news-page .news-context p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 14px;
}
.news-page .news-context small {
  font-size: 11px;
  color: var(--text-muted);
}
.news-page .news-copy > a {
  margin-top: auto;
  align-self: flex-start;
}
.directory-tools {
  border: 1px solid #ffffff12;
  border-radius: 12px;
  margin: 20px 0;
  color: var(--text-secondary);
  background: #101216b8;
}
.directory-tools > summary {
  padding: 15px 20px;
  cursor: pointer;
  font-size: 14px;
}
.directory-tools .discovery-filters,
.directory-tools .free-filters {
  margin: 0;
  padding: 0 20px 20px;
  border: 0;
}
.directory-paths {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 30px;
}
.directory-paths a {
  border: 1px solid #ffffff18;
  border-radius: 24px;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--section-accent);
  background: #101216;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.directory-paths a:hover {
  background: #bba0ed17;
  border-color: var(--section-accent);
}
.blog-discovery-related {
  margin: 70px auto 40px;
  max-width: 1200px;
  padding: 0 24px;
}
@media (max-width: 680px) {
  .news-page .news-feed {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .news-page .news-row,
  .news-page .news-row:first-child {
    padding: 23px;
  }
  .news-page .news-copy h2 {
    font-size: 23px;
  }
}
.page-hero .section-label {
  display: none !important;
}
body .free-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
body .free-heading > div {
  max-width: 680px;
}
body .free-count-badge {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 16px;
  padding: 7px 13px;
  border: 1px solid #88d4b025;
  border-radius: 24px;
}
body .free-count-badge small {
  font-size: 12px;
  margin: 0;
}
body .free-ranking {
  margin: 35px 0 20px;
}
.directory-paths a {
  text-decoration: none;
}

/* A visual fold, never a relayout of the document while the user scrolls. */
body main .folding-hero h1 {
  transform: translateY(calc(var(--header-fold, 0) * -32px))
    scale(calc(1 - var(--header-fold, 0) * 0.06));
  transform-origin: center center;
}
body main .folding-hero p {
  transform: translateY(calc(var(--header-fold, 0) * -20px));
  opacity: calc(1 - var(--header-fold, 0) * 1.4);
}
body main .folding-hero > [class$="-bg"] {
  opacity: calc(0.18 - var(--header-fold, 0) * 0.1);
}
@media (prefers-reduced-motion: reduce) {
  body main .folding-hero h1 {
    transform: translateY(calc(var(--header-fold, 0) * -24px)) !important;
  }
  body main .folding-hero p {
    transform: translateY(calc(var(--header-fold, 0) * -14px)) !important;
  }
}
/* Native anchor links remain below the fixed navigation, without JS scroll correction. */
main [id] {
  scroll-margin-top: 96px;
}

/* Contact: two inputs share a row, so neither may keep its intrinsic width. */
.form-row > .form-group {
  min-width: 0;
}
.form-group input,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;
}
.contact-topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}
.contact-info-container {
  align-self: start;
}
.contact-topic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 14px 18px;
  border-radius: 14px;
  border: 1px solid #ffffff17;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, color-mix(in srgb, var(--section-accent, #8bbdff) 12%, transparent), transparent 70%),
    #0f131a;
  color: #dfe6f0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, background-color 0.2s;
}
.contact-topic:hover {
  border-color: color-mix(in srgb, var(--section-accent, #8bbdff) 50%, transparent);
  transform: translateY(-2px);
}
.contact-topic[aria-pressed="true"] {
  border-color: var(--section-accent, #8bbdff);
  background-color: color-mix(in srgb, var(--section-accent, #8bbdff) 10%, #0f131a);
}
.contact-topic:focus-visible {
  outline: 2px solid var(--section-accent, #8bbdff);
  outline-offset: 3px;
}
.contact-topic-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--section-accent, #8bbdff) 14%, transparent);
  color: var(--section-accent, #8bbdff);
}
.contact-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.5rem;
}
.contact-person img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid color-mix(in srgb, var(--section-accent, #8bbdff) 45%, transparent);
}
.contact-info-container .contact-person h3 {
  margin: 0 0 4px;
}
.contact-person p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 760px) {
  .contact-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
  }
  .contact-topic {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px;
    font-size: 13px;
    text-align: left;
  }
  .contact-topic-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }
  .contact-topic-icon svg {
    width: 18px;
    height: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-topic {
    transition: none;
  }
  .contact-topic:hover {
    transform: none;
  }
}

/* Blog list: the newest 20, the rest behind one button. */
.articles-more-wrap {
  max-width: 1100px;
  margin: 28px auto 0;
  text-align: center;
}
.articles-more {
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid #ffffff24;
  background: #ffffff08;
  color: #e4e9f0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.articles-more:hover {
  background: #ffffff12;
  border-color: #ffffff40;
}
.articles-more:focus-visible {
  outline: 2px solid var(--section-accent, #8bbdff);
  outline-offset: 3px;
}
.articles-more[hidden] {
  display: none;
}

/* Collection tabs: one two-word label each, no second line. */
body .catalogue-tabs a {
  min-height: 0;
  padding: 16px 18px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
body .catalogue-tabs a > span {
  font-size: 19px;
  letter-spacing: -0.02em;
}
body .catalogue-tabs a small {
  display: none;
}
@media (max-width: 640px) {
  body .catalogue-tabs a {
    padding: 13px 8px;
  }
  body .catalogue-tabs a > span {
    font-size: 15px;
  }
}

/* ===== Entrance: one sequence per page =====
   html.tx (set in the head before first paint) hides every entrance target (critical CSS in
   page-system.js); page-experience.js reveals them top to bottom with .tx-in and a per-element
   delay. Each target comes into focus out of a blur; nothing moves, so every visitor gets the
   same sequence. `backwards` fill leaves the element's own style in charge once it has arrived. */
@keyframes tx-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* Headline text of the opening screen (page-experience.js FOCUS) also comes out of a blur. A
   blur repaints on the main thread every frame, so it stays on these few short lines. */
@keyframes tx-focus {
  from { opacity: 0; filter: blur(8px); }
  to { opacity: 1; filter: blur(0); }
}
html.tx main .tx-in {
  animation: tx-in var(--tx-duration, 800ms) cubic-bezier(0.25, 0.6, 0.3, 1) var(--tx-delay, 0ms) backwards !important;
}
html.tx main .tx-in.tx-focus {
  animation-name: tx-focus !important;
}
html.tx main .tx-in.tx-quiet {
  animation: none !important;
}
@keyframes tx-stars-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Twinkle: a star flashes softly for well under a second, then stays dark for the rest of its
   9-18 s cycle. Small, faint, never a lasting halo. */
.ambient-twinkle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #cfe6ff;
  box-shadow: 0 0 6px 1px #8acaff66;
  opacity: 0;
  animation: tx-twinkle var(--tw-cycle, 12s) ease-in-out var(--tw-delay, 0s) infinite;
}
@keyframes tx-twinkle {
  0%, 93%, 100% { opacity: 0; }
  96% { opacity: 0.85; }
}

/* ===== Logo word: same gradient as the homepage title ===== */
.logo-text {
  padding: 0 0.06em 0 0;
  background: linear-gradient(180deg, #ffffff 35%, #a9cfff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Header and page hero lit from the seam between them =====
   A light sits on the line under the header: it lights the header from below (its top corners
   stay darkest) and the page hero from above (its bottom corners stay darkest). The light
   drifts slowly sideways; only transforms animate, so it costs no repaints. */
@keyframes tx-light-drift {
  from { transform: translateX(-9%); }
  to { transform: translateX(9%); }
}
/* .nav-light (added by page-system.js) clips the moving light to the header without clipping
   the dropdown menus. The homepage gets the same light over its particle hero. */
.nav-light {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.nav-light::before,
.nav-light::after {
  content: "";
  position: absolute;
  left: -15%;
  width: 130%;
  animation: tx-light-drift 16s ease-in-out infinite alternate;
}
.nav-light::before {
  top: 0;
  bottom: 0;
  background: radial-gradient(40% 160% at 50% 100%, rgba(var(--section-rgb), 0.3), rgba(var(--section-rgb), 0.08) 48%, transparent 76%);
}
.nav-light::after {
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 15%, rgba(var(--section-rgb), 0.95) 50%, transparent 85%);
  box-shadow: 0 0 12px 1px rgba(var(--section-rgb), 0.35);
}
html:not([data-section="home"]) body main .page-hero {
  background: #0d0f14;
}
html:not([data-section="home"]) body main .page-hero::after,
html[data-section="home"] main .home-hero::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -15%;
  width: 130%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(38% 100% at 50% 76px, rgba(var(--section-rgb), 0.24), rgba(var(--section-rgb), 0.07) 48%, transparent 76%);
  animation: tx-light-drift 16s ease-in-out infinite alternate;
}

/* ===== Header entrance =====
   On every page load, including moves between pages, the header light rises and the logo
   and links come into focus one after another. */
@keyframes tx-head-light { from { opacity: 0; } }
@keyframes tx-head-item { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: blur(0); } }
html.tx-head .nav-light { animation: tx-head-light 1.8s ease-out 0.15s backwards; }
html.tx-head body > nav .logo { animation: tx-head-item 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s backwards; }
html.tx-head body > nav .nav-links > * { animation: tx-head-item 1s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
html.tx-head body > nav .nav-links > :nth-child(1) { animation-delay: 0.25s; }
html.tx-head body > nav .nav-links > :nth-child(2) { animation-delay: 0.33s; }
html.tx-head body > nav .nav-links > :nth-child(3) { animation-delay: 0.41s; }
html.tx-head body > nav .nav-links > :nth-child(4) { animation-delay: 0.49s; }
html.tx-head body > nav .nav-links > :nth-child(5) { animation-delay: 0.57s; }
html.tx-head body > nav .nav-links > :nth-child(6) { animation-delay: 0.65s; }
html.tx-head body > nav .mobile-menu-btn { animation: tx-head-item 1s ease 0.3s backwards; }
/* The light under the header rises with it on every page. */
html:not([data-section="home"]) body main .page-hero::after,
html[data-section="home"] main .home-hero::before {
  animation: tx-light-drift 16s ease-in-out infinite alternate, tx-head-light 1.8s ease-out 0.15s backwards;
}

/* ===== Header without backdrop blur =====
   backdrop-filter made Safari re-blur everything under the header on every frame (the
   particle field, the drifting light), which tipped the homepage into stutter. The header is
   almost opaque anyway, so a solid tint looks the same and costs nothing. */
body > nav,
body > nav.scrolled {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: rgba(8, 9, 12, 0.94) !important;
}
