/* Public site: black canvas, flat neon colour, a scroll-driven helix behind everything (js/helix.js),
   solid panels in front so text stays readable. The only glow is on the neon sign (hero title) and
   section headings; everything else is flat colour and hard edges, like a flash sheet.
   Change the tokens first, then the components.
   Fonts are self-hosted (SIL Open Font License, see /static/fonts/README.md). */

@font-face { font-family: "Anton"; src: url("/static/fonts/anton.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "UnifrakturMaguntia"; src: url("/static/fonts/unifraktur.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/static/fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #050507;
  --surface: rgb(13 12 18 / .94);
  --surface-2: #1c1a26;
  --solid: #12101a;
  --text: #f4f1ff;
  --muted: #b4adc8;
  --line: rgb(255 255 255 / .13);
  --pink: #ff2bd6;
  --cyan: #00f0ff;
  --acid: #e8ff3a;
  --violet: #8a3dff;
  --orange: #ff6a00;
  --green: #2bff88;
  --accent: var(--pink);
  --accent-ink: #0a0010;
  --danger: #ff7a8a;
  --ok: #5dffa6;
  --radius: 6px;
  --wrap: 1180px;
  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --script: "UnifrakturMaguntia", "Old English Text MT", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--acid); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; text-transform: uppercase; color: var(--muted); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: var(--pink); color: #000; }

/* ---------- background layers ---------- */
.helix { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; transition: opacity .6s; }
.calm .helix { opacity: .45; }

/* ---------- shared bits ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap.narrow, .glass-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.wrap.narrow { max-width: 760px; width: calc(100% - 32px); padding: clamp(22px, 4vw, 44px); }
.glass-panel { padding: clamp(18px, 3vw, 30px); }
.glass { display: inline-block; background: var(--surface); border-left: 3px solid var(--acid); padding: 12px 18px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--solid); padding: 8px 12px; z-index: 100; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; color: var(--acid); margin: 0 0 12px; }
.eyebrow.script { font-family: var(--script); text-transform: none; letter-spacing: .02em; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--acid); margin: 0 0 6px; }
/* section headings: a smaller cyan tube, steady (only the hero sign flickers) */
.neon-h { color: #e6fdff; text-shadow: 0 0 2px #fff, 0 0 8px var(--cyan), 0 0 18px var(--cyan), 0 0 36px rgb(0 240 255 / .6); }

.demo-banner { margin: 0; padding: 8px 16px; background: var(--acid); color: #0a0010; text-align: center; font-size: .9rem; font-weight: 700; }
.demo-banner a { color: inherit; }

/* flat colour with a hard offset shadow, like a sticker on a flash sheet */
.btn {
  display: inline-block; background: var(--pink); color: var(--accent-ink); border: 2px solid var(--pink); border-radius: var(--radius);
  padding: 12px 22px; font: inherit; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { color: var(--accent-ink); background: var(--acid); border-color: var(--acid); }
.btn:active { transform: translate(2px, 2px); box-shadow: none; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-glow { box-shadow: 4px 4px 0 var(--cyan); }
.btn-glow:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--cyan); }
.btn-ghost { background: #000; color: var(--text); border-color: rgb(255 255 255 / .5); }
.btn-ghost:hover { color: #000; background: var(--text); border-color: var(--text); }
.btn-small { padding: 7px 16px; font-size: .9rem; }
.btn-round { width: 52px; height: 52px; padding: 0; font-size: 1.3rem; display: inline-grid; place-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions.tight { margin-top: 8px; gap: 8px; }
button.link { background: none; border: 0; color: var(--cyan); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---------- header / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 2px solid var(--pink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 68px; flex-wrap: wrap; }
.brand { font-family: var(--script); font-size: 1.75rem; color: var(--text); text-decoration: none; line-height: 1; }
.brand:hover { color: var(--text); }
.site-header ul { list-style: none; display: flex; align-items: center; gap: 6px 20px; margin: 0; padding: 8px 0; flex-wrap: wrap; }
.site-header nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; }
.site-header nav a:not(.btn):hover, .site-header nav a[aria-current="page"] { color: var(--acid); }
.site-footer { position: relative; margin-top: 80px; padding: 44px 0 24px; color: var(--muted); font-size: .95rem; background: var(--bg); border-top: 2px solid var(--pink); }
.site-footer p { margin: 0 0 6px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.footer-h { color: var(--text); font-weight: 700; }
.hours { border-collapse: collapse; }
.hours th { text-align: left; font-weight: 400; padding: 2px 16px 2px 0; }
.fineprint { margin-top: 32px; font-size: .85rem; }

/* ---------- home ---------- */
.hero { position: relative; min-height: min(88vh, 900px); display: flex; align-items: center; padding: 72px 0 96px; }
.hero > .wrap { width: 100%; } /* a flex item would shrink to the title and drift off the header's left edge */
/* the studio name as an old neon sign: letters drawn as glass tube outlines, dark inside, with the
   light coming off the tubes. Hovering it stutters like a tired transformer, then it comes back brighter
   and stays that way until the pointer leaves. The glow is a drop-shadow
   filter (it follows the outline only; a text-shadow would fill the hollow letters). Where
   text-stroke isn't supported it falls back to filled, glowing letters. */
@property --tube { syntax: "<color>"; inherits: true; initial-value: #ffd9f6; }
@property --halo { syntax: "<color>"; inherits: true; initial-value: #ff2bd6; }
@property --reach { syntax: "<length>"; inherits: true; initial-value: 24px; }
.hero-title {
  font-size: clamp(3.4rem, 13vw, 10.5rem); line-height: .92; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 28px; max-width: 12ch;
  color: var(--tube); text-shadow: 0 0 12px var(--halo), 0 0 40px var(--halo);
  transition: --tube .5s, --halo .5s, --reach .5s;
}
.hero-title:hover { animation: flicker-on 1.1s linear forwards; }
@supports (-webkit-text-stroke: 1px) {
  .hero-title {
    color: transparent; -webkit-text-stroke: clamp(2px, .35vw, 4px) var(--tube); text-shadow: none;
    filter: drop-shadow(0 0 2px var(--halo)) drop-shadow(0 0 8px var(--halo)) drop-shadow(0 0 var(--reach) var(--halo));
  }
}
/* dims and stutters, then warms up past its usual brightness and holds there */
@keyframes flicker-on {
  0%, 12%, 22% { --tube: #ffd9f6; --halo: #ff2bd6; --reach: 24px; }
  6%, 17%, 28%, 40% { --tube: #5c2452; --halo: transparent; --reach: 24px; }
  100% { --tube: #ffffff; --halo: #ff5ce6; --reach: 40px; }
}
.hero-title.small { font-size: clamp(2.4rem, 7vw, 4.6rem); margin-bottom: 32px; animation: none; }
.hero .lede { color: var(--text); }
@media (max-width: 720px) {
  .hero .wrap { text-align: center; }
  .hero-title, .hero .lede { margin-inline: auto; }
  .hero .actions { justify-content: center; }
}
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; font-size: .7rem; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
.scroll-cue::after { content: ""; display: block; width: 2px; height: 40px; margin: 8px auto 0; background: var(--cyan); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.ribbon { overflow: hidden; background: var(--acid); border-block: 3px solid #000; transform: rotate(-2deg); margin: 0 -10px; padding: 10px 0; }
.ribbon-track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font: 1.6rem/1 var(--display); text-transform: uppercase; color: #0a0010; white-space: nowrap; }
.ribbon .star { font-family: var(--font); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; }
.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { --c: var(--pink); counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: var(--radius); padding: 24px; }
.steps li:nth-child(2) { --c: var(--cyan); }
.steps li:nth-child(3) { --c: var(--acid); }
.steps li:nth-child(4) { --c: var(--orange); }
.steps li::before { content: "0" counter(step); display: block; font: 2.6rem/1 var(--display); color: var(--c); margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; }
.prose p { max-width: 65ch; }
.note { background: var(--surface-2); border-left: 3px solid var(--cyan); padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; }
.note p { margin: 0; }
.note p + p { margin-top: 8px; }
.note.ok { border-color: var(--ok); }
.note.err { border-color: var(--danger); color: var(--text); }

/* ---------- the binder (home, recent work) ---------- */
.binder-section .muted { margin-top: -8px; }
.binder { --pw: min(360px, 42vw); --ph: calc(var(--pw) * 1.34); margin: 36px auto 0; outline: none; }
.binder:focus-visible .binder-stage { outline: 2px dashed var(--cyan); outline-offset: 14px; border-radius: 12px; }
.binder-stage { position: relative; width: calc(var(--pw) * 2); height: var(--ph); margin: 0 auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.binder-book { position: absolute; inset: 0; transform: translateX(var(--shift, -25%)); transition: transform .75s cubic-bezier(.3, .7, .2, 1); }
.sheet {
  position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d;
  transform: perspective(2600px) rotateY(0deg); transition: transform .9s cubic-bezier(.45, .05, .2, 1);
}
.sheet.turned { transform: perspective(2600px) rotateY(-180deg); }
.face {
  position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border-radius: 4px 16px 16px 4px; background: #0c0b12; color: var(--text);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07), 0 24px 60px rgb(0 0 0 / .55);
}
.face.back { transform: rotateY(180deg); border-radius: 16px 4px 4px 16px; }
/* a soft fold shadow at the spine */
.face.page::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(90deg, rgb(0 0 0 / .55), transparent 12%); }
.face.back.page::before { background: linear-gradient(270deg, rgb(0 0 0 / .55), transparent 12%); }
/* three punched holes on the spine edge, lined up with the rings */
.holes { position: absolute; top: 0; bottom: 0; left: 8px; width: 20px; pointer-events: none; background:
  radial-gradient(circle, #000 0 6px, rgb(255 255 255 / .22) 7px, transparent 8px) 50% 18% / 20px 20px no-repeat,
  radial-gradient(circle, #000 0 6px, rgb(255 255 255 / .22) 7px, transparent 8px) 50% 50% / 20px 20px no-repeat,
  radial-gradient(circle, #000 0 6px, rgb(255 255 255 / .22) 7px, transparent 8px) 50% 82% / 20px 20px no-repeat; }
.back .holes { left: auto; right: 8px; }

.piece { margin: 0; position: absolute; inset: 0; padding: 7% 9% 0 13%; }
.back .piece { padding: 7% 13% 0 9%; }
.sleeve { position: relative; display: block; border-radius: 6px; overflow: hidden; background: #111; box-shadow: 0 14px 34px rgb(0 0 0 / .6); }
.sleeve img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* the plastic sheet protector: edge, glare, and a slight lift on hover */
.sleeve::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22);
  background: linear-gradient(118deg, rgb(255 255 255 / .22) 0%, rgb(255 255 255 / .04) 26%, transparent 42%, transparent 64%, rgb(255 255 255 / .1) 76%, transparent 88%); }
.piece .sleeve { transition: transform .3s; }
.piece .sleeve:hover { transform: translateY(-3px) rotate(-.6deg); }
.tape {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%) rotate(-2.5deg); max-width: 84%;
  background: rgb(232 255 58 / .9); color: #111; padding: 5px 16px; font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  clip-path: polygon(2% 0, 98% 4%, 100% 50%, 97% 100%, 3% 96%, 0 50%);
}
.tape span { font-weight: 400; opacity: .7; margin-left: 4px; }
.back .tape { background: rgb(0 240 255 / .9); transform: translateX(-50%) rotate(2deg); }
.folio { position: absolute; bottom: 12px; right: 18px; font: 1rem/1 var(--display); color: var(--muted); letter-spacing: .1em; }
.back .folio { right: auto; left: 18px; }

/* a hot pink vinyl binder, stickered up */
.face.cover { overflow: hidden; background: var(--pink); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .25), inset 6px 0 0 rgb(0 0 0 / .18), 0 24px 60px rgb(0 0 0 / .55); }
.cover-art { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 14% 12% 14% 18%; }
.cover-title { position: relative; margin: 0; font: clamp(2rem, 5.4vw, 3.4rem)/1 var(--script); color: #0a0010; }
.cover-sub { position: relative; margin: 14px 0 0; text-transform: uppercase; letter-spacing: .3em; font-size: .72rem; color: #0a0010; font-weight: 700; }
.cover-hint { position: absolute; right: 16px; bottom: 14px; margin: 0; font-size: .8rem; color: #0a0010; font-weight: 700; }
.sticker { position: absolute; z-index: 1; font: .8rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; padding: 8px 12px; border-radius: 999px; color: #0a0010; border: 2px solid #0a0010; }
.sticker.s1 { top: 9%; right: 10%; background: var(--acid); transform: rotate(12deg); }
.sticker.s2 { bottom: 20%; left: 16%; background: #fff; transform: rotate(-8deg); }
.sticker.s3 { top: 22%; right: 7%; background: var(--cyan); transform: rotate(-14deg); border-radius: 6px; }
.closing-art { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 12% 14% 12% 12%; }
.front .closing-art { padding: 12% 12% 12% 16%; }
.closing-title { font: clamp(1.8rem, 3.6vw, 2.6rem)/1.02 var(--display); text-transform: uppercase; margin: 0; }
.link-more { font-size: .95rem; }
.face.inside-back { display: grid; place-items: center; }
.stamp { font: 1.6rem/1 var(--script); color: rgb(255 255 255 / .35); border: 2px solid rgb(255 255 255 / .2); padding: 14px 18px; transform: rotate(-8deg); border-radius: 8px; }
/* index tabs sticking out of the fore-edge, staggered down the stack */
.tab {
  position: absolute; right: -24px; top: calc(16px + mod(var(--k), 8) * 46px); width: 24px; height: 42px; border-radius: 0 7px 7px 0; padding: 4px 0;
  background: var(--tab); color: #0a0010; font-size: .52rem; font-weight: 700; text-transform: uppercase; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 24px;
  writing-mode: vertical-rl; display: block; text-align: center; box-shadow: 3px 3px 8px rgb(0 0 0 / .4);
}
@supports not (top: calc(mod(3, 2) * 1px)) { .tab { top: calc(16px + var(--k) * 40px); } }
.rings { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; z-index: 500; pointer-events: none; }
.rings span {
  position: absolute; left: -30px; width: 60px; height: 28px; border-radius: 50%;
  border: 6px solid; border-color: #f2f2fa #8d8da2 #5d5d72 #cfcfdc;
  box-shadow: 0 3px 8px rgb(0 0 0 / .65), inset 0 1px 2px rgb(255 255 255 / .5);
  transform: translateY(-50%);
}
.rings span:nth-child(1) { top: 18%; }
.rings span:nth-child(2) { top: 50%; }
.rings span:nth-child(3) { top: 82%; }
.binder-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 26px; }
.binder-count { margin: 0; min-width: 18ch; text-align: center; font-size: .95rem; color: var(--muted); white-space: pre; }
/* Narrow: one page at a time, the book slides across behind a window one page wide. */
@media (max-width: 720px) {
  .binder { --pw: min(calc(100vw - 56px), 400px); }
  .binder-stage { width: var(--pw); overflow: hidden; border-radius: 16px; }
  .binder-book { right: auto; width: 200%; }
  .rings { display: none; }
  .holes { width: 16px; }
  .binder-count { white-space: normal; min-width: 0; }
}
/* No JavaScript yet (or at all): the pages sit in a row you can scroll. */
.binder:not(.is-ready) .binder-stage { width: auto; height: auto; }
.binder:not(.is-ready) .binder-book { position: static; transform: none; display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x mandatory; }
.binder:not(.is-ready) .sheet { display: contents; }
.binder:not(.is-ready) .face { position: relative; flex: 0 0 var(--pw); height: var(--ph); transform: none; scroll-snap-align: start; }
.binder:not(.is-ready) .rings, .binder:not(.is-ready) .binder-controls, .binder:not(.is-ready) .tab { display: none; }

/* ---------- gallery ---------- */
.gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gallery-grid a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--solid); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; }
.gallery-grid li:nth-child(4n+1) a:hover { box-shadow: 0 0 0 3px var(--pink); }
.gallery-grid li:nth-child(4n+2) a:hover { box-shadow: 0 0 0 3px var(--cyan); }
.gallery-grid li:nth-child(4n+3) a:hover { box-shadow: 0 0 0 3px var(--acid); }
.gallery-grid li:nth-child(4n) a:hover { box-shadow: 0 0 0 3px var(--orange); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }
.caption { margin: 8px 0 0; font-size: .95rem; }
.caption span { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font: inherit; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: var(--accent-ink); font-weight: 700; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgb(3 2 6 / .95); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 56px; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; border-radius: 4px; }
.lightbox figcaption { color: #ddd; margin-top: 12px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.5rem; cursor: pointer; padding: 8px 14px; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq summary::marker { color: var(--pink); }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* ---------- forms ---------- */
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0 0 20px; min-width: 0; background: rgb(0 0 0 / .2); }
.form legend { font-weight: 700; padding: 0 8px; font-size: 1.1rem; }
.form legend small { font-weight: 400; color: var(--muted); }
.form label { display: block; margin: 0 0 14px; font-weight: 600; font-size: .95rem; }
.form label small { font-weight: 400; color: var(--muted); }
.form input:not([type="radio"]):not([type="checkbox"]), .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 13px; background: rgb(0 0 0 / .5); color: var(--text);
  border: 1px solid rgb(255 255 255 / .2); border-radius: 10px; font: inherit; font-weight: 400; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgb(0 240 255 / .2); }
.form input:disabled { opacity: .65; }
.form input[type="file"] { padding: 8px; }
.form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form label.check input { margin-top: 5px; accent-color: var(--pink); }
.form .row { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: end; }
.step { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--pink); color: var(--accent-ink); font-size: .85em; margin-right: 6px; }
.group-label { color: var(--muted); font-size: .9rem; margin: 12px 0 8px; text-transform: uppercase; letter-spacing: .08em; }
.options { display: grid; gap: 10px; }
.option { display: flex !important; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; cursor: pointer; margin: 0 !important; transition: border-color .2s, box-shadow .2s; }
.option:hover { border-color: rgb(255 255 255 / .35); }
.option:has(input:checked) { border-color: var(--pink); box-shadow: inset 4px 0 0 var(--pink); }
.option input { margin-top: 5px; accent-color: var(--pink); }
.option em { font-style: normal; color: var(--muted); font-weight: 400; margin-left: 6px; }
.option small { display: block; color: var(--muted); font-weight: 400; }
.days, .times { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.days { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
.slot { flex: none; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px; font: inherit; cursor: pointer; text-align: center; }
.slot:hover { border-color: var(--cyan); }
.slot small { display: block; color: var(--muted); font-size: .8rem; }
.slot[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: var(--accent-ink); font-weight: 700; }
.slot[aria-pressed="true"] small { color: var(--accent-ink); }
.picked { background: var(--surface-2); border-radius: 10px; padding: 10px 14px; font-weight: 600; border-left: 3px solid var(--acid); }
.error { color: var(--danger); font-weight: 600; }
.error:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.done { background: var(--surface-2); padding: 24px; border-radius: var(--radius); border: 1px solid var(--ok); }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
.status { display: inline-block; font-weight: 700; font-size: .85rem; padding: 3px 12px; border-radius: 999px; background: rgb(255 255 255 / .08); color: var(--acid); white-space: nowrap; }
.status-confirmed { color: var(--ok); }
.status-completed { color: var(--cyan); }
.status-declined, .status-cancelled, .status-no_show { color: var(--danger); }

/* ---------- client account ---------- */
.auth { max-width: 520px; }
.auth-card h1 { font-size: clamp(2rem, 5vw, 3rem); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 40px; align-items: start; }
.appt { margin: 0 0 22px; }
.appt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 10px; }
.appt-head h3 { margin: 0 0 4px; font-size: 1.6rem; text-transform: uppercase; }
.appt-head .when { margin: 0; color: var(--acid); font-weight: 600; }
.appt h4 { margin-top: 20px; }
.design-board { list-style: none; padding: 0; margin: 8px 0 16px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.design { background: rgb(0 0 0 / .35); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.design.status-new { border-color: var(--pink); border-width: 2px; }
.design.status-approved { border-color: var(--ok); }
.design.status-changes { border-color: var(--orange); }
.design .sleeve { transform: rotate(var(--tilt, 0deg)); margin: 6px 4px 16px; transition: transform .3s; }
.design .sleeve:hover { transform: rotate(0deg) scale(1.02); }
/* a strip of tape holding the sketch down */
.design .sleeve::before { content: ""; position: absolute; z-index: 1; top: -2px; left: 50%; width: 70px; height: 20px; transform: translateX(-50%) rotate(-3deg); background: rgb(232 255 58 / .75); }
.design-status { margin: 0 0 6px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.status-new .design-status { color: var(--pink); }
.status-approved .design-status { color: var(--ok); }
.status-changes .design-status { color: var(--orange); }
.design-note, .design-comment { margin: 0 0 8px; font-size: .95rem; }
.design-comment { color: var(--muted); }
.design details { margin-top: 10px; }
.design summary { cursor: pointer; font-weight: 600; color: var(--cyan); }
.design .form { margin-top: 10px; }

/* ---------- consent ---------- */
.questions { padding-left: 20px; }
.questions li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.answers { display: flex; gap: 16px; }
.inline { display: inline-flex !important; gap: 6px; align-items: center; margin: 0 !important; font-weight: 400 !important; }
.label-like { font-weight: 600; font-size: .95rem; margin: 0 0 6px; }
.signature-pad { position: relative; }
.signature-pad canvas { width: 100%; height: 180px; background: #fff; border-radius: 10px; touch-action: none; cursor: crosshair; display: block; }
.signature-pad .link { position: absolute; top: 8px; right: 12px; color: #555; }
.kiosk .site-header nav, .kiosk .site-footer { display: none; }

@media (max-width: 560px) {
  .site-header { position: static; }
  .details { grid-template-columns: 1fr; }
  .details dd { margin-bottom: 8px; }
  .section { padding: 52px 0; }
  .ribbon-track { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
