/* SJM Labs, design tokens and shared components */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var.woff2') format('woff2');
}

:root {
  --maroon: #78003C;
  --maroon-dark: #64003C;
  --maroon-light: #8F0049;
  --navy: #0F2C5C;
  --navy-light: #16386F;
  --ink: #111827;
  --mid: #374151;
  --muted: #6B7280;
  --border: #E5E7EB;
  --bg-alt: #F9FAFB;
  --bg-alt2: #F3F4F6;
  --white: #FFFFFF;
  --radius-card: 16px;
  --radius-btn: 8px;
  --container: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 6%; }

@media (max-width: 640px) {
  .container { padding: 0 5%; }
}

/* Reveal on scroll, animated by main.js */
.reveal { opacity: 0; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--maroon);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--maroon);
  border-radius: 2px;
}

/* Section heading scale */
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; }
h1 em, h2 em { font-style: normal; color: var(--maroon); }

section { padding: 100px 0; position: relative; }
@media (max-width: 640px) { section { padding: 68px 0; } }

.section-alt { background: var(--bg-alt); }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  background: rgba(100, 0, 60, .96);
  backdrop-filter: blur(10px);
  transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,.22); }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 6%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 34px; border-radius: 7px; border: 1.5px solid rgba(255,255,255,.25); }
.nav-logo span { color: #fff; font-weight: 800; font-size: 1.02rem; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a { color: rgba(255,255,255,.78); font-size: .87rem; font-weight: 500; transition: color .18s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  background: #fff; color: var(--maroon-dark) !important;
  padding: .5rem 1.25rem; border-radius: var(--radius-btn); font-weight: 700 !important;
}
.nav-cta:hover { background: rgba(255,255,255,.92); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { width: 21px; height: 2px; background: rgba(255,255,255,.85); border-radius: 2px; }
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 199;
  background: var(--maroon-dark); border-top: 1px solid rgba(255,255,255,.1);
  padding: .4rem 6%; flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: rgba(255,255,255,.8); font-size: .96rem; font-weight: 500; padding: .95rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-size: .9rem; font-weight: 650; padding: .82rem 1.85rem;
  border-radius: var(--radius-btn); border: none; transition: all .18s;
}
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--maroon); color: var(--maroon); }
.btn-white { background: #fff; color: var(--navy); font-weight: 700; }
.btn-white:hover { background: rgba(255,255,255,.9); }
.btn-full { width: 100%; }

/* HERO with spotlight + meteor field */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding: 140px 0 80px;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero-spotlight {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%), rgba(120,0,60,.35), transparent 60%);
  transition: background .05s;
  pointer-events: none;
}
.hero-aurora {
  position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(120,0,60,.4), transparent) 15% 20% / 45% 45% no-repeat,
    radial-gradient(closest-side, rgba(15,44,92,.45), transparent) 80% 10% / 50% 50% no-repeat,
    radial-gradient(closest-side, rgba(143,0,73,.3), transparent) 60% 80% / 55% 55% no-repeat;
  filter: blur(60px);
  animation: aurora-drift 18s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(3%, -4%) scale(1.08); }
}
.hero-meteors { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.meteor {
  position: absolute;
  width: 2px; height: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1);
  opacity: 0;
}
.meteor::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 90px; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.7), transparent);
  transform: translateY(-50%) rotate(215deg);
  transform-origin: left center;
}
.hero-grid { position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
}
.hero-inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 0 6%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; width: 100%; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; } }

.hero h1 { color: #fff; margin-bottom: 1.3rem; }
.hero-eyebrow { color: rgba(255,255,255,.6); }
.hero-eyebrow::before { background: rgba(255,255,255,.6); }
.hero p.lead { color: rgba(255,255,255,.62); font-size: 1.02rem; max-width: 460px; margin-bottom: 2.1rem; line-height: 1.8; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Glow card, used for the hero floating card and feature tiles */
.glow-card {
  position: relative;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-card);
  padding: 1.9rem;
  backdrop-filter: blur(14px);
}
.glow-card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0%, rgba(120,0,60,.9) 12%, transparent 24%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotate-border 5s linear infinite;
  opacity: .9;
}
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rotate-border { to { --angle: 360deg; } }

.hc-badge { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #ff5f9e; margin-bottom: .7rem; }
.hc-title { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: .25rem; }
.hc-sub { color: rgba(255,255,255,.55); font-size: .84rem; margin-bottom: 1.3rem; }
.hc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin-bottom: 1.2rem; }
.hc-stat { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: .8rem .5rem; text-align: center; }
.hc-stat-n { font-size: 1.4rem; font-weight: 900; color: #fff; letter-spacing: -.03em; }
.hc-stat-l { font-size: .62rem; color: rgba(255,255,255,.5); font-weight: 600; margin-top: .15rem; text-transform: uppercase; letter-spacing: .03em; }
.hc-pill { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 50px; padding: .45rem .95rem; font-size: .76rem; font-weight: 600; color: rgba(255,255,255,.75); }
.hc-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; flex-shrink: 0; }

/* STATS STRIP */
.stats-strip { background: var(--navy); padding: 4rem 0; }
.stats-grid { max-width: var(--container); margin: 0 auto; padding: 0 6%; display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
@media (max-width: 960px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
.stat { text-align: center; }
.stat-num { font-size: 2.7rem; font-weight: 900; color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-num span { color: rgba(255,255,255,.4); font-size: 1.9rem; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.55); font-weight: 600; margin-top: .5rem; text-transform: uppercase; letter-spacing: .06em; }

/* BENTO GRID */
.bento { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.1rem; }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } }
.bento-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 1.8rem; transition: transform .22s, box-shadow .22s, border-color .22s;
}
.bento-item:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(120,0,60,.09); border-color: rgba(120,0,60,.25); }
.bento-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--maroon); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 1rem; }
.bento-title { font-weight: 700; font-size: .97rem; margin-bottom: .4rem; }
.bento-desc { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* PRODUCT / CONTENT CARDS */
.card-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.15rem; }
@media (max-width: 780px) { .card-grid { grid-template-columns: 1fr; } }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 2rem; transition: transform .22s, box-shadow .22s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(17,24,39,.08); }
.product-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.product-logo { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; flex-shrink: 0; }
.product-logo-fallback { width: 52px; height: 52px; border-radius: 13px; background: var(--maroon-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.product-name { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.product-tagline { font-size: .82rem; color: var(--muted); }
.product-desc { font-size: .92rem; color: var(--mid); line-height: 1.7; margin-bottom: 1.3rem; }
.badge-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.badge { font-size: .66rem; font-weight: 700; padding: .28rem .7rem; border-radius: 50px; text-transform: uppercase; letter-spacing: .04em; }
.badge-live { background: rgba(34,197,94,.1); color: #15803D; }
.badge-review { background: rgba(245,158,11,.1); color: #B45309; }
.badge-featured { background: rgba(15,44,92,.08); color: var(--navy); }
.badge-ai { background: rgba(120,0,60,.08); color: var(--maroon); }
.card-link { color: var(--maroon); font-weight: 650; font-size: .89rem; display: inline-flex; align-items: center; gap: .35rem; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; gap: 2.3rem; } }
.about-text p { color: var(--mid); font-size: .97rem; line-height: 1.85; margin-bottom: 1.1rem; }
.fact-list { border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.fact { display: flex; align-items: center; gap: 1.1rem; padding: 1.15rem 1.4rem; background: #fff; }
.fact + .fact { border-top: 1px solid var(--border); }
.fact-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--maroon); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.fact-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.fact-value { font-size: .89rem; font-weight: 650; margin-top: .12rem; }

/* VISION */
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
@media (max-width: 960px) { .vision-grid { grid-template-columns: 1fr; gap: 2.3rem; } }
.pillar { display: flex; gap: 1.2rem; margin-bottom: 1.5rem; }
.pillar:last-child { margin-bottom: 0; }
.pillar-num { width: 36px; height: 36px; border-radius: 9px; background: var(--maroon); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; flex-shrink: 0; }
.pillar-title { font-weight: 700; font-size: .96rem; margin-bottom: .3rem; }
.pillar-desc { font-size: .85rem; color: var(--muted); line-height: 1.65; }
.quote-card {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 65%, #4a002d 100%);
  border-radius: 20px; padding: 3rem; position: relative; overflow: hidden;
}
.quote-card::after {
  content: '"'; position: absolute; top: -20px; right: 20px; font-size: 9rem; font-weight: 900;
  color: rgba(255,255,255,.06); line-height: 1; font-family: Georgia, serif;
}
.quote-text { color: #fff; font-size: 1.3rem; font-weight: 700; line-height: 1.55; letter-spacing: -.01em; margin-bottom: 1.4rem; position: relative; }
.quote-attr { color: rgba(255,255,255,.55); font-size: .8rem; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; position: relative; }

/* SERVICES */
.svc-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: end; margin-bottom: 3rem; }
@media (max-width: 960px) { .svc-head { grid-template-columns: 1fr; gap: 1.3rem; } }
.svc-head p { color: var(--muted); font-size: .97rem; line-height: 1.75; }
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { background: #fff; padding: 2rem; transition: background .18s; }
.svc-card:hover { background: var(--bg-alt); }
.svc-num { font-size: .7rem; font-weight: 700; color: var(--maroon); margin-bottom: .9rem; }
.svc-icon { font-size: 1.4rem; margin-bottom: .9rem; }
.svc-title { font-weight: 700; font-size: .96rem; margin-bottom: .45rem; }
.svc-desc { font-size: .83rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { font-size: .67rem; font-weight: 650; color: var(--navy); background: rgba(15,44,92,.06); border: 1px solid rgba(15,44,92,.12); padding: .2rem .55rem; border-radius: 5px; }

/* CTA BANNER */
.cta-banner { background: var(--navy); padding: 4.5rem 0; }
.cta-inner { max-width: var(--container); margin: 0 auto; padding: 0 6%; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: .4rem; }
.cta-inner p { color: rgba(255,255,255,.6); font-size: .95rem; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4.5rem; align-items: start; margin-top: 2.5rem; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 2.3rem; } }
.contact-text p { color: var(--muted); font-size: .96rem; line-height: 1.8; margin-bottom: 1.8rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.3rem; }
.contact-icon { width: 38px; height: 38px; border-radius: 9px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.contact-label { font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.contact-value { font-size: .88rem; margin-top: .12rem; }
.contact-value a { color: var(--maroon); }
.contact-value a:hover { text-decoration: underline; }
.social-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.social-chip { display: inline-flex; align-items: center; gap: .35rem; color: #fff; padding: .38rem .85rem; border-radius: 7px; font-size: .78rem; font-weight: 700; transition: opacity .18s; }
.social-chip:hover { opacity: .85; }
.social-instagram { background: #E1306C; }
.social-linkedin { background: #0A66C2; }
.social-facebook { background: #1877F2; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 2.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-btn);
  padding: .72rem .9rem; font-size: .9rem; font-family: inherit; color: var(--ink); outline: none; transition: border-color .18s, background .18s;
}
.field input:focus, .field textarea:focus { border-color: var(--maroon); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
#contact-msg { font-size: .82rem; text-align: center; margin-top: .6rem; min-height: 1.1em; }

/* FOOTER */
.footer { background: var(--maroon-dark); padding: 2.6rem 0; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 6%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 27px; border-radius: 5px; border: 1px solid rgba(255,255,255,.2); }
.footer-brand span { color: #fff; font-weight: 700; font-size: .89rem; }
.footer-copy { font-size: .77rem; color: rgba(255,255,255,.45); }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { width: 33px; height: 33px; border-radius: 8px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; transition: background .18s, color .18s; }
.footer-social a:hover { background: rgba(255,255,255,.24); color: #fff; }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-links a { font-size: .77rem; color: rgba(255,255,255,.5); transition: color .18s; }
.footer-links a:hover { color: #fff; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; transition: transform .22s, box-shadow .22s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(17,24,39,.08); }
.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-category { align-self: flex-start; font-size: .66rem; font-weight: 700; padding: .28rem .7rem; border-radius: 50px; text-transform: uppercase; letter-spacing: .04em; background: rgba(120,0,60,.08); color: var(--maroon); margin-bottom: .8rem; }
.blog-title { font-size: 1.02rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.35; }
.blog-excerpt { font-size: .85rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.1rem; flex: 1; }
.blog-meta { font-size: .76rem; color: var(--muted); padding-top: .9rem; border-top: 1px solid var(--border); }
.blog-post-body { max-width: 700px; }
.blog-post-body p { color: var(--mid); font-size: 1rem; line-height: 1.9; margin-bottom: 1.3rem; }

/* PAGE HERO, for interior pages */
.page-hero { min-height: 46vh; display: flex; align-items: center; padding: 150px 0 60px; text-align: center; }
.page-hero-inner { max-width: 680px; margin: 0 auto; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::before { display: none; }
.page-hero p { color: var(--muted); font-size: 1rem; line-height: 1.8; max-width: 480px; margin: 0 auto; }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 3.5rem 2rem; border: 1.5px dashed var(--border); border-radius: var(--radius-card); background: var(--bg-alt); }
.empty-state h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.empty-state p { color: var(--muted); font-size: .92rem; max-width: 420px; margin: 0 auto 1.6rem; line-height: 1.7; }

/* DETAIL PAGE (product pages) */
.detail-header { padding: 150px 0 40px; }
.detail-head-row { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.5rem; }
.detail-logo { width: 68px; height: 68px; border-radius: 16px; object-fit: cover; flex-shrink: 0; }
.detail-logo-fallback { width: 68px; height: 68px; border-radius: 16px; background: var(--maroon-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; flex-shrink: 0; }
.detail-body { max-width: 700px; }
.detail-body p { color: var(--mid); font-size: 1rem; line-height: 1.9; margin-bottom: 1.3rem; }
.platform-row { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.platform-chip { font-size: .75rem; font-weight: 650; color: var(--mid); background: var(--bg-alt); border: 1px solid var(--border); padding: .35rem .8rem; border-radius: 7px; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .85rem; font-weight: 600; margin-bottom: 2rem; }
.back-link:hover { color: var(--maroon); }
