/* Lane × HeyGen print kit — t-shirt art + trading card for local print shops */

.lhp-page {
  --lhp-ink: #1a1410;
  --lhp-gold: #b8860b;
  --lhp-paper: #faf7f2;
  --lhp-heygen: #4f46e5;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--lhp-ink);
  background: #eceae4;
}

.lhp-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.lhp-hero {
  margin-bottom: 1.5rem;
}

.lhp-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lhp-heygen);
  margin-bottom: 0.35rem;
}

.lhp-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.lhp-lede {
  max-width: 52rem;
  color: #4b5563;
  margin-bottom: 0;
}

.lhp-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.lhp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .lhp-grid {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}

.lhp-artboard {
  background: var(--lhp-paper);
  border: 1px solid #d4cfc4;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 28px rgba(26, 20, 16, 0.08);
}

.lhp-artboard-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

/* Full legacy poster + QR overlay */
.lhp-poster-canvas {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  line-height: 0;
}

.lhp-poster-canvas img.lhp-poster-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(26, 20, 16, 0.15);
}

.lhp-poster-credit-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.35rem 0.55rem;
  background: rgba(15, 23, 42, 0.88);
  color: #d4af37;
  font-size: clamp(0.48rem, 1.6vw, 0.62rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-align: left;
  border-radius: 0 0 6px 6px;
}

.lhp-poster-qr-stack {
  position: absolute;
  right: 3%;
  bottom: calc(2.5% + 1.4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.5rem 0.55rem 0.4rem;
  border-radius: 8px;
  border: 3px solid #1a1410;
  outline: 2px solid #b8860b;
  outline-offset: 2px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  line-height: 1.2;
}

.lhp-qr-frame {
  display: inline-block;
  background: #fff;
  padding: 6px;
  border: 3px solid #1a1410;
  outline: 2px solid #b8860b;
  outline-offset: 1px;
  border-radius: 6px;
  line-height: 0;
}

.lhp-qr-frame canvas,
.lhp-qr-frame img {
  display: block;
}

.lhp-poster-qr-stack .lhp-qr-frame canvas,
.lhp-poster-qr-stack .lhp-qr-frame img {
  width: 104px !important;
  height: 104px !important;
}

.lhp-poster-qr-stack > .lhp-qr-frame {
  border: none;
  outline: none;
  padding: 0;
  background: transparent;
}

.lhp-poster-qr-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1410;
  text-align: center;
  max-width: 5.5rem;
  text-shadow: 0 0 1px #fff, 0 1px 1px rgba(255, 255, 255, 0.95);
}

.lhp-poster-qr-heygen {
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f46e5;
}

/* David Lane Time Traveler — premium print art */
.lhp-shirt-print-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto;
}

.lhp-shirt-print-figure {
  margin: 0;
  text-align: center;
}

.lhp-shirt-print-cap {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.lhp-shirt-print-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.lhp-shirt-print-link:hover .lhp-shirt-print-frame {
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.28);
}

.lhp-shirt-print-frame {
  background: var(--lhp-shirt-preview, #152238);
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.2);
  line-height: 0;
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.lhp-shirt-print-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.lhp-tt-preview-mount {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.lhp-tt-preview-mount .lhp-tt-panel {
  min-height: 420px;
  width: 100%;
}

.lhp-tt-preview-mount .lhp-tt-title-rule,
.lhp-tt-preview-mount .lhp-tt-credits-rule,
.lhp-tt-preview-mount .lhp-tt-rule {
  background: var(--lhp-tt-gold-dim);
}

.lhp-tt-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
}

.lhp-tt-panel {
  --lhp-tt-gold: #c9a961;
  --lhp-tt-gold-light: #e8d5a8;
  --lhp-tt-gold-dim: rgba(201, 169, 97, 0.72);
  background: transparent;
  color: var(--lhp-tt-gold);
  font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.15rem 1.25rem;
  min-height: 480px;
}

.lhp-tt-brand-mark,
.lhp-tt-back-kicker {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.46rem, 1.3vw, 0.54rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lhp-tt-gold-light);
  margin: 0 0 0.5rem;
  opacity: 0.92;
}

.lhp-tt-name {
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 0.4rem;
  line-height: 1.02;
  color: var(--lhp-tt-gold-light);
}

.lhp-tt-title-rule {
  width: min(72%, 9.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lhp-tt-gold) 18%, var(--lhp-tt-gold-light) 50%, var(--lhp-tt-gold) 82%, transparent);
  margin: 0 0 0.55rem;
  opacity: 0.9;
}

.lhp-tt-title-rule--back {
  width: min(58%, 7.5rem);
  margin-bottom: 0.75rem;
}

.lhp-tt-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: clamp(0.58rem, 1.65vw, 0.72rem);
  letter-spacing: 0.26em;
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: var(--lhp-tt-gold);
}

.lhp-tt-flourish {
  display: inline-block;
  width: 1.25rem;
  height: 0.45rem;
  border-top: 1px solid var(--lhp-tt-gold-dim);
  opacity: 0.95;
}

.lhp-tt-art-frame {
  position: relative;
  width: min(90%, 268px);
  aspect-ratio: 4 / 5;
  padding: 7px;
  border: 1px solid var(--lhp-tt-gold);
  outline: 1px solid rgba(232, 213, 168, 0.35);
  outline-offset: 3px;
  margin-bottom: 0.85rem;
  background: transparent;
  line-height: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.lhp-tt-art-frame::before,
.lhp-tt-art-frame::after {
  content: '';
  position: absolute;
  width: 0.65rem;
  height: 0.65rem;
  border-color: var(--lhp-tt-gold-light);
  border-style: solid;
  pointer-events: none;
}

.lhp-tt-art-frame::before {
  top: 3px;
  left: 3px;
  border-width: 1px 0 0 1px;
}

.lhp-tt-art-frame::after {
  bottom: 3px;
  right: 3px;
  border-width: 0 1px 1px 0;
}

.lhp-tt-art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

.lhp-tt-follow {
  font-size: clamp(0.54rem, 1.55vw, 0.66rem);
  letter-spacing: 0.18em;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--lhp-tt-gold-light);
}

.lhp-tt-era {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: clamp(0.48rem, 1.4vw, 0.58rem);
  letter-spacing: 0.22em;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--lhp-tt-gold-dim);
}

.lhp-tt-rule {
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lhp-tt-gold-dim));
  opacity: 0.85;
}

.lhp-tt-era .lhp-tt-rule:last-child {
  background: linear-gradient(90deg, var(--lhp-tt-gold-dim), transparent);
}

.lhp-tt-compass {
  margin-top: auto;
  color: var(--lhp-tt-gold);
  opacity: 0.88;
}

.lhp-tt-compass-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.lhp-tt-scan {
  font-size: clamp(0.88rem, 2.5vw, 1.08rem);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--lhp-tt-gold-light);
}

.lhp-tt-back {
  justify-content: flex-start;
}

.lhp-tt-qr.lhp-qr-frame {
  background: #fff;
  padding: 11px;
  border: none;
  outline: none;
  border-radius: 6px;
  margin: 0 0 0.45rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.95),
    0 0 0 3px var(--lhp-tt-gold),
    0 4px 16px rgba(0, 0, 0, 0.2);
}

.lhp-tt-qr.lhp-qr-frame canvas,
.lhp-tt-qr.lhp-qr-frame img {
  width: 176px !important;
  height: 176px !important;
}

.lhp-tt-qr-hint {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.44rem, 1.25vw, 0.52rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 0.55rem;
  color: var(--lhp-tt-gold-light);
}

.lhp-tt-features {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.5rem, 1.45vw, 0.62rem);
  letter-spacing: 0.12em;
  font-weight: 600;
  margin: 0 0 0.55rem;
  line-height: 1.5;
  color: var(--lhp-tt-gold);
}

.lhp-tt-site {
  font-size: clamp(0.68rem, 1.9vw, 0.84rem);
  letter-spacing: 0.1em;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--lhp-tt-gold-light);
}

.lhp-tt-credits-rule {
  width: min(68%, 8.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lhp-tt-gold-dim) 50%, transparent);
  margin: auto 0 0.45rem;
  opacity: 0.75;
}

.lhp-tt-credits {
  padding-bottom: 0.15rem;
}

.lhp-tt-credit-line {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.38rem, 1.1vw, 0.46rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
  color: var(--lhp-tt-gold-dim);
}

.lhp-tt-credit-line--ai {
  letter-spacing: 0.11em;
  opacity: 0.88;
}

@media (max-width: 640px) {
  .lhp-shirt-print-grid {
    grid-template-columns: 1fr;
  }

  .lhp-tt-sheet {
    grid-template-columns: 1fr;
  }

  .lhp-tt-panel {
    min-height: auto;
  }
}

/* Four-up t-shirt grid — Boston quartet */
.lhp-quartet-canvas {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 48%, #0f172a 100%);
  border-radius: 12px;
  padding: 3%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lhp-quartet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3%;
  width: 100%;
  height: 100%;
}

.lhp-quartet-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 0.35rem 0.25rem 0.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  min-height: 0;
  overflow: hidden;
}

.lhp-quartet-order {
  position: absolute;
  top: 0.25rem;
  left: 0.35rem;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #a5b4fc;
  background: rgba(79, 70, 229, 0.25);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
}

.lhp-quartet-art {
  flex: 1;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.lhp-quartet-art img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center top;
  filter: contrast(1.14) brightness(1.03) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5));
}

.lhp-quartet-years {
  font-size: clamp(0.48rem, 1.5vw, 0.58rem);
  color: #c4b896;
  margin: 0.08rem 0 0;
  font-weight: 600;
}

.lhp-quartet-bio {
  font-size: clamp(0.42rem, 1.4vw, 0.52rem);
  color: rgba(248, 250, 252, 0.55);
  margin: 0.08rem 0 0.12rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.lhp-quartet-name {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(0.55rem, 2.2vw, 0.72rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0.2rem 0 0;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 1px #000;
}

.lhp-quartet-tagline {
  font-size: clamp(0.45rem, 1.6vw, 0.55rem);
  color: rgba(248, 250, 252, 0.65);
  margin: 0.1rem 0 0.15rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lhp-quartet-qr.lhp-qr-frame canvas,
.lhp-quartet-qr.lhp-qr-frame img {
  width: 72px !important;
  height: 72px !important;
}

.lhp-quartet-scan {
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: #c7d2fe;
  margin-top: 0.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

/* legacy shirt layout removed — see .lhp-tt-* Time Traveler panels above */

/* Trading card — 2.5 × 3.5 */
.lhp-card-canvas {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 2.5 / 3.5;
  background: linear-gradient(165deg, #fffef9 0%, #f3ebe0 100%);
  border: 2px solid var(--lhp-gold);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  box-shadow: inset 0 0 0 1px rgba(184, 134, 11, 0.25);
}

.lhp-card-face {
  position: relative;
  padding: 0.65rem 0.65rem 0.35rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.lhp-card-tier {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--lhp-gold);
}

.lhp-card-portrait-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lhp-card-portrait-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lhp-card-name {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.95rem;
  text-align: center;
  margin: 0.35rem 0 0;
  line-height: 1.15;
}

.lhp-card-years {
  text-align: center;
  font-size: 0.68rem;
  color: #6b7280;
  margin: 0;
}

.lhp-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  background: rgba(26, 20, 16, 0.04);
  border-top: 1px solid rgba(184, 134, 11, 0.35);
}

.lhp-card-foot-qr.lhp-qr-frame canvas,
.lhp-card-foot-qr.lhp-qr-frame img {
  width: 88px !important;
  height: 88px !important;
}

.lhp-card-scan {
  font-size: 0.58rem;
  line-height: 1.3;
  color: #374151;
}

.lhp-card-scan strong {
  display: block;
  font-size: 0.62rem;
  color: var(--lhp-heygen);
}

.lhp-side-panel .card-body {
  font-size: 0.88rem;
}

.lhp-spec-list {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.lhp-spec-list li + li {
  margin-top: 0.35rem;
}

.lhp-script-box {
  font-size: 0.78rem;
  line-height: 1.45;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  max-height: 9rem;
  overflow-y: auto;
}

.lhp-attribution {
  margin-top: 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  font-size: 0.78rem;
  color: #3730a3;
}

.lhp-credits {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #d4cfc4;
  text-align: center;
}

.lhp-credits-line {
  font-size: 0.78rem;
  color: #6b7280;
}

.lhp-credits-line a {
  color: #4f46e5;
  font-weight: 600;
}

.lhp-guide-card-wrap {
  max-width: 280px;
  margin: 0 auto;
}

.lhp-guide-card-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--lhp-gold);
  box-shadow: 0 8px 24px rgba(26, 20, 16, 0.12);
}

.lhp-guide-card-img {
  width: 100%;
  height: auto;
  display: block;
}

@media print {
  body.lhp-page {
    background: #fff;
  }

  .lhp-no-print {
    display: none !important;
  }

  .lhp-wrap {
    max-width: none;
    padding: 0;
  }

  .lhp-artboard {
    box-shadow: none;
    break-inside: avoid;
  }
}
