/* Hallmark · pre-emit critique: P5 H5 E4 S5 R4 V5 */
/* Hallmark · redesign · genre: playful · macrostructure: Split Studio · theme: Hum
 * enrichment: supplied artwork · nav: N7 · footer: Ft8 · contrast: pass (40–41)
 * honest: pass (46) · chrome: pass (47) · tokens: pass (48) · mobile: pass (34, 49, 50–57)
 */
@import "./tokens.css";

html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); }
*, *::before, *::after { box-sizing: border-box; }
img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(.98); }
figure { margin: 0; }
a { color: inherit; }

.siteNav { display: flex; min-height: 4.75rem; align-items: center; justify-content: space-between; padding: var(--space-md) var(--page-gutter); border-bottom: var(--rule-bold) solid var(--color-ink); background: var(--color-paper); }
.brand, .navCta { display: inline-flex; align-items: center; line-height: 1; text-decoration: none; white-space: nowrap; }
.brand { gap: var(--space-sm); font-family: var(--font-display); font-size: var(--text-md); font-weight: 900; }
.brandMark { display: grid; width: 2.25rem; aspect-ratio: 1; place-items: center; border: var(--rule-bold) solid var(--color-ink); border-radius: var(--radius-sm); background: var(--color-lemon); }
.navCta { gap: var(--space-xs); padding: var(--space-sm) var(--space-lg); border: var(--rule-bold) solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-coral); font-weight: 900; }

.heroSplit { display: grid; min-height: calc(100svh - 4.75rem); grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); background: var(--color-lemon); }
.heroCopy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: var(--space-3xl) var(--page-gutter) var(--space-4xl); }
.signal { margin: 0 0 var(--space-lg); font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 800; letter-spacing: .14em; }
.heroCopy h1, h2, h3 { font-family: var(--font-display); font-style: normal; }
.heroCopy h1 { width: 100%; min-width: 0; margin: 0; padding-inline-end: var(--space-lg); font-size: var(--text-hero); font-weight: 900; letter-spacing: -.06em; line-height: .96; overflow-wrap: anywhere; }
.heroCopy h1 span { display: block; white-space: nowrap; }
.heroLead { max-width: 58ch; margin: var(--space-xl) 0 0; font-size: var(--text-md); line-height: 1.8; }
.heroActions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.button { display: inline-flex; min-height: 3.5rem; align-items: center; justify-content: center; padding: 0 var(--space-xl); border: var(--rule-bold) solid var(--color-ink); border-radius: var(--radius-pill); font-weight: 900; text-decoration: none; white-space: nowrap; transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.buttonPrimary { background: var(--color-coral); }
.button:hover { background: var(--color-cyan); }
.button:active { transform: translateY(1px); }
.textLink { font-weight: 900; text-underline-offset: var(--space-2xs); white-space: nowrap; }
.textLink:hover { color: var(--color-blue); }
.textLink:active { opacity: .7; }
.heroImage { min-width: 0; min-height: 30rem; overflow: hidden; border-left: var(--rule-bold) solid var(--color-ink); }

.moodSplit { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: stretch; background: var(--color-paper-2); }
.moodImage { min-width: 0; min-height: 38rem; }
.moodCopy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: var(--space-3xl) var(--page-gutter); }
.moodCopy h2, .peopleIntro h2, .galleryHead h2 { min-width: 0; margin: 0; font-size: var(--text-section); font-weight: 900; letter-spacing: -.05em; line-height: 1; overflow-wrap: anywhere; }
.moodCopy > p:not(.signal), .peopleIntro p, .galleryHead p { max-width: 58ch; margin: var(--space-lg) 0 0; font-size: var(--text-md); line-height: 1.8; }
.miniPlayer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-md); align-items: center; margin-top: var(--space-xl); padding: var(--space-md); border: var(--rule-bold) solid var(--color-ink); border-radius: var(--radius-card); background: var(--color-paper); }
.playDot { display: grid; width: 3rem; aspect-ratio: 1; place-items: center; border-radius: var(--radius-round); background: var(--color-blue); color: var(--color-paper); }
.miniPlayer small, .miniPlayer strong { display: block; }
.miniPlayer small { margin-bottom: var(--space-2xs); font-family: var(--font-mono); }
.miniPlayer a { font-weight: 900; white-space: nowrap; }

.peopleSection { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: var(--space-lg); padding: var(--space-4xl) var(--page-gutter); background: var(--color-cyan); }
.peopleIntro { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.listenerPanel, .creatorPanel { overflow: hidden; border: var(--rule-bold) solid var(--color-ink); border-radius: var(--radius-card); background: var(--color-paper); }
.listenerPanel { display: grid; min-height: 28rem; grid-template-rows: minmax(0, 1fr) auto; }
.listenerPanel figure { min-height: 22rem; overflow: hidden; }
.listenerCopy { display: flex; flex-direction: column; gap: var(--space-lg); padding: var(--space-xl); }
.panelNumber { font-family: var(--font-mono); font-weight: 800; }
.listenerPanel h3, .creatorPanel h3 { margin: 0 0 var(--space-sm); font-size: var(--text-xl); }
.listenerPanel p, .creatorPanel p { max-width: 52ch; line-height: 1.7; }
.listenerPanel a, .creatorPanel a { width: max-content; font-weight: 900; white-space: nowrap; }
.creatorPanel { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.creatorPanel figure { min-height: 22rem; }
.creatorCopy { padding: var(--space-xl); background: var(--color-blue); color: var(--color-paper); }

.featureGallery { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); gap: var(--space-lg); padding: var(--space-4xl) var(--page-gutter); }
.galleryHead { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.featureCard { min-width: 0; overflow: hidden; border: var(--rule-bold) solid var(--color-ink); border-radius: var(--radius-card); transition: transform var(--dur-short) var(--ease-out); }
.featureCard:hover { transform: translateY(-3px); }
.featureCard figure { aspect-ratio: 16 / 9; overflow: hidden; }
.featureCard > div { padding: var(--space-xl); }
.featureCard span { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 800; letter-spacing: .12em; }
.featureCard h3 { margin: var(--space-md) 0 var(--space-sm); font-size: var(--text-xl); }
.featureCard p { max-width: 60ch; margin: 0; line-height: 1.75; }
.featureCoral { background: var(--color-coral-soft); }
.featureBlue { background: var(--color-blue); color: var(--color-paper); }
.featureLemon { grid-column: 1 / -1; width: 74%; margin-inline-start: auto; background: var(--color-lemon); }
.featureLemon { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.featureLemon figure { aspect-ratio: auto; min-height: 22rem; }

.finalSplit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--color-coral); }
.finalCopy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: var(--space-3xl) var(--page-gutter); }
.finalCopy p { max-width: 16ch; min-width: 0; margin: 0; font-family: var(--font-display); font-size: var(--text-section); font-weight: 900; letter-spacing: -.05em; line-height: 1; overflow-wrap: anywhere; }
.finalCopy > span { margin-top: var(--space-lg); }
.finalCopy .button { margin-top: var(--space-xl); background: var(--color-paper); }
.finalSplit figure { min-height: 34rem; }
.siteFooter { overflow: hidden; background: var(--color-ink); color: var(--color-paper); }
.footerRibbon { width: max-content; padding: var(--space-lg) 0; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 900; white-space: nowrap; }
.footerMeta { display: flex; justify-content: space-between; padding: var(--space-md) var(--page-gutter); border-top: var(--rule-hair) solid var(--color-paper-muted); }

a:focus-visible { outline: var(--rule-focus) solid var(--color-focus); outline-offset: var(--space-2xs); }
a[aria-disabled="true"] { cursor: not-allowed; opacity: .55; }

@media (max-width: 56rem) {
  .heroSplit, .moodSplit, .peopleSection, .finalSplit { grid-template-columns: minmax(0, 1fr); }
  .heroCopy { padding-block: var(--space-3xl); }
  .heroImage { min-height: 25rem; border-top: var(--rule-bold) solid var(--color-ink); border-left: 0; }
  .moodImage { min-height: 26rem; }
  .peopleIntro, .galleryHead { align-items: flex-start; flex-direction: column; }
  .peopleIntro { grid-column: auto; }
  .creatorPanel figure { min-height: 18rem; }
  .featureGallery { grid-template-columns: minmax(0, 1fr); }
  .galleryHead, .featureLemon { grid-column: auto; }
  .featureLemon { width: 100%; grid-template-columns: minmax(0, 1fr); margin-inline-start: 0; }
  .finalSplit figure { min-height: 24rem; }
}

@media (max-width: 30rem) {
  .siteNav { min-height: 4rem; }
  .brand span:last-child { display: none; }
  .heroCopy h1 span { white-space: normal; }
  .heroActions { align-items: flex-start; flex-direction: column; }
  .miniPlayer { grid-template-columns: auto minmax(0, 1fr); }
  .miniPlayer a { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .featureCard { transition-duration: var(--dur-reduced); }
  .button:hover, .featureCard:hover { transform: none; }
}
