/* Hallmark · shape: narrative workflow, the page's own order kept with para-quien moved ahead of the origin band · genre: editorial · theme: brand · redesign: full · job: try, see and download the example sheet
 * paper: oklch(98.6% 0.004 268) · accent: oklch(63.1% 0.213 28.4) · display: Space Grotesk · body: Inter · outlier: a mincho for the Japanese word only · hero: stage · nav: edge-aligned, the wordmark and its kanji left, three anchors and the studio mark right · footer: mast, the wordmark with its meaning and the studio, a colophon line under a hairline · signature: Nui in three materials (trazo, puntada, tejido) behind a segmented control
 * axes: light/grotesk-heavy/warm · posture: restrained · imagery: the user's own (one generated concept photograph, the Nui drawing, the Nui mark), no library photos · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, the first build in the log and a kept order; varied the seams instead: steps on an ink rule, the sheet as a document, rows, the kanji set as the origin band's statement */
/* Hallmark · finish-review: subagent · fix · 7 findings · 7 resolved · gap: the hero sentence no longer names the delivery; it arrives in step 3 and the sheet */
/* Hallmark · waive 80 · the Nui figure is the brand's own mark, the same drawing as the nuime icon in the nav · Nui is NUIME's logo and mascot, not an illustration */
/* Hallmark · dropped .thread-divider, "Una línea puede ser mucho más.", "一針一針" · the divider was a decorative strip between hero and steps, cut with its two lines (66) */
/* Hallmark · dropped "El hilo cobra vida", "ぬいめ", "Hola, soy Nui." · captions painted over the hero photograph, decoration text (66) */
/* Hallmark · dropped "Tu diseño, pensado para bordar.", "Así será la primera versión" as eyebrow, "Lo que te llevarás, con un ejemplo", "Una palabra japonesa. Una forma de mirar.", "Distintos puntos de partida. Un mismo proyecto.", "Sin nudos", "Desde Nijūsan Studio, puntada a puntada." · eyebrows over headings (54); where the heading was figurative the plain label became the heading */
/* Hallmark · reworded "Tu idea, más cerca del bordado." to "Tres pasos hasta la ficha" · 54 and the swap test, the head names what the steps make; the first-version fact stays in the note under them */
/* Hallmark · reworded "Un dibujo. Una conversación clara." to "Una ficha para tu taller" · 19, the fragment pair was the rebuttal cadence; the head names the object */
/* Hallmark · dropped "Así queremos reunir lo importante antes de hablar con el taller." · the sheet itself now says it; the line restated the head (69) */
/* Hallmark · reworded "Lo que une las cosas." to "De dónde viene el nombre" · 19, a slogan head becomes what the section shows */
/* Hallmark · reworded "No hace falta saberlo todo para empezar." to "Tres formas de llegar al taller" · 54, the heading now names the three rows */
/* Hallmark · reworded "Las cosas claras." to "Lo que hará y lo que no" · 54, the questions are about scope */
/* Hallmark · reworded "Las buenas ideas dejan huella." to "Empieza por entender tu diseño." · 19, the close says the action, from the line that sat under it */
/* Hallmark · reworded "Empieza con lo que tienes.", "Conserva lo importante.", "Habla el mismo idioma." to "Cuenta tu idea", "Revisa el diseño", "Prepara la entrega" · 54, the 01 / 02 / 03 labels became the step heads */
/* Hallmark · reworded "Empieza por una imagen.", "Cuida lo que has creado.", "Menos dudas al recibir." to "Tengo una idea", "Diseño para mi marca", "Ya trabajo con bordados" · 54, the audience labels became the row heads */
/* Hallmark · reworded "Estamos creando una herramienta para preparar tu diseño para bordado a máquina. Entiende qué ajustar y reúne una entrega clara para tu taller." to "Prepara tu diseño para bordado a máquina antes de llevarlo al taller." · 58, the hero carries one sentence */
/* Hallmark · dismissed render · the file:// shots cannot load the preloaded fonts; the URL shots at 127.0.0.1 load both faces (200 in the server log) */
/* Hallmark · dropped i-arrow · the arrow icon glued to every button label (63); the labels stand alone */
/* Hallmark · dropped "Diseñado con intención.", "powered by" · a stock footer line; the studio credit reads "Un proyecto de" like the nav */

/* The hero: the text on five columns, the material study on seven. */
.hero { display: grid; align-items: center; min-height: calc(100dvh - var(--nav-h) - var(--space-xl)); padding-block: var(--space-xl); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-3xl); align-items: center; }
.hero h1 { margin-left: -0.04em; }
.hero .lead { margin-top: var(--space-lg); max-width: 28ch; color: var(--color-muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.status { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

.hero-art { min-width: 0; }
.material-study { position: relative; min-width: 0; margin: 0; padding: 0; border: 0; }
.mode-input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.art-canvas { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-card); background: var(--color-paper-2); }
.art-canvas > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--dur-long) var(--ease-out), visibility var(--dur-long); }
.art-textile { outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
.art-drawing { opacity: 0; visibility: hidden; }
.art-stitch { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; background: var(--color-paper-2); transition: opacity var(--dur-long) var(--ease-out), visibility var(--dur-long); }
.art-stitch > svg { width: 62%; overflow: visible; color: var(--color-accent); }
.stitch-line { stroke: var(--color-stitch); }
.mask-fill { color: var(--color-on-ink); }
.stitch-thread { fill: none; stroke: var(--color-thread); stroke-width: 2; stroke-dasharray: 4 3; }
.nui-eyes { fill: var(--color-ink); }
.nui-smile { stroke: var(--color-ink); }
#mode-drawing:checked ~ .art-canvas .art-textile, #mode-stitch:checked ~ .art-canvas .art-textile { opacity: 0; visibility: hidden; }
#mode-drawing:checked ~ .art-canvas .art-drawing, #mode-stitch:checked ~ .art-canvas .art-stitch { opacity: 1; visibility: visible; }
#mode-stitch:checked ~ .art-canvas .stitch-thread { animation: stitch-flow 3s var(--ease-in-out) 1; }

.material-controls { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-sm); }
.control-prompt { font-size: var(--text-sm); color: var(--color-muted); }
.mode-options { display: inline-flex; gap: var(--space-2xs); padding: var(--space-2xs); border: 1px solid var(--color-rule); border-radius: var(--radius-input); }
.mode-options label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--space-3xs); font-size: var(--text-sm); white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.mode-options label:hover { background: var(--color-paper-2); }
.mode-options label:active { background: var(--color-paper-3); }
#mode-drawing:checked ~ .material-controls label[for=mode-drawing], #mode-stitch:checked ~ .material-controls label[for=mode-stitch], #mode-textile:checked ~ .material-controls label[for=mode-textile] { background: var(--color-ink); color: var(--color-paper); }
#mode-drawing:focus-visible ~ .material-controls label[for=mode-drawing], #mode-stitch:focus-visible ~ .material-controls label[for=mode-stitch], #mode-textile:focus-visible ~ .material-controls label[for=mode-textile] { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.hero-art figcaption { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }

/* Steps: a real list, the numeral set at display scale on an ink rule. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: var(--space-lg); border-top: 2px solid var(--color-ink); }
.steps li::before { content: counter(step); display: block; margin-bottom: var(--space-lg); font-family: var(--font-display); font-size: var(--text-display); font-weight: 700; line-height: 1; letter-spacing: var(--tracking-display); color: var(--color-ink); }
.steps h3 { margin-bottom: var(--space-sm); }
.steps p { max-width: 40ch; color: var(--color-muted); }
.note { margin-top: var(--space-xl); max-width: 65ch; font-size: var(--text-sm); color: var(--color-muted); }

/* The sheet: one document under a hairline, the drawing on the fabric blue as its figure. */
.sheet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; overflow: hidden; border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); }
.sheet-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-xl); min-width: 0; min-height: 480px; padding: var(--space-xl); background: var(--color-paper-2); }
.sheet-nui { width: min(300px, 80%); color: var(--color-accent); }
.sheet-measure { display: flex; align-items: center; gap: var(--space-sm); width: min(300px, 80%); font-size: var(--text-sm); color: var(--color-muted); }
.measure-rule { flex: 1; min-width: var(--space-xs); height: var(--space-xs); border-bottom: 1px solid var(--color-muted); }
.measure-rule:first-child { border-left: 1px solid var(--color-muted); }
.measure-rule:last-child { border-right: 1px solid var(--color-muted); }
.measure-label { white-space: nowrap; }
.sheet-copy { min-width: 0; padding: var(--space-xl) var(--space-2xl); }
.sheet-status { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.sheet-copy h3 { font-size: var(--text-2xl); letter-spacing: var(--tracking-display); line-height: 1.1; }
.project-facts { margin-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.project-facts > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.project-facts dt { font-weight: 700; }
.swatches { display: inline-flex; gap: var(--space-2xs); margin-right: var(--space-xs); vertical-align: -2px; }
.swatch { width: 14px; height: 14px; border-radius: var(--space-3xs); }
.swatch-red { background: var(--color-accent); }
.swatch-ink { background: var(--color-ink); }
.review-points { margin-top: var(--space-xl); }
.review-points h4 { font-size: var(--text-md); letter-spacing: -0.01em; }
.review-points ul { margin: var(--space-sm) 0 0; padding-left: 1.1em; color: var(--color-muted); }
.review-points li + li { margin-top: var(--space-2xs); }
.sheet-downloads { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.sheet-note { margin-top: var(--space-sm); max-width: 60ch; font-size: var(--text-sm); color: var(--color-muted); }

/* Audience: three rows under hairlines. */
.audience-list { border-top: 1px solid var(--color-rule); }
.audience-list article { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: 1px solid var(--color-rule); }
.audience-list h3 { grid-column: 1 / span 5; font-size: var(--text-xl); }
.audience-list p { grid-column: 6 / span 6; color: var(--color-muted); }

/* Origin: the ink band, the word itself set as the statement. */
.origin { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-ink); color: var(--color-on-ink); }
.origin-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; }
.origin-art { grid-column: 1 / span 6; min-width: 0; }
.origin-mark { font-family: var(--font-outlier); font-size: var(--text-mark); font-weight: 400; line-height: 1; white-space: nowrap; }
.origin-reading { display: flex; align-items: center; gap: var(--space-md); margin-top: var(--space-lg); color: var(--color-on-ink-muted); }
.origin-nui { width: 96px; flex-shrink: 0; color: var(--color-accent); }
.origin-copy { grid-column: 8 / span 5; min-width: 0; }
.origin-copy h2 { margin-bottom: var(--space-lg); color: var(--color-on-ink); }
.origin-copy p { color: var(--color-on-ink-muted); }
.origin-copy p + p { margin-top: var(--space-md); }
.origin-copy strong, .origin-copy [lang=ja] { color: var(--color-on-ink); }
.origin-copy [lang=ja] { font-family: var(--font-outlier); }
.origin-studio { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--space-lg); font-weight: 700; color: var(--color-on-ink); text-decoration: underline; text-decoration-color: var(--color-on-ink-rule); text-decoration-thickness: 2px; text-underline-offset: 0.3em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.origin-studio:hover { text-decoration-color: var(--color-accent); }
.origin-studio:active { color: var(--color-on-ink-muted); }
.origin-studio:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.js-ready .origin-art { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js-ready .origin-art.is-visible { opacity: 1; transform: none; }

/* Questions: the head beside the rows. */
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.faq h2 { grid-column: 1 / span 4; align-self: start; }
.faq-items { grid-column: 6 / span 7; border-top: 1px solid var(--color-rule); }
.faq details { border-bottom: 1px solid var(--color-rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 64px; padding-block: var(--space-md); font-weight: 700; list-style: none; cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: var(--text-xl); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--color-accent-deep); }
.faq summary:active { color: var(--color-ink-2); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq details p { max-width: 60ch; padding-bottom: var(--space-lg); color: var(--color-muted); }

/* The close: the hero's action again, on the fabric blue. */
.closing { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); }

.footer .container { padding-block: var(--space-2xl) var(--space-lg); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); padding-bottom: var(--space-xl); border-bottom: 1px solid var(--color-rule); }
.footer-meaning { font-size: var(--text-sm); color: var(--color-muted); }
.footer-meaning [lang=ja] { font-family: var(--font-outlier); font-size: var(--text-md); color: var(--color-ink); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

@keyframes stitch-flow { to { stroke-dashoffset: -70; } }
[data-motion=paused] *, [data-motion=paused] *::before, [data-motion=paused] *::after { animation-play-state: paused !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .js-ready .origin-art { opacity: 1; transform: none; transition: none; } #mode-stitch:checked ~ .art-canvas .stitch-thread { animation: none; } }

@media (max-width: 60rem) {
  .hero { min-height: 0; padding-block: var(--space-xl) var(--space-2xl); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .steps li::before { margin-bottom: var(--space-md); font-size: var(--text-3xl); }
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .sheet-art { min-height: 360px; }
  .sheet-copy { padding: var(--space-lg); }
  .audience-list article { display: block; }
  .audience-list p { margin-top: var(--space-sm); }
  .origin-grid, .faq-grid { display: block; }
  .origin-copy { margin-top: var(--space-2xl); }
  .faq h2 { margin-bottom: var(--space-xl); }
  .closing-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 40rem) {
  .material-controls { display: block; }
  .control-prompt { display: none; }
  .mode-options { display: flex; width: 100%; }
  .mode-options label { flex: 1; justify-content: center; padding: 0 var(--space-xs); }
  .project-facts > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .sheet-downloads { flex-direction: column; align-items: stretch; }
}
