/* CLSS home page (#85). Loaded only on the CLSS site, on top of site.css; every rule is scoped to .site-clss. */
.site-clss .c-sub { max-width: 640px; margin-bottom: 28px; }

/* Hero: text left, photo right (the current photos are too small to run full-bleed). */
.site-clss .c-hero { background: var(--ink); color: #fff; padding: 72px 0 0; position: relative; overflow: hidden; }
.site-clss .c-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 85% 30%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%);
}
.site-clss .c-hero > * { position: relative; }
.site-clss .c-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.site-clss .c-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.site-clss .c-hero-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.site-clss .c-hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }

/* "lit" switches on like a sign at dusk. Off for people who ask for less motion. */
.site-clss .c-lit { color: #ffd84d; text-shadow: 0 0 6px rgba(255, 216, 77, 0.9), 0 0 22px rgba(255, 190, 40, 0.6); animation: c-switch-on 1.6s ease-out 0.4s both; }
@keyframes c-switch-on {
  0% { color: rgba(255, 255, 255, 0.35); text-shadow: none; }
  10% { color: #ffd84d; text-shadow: 0 0 6px rgba(255, 216, 77, 0.9); }
  14% { color: rgba(255, 255, 255, 0.35); text-shadow: none; }
  22%, 100% { color: #ffd84d; text-shadow: 0 0 6px rgba(255, 216, 77, 0.9), 0 0 22px rgba(255, 190, 40, 0.6); }
}
@media (prefers-reduced-motion: reduce) { .site-clss .c-lit { animation: none; } }

.site-clss .c-proof {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 56px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.92rem; color: rgba(255, 255, 255, 0.75);
}
.site-clss .c-proof strong { display: block; color: #fff; font-size: 1.05rem; }

/* Services in four groups, in job order. Whole row is the link. */
.site-clss .c-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.site-clss .c-group h3 { margin-bottom: 2px; }
.site-clss .c-group > p { margin-bottom: 12px; }
.site-clss .c-svc {
  display: block; padding: 12px 14px; margin: 0 -14px; border-radius: 10px; color: var(--text); text-decoration: none;
}
.site-clss .c-svc:hover { background: var(--bg-alt); }
.site-clss .c-svc strong { display: block; }
.site-clss .c-svc span { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.site-clss .c-family { margin-top: 28px; }

/* How a job runs */
.site-clss .c-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.site-clss .c-steps li { counter-increment: step; position: relative; padding-top: 44px; }
.site-clss .c-steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; font-size: 0.9rem;
}
.site-clss .c-steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 16px; left: 40px; right: -8px; height: 2px; background: var(--line);
}
.site-clss .c-steps strong { display: block; }
.site-clss .c-steps span { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }

/* Our work: a street of photos you scroll along. */
.site-clss .c-street {
  --edge: max(20px, calc((100vw - var(--wrap)) / 2 + 20px));
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--edge) 16px;
  scroll-padding-inline: var(--edge);
  scrollbar-width: thin;
}
.site-clss .c-street figure { flex: 0 0 min(320px, 78vw); margin: 0; scroll-snap-align: start; }
.site-clss .c-street img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.site-clss .c-street figcaption { margin-top: 8px; font-weight: 600; font-size: 0.92rem; }

/* Fleet */
.site-clss .c-dark { background: var(--ink); color: #fff; }
.site-clss .c-fleet { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.site-clss .c-fleet p { color: rgba(255, 255, 255, 0.8); max-width: 520px; }
.site-clss .c-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.site-clss .c-stats div { padding: 18px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius); }
.site-clss .c-stats dt { font-size: 1.6rem; font-weight: 700; color: #fff; }
.site-clss .c-stats dd { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }

/* About */
.site-clss .c-about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.site-clss .c-about .ticks { font-size: 1rem; }
.site-clss .c-about .ticks li { margin: 10px 0; }
.site-clss .c-about-note { background: var(--bg-alt); border-radius: var(--radius); padding: 22px; }
.site-clss .c-about-note p { color: var(--muted); margin: 6px 0 12px; }

@media (max-width: 960px) {
  .site-clss .c-groups { grid-template-columns: 1fr 1fr; }
  .site-clss .c-steps { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .site-clss .c-steps li:nth-child(3)::after { display: none; }
}
@media (max-width: 720px) {
  .site-clss .c-hero { padding-top: 40px; }
  .site-clss .c-hero-grid, .site-clss .c-fleet, .site-clss .c-about { grid-template-columns: 1fr; gap: 28px; }
  .site-clss .c-proof { grid-template-columns: 1fr 1fr; margin-top: 36px; }
  .site-clss .c-groups { grid-template-columns: 1fr; }
  .site-clss .c-steps { grid-template-columns: 1fr; gap: 0; }
  .site-clss .c-steps li { padding: 0 0 18px 48px; }
  .site-clss .c-steps li::after { display: none; }
  .site-clss .c-steps li:not(:last-child)::before { box-shadow: 0 0 0 0; }
}
