/* Color Tools — home.css (hub landing, kinetic concept) */

.home-hero { text-align: center; padding: 72px 0 44px; }
.home-hero h1 {
  font-size: clamp(42px, 8vw, 104px);
  line-height: .96;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-transform: uppercase;
  margin: 22px 0 0;
}
.home-hero h1 .W { display: inline-block; }
.home-hero h1 .L { display: inline-block; transition: color .15s, transform .15s; }
.home-hero p { color: var(--text-muted); max-width: 52ch; margin: 24px auto 0; font-size: 16.5px; }

.hue-read { margin-top: 24px; font-family: var(--mono); font-size: 12.5px; color: var(--text-muted); }
.hue-read b { color: var(--live); font-weight: 400; }

.home-cta { margin-top: 30px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.home-cta .btn { padding: 13px 28px; }

.home-sec { padding: 56px 0 6px; }
.home-sec .sec-sub { color: var(--text-muted); font-size: 13.5px; margin: 6px 0 0; }

.home-end { padding: 64px 0 80px; text-align: center; }
.home-end h2 {
  font-size: clamp(26px, 4.6vw, 48px);
  font-weight: 800; text-transform: uppercase; letter-spacing: -.03em;
  line-height: 1; margin: 0;
}
.home-end h2 span { color: var(--accent); }
.home-end .btn { margin-top: 26px; }

@media (max-width: 640px) {
  .home-hero { padding: 48px 0 32px; }
}

/* Film palettes showcase */
.films-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800; text-transform: uppercase; letter-spacing: -.03em;
  margin: 10px 0 0; line-height: 1;
}
#film-palettes .sec-sub a { color: var(--accent); }
.films { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.film {
  margin: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s;
}
.film:hover { transform: translateY(-3px); border-color: var(--text-muted); }
.film img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.film-strip { display: flex; height: 52px; }
.film-strip button {
  flex: 1; border: none; padding: 0; cursor: pointer; position: relative;
  transition: flex .25s;
}
.film-strip button:hover { flex: 1.8; }
.film-strip button::after {
  content: attr(data-hex);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--mono); font-size: 10.5px; color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  opacity: 0; transition: opacity .15s; pointer-events: none; white-space: nowrap;
}
.film-strip button:hover::after { opacity: 1; }
.film figcaption {
  padding: 12px 16px; font-size: 13px; color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.film figcaption b { color: var(--text); font-weight: 700; }
.films-cta { text-align: center; margin: 30px 0 0; color: var(--text-muted); font-size: 14.5px; }
.films-cta .btn { margin-left: 10px; }

@media (max-width: 760px) {
  .films { grid-template-columns: 1fr; }
  .films-cta .btn { display: block; margin: 12px auto 0; max-width: fit-content; }
}
