:root {
  --bg: #0b0b0a;
  --fg: #ecebe6;
  --dim: rgba(236, 235, 230, .52);
  --faint: rgba(236, 235, 230, .08);
  --line: rgba(236, 235, 230, .14);
  --acc: #c9f23b;            /* grass-lime: used only for prices and "available" */
  --pad: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
svg { width: 1em; height: 1em; fill: currentColor; }
::selection { background: var(--acc); color: var(--bg); }
.mono { font: 400 12px/1.4 var(--mono); letter-spacing: .02em; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 10px; padding: var(--pad); pointer-events: none; }
.top > * { pointer-events: auto; }
.top__logo svg { width: 34px; height: 34px; display: block; transition: transform .6s var(--ease); }
.top__logo:hover svg { transform: rotate(-24deg) scale(1.08); }
.top__price { margin-left: auto; padding: 8px 16px; border-radius: 999px; background: var(--acc); color: var(--bg); font-weight: 500; font-size: 14px;
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.top__price.is-on { opacity: 1; transform: none; pointer-events: auto; }
.top__menu { margin-left: auto; padding: 8px 18px; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 500; font-size: 14px; transition: transform .3s var(--ease); }
.top__price + .top__menu { margin-left: 0; }
.top__menu:hover { transform: scale(1.05); }

/* ---------- menu ---------- */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--pad) + 64px) var(--pad) var(--pad);
  visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s; }
.menu__close { position: absolute; top: var(--pad); right: var(--pad); }
.menu__links a { display: flex; align-items: baseline; gap: 18px; font-weight: 500; font-size: clamp(44px, 8.4vw, 132px); line-height: .98; letter-spacing: -.055em;
  transform: translateY(40px); opacity: 0; transition: transform .7s var(--ease), opacity .5s, color .25s; }
.menu__links a span { font: 400 13px var(--mono); letter-spacing: 0; color: var(--dim); }
.menu__links a:hover { color: var(--acc); }
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open .menu__links li:nth-child(2) a { transition-delay: .04s; }
.menu.is-open .menu__links li:nth-child(3) a { transition-delay: .08s; }
.menu.is-open .menu__links li:nth-child(4) a { transition-delay: .12s; }
.menu.is-open .menu__links li:nth-child(5) a { transition-delay: .16s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.menu__foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); }
.menu__foot a:hover { color: var(--fg); }
html.menu-open { overflow: hidden; }

/* ---------- corners ---------- */
.corner { position: fixed; bottom: var(--pad); z-index: 30; color: var(--dim); pointer-events: none; mix-blend-mode: difference; }
.corner--l { left: var(--pad); }
.corner--r { right: var(--pad); }
.corner__name { margin-left: 8px; color: var(--fg); }

/* ---------- 01 hero ---------- */
.hero { display: grid; grid-template-columns: 1fr minmax(320px, 30vw); height: 100vh; height: 100svh; min-height: 620px; }
.hero__stage { position: relative; overflow: hidden; background: var(--bg); touch-action: pan-y; }
.hero__ink, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { object-fit: cover; object-position: 50% 62%; opacity: 0; }
.ink-on .hero__fallback { visibility: hidden; }
.ink-off .hero__ink { display: none; }
.ink-off .hero__fallback { opacity: 1; -webkit-mask-image: radial-gradient(ellipse 46% 52% at 42% 52%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 46% 52% at 42% 52%, #000 40%, transparent 100%); }
.hero__hint { position: absolute; top: calc(var(--pad) + 62px); left: var(--pad); color: var(--dim); transition: opacity .8s; }
.hero__hint.is-gone { opacity: 0; }
.hero__name { position: absolute; left: calc(var(--pad) - .06em); right: 0; bottom: calc(var(--pad) + 18px); font-weight: 600; font-size: clamp(64px, 12.8vw, 260px); line-height: .8;
  letter-spacing: -.065em; white-space: nowrap; pointer-events: none; color: var(--fg); }
.hero__name span { display: inline-block; animation: rise 1.2s var(--ease) .15s both; }
@keyframes rise { from { transform: translateY(32%); opacity: 0; } }

.hero__side { position: relative; display: flex; flex-direction: column; gap: 28px; padding: calc(var(--pad) + 52px) var(--pad) calc(var(--pad) + 36px); border-left: 1px solid var(--line); }
.hero__meta { display: flex; flex-direction: column; color: var(--fg); }
.hero__meta span + span { color: var(--dim); }
.hero__claim { margin-top: auto; }
.hero__claim .mono { color: var(--dim); margin-bottom: 14px; }
.hero__big { font-weight: 600; font-size: clamp(44px, 5.2vw, 98px); line-height: .9; letter-spacing: -.06em; }
.price-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; padding: 10px 12px 10px 20px; border-radius: 999px; background: var(--acc); color: var(--bg);
  transition: transform .35s var(--ease), box-shadow .35s; box-shadow: 0 0 0 0 rgba(201, 242, 59, .35); }
.price-chip:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -10px rgba(201, 242, 59, .55); }
.price-chip__label { font: 400 12px var(--mono); }
.price-chip__value { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.price-chip__value b { font-weight: 600; }
.price-chip svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--bg); color: var(--acc); }
.hero__free { display: flex; align-items: center; gap: 10px; color: var(--dim); }
.hero__free i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 rgba(201, 242, 59, .6); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(201, 242, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 242, 59, 0); } }

/* ---------- shared ---------- */
section:not(.hero) { padding: clamp(96px, 13vw, 200px) var(--pad); }
.label { display: flex; gap: 14px; color: var(--dim); text-transform: uppercase; margin-bottom: clamp(28px, 4vw, 56px); }
.label span { color: var(--fg); }
.h2 { font-weight: 600; font-size: clamp(60px, 11.5vw, 200px); line-height: .84; letter-spacing: -.065em; }
.h2 em { font-style: normal; color: var(--dim); }
html.js [data-reveal], html.js .label, html.js .h2, html.js .contact__title, html.js .about__facts li { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
html.js .is-in { opacity: 1 !important; transform: none !important; }

/* ---------- 02 about ---------- */
.about__text { max-width: 22ch; font-weight: 500; font-size: clamp(30px, 4.3vw, 76px); line-height: 1.02; letter-spacing: -.045em; }
.about__text .w { opacity: .16; transition: opacity .5s; }
.about__text .w.on { opacity: 1; }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--pad); margin-top: clamp(64px, 9vw, 140px); }
.about__facts li { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.about__facts b { font-weight: 600; font-size: clamp(44px, 5vw, 80px); line-height: .9; letter-spacing: -.06em; }
.about__facts span { max-width: 28ch; color: var(--dim); }
.about__facts li:nth-child(2) { transition-delay: .08s; }
.about__facts li:nth-child(3) { transition-delay: .16s; }

/* ---------- 03 work ---------- */
.work__head { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.work__head .label { grid-column: 1 / -1; }
.work__note { color: var(--dim); padding-bottom: .8em; }
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 5vw, 72px) var(--pad); }
.work__grid > :nth-child(even) { margin-top: clamp(0px, 9vw, 160px); }
.case { display: flex; flex-direction: column; gap: 16px; }
.case__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: #121211; }
.case__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a.case:hover .case__frame img { transform: scale(1.04); }
.case__meta { display: grid; grid-template-columns: 40px 1fr auto; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.case__meta h3 { font-weight: 500; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.03em; }
.case__meta .mono { color: var(--dim); }
/* the prepared, still empty places */
.case--slot .case__frame { display: grid; place-items: center; border: 1px dashed var(--line); background:
  radial-gradient(circle at 50% 46%, rgba(236, 235, 230, .035), transparent 60%), #0e0e0d; }
.case__blot { position: absolute; width: 46%; height: 46%; left: 27%; top: 22%; fill: var(--faint); transition: transform 1.4s var(--ease), fill .6s; }
.case--slot:hover .case__blot { transform: scale(1.18) rotate(-12deg); fill: rgba(201, 242, 59, .09); }
.case--slot .case__frame .mono { position: absolute; left: 18px; bottom: 16px; color: var(--dim); }
.case--slot h3 { color: var(--dim); }

/* ---------- 04 prices (the highlighted part of the page) ---------- */
.prices { position: relative; }
.prices::before { content: ''; position: absolute; inset: 0 var(--pad); border-top: 1px solid var(--acc); opacity: .5; pointer-events: none; }
.prices__head { display: grid; grid-template-columns: 1fr minmax(240px, 30ch); align-items: end; gap: var(--pad); margin-bottom: clamp(48px, 6vw, 88px); }
.prices__head .label { grid-column: 1 / -1; }
.prices__head .label span { color: var(--acc); }
.prices__lead { color: var(--dim); font-size: 19px; }
.prices__list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.svc { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.2vw, 32px); border: 1px solid var(--line); border-radius: 22px; background: #0f0f0e;
  transition: border-color .4s, transform .5s var(--ease), opacity .9s var(--ease); }
.svc:nth-child(n+4) { grid-column: span 3; }
.svc:hover { border-color: rgba(201, 242, 59, .5); }
.svc__top { display: flex; justify-content: space-between; align-items: center; min-height: 26px; }
.svc__n { color: var(--dim); }
.svc__badge { padding: 5px 10px; border-radius: 999px; background: var(--bg); color: var(--acc); }
.svc__name { font-weight: 500; font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.03em; line-height: 1.1; }
.svc__price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; color: var(--acc); }
.svc__price b { font-weight: 600; font-size: clamp(54px, 5.4vw, 92px); line-height: .9; letter-spacing: -.06em; }
.svc__price small { font: 400 13px var(--mono); color: var(--dim); }
.svc__time { color: var(--dim); }
.svc__text { color: var(--fg); max-width: 34ch; }
.svc__items { display: grid; gap: 7px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--dim); font-size: 15px; }
.svc__items li { display: flex; gap: 10px; }
.svc__items li::before { content: '+'; font-family: var(--mono); color: var(--acc); }
.svc__cta { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 500; border-bottom: 1px solid currentColor; }
.svc__cta svg { transition: transform .35s var(--ease); }
.svc__cta:hover svg { transform: translate(3px, -3px); }
/* the one that should catch the eye */
.svc--hot { background: var(--acc); color: var(--bg); border-color: var(--acc); }
.svc--hot:hover { border-color: var(--acc); transform: translateY(-4px); }
.svc--hot .svc__n, .svc--hot .svc__time, .svc--hot .svc__price small, .svc--hot .svc__items { color: rgba(11, 11, 10, .62); }
.svc--hot .svc__price, .svc--hot .svc__text { color: var(--bg); }
.svc--hot .svc__items { border-color: rgba(11, 11, 10, .2); }
.svc--hot .svc__items li::before { color: var(--bg); }
.prices__always { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.prices__always li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--dim); }
.prices__always li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }

/* ---------- 05 process ---------- */
.process__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--pad); }
.process__list li { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.process__list .mono { color: var(--dim); }
.process__list h3 { font-weight: 500; font-size: clamp(30px, 3vw, 46px); letter-spacing: -.045em; line-height: 1; }
.process__list p { color: var(--dim); max-width: 30ch; }
.process__list li:nth-child(2) { transition-delay: .07s; }
.process__list li:nth-child(3) { transition-delay: .14s; }
.process__list li:nth-child(4) { transition-delay: .21s; }

/* ---------- 06 contact ---------- */
.contact__title { font-weight: 600; font-size: clamp(64px, 12.5vw, 220px); line-height: .84; letter-spacing: -.065em; }
.contact__lead { margin-top: 28px; color: var(--dim); font-size: 19px; max-width: 36ch; }
.contact__links { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.contact__links a { display: flex; justify-content: space-between; align-items: center; padding: clamp(18px, 2vw, 26px) 0; border-bottom: 1px solid var(--line);
  font-weight: 500; font-size: clamp(28px, 3.6vw, 56px); letter-spacing: -.045em; transition: color .3s, padding .5s var(--ease); }
.contact__links a:hover { color: var(--acc); padding-left: 14px; }
.contact__links a svg { width: .8em; height: .8em; }
.contacts-empty { color: var(--dim); padding: 22px 0; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 28px var(--pad) calc(var(--pad) + 44px); border-top: 1px solid var(--line); color: var(--dim); }
.foot a:hover { color: var(--fg); }

/* ---------- tablet / phone ---------- */
@media (max-width: 1100px) {
  .prices__list { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc:nth-child(n+4) { grid-column: span 1; }
  .svc--hot { grid-column: 1 / -1; order: -1; }
  .process__list { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
}
@media (max-width: 899px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero__stage { height: 74vh; height: 74svh; min-height: 460px; }
  .hero__name { font-size: 19vw; bottom: 16px; }
  .hero__side { border-left: 0; border-top: 1px solid var(--line); padding: 28px var(--pad) 40px; gap: 22px; }
  .hero__meta { flex-direction: row; justify-content: space-between; }
  .hero__claim { margin-top: 0; }
  .hero__big { font-size: 15vw; }
  .hero__hint { top: auto; bottom: calc(19vw + 34px); }
  .about__facts { grid-template-columns: 1fr; gap: 28px; }
  .work__head { grid-template-columns: 1fr; gap: 14px; }
  .work__grid { grid-template-columns: 1fr; }
  .work__grid > :nth-child(even) { margin-top: 0; }
  .prices__head { grid-template-columns: 1fr; }
  .prices__list { grid-template-columns: 1fr; }
  .svc--hot { grid-column: auto; }
  .process__list { grid-template-columns: 1fr; row-gap: 36px; }
  .corner__name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
}

/* ---------- fixes after the first look ---------- */
.hero__big { font-size: clamp(40px, 3.9vw, 78px); letter-spacing: -.05em; }
.hero__name { letter-spacing: -.055em; }
.h2, .contact__title, .cs__title, .menu__links a { letter-spacing: -.05em; }
.svc__price b, .about__facts b { letter-spacing: -.045em; }
/* corner labels sit on a small dark pill so they never mix with the text under them */
.corner { mix-blend-mode: normal; padding: 5px 10px; border-radius: 999px; background: rgba(11, 11, 10, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); bottom: calc(var(--pad) - 5px); }
.corner--l { left: calc(var(--pad) - 10px); }
.corner--r { right: calc(var(--pad) - 10px); }
@media (max-width: 899px) {
  .corner { display: none; }
  .top__price { opacity: 1; transform: none; pointer-events: auto; }
  .hero__big { font-size: 15vw; }
  .foot { padding-bottom: 28px; }
}
/* huge headings appear by fading only: moving 200px text can leave thin seams between letters */
html.js .h2, html.js .contact__title { transform: none; transition: opacity 1.1s var(--ease); }

/* ================= round 2 ================= */
/* first screen: no divider line, no location */
.hero__side { border-left: 0; }
.hero__claim .mono { max-width: 30ch; }
.hero__big { font-size: clamp(40px, 4.2vw, 82px); }
@media (max-width: 899px) { .hero__side { border-top: 0; } .hero__big { font-size: 13.5vw; } }

/* menu: no numbers; the hovered row gets full-width lines above and below it */
.menu__links { margin: 0 calc(var(--pad) * -1); }
.menu__links li { position: relative; }
.menu__links li::before, .menu__links li::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--fg);
  transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--ease); pointer-events: none; }
.menu__links li::before { top: 0; }
.menu__links li::after { bottom: -1px; }
.menu__links li + li { border-top: 1px solid var(--line); }
.menu__links li:last-child { border-bottom: 1px solid var(--line); }
.menu__links a { display: block; padding: .1em var(--pad) .14em; transition: transform .7s var(--ease), opacity .5s, padding .6s var(--ease); }
.menu__links a:hover, .menu__links a:focus-visible { color: var(--fg); padding-left: calc(var(--pad) + .25em); outline: none; }
.menu__links li:hover::before, .menu__links li:hover::after, .menu__links li:focus-within::before, .menu__links li:focus-within::after { transform: scaleX(1); }
.menu__links li:first-child { border-top: 1px solid var(--line); }

/* the eye */
.work { padding: 0 !important; }
.eye { position: relative; height: 260vh; }
.eye__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.eye__lens { position: absolute; inset: 0; background: var(--fg); color: var(--bg); display: grid; place-items: center; clip-path: polygon(0 0, 0 0, 0 0); will-change: clip-path; }
.eye__pupil { position: absolute; left: 50%; top: 50%; width: 50vh; height: 50vh; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 38% 34%, #2a2a28 0 6%, var(--bg) 7% 100%); box-shadow: 0 0 0 1.6vh rgba(11, 11, 10, .12), 0 0 0 4vh rgba(11, 11, 10, .05); }
.eye__word { position: relative; font-weight: 600; font-size: clamp(64px, 15vw, 260px); line-height: .85; letter-spacing: -.05em; color: var(--fg); mix-blend-mode: difference; }
.eye__note { position: absolute; left: 50%; bottom: 9vh; translate: -50% 0; color: rgba(11, 11, 10, .6); white-space: nowrap; }
.eye__lid { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--fg); stroke-width: 1.4; stroke-linecap: round; pointer-events: none; overflow: visible; }
.eye__hint { position: absolute; left: 50%; bottom: var(--pad); translate: -50% 0; color: var(--dim); }
.eye--static { height: auto; }
.eye--static .eye__sticky { position: relative; height: 80vh; }
.eye--static .eye__lens { clip-path: none !important; }
.eye--static .eye__lid, .eye--static .eye__hint { display: none; }

/* after the eye is open the cases sit on the light it let in */
.work__body { background: var(--fg); color: var(--bg); padding: clamp(40px, 6vw, 96px) var(--pad) clamp(96px, 12vw, 180px); }
.work__body .label, .work__body .label span { color: rgba(11, 11, 10, .55); }
.work__body .label span { color: var(--bg); }
.work__body .case__meta { border-color: rgba(11, 11, 10, .14); }
.work__body .case__meta .mono, .work__body .case--slot h3 { color: rgba(11, 11, 10, .5); }
.work__body .case--slot .case__frame { border-color: rgba(11, 11, 10, .2); background: radial-gradient(circle at 50% 46%, rgba(11, 11, 10, .04), transparent 60%), #e3e1da; }
.work__body .case__blot { fill: rgba(11, 11, 10, .07); }
.work__body .case--slot:hover .case__blot { fill: rgba(11, 11, 10, .14); }
.work__body .case--slot .case__frame .mono { color: rgba(11, 11, 10, .5); }
/* the logo stays visible over the light block */
.top__logo { mix-blend-mode: difference; }

/* header on the light block */
.top__logo { mix-blend-mode: normal; color: var(--fg); transition: color .3s; }
.top__menu { transition: transform .3s var(--ease), background .3s, color .3s; }
html.on-light .top__logo { color: var(--bg); }
html.on-light .top__menu { background: var(--bg); color: var(--fg); }
.menu:focus { outline: none; }

/* first screen: the dark picture lies under the whole screen, the text on the right floats over it (no hard edge in the middle) */
@media (min-width: 900px) {
  .hero { position: relative; }
  .hero__stage { position: absolute; inset: 0; }
  .hero__side { grid-column: 2; position: relative; z-index: 2; pointer-events: none; }
  .hero__side a, .hero__side button { pointer-events: auto; }
}

/* font preview (index.html?font=<id>): display font for big type, text font for the rest */
html.fx body { font-family: var(--sans); }
html.fx .hero__name, html.fx .hero__big, html.fx .h2, html.fx .contact__title, html.fx .about__text, html.fx .about__facts b,
html.fx .svc__name, html.fx .svc__price b, html.fx .process__list h3, html.fx .eye__word, html.fx .case__meta h3,
html.fx .contact__links a, html.fx .menu__links a, html.fx .price-chip__value { font-family: var(--display); font-weight: var(--dw); letter-spacing: var(--dls); }
.font-bar { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 80; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px;
  background: rgba(20, 20, 18, .92); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 400 13px var(--mono); color: var(--fg); white-space: nowrap; }
.font-bar a { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 999px; background: var(--fg); color: var(--bg); }
.font-bar a:hover { background: var(--acc); }
.font-bar span { padding: 0 12px; }
.font-bar b { color: var(--acc); font-weight: 400; }
.font-bar .font-bar__all { background: transparent; color: var(--dim); border: 1px solid var(--line); }

/* ================= round 3 ================= */
/* font: Geologica everywhere (labels stay in JetBrains Mono) */
:root { --sans: 'Geologica', 'Helvetica Neue', Arial, sans-serif; }
body { font-weight: 300; }
.hero__name, .hero__big, .h2, .contact__title, .about__facts b, .svc__price b, .eye__word { font-weight: 600; letter-spacing: -.05em; }
.about__text, .svc__name, .process__list h3, .case__meta h3, .contact__links a, .menu__links a { font-weight: 500; letter-spacing: -.035em; }
.hero__name { font-size: clamp(60px, 11.8vw, 240px); }
/* smaller rounding on plates, cards and buttons */
.svc { border-radius: 10px; }
.case__frame { border-radius: 8px; }
.price-chip, .top__menu, .top__price, .svc__badge, .prices__always li, .corner { border-radius: 8px; }
.price-chip svg { border-radius: 6px; }

/* loading screen: total darkness; the beam, the dust and the lit name are all drawn on one canvas */
.loader { position: fixed; inset: 0; z-index: 300; overflow: hidden; background: #050505; transition: opacity .8s var(--ease), visibility 0s .8s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
html.is-loading { overflow: hidden; }
html.is-loading .hero__name span { animation-play-state: paused; }

/* ================= round 4 ================= */
/* thinner drawing of every heading */
.hero__name, .hero__big, .h2, .contact__title, .about__facts b, .svc__price b, .eye__word { font-weight: 300; letter-spacing: -.045em; }
.about__text, .svc__name, .process__list h3, .case__meta h3, .contact__links a, .menu__links a { font-weight: 400; letter-spacing: -.03em; }
.price-chip__value b { font-weight: 400; }
/* script-font preview (index.html?script=<id>, see js/script-fonts.js): headings only, the rest stays Geologica */
html.sx .hero__name { font-family: var(--script); font-weight: 400; letter-spacing: 0; font-size-adjust: var(--sfa); line-height: 1; }
html.sx--all :is(.hero__big, .h2, .contact__title, .eye__word) { font-family: var(--script); font-weight: 400; letter-spacing: 0; font-size-adjust: var(--sfa); line-height: 1.02; }
html.sx--all .h2 em { font-style: normal; }
html.sx--all :is(.h2, .contact__title) { line-height: 1.12; }
/* accent-font preview (index.html?accent=<id>&mode=word|all, see js/accent-fonts.js) */
html.ax :is(.h2, .hero__big, .contact__title) em { font-family: var(--accent); font-style: var(--ast); font-weight: var(--aw); letter-spacing: -.01em; font-size-adjust: var(--afa); }
html.ax--all :is(.hero__name, .hero__big, .h2, .contact__title, .eye__word) { font-family: var(--accent); font-style: var(--ast); font-weight: var(--aw); letter-spacing: -.02em; font-size-adjust: var(--afa); }
html.ax :is(.h2, .hero__big, .contact__title) em { font-style: var(--aem); font-stretch: var(--astr); }
html.ax--all :is(.hero__name, .hero__big, .h2, .contact__title, .eye__word) { font-stretch: var(--astr); }
html.ax--all :is(.hero__name, .hero__big, .h2, .contact__title, .eye__word) { letter-spacing: var(--als); }

/* ================= round 5: work = black evaporating head + sites orbiting it in 3D ================= */
.work__body { overflow-x: clip; }
.orbit { position: relative; height: clamp(560px, 88vh, 900px); margin-top: clamp(8px, 2vw, 24px); perspective: 1700px; perspective-origin: 50% 38%;
  touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.orbit:active { cursor: grabbing; }
.orbit__scene { position: absolute; inset: 0; transform-style: preserve-3d; }
.orbit__head { position: absolute; left: 50%; bottom: 0; width: min(1100px, 100%); height: 94%; transform: translateX(-50%); pointer-events: none; }
.orbit__ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-8deg) rotateZ(-3deg); }
.orb { --cw: clamp(150px, 19vw, 300px); position: absolute; left: 0; top: 0; width: var(--cw); display: block; color: var(--bg);
  filter: brightness(calc(.5 + var(--d, 1) * .5)); }
.orb__img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #d8d6ce;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55), 0 0 0 1px rgba(11, 11, 10, .08); }
.orb__img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.orb__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 10px; font-size: 15px; white-space: nowrap;
  opacity: calc(var(--d, 1) * 2 - 1); }
.orb__cap b { font-weight: 400; letter-spacing: -.02em; }
.orb__cap .mono { color: rgba(11, 11, 10, .5); font-size: 11px; }
.orb--slot .orb__img { display: grid; place-items: center; text-align: center; background: rgba(236, 235, 230, .6); border: 1px dashed rgba(11, 11, 10, .3); box-shadow: none; color: rgba(11, 11, 10, .55); }
a.orb .orb__img::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--acc); transition: box-shadow .3s; }
a.orb:hover .orb__img::after, a.orb:focus-visible .orb__img::after { box-shadow: inset 0 0 0 3px var(--acc); }
.orbit__hint { margin: 18px 0 0; text-align: center; color: rgba(11, 11, 10, .5); }
@media (max-width: 699px) {
  .orbit { height: 64vh; perspective: 900px; }
  .orbit__head { height: 76%; }
  .orbit__ring { top: 50%; transform: rotateX(-14deg) rotateZ(-3deg); }
  .orb { --cw: 30vw; }
  .orb__cap { font-size: 13px; }
  .orb__cap .mono { display: none; }
}
/* the slot cards are solid (the head must not show through them), captions get a small backing so they stay readable over the black head */
.orb--slot .orb__img { background: #e2e0d8; }
.orb__cap { display: inline-flex; margin-top: 8px; padding: 6px 10px; border-radius: 6px; background: rgba(236, 235, 230, .94); }

/* ================= round 6: sharper corners ================= */
.svc, .case__frame, .orb__img { border-radius: 4px; }
.price-chip, .top__menu, .top__price, .svc__badge, .prices__always li, .corner, .orb__cap { border-radius: 3px; }
.price-chip svg { border-radius: 2px; }

/* ================= round 8: Inter Display, the service in place of the name, particles on the first screen ================= */
/* Inter: at big sizes the browser switches it to its Display cut by itself (optical size axis) */
:root { --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif; }
body { font-optical-sizing: auto; }
.hero__name, .hero__big, .h2, .contact__title, .about__facts b, .svc__price b, .eye__word { letter-spacing: -.035em; }
.hero__name { font-size: clamp(46px, 7vw, 146px); line-height: .94; white-space: normal; max-width: 64vw; }
.hero__brand { margin: 0 0 10px; font: 400 13px var(--mono); letter-spacing: .14em; color: var(--fg); }
.hero__parts { position: absolute; inset: 0; width: 100%; height: 100%; }
.parts-on .hero__fallback { visibility: hidden; }
.parts-on .hero__ink { display: none; }
@media (max-width: 899px) {
  .hero__name { font-size: 12.4vw; max-width: none; right: var(--pad); }
  .hero__hint { bottom: calc(25vw + 40px); }
}
@media (max-width: 899px) { .hero__hint { top: calc(var(--pad) + 62px); bottom: auto; } }

/* ================= round 9: prices as a wall of price tags (js/price-wall.js) ================= */
.prices__list.pw { display: block; }
.pw__room { position: relative; height: clamp(580px, 84vh, 880px); border-radius: 4px; overflow: hidden; background: #e7e5de; color: #0b0b0a; }
.pw__room::after { content: ''; position: absolute; inset: auto 0 0; height: 16%; background: linear-gradient(to top, rgba(0, 0, 0, .07), transparent); pointer-events: none; }
.pw__scene { position: absolute; inset: 0; transform-origin: 0 0; transition: transform 1.1s cubic-bezier(.7, 0, .2, 1); will-change: transform; }
/* the niche */
.pw__arch { position: absolute; left: 50%; bottom: 0; width: min(80%, 1040px); height: 90%; translate: -50% 0; border-radius: 999px 999px 0 0; background: #f5f3ed;
  box-shadow: inset 0 50px 90px -50px rgba(0, 0, 0, .2), inset 0 0 0 1px rgba(0, 0, 0, .035); }
/* the big brush word behind the tags */
.pw__word { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; margin: 0; text-align: center; font: 400 clamp(150px, 27vw, 440px)/1 'Comforter Brush', cursive; color: #0b0b0a;
  white-space: nowrap; pointer-events: none; transition: opacity .8s; }
.pw__row { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: clamp(12px, 3.2vw, 54px); padding-bottom: 4%; }
/* one tag: a pin, a string and a card with a hole, swinging slightly */
.tag { --tw: clamp(58px, 9.4vw, 150px); position: relative; width: var(--tw); padding: 0; border: 0; background: none; color: var(--t); cursor: pointer; font: inherit;
  font-size: calc(var(--tw) * .12); text-align: left; transition: opacity .6s, filter .6s; }
.tag__hang { display: block; transform-origin: 50% 0; animation: tagswing 5.5s ease-in-out var(--d) infinite alternate; transition: translate .45s var(--ease);
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .22)) drop-shadow(0 2px 2px rgba(0, 0, 0, .18)); }
@keyframes tagswing { from { rotate: -2.2deg; } to { rotate: 2.2deg; } }
.tag:hover .tag__hang, .tag:focus-visible .tag__hang { translate: 0 -8px; }
.tag:focus-visible { outline: none; }
.tag:focus-visible .tag__body { outline: 2px solid #0b0b0a; outline-offset: 3px; }
.tag__pin { position: relative; z-index: 3; display: block; width: 10px; height: 10px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9a9a95, #232321); }
.tag__string { position: relative; z-index: 2; display: block; width: 1px; height: calc(var(--tw) * .45 + 1.35em); margin: -2px auto 0; background: linear-gradient(#2c2c2a, #5a5a56); }
.tag__body { position: relative; display: flex; flex-direction: column; height: calc(var(--tw) * 1.75); margin-top: -1.35em; padding: 2.4em .95em 1em; background: var(--c);
  border-radius: .45em; clip-path: polygon(24% 0, 76% 0, 100% 11%, 100% 100%, 0 100%, 0 11%); }
.tag__hole { position: absolute; top: .95em; left: 50%; width: .8em; height: .8em; translate: -50% 0; border-radius: 50%; background: #e7e5de; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .45); }
.tag__n { font-size: .78em; opacity: .55; }
.tag__name { margin-top: .5em; font-size: 1.05em; line-height: 1.15; letter-spacing: -.01em; }
.tag__price { margin-top: auto; display: flex; flex-direction: column; font-size: 2.35em; font-weight: 300; line-height: .95; letter-spacing: -.045em; }
.tag__price small { font: 400 .32em/1.4 var(--mono); letter-spacing: 0; opacity: .65; }
/* camera on one tag */
.pw__room.is-zoom .tag:not(.is-on) { opacity: .25; filter: blur(2px); }
.pw__room.is-zoom .pw__word { opacity: .22; }
.tag.is-on .tag__hang { translate: 0 0; }
.pw__hint { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; color: rgba(11, 11, 10, .5); transition: opacity .4s; pointer-events: none; }
.is-zoom .pw__hint { opacity: 0; }
/* the frosted-glass card */
.pw__card { position: absolute; right: clamp(16px, 5vw, 84px); top: 50%; width: min(430px, 40%); max-height: 92%; overflow: auto; padding: clamp(20px, 2.3vw, 34px); border-radius: 4px;
  background: rgba(250, 249, 245, .45); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35);
  opacity: 0; translate: 28px -50%; transition: opacity .55s .35s, translate .8s var(--ease) .3s; }
.pw__card.is-in { opacity: 1; translate: 0 -50%; }
.pw__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 14px; color: rgba(11, 11, 10, .55); }
.pw__badge { padding: 4px 8px; border-radius: 3px; background: #0b0b0a; color: var(--acc); }
.pw__name { margin: 0; font-weight: 400; font-size: clamp(28px, 2.6vw, 44px); line-height: 1; letter-spacing: -.035em; }
.pw__text { margin: 12px 0 18px; color: rgba(11, 11, 10, .7); }
.pw__spec { margin: 0; display: grid; gap: 7px; padding: 14px 0; border-top: 1px solid rgba(11, 11, 10, .12); border-bottom: 1px solid rgba(11, 11, 10, .12); font-size: 14px; }
.pw__spec div { display: grid; grid-template-columns: 104px 1fr; gap: 10px; }
.pw__spec dt { padding-top: 3px; font-size: 11px; color: rgba(11, 11, 10, .5); }
.pw__spec dd { margin: 0; }
.pw__buy { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.pw__price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.pw__price b { font-weight: 300; font-size: clamp(40px, 3.6vw, 60px); line-height: .9; letter-spacing: -.045em; }
.pw__price small { font: 400 12px var(--mono); color: rgba(11, 11, 10, .55); }
.pw__cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 3px; background: #0b0b0a; color: #ecebe6; font-size: 15px; white-space: nowrap; transition: background .25s, color .25s; }
.pw__cta svg { width: 16px; height: 16px; }
.pw__cta:hover { background: var(--acc); color: #0b0b0a; }
.pw__back { margin-top: 16px; padding: 0; border: 0; background: none; color: rgba(11, 11, 10, .6); cursor: pointer; }
.pw__back:hover { color: #0b0b0a; }
@media (max-width: 699px) {
  .pw__room { height: 78svh; min-height: 580px; }
  .pw__row { gap: 8px; }
  .tag { --tw: calc((100vw - 2 * var(--pad) - 56px) / 5); font-size: calc(var(--tw) * .16); }
  .tag__name { display: none; }
  .tag__price { font-size: 1.62em; letter-spacing: -.05em; }
  .pw__word { font-size: 38vw; top: 46%; }
  .pw__card { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; max-height: 58%; translate: 0 30px; }
  .pw__card.is-in { translate: 0 0; }
  .pw__spec div { grid-template-columns: 1fr; gap: 0; }
  .pw__buy { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .tag__hang { animation: none; } .pw__scene { transition: none; } }

/* ================= round 10: language switch (js/i18n.js) ================= */
.top__lang { padding: 8px 11px; border: 1px solid rgba(236, 235, 230, .28); border-radius: 3px; font: 400 12px var(--mono); letter-spacing: .06em; color: var(--fg);
  transition: background .25s, color .25s, border-color .25s; }
.top__lang:hover { background: var(--fg); color: var(--bg); }
.top__price + .top__lang { margin-left: 0; }
.top__lang + .top__menu { margin-left: 0; }
html.on-light .top__lang { color: #0b0b0a; border-color: rgba(11, 11, 10, .3); }
html.on-light .top__lang:hover { background: #0b0b0a; color: #ecebe6; }

/* ================= round 11: the particles travel with the visitor (js/hero-particles.js) ================= */
.pj { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none; mix-blend-mode: difference; }
html.pj-on .eye__word { opacity: 0; }          /* the particles write it instead */
html.pj-on .orbit__head { opacity: 0; }        /* fades in when the particles arrive */

/* ================= round 12: smaller, tidier headings ================= */
.hero__name { font-size: clamp(40px, 5.3vw, 110px); }
.h2 { font-size: clamp(46px, 7.6vw, 136px); }
.about__text { font-size: clamp(26px, 3.2vw, 56px); }
.about__facts b { font-size: clamp(36px, 3.75vw, 62px); }
.eye__word { font-size: clamp(54px, 10.4vw, 190px); }
.process__list h3 { font-size: clamp(26px, 2.35vw, 36px); }
.contact__title { font-size: clamp(48px, 8.3vw, 150px); }
.pw__word { font-size: clamp(130px, 21vw, 340px); }
.menu__links a { font-size: clamp(38px, 6.4vw, 104px); }
@media (max-width: 700px) { .pw__word { font-size: 33vw; } }

/* ================= round 13: the view dives into the pupil; the works live in its dark ================= */
.eye { height: 320vh; }
.eye__pupil { background: radial-gradient(circle at 38% 34%, rgba(42, 42, 40, var(--hl, 1)) 0 6%, rgba(42, 42, 40, 0) 7%), var(--bg); }
.orb__cap { background: rgba(24, 24, 22, .88); }
.work__body { background: var(--bg); color: var(--fg); }
.work__body .label, .work__body .label span { color: var(--dim); }
.work__body .label span { color: var(--fg); }
.orb { color: var(--fg); }
.orb__cap .mono { color: rgba(236, 235, 230, .5); }
.orb--slot .orb__img { background: rgba(236, 235, 230, .05); border-color: rgba(236, 235, 230, .28); color: rgba(236, 235, 230, .6); }
.orb__img { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(236, 235, 230, .1); }
.orbit__hint { color: rgba(236, 235, 230, .45); }

/* ================= round 14: Work — three cases, main screens right / left / right; the titles are written by the particles ================= */
.work__body { padding-top: clamp(64px, 8vw, 140px); padding-bottom: clamp(64px, 8vw, 140px); }
.work__top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: clamp(24px, 4vw, 64px); }
.work__top .label { margin-bottom: 0; }
.work__note { margin: 0; color: var(--dim); }
.work__list { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 160px); }
.wk { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4.5vw, 88px); align-items: center; min-height: 86vh; }
.wk--l { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.wk--l .wk__text { order: 2; }
.wk__n { display: flex; gap: 14px; margin: 0 0 clamp(18px, 2vw, 28px); color: var(--dim); }
.wk__n span { color: var(--fg); }
.wk__title { margin: 0; font-weight: 500; font-size: clamp(56px, 7.6vw, 136px); line-height: .92; letter-spacing: -.045em; white-space: nowrap; }
.wk__title span { display: block; }
html.pj-on .wk__title { opacity: 0; }          /* the particles write it */
.wk__desc { max-width: 34ch; margin: clamp(22px, 2.4vw, 36px) 0 0; color: rgba(236, 235, 230, .72); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; }
.wk__svc { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px; max-width: 470px; margin-top: clamp(22px, 2.4vw, 34px);
  padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--fg); }
.wk__svc .mono { color: var(--dim); }
.wk__svc b { font-weight: 400; transition: color .25s; }
.wk__svc:hover b { color: var(--acc); }
.wk__tag { display: inline-block; margin: 18px 0 0; padding: 5px 9px; border: 1px solid var(--line); border-radius: 3px; color: var(--dim); }
.wk__shot { display: block; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #151514;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(236, 235, 230, .08); }
.wk__shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wk__shot:hover img { transform: scale(1.03); }
@media (max-width: 899px) {
  .wk, .wk--l { grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; }
  .wk--l .wk__text { order: 0; }
  .wk__title { font-size: clamp(52px, 16vw, 110px); }
}

/* ================= round 15: the library scrolls sideways — pinned, the cases slide in from the right ================= */
.work__bar { display: none; }
html.hlib .work__body { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; padding: 0; background: transparent; }
html.hlib .work__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; overflow: clip; display: flex; flex-direction: column;
  padding: clamp(80px, 10vh, 120px) 0 clamp(64px, 10vh, 100px); background: var(--bg); opacity: 0; }
html.hlib .work__top { padding: 0 var(--pad); margin-bottom: 0; }
html.hlib .work__list { flex: 1 1 auto; min-height: 0; flex-direction: row; gap: 0; will-change: transform; }
html.hlib .wk { flex: 0 0 100%; min-height: 0; padding: 0 var(--pad); }
html.hlib .work__bar { display: block; position: relative; flex: none; height: 1px; margin: 0 var(--pad); background: var(--line); }
html.hlib .work__bar i { position: absolute; inset: 0; background: var(--fg); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 899px) {
  html.hlib .work__pin { padding: 72px 0 56px; }
  html.hlib .wk { align-content: center; gap: 20px; }
  html.hlib .wk__n { margin-bottom: 12px; }
  html.hlib .wk__desc { margin-top: 14px; font-size: 15px; }
  html.hlib .wk__svc { margin-top: 14px; padding: 12px 0; }
  html.hlib .wk__tag { margin-top: 12px; }
  html.hlib .wk__shot { max-height: 30vh; max-height: 30svh; }
}

/* ================= round 16: the library is a ring of main screens seen from inside; the case info changes in place below ================= */
.ring { display: none; }
html.hlib .ring { display: block; position: relative; flex: 1 1 auto; min-height: 0; margin: clamp(10px, 2vh, 28px) 0; overflow: hidden; overflow: clip; perspective-origin: 50% 50%; }
html.hlib .ring__in { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
html.hlib .ring__card { position: absolute; left: 0; top: 0; overflow: hidden; border-radius: 6px; background: #151514; backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(236, 235, 230, .08); }
html.hlib .ring__card img { display: block; width: 100%; height: 100%; object-fit: cover; }
html.hlib .work__list { flex: none; display: grid; transform: none !important; will-change: auto; padding: 0 var(--pad); margin-bottom: clamp(22px, 3.5vh, 40px); }
html.hlib .wk { grid-area: 1 / 1; display: block; flex: none; height: auto; min-height: 0; padding: 0;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
html.hlib .wk.is-on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease) .12s, visibility 0s; }
html.hlib .wk__shot { display: none; }
html.hlib .wk__text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto auto auto; column-gap: var(--gut); align-items: end; }   /* on the grid: title cols 1–8, text 9–12 */
html.hlib .wk__n { grid-column: 1 / 9; grid-row: 1; }
html.hlib .wk__title { grid-column: 1 / 9; grid-row: 2 / span 3; align-self: end; font-size: clamp(44px, 5.4vw, 96px); }
html.hlib .wk__desc { grid-column: 9 / 13; grid-row: 2; margin-top: 0; }
html.hlib .wk__svc { grid-column: 9 / 13; grid-row: 3; margin-top: clamp(14px, 1.6vw, 22px); }
html.hlib .wk__tag { grid-column: 9 / 13; grid-row: 4; justify-self: start; margin-top: 12px; }
@media (max-width: 899px) {
  html.hlib .wk__text { grid-template-columns: minmax(0, 1fr); }
  html.hlib .wk__n, html.hlib .wk__title, html.hlib .wk__desc, html.hlib .wk__svc, html.hlib .wk__tag { grid-column: 1; grid-row: auto; }
  html.hlib .wk__title { font-size: clamp(40px, 12vw, 72px); }
  html.hlib .wk__desc { margin-top: 12px; }
}

/* ================= round 17: the sections sit in the middle of the header, no menu button ================= */
.top__nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: clamp(18px, 2.6vw, 40px); }
.top__nav a { position: relative; padding: 6px 0; font-size: 14px; color: rgba(236, 235, 230, .62); transition: color .25s; }
.top__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 1px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.top__nav a:hover, .top__nav a.is-on { color: var(--fg); }
.top__nav a:hover::after, .top__nav a.is-on::after { transform: scaleX(1); }
html.on-light .top__nav a { color: rgba(11, 11, 10, .6); }
html.on-light .top__nav a:hover, html.on-light .top__nav a.is-on { color: var(--bg); }
@media (max-width: 699px) {
  .top__price { display: none; }                  /* "Ціни" is already in the middle */
  .top__lang, .top__price + .top__lang { margin-left: auto; }
  .top__nav { gap: 14px; }
  .top__nav a { font-size: 13px; }
}

/* ================= round 18: capital header links that dissolve under the cursor; the price button beside the figure; a gentler start ================= */
.top__nav a { font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.top__nav a.is-fx { -webkit-text-fill-color: transparent; }        /* the specks (canvas.nav-fx) stand in for the word */
.nav-fx { position: fixed; left: 0; top: 0; width: 100%; height: 140px; z-index: 41; pointer-events: none; }
@media (max-width: 699px) { .top__nav { gap: 12px; } .top__nav a { font-size: 12px; letter-spacing: .04em; } }

/* the price button: next to the figure, no green */
.price-chip { background: rgba(236, 235, 230, .08); color: var(--fg); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), background .3s; }
.price-chip:hover { background: rgba(236, 235, 230, .15); box-shadow: none; }
.price-chip svg { background: var(--fg); color: var(--bg); }
.price-chip--fig { position: absolute; z-index: 7; margin: 0; white-space: nowrap; }
@media (max-width: 699px) { .price-chip--fig .price-chip__label { display: none; } .price-chip--fig { gap: 10px; padding: 8px 8px 8px 14px; } .price-chip--fig .price-chip__value { font-size: 15px; } }

/* after the picture has formed, the rest comes in one after another, slowly */
@keyframes introIn { from { opacity: 0; transform: translateY(12px); filter: blur(6px); } }
html.is-loading .top > :not(nav), html.is-loading .top__nav a, html.is-loading .hero__hint, html.is-loading .hero__side > *, html.is-loading .price-chip, html.is-loading .corner { opacity: 0; }
html.intro .top > :not(nav), html.intro .top__nav a, html.intro .hero__hint, html.intro .hero__side > *, html.intro .price-chip, html.intro .corner {
  animation: introIn 1.6s var(--ease) both; animation-delay: var(--in, .5s); }
html.intro .hero__name span { animation-duration: 1.9s; animation-delay: .35s; }
html.intro .top__logo { --in: .55s; }
html.intro .top__nav a:nth-child(1) { --in: .7s; }
html.intro .top__nav a:nth-child(2) { --in: .8s; }
html.intro .top__nav a:nth-child(3) { --in: .9s; }
html.intro .top__nav a:nth-child(4) { --in: 1s; }
html.intro .top__lang { --in: 1.1s; }
html.intro .price-chip { --in: 1.25s; }
html.intro .hero__hint { --in: 1.4s; }
html.intro .hero__side > :nth-child(1) { --in: 1.35s; }
html.intro .hero__side > :nth-child(2) { --in: 1.5s; }
html.intro .hero__side > :nth-child(3) { --in: 1.65s; }
html.intro .corner { --in: 1.8s; }

/* round 19: no underline under the header links (the colour alone marks hover and the current section) */
.top__nav a::after { display: none; }

/* ================= round 20: a selection frame round the figure; the first screen comes in slower ================= */
.fig-sel { position: absolute; z-index: 7; pointer-events: none; }
.fig-sel__e { position: absolute; background: rgba(236, 235, 230, .7); }
.fig-sel__e--t { left: 0; right: 0; top: 0; height: 1px; transform-origin: 0 50%; }
.fig-sel__e--r { top: 0; bottom: 0; right: 0; width: 1px; transform-origin: 50% 0; }
.fig-sel__e--b { left: 0; right: 0; bottom: 0; height: 1px; transform-origin: 100% 50%; }
.fig-sel__e--l { top: 0; bottom: 0; left: 0; width: 1px; transform-origin: 50% 100%; }
.fig-sel__h { position: absolute; width: 7px; height: 7px; margin: -3px; background: var(--bg); border: 1px solid rgba(236, 235, 230, .9); }
.fig-sel__h--tl { left: 0; top: 0; } .fig-sel__h--tr { right: 0; top: 0; } .fig-sel__h--br { right: 0; bottom: 0; } .fig-sel__h--bl { left: 0; bottom: 0; }
.fig-sel__size { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); padding: 3px 7px; border-radius: 3px; white-space: nowrap;
  background: rgba(236, 235, 230, .92); color: var(--bg); font-size: 10px; letter-spacing: .04em; }
html.is-loading .fig-sel { visibility: hidden; }
@keyframes selX { from { transform: scaleX(0); } }
@keyframes selY { from { transform: scaleY(0); } }
@keyframes selH { from { opacity: 0; transform: scale(.2); } }
@keyframes selL { from { opacity: 0; transform: translate(-50%, 6px); } }
html.intro .fig-sel__e--t { animation: selX .7s var(--ease) .75s both; }
html.intro .fig-sel__e--r { animation: selY .7s var(--ease) 1.05s both; }
html.intro .fig-sel__e--b { animation: selX .7s var(--ease) 1.35s both; }
html.intro .fig-sel__e--l { animation: selY .7s var(--ease) 1.65s both; }
html.intro .fig-sel__h { animation: selH .6s var(--ease) both; }
html.intro .fig-sel__h--tl { animation-delay: .7s; } html.intro .fig-sel__h--tr { animation-delay: 1s; }
html.intro .fig-sel__h--br { animation-delay: 1.3s; } html.intro .fig-sel__h--bl { animation-delay: 1.6s; }
html.intro .fig-sel__size { animation: selL .9s var(--ease) 2s both; }

/* the rest: slower, softer, a little later — after the figure and its glow have settled */
@keyframes introIn { from { opacity: 0; transform: translateY(18px); filter: blur(10px); } }
html.intro .top > :not(nav), html.intro .top__nav a, html.intro .hero__hint, html.intro .hero__side > *, html.intro .price-chip, html.intro .corner { animation-duration: 2.2s; }
html.intro .hero__name span { animation-duration: 2.4s; animation-delay: .6s; }
html.intro .top__logo { --in: .8s; }
html.intro .top__nav a:nth-child(1) { --in: 1s; }
html.intro .top__nav a:nth-child(2) { --in: 1.12s; }
html.intro .top__nav a:nth-child(3) { --in: 1.24s; }
html.intro .top__nav a:nth-child(4) { --in: 1.36s; }
html.intro .top__lang { --in: 1.5s; }
html.intro .price-chip { --in: 1.9s; }
html.intro .hero__hint { --in: 2.1s; }
html.intro .hero__side > :nth-child(1) { --in: 1.7s; }
html.intro .hero__side > :nth-child(2) { --in: 1.9s; }
html.intro .hero__side > :nth-child(3) { --in: 2.1s; }
html.intro .corner { --in: 2.3s; }

/* ================= round 21: the selection frame moves to the price button and is dragged out like a mouse selection ================= */
.fig-sel { box-sizing: border-box; border: 1px solid rgba(236, 235, 230, .75); }
.fig-sel__e { display: none; }
.fig-sel__h { margin: -4px; }
.fig-sel__size { top: calc(100% + 9px); }
.fig-sel__cur { position: absolute; right: -11px; bottom: -17px; width: 14px; height: 18px; opacity: 0; fill: #ecebe6; stroke: #0b0b0a; stroke-width: 1.2; stroke-linejoin: round; }
/* the price button's outline is thinner: a hairline on dense screens, a fainter 1px line elsewhere */
.fig-sel { border-color: rgba(236, 235, 230, .38); }
@media (min-resolution: 2dppx) { .fig-sel { border-width: .5px; border-color: rgba(236, 235, 230, .7); } }
@keyframes selDrag { from { width: 0; height: 0; } }
@keyframes selFill { 0%, 80% { background: rgba(236, 235, 230, .12); } 100% { background: rgba(236, 235, 230, 0); } }
@keyframes selCur { 0% { opacity: 0; } 8%, 78% { opacity: 1; } 100% { opacity: 0; } }
@keyframes chipIn { from { opacity: 0; filter: blur(10px); } }
html.intro .fig-sel { animation: selDrag 1s cubic-bezier(.55, 0, .25, 1) 2.2s both, selFill 1.5s linear 2.2s both; }
html.intro .fig-sel__cur { animation: selCur 1.6s linear 2.05s both; }
html.intro .fig-sel__h { animation: selH .5s var(--ease) both; }
html.intro .fig-sel__h--tl { animation-delay: 3.2s; } html.intro .fig-sel__h--tr { animation-delay: 3.28s; }
html.intro .fig-sel__h--br { animation-delay: 3.36s; } html.intro .fig-sel__h--bl { animation-delay: 3.44s; }
html.intro .fig-sel__size { animation: selL .8s var(--ease) 3.5s both; }
html.intro .price-chip { animation-name: chipIn; --in: 1.6s; }      /* only fades in, so it stays exactly inside its frame */

/* round 22: the price button has no background of its own — the selection frame is its outline */
.price-chip--fig, .price-chip--fig:hover { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; transform: none; }
.price-chip--fig:hover .price-chip__value { color: #fff; }

/* round 23: the price button's text is one line of one font and size */
html .price-chip--fig .price-chip__label, html .price-chip--fig .price-chip__value, html .price-chip--fig .price-chip__value b {
  font-family: inherit; font-size: 16px; font-weight: 400; letter-spacing: -.01em; line-height: 1.2; }
.price-chip--fig { gap: 6px; font-family: var(--sans, inherit); }
.price-chip--fig svg { margin-left: 8px; }
@media (max-width: 699px) { .price-chip--fig .price-chip__label, .price-chip--fig .price-chip__value, .price-chip--fig .price-chip__value b { font-size: 15px; } }

/* round 24: every case opens its own page (case.html) */
.wk__open { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 12px 10px 16px; border: 1px solid rgba(236, 235, 230, .4); border-radius: 3px;
  color: var(--fg); font-size: 15px; transition: background .3s, color .3s; }
.wk__open svg { width: 18px; height: 18px; }
.wk__open:hover { background: var(--fg); color: var(--bg); }
.wk__tag + .wk__open { margin-left: 10px; }
html.hlib .wk__open { grid-column: 9 / 13; grid-row: 4; justify-self: end; align-self: end; margin: 12px 0 0; }
html.hlib .ring { pointer-events: auto; }
html.hlib .ring__card { cursor: pointer; transition: box-shadow .3s; }
html.hlib .ring__card:hover { box-shadow: 0 0 0 1px rgba(236, 235, 230, .5); }
@media (max-width: 899px) {
  html.hlib .wk__n { grid-row: 1; } html.hlib .wk__title { grid-row: 2; } html.hlib .wk__desc { grid-row: 3; } html.hlib .wk__svc { grid-row: 4; }
  html.hlib .wk__tag { grid-row: 5; align-self: center; } html.hlib .wk__open { grid-column: 1; grid-row: 5; justify-self: end; align-self: center; margin-top: 12px; padding: 8px 10px 8px 14px; font-size: 14px; }
}

/* ================= round 26: block 02 tells what you get, 05 is how to order, 06 the questions ================= */
.offer { margin-top: clamp(64px, 9vw, 140px); }
.offer__head { color: var(--dim); text-transform: uppercase; font-weight: 400; font-size: 13px; letter-spacing: .04em; margin: 0 0 26px; }
.offer__head--trust { margin: clamp(64px, 8vw, 120px) 0 26px; }
.offer__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px var(--pad); }
.offer__list li { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.offer__list .mono { color: var(--dim); }
.offer__list h4 { margin: 0; font-weight: 500; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.05; letter-spacing: -.035em; }
.offer__list p { color: var(--dim); max-width: 34ch; }
.offer__list li:nth-child(3n + 2) { transition-delay: .07s; } .offer__list li:nth-child(3n) { transition-delay: .14s; }
.about__head + .about__facts, .offer__head--trust + .about__facts { margin-top: 0; }
.about__facts { grid-template-columns: repeat(4, 1fr); }
.about__facts li:nth-child(4) { transition-delay: .24s; }
.process__cta { display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(48px, 6vw, 80px); padding: 14px 16px 14px 24px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 17px; transition: border-color .3s, background .3s, color .3s; }
.process__cta svg { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--fg); color: var(--bg); transition: transform .35s var(--ease); }
.process__cta:hover { border-color: var(--fg); }
.process__cta:hover svg { transform: rotate(45deg); }
.process { padding-bottom: clamp(48px, 6vw, 100px) !important; }
.faq { padding-top: clamp(48px, 6vw, 100px) !important; }
.faq__list { border-top: 1px solid var(--line); max-width: 1100px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: grid; grid-template-columns: 40px 1fr 22px; align-items: center; gap: 12px; padding: clamp(18px, 2vw, 26px) 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .mono { color: var(--dim); }
.faq__item summary b { font-weight: 500; font-size: clamp(20px, 2vw, 30px); letter-spacing: -.03em; line-height: 1.1; }
.faq__item summary i { position: relative; width: 22px; height: 22px; }
.faq__item summary i::before, .faq__item summary i::after { content: ''; position: absolute; left: 3px; right: 3px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .4s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item summary:hover b { color: var(--fg); }
.faq__item p { margin: 0; padding: 0 34px clamp(22px, 2.4vw, 30px) 52px; max-width: 62ch; color: var(--dim); font-size: 17px; }
.faq__item:nth-child(n) { transition-delay: 0s; }
@media (max-width: 1100px) { .offer__list { grid-template-columns: repeat(2, 1fr); } .about__facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px) {
  .offer__list { grid-template-columns: 1fr; gap: 30px; }
  .about__facts { grid-template-columns: 1fr; }
  .faq__item summary { grid-template-columns: 30px 1fr 20px; }
  .faq__item p { padding: 0 0 22px 42px; font-size: 16px; }
}

/* ================= round 27: the layout grid ================= */
/* 12 columns from 900px, 8 from 700px, 4 on a phone; outer margin and gutter are both --pad.
   Every block lies on these lines: 2 / 3 / 4 / 6 equal columns all fall on them because their gap is the same --pad. */
:root { --cols: 12; --gut: var(--pad); }
@media (max-width: 899px) { :root { --cols: 8; } }
@media (max-width: 699px) { :root { --cols: 4; } }
.grid-ov { position: fixed; inset: 0; z-index: 9999; pointer-events: none; display: none; padding: 0 var(--pad); column-gap: var(--gut); grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
html.show-grid .grid-ov { display: grid; }
.grid-ov i { background: rgba(255, 64, 64, .09); box-shadow: inset 1px 0 rgba(255, 64, 64, .5), inset -1px 0 rgba(255, 64, 64, .5); }
@media (max-width: 899px) { .grid-ov i:nth-child(n+9) { display: none; } }
@media (max-width: 699px) { .grid-ov i:nth-child(n+5) { display: none; } }

/* the blocks put on the grid (round 27) */
@media (min-width: 900px) {
  /* first screen: the photo takes columns 1–8, the side column 9–12 (its border sits in the gutter before column 9) */
  .hero { grid-template-columns: minmax(0, 1fr) calc((100% - 13 * var(--pad)) / 3 + 5 * var(--pad)); }
  /* prices: the heading on columns 1–8, the lead on 9–12 — the same line as the side column and the case text */
  .prices__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
  .prices__head .h2 { grid-column: 1 / 9; }
  .prices__lead { grid-column: 9 / 13; }
  /* contact: the same as the prices head — the title on columns 1–8, the line under it on 9–12, level with the title's last line */
  .contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: end; }
  .contact > .label, .contact__links { grid-column: 1 / -1; }
  .contact__title { grid-column: 1 / 9; }
  .contact__lead { grid-column: 9 / 13; margin-top: 0; max-width: none; }
}
@media (min-width: 700px) and (max-width: 899px) { .about__facts { column-gap: var(--gut); } }
/* questions: the number in column 1, the question and the answer from column 2, the plus at the right edge */
.faq__list { max-width: none; }
.faq__item summary { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gut); }
.faq__item summary .mono { grid-column: 1; }
.faq__item summary b { grid-column: 2 / -2; }
.faq__item summary i { grid-column: -2 / -1; justify-self: end; }
.faq__item p { padding: 0 0 clamp(22px, 2.4vw, 30px) calc((100% - (var(--cols) - 1) * var(--gut)) / var(--cols) + var(--gut));
  max-width: calc(8 * (100% - (var(--cols) - 1) * var(--gut)) / var(--cols) + 7 * var(--gut)); }
/* footer: © on columns 1–4, the photo credit from column 9, "back to top" at the right edge */
.foot { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gut); row-gap: 10px; }
.foot > :nth-child(1) { grid-column: 1 / 5; }
.foot > :nth-child(2) { grid-column: 9 / -2; }
.foot > :nth-child(3) { grid-column: -2 / -1; justify-self: end; white-space: nowrap; }
@media (max-width: 899px) { .foot > :nth-child(1) { grid-column: 1 / 4; } .foot > :nth-child(2) { grid-column: 5 / -2; } }
@media (max-width: 699px) {
  .faq__item summary { row-gap: 8px; }
  .faq__item summary .mono { grid-column: 1 / -1; }
  .faq__item summary b { grid-column: 1 / -2; }
  .faq__item p { padding-left: 0; max-width: none; }
  .foot > :nth-child(1) { grid-column: 1 / 3; }
  .foot > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .foot > :nth-child(3) { grid-column: 3 / -1; grid-row: 1; }
}

/* ================= round 28: smaller, quieter headings; the optical edge (js: .ol lines) ================= */
.h2, .contact__title { font-size: clamp(38px, 4.4vw, 84px); line-height: .92; }
.hero__name { left: var(--pad); }
.ol { display: block; }
.hero__name .ol { display: block; animation: none; }

/* ================= round 29: prices as a plain list on the grid (instead of the wall of tags) ================= */
.prices__list.pl { display: block; border-top: 1px solid var(--line); }
.pl__row { border-bottom: 1px solid var(--line); }
.pl__row summary { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gut); align-items: baseline;
  padding: clamp(22px, 2.4vw, 34px) 0; cursor: pointer; list-style: none; }
.pl__row summary::-webkit-details-marker { display: none; }
.pl__n { grid-column: 1; color: var(--dim); }
.pl__name { grid-column: 2 / 5; display: flex; flex-direction: column; gap: 10px; }
.pl__name b { font-weight: 400; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.08; letter-spacing: -.03em; transition: color .3s; }
.pl__badge { align-self: flex-start; font-style: normal; color: var(--acc); }
.pl__text { grid-column: 5 / 9; color: var(--dim); max-width: 36ch; }
.pl__time { grid-column: 9 / 10; color: var(--dim); white-space: nowrap; }
.pl__price { grid-column: 10 / 12; justify-self: end; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.pl__price b { font-weight: 300; font-size: clamp(30px, 2.8vw, 48px); line-height: 1; letter-spacing: -.04em; }
.pl__price small { font: 400 12px var(--mono); color: var(--dim); }
.pl__row--hot .pl__price b { color: var(--acc); }
.pl__pm { grid-column: 12; justify-self: end; position: relative; width: 22px; height: 22px; align-self: center; }
.pl__pm::before, .pl__pm::after { content: ''; position: absolute; left: 3px; right: 3px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .4s var(--ease); }
.pl__pm::after { transform: rotate(90deg); }
.pl__row[open] .pl__pm::after { transform: rotate(0); }
.pl__row summary:hover .pl__name b { color: var(--acc); }
.pl__more { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gut); align-items: end; padding: 0 0 clamp(26px, 2.8vw, 40px); }
.pl__row[open] .pl__more { animation: plIn .6s var(--ease) both; }
@keyframes plIn { from { opacity: 0; transform: translateY(-8px); } }
.pl__items { grid-column: 5 / 9; display: grid; gap: 8px; color: var(--fg); font-size: 16px; }
.pl__items li { display: flex; gap: 12px; }
.pl__items li::before { content: '+'; font-family: var(--mono); color: var(--dim); }
.pl__cta { grid-column: 10 / 13; justify-self: end; display: inline-flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 15px; transition: border-color .3s; }
.pl__cta svg { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--fg); color: var(--bg); transition: transform .35s var(--ease); }
.pl__cta:hover { border-color: var(--fg); }
.pl__cta:hover svg { transform: rotate(45deg); }
.prices__always { margin-top: clamp(28px, 3vw, 44px); }
@media (max-width: 899px) {
  /* number; name; the line; then the time on the left and the price on the right of one row */
  .pl__row summary { row-gap: 12px; }
  .pl__n { grid-column: 1 / -1; grid-row: 1; }
  .pl__name { grid-column: 1 / -1; grid-row: 2; }
  .pl__text { grid-column: 1 / -1; grid-row: 3; }
  .pl__time { grid-column: 1 / 3; grid-row: 4; }
  .pl__price { grid-column: 3 / -1; grid-row: 4; }
  .pl__pm { display: none; }
  .pl__items { grid-column: 1 / -1; margin-bottom: 20px; }
  .pl__cta { grid-column: 1 / -1; justify-self: start; }
}

/* ================= round 30: prices as a mechanical board (js/price-board.js) ================= */
.prices__list.tb { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gut); row-gap: 44px; align-items: start; }
.tb__list { grid-column: 1 / 6; display: grid; grid-template-columns: subgrid; border-top: 1px solid var(--line); }
.tb__row { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; padding: clamp(18px, 1.9vw, 26px) 0; margin: 0;
  border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--dim); font: inherit; text-align: left; cursor: pointer; transition: color .3s; }
.tb__n { grid-column: 1; transition: color .3s; }
.tb__name { grid-column: 2 / -2; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.1; letter-spacing: -.03em; }
.tb__time { grid-column: -2 / -1; justify-self: end; white-space: nowrap; }
.tb__row:hover, .tb__row.is-on { color: var(--fg); }
.tb__row.is-on .tb__n { color: var(--acc); }
.tb__star { display: inline-block; width: 6px; height: 6px; margin: 0 0 .2em 10px; border-radius: 50%; background: var(--acc); vertical-align: middle; }
.tb__panel { grid-column: 7 / 13; }
.tb__lab { display: flex; justify-content: space-between; margin: 0 0 12px; color: var(--dim); text-transform: uppercase; }
.tb__lab--time { margin-top: 26px; }
/* a drum: a window one figure high, the strip of figures rolls behind it; shaded top and bottom like a cylinder, split in the middle */
.tb__price { display: flex; gap: clamp(4px, .5vw, 8px); font: 300 clamp(56px, 7.4vw, 132px)/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.tb__cell { position: relative; flex: 1 1 0; height: 1.25em; overflow: hidden; border-radius: 8px; text-align: center;
  background: linear-gradient(#1b1b1a, #121211 50%, #161615 50%, #1c1c1b); box-shadow: inset 0 0 0 1px rgba(236, 235, 230, .07), 0 18px 40px -24px rgba(0, 0, 0, .9); }
.tb__cell::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .6), transparent 30%, transparent 70%, rgba(0, 0, 0, .6)); }
.tb__cell::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; z-index: 2; height: 1px; background: rgba(0, 0, 0, .8); box-shadow: 0 1px 0 rgba(236, 235, 230, .05); }
.tb__strip { display: block; will-change: transform; transition: filter .3s; }
.tb__strip i { display: block; height: 1.25em; line-height: 1.25em; font-style: normal; }
.tb__cell.is-spin .tb__strip { filter: blur(.8px); }
.tb__board.is-hot .tb__strip { color: var(--acc); }
/* a flap: the letters flip through like a station board */
.tb__flaps { display: flex; gap: 4px; }
.tb__flap { position: relative; display: grid; place-items: center; width: clamp(22px, 2.3vw, 36px); height: clamp(32px, 3.1vw, 48px); border-radius: 4px; overflow: hidden; perspective: 200px;
  background: linear-gradient(#1b1b1a, #131312 50%, #171716 50%, #1c1c1b); box-shadow: inset 0 0 0 1px rgba(236, 235, 230, .06); font: 500 clamp(14px, 1.4vw, 21px)/1 var(--mono); }
.tb__flap::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .8); }
.tb__flap b { display: block; font-weight: 500; }
.tb__flap b.f { animation: tbFlap .13s ease-out; }
@keyframes tbFlap { from { transform: rotateX(-80deg); opacity: .35; } }
.tb__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tb__info { min-height: 330px; margin-top: clamp(30px, 3.2vw, 48px); transition: opacity .22s, transform .35s var(--ease); }
.tb__info.is-out { opacity: 0; transform: translateY(6px); }
.tb__badge { margin: 0 0 10px; color: var(--acc); }
.tb__title { margin: 0 0 10px; font-weight: 400; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.1; letter-spacing: -.03em; }
.tb__text { max-width: 46ch; margin: 0 0 18px; color: var(--dim); }
.tb__items { display: grid; gap: 8px; margin: 0 0 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; }
.tb__items li { display: flex; gap: 12px; }
.tb__items li::before { content: '+'; font-family: var(--mono); color: var(--dim); }
.tb__cta { display: inline-flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; transition: border-color .3s; }
.tb__cta svg { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--fg); color: var(--bg); transition: transform .35s var(--ease); }
.tb__cta:hover { border-color: var(--fg); }
.tb__cta:hover svg { transform: rotate(45deg); }
@media (max-width: 899px) {
  /* phone: the board on top, sticking under the header while you go down the list; then what is included */
  .prices__list.tb { row-gap: 0; }
  .tb__panel { display: contents; }
  .tb__board { order: -1; grid-column: 1 / -1; position: sticky; top: calc(var(--pad) + 50px); z-index: 3; padding: 14px 0 18px; background: var(--bg); }
  .tb__list { grid-column: 1 / -1; }
  .tb__info { grid-column: 1 / -1; min-height: 0; }
  .tb__cell { border-radius: 6px; }
  .tb__lab { margin-bottom: 8px; }
  .tb__lab--time { margin-top: 14px; }
  .tb__row { padding: 16px 0; }
  .tb__name { font-size: 19px; }
}

/* ================= round 25 (test variant, index.html?work=flip): the library as an open book whose pages turn ================= */
html.lib-book .ring { overflow: visible; }
html.lib-book .flip__in { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
html.lib-book .book__page, html.lib-book .book__left { position: absolute; cursor: pointer; }
html.lib-book .book__page { transform-origin: 0 50%; transform-style: preserve-3d; will-change: transform; }
html.lib-book .book__face { position: absolute; inset: 0; overflow: hidden; background: #151514; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(236, 235, 230, .1); }
html.lib-book .book__face--back { transform: rotateY(180deg); }
/* the outer corners are round, the edges at the spine are straight; a soft shadow lies along the spine */
html.lib-book .book__page .book__face--front { border-radius: 2px 10px 10px 2px; }
html.lib-book .book__page .book__face--back, html.lib-book .book__left .book__face { border-radius: 10px 2px 2px 10px; }
html.lib-book .book__face::after { content: ''; position: absolute; top: 0; bottom: 0; width: 18%; pointer-events: none; }
html.lib-book .book__page .book__face--front::after { left: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .45), transparent); }
html.lib-book .book__page .book__face--back::after, html.lib-book .book__left .book__face::after { right: 0; background: linear-gradient(270deg, rgba(0, 0, 0, .45), transparent); }
html.lib-book .book__bar { display: flex; gap: 6px; padding: 10px 14px; background: #1b1b1a; border-bottom: 1px solid rgba(236, 235, 230, .06); }
html.lib-book .book__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(236, 235, 230, .16); }
html.lib-book .book__face img { display: block; width: 100%; height: auto; }
html.lib-book .book__shade { position: absolute; inset: 0; background: #000; pointer-events: none; opacity: var(--shf, 0); }
html.lib-book .book__face--back .book__shade { opacity: var(--shb, 0); }
html.lib-book .book__left .book__shade { opacity: 0; }
html.lib-book .book__end { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--dim); }
html.lib-book .book__spine { position: absolute; width: 2px; margin-left: -1px; background: rgba(0, 0, 0, .6); box-shadow: 0 0 18px 6px rgba(0, 0, 0, .55); z-index: 400; pointer-events: none; }
@media (max-width: 699px) {
  html.lib-book .book__bar { padding: 7px 10px; } html.lib-book .book__bar i { width: 7px; height: 7px; }
  html.lib-book .book__page .book__face--front { border-radius: 4px 8px 8px 4px; }
}
