/* Hallmark · shape: Catalogue (sessions as strips) · genre: editorial · theme: Atelier (deal 1/3, seed toktam-stott-certified-mat-reformer-bfba·ed43dc28·2026-10-26·r0) · job: book · draw: d19b12
 * hero: Stage (swapped from Index: the photograph is the strongest material) · nav: edge-aligned (swapped from search-led: one person, nothing to search) · footer: mast · imagery: photographs, client's own 11 (Instagram), warm · signature: the four sessions as cotton blotter strips on a rail, the chosen one dropping beside her photograph
 * axes: light/roman-serif/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, a calm-pilates page could be anyone's; leaned on her own photographs, her own caption as the quote, STOTT and Farsi as the facts only she has */
/* Hallmark · waive 77 · the waitlist band, a change of paper under 360px · the on-demand library does not exist yet, so the band holds one line and the email field, nothing more to show */
/* Hallmark · dismissed 58 · the counted screen straddles the strip panel and the about head; each section alone sits under 80 words */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 0 0.33 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  --color-veil: oklch(94.5% 0.010 76 / 0.86);
  --font-fa: "Vazirmatn", Tahoma, system-ui, sans-serif;
  --nav-h: 72px;
  --press-shade: oklch(30% 0.03 55 / 0.14);
  --font-latin: "Sentient", Georgia, serif;
}

body { color: var(--color-ink-2); line-height: 1.6; }
h1, h2 { font-weight: var(--display-weight); color: var(--color-ink); }
h3 { font-weight: var(--serif-small); color: var(--color-ink); }
small, .label { font-size: var(--text-sm); color: var(--color-muted); }

/* the air: a fixed field behind the page, paper sections cover it */
.air { position: fixed; inset: 0; z-index: -1; background: var(--color-paper); }
.air canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.air.is-on canvas { opacity: 1; }
.air::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); background-size: 180px; opacity: 0.16; mix-blend-mode: multiply; }
html { background: var(--color-paper); }
body { background: transparent; }
.paper { background: var(--color-paper); }
.paper-2 { background: var(--color-paper-2); }

.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); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }

/* controls */
.btn { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 400 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-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--small { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.link { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 0.22em; transition: color var(--dur-short) var(--ease-out); }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--color-ink); color: var(--color-paper); }
  .link:hover { color: var(--color-accent); }
}

/* nav */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-veil); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-h); }
.wordmark { font: var(--display-weight) var(--text-2xl)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; }
.wordmark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.nav ul { display: flex; align-items: center; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.nav ul a:not(.btn) { font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: none; padding-block: var(--space-xs); }
.nav ul a:not(.btn):focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .nav ul a:not(.btn):hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.3em; } }
@media (max-width: 60rem) { .nav .hide-s { display: none; } }

/* hero: Stage */
.hero { min-height: calc(100svh - var(--nav-h)); display: grid; align-items: center; padding-block: var(--space-2xl); }
.hero .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: var(--space-lg); max-width: 34ch; color: var(--color-ink-2); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.hero .note { margin-top: var(--space-lg); }

/* card stock and the matted print */
.stock { position: relative; border-radius: 2px; background: var(--fibre) 0 0 / 220px, linear-gradient(160deg, var(--card-lit), var(--color-card) 55%, var(--card-shade)); box-shadow: var(--shadow-card), inset 1px 1px 0 var(--lit); text-shadow: 0 1px 0 var(--lit); }
.stock::before { content: ""; position: absolute; inset: 0.875rem; border: var(--rule-hair) solid var(--color-card-edge); pointer-events: none; }
.print { margin: 0; padding: var(--space-xl) var(--space-xl) var(--space-md); justify-self: start; width: min(100%, 560px); }
.print .photo { aspect-ratio: 4 / 5; max-height: min(64svh, 620px); width: 100%; box-shadow: inset 0 0 0 1px var(--color-card-edge); }
.print figcaption { position: relative; display: flex; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-md); color: var(--color-pencil); font-size: var(--text-sm); }
.print figcaption .blank { display: inline-block; width: 3.5em; border-bottom: var(--rule-hair) solid var(--color-pencil); margin-inline-end: var(--space-2xs); }
.photo { margin: 0; }
.photo > img { outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }

/* sections */
section { scroll-margin-top: var(--nav-h); }
.sec { padding-block: var(--section-gap); }
.sec--s { padding-block: var(--section-gap-s); }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.head h2 { grid-column: 1 / span 6; }
.head .lead { grid-column: 8 / span 5; color: var(--color-ink-2); }

/* sessions: blotter strips on a rail */
.sessions .body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: start; }
.rail-wrap { position: relative; padding-top: var(--space-md); }
.rail-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: var(--space-md); border-top: var(--rule-hair) solid var(--color-ink-2); }
.strips { display: flex; justify-content: space-between; gap: var(--space-sm); margin: 0; padding: 0 var(--space-sm); }
.strip { position: relative; display: flex; flex-direction: column; align-items: center; width: 64px; min-height: 340px; padding: var(--space-lg) 0 var(--space-3xl); border: 0; border-radius: 2px 2px 0 0; background: var(--fibre) 0 0 / 220px, linear-gradient(180deg, var(--card-lit), var(--color-card) 60%, var(--card-shade)); box-shadow: var(--shadow-card), inset 1px 1px 0 var(--lit); color: var(--color-ink); cursor: pointer; clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%); transform: translateY(0); transition: transform var(--dur-long) var(--ease-out); }
.strip::before { content: ""; position: absolute; top: calc(-1 * var(--space-md)); left: 50%; width: 8px; height: 8px; margin-left: calc(-1 * var(--space-2xs)); border-radius: 50%; border: var(--rule-hair) solid var(--color-ink-2); background: var(--color-paper); }
.strip::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: radial-gradient(120% 70% at 50% 100%, var(--stain), transparent 72%); opacity: 0.55; pointer-events: none; }
.strip[data-stain="1"] { --stain: var(--stain-1); } .strip[data-stain="2"] { --stain: var(--stain-2); } .strip[data-stain="3"] { --stain: var(--stain-3); } .strip[data-stain="4"] { --stain: var(--stain-4); }
.strip .no { font-size: var(--text-xs); color: var(--color-muted); writing-mode: vertical-rl; margin-bottom: var(--space-xs); }
.strip .name { font: var(--serif-small) var(--text-lg)/1 var(--font-display); writing-mode: vertical-rl; text-shadow: 0 1px 0 var(--lit); }
.strip[aria-selected="true"] { transform: translateY(var(--space-xl)); box-shadow: var(--shadow-card), inset 1px 1px 0 var(--lit), 0 0 0 1px var(--color-ink); }
.strip:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .strip[aria-selected="false"]:hover { transform: translateY(var(--space-xs)); } }
.strips-note { margin-top: var(--space-2xl); max-width: 30ch; }

.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: end; }
.panel + .panel { margin-top: var(--space-3xl); }
.js .panel + .panel { margin-top: 0; }
.panel .photo { aspect-ratio: 4 / 5; min-height: 440px; }
.panel h3 { font-size: var(--text-3xl); line-height: 1.05; font-weight: var(--display-weight); }
.panel .where { margin-top: var(--space-xs); }
.panel p:not(.where) { margin-top: var(--space-lg); }
.panel .link { display: inline-block; margin-top: var(--space-lg); }
.js .panel:not([hidden]) { animation: settle var(--dur-short) var(--ease-out); }
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* about: wall text and rows */
.about .body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.about blockquote { grid-column: 1 / span 5; margin: 0; }
.about blockquote p { font: var(--statement-weight) var(--text-2xl)/1.3 var(--font-display); letter-spacing: var(--tracking-statement); color: var(--color-ink); max-width: 28ch; }
.about blockquote p::first-letter { float: left; font: var(--serif-small) 3.3em/0.8 var(--font-display); padding: 0.1em 0.1em 0 0; color: var(--color-accent); }
.about blockquote footer { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.facts { grid-column: 7 / span 6; margin: 0; border-top: var(--rule-head) solid var(--color-ink); }
.facts > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--gap-columns); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { font: var(--serif-small) var(--text-lg)/1.3 var(--font-display); color: var(--color-ink); }
.facts dd { margin: 0; }

/* flows: a rail past the edge */
.flows .rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 24%); gap: var(--gap-columns); margin: 0; padding: 0 var(--gutter) var(--space-md); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; max-width: calc(var(--container) + (100vw - var(--container)) / 2); }
.flows .rail:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.flows .rail > li { scroll-snap-align: start; }
.photo-fig { margin: 0; }
.flows .photo { aspect-ratio: 3 / 4; }
.flows figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-sm); padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); margin-top: var(--space-sm); }
.flows figcaption span { color: var(--color-ink); }
.flows figcaption a { font-size: var(--text-sm); }
.flows-wrap { max-width: var(--container); margin-inline: auto; }

/* waitlist band */
.band { padding-block: var(--section-gap-s); border-block: var(--rule-hair) solid var(--color-rule); }
.band .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; }
.band .text { grid-column: 1 / span 6; }
.band .text p { margin-top: var(--space-md); }
.band form { grid-column: 8 / span 5; }

/* forms */
.field { display: grid; gap: var(--space-2xs); }
.field label, legend { font-size: var(--text-sm); color: var(--color-ink-2); }
.line { width: 100%; min-height: 48px; padding: var(--space-xs) 0; border: 0; border-bottom: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: transparent; color: var(--color-ink); outline: 2px solid transparent; outline-offset: 2px; }
textarea.line { min-height: 96px; resize: vertical; }
.line:focus-visible { outline-color: var(--color-focus); }
.line[aria-invalid] { border-bottom-color: var(--color-error); }
.help { min-height: 1lh; margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
.row { display: flex; gap: var(--space-md); align-items: end; }
.row .field { flex: 1; min-width: 0; }

/* booking: the letterpress card */
.book .body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: start; }
.book .card { grid-column: 1 / span 7; padding: var(--space-2xl) var(--space-2xl) var(--space-xl); }
.book .card > * { position: relative; }
.book .card h2 { font-size: var(--text-section); }
.book .card .sub { margin-top: var(--space-sm); color: var(--color-ink-2); }
.book form { display: grid; gap: var(--space-lg); margin-top: var(--space-xl); }
.book .pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-lg); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-xs); }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-card); box-shadow: inset 1px 1px 2px var(--press-shade), inset -1px -1px 0 var(--lit); color: var(--color-ink-2); cursor: pointer; transition: box-shadow var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.chips input:checked + label { color: var(--color-ink); box-shadow: inset 1px 1px 2px var(--press-shade), 0 0 0 1px var(--color-ink); }
.chips input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chips label:hover { color: var(--color-ink); } }
.book .send { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.book aside { grid-column: 9 / span 4; }
.book aside .photo { aspect-ratio: 4 / 5; }
.book aside dl { margin: var(--space-lg) 0 0; border-top: var(--rule-head) solid var(--color-ink); }
.book aside dl > div { padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.book aside dt { font-size: var(--text-sm); color: var(--color-muted); }
.book aside dd { margin: var(--space-2xs) 0 0; color: var(--color-ink); }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* footer: mast */
.mast { padding-block: var(--section-gap-s) var(--space-xl); }
.mast .big { display: block; font: var(--display-weight) clamp(5rem, 16vw, 15rem)/0.9 var(--font-display); letter-spacing: -0.03em; color: var(--color-ink); }
.mast nav ul { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); margin: var(--space-xl) 0 0; padding: var(--space-lg) 0 0; list-style: none; border-top: var(--rule-head) solid var(--color-ink); }
.mast nav a { color: var(--color-ink-2); }
.mast .legal { margin-top: var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); }

/* the sticky booking bar */
.bookbar { position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky); background: var(--color-veil); border-top: var(--rule-hair) solid var(--color-rule); transform: translateY(0); transition: transform var(--dur-short) var(--ease-out); }
.js .bookbar { transform: translateY(110%); }
.js .bookbar.is-on { transform: translateY(0); }
.bookbar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 68px; }
.bookbar p { font-size: var(--text-sm); color: var(--color-ink-2); }

/* reveal, once */
.js [data-reveal] { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .strip, .bookbar, .btn, .chips label { transition: none; }
  .js .panel:not([hidden]) { animation: none; }
  .air canvas { transition: none; }
}

/* under 60rem everything stacks in reading order */
@media (max-width: 60rem) {
  .hero { min-height: 0; }
  .hero .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .print { justify-self: stretch; padding: var(--space-lg) var(--space-lg) var(--space-sm); }
  .print .photo { max-height: none; }
  .head { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); margin-bottom: var(--space-xl); }
  .head h2, .head .lead { grid-column: 1 / -1; }
  .sessions .body { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .strip { min-height: 200px; padding-bottom: var(--space-2xl); }
  .strips-note { display: none; }
  .panel { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .panel .photo { min-height: 0; }
  .about blockquote, .facts, .band .text, .band form, .book .card, .book aside { grid-column: 1 / -1; }
  
  .flows .rail { grid-auto-columns: minmax(14rem, 70%); }
  .book .card { padding: var(--space-xl) var(--space-lg); }
  .book .pair { grid-template-columns: minmax(0, 1fr); }
  .nav ul { gap: var(--space-md); }
  .bookbar p { display: none; }
  .bookbar .container { justify-content: flex-end; }
}
@media (max-width: 40rem) {
  .row { flex-direction: column; align-items: stretch; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}

/* Farsi, right to left */
[dir="rtl"] body, [dir="rtl"] { --font-body: var(--font-fa); --font-display: var(--font-fa); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .wordmark, [dir="rtl"] .mast .big { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .about blockquote p { line-height: 1.7; letter-spacing: 0; }
[dir="rtl"] .about blockquote p::first-letter { float: none; font: inherit; padding: 0; color: inherit; }
[dir="rtl"] .strip .name, [dir="rtl"] .strip .no { writing-mode: vertical-rl; }
[dir="rtl"] .latin { font-family: var(--font-latin); }
