/* Hallmark · shape: Conversational FAQ · genre: editorial · theme: Manifesto (deal: manual) · redesign: full · draw: 83f877
 * hero: Poster · nav: edge-aligned · footer: letter close · imagery: photographs, the user's own 16, duotone in the poster and the close, true colour on the wall · signature: a flyer wall of his own tattoos printed in off-white ink, HYENA in red over it
 * axes: dark/display-condensed/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V3 · weakest: V, same theme as the last build (Salazar); the shape, hero, nav, footer and sections all differ, and the poster is his own work, not a stock frame */
/* Hallmark · deal: manual · both deals (editorial: Almanac, Brutal, Sport; atmospheric: Lumen, Refract, Terminal) were software and sport stock that cannot carry a tattoo flyer; Manifesto's punk poster voice can, and its duotone hides the softness of phone-sized photos */
/* Hallmark · waive 38iii · one red word, HYENA, inside the hero head and nowhere else · Manifesto names the red word as its signature */
/* Hallmark · waive 55b · each hero line is its own nowrap span sized in cqi · the lockup cannot wrap at 320px */
/* Hallmark · swap · draw asked for a menu Switcher; a tattoo artist's menu is his styles, so the wall switches by black and grey, colour, traditional and flash; the free-times buttons wait for his real calendar */
/* Hallmark · theme exception · the work wall prints in true colour, not the duotone · a colour tattoo shown in grey misstates the work a client is buying */
/* Hallmark · reworded every section head into a question ("The work" to "What does Chad tattoo?", "Meet the apprentice" to "Who answers when I message?", "Aftercare" to "How do I look after it?") · the Conversational FAQ shape sets heads as questions */
/* Hallmark · waive 80 · the apprentice is a drawn hyena head, 88px, the page's mascot and chat launcher · the owner asked for a floating head that is always there, looking at you */
/* Hallmark · waive 39b · the floating hyena head is a 112px button · it is the apprentice's face, sized to be seen from across the page as the owner asked */
/* Hallmark · swap · the sticky booking bar became the floating hyena head; it carries the same action, Start your piece, and opens the chat */
/* Hallmark · dropped the apprentice section's box and copy · the owner wants only the head and the chat it opens */
/* Hallmark · dropped the four booking steps, #booking · the draw left Steps out, and the apprentice section already walks the same path */
/* Hallmark · dropped the ticker, #ticker, #chips, #grid · an endless loop with no pause (18), replaced by the style switcher's tabs and panels */
@import url("./fonts.css");
@import url("./tokens.css");
@import url("./base.css");

body { color: var(--color-ink-2); }
h1, h2, h3 { font-weight: var(--display-weight); text-transform: uppercase; line-height: 1.02; color: var(--color-ink); }
h2 { font-size: var(--text-display-s); max-width: 18ch; }
h3 { font-size: var(--text-xl); }
.bar { border-bottom: var(--rule-bar) solid var(--color-ink); }
small, .meta, figcaption, legend { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
a:hover { text-decoration-color: var(--color-accent-text); }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }

/* Controls, square and ruler-drawn */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid transparent; border-radius: 0; background: none; color: var(--color-ink); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-deep); }
.btn--secondary { border-color: var(--color-ink-2); }
.btn--secondary:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* Nav: edge-aligned, the wordmark and the job's action at opposite edges */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); }
.nav .container { display: flex; align-items: center; gap: var(--space-xl); min-height: 72px; }
.wordmark { margin-right: auto; font: 400 var(--text-xl)/1 var(--font-display); text-transform: uppercase; letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--color-accent-text); }
.nav__links { display: flex; gap: var(--space-lg); }
.nav__links a { font-weight: 500; text-decoration: none; }
.nav__links a:hover { color: var(--color-ink); text-decoration: underline; }
.nav__links a:focus-visible, .wordmark:focus-visible, a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav .btn { min-height: 44px; }
@media (max-width: 52rem) { .nav__links { display: none; } }
@media (max-width: 24rem) { .wordmark { font-size: var(--text-lg); } .nav .btn { padding: 0 var(--space-md); } }

/* Hero: Poster. A flyer wall of his own pieces, printed in off-white ink, the head on a ground plate low and left */
.poster { position: relative; min-height: calc(100dvh - 76px); display: grid; align-items: end; overflow: clip; }
.wall-bg { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 50%; gap: var(--rule-bar); background: var(--color-paper); }
.wall-bg > [data-slot] { min-height: 0; margin: 0; }
.plate { position: relative; z-index: 2; background: var(--color-paper); padding: var(--space-xl) var(--space-2xl) var(--space-xl) max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); width: max(min(58%, 820px), calc((100% - var(--container)) / 2 + 820px)); display: grid; gap: var(--space-lg); border-top: var(--rule-bar) solid var(--color-ink); }
.display { line-height: var(--lh-tight); container-type: inline-size; max-width: none; margin: 0; }
.display > span { display: block; white-space: nowrap; font-size: clamp(4rem, 34cqi, 12rem); }
.display > span + span { font-size: clamp(1.75rem, 15.4cqi, 5.4rem); margin-top: var(--space-2xs); }
.display .hot { color: var(--color-accent-text); }
.plate .lead { color: var(--color-ink-2); max-width: 40ch; }
.ctas { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.reveal { animation: wipe var(--dur-long) var(--ease-out) both; }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@media (max-width: 60rem) {
  .poster { min-height: auto; align-items: stretch; grid-template-rows: auto auto; }
  .wall-bg { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .wall-bg > [data-slot] { aspect-ratio: 4 / 5; }
  .wall-bg > [data-slot]:nth-child(n + 5) { display: none; }
  .plate { width: 100%; padding: var(--space-xl) var(--gutter); }
}

/* Sections: each one a question */
.section { padding-block: var(--section-gap); }
.q { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); padding-bottom: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.q p { color: var(--color-ink-2); }
@media (max-width: 60rem) { .q { grid-template-columns: minmax(0, 1fr); } }

/* The wall: his styles behind a segmented switch */
.seg { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-xl); }
.seg button { min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); background: none; color: var(--color-ink-2); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.seg button:hover { border-color: var(--color-ink-2); color: var(--color-ink); }
.seg button[aria-selected="true"] { border-color: var(--color-ink); color: var(--color-ink); box-shadow: inset 0 calc(-1 * var(--rule-bar)) 0 var(--color-ink); }
.seg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.panel[hidden] { display: none; }
.panel figure { margin: 0; display: grid; gap: var(--space-sm); }
.shot { aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-paper-2); outline: var(--rule-hair) solid var(--color-rule); outline-offset: -1px; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.panel figcaption { display: flex; justify-content: space-between; gap: var(--space-sm); }
.panel figcaption b { color: var(--color-ink); font-weight: 500; }
@media (max-width: 60rem) { .panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); } }

.chat__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.chat__top.is-head { box-shadow: inset 0 var(--rule-bar) 0 var(--color-accent); }
.chat__top b { display: block; color: var(--color-ink); font-weight: 600; }
.log { flex: 1; overflow-y: auto; padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-xs); }
.msg { max-width: 84%; padding: var(--space-sm) var(--space-md); line-height: 1.45; white-space: pre-line; }
.msg--bot { align-self: flex-start; background: var(--color-paper-3); color: var(--color-ink); }
.msg--me { align-self: flex-end; background: var(--color-ink); color: var(--color-paper); }
.msg--sys { align-self: center; padding: var(--space-2xs); font-size: var(--text-xs); font-weight: 500; color: var(--color-accent-text); }
.msg--img { align-self: flex-end; max-width: 55%; }
.quick { display: flex; flex-wrap: wrap; gap: var(--space-xs); padding: 0 var(--space-md) var(--space-sm); }
.quick button { min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink-2); background: none; color: var(--color-ink); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.quick button:hover { background: var(--color-ink); color: var(--color-paper); }
.quick button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.composer { display: flex; gap: var(--space-xs); padding: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.composer input[type="text"] { flex: 1; min-width: 0; min-height: 48px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper-2); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; }
.composer input[type="text"]:focus-visible { outline-color: var(--color-focus); }
.upload { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: var(--rule-hair) solid var(--color-muted); color: var(--color-ink); cursor: pointer; }
.upload:hover { border-color: var(--color-ink); }
.upload:focus-within { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.draft { align-self: flex-start; width: min(260px, 84%); aspect-ratio: 1; display: grid; place-items: center; padding: var(--space-md); text-align: center; border: var(--rule-hair) dashed var(--color-accent-text); color: var(--color-muted); font-size: var(--text-sm); }
.draft b { display: block; margin-bottom: var(--space-2xs); font: 400 var(--text-2xl)/1 var(--font-display); text-transform: uppercase; color: var(--color-ink); }

/* The record: the questions people ask, as numbered clauses */
.record { margin: 0; padding: 0; list-style: none; counter-reset: c; }
.record details { border-top: var(--rule-hair) solid var(--color-rule); }
.record li:last-child details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.record summary { display: grid; grid-template-columns: minmax(0, var(--space-3xl)) minmax(0, 1fr) auto; gap: var(--space-lg); align-items: baseline; padding-block: var(--space-lg); cursor: pointer; list-style: none; counter-increment: c; }
.record summary::-webkit-details-marker { display: none; }
.record summary::before { content: counter(c, decimal-leading-zero); font: 400 var(--text-display-s)/1 var(--font-display); color: var(--color-muted); }
.record summary::after { content: "+"; font: 400 var(--text-2xl)/1 var(--font-display); color: var(--color-ink-2); }
.record details[open] summary::after { content: "\2212"; }
.record summary:hover h3 { color: var(--color-accent-text); }
.record summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.record h3 { font-size: var(--text-2xl); transition: color var(--dur-short) var(--ease-out); }
.record .answer { padding: 0 0 var(--space-xl) calc(var(--space-3xl) + var(--space-lg)); max-width: 62ch; }
@media (max-width: 40rem) { .record summary { grid-template-columns: minmax(0, 3rem) minmax(0, 1fr) auto; gap: var(--space-sm); } .record summary::before { font-size: var(--text-2xl); } .record .answer { padding-left: 0; } }

/* The poster line: his name across the columns */
.poster-line { margin: 0; max-width: none; font: 400 clamp(3.5rem, 11.5vw, 13rem)/0.9 var(--font-display); text-transform: uppercase; letter-spacing: var(--tracking-display); color: var(--color-ink); container-type: inline-size; }
.poster-line span { display: block; white-space: nowrap; font-size: clamp(3rem, 15cqi, 12rem); }
.about__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-ink); }
.about__body p { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; align-content: start; }
.tags li { padding: var(--space-xs) var(--space-md); border: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); }
@media (max-width: 60rem) { .about__body { grid-template-columns: minmax(0, 1fr); } }

/* Aftercare: three columns under hairlines */
.care { background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); }
.care__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.care__cols > div { display: grid; gap: var(--space-md); align-content: start; padding-top: var(--space-md); border-top: var(--rule-bar) solid var(--color-ink); }
.care__cols ul { margin: 0; padding-left: 1.1em; display: grid; gap: var(--space-xs); }
@media (max-width: 60rem) { .care__cols { grid-template-columns: minmax(0, 1fr); } }

/* The close: the booking beside one last print */
.close__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.close__grid > div { display: grid; gap: var(--space-lg); }
.close__grid > * { min-width: 0; }
.close__photo { aspect-ratio: 4 / 5; width: min(388px, 100%); margin: 0; justify-self: end; }
@media (max-width: 60rem) { .close__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .close__photo { justify-self: start; } }

/* Footer: a letter close */
.footer { padding-block: var(--space-2xl); border-top: var(--rule-bar) solid var(--color-ink); }
.footer .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-lg); align-items: end; }
.signoff { margin: 0; font: 400 var(--text-2xl)/1.05 var(--font-display); text-transform: uppercase; color: var(--color-ink); }
.signoff small { display: block; margin-top: var(--space-xs); font: 500 var(--text-sm)/1.4 var(--font-body); text-transform: none; }
.footer nav { display: flex; flex-wrap: wrap; gap: var(--space-lg); font-size: var(--text-sm); }
@media (max-width: 40rem) { .footer .container { grid-template-columns: minmax(0, 1fr); } }

/* The apprentice: a hyena head that floats in the corner, follows you with its eyes, and opens the chat */
.appr { position: fixed; right: var(--space-lg); bottom: var(--space-lg); z-index: var(--z-sticky); display: grid; justify-items: end; gap: var(--space-sm); pointer-events: none; }
.appr > * { pointer-events: auto; }
.appr__head { display: flex; align-items: center; gap: var(--space-sm); padding: 0; border: 0; background: none; color: var(--color-ink); cursor: pointer; }
.appr__face { width: 112px; height: 112px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--color-paper); border: var(--rule-bar) solid var(--color-ink); box-shadow: 0 0 0 var(--rule-hair) var(--color-rule); transition: transform var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.appr__head:hover .appr__face { transform: translateY(-2px); border-color: var(--color-accent); }
.appr__head:active .appr__face { transform: translateY(1px); }
.appr__head:focus-visible { outline: none; }
.appr__head:focus-visible .appr__face { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.appr__tag { order: -1; padding: var(--space-xs) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-sm)/1.2 var(--font-body); white-space: nowrap; transition: opacity var(--dur-short) var(--ease-out); }
.appr__head[aria-expanded="true"] .appr__tag { opacity: 0; }
.hy { width: 100px; height: 100px; overflow: visible; }
.hy__tilt { transform-origin: 60px 64px; transition: transform var(--dur-short) var(--ease-out); }
.hy__ear, .hy__face { fill: var(--color-ink); }
.hy__ear-in, .hy__spot, .hy__mane { fill: var(--color-muted); }
.hy__muzzle { fill: var(--color-ink-2); }
.hy__socket, .hy__nose { fill: var(--color-paper); }
.hy__pupil { fill: var(--color-accent-text); }
.hy__eyes { transition: transform var(--dur-micro) var(--ease-out); }
.hy__grin { fill: none; stroke: var(--color-paper); stroke-width: 3; stroke-linecap: round; }
.appr__panel { width: min(400px, calc(100dvw - 2 * var(--space-md))); height: min(580px, calc(100dvh - 160px)); display: flex; flex-direction: column; background: var(--color-paper); color: var(--color-ink-2); border: var(--rule-hair) solid var(--color-rule); border-top: var(--rule-bar) solid var(--color-ink); transform-origin: bottom right; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
.js .appr__panel:not(.is-open) { opacity: 0; transform: translateY(12px) scale(0.98); visibility: hidden; }
.js .appr__panel.is-open { transition-delay: 0s; }
html:not(.js) .appr__head { display: none; }
.appr__close { min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); background: none; color: var(--color-ink-2); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.appr__close:hover { background: var(--color-ink); color: var(--color-paper); }
.appr__close:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 40rem) {
  .appr { right: var(--space-sm); bottom: var(--space-sm); left: var(--space-sm); grid-template-columns: minmax(0, 1fr); }
  .appr__panel { width: 100%; height: calc(100dvh - 190px); }
  .appr__face { width: 84px; height: 84px; }
  .hy { width: 74px; height: 74px; }
}
@media (prefers-reduced-motion: reduce) { .appr__panel, .hy__tilt, .hy__eyes, .appr__face { transition: none; } }
.styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); }
.style { display: grid; gap: var(--space-2xs); padding: 0; border: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); color: var(--color-ink); font: 500 var(--text-xs)/1.2 var(--font-body); text-align: left; cursor: pointer; transition: border-color var(--dur-short) var(--ease-out); }
.style img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.style span { padding: 0 var(--space-xs) var(--space-xs); }
.style:hover { border-color: var(--color-ink-2); }
.style:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
