/* ============================================================
   SUB-PAGE STYLES — shared across artists / studios / pmu / laser
   Add this <link> tag to any sub-page after styles.css
   ============================================================ */

/* ============ SUB-HERO ============
   To swap a hero background image: drop a replacement file at the same path
   in assets/img/heroes/ — no CSS edit required. To use a custom path on one
   page, add inline style on the section: <section class="sub-hero" style="--hero-bg: url('path.jpg');">
   Recommended dimensions: 2400×1600 (3:2 aspect), JPEG 80% quality, ~300-500KB.
   Filter forces full grayscale + dark overlay so any image fits the brand.
   ============================================================ */
.sub-hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  padding: 140px var(--gutter) 80px;
  overflow: hidden;
  isolation: isolate;
}
.sub-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hero-bg, url("assets/img/heroes/artists-hero.jpg"));
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.05) brightness(.5);
  z-index: -2;
  transform: scale(1.02); /* prevents filter edge artifacts */
}
.sub-hero[data-bg="artists"] { --hero-bg: url("assets/img/heroes/artists-hero.jpg"); }
.sub-hero[data-bg="studios"] { --hero-bg: url("assets/img/heroes/studios-hero.jpg"); }
.sub-hero[data-bg="pmu"] { --hero-bg: url("assets/img/heroes/pmu-hero.jpg"); }
.sub-hero[data-bg="laser"] { --hero-bg: url("assets/img/heroes/laser-hero.jpg"); }
.sub-hero[data-bg="brands"] { --hero-bg: url("assets/img/heroes/brands-hero.jpg"); }
.sub-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,12,12,.35) 0%, rgba(13,12,12,.92) 100%);
  z-index: -1;
}
.sub-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

/* ============ SUB-HERO HEADLINE (KCTallboy PNG) ============
   Two stacked PNGs: cream main line + orange (inked) accent line.
   The H1 tag is preserved for SEO; the alt text on each img is read.
   ============================================================ */
.sub-hero__headline {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1vw, 14px);
  margin: 0 0 28px;
  max-width: 100%;
  line-height: 0.85;
}
.sub-hero__headline-img {
  display: block;
  width: auto;
  max-width: min(100%, 980px);
  height: auto;
  /* Cap height so KC PNGs scale predictably across viewports */
  max-height: clamp(48px, 9.5vw, 140px);
}
.sub-hero__headline-img--accent {
  max-height: clamp(48px, 9.5vw, 140px);
}

/* Legacy fallback — keep h1 styles in case any sub-page still uses text H1 */
.sub-hero h1:not(.sub-hero__headline) {
  font-family: var(--header);
  font-size: clamp(48px, 9vw, 120px);
  line-height: 0.85;
  letter-spacing: -2px;
  color: var(--cream);
  margin: 0 0 24px;
  text-transform: uppercase;
  max-width: 14ch;
}
.sub-hero h1:not(.sub-hero__headline) .accent { color: var(--orange); }
.sub-hero p {
  max-width: 60ch;
  color: var(--cream);
  font-size: 18px;
  margin: 0 0 32px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .sub-hero { min-height: 56vh; padding: 120px var(--gutter) 60px; }
  .sub-hero__headline-img { max-height: clamp(36px, 11vw, 80px); }
}

.sub-section {
  padding: var(--section-y) 0;
}
.sub-section--alt {
  background: var(--black-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sub-section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sub-section h2 {
  font-family: var(--header);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.5px;
  color: var(--cream);
  margin: 0 0 24px;
  text-transform: uppercase;
  max-width: 18ch;
}
.sub-section h2 .accent { color: var(--orange); }
.sub-section p {
  color: var(--cream);
  max-width: 62ch;
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
}

.sub-features {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.sub-features li {
  padding: 24px;
  background: var(--black-3);
  border: 1px solid var(--line);
  border-left: 2px solid var(--orange);
}
.sub-features h3 {
  font-family: var(--header);
  font-size: 20px;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}
.sub-features p {
  margin: 0;
  font-size: 14px;
  color: var(--cream-dim);
}

@media (max-width: 720px) {
  .sub-features { grid-template-columns: 1fr; }
}

/* ============ ROUND 6: Sub-page additions ============ */

/* Mini stats strip on sub-pages */
.sub-stats {
  background: var(--black-4);
  padding: clamp(40px, 5vw, 60px) var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sub-stats__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.sub-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sub-stat strong {
  font-family: var(--header);
  font-size: clamp(36px, 5vw, 64px);
  color: var(--orange);
  letter-spacing: -1px;
  line-height: 1;
  font-weight: 400;
}
.sub-stat span {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* Sub-page testimonial pull */
.sub-quote {
  font-family: var(--header);
  font-size: clamp(24px, 3.5vw, 40px);
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin: 0 auto 24px;
  max-width: 22ch;
  padding: 24px 0;
  border-top: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
}
.sub-quote__caption {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.sub-quote__name { color: var(--cream); font-weight: 600; }
.sub-quote__handle { color: var(--orange); font-size: 12px; }

/* Process steps list (alternative to numbered) */
.sub-steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 18px;
  counter-reset: substep;
}
.sub-steps li {
  position: relative;
  padding: 18px 18px 18px 28px;
  background: var(--black-3);
  border-left: 2px solid var(--orange);
  font-size: 15px;
  color: var(--cream);
  line-height: 1.6;
  counter-increment: substep;
}
.sub-steps li strong {
  font-family: var(--header);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  display: inline-block;
  margin-right: 8px;
  font-size: 14px;
}
.sub-steps__note {
  margin: 24px 0 0;
  padding: 14px 18px;
  border-left: 2px solid var(--orange);
  background: rgba(215, 94, 67, 0.06);
  font-family: var(--body);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--cream-dim);
  font-style: italic;
}

/* Pricing example card */
.sub-pricing-card {
  background: var(--black-3);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--orange);
  padding: 32px;
  margin: 24px 0 0;
}
.sub-pricing-card p { margin: 0 0 12px; color: var(--cream); font-size: 15px; max-width: none; }
.sub-pricing-card__total {
  font-family: var(--header);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--orange);
  margin: 16px 0;
  letter-spacing: -0.5px;
  line-height: 1;
}
.sub-pricing-card__total strong { color: var(--orange); }
.sub-pricing-card__note {
  font-size: 13px;
  color: var(--cream-faint);
  margin: 0;
}

/* Sub-page apply section */
.sub-apply {
  padding: var(--section-y) 0;
  background: var(--black-2);
  border-top: 1px solid var(--line);
}
.sub-apply__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sub-apply__inner .h2 {
  font-family: var(--header);
  font-size: clamp(32px, 5vw, 56px);
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 16px;
  line-height: 0.95;
  letter-spacing: -0.5px;
}
.sub-apply__inner .h2 .accent { color: var(--orange); }
.sub-apply__inner .lede { margin: 0 0 8px; color: var(--cream); }
.sub-apply__form-wrap {
  margin-top: 40px;
}
.sub-apply__form-wrap .contact__form {
  background: var(--black-3);
  padding: 32px;
  border: 1px solid var(--line-strong);
  display: grid;
  gap: 16px;
}
.sub-apply__form-wrap label { display: grid; gap: 6px; }
.sub-apply__form-wrap span {
  font-family: var(--body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cream-dim);
}
.sub-apply__form-wrap input,
.sub-apply__form-wrap select,
.sub-apply__form-wrap textarea {
  background: var(--black);
  color: var(--cream);
  border: 1px solid var(--line);
  padding: 13px 14px;
  font-family: var(--body);
  font-size: 14.5px;
  border-radius: 0;
}
.sub-apply__form-wrap input:focus,
.sub-apply__form-wrap select:focus,
.sub-apply__form-wrap textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}

@media (max-width: 720px) {
  .sub-stats__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ============ FIT-HONEST (passive replacement for fit-gate) ============ */
.fit-honest {
  background: var(--black-3);
  border-left: 2px solid var(--orange);
  padding: 20px 24px;
  margin-bottom: 28px;
}
.fit-honest__eyebrow {
  font-family: var(--body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin: 0 0 10px;
}
.fit-honest__title {
  font-family: var(--header);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cream);
  margin: 0 0 12px;
}
.fit-honest__list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.fit-honest__list li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--cream);
  font-size: 14.5px;
  line-height: 1.5;
}
.fit-honest__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--orange);
  font-weight: 700;
}
.fit-honest__list li strong { color: var(--cream); font-weight: 600; }
.fit-honest__note {
  font-size: 13px;
  color: var(--cream-dim);
  margin: 0;
  line-height: 1.5;
}

/* ============ Blog links + process timeline (pmu / laser pages) ============ */
.sub-blog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.sub-blog__card {
  display: block;
  background: var(--black-3);
  border: 1px solid var(--line);
  border-left: 2px solid var(--orange);
  padding: 20px;
  text-decoration: none;
  color: var(--cream);
  transition: background .2s var(--ease, ease), transform .2s var(--ease, ease);
}
.sub-blog__card:hover {
  background: var(--black-4, #19191a);
  transform: translateY(-2px);
}
.sub-blog__tag {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 8px;
}
.sub-blog__title {
  font-family: var(--header);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cream);
  margin: 0 0 8px;
  line-height: 1.15;
}
.sub-blog__excerpt {
  font-size: 13.5px;
  color: var(--cream-dim);
  margin: 0;
  line-height: 1.5;
}
