/* Hallmark · shape: Swiss bleed, a cropped giant word per page with the talent cut out in front, a strict 12-column grid below · genre: editorial · theme: custom · job: book · idea: "The page casts: the talent steps out in front of the brand's own type." · vibe: "Swiss poster, dark hall, one figure cast"
 * paper: oklch(14.6% 0.004 286) · accent: oklch(75% 0.085 82) · display: Barlow Condensed · body: Barlow · hero: one giant cropped word behind one cut-out talent, headline left, sentence and actions right · nav: edge-aligned wordmark, two links, one action · footer: wordmark over one row of links and the AI disclosure · imagery: photographs, the client's own renders, cut out where they stand in front of type · signature: Camila stepping out in front of the word TALENT, cut hard at the hero's foot
 * axes: dark/grotesk-heavy/warm · posture: custom · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V5 · weakest: E, home cutout re-cut from the native render with a decontaminated matte; Camila's jump re-rendered on a studio ground and cut with strand-level alpha; the material ask names higher-resolution renders */
/* answered: Barlow Condensed collides with the Piste theme; it is the Significant Talent brand face from DESIGN.md and the brand outranks the catalog */
/* Hallmark · waive 83 · a gallery of the client's own work, twelve talent renders · the roster grid is the product being sold, each talent is a render the client owns */
/* Hallmark · dismissed 58 · the window holds the roster's twelve names and specialties, a list counted beside the three booking lines */
@import url("./tokens.css");
@import url("./base.css");

:root {
  /* by width, and by height so the word's foot always clears the band (band ~260px + nav ~100px) */
  --word-size: min(44vw, calc((min(100svh, 1040px) - 400px) * 1.25));
  --nav-h: 88px;
  --ease-strong: cubic-bezier(0.23, 1, 0.32, 1);
}

body { background: var(--color-paper); color: var(--color-ink-2); }

/* Chrome */
.nav { position: absolute; inset: 0 0 auto 0; z-index: var(--z-raised); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-h); }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: var(--space-xl); }
.nav__links a:not(.btn) { color: var(--color-ink-2); text-decoration: none; font-size: var(--text-sm); font-weight: 400; }
.nav__links a:not(.btn):hover { color: var(--color-ink); text-decoration: underline; }

.btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); text-decoration: none; transition: background-color 120ms ease, color 120ms ease, transform 160ms var(--ease-strong); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink); }
.btn--ghost { color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-rule); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--color-ink-2); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }
.btn--sm { min-height: 44px; padding: 0 var(--space-md); }

/* Hero: the cropped word, the figure in front cut hard at the hero's foot, the band of words */
.hero { position: relative; overflow: clip; height: clamp(640px, 100svh, 1040px); border-block-end: var(--rule-hair) solid var(--color-rule); display: flex; align-items: flex-end; padding-block-end: var(--space-2xl); }
.hero__word { position: absolute; left: 50%; top: calc(var(--nav-h) + var(--space-sm)); transform: translateX(-50%); width: max-content; font-family: var(--font-display); font-weight: 800; font-size: var(--word-size); line-height: 0.8; letter-spacing: -0.02em; text-transform: uppercase; color: var(--color-ink-2); white-space: nowrap; user-select: none; pointer-events: none; }
.hero__figure { position: absolute; z-index: var(--z-base); bottom: 0; left: 50%; transform: translateX(-50%); height: min(calc(100% - var(--nav-h) + var(--space-md)), 1010px); width: auto; max-width: none; }
.hero__band { position: relative; z-index: var(--z-raised); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; }
.hero__band h1 { grid-column: 1 / 6; font-weight: 800; font-size: clamp(2.25rem, 3.2vw, 2.75rem); line-height: 1.04; text-transform: uppercase; color: var(--color-ink); }
.hero__band h1 span, .close h2 span { display: block; }
.hero__band h1 span { white-space: nowrap; }
.hero__aside { grid-column: 9 / 13; display: flex; flex-direction: column; gap: var(--space-lg); }
.hero__aside p { font-size: var(--text-lead); line-height: 1.45; color: var(--color-muted); max-width: 32ch; }
.hero--talent .hero__band h1 { font-size: var(--text-section); line-height: 1.02; margin-block-end: var(--space-md); }
@media (min-width: 60.01rem) {
  /* Camila: the name sits with its sentence and action in the right column */
  .hero--talent .hero__band h1 { grid-column: 9 / 13; }
  .hero--talent .hero__aside { grid-column: 9 / 13; }
  /* Short screens: keep the word too big for the frame; the band's own ground crops its foot and the figure's legs */
}
@media (min-width: 60.01rem) and (max-height: 820px) {
  /* Short screens: the word is sized by height so nothing is cut from it, and bleeds off the left edge so it still meets the frame */
  .hero__word { left: 0; transform: translateX(-0.06em); }
}
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* Section heads: head, then its one line beneath it */
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); margin-block-end: var(--space-xl); }
.section-head h2 { grid-column: 1 / 8; font-weight: 800; font-size: var(--text-section); line-height: 1.02; text-transform: uppercase; color: var(--color-ink); }
.section-head p { grid-column: 1 / 8; color: var(--color-muted); max-width: 48ch; }

/* Roster */
.roster { padding-block-start: var(--section-gap); }
.roster__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--space-md); row-gap: var(--space-xl); }
.card { display: flex; flex-direction: column; gap: var(--space-sm); text-decoration: none; color: inherit; }
.card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; background: var(--color-paper-2); color: var(--color-ink); }
.card__name { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); line-height: 1.05; text-transform: uppercase; color: var(--color-ink); }
.card__spec { font-size: var(--text-sm); color: var(--color-muted); margin-block-start: calc(var(--space-xs) * -1); }
.card:hover .card__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.card:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

/* How a booking works: each step word beside its line, on one baseline */
.steps { padding-block-start: var(--section-gap-l); }
.steps__list { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-block-start: var(--rule-hair) solid var(--color-rule); }
.step h3 { grid-column: 1 / 5; font-weight: 800; font-size: var(--text-section); line-height: 1.02; text-transform: uppercase; color: var(--color-ink-2); }
.step p { grid-column: 5 / 13; max-width: 68ch; font-size: var(--text-lead); color: var(--color-ink-2); }

/* Close */
.close { padding-block: var(--section-gap-l) var(--section-gap); }
.close .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); }
.close h2 { grid-column: 1 / 13; font-weight: 800; font-size: clamp(4rem, 8.5vw, 8.5rem); line-height: 1; text-transform: uppercase; color: var(--color-ink); }
.close h2 span { text-wrap: balance; }
.close .actions { grid-column: 1 / 13; }

/* Talent page */
.bio { padding-block-start: var(--section-gap); }
.bio .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); }
.bio__statement { grid-column: 1 / 10; font-family: var(--font-display); font-weight: 600; font-size: var(--text-display-s); line-height: 1.08; color: var(--color-ink); max-width: none; }
.bio__note { grid-column: 1 / 10; font-size: var(--text-lead); color: var(--color-ink); }
.gallery { padding-block-start: var(--section-gap-s); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.gallery__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.makes { padding-block-start: var(--section-gap-l); }
.makes .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.makes h2 { grid-column: 1 / 5; font-weight: 800; font-size: var(--text-section); line-height: 1.02; text-transform: uppercase; color: var(--color-ink); }
.makes ul { grid-column: 5 / 13; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.makes li { font-family: var(--font-display); font-weight: 800; font-size: var(--text-3xl); line-height: 1.1; text-transform: uppercase; color: var(--color-ink-2); padding-block: var(--space-md); border-block-start: var(--rule-hair) solid var(--color-rule); }

/* Scene hero (talents without a cutout, inner pages): the render fills the frame under the nav and fades into the paper; the word, too big for the frame, is cropped by the frame's foot; the band sits below on its own ground, inside the first screen */
.hero.hero--scene { height: auto; display: block; padding: var(--nav-h) 0 var(--space-xl); border-block-end: 0; --band-h: 176px; --scene-word: min(calc(118vw / (var(--chars) * 0.5)), 40svh, 64vw); }
.hero.hero--page { --band-h: 260px; }
.scene-frame { position: relative; overflow: clip; border-block-end: var(--rule-hair) solid var(--color-rule); height: clamp(460px, calc(100svh - var(--nav-h) - var(--band-h) - var(--space-xl)), 940px); }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, var(--color-paper) 40%, transparent 96%); mask-image: linear-gradient(to bottom, var(--color-paper) 40%, transparent 96%); animation: fade 520ms var(--ease-strong) both; }
.hero--scene .hero__word { position: absolute; z-index: var(--z-raised); top: auto; bottom: 0; left: 50%; transform: translate(-50%, 4%); width: max-content; font-family: var(--font-display); font-weight: 800; font-size: var(--scene-word); line-height: 0.8; letter-spacing: -0.02em; text-transform: uppercase; color: var(--color-ink); }
.hero--scene .hero__band { padding-block-start: var(--space-lg); }
.bio--portrait .container { grid-template-rows: auto 1fr; align-items: start; }
.bio--portrait .bio__statement, .bio--portrait .bio__note { grid-column: 1 / 8; }
.bio--portrait .bio__portrait { grid-column: 9 / 13; grid-row: 1 / span 2; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
@media (max-width: 60rem) {
  /* Tablet and phone: the frame keeps its own height and the word straddles its foot instead of being cut by it */
  .scene-frame { overflow: visible; height: min(68svh, 760px); border-block-end: 0; }
  .hero--scene .hero__word { transform: translate(-50%, 42%); }
  .hero--scene .hero__band { margin-block-start: calc(var(--scene-word) * 0.4); border-block-start: 0; }
  .bio--portrait .bio__statement, .bio--portrait .bio__note, .bio--portrait .bio__portrait { grid-column: 1 / 13; grid-row: auto; }
  .bio--portrait .bio__portrait { aspect-ratio: 4 / 5; }
}
@media (max-width: 40rem) {
}

/* Inner pages: steps as their own page, the transparency document, the brief form */
.steps--page { padding-block-start: var(--section-gap-s); }
.step h2 { grid-column: 1 / 5; font-weight: 800; font-size: var(--text-section); line-height: 1.02; text-transform: uppercase; color: var(--color-ink-2); }
.doc { padding-block: var(--section-gap-s) var(--section-gap); }
.doc__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); padding-block: var(--section-gap-s); border-block-start: var(--rule-hair) solid var(--color-rule); }
.doc__row h2 { grid-column: 1 / 5; font-weight: 800; font-size: var(--text-section); line-height: 1.02; text-transform: uppercase; color: var(--color-ink); }
.doc__body { grid-column: 6 / 13; display: flex; flex-direction: column; gap: var(--space-lg); font-size: var(--text-2xl); line-height: 1.35; color: var(--color-ink-2); max-width: 46ch; }
.doc__body ul { list-style: none; margin: 0; padding: 0; }
.doc__body li { padding-block: var(--space-sm); border-block-start: var(--rule-hair) solid var(--color-rule); }
.doc__body a { color: var(--color-ink); text-underline-offset: 0.15em; }
.brief { padding-block: var(--section-gap-s) var(--section-gap); }
.brief .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); }
.brief__form { grid-column: 1 / 8; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.field { display: flex; flex-direction: column; gap: var(--space-xs); }
.field--wide, .brief__status, .brief__form .actions { grid-column: 1 / -1; }
.field label { font-size: var(--text-sm); color: var(--color-muted); }
.field input, .field select, .field textarea { font: inherit; font-size: var(--text-lead); color: var(--color-ink); background: transparent; border: 0; border-block-end: var(--rule-hair) solid var(--color-muted); border-radius: 0; padding-block: var(--space-sm); transition: border-color 120ms ease; }
.field select option { background: var(--color-paper-2); }
.field textarea { resize: vertical; }
.field textarea::placeholder { color: var(--color-muted); opacity: 0.7; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-block-end-color: var(--color-accent); box-shadow: 0 1px 0 0 var(--color-accent); }
.brief__status:empty { display: none; }
.brief__status, .brief__done { font-size: var(--text-lead); color: var(--color-ink); }
.brief__done { font-family: var(--font-display); font-weight: 800; font-size: var(--text-section); line-height: 1.02; text-transform: uppercase; }
.brief__form button[disabled] { background: var(--color-paper-3); color: var(--color-muted); cursor: not-allowed; }
.brief__note { grid-column: 1 / 8; align-self: start; font-size: var(--text-lead); color: var(--color-muted); max-width: 32ch; }
@media (max-width: 60rem) {
  .step h2 { grid-column: 1 / 13; }
  .doc__row h2, .doc__body { grid-column: 1 / 13; }
  .doc__row h2 { margin-block-end: var(--space-lg); }
  .brief__form, .brief__note { grid-column: 1 / 13; }
}
@media (max-width: 40rem) { .gallery__grid.gallery__grid--row { grid-template-columns: minmax(0, 1fr); } .doc__body { font-size: var(--text-xl); } .brief__form { grid-template-columns: minmax(0, 1fr); } .doc__row { padding-block: var(--space-xl); } }

/* Footer */
.footer { border-block-start: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-2xl) var(--space-xl); }
.footer .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: end; }
.footer .wordmark { grid-column: 1 / 7; font-size: var(--text-3xl); }
.footer nav { grid-column: 7 / 13; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-xl); }
.footer nav a { color: var(--color-ink-2); text-decoration: none; font-size: var(--text-sm); }
.footer nav a:hover { text-decoration: underline; }
.footer nav a:focus-visible, .nav__links a:focus-visible, .wordmark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.footer p { grid-column: 1 / 13; font-size: var(--text-sm); color: var(--color-muted); }


/* Motion: one hero entrance per page load, one scroll reveal per page. Hero elements carry .keep-motion so base.css's reduced-motion kill switch leaves their opacity fades (SM-DSN-002 outranks Hallmark's default); travel is removed below. */
@keyframes rise { from { opacity: 0; transform: translate(var(--rise-x, 0), var(--rise, 12px)); } }
@keyframes fade { from { opacity: 0; } }
/* The figure is opaque within ~40ms so the type never shows through her; the rise carries the entrance. */
@keyframes cast { 0% { opacity: 0; transform: translate(var(--rise-x, 0), var(--rise, 32px)); } 6% { opacity: 1; } 100% { opacity: 1; transform: translate(var(--rise-x, 0), 0); } }
.hero__word { animation: fade 180ms var(--ease-strong) both; }
.hero__figure { --rise-x: -50%; --rise: 32px; animation: cast 700ms var(--ease-strong) 140ms both; }
.hero__band h1 { --rise: 12px; animation: rise 520ms var(--ease-strong) 230ms both; }
.hero__aside { --rise: 8px; animation: rise 480ms var(--ease-strong) 290ms both; }
@supports (animation-timeline: view()) {
  .roster__grid > li, .gallery__grid > img { animation: rise auto var(--ease-strong) both; animation-timeline: view(); animation-range: entry 0% entry 60%; --rise: 16px; }
  .roster__grid > li:nth-child(2), .gallery__grid > img:nth-child(2) { animation-range: entry 4% entry 64%; }
  .roster__grid > li:nth-child(3), .gallery__grid > img:nth-child(3) { animation-range: entry 7% entry 67%; }
  .roster__grid > li:nth-child(4) { animation-range: entry 9% entry 69%; }
  .roster__grid > li:nth-child(5) { animation-range: entry 10% entry 70%; }
  .roster__grid > li:nth-child(6) { animation-range: entry 11% entry 71%; }
}
@media (hover: none), (pointer: coarse) { .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--color-rule); } .btn--primary:hover { background: var(--color-accent); } }
@media (prefers-reduced-motion: reduce) {
  .hero__figure, .hero__band h1, .hero__aside, .hero__band::before { --rise: 0px; animation-name: fade; animation-duration: 300ms; animation-delay: 0s; }
  .hero__figure { animation-name: cast; } /* opaque in ~18ms, so the word never shows through her */
  .roster__grid > li, .gallery__grid > img { animation: none; }
  .btn:active { transform: none; }
}

/* Tablet */
@media (max-width: 60rem) {
  .nav__links a:not(.btn) { display: none; }
  .roster__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Tablet takes the stacked hero: word bleeds right, figure in flow on the right, band below on its own line */
  :root { --word-size: 62vw; }
  .hero { height: auto; display: block; padding-block: calc(var(--nav-h) + var(--space-xl)) var(--space-xl); }
  .hero__word { left: var(--gutter); transform: none; top: calc(var(--nav-h) + 12svh); }
  .hero__figure { --rise-x: 0; position: relative; left: auto; bottom: auto; top: auto; transform: none; display: block; margin-inline: auto calc(var(--gutter) * -1); height: 56svh; max-height: 600px; }
  .hero__band { row-gap: var(--space-lg); }
  .hero__band::before { content: ""; grid-column: 1 / -1; border-block-start: var(--rule-hair) solid var(--color-rule); animation: fade 520ms var(--ease-strong) 230ms both; }
  .hero__band h1, .hero__aside { grid-column: 1 / 13; }
  .step h3, .step p { grid-column: 1 / 13; }
  .step p { padding-block-start: var(--space-xs); }
  .makes h2, .makes ul { grid-column: 1 / 13; }
  .makes h2 { margin-block-end: var(--space-lg); }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .wordmark, .footer nav, .footer p { grid-column: 1 / 13; }
  .footer nav { display: grid; grid-template-columns: repeat(2, max-content); justify-content: start; gap: var(--space-md) var(--space-2xl); }
}

/* Phone: the word bleeds off the right edge, the figure stands to the right on the band's rule */
@media (max-width: 40rem) {
  :root { --word-size: 58vw; --nav-h: 64px; }
  .wordmark { font-size: var(--text-md); }
  .hero { height: auto; display: block; padding-block: calc(var(--nav-h) + var(--space-xl)) var(--space-xl); }
  .hero__word { left: var(--gutter); transform: none; top: calc(var(--nav-h) + var(--space-xl)); }
  .hero__figure { --rise-x: 0; position: relative; left: auto; bottom: auto; top: auto; transform: none; display: block; margin-inline: auto calc(var(--gutter) * -1); height: 46svh; max-height: 400px; }
  .hero { border-block-end: 0; }
  .hero__band { row-gap: var(--space-lg); }
  .hero__band::before { content: ""; grid-column: 1 / -1; border-block-start: var(--rule-hair) solid var(--color-rule); animation: fade 520ms var(--ease-strong) 230ms both; }
  .hero__band h1, .hero__aside { grid-column: 1 / 13; }
  .hero__band h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
  /* Camila: a smaller word and figure so C-A-M reads beside her */
  .hero--talent { --word-size: 44vw; }
  .hero--talent .hero__figure { max-height: 340px; }
  .section-head h2, .section-head p { grid-column: 1 / 13; }
  .roster__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-lg); }
  .close h2 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .bio__statement, .bio__note { grid-column: 1 / 13; }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
  .makes ul { grid-template-columns: minmax(0, 1fr); }
  .makes li { font-size: var(--text-2xl); }
  .footer .wordmark, .footer nav, .footer p { grid-column: 1 / 13; justify-content: flex-start; }
  .footer .wordmark { font-size: var(--text-2xl); }
  .footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--space-lg); }
}

/* Smallest phones: wordmark and the nav action share one line */
@media (max-width: 22.5rem) {
  .wordmark { font-size: var(--text-sm); letter-spacing: 0.04em; }
  .nav .container { gap: var(--space-sm); }
  .nav .btn--sm { padding: 0 var(--space-sm); }
}

/* Skip link: off-screen until focused */
.skip { position: absolute; z-index: var(--z-toast); left: var(--space-md); top: var(--space-md); padding: var(--space-xs) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip:focus-visible { transform: none; outline: 2px solid var(--color-ink); outline-offset: 2px; }
