/* Hallmark · shape: Catalogue on cerceveler, a booking run on the other pages · genre: editorial · theme: Solstice (deal 3/3, seed mercek-optik-gozlukcu-cerceve-5935·c0e2259d·2026-11-12·r0) · job: book + visit · draw: 1fbf43
 * hero: Ledge (index), Counter (muayene), Poster (magaza), short page heads elsewhere · nav: banner over a retracting bar · footer: statement · imagery: photographs, generated stills (ChatGPT) in 20 slots · signature: a blurred frame on the bench coming into focus through one lens circle as you scroll; the catalogue re-laying its frames when a shape is picked · solstice: long-light
 * axes: light/high-contrast-serif/warm · posture: restrained · contrast: static only, render pending · fold: static only, render pending · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E3 S4 R3 V4 · weakest: R (restraint), the owner asked for a heavily animated site, so motion is spent on structure (the lens focus, the iris page change, the pinned stage, the re-laying catalogue) and every move has a still end state */
/* Hallmark · inferred: audience, people nearby choosing new glasses or due an eye test · use, book the exam, then visit the shop · tone, editorial almanac warmth, plain Turkish */
/* Hallmark · swap: the draw left out Grid, but cerceveler is a Catalogue whose one composition is the grid of frames; the home page carries no Grid and no Statement as drawn */
/* waive theme-motion (owner rule, not a sloplint gate): every move runs under prefers-reduced-motion: no-preference and the still page is the default; the owner asked for a heavily animated optician site, beating the quiet Solstice motion */
/* waive craft-5-one-reveal (owner rule, not a sloplint gate): rows, cards and the close text stagger in, each visible without script and at rest under reduced motion; the owner's request for an animated optician portfolio piece */
/* Hallmark · answered F8 · one or two scroll patterns per page (lens focus, pinned exam stage, sliding lens track), none on body text, by the owner's request, each pattern tied to an optical idea */
/* Hallmark · waive 44a · cerceveler, lensler and muayene open on a short page head or the booking form, not a centred hero · the frame catalogue, the lens track or the booking form follows at once */
/* Hallmark · waive 83 · cerceveler shows eight frame photographs in its catalogue grid · the frames are the optician's product, so the catalogue page is made of them */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --banner-h: 40px;
  --nav-h: 72px;
  --head-h: calc(var(--banner-h) + var(--nav-h));
  --photo-ring: color-mix(in oklab, var(--color-ink) 10%, transparent);
  --scrim: color-mix(in oklab, var(--color-ink) 55%, transparent);
  --gold-soft: color-mix(in oklab, var(--color-gold) 45%, transparent);
  --paper-on-ink: var(--color-paper);
  --muted-on-ink: var(--color-gold-2);
}

body { font-size: 1.0625rem; color: var(--color-ink-2); }
h1, h2, h3 { color: var(--color-ink); font-weight: 400; line-height: 1; }
strong { color: var(--color-ink); font-weight: 500; }
.small, figcaption, .caption { font: 600 var(--text-xs)/1.35 var(--font-outlier); color: var(--color-muted); }

/* ---------- skip ---------- */
.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: banner over a retracting bar ---------- */
.top { position: sticky; top: 0; z-index: var(--z-sticky-nav); transition: transform var(--dur-long) var(--ease-out); }
.top.is-tucked { transform: translateY(calc(-1 * var(--banner-h))); }
.banner { background: var(--color-ink); color: var(--paper-on-ink); }
.banner__in { display: flex; align-items: center; gap: var(--space-md); min-height: var(--banner-h); font: 600 var(--text-xs)/1.2 var(--font-outlier); }
.banner a { margin-left: auto; color: var(--paper-on-ink); text-decoration-color: var(--color-gold); white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.banner a:hover { color: var(--color-gold-2); }
.banner a:focus-visible { outline-color: var(--color-gold); }
.bar { background: var(--color-paper); border-bottom: var(--rule-bar) solid var(--color-ink); }
.bar__in { display: flex; align-items: center; gap: var(--space-xl); min-height: var(--nav-h); }
.wordmark { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1; color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.nav__links { display: flex; gap: var(--space-lg); margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav__links a { display: inline-block; padding-block: var(--space-xs); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; text-decoration: none; border-bottom: var(--rule-bar) solid transparent; white-space: nowrap; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.nav__links a:hover { color: var(--color-ink); border-bottom-color: var(--color-gold); }
.nav__links a[aria-current="page"] { color: var(--color-ink); border-bottom-color: var(--color-accent); }
.bar .nav__menu { display: none; }
@media (max-width: 60rem) {
  .nav__links { display: none; }
  .nav__links.is-open { display: grid; position: absolute; inset: 100% 0 auto 0; gap: 0; padding: var(--space-md) var(--gutter) var(--space-lg); background: var(--color-paper); border-bottom: var(--rule-bar) solid var(--color-ink); }
  .nav__links.is-open a { display: block; padding-block: var(--space-sm); font-size: var(--text-md); }
  .bar .nav__menu { display: inline-flex; margin-left: auto; }
  .bar__in { gap: var(--space-md); position: relative; }
  .bar { position: relative; }
}
@media (max-width: 40rem) { .banner__long { display: none; } .bar .btn--primary { display: none; } }
@media (prefers-reduced-motion: reduce) { .top { transition: none; } .top.is-tucked { transform: none; } }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-xl); border: 0; border-radius: var(--radius-pill); font: 600 var(--text-sm)/1 var(--font-outlier); 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--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink); }
.btn--secondary { background: none; color: var(--color-ink); border-radius: 0; padding: 0 0 var(--space-3xs); border-bottom: var(--rule-bar) solid var(--color-ink); }
.btn--secondary:hover { color: var(--color-accent); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.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-lg); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.link { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-ink); transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.link:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }
.band--ink .link { color: var(--paper-on-ink); text-decoration-color: var(--color-gold); }
.band--ink .link:hover { color: var(--color-gold-2); }
.band--ink :focus-visible { outline-color: var(--color-gold); }

/* ---------- photographs and slots ---------- */
.photo { margin: 0; border-radius: var(--radius-card); }
.photo > img { outline: var(--rule-hair) solid var(--photo-ring); outline-offset: -1px; }
.photo__wait { position: absolute; inset: auto var(--space-md) var(--space-md) var(--space-md); font: 600 var(--text-xs)/1.3 var(--font-outlier); color: var(--color-muted); }
.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; }
.band--ink .fill { color: var(--muted-on-ink); border-color: var(--gold-soft); }

/* ---------- section rhythm ---------- */
.section { padding-block: var(--section-gap-s); }
.section--l { padding-block: var(--section-gap); }
.section--paper2 { background: var(--color-paper-2); }
.band--ink { background: var(--color-ink); color: var(--paper-on-ink); }
.band--ink h2, .band--ink h3 { color: var(--paper-on-ink); }
.ruled { border-top: var(--rule-bar) solid var(--color-ink); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.head--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: var(--gap-columns); }
.head--split .lead { justify-self: end; }
@media (max-width: 60rem) { .head--split { grid-template-columns: minmax(0, 1fr); } .head--split .lead { justify-self: start; } }

/* ---------- hero: Ledge with the lens focus ---------- */
.ledge { height: calc(100svh - var(--head-h)); min-height: 600px; max-height: 1080px; padding-block: var(--space-lg) var(--space-xl); }
.ledge > .container { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--space-xl); height: 100%; }
.focus { position: relative; min-height: 280px; isolation: isolate; }
.focus .photo { position: absolute; inset: 0; z-index: 2; }
.focus__blur { position: absolute; inset: 0; z-index: 1; overflow: hidden; display: none; }
.focus__blur img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.28) saturate(0.94) brightness(0.96) blur(14px); transform: scale(1.06); }
.focus__ring { position: absolute; z-index: 3; left: var(--fx, 64%); top: var(--fy, 52%); width: 34%; aspect-ratio: 1; translate: -50% -50%; border: var(--rule-hair) solid var(--color-gold); border-radius: 50%; outline: var(--rule-hair) solid var(--gold-soft); outline-offset: 6px; pointer-events: none; display: none; }
.focus-on .focus__blur, .focus-on .focus__ring { display: block; }
.focus-on .focus .photo { clip-path: circle(17% at var(--fx, 64%) var(--fy, 52%)); }
.ledge__base { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: end; }
.ledge h1 { font-size: var(--text-display); line-height: 1; max-width: 14ch; }
.ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ln > span { display: block; }
.ledge__side { display: grid; gap: var(--space-lg); padding-bottom: var(--space-2xs); }
@media (max-width: 60rem) {
  .ledge { height: auto; min-height: 0; max-height: none; }
  .focus { aspect-ratio: 4 / 3; min-height: 0; }
  .ledge__base { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
}

/* ---------- the room, full bleed ---------- */
.room { margin: 0; }
.room .photo { aspect-ratio: 21 / 9; max-height: 82svh; width: 100%; }
.room__cap { margin-top: var(--space-sm); }
@media (max-width: 60rem) { .room .photo { aspect-ratio: 4 / 3; } }

/* ---------- switcher with the booking beside ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.tabs { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-xl); }
.tabs button { min-height: 44px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-pill); background: none; color: var(--color-ink); font: 600 var(--text-sm)/1 var(--font-outlier); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.tabs button:hover { background: var(--color-paper-3); }
.tabs button[aria-selected="true"] { background: var(--color-paper-3); box-shadow: inset 0 0 0 1px var(--color-ink); }
.tabs button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tabs button:active { transform: translateY(1px); }
html:not(.js) .tabs { display: none; }
html:not(.js) .panel[hidden] { display: block !important; margin-top: var(--space-2xl); }
.panel h3 { font-size: var(--text-2xl); margin-bottom: var(--space-lg); }
.rows { margin: 0; padding: 0; list-style: none; }
.rows > * { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--gap-columns); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); transition: background-color var(--dur-short) var(--ease-out); }
.rows > :last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows dt, .rows .rows__t { font-family: var(--font-display); font-size: var(--text-title); color: var(--color-ink); line-height: 1.1; }
.rows dd { margin: 0; }
@media (max-width: 40rem) { .rows > * { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); } }
.well { padding: var(--space-xl); background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-ink); outline: var(--rule-hair) solid var(--color-gold); outline-offset: -7px; box-shadow: var(--shadow-card); }
.well h3 { padding-bottom: var(--space-md); margin-bottom: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-gold); font-size: var(--text-2xl); }
.well p + .actions { margin-top: var(--space-lg); }
.visit .well { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); }
@media (max-width: 60rem) { .visit { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } .visit .well { position: static; } }

/* ---------- pinned stage (atelier, exam) ---------- */
.stage { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.stage__pics { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); aspect-ratio: 4 / 5; min-height: 440px; max-height: calc(100svh - var(--nav-h) - var(--space-3xl)); }
.stage__pics .photo { position: absolute; inset: 0; }
.stage__pics--wide { aspect-ratio: 3 / 2; min-height: 360px; }
.stage__steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.stage__steps li { counter-increment: step; min-height: 68svh; display: grid; align-content: center; gap: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.stage__steps li::before { content: counter(step); font-family: var(--font-display); font-size: var(--text-3xl); color: var(--color-accent); line-height: 1; }
.stage__steps li:first-child { min-height: 50svh; align-content: start; padding-top: var(--space-lg); }
.stage__steps h3 { font-size: var(--text-2xl); }
.stage__steps .caption { margin-top: var(--space-xs); }
.motion-wide .stage__pics .photo + .photo { clip-path: circle(0% at 50% 55%); }
html:not(.motion-wide) .stage__steps li, html:not(.motion-wide) .stage__steps li:first-child { min-height: 0; padding-block: var(--space-xl); align-content: start; }
html:not(.js) .stage__pics, .no-motion .stage__pics, .js:not(.motion-wide) .stage__pics { position: static; aspect-ratio: auto; min-height: 0; max-height: none; display: grid; gap: var(--space-lg); }
html:not(.js) .stage__pics .photo, .no-motion .stage__pics .photo, .js:not(.motion-wide) .stage__pics .photo { position: relative; inset: auto; aspect-ratio: 4 / 5; opacity: 1; }
html:not(.js) .stage__pics--wide .photo, .no-motion .stage__pics--wide .photo, .js:not(.motion-wide) .stage__pics--wide .photo { aspect-ratio: 3 / 2; }
@media (max-width: 60rem) {
  .stage { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .stage__pics { position: static; aspect-ratio: auto; min-height: 0; max-height: none; display: grid; gap: var(--space-lg); }
  .stage__pics .photo { position: relative; inset: auto; aspect-ratio: 4 / 5; }
  .stage__pics--wide .photo { aspect-ratio: 3 / 2; }
  .motion-wide .stage__pics .photo + .photo { clip-path: none; }
  .stage__steps li, .stage__steps li:first-child { min-height: 0; padding-block: var(--space-xl); }
}

/* ---------- materials as rows (home) ---------- */
.matrows { margin: 0; padding: 0; list-style: none; border-top: var(--rule-bar) solid var(--color-ink); }
.matrows li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.matrows .big { font-family: var(--font-display); font-size: var(--text-section); line-height: 1; color: var(--color-ink); }
.matrows p { max-width: 52ch; }
.after-rows { margin-top: var(--space-xl); }
@media (max-width: 40rem) { .matrows li { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); } }

/* ---------- hours and address band ---------- */
.where { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.where dl { margin: 0; display: grid; }
.where dl > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: var(--gap-columns); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--gold-soft); }
.where dl > div:last-child { border-bottom: var(--rule-hair) solid var(--gold-soft); }
.where dt { font: 600 var(--text-sm)/1.3 var(--font-outlier); color: var(--muted-on-ink); }
.where dd { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.2; color: var(--paper-on-ink); }
.where dd.plain { font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; }
.where .lead { margin-top: var(--space-md); color: var(--paper-on-ink); }
@media (max-width: 60rem) { .where { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }
@media (max-width: 40rem) { .where dl > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); } }

/* ---------- close: booking beside one photograph ---------- */
.close { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.close .photo { aspect-ratio: 4 / 5; min-height: 440px; }
.close__text { display: grid; gap: var(--space-lg); }
.close__text h2 { max-width: 14ch; }
@media (max-width: 60rem) { .close { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .close .photo { min-height: 0; } }

/* ---------- short page head (inner pages) ---------- */
.page-head { padding-block: var(--space-3xl) var(--space-2xl); }
.page-head__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.page-head h1 { font-size: var(--text-display); max-width: 15ch; }
.page-head .lead { padding-bottom: var(--space-2xs); }
@media (max-width: 60rem) { .page-head__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); } .page-head { padding-block: var(--space-2xl) var(--space-xl); } }

/* ---------- catalogue (cerceveler) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-xl); align-items: end; padding-block: var(--space-lg); border-block: var(--rule-bar) solid var(--color-ink); margin-bottom: var(--space-2xl); }
.seg { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin: 0; padding: 0; border: 0; min-width: 0; }
.seg legend { width: 100%; padding: 0; margin-bottom: var(--space-xs); font: 600 var(--text-xs)/1.3 var(--font-outlier); color: var(--color-muted); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-pill); font: 600 var(--text-sm)/1 var(--font-outlier); color: var(--color-ink); cursor: pointer; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.seg label:hover { background: var(--color-paper-3); }
.seg input:checked + label { background: var(--color-ink); color: var(--color-paper); }
.seg input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.seg input:disabled + label { opacity: 0.55; cursor: not-allowed; }
.seg label:active { transform: translateY(1px); }
.filters__count { margin-left: auto; font: 600 var(--text-sm)/1.3 var(--font-outlier); color: var(--color-muted); }
html:not(.js) .filters { display: none; }
.catalog { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.frame { display: grid; gap: var(--space-sm); align-content: start; }
.frame .photo { aspect-ratio: 1; }
.frame h3 { font-size: var(--text-xl); margin-top: var(--space-xs); }
.frame__meta { font: 600 var(--text-xs)/1.3 var(--font-outlier); color: var(--color-muted); }
.catalog__empty { padding: var(--space-2xl) 0; display: grid; gap: var(--space-md); justify-items: start; }
@media (max-width: 60rem) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); } }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split .photo { aspect-ratio: 4 / 5; min-height: 440px; }
.split .photo--wide { aspect-ratio: 3 / 2; min-height: 400px; }
.split__text { display: grid; gap: var(--space-lg); }
@media (max-width: 60rem) { .split, .split--rev { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .split .photo, .split .photo--wide { min-height: 0; } }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; vertical-align: top; padding: var(--space-md) var(--space-md) var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.table thead th { font: 500 var(--text-sm)/1.3 var(--font-body); color: var(--color-muted); border-bottom: var(--rule-bar) solid var(--color-ink); white-space: nowrap; }
.table tbody th { font-family: var(--font-display); font-weight: 400; font-size: var(--text-lg); color: var(--color-ink); width: 28%; }
@media (max-width: 40rem) {
  .table thead { display: none; }
  .table tr { display: grid; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .table th, .table td { border: 0; padding: var(--space-2xs) 0; width: auto; }
  .table td::before { content: attr(data-label) ": "; font: 600 var(--text-xs)/1.3 var(--font-outlier); color: var(--color-muted); }
}

.cta-band { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xl); justify-content: space-between; }
.cta-band h2 { max-width: 18ch; }

/* sticky action bar */
.buybar { position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky); background: var(--color-paper-2); border-top: var(--rule-bar) solid var(--color-ink); transform: translateY(110%); transition: transform var(--dur-long) var(--ease-out); }
.buybar.is-shown { transform: none; }
.buybar__in { display: flex; align-items: center; gap: var(--space-lg); min-height: 72px; }
.buybar__name { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); }
.buybar .btn { margin-left: auto; }
html:not(.js) .buybar { display: none; }
.has-buybar .foot { padding-bottom: calc(var(--space-2xl) + 72px); }
@media (max-width: 40rem) { .buybar__name { font-size: var(--text-lg); } }
@media (prefers-reduced-motion: reduce) { .buybar { transition: none; } }

/* ---------- booking form (muayene) ---------- */
.book { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; padding-block: var(--space-2xl) var(--section-gap-s); }
.book__intro { display: grid; gap: var(--space-lg); position: sticky; top: calc(var(--nav-h) + var(--space-xl)); }
.book__intro h1 { font-size: var(--text-display); max-width: 11ch; }
.book__form { display: grid; gap: var(--space-xl); }
.book__form .seg label { min-width: 88px; justify-content: center; }
.slots .seg label { font-variant-numeric: tabular-nums; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); }
.field { display: grid; gap: var(--space-xs); }
.field--wide { grid-column: 1 / -1; }
.field label { font: 600 var(--text-sm)/1.3 var(--font-outlier); color: var(--color-ink); }
.field input, .field textarea { min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-ink); border-radius: 0; background: var(--color-paper); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:hover, .field textarea:hover { background: var(--color-paper-2); }
.field input:focus-visible, .field textarea:focus-visible { outline-color: var(--color-focus); }
.field input[aria-invalid], .field textarea[aria-invalid] { border-color: var(--color-error); }
.field input:disabled { opacity: 0.55; cursor: not-allowed; }
.pick { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-md); padding-block: var(--space-md); border-block: var(--rule-hair) solid var(--color-gold); }
.pick output { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); }
.help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }
.book__submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
@media (max-width: 60rem) { .book { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } .book__intro { position: static; } }
@media (max-width: 40rem) { .fields { grid-template-columns: minmax(0, 1fr); } .book__form .seg label { min-width: 0; } }

/* ---------- lens track (lensler): pinned, slides sideways ---------- */
.track { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.track:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.track__row { display: flex; gap: var(--gap-columns); width: max-content; padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); padding-block: var(--space-lg); }
.lens { scroll-snap-align: start; width: min(520px, 78vw); min-height: 440px; display: grid; align-content: space-between; gap: var(--space-xl); padding: var(--space-xl); background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-ink); box-shadow: var(--shadow-card); }
.lens h3 { font-size: var(--text-section); }
.lens p { max-width: 45ch; }
.lens--photo { padding: 0; width: min(420px, 70vw); background: none; box-shadow: none; }
.lens--photo .photo { height: 100%; min-height: 440px; }
.js.motion-wide .track { overflow: visible; }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.steps li { counter-increment: s; display: grid; gap: var(--space-sm); align-content: start; padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-ink); }
.steps li::before { content: counter(s); font-family: var(--font-display); font-size: var(--text-section); line-height: 1; color: var(--color-ink); }
@media (max-width: 60rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); } }
@media (max-width: 40rem) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- poster hero (magaza) ---------- */
.poster { position: relative; height: calc(100svh - var(--head-h)); min-height: 560px; max-height: 1080px; display: grid; align-items: end; }
.poster .photo { position: absolute; inset: 0; z-index: 1; }
.poster__veil { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, var(--scrim), transparent 60%); pointer-events: none; }
.poster__in { position: relative; z-index: 3; padding-block: var(--space-3xl) var(--space-2xl); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.poster h1, .poster .lead, .poster dt, .poster dd { color: var(--paper-on-ink); }
.poster h1 { font-size: var(--text-display); max-width: 12ch; }
.poster .lead { margin-top: var(--space-md); }
.poster__facts { margin: 0; display: grid; gap: var(--space-md); padding: var(--space-lg); background: var(--color-ink); }
.poster__facts dt { font: 600 var(--text-xs)/1.3 var(--font-outlier); color: var(--muted-on-ink); }
.poster__facts dd { margin: var(--space-2xs) 0 0; font-size: var(--text-md); }
.poster__facts .fill { color: var(--muted-on-ink); border-color: var(--gold-soft); }
.poster .actions { margin-top: var(--space-xl); }
.poster .btn--secondary { color: var(--paper-on-ink); border-bottom-color: var(--paper-on-ink); }
.poster .btn--secondary:hover { color: var(--color-gold-2); }
@media (max-width: 60rem) {
  .poster { height: auto; min-height: 0; max-height: none; display: block; }
  .poster .photo { position: relative; aspect-ratio: 4 / 3; }
  .poster__veil { display: none; }
  .poster__in { grid-template-columns: minmax(0, 1fr); padding-block: var(--space-xl); background: var(--color-ink); }
}

/* gallery that slides sideways */
.hgal { overflow-x: auto; scroll-snap-type: x mandatory; }
.hgal:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.hgal__row { display: flex; gap: var(--gap-columns); width: max-content; padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
.hgal figure { scroll-snap-align: start; margin: 0; width: min(640px, 80vw); }
.hgal .photo { aspect-ratio: 4 / 3; }
.hgal figcaption { margin-top: var(--space-sm); }
.js.motion-wide .hgal { overflow: visible; }

/* marquee that can stop */
.marquee { position: relative; overflow: hidden; border-block: var(--rule-bar) solid var(--color-ink); background: var(--color-paper-2); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee__track span { padding: var(--space-lg) var(--space-xl); font-family: var(--font-display); font-size: var(--text-3xl); color: var(--color-ink); white-space: nowrap; }
.marquee__track span:nth-child(even) { color: var(--color-muted); }
.marquee [data-loop-toggle] { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; min-height: 44px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font: 600 var(--text-sm)/1 var(--font-outlier); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.marquee [data-loop-toggle]:hover { background: var(--color-paper-3); }
.marquee [data-loop-toggle]:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.marquee [data-loop-toggle]:active { transform: translateY(1px); }
@keyframes marquee { to { transform: translateX(-50%); } }
[data-loop]:not(.is-running), [data-loop]:not(.is-running) * { animation-play-state: paused !important; }
html:not(.js) [data-loop-toggle] { display: none; }
@media (prefers-reduced-motion: reduce) { [data-loop-toggle] { display: none; } .marquee__track { animation: none; } }

/* ---------- footer: statement ---------- */
.foot { padding-block: var(--section-gap-s) var(--space-2xl); background: var(--color-ink); color: var(--paper-on-ink); }
.foot__line { font-family: var(--font-display); font-size: var(--text-display-s); line-height: 1.05; color: var(--paper-on-ink); max-width: 22ch; text-wrap: balance; }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin: var(--space-2xl) 0 0; padding: var(--space-lg) 0 0; list-style: none; border-top: var(--rule-hair) solid var(--gold-soft); }
.foot__links a { color: var(--paper-on-ink); text-decoration-color: var(--color-gold); white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.foot__links a:hover { color: var(--color-gold-2); }
.foot__links a:focus-visible { outline-color: var(--color-gold); }
.foot__note { margin-top: var(--space-lg); font: 600 var(--text-xs)/1.4 var(--font-outlier); color: var(--muted-on-ink); }

/* ---------- page change: an iris that closes and opens ---------- */
.iris { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; background: var(--color-ink); clip-path: circle(0% at 50% 50%); pointer-events: none; }
.iris__mark { font-family: var(--font-display); font-size: var(--text-display-s); color: var(--paper-on-ink); opacity: 0; }
html:not(.js) .iris { display: none; }
@media (prefers-reduced-motion: reduce) { .iris { display: none; } }

/* ---------- one reveal, visible without script ---------- */
.js.motion [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js.motion [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }
