

/* ── Footer (from styles.css) ── */
/* ── Footer v2 ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; text-align: left; gap: 1.5rem; }
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
.footer-link {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: hsl(0,0%,70%);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--primary); }
.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  line-height: 1.5;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid hsl(0,0%,15%,0.3);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-domain {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  opacity: 0.5;
}

/* ── Footer (from styles.css) ── */
.footer { background: var(--background); border-top: 1px solid hsl(0,0%,15%,0.2); }
.footer-slogan {
  border-bottom: 1px solid hsl(0,0%,15%,0.2); padding: 3rem 0; text-align: center; overflow: hidden;
}
.footer-slogan p {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.25em; font-size: clamp(2rem, 6vw, 3.75rem);
  background: linear-gradient(to right, hsl(1,53%,40%,0.6), var(--primary), hsl(1,53%,40%,0.6));
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
}
.footer-bar { padding: 2rem 0; }
.footer-bar-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
@media (min-width: 768px) {
  .footer-bar-inner { flex-direction: row; justify-content: space-between; }
}
.footer-logo img { height: 2rem; opacity: 0.5; filter: grayscale(1); transition: all 0.3s; }
.footer-logo img:hover { opacity: 1; filter: none; }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a {
  font-family: var(--font-display); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--primary); }
.footer-copy { margin-top: 1.5rem; text-align: center; font-size: 0.75rem; color: hsl(0,0%,65%,0.5); }
@media (min-width: 768px) { .footer-copy { text-align: left; } }

/* ── Layout ── */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1; }
.page-main--offset { padding-top: 5.5rem; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: center;
  justify-content: center; overflow: hidden; background: var(--background);
  padding-top: 5rem;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; opacity: 0.6;
}
.hero-overlay-1 {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, hsla(0,0%,3%,0.8), hsla(0,0%,3%,0.4), var(--background));
}
.hero-overlay-2 {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to right, var(--background), hsla(0,0%,3%,0.2), transparent);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; opacity: 0.1; pointer-events: none;
  background-image: linear-gradient(to right, #80808012 1px, transparent 1px),
    linear-gradient(to bottom, #80808012 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero-content {
  position: relative; z-index: 10; padding-top: 5rem;
  width: 100%; max-width: 1440px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem;
}
.hero-eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.hero-eyebrow-line { height: 1px; width: 3rem; background: var(--primary); }
.hero-eyebrow span {
  font-family: var(--font-display); letter-spacing: 0.2em;
  color: var(--muted-foreground); font-size: 0.875rem; text-transform: uppercase;
}
@media (min-width: 768px) { .hero-eyebrow span { font-size: 1rem; } }
.hero-title {
  font-size: clamp(3.5rem, 12vw, 10rem); font-weight: 700; text-transform: uppercase;
  line-height: 0.88; letter-spacing: -0.05em; margin-bottom: 1rem;
}
.hero-title .gradient {
  background: linear-gradient(to right, var(--primary), #ef4444, #b91c1c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc {
  font-size: 1.125rem; color: var(--muted-foreground); max-width: 42rem;
  margin-bottom: 2.5rem; font-weight: 300; line-height: 1.625;
}
@media (min-width: 768px) { .hero-desc { font-size: 1.25rem; } }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

/* ── Buttons ── */
.btn-primary {
  background: var(--primary); color: #fff; padding: 1rem 2rem;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.875rem; border: none; cursor: pointer;
  transition: background 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-primary:hover { background: hsl(1, 53%, 40%, 0.9); }
.btn-outline {
  border: 1px solid var(--border); color: #fff; padding: 1rem 2rem;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.875rem; background: hsl(0,0%,3%,0.5);
  backdrop-filter: blur(4px); transition: border-color 0.2s; display: inline-block; text-align: center;
}
.btn-outline:hover { border-color: hsl(1, 53%, 40%, 0.5); }
.btn-white {
  background: #fff; color: var(--primary); padding: 1rem 2.5rem;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.875rem; transition: background 0.2s; display: inline-block;
}
.btn-white:hover { background: hsl(0,0%,100%,0.9); }

/* ── Video Showcase ── */
.video-showcase {
  padding: 4rem 0 3rem;
  background: var(--background);
  border-top: 1px solid hsl(0,0%,15%,0.3);
  overflow: hidden;
}
.videos-viewport {
  position: relative;
  margin-top: 2.5rem;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
  overflow: hidden;
}
.videos-fade-l, .videos-fade-r {
  pointer-events: none;
  position: absolute;
  top: 0; bottom: 0;
  width: 3rem;
  z-index: 10;
}
@media (min-width: 768px) {
  .videos-fade-l, .videos-fade-r { width: 6rem; }
}
.videos-fade-l {
  left: 0;
  background: linear-gradient(to right, var(--background), transparent);
}
.videos-fade-r {
  right: 0;
  background: linear-gradient(to left, var(--background), transparent);
}
.videos-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  padding: 0.5rem 0;
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.videos-track.grabbing {
  cursor: grabbing;
}
.videos-track.eased {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media (min-width: 768px) {
  .videos-track { gap: 1.25rem; }
}
.video-card {
  position: relative;
  flex: 0 0 220px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid hsl(0,0%,15%,0.4);
  transition: border-color 0.3s, transform 0.3s;
  background: hsl(0,0%,6%);
}
.video-card:hover {
  border-color: hsl(1,53%,40%,0.6);
  transform: translateY(-4px);
}
@media (min-width: 480px) {
  .video-card { flex: 0 0 260px; height: 340px; }
}
@media (min-width: 768px) {
  .video-card { flex: 0 0 300px; height: 400px; border-radius: 12px; }
}
@media (min-width: 1024px) {
  .video-card { flex: 0 0 360px; height: 480px; }
}
.video-card video,
.video-card .video-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 3; width: 56px; height: 56px; border-radius: 50%;
  background: hsla(0,0%,0%,0.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background 0.2s, transform 0.2s; pointer-events: none;
  border: 2px solid hsl(0,0%,100%,0.3);
}
.video-card:hover .video-play-btn {
  background: hsla(1,53%,40%,0.7);
  transform: translate(-50%, -50%) scale(1.1);
  border-color: hsl(0,0%,100%,0.5);
}
.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(0,0%,3%,0.85) 0%, transparent 50%);
  pointer-events: none;
}
.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  z-index: 5;
  pointer-events: none;
}
@media (min-width: 768px) {
  .video-info { padding: 1.5rem; }
}
.video-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.4rem;
  border-radius: 3px;
}
@media (min-width: 768px) {
  .video-badge { font-size: 10px; padding: 0.25rem 0.625rem; margin-bottom: 0.5rem; }
}
.video-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(0,0%,95%,0.9);
  line-height: 1.4;
}
@media (min-width: 768px) {
  .video-label { font-size: 0.875rem; }
}
@media (min-width: 1024px) {
  .video-showcase { padding: 6rem 0 4rem; }
}

/* ── Sections ── */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-card { background: var(--card); }
.section-border { border-top: 1px solid hsl(0,0%,15%,0.3); }
/* section-header / section-header-row / section-label / section-title / section-desc
   now live in styles.css (loaded on all pages) — removed from here to avoid the
   duplicate .section-title{text-transform:uppercase} bug that forced 600+ inline overrides. */

.text-center { text-align: center; }
.text-muted { color: var(--muted-foreground); }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-14 { margin-top: 3.5rem; }

/* ── Feature grid ── */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-products { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .grid-products { grid-template-columns: repeat(3, 1fr); } }

.feature-card { display: flex; flex-direction: column; }
.feature-img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 4/3; margin-bottom: 1.25rem; background: var(--card);
}
.feature-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease-out;
}
.feature-card:hover .feature-img-wrap img { transform: scale(1.05); }
.feature-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: hsl(0,0%,0%,0.6); backdrop-filter: blur(4px); padding: 0.25rem 0.625rem;
}
.feature-badge span {
  font-family: var(--font-display); font-size: 10px; letter-spacing: 0.1em; color: hsl(0,0%,100%,0.7);
}
.feature-overlay {
  position: absolute; inset: 0; background: hsl(1,53%,40%,0.1);
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover .feature-overlay { opacity: 1; }
.feature-title {
  font-size: 1.125rem; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 0.5rem; padding-top: 0.75rem;
  position: relative;
}
.feature-title::before {
  content: ''; position: absolute; top: 0; left: 0; width: 1.5rem; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.feature-card:hover .feature-title::before { transform: scaleX(1); }
.feature-desc { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.625; }

/* ── Color showcase ── */
.swatch-card { position: relative; cursor: pointer; }
.swatch-img {
  width: 100%; aspect-ratio: 1; position: relative; overflow: hidden; background: var(--background);
}
.swatch-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease-out;
}
.swatch-card:hover .swatch-img img { transform: scale(1.05); }
.swatch-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(to top, hsl(0,0%,0%,0.5), transparent, transparent); pointer-events: none;
}
.swatch-hover {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s; background: hsl(0,0%,0%,0.4);
}
.swatch-card:hover .swatch-hover { opacity: 1; }
.swatch-hover span {
  font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff; border: 1px solid hsl(0,0%,100%,0.4); padding: 0.5rem 1rem;
}
.swatch-label { padding: 1rem 0 0.5rem; }
.swatch-name {
  font-family: var(--font-display); font-size: 0.875rem; text-transform: uppercase;
  font-weight: 700; line-height: 1.25;
}
.swatch-sub { color: var(--muted-foreground); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.25rem; }

/* ── Product cards ── */
.product-card {
  border: 1px solid hsl(0,0%,15%,0.5); background: var(--background); padding: 2.5rem;
  transition: border-color 0.2s; cursor: pointer;
}
.product-card:hover { border-color: hsl(1,53%,40%,0.5); }
.product-subtitle {
  color: var(--primary); font-family: var(--font-display); font-size: 0.875rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem;
}
.product-name {
  font-size: 1.5rem; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.product-desc { color: var(--muted-foreground); font-size: 0.875rem; margin-bottom: 2rem; min-height: 5rem; }
.product-specs { list-style: none; margin-bottom: 2rem; }
.product-specs li {
  display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; margin-bottom: 0.75rem;
}
.spec-dot {
  width: 6px; height: 6px; border-radius: 50%; background: hsl(1,53%,40%,0.5); flex-shrink: 0;
  transition: background 0.2s;
}
.product-card:hover .spec-dot { background: var(--primary); }

/* ── Table ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 640px; border-collapse: collapse; }
th {
  text-align: left; padding: 1.25rem 1rem; font-family: var(--font-display);
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted-foreground); border-bottom: 1px solid hsl(0,0%,15%,0.5);
}
td {
  padding: 1.25rem 1rem; border-bottom: 1px solid hsl(0,0%,15%,0.3);
  color: hsl(0,0%,95%,0.8);
}
tr:hover td { background: var(--card); }
td.primary { font-family: var(--font-display); text-transform: uppercase; color: var(--primary); }

/* ── Deep dive ── */
.dive-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; margin-bottom: 6rem; }
@media (min-width: 1024px) { .dive-grid { grid-template-columns: 1fr 1fr; } }
.dive-grid.reverse .dive-img { order: 2; }
@media (min-width: 1024px) { .dive-grid.reverse .dive-img { order: 2; } }
.dive-img { aspect-ratio: 4/3; overflow: hidden; border: 1px solid hsl(0,0%,15%,0.3); position: relative; width: 100%; }
.dive-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dive-img-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, hsl(0,0%,3%,0.6), transparent);
}
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin: 2rem 0; }
@media (min-width: 640px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
.benefit-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: hsl(0,0%,95%,0.8); }
.icon-check { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.ideal-for {
  font-size: 0.875rem; color: var(--muted-foreground); border-left: 2px solid hsl(1,53%,40%,0.5); padding-left: 1rem;
}
.ideal-label {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.75rem; color: hsl(0,0%,95%,0.7); display: block; margin-bottom: 0.25rem;
}

/* ── FAQ Accordion ── */
.accordion-item { border-bottom: 1px solid hsl(0,0%,15%,0.4); }
.accordion-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; background: none; border: none; color: var(--foreground);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 0.875rem; text-align: left; cursor: pointer; transition: color 0.2s;
}
.accordion-trigger:hover { color: var(--primary); }
.accordion-trigger svg { flex-shrink: 0; transition: transform 0.2s; }
.accordion-item.open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-content {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s;
  color: var(--muted-foreground); line-height: 1.625;
}
.accordion-item.open .accordion-content { max-height: 200px; padding-bottom: 1.25rem; }

/* ── Gallery ── */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
.gallery-item { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.gallery-item:nth-child(2) { margin-top: 0; }
@media (min-width: 768px) { .gallery-item:nth-child(2) { margin-top: 4rem; } }
.gallery-item img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.7s ease-out;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0; background: hsl(0,0%,3%,0.2); z-index: 10;
  transition: background 0.5s;
}
.gallery-item:hover .gallery-overlay { background: transparent; }
.gallery-caption { position: absolute; bottom: 0; left: 0; padding: 2rem; z-index: 20; }
.gallery-tag {
  display: inline-block; padding: 0.25rem 0.75rem; font-family: var(--font-display);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.gallery-tag.primary { background: var(--primary); color: #fff; }
.gallery-tag.white { background: #fff; color: #000; }
.gallery-caption h3 {
  font-size: 1.5rem; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; color: #fff;
}

/* ── Technology ── */
.tech-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .tech-grid { grid-template-columns: 1fr 1fr; } }
.tech-img { aspect-ratio: 1; position: relative; overflow: hidden; width: 100%; }
@media (min-width: 1024px) { .tech-img { aspect-ratio: 1; } }
.tech-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: grayscale(1) contrast(1.25);
  transition: filter 0.7s;
}
.tech-img:hover img { filter: none; }
.scanner-line {
  position: absolute; left: 0; right: 0; height: 1px;
  background: hsl(1,53%,40%,0.8); box-shadow: 0 0 15px rgba(220,38,38,0.8);
  animation: scan 6s linear infinite;
}
@keyframes scan {
  0%, 100% { top: 0; }
  50% { top: 100%; }
}
.tech-step { margin-bottom: 2rem; }
.tech-step h4 { font-size: 1.125rem; text-transform: uppercase; margin-bottom: 0.5rem; color: #fff; }
.tech-step p { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.625; }
.tech-divider { height: 1px; width: 100%; background: hsl(0,0%,15%,0.5); margin: 2rem 0; }

/* ── About ── */
.about-grid { display: flex; flex-direction: column; gap: 4rem; }
@media (min-width: 1024px) { .about-grid { flex-direction: row; } }
.about-sidebar { flex: 0 0 33%; }
.about-sidebar-inner { position: sticky; top: 8rem; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.stat-num { font-size: 1.875rem; font-family: var(--font-display); font-weight: 700; color: #fff; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.75rem; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.1em; }
.about-img { flex: 1; aspect-ratio: 16/9; position: relative; width: 100%; min-height: 280px; }
.about-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 1px solid hsl(0,0%,15%,0.3); }
.about-img-overlay { position: absolute; inset: 0; background: hsl(1,53%,40%,0.1); mix-blend-mode: overlay; z-index: 10; }

/* ── Film series ── */
.series-block { padding: 6rem 0; border-top: 1px solid hsl(0,0%,15%,0.3); }
.series-block.alt { background: var(--card); }
.series-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .series-grid { grid-template-columns: 1fr 2fr; } }
.series-detail {
  font-size: 0.875rem; color: hsl(0,0%,65%,0.7); line-height: 1.625;
  border-left: 2px solid hsl(1,53%,40%,0.4); padding-left: 1rem; margin: 1rem 0 2rem;
}
.swatch-grid-sm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (min-width: 768px) { .swatch-grid-sm { grid-template-columns: repeat(6, 1fr); } }

/* ── Series Car Image ── */
.series-car-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--card);
  border: 1px solid hsl(0,0%,15%,0.3);
}
.series-car-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.series-block .series-grid:hover .series-car-img img {
  transform: scale(1.04);
}
.series-car-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(0,0%,3%,0.5), transparent 40%);
  pointer-events: none;
}
.series-car-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: hsla(0,0%,0%,0.6);
  backdrop-filter: blur(4px);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  z-index: 2;
}
.series-car-badge svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}
.color-swatch {
  width: 100%; aspect-ratio: 1; position: relative; overflow: hidden; margin-bottom: 0.5rem;
  background-size: cover !important; background-position: center !important;
}
.color-swatch::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, hsla(0,0%,0%,0.5), transparent 50%);
  pointer-events: none;
}
.color-swatch-shine {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, hsl(0,0%,100%,0.1), transparent, hsl(0,0%,0%,0.2));
}
.color-swatch-hover {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 0.375rem;
  opacity: 0; transition: opacity 0.2s; background: hsl(0,0%,0%,0.2);
}
.color-swatch-wrap:hover .color-swatch-hover { opacity: 1; }
.color-swatch-name-sm {
  font-family: var(--font-display); font-size: 8px; text-transform: uppercase;
  letter-spacing: 0.1em; color: #fff; line-height: 1.2;
}
.color-label-sm {
  font-family: var(--font-display); font-size: 9px; text-transform: uppercase;
  color: var(--muted-foreground); line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.color-swatch-wrap:hover .color-label-sm { color: var(--primary); }
.cta-primary-section {
  padding: 5rem 0; background: var(--primary); border-top: 1px solid hsl(1,53%,40%,0.6); text-align: center;
}
.cta-primary-section h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem); text-transform: uppercase;
  letter-spacing: -0.03em; color: #fff; margin-bottom: 1rem;
}
.cta-primary-section p { color: hsl(0,0%,100%,0.7); margin-bottom: 2rem; max-width: 36rem; margin-left: auto; margin-right: auto; }

/* ── Series page ── */
.page-header { padding: 10rem 0 5rem; background: var(--background); border-bottom: 1px solid hsl(0,0%,15%,0.3); }
.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted-foreground); margin-bottom: 2.5rem; transition: color 0.2s;
}
.back-link:hover { color: var(--primary); }
.back-link svg { width: 14px; height: 14px; }
.page-header-row {
  display: flex; flex-direction: column; gap: 2rem;
}
@media (min-width: 768px) {
  .page-header-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.page-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.03em; line-height: 1.1;
}
.page-tagline {
  color: var(--primary); font-family: var(--font-display); letter-spacing: 0.1em;
  font-size: 0.875rem; text-transform: uppercase; margin-top: 0.75rem;
}
.color-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
@media (min-width: 640px) { .color-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .color-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .color-grid { grid-template-columns: repeat(5, 1fr); } }
.color-card {
  display: block; text-decoration: none; color: inherit;
}
.color-card-name {
  font-family: var(--font-display); font-size: 0.875rem; text-transform: uppercase;
  font-weight: 700; line-height: 1.25; transition: color 0.2s;
}
.color-card:hover .color-card-name { color: var(--primary); }
.color-swatch-wrap { display: block; text-decoration: none; color: inherit; }
.color-view-badge {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all 0.3s; background: hsl(0,0%,0%,0.3);
}
.color-card:hover .color-view-badge { opacity: 1; }
.color-view-badge span {
  font-family: var(--font-display); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff; border: 1px solid hsl(0,0%,100%,0.5); padding: 0.375rem 0.75rem;
}

/* ── Series nav ── */
.series-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid hsl(0,0%,15%,0.3); }
.series-nav a {
  display: flex; align-items: center; gap: 0.75rem; padding: 2rem; transition: background 0.2s;
}
.series-nav a:hover { background: var(--card); }
.series-nav a.next { justify-content: flex-end; text-align: right; }
.series-nav-label { font-size: 0.75rem; color: var(--muted-foreground); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.series-nav-title { font-family: var(--font-display); font-size: 0.875rem; text-transform: uppercase; transition: color 0.2s; }
.series-nav a:hover .series-nav-title { color: var(--primary); }

/* ── Color detail ── */
.breadcrumb { padding: 7rem 0 1.5rem; background: var(--background); border-bottom: 1px solid hsl(0,0%,15%,0.3); }
.breadcrumb nav { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb a, .breadcrumb span {
  font-size: 0.75rem; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted-foreground);
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .current { color: var(--foreground); }
.color-hero {
  display: grid; grid-template-columns: 1fr;
  min-height: 40vh; align-content: center;
  padding-top: 5rem;
}
@media (min-width: 1024px) { .color-hero { grid-template-columns: 1fr 1fr; } }
.color-panel { position: relative; min-height: 50vw; background-size: cover !important; background-position: center !important; }
@media (min-width: 1024px) { .color-panel { min-height: auto; } }

/* ── Color Carousel ── */
.color-carousel {
  position: relative; min-height: 50vw; overflow: hidden;
}
@media (min-width: 1024px) { .color-carousel { min-height: auto; } }
.color-carousel-track {
  position: relative; width: 100%; height: 100%; min-height: inherit;
}
.color-carousel-item {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease;
  background-size: cover !important; background-position: center !important;
}
.color-carousel-item:first-child { opacity: 1; position: relative; }
.color-carousel-item.active {
  opacity: 1; position: absolute; inset: 0;
}
.color-carousel .color-panel-shine {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom right, hsl(0,0%,100%,0.15), transparent, hsl(0,0%,0%,0.25));
}
.color-carousel .color-badge {
  position: absolute; top: 2rem; left: 2rem; z-index: 5;
  background: hsl(0,0%,0%,0.4); backdrop-filter: blur(4px); color: #fff;
  font-family: var(--font-display); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 0.375rem 0.75rem; border: 1px solid hsl(0,0%,100%,0.2);
}
.color-carousel-controls {
  position: absolute; bottom: 1.5rem; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.color-carousel-arrow {
  background: hsla(0,0%,0%,0.5); backdrop-filter: blur(4px); border: none;
  color: #fff; font-size: 1.5rem; width: 2.25rem; height: 2.25rem;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: background 0.2s; line-height: 1;
}
.color-carousel-arrow:hover { background: hsla(0,0%,0%,0.75); }
.color-carousel-dots { display: flex; gap: 0.5rem; }
.color-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid hsl(0,0%,100%,0.5);
  background: transparent; cursor: pointer; padding: 0; transition: all 0.2s;
}
.color-carousel-dot.active { background: #fff; border-color: #fff; }
.color-carousel-dot:hover { border-color: #fff; }

/* ── Color Carousel v2 (slide-based) ── */
.color-carousel2 {
  position: relative;
  min-height: 50vw;
  overflow: hidden;
}
@media (min-width: 1024px) { .color-carousel2 { min-height: auto; } }
.color-carousel2-track {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.color-slide {
  flex: 0 0 100%;
  position: relative;
  min-height: inherit;
}
.color-slide-img {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center !important;
}
.color-slide-label {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 5;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(0,0%,100%,0.7);
  background: hsla(0,0%,0%,0.4);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  border: 1px solid hsl(0,0%,100%,0.15);
  pointer-events: none;
}
.color-carousel2 .color-panel-shine {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom right, hsl(0,0%,100%,0.15), transparent, hsl(0,0%,0%,0.25));
}
.color-carousel2 .color-badge {
  position: absolute; top: 2rem; left: 2rem; z-index: 5;
  background: hsl(0,0%,0%,0.4); backdrop-filter: blur(4px); color: #fff;
  font-family: var(--font-display); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 0.375rem 0.75rem; border: 1px solid hsl(0,0%,100%,0.2);
}
.color-carousel2-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: hsla(0,0%,0%,0.45);
  backdrop-filter: blur(4px);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s;
}
.color-carousel2:hover .color-carousel2-arrow {
  opacity: 1;
}
.color-carousel2-arrow:hover { background: hsla(0,0%,0%,0.7); }
.color-carousel2-arrow.prev { left: 1rem; }
.color-carousel2-arrow.next { right: 1rem; }
.color-carousel2-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}
.color-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid hsl(0,0%,100%,0.5);
  background: transparent; cursor: pointer; padding: 0;
  transition: all 0.2s;
}
.color-dot.active { background: #fff; border-color: #fff; }
.color-dot:hover { border-color: #fff; }
.color-panel-shine {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, hsl(0,0%,100%,0.15), transparent, hsl(0,0%,0%,0.25));
}
.color-badge {
  position: absolute; top: 2rem; left: 2rem;
  background: hsl(0,0%,0%,0.4); backdrop-filter: blur(4px); color: #fff;
  font-family: var(--font-display); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 0.375rem 0.75rem; border: 1px solid hsl(0,0%,100%,0.2);
}
.color-details { display: flex; flex-direction: column; justify-content: center; padding: 2.5rem; }
@media (min-width: 1024px) { .color-details { padding: 4rem; } }
.color-details h1 {
  font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1.5rem;
}
.color-details .desc { color: var(--muted-foreground); line-height: 1.625; margin-bottom: 2.5rem; font-size: 1.125rem; }
.specs-list { list-style: none; margin-bottom: 2.5rem; }
.specs-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: hsl(0,0%,95%,0.8); margin-bottom: 0.75rem; }
.color-actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .color-actions { flex-direction: row; } }

/* ── Contact Page Layout ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
  }
}
.contact-info {
  padding: 2rem 0;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}
.contact-item-label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}
.contact-item-value {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.5;
}
.contact-form-wrap {
  background: var(--card);
  border: 1px solid hsl(0,0%,15%,0.3);
  border-radius: 12px;
  padding: 2.5rem;
}
@media (min-width: 768px) {
  .contact-form-wrap {
    padding: 3rem;
  }
}

/* ── Contact form ── */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.75rem; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted-foreground);
}
.form-input {
  width: 100%; background: var(--background); border: 1px solid var(--border);
  padding: 1rem; color: #fff; font-family: var(--font-sans); font-size: 1rem;
  transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--primary); }
.form-input::placeholder { color: hsl(0,0%,65%,0.5); }
select.form-input { appearance: none; cursor: pointer; }
textarea.form-input { min-height: 120px; resize: vertical; }
.form-status { text-align: center; padding: 5rem 0; }
.form-status .check { color: var(--primary); font-size: 3rem; margin-bottom: 1rem; }
.form-status h3 {
  font-size: 1.5rem; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; margin-bottom: 1rem;
}
.form-error { color: #f87171; font-size: 0.875rem; text-align: center; }
.form-ref { font-size: 0.75rem; color: var(--muted-foreground); font-family: monospace; margin-top: 0.5rem; }
.form-ref span { color: var(--primary); }

/* ── 404 ── */
.not-found { padding: 8rem 0; text-align: center; }
.not-found h1 { font-size: 4rem; margin-bottom: 1rem; }
.not-found p { color: var(--muted-foreground); margin-bottom: 2rem; }

/* ── Animations ── */
.animate-on-scroll {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-scale {
  opacity: 0; transform: scale(0.96);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-scale.visible { opacity: 1; transform: scale(1); }

/* ── Video Lightbox ── */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: hsla(0,0%,3%,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.video-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.video-lightbox video {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px hsla(0,0%,0%,0.6);
}
.video-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  font-family: var(--font-sans);
  line-height: 1;
}
.video-lightbox-close:hover {
  opacity: 1;
}

/* ── Car Gallery Cards ── */
.car-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid hsl(0,0%,15%,0.3);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.car-card:hover {
  border-color: hsl(1,53%,40%,0.4);
  transform: translateY(-3px);
}
.car-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: hsl(0,0%,6%);
}
.car-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.car-card:hover .car-card-img img {
  transform: scale(1.04);
}
.car-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(0,0%,3%,0.6), transparent 50%);
  pointer-events: none;
}
.car-card-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  z-index: 2;
}
.car-card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.car-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--foreground);
}
.car-card-colors-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}
.car-card-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.car-color-swatch {
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid hsl(0,0%,20%);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.car-color-swatch:hover {
  border-color: var(--primary);
  transform: scale(1.2);
  z-index: 2;
}
.car-color-swatch-fill {
  width: 100%;
  height: 100%;
}
@media (min-width: 640px) {
  .car-card {
    flex-direction: row;
  }
  .car-card-img {
    flex: 0 0 280px;
    aspect-ratio: auto;
  }
  .car-card-info {
    flex: 1;
    padding: 2rem;
  }
}
@media (min-width: 1024px) {
  .car-card-img {
    flex: 0 0 340px;
  }
  .car-card-title {
    font-size: 1.25rem;
  }
}
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }

/* ── Gallery Grid (Load-More) ── */
.g-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.g-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .g-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .g-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }


@keyframes gFadeIn {
  to { opacity: 1; transform: translateY(0); }
}


.g-card-img {
  position: relative;
  aspect-ratio: 4/3;
  background-size: cover !important;
  background-position: center !important;
  background-color: hsl(0,0%,6%);
}
.g-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(0,0%,3%,0.85) 0%, transparent 45%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.g-card:hover .g-card-overlay {
  opacity: 1;
}
.g-card-model {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.2rem;
}
.g-card-color {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(0,0%,95%,0.85);
}
.g-counter {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* ── Unified Load More (mirrors styles.css; covers pages that load only learn.css) ── */
.lm-wrap {
  text-align: center;
  padding: 2.5rem 0 3.5rem;
}
.btn-lm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #e9edf2;
  background: hsla(0, 0%, 3%, 0.5);
  border: 1px solid var(--lm-accent, hsla(0, 0%, 100%, 0.22));
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s, opacity 0.2s;
}
.btn-lm:hover {
  border-color: var(--lm-accent, hsl(1, 53%, 45%));
  background: hsla(1, 53%, 40%, 0.12);
  color: #fff;
}
.btn-lm:disabled,
.btn-lm.is-done {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
.lm-accent-purple { --lm-accent: hsla(1,70%,58%,0.6); }
.lm-accent-purple .btn-lm:hover { background: hsla(1,70%,58%,0.12); }

/* ── Color Tags Row ── */
.color-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid hsl(0,0%,15%,0.25);
  border-radius: 12px;
}
.color-tags-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.25rem;
  white-space: nowrap;
}
.color-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 1px solid hsl(0,0%,15%,0.25);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.color-tag:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* ── Gallery Filters ── */
.g-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid hsl(0,0%,15%,0.25);
  border-radius: 12px;
}
.g-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-width: 160px;
}
.g-filter-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.g-filter-select {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  padding: 0.625rem 0.875rem;
  background: hsl(0,0%,10%);
  border: 1px solid hsl(0,0%,20%);
  border-radius: 6px;
  color: var(--foreground);
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}
.g-filter-select:focus {
  outline: none;
  border-color: var(--primary);
}
.g-filter-clear {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  background: none;
  border: 1px solid hsl(0,0%,20%);
  border-radius: 6px;
  padding: 0.625rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
  height: 40px;
}
.g-filter-clear:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── Home Series Grid ── */
.series-home-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 640px) { .series-home-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .series-home-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.series-home-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid hsl(0,0%,15%,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}
.series-home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px hsla(0,0%,0%,0.35);
  border-color: hsl(1,53%,40%,0.35);
}
.series-home-img {
  aspect-ratio: 4/3;
  background-size: cover !important;
  background-position: center !important;
  background-color: hsl(0,0%,6%);
}
.series-home-info {
  padding: 1rem 1.125rem 1.25rem;
}
.series-home-name {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 0.3rem;
}
.series-home-sub {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.series-home-card:hover .series-home-name {
  color: var(--primary);
}

/* ── Footer v2 ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; text-align: left; gap: 1.5rem; }
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
.footer-link {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: hsl(0,0%,70%);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--primary); }
.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  line-height: 1.5;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid hsl(0,0%,15%,0.3);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-domain {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  opacity: 0.5;
}

/* ══ WS2 unified bordered-card system (.ppf-card) ══
   One shared box + hover-lift, parameterized per class via --ppf-* custom properties.
   Per-class overrides (below) set that class's default shape/accent; a per-PAGE
   :root{ --ppf-accent: ... } can override it (used by vcard/lcard for their
   per-page theme accent). Class DOM names are preserved (adapter pattern). */
:root {
  --ppf-radius: 12px;
  --ppf-border: hsla(0,0%,100%,0.07);
  --ppf-bg: hsla(0,0%,100%,0.02);
  --ppf-accent: hsla(0,0%,100%,0.3);
  --ppf-shadow: rgba(185,28,28,0.14);
  --ppf-lift: -3px;
}
.ppf-card,
.vcard, .lcard, .g-card, .mod-card, .swatch-visual, .fc-swatch, .lg-card,
.pop-card, .coll-card, .vl-model-card, .vcp-pop-card {
  position: relative;
  display: block;
  text-decoration: none;
  border: 1px solid var(--ppf-border);
  border-radius: var(--ppf-radius);
  overflow: hidden;
  background: var(--ppf-bg);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.ppf-card:hover,
.vcard:hover, .lcard:hover, .g-card:hover, .mod-card:hover, .swatch-visual:hover,
.fc-swatch:hover, .lg-card:hover, .pop-card:hover, .coll-card:hover,
.vl-model-card:hover, .vcp-pop-card:hover {
  transform: translateY(var(--ppf-lift));
  border-color: var(--ppf-accent);
  box-shadow: 0 16px 44px var(--ppf-shadow);
}
/* per-class default shape/accent (overrides :root for that class) */
.vcard, .lcard { --ppf-shadow: transparent; }
.g-card {
  --ppf-radius: 14px; --ppf-border: hsl(0,0%,15%,0.25); --ppf-bg: var(--card);
  --ppf-accent: hsl(1,53%,40%,0.4); --ppf-shadow: hsla(0,0%,0%,0.4); --ppf-lift: -6px;
  color: inherit; opacity: 0; transform: translateY(20px); animation: gFadeIn .4s ease forwards;
}
.mod-card, .coll-card { --ppf-radius: 16px; --ppf-accent: hsla(1,70%,58%,0.4); --ppf-shadow: rgba(185,28,28,0.14); }
.vl-model-card { --ppf-radius: 14px; --ppf-accent: hsla(1,70%,58%,0.4); --ppf-shadow: rgba(185,28,28,0.12); }
.lg-card { --ppf-radius: 12px; --ppf-border: var(--cmp-border); --ppf-bg: #111; --ppf-accent: var(--cmp-border-hi); --ppf-shadow: transparent; }
.vcp-pop-card { --ppf-radius: .875rem; --ppf-border: hsla(0,0%,100%,0.06); --ppf-bg: hsl(0,0%,7%); --ppf-accent: hsla(0,0%,100%,0.18); --ppf-shadow: rgba(0,0,0,0.4); --ppf-lift: -4px; }
.swatch-visual { --ppf-radius: 1rem; --ppf-border: hsla(0,0%,100%,0.1); --ppf-bg: #000; --ppf-accent: hsla(0,0%,100%,0.3); --ppf-lift: 0; --ppf-shadow: transparent; }
.fc-swatch { --ppf-radius: 12px; --ppf-border: hsla(0,0%,100%,0.07); --ppf-bg: transparent; --ppf-accent: hsla(0,0%,100%,0.3); --ppf-lift: 0; --ppf-shadow: transparent; }

/* ═══════════════════════════════════════════════════════════════
   ARTICLE PAGE LAYOUT (Magazine Style — v2)
   Two-column: main content (~65%) + sticky sidebar (~35%)
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero Section ── */
.article-hero {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #111827 50%, #0f172a 100%);
  border-bottom: 1px solid hsl(0,0%,15%,0.3);
  overflow: hidden;
}
.article-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 4.5rem 2rem 3.5rem;
}
@media (max-width: 700px) {
  .article-hero-inner {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 2.5rem;
    gap: 1.75rem;
  }
}
.article-hero-content { min-width: 0; }

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
  font-size: 0.73rem;
}
.article-breadcrumb a {
  color: hsl(0,0%,55%);
  text-decoration: none;
  transition: color .2s;
  font-family: var(--font-display);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.article-breadcrumb a:hover { color: var(--primary); }
.article-breadcrumb span { color: hsl(0,0%,30%); margin: 0 .15rem; }

.article-category-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
  background: hsla(1,53%,40%,.14);
  border: 1px solid hsla(1,53%,40%,.28);
  padding: .3rem .85rem;
  border-radius: 100px;
  margin-bottom: 1.15rem;
}

.article-hero h1 {
  font-size: clamp(1.65rem, 3.8vw, 2.6rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.018em;
  margin-bottom: .85rem;
  color: #fff;
}

.article-hero-subtitle {
  font-size: .96rem;
  color: hsl(0,0%,58%);
  line-height: 1.6;
  margin-bottom: 1.35rem;
  max-width: 54ch;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
  font-size: .8rem;
  color: hsl(0,0%,48%);
  margin-bottom: 1rem;
}
.article-author {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.article-author-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .7rem;
  flex-shrink: 0;
}
.article-share-row {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-left: auto;
}
.article-share-label { font-size: .78rem; color: hsl(0,0%,48%); }
.article-share-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid hsl(0,0%,18%,.45);
  background: hsla(0,0%,100%,.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(0,0%,56%);
  text-decoration: none;
  transition: all .2s;
  font-size: .78rem;
}
.article-share-btn:hover { border-color: var(--primary); color: var(--primary); }

.article-hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/11;
  min-height: 280px;
  background: hsl(0,0%,14%);
  border: 1px solid hsl(0,0%,22%,.35);
}
.article-hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(0,0%,3%,.4) 0%, transparent 40%);
  pointer-events: none;
}

/* ── Article Two-Column Layout ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 3rem 2rem 1rem;
}
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    padding: 2.5rem 1.5rem 1rem;
  }
}
@media (max-width: 700px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem 1rem;
  }
}
.article-main { min-width: 0; }

/* ── Article Body Typography ── */
.article-body {
  font-family: var(--font-sans);
  font-size: .98rem;
  line-height: 1.75;
  color: hsl(0,0%,80%);
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -.01em;
  color: #fff;
  margin-top: 2.25rem;
  margin-bottom: .9rem;
  scroll-margin-top: 5.5rem;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: #e8e8e8;
  margin-top: 1.75rem;
  margin-bottom: .65rem;
}
.article-body p { margin-bottom: 1.15rem; color: hsl(0,0%,70%); }
.article-body strong { color: hsl(0,0%,88%); }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: #ef4444; }
.article-body ul, .article-body ol {
  padding-left: 1.35rem;
  margin-bottom: 1.15rem;
  color: hsl(0,0%,70%);
}
.article-body li { margin-bottom: .35rem; line-height: 1.6; }

/* ── TL;DR Box ── */
.tldr-box {
  background: hsla(1,53%,40%,.07);
  border: 1px solid hsla(1,53%,40%,.18);
  border-left: 3px solid var(--primary);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.75rem;
}
.tldr-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .45rem;
}
.tldr-box p { font-size: .88rem; line-height: 1.62; color: hsl(0,0%,72%); margin: 0; }

/* ── Key Takeaways ── */
.takeaways {
  background: var(--card);
  border: 1px solid hsl(0,0%,15%,.22);
  border-radius: 12px;
  padding: 1.4rem;
  margin-bottom: 1.75rem;
}
.takeaways > h3 {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 0 !important;
  margin-bottom: .7rem !important;
}
.takeaways ul { list-style: none; padding: 0; margin: 0; }
.takeaways li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .45rem;
  font-size: .88rem;
  color: hsl(0,0%,68%);
  line-height: 1.52;
}
.takeaways li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ── Tip / Callout Box ── */
.tip-box {
  background: hsla(210,80%,55%,.07);
  border: 1px solid hsla(210,80%,55%,.18);
  border-radius: 10px;
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.4rem;
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}
.tip-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: hsla(210,80%,55%,.13);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsla(210,80%,62%,1);
  font-size: .95rem;
}
.tip-content { flex: 1; }
.tip-content p { margin: 0; font-size: .88rem; color: hsl(0,0%,68%); }

/* ── Color Category Cards Grid ── */
.color-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 640px) { .color-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .color-cat-grid { grid-template-columns: repeat(3, 1fr); } }
.color-cat-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  display: block;
  border: 1px solid hsl(0,0%,15%,.28);
  transition: transform .25s, border-color .25s;
}
.color-cat-card:hover { transform: translateY(-3px); border-color: hsl(1,53%,40%,.45); }
.color-cat-card-bg {
  position: absolute; inset: 0;
  background-size: cover !important;
  background-position: center !important;
}
.color-cat-card-ovl {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.86) 0%, rgba(0,0,0,.28) 50%, transparent 100%);
}
.color-cat-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.1rem; z-index: 1;
}
.color-cat-card-title {
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 700; color: #fff;
  margin-bottom: .2rem;
}
.color-cat-card-desc {
  font-size: .77rem; color: hsl(0,0%,63%);
  line-height: 1.38; margin-bottom: .45rem;
}
.color-cat-card-link {
  font-size: .76rem; font-weight: 600;
  color: var(--primary); text-decoration: none;
  display: inline-flex; align-items: center; gap: .2rem;
}
.color-cat-card-link:hover { color: #ef4444; }

/* ── Factor Cards Grid ── */
.factor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 768px) { .factor-grid { grid-template-columns: repeat(5, 1fr); } }
.factor-card {
  background: var(--card);
  border: 1px solid hsl(0,0%,15%,.22);
  border-radius: 11px;
  padding: 1.15rem .95rem;
  text-align: center;
  transition: border-color .2s;
}
.factor-card:hover { border-color: hsl(1,53%,40%,.38); }
.factor-icon {
  width: 38px; height: 38px; margin: 0 auto .65rem;
  border-radius: 10px;
  background: hsla(1,53%,40%,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1rem;
}
.factor-title {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; color: #fff;
  margin-bottom: .3rem;
}
.factor-desc {
  font-size: .72rem; color: hsl(0,0%,52%);
  line-height: 1.42;
}

/* ── CTA Box ── */
.article-cta {
  background: linear-gradient(135deg, hsla(1,53%,40%,.11), hsla(1,53%,40%,.04));
  border: 1px solid hsla(1,53%,40%,.18);
  border-radius: 14px;
  padding: 1.85rem;
  margin-top: 2.25rem;
  text-align: center;
}
.article-cta > h3 {
  font-family: var(--font-display);
  font-size: 1.18rem; color: #fff;
  margin-top: 0 !important; margin-bottom: .65rem;
}
.article-cta > p { color: hsl(0,0%,62%); max-width: 46ch; margin: 0 auto 1.35rem; }
.cta-buttons {
  display: flex; gap: .85rem;
  justify-content: center; flex-wrap: wrap;
}

/* ── Sidebar ── */
.article-sidebar {
  display: flex; flex-direction: column; gap: 1.35rem;
  position: sticky; top: 6rem;
  align-self: start;
  max-height: calc(100vh - 7.5rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: hsl(0,0%,20%) transparent;
}
@media (max-width: 700px) {
  .article-sidebar { position: static; max-height: none; }
}

/* Sidebar Card (shared) */
.sidebar-card {
  background: var(--card);
  border: 1px solid hsl(0,0%,15%,.22);
  border-radius: 14px;
  padding: 1.4rem;
}
.sidebar-card-title {
  font-family: var(--font-display);
  font-size: .79rem; font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .95rem;
}

/* ── TOC ── */
.sidebar-toc-list { list-style: none; padding: 0; margin: 0; }
.sidebar-toc-list li { margin-bottom: .42rem; }
.sidebar-toc-list a {
  display: flex; align-items: baseline; gap: .48rem;
  font-size: .83rem; color: hsl(0,0%,58%);
  text-decoration: none; line-height: 1.42;
  transition: color .2s;
}
.sidebar-toc-list a:hover { color: var(--primary); }
.sidebar-toc-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: .68rem; color: var(--primary); font-weight: 600;
}

/* ── Promo Card ── */
.sidebar-promo { text-align: center; overflow: hidden; }
.sidebar-promo-img {
  aspect-ratio: 16/9; border-radius: 10px; overflow: hidden;
  margin-bottom: .9rem; background: hsl(0,0%,8%);
  border: 1px solid hsl(0,0%,15%,.18);
}
.sidebar-promo-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-promo-title {
  font-family: var(--font-display);
  font-size: .96rem; font-weight: 700; color: #fff; margin-bottom: .3rem;
}
.sidebar-promo-desc {
  font-size: .8rem; color: hsl(0,0%,53%);
  margin-bottom: .9rem; line-height: 1.42;
}

/* ── Popular Articles ── */
.sidebar-popular-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .9rem;
}
.popular-item {
  display: flex; gap: .8rem;
  text-decoration: none; color: inherit;
  transition: opacity .2s;
}
.popular-item:hover { opacity: .78; }
.popular-thumb {
  flex-shrink: 0; width: 68px; height: 50px;
  border-radius: 8px; overflow: hidden;
  background: hsl(0,0%,8%);
  border: 1px solid hsl(0,0%,15%,.18);
}
.popular-thumb img { width: 100%; height: 100%; object-fit: cover; }
.popular-info { flex: 1; min-width: 0; }
.popular-title {
  font-size: .8rem; font-weight: 600;
  color: hsl(0,0%,86%); line-height: 1.33;
  margin-bottom: .18rem;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.popular-meta { font-size: .68rem; color: hsl(0,0%,43%); }

/* ── Newsletter ── */
.sidebar-newsletter {
  background: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);
  border-color: hsl(0,0%,20%,.38);
}
.sidebar-newsletter-text {
  font-size: .82rem; color: hsl(0,0%,58%);
  line-height: 1.52; margin-bottom: .95rem;
}
.newsletter-form { display: flex; gap: .5rem; }
.newsletter-input {
  flex: 1; background: hsl(0,0%,11%);
  border: 1px solid hsl(0,0%,19%,.48);
  border-radius: 8px; padding: .6rem .8rem;
  font-size: .8rem; color: #fff; font-family: var(--font-sans);
}
.newsletter-input::placeholder { color: hsl(0,0%,38%); }
.newsletter-input:focus { outline: none; border-color: var(--primary); }
.newsletter-btn {
  background: hsl(214,80%,55%); color: #fff; border: none;
  border-radius: 8px; padding: .6rem 1.15rem;
  font-size: .8rem; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: background .2s;
}
.newsletter-btn:hover { background: hsl(214,80%,45%); }
.newsletter-disclaimer { font-size: .66rem; color: hsl(0,0%,36%); margin-top: .55rem; }

/* ── Sidebar Share ── */
.sidebar-share { display: flex; gap: .55rem; flex-wrap: wrap; }
.sidebar-share-title {
  width: 100%;
  font-family: var(--font-display);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase;
  color: hsl(0,0%,52%); margin-bottom: .2rem;
}
.sidebar-share-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid hsl(0,0%,17%,.45);
  background: hsla(0,0%,100%,.035);
  display: flex; align-items: center; justify-content: center;
  color: hsl(0,0%,52%); text-decoration: none;
  transition: all .2s; font-size: .78rem;
}
.sidebar-share-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ── Related Articles (in main column) ── */
.related-articles { margin-top: 2.5rem; }
.related-articles > h3 {
  font-family: var(--font-display);
  font-size: 1.08rem; font-weight: 700; color: #fff;
  margin-bottom: 1.15rem;
}
.related-grid {
  display: grid; grid-template-columns: 1fr; gap: .9rem;
}
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
.related-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--card);
  border: 1px solid hsl(0,0%,15%,.22);
  border-radius: 12px; padding: 1.2rem;
  transition: border-color .2s;
}
.related-card:hover { border-color: hsl(1,53%,40%,.38); }
.rc-category {
  font-family: var(--font-display);
  font-size: 9px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: .45rem;
}
.related-card h4 {
  font-family: var(--font-display);
  font-size: .92rem; font-weight: 700; color: #fff;
  margin-bottom: .35rem; line-height: 1.28;
}
.related-card p { font-size: .8rem; color: hsl(0%,0%,56%); line-height: 1.48; margin: 0; }

/* ── Article Banner Image (inside body) ── */
.article-banner {
  border-radius: 14px; overflow: hidden;
  margin-bottom: 2rem; border: 1px solid hsl(0,0%,15%,.22);
  aspect-ratio: 21/6;
  max-height: 280px;
  background: hsl(0,0%,7%);
}
.article-banner img { width: 100%; height: 100%; object-fit: cover; }

/* ── Responsive: stack sidebar below content on mobile ── */
/* (sidebar responsive handled above with .article-sidebar media query) */

/* ── v3 Article Components ── */

/* Inline contextual figure inside article body */
.article-inline-figure {
  margin: 2rem 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid hsl(0,0%,15%,.22);
  background: hsl(0,0%,7%);
  position: relative;
}
.article-inline-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease;
  position: relative;
}
.article-inline-link:hover {
  border-color: hsla(1,70%,58%,.35);
}
.article-inline-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  background: hsl(0,0%,10%);
  min-height: 220px;
}
.article-inline-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: hsla(1,70%,58%,.9);
  color: #fff;
  padding: .35rem .75rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
}
.article-inline-caption {
  display: block;
  padding: .95rem 1.15rem;
  font-size: .85rem;
  color: hsl(0,0%,72%);
  background: linear-gradient(to top, hsla(0,0%,4%,.96), hsla(0,0%,7%,.96));
  line-height: 1.5;
}

/* Related card with image */
.related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: hsla(0,0%,100%,.025);
  border: 1px solid hsla(0,0%,100%,.07);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.related-card:hover {
  border-color: hsla(1,70%,58%,.3);
  transform: translateY(-2px);
}
.related-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: hsl(0,0%,8%);
}
.related-card-body {
  padding: .9rem 1rem 1.1rem;
  flex: 1;
}
.related-card-badge {
  font-family: var(--font-display);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: .45rem;
}
.related-card-title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: .35rem;
}
.related-card-desc {
  font-size: .8rem;
  color: hsl(0,0%,60%);
  line-height: 1.45;
}
.related-articles-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.25rem;
  letter-spacing: .01em;
}

/* Override older related-card h4/p styles when img is present */
.related-card h4, .related-card p { display: none; }

