/* ── Tokens ── */

:root {
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --serif: "JetBrains Mono", ui-monospace, monospace;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", Menlo, monospace;

  --ink:    #0c0c0c;
  --paper:  #ffffff;
  --line:   #d0cac0;
  --muted:  #6a6560;
  --teal:   #0762D1;
  --rule:   1px solid var(--line);
  --rule-d: 1px solid rgba(255, 255, 255, 0.1);

  /* Kids paint palette */
  --paint-red:    #E8231A;
  --paint-orange: #F47B1A;
  --paint-yellow: #F5D000;
  --paint-green:  #1BA94C;
  --paint-blue:   #1A6FD4;
  --paint-purple: #8B2FC9;
  --paint-teal:   #00B3C8;
}

/* ── Base ── */

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

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--sans); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ── Header bar ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: var(--rule);
}

.site-bar {
  width: min(1240px, calc(100% - 48px));
  height: 38px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-bar-brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-bar-brand a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.1s;
  white-space: nowrap;
}

.site-bar-brand a:hover { color: var(--hc, var(--ink)); }

.site-bar-brand a + a::before {
  content: "·";
  margin: 0 12px;
}

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

.site-bar-right a {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.1s;
}

.site-bar-right a:hover { color: var(--hc, var(--ink)); }

.site-bar-tagline {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 8px;
  border-right: var(--rule);
}

/* ── Section bar (full-width ruled label row) ── */

.section-bar {
  border-top: var(--rule);
  border-bottom: var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px max(24px, calc((100% - 1240px) / 2));
}

.section-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-bar-note {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Panel 1: Hero ── */

.hero {
  background: #fff;
  color: var(--ink);
}

.hero-body {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Left column — the NO list */
.hero-no-list {
  border-right: var(--rule);
  padding-right: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-no-list li {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  color: var(--ink);
  padding: clamp(12px, 2vw, 20px) 0;
  border-bottom: var(--rule);
}

.hero-no-list li:first-child {
  border-top: var(--rule);
}

/* Right column — affirmative */
.hero-statement {
  padding-left: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-statement h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3.4rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.hero-statement h1 span {
  display: block;
  white-space: nowrap;
}

.hero-sub {
  display: block;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.8;
}

/* ── Panel 2: Catalogs ── */

.catalogs {
  background: var(--paper);
}

.catalog-stat-inline {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.catalog-stat-num {
  font-family: var(--mono);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--teal);
}

.catalog-stat-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalogs-lead {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px) 0;
  border-bottom: var(--rule);
}

.catalogs-lead h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  letter-spacing: -0.02em;
}

/* ── Catalog rows ── */

.catalog-list {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.catalog-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  border-bottom: var(--rule);
}

.catalog-row-img {
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border-right: var(--rule);
  transition: opacity 0.3s;
}

.catalog-row:hover .catalog-row-img { opacity: 0.9; }

.catalog-row-body {
  padding: clamp(24px, 3.5vw, 40px) clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.catalog-index {
  display: none;
}

.catalog-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: var(--rule);
  margin-bottom: 16px;
}

.catalog-title-row .catalog-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.catalog-title-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.catalog-name {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.catalog-meta {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.catalog-pages { color: var(--muted); }
.catalog-price { color: var(--muted); }
.catalog-sep   { color: var(--line); }

.catalog-desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 52ch;
}

.catalog-links {
  display: flex;
  gap: 10px;
}

.catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, #6e6e6e 0%, #424242 100%);
  transition: background 0.6s ease, border-color 0.6s ease, color 0.3s ease;
  border-top: 1px solid #8a8a8a;
  border-left: 1px solid #7a7a7a;
  border-right: 1px solid #2a2a2a;
  border-bottom: 2px solid #1e1e1e;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 2px 4px rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
  transition: background 0.1s, box-shadow 0.08s, transform 0.08s;
  cursor: pointer;
}

.catalog-link:hover {
  color: #fff;
  background: var(--hc, linear-gradient(180deg, #7a7a7a 0%, #505050 100%));
  border-top-color: rgba(255, 255, 255, 0.3);
  border-left-color: rgba(255, 255, 255, 0.2);
  border-right-color: rgba(0, 0, 0, 0.25);
  border-bottom-color: rgba(0, 0, 0, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 3px 6px rgba(0, 0, 0, 0.28);
}

.catalog-link:active {
  background: linear-gradient(180deg, #3a3a3a 0%, #505050 100%);
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #5a5a5a;
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.45),
    0 1px 2px rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
  text-shadow: none;
}

/* ── Features strip ── */

.features-strip {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  border-bottom: var(--rule);
}

.features-strip-inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) 0;
}

.features-strip-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: var(--rule);
  border-left: var(--rule);
}

.feature-item {
  padding: 14px 18px;
  border-right: var(--rule);
  border-bottom: var(--rule);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.feature-item span {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

/* ── Panel 3: Child Lock ── */

.childlock {
  background: #fff;
  border-bottom: var(--rule);
}

.childlock-inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
}

.childlock-copy {
  border-left: 3px solid var(--teal);
  padding-left: clamp(20px, 3vw, 36px);
}

.childlock-copy h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--ink);
}

.childlock-copy p {
  font-size: clamp(0.93rem, 1.5vw, 1.05rem);
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.childlock-copy p:last-child { margin-bottom: 0; }

.childlock-video-wrap {
  display: flex;
  justify-content: center;
}

.screen-frame {
  width: min(100%, 620px);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--line);
  flex-shrink: 0;
}

.screen-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ── Panel 4: Notify ── */

.notify {
  background: #fff;
}

.notify-body {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 0;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: center;
}

.notify-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.notify-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.notify-body p:last-of-type {
  margin-bottom: 0;
}

.notify-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prompt-arrow {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--teal);
  flex-shrink: 0;
  user-select: none;
}

.notify-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(36, 52, 68, 0.28);
  background-color: #b7c6d3;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.12) 34%,
    rgba(22, 34, 46, 0.10) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(14, 30, 44, 0.30),
    inset 0 2px 0 rgba(14, 30, 44, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18),
    inset 1px 0 0 rgba(14, 30, 44, 0.20),
    inset -1px 0 0 rgba(255, 255, 255, 0.12),
    inset 0 3px 7px rgba(14, 30, 44, 0.24),
    inset 0 -2px 5px rgba(14, 30, 44, 0.16);
  color: #2c3e50;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.notify-input::placeholder {
  color: rgba(44, 62, 80, 0.55);
}

.notify-input:focus {
  border-color: var(--teal);
  box-shadow:
    inset 0 1px 0 rgba(14, 30, 44, 0.30),
    inset 0 2px 0 rgba(14, 30, 44, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18),
    inset 1px 0 0 rgba(14, 30, 44, 0.20),
    inset -1px 0 0 rgba(255, 255, 255, 0.12),
    inset 0 3px 8px rgba(14, 30, 44, 0.24),
    inset 0 -2px 5px rgba(14, 30, 44, 0.16),
    0 0 0 1px var(--teal);
}

.notify-btn {
  height: 40px;
  padding: 0 20px;
  border: none;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s;
  flex-shrink: 0;
}

.notify-btn:hover,
.notify-btn:focus-visible { background: var(--teal); }

/* ── Footer ── */

.site-footer {
  background: var(--paper);
  color: var(--muted);
  border-top: var(--rule);
}

.footer-inner {
  width: min(1240px, calc(100% - 48px));
  height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; transition: color 0.1s; }
.footer-links a:hover { color: var(--hc, var(--ink)); }

/* ── Legal pages ── */

.legal-main {
  width: min(780px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) 0;
}

.legal-main h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); margin-bottom: 8px; }
.legal-main h2 { font-size: clamp(1.1rem, 2vw, 1.5rem); margin-top: 40px; margin-bottom: 10px; }

.legal-main p,
.legal-main li { color: var(--muted); font-size: 0.97rem; line-height: 1.7; }

.legal-main p + p { margin-top: 12px; }
.legal-main ul { padding-left: 20px; list-style: disc; margin: 12px 0; }
.legal-main li + li { margin-top: 6px; }

.updated {
  display: block;
  margin: 8px 0 36px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.support-callout {
  margin: 32px 0;
  padding: 20px 24px;
  border: var(--rule);
  border-left: 3px solid var(--teal);
  background: #fff;
}

.support-callout a { color: var(--teal); font-weight: 700; }

/* ── Responsive ── */

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-row { grid-template-columns: 1fr; min-height: auto; }
  .catalog-row-img { aspect-ratio: 3 / 2; border-right: none; border-bottom: var(--rule); }
  .catalog-index { font-size: 3rem; }

  .hero-body { grid-template-columns: 1fr; }
  .hero-no-list { border-right: none; border-bottom: var(--rule); padding-right: 0; padding-bottom: clamp(24px, 4vw, 40px); margin-bottom: clamp(24px, 4vw, 40px); }
  .hero-statement { padding-left: 0; }

  .catalogs-desc { grid-template-columns: 1fr; gap: 12px; }

  .lib-grid { grid-template-columns: repeat(2, 1fr); }
  .lib-card--center { grid-column: auto; }

  .childlock-inner { grid-template-columns: 1fr; }
  .childlock-copy { border-left: none; border-top: 3px solid var(--teal); padding-left: 0; padding-top: 20px; }
  .childlock-video-wrap { order: -1; }
  .screen-frame { width: min(100%, 620px); }

  .notify-body { grid-template-columns: 1fr; gap: 32px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .section-bar { flex-wrap: wrap; gap: 8px; }
  .catalog-stat-num { font-size: clamp(1.2rem, 4vw, 2rem); }

  .site-bar-brand a + a {
    display: none;
  }
}

@media (max-width: 600px) {
  .site-bar-tagline { display: none; }
  .site-bar-right { gap: 16px; }

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

  .notify-form { flex-wrap: wrap; }
  .prompt-arrow { display: none; }
  .notify-input { height: 44px; flex: 1 1 100%; border-bottom: var(--rule); }
  .notify-btn { height: 44px; flex: 1; border-left: none; }

  .footer-inner { height: auto; flex-direction: column; align-items: flex-start; padding: 18px 0; gap: 10px; }
}

/* ── Global link hover color ── */

a:hover {
  color: var(--hc, inherit);
}

/* ── Catalog detail pages ── */

.detail-hero {
  border-bottom: var(--rule);
  padding: clamp(18px, 2.4vw, 30px) 0;
}

.detail-hero-inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.detail-breadcrumb {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 14px;
}

.detail-breadcrumb:hover {
  color: var(--hc, var(--ink));
}

.detail-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.4vw, 18px);
  flex-wrap: wrap;
}

.detail-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.detail-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.detail-title {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  white-space: nowrap;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.detail-desc {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: var(--rule);
}

.detail-desc p {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.75;
  max-width: 72ch;
}

.detail-contents {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) 0;
}

.detail-contents-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: block;
}

.cat-group {
  margin-bottom: 28px;
}

.cat-group-title {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
  margin-bottom: 0;
}

.cat-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  border-top: var(--rule);
  border-left: var(--rule);
}

.cat-item {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 14px;
  border-right: var(--rule);
  border-bottom: var(--rule);
  color: var(--ink);
  line-height: 1.3;
}

.flat-cat-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  border-top: var(--rule);
  border-left: var(--rule);
}

.flat-cat-item {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 14px;
  border-right: var(--rule);
  border-bottom: var(--rule);
  color: var(--ink);
}

.detail-download-btns {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.detail-download-btns .catalog-link {
  padding: 10px 10px;
  font-size: 0.58rem;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .detail-summary {
    justify-content: flex-start;
  }

  .detail-identity,
  .detail-meta,
  .detail-download-btns {
    width: 100%;
  }

  .detail-icon {
    width: 52px;
    height: 52px;
  }

  .detail-title {
    font-size: clamp(1.8rem, 10vw, 2.7rem);
    white-space: normal;
  }

  .detail-download-btns {
    flex-wrap: wrap;
  }

  .detail-download-btns .catalog-link {
    flex: 1 1 140px;
    justify-content: center;
  }
}

.detail-showcase {
  width: 100%;
  height: clamp(220px, 66.67vw, 826px);
  margin: 0;
  border-bottom: var(--rule);
  overflow: hidden;
  background: #fff;
}

.detail-showcase-track {
  display: flex;
  height: 100%;
  animation: detailSlide 8s infinite;
}

.detail-showcase-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}

.detail-showcase-bg {
  position: absolute;
  inset: -28px;
  width: calc(100% + 56px);
  height: calc(100% + 56px);
  object-fit: cover;
  object-position: center;
  filter: blur(24px);
  opacity: 0.22;
  transform: scale(1.04);
}

.detail-showcase-img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(1240px, calc(100% - 48px));
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translateX(-50%);
  z-index: 1;
}

.detail-showcase-color {
  clip-path: inset(0 100% 0 0);
  animation: detailColorWipe 3s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  z-index: 2;
}

@keyframes detailSlide {
  0%, 42% { transform: translateX(0); }
  50%, 92% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

@keyframes detailColorWipe {
  0%, 18% { clip-path: inset(0 100% 0 0); }
  42%, 78% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 100% 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  .detail-showcase-track,
  .detail-showcase-color {
    animation: none;
  }

  .detail-showcase-color {
    clip-path: inset(0 0 0 0);
  }
}

.catalog-name a {
  text-decoration: none;
  color: inherit;
}

.catalog-name a:hover {
  color: var(--hc, var(--teal));
}

/* ── Colored overlay reveal ── */

.colored-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
  will-change: clip-path;
}
