/* Layout: SITE123 "Art In Glass" look. Black bar header with centred logo, full-bleed blurred video hero,
   white single-column sections with centred condensed titles and a short teal rule. */
:root {
  --black: #000;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e3e3e3;
  --soft: #f4f4f4;
  --teal: #37718d;
  --teal-dark: #2b5a71;
  --hl: #e8742a;
  --head: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  --bar: 56px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); }
body { margin: 0; background: #fff; color: var(--ink); font: 15px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--teal); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.narrow { max-width: 820px; }

/* header bar */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--black); }
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--black); color: #fff; }
.bar .in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--bar); padding-left: var(--gut); padding-right: var(--gut-r); }
.ib { position: relative; background: none; border: 0; color: #fff; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; border-radius: 6px; text-decoration: none; }
.ib svg { width: 22px; height: 22px; fill: currentColor; }
.ib:hover { background: rgba(255, 255, 255, .1); }
.logo img { height: 34px; width: auto; }
.bar .right { display: flex; justify-content: flex-end; gap: 2px; }
.ib.wa { color: #25d366; }
.ib .badge { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; border-radius: 9px; background: var(--teal); color: #fff; font-size: 11px; line-height: 17px; text-align: center; padding: 0 4px; }
.ib .badge[hidden] { display: none; }
.bar .in { grid-template-areas: "left logo right"; }
.bar .left { grid-area: left; } .bar .logo { grid-area: logo; } .bar .right { grid-area: right; } .desk-nav { grid-area: nav; }
.desk-nav { display: none; }
@media (min-width: 1000px) {
  .bar .in { grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav right"; gap: 28px; }
  .bar .left { display: none; }
  .desk-nav { display: flex; gap: 26px; justify-content: center; }
  .desk-nav a { color: #fff; text-decoration: none; font: 400 14px var(--head); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
  .desk-nav a:hover { opacity: 1; }
}

/* full-screen overlays (menu, contact, phone, language) */
.ov { position: fixed; inset: 0; z-index: 2147482500; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; padding: calc(70px + env(safe-area-inset-top, 0px)) var(--gut-r) calc(40px + env(safe-area-inset-bottom, 0px)) var(--gut); overflow-y: auto; }
.ov[hidden] { display: none; }
.ov .x { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); left: calc(12px + env(safe-area-inset-left, 0px)); width: 46px; height: 46px; border: 0; background: none; color: #fff; cursor: pointer; }
.ov .x svg { width: 30px; height: 30px; fill: currentColor; }
.ov-in { width: min(100%, 440px); }
.menu-list { list-style: none; margin: 0; padding: 0; text-align: center; display: grid; gap: 6px; }
.menu-list a { color: #fff; text-decoration: none; font: 400 clamp(18px, 4.6vw, 24px)/1.6 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.menu-list a:hover { color: #9fc6d8; }
.menu-tools { display: flex; justify-content: center; gap: 10px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.menu-tools button, .menu-tools a { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #000; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-tools svg { width: 20px; height: 20px; fill: currentColor; }
.menu-tools .wa { background: #25d366; color: #fff; }
.form h2 { font: 400 26px var(--head); margin: 0 0 4px; }
.form p { margin: 0 0 18px; opacity: .85; font-size: 14px; }
.form label { display: block; font-weight: 600; font-size: 13px; margin: 14px 0 6px; }
.form input, .form textarea { width: 100%; border: 0; border-radius: 2px; padding: 11px 12px; font: 16px var(--body); color: #222; background: #fff; }
.form textarea { min-height: 110px; resize: vertical; }
.btn-teal { display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: 100%; margin-top: 18px; border: 0; background: var(--teal); color: #fff; padding: 13px; font: 600 14px var(--body); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; border-radius: 2px; text-decoration: none; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-teal[disabled] { opacity: .6; cursor: wait; }
.form .msg { margin-top: 12px; font-size: 14px; min-height: 1.4em; }
.big-line { font: 400 clamp(20px, 5vw, 28px) var(--head); text-align: center; margin: 0; }
.big-line a { color: #fff; }
.langs-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; text-align: center; }
.langs-list button { background: none; border: 0; color: #fff; font: 400 20px var(--body); cursor: pointer; }
.langs-list button[aria-current="true"] { text-decoration: underline; color: #9fc6d8; }

/* hero */
.hero { position: relative; overflow: hidden; background: #111 center/cover; color: #fff; height: clamp(360px, 66vh, 720px); display: flex; align-items: center; justify-content: center; text-align: center; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.hero .t { position: relative; z-index: 1; padding: 0 var(--gut-r) 0 var(--gut); }
.hero h1 { font: 600 clamp(34px, 7vw, 64px)/1.1 var(--head); letter-spacing: .03em; margin: 0; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.hero .sub { display: inline-block; margin-top: 12px; font: 500 clamp(17px, 3.4vw, 24px) var(--head); letter-spacing: .03em; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); border-bottom: 2px solid #fff; padding-bottom: 2px; }
.scroll-cue { position: absolute; z-index: 1; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* sections */
.sec { padding-block: clamp(40px, 6vw, 76px); }
.sec.alt { background: var(--soft); }
.title { text-align: center; margin: 0 0 28px; }
.title h2 { font: 400 clamp(24px, 4.2vw, 32px)/1.2 var(--head); text-transform: uppercase; letter-spacing: .02em; margin: 0; color: #111; }
.title h2::after { content: ""; display: block; width: 42px; height: 2px; background: var(--teal); margin: 16px auto 0; }
.title p { color: var(--muted); max-width: 60ch; margin: 14px auto 0; }

/* statement */
.statement { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.statement p { margin: 0 0 1em; max-width: 62ch; }
.statement figure { margin: 0; }
.statement figure img { width: 100%; border-radius: 2px; }
@media (max-width: 760px) { .statement { grid-template-columns: 1fr; } }

/* featured carousel: endless loop (clones on both ends) */
.carousel { position: relative; margin-bottom: 34px; }
.viewport { overflow: hidden; touch-action: pan-y; cursor: grab; }
.viewport.drag { cursor: grabbing; }
.track { display: flex; gap: 14px; will-change: transform; }
.track.anim { transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.slide { flex: 0 0 calc((100% - 28px) / 3); margin: 0; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; pointer-events: none; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.slide figcaption { font: 400 15px var(--head); letter-spacing: .03em; padding-top: 8px; }
.slide figcaption small { color: var(--muted); margin-inline-start: 6px; }
.car-btn { position: absolute; top: 42%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 10px rgba(0, 0, 0, .2); cursor: pointer; font-size: 24px; line-height: 1; color: #111; z-index: 2; }
.car-btn.prev { left: -8px; } .car-btn.next { right: -8px; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: #c9c9c9; cursor: pointer; transition: width .4s ease, background .4s ease; }
.dots button[aria-current="true"] { background: var(--teal); width: 22px; }
@media (max-width: 760px) { .slide { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 520px) { .car-btn { display: none; } .slide { flex-basis: 78%; } }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.filters button { border: 1px solid var(--teal); background: #fff; color: var(--teal); padding: 7px 16px; font: 600 12px var(--body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; border-radius: 2px; }
.filters button[aria-pressed="true"] { background: var(--teal); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.tile { position: relative; margin: 0; cursor: zoom-in; background: #fff; overflow: hidden; aspect-ratio: 4 / 5; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile figcaption { position: absolute; inset: auto 0 0; padding: 22px 10px 8px; color: #fff; font: 400 14px var(--head); letter-spacing: .04em; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); opacity: 0; transition: opacity .3s; }
.tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; }
@media (hover: none) { .tile figcaption { opacity: 1; } }
.tile .count { position: absolute; right: 8px; top: 8px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 11px; border-radius: 10px; padding: 1px 8px; }

/* shop */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 22px; }
.product { display: flex; flex-direction: column; gap: 8px; text-align: center; min-width: 0; }
.product .img { aspect-ratio: 1; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; overflow: hidden; }
.product .img img { width: 100%; height: 100%; object-fit: cover; }
.product h3 { font: 400 19px var(--head); margin: 4px 0 0; }
.product .price { font-weight: 600; font-variant-numeric: tabular-nums; }
.product .soon { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.product .add { border: 1px solid var(--teal); background: #fff; color: var(--teal); padding: 9px; font: 600 13px var(--body); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; margin-top: auto; }
.product .add:hover:not([disabled]) { background: var(--teal); color: #fff; }
.product .add[disabled] { opacity: .5; cursor: not-allowed; }
.commission { margin-top: 36px; text-align: center; border-top: 1px solid var(--line); padding-top: 34px; }
.commission h3 { font: 400 24px var(--head); margin: 0; }
.commission p { color: var(--muted); max-width: 56ch; margin: 8px auto 18px; }
.btn-line { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--teal); color: var(--teal); background: #fff; padding: 11px 22px; font: 600 13px var(--body); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.btn-line:hover { background: var(--teal); color: #fff; }

/* education & experience: collapsible groups */
.cv { display: grid; gap: 10px; }
.acc { background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc .h { display: grid; gap: 2px; min-width: 0; }
.acc .h b { font: 400 20px/1.25 var(--head); color: #111; }
.acc .h small { color: var(--muted); font-size: 13.5px; }
.acc .pm { position: relative; flex: 0 0 22px; height: 22px; }
.acc .pm::before, .acc .pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; background: var(--teal); transition: transform .45s cubic-bezier(.65, 0, .35, 1); }
.acc .pm::after { transform: rotate(90deg); }
.acc[open] .pm::after { transform: rotate(0deg); }
.acc-body { overflow: hidden; padding: 0 18px; }
.acc[open] .acc-body { padding-bottom: 10px; }
.acc ul { list-style: none; margin: 0; padding: 0; }
.acc li { display: grid; grid-template-columns: 5.2em 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.acc li b { font-weight: 700; color: var(--teal); font-variant-numeric: tabular-nums; }
.acc li span { min-width: 0; }

/* contact */
.cgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; text-align: center; }
@media (max-width: 860px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } .cgrid p { font-size: 14px; overflow-wrap: anywhere; } }
.cgrid .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.cgrid .ic svg { width: 21px; height: 21px; fill: currentColor; }
.cgrid h3 { font: 400 17px var(--head); margin: 0 0 4px; text-transform: uppercase; letter-spacing: .04em; }
.cgrid p { margin: 0; }
.cgrid button.linkish { background: none; border: 0; color: var(--teal); text-decoration: underline; cursor: pointer; padding: 0; }
.social { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: #111; color: #fff; display: flex; align-items: center; justify-content: center; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

footer { background: #111; color: rgba(255, 255, 255, .7); font-size: 13px; padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px)); text-align: center; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 12px; }
footer nav a { color: #fff; text-decoration: none; font: 400 13px var(--head); letter-spacing: .06em; text-transform: uppercase; }
.totop { position: fixed; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 40px; height: 40px; border: 0; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; border-radius: 2px; font-size: 18px; }
.totop[hidden] { display: none; }

/* cart drawer */
.cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(100%, 380px); z-index: 2147482600; background: #fff; box-shadow: -10px 0 40px rgba(0, 0, 0, .25); display: flex; flex-direction: column; }
.cart[hidden] { display: none; }
.cart .ch { background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: calc(8px + env(safe-area-inset-top, 0px)) 8px 8px 18px; }
.cart .ch h2 { font: 400 20px var(--head); margin: 0; }
.cart .items { flex: 1; overflow-y: auto; padding: 16px 18px; }
.cart .empty { text-align: center; color: var(--muted); padding: 30px 0; }
.cart .row { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cart .row img { width: 56px; height: 56px; object-fit: cover; }
.cart .row button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 22px; width: 36px; height: 36px; }
.cart .cf { padding: 14px 18px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.cart .total { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 4px; }
.scrim { position: fixed; inset: 0; z-index: 2147482550; background: rgba(0, 0, 0, .4); }
.scrim[hidden] { display: none; }

/* lightbox carousel */
.lb { position: fixed; inset: 0; z-index: 2147482700; background: rgba(0, 0, 0, .94); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; text-align: center; color: #fff; width: min(100% - 120px, 1000px); }
/* every photo sits in the same fixed frame, so nothing jumps between photos */
.lb-frame { position: relative; width: 100%; height: min(78vh, 78svh); overflow: hidden; border-radius: 3px; background: #1a1a1a; }
.lb-bg { position: absolute; inset: -40px; background: center/cover no-repeat; filter: blur(28px) brightness(.75); transform: scale(1.1); transition: background-image .3s ease; }
.lb figure #lb-img { position: relative; display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; margin: 0; transition: filter .25s ease; }
.lb.single figure img { cursor: zoom-out; }
.lb figure img.soft { filter: blur(2px); }
.lb .nv[hidden] { display: none; }
.lb figcaption { height: 2.6em; line-height: 1.3; padding-top: 12px; overflow: hidden; font: 400 16px var(--head); letter-spacing: .04em; }
.lb .x { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: calc(10px + env(safe-area-inset-right, 0px)); width: 46px; height: 46px; border: 0; background: none; color: #fff; font-size: 34px; cursor: pointer; }
.lb .nv { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 64px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 34px; cursor: pointer; }
.lb .nv.prev { left: calc(4px + env(safe-area-inset-left, 0px)); } .lb .nv.next { right: calc(4px + env(safe-area-inset-right, 0px)); }
@media (max-width: 640px) { .lb figure { width: calc(100% - 12px); } .lb-frame { height: min(70vh, 70svh); } .lb .nv { background: rgba(0, 0, 0, .4); } }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: #111; color: #fff; padding: 10px 18px; border-radius: 20px; font-size: 14px; z-index: 2147483600; max-width: calc(100% - 32px); text-align: center; }
.toast[hidden] { display: none; }


body.ov-open #rg-fab { display: none !important; }

/* header language button */
.lang-btn span { font: 600 12px var(--head); letter-spacing: .08em; border: 1.5px solid rgba(255, 255, 255, .75); border-radius: 4px; padding: 2px 5px; line-height: 1.2; }
.statement .sig { font-family: var(--head); font-size: 18px; margin-top: 1.4em; }
.btn-teal.inline { width: auto; padding: 13px 26px; margin-top: 4px; }
.more-wrap { text-align: center; margin-top: 22px; }
.more-wrap[hidden] { display: none; }
.tile.late { animation: tileIn .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--k, 0) * 60ms); }
@keyframes tileIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

/* shop on phones: small cards, three across, everything visible without sideways scrolling */
@media (max-width: 640px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; justify-content: center; }
  .product { gap: 4px; }
  .product .img { font-size: 10.5px; line-height: 1.3; padding: 4px; text-align: center; }
  .product h3 { font-size: 14px; }
  .product .soon { font-size: 9.5px; letter-spacing: .06em; }
  .product .price { font-size: 13px; }
  .product .desc { display: none; }
  .product .add { font-size: 10.5px; padding: 7px 2px; letter-spacing: .03em; }
}

/* section line icons: drawn in when the section scrolls into view */
.si { display: block; width: 44px; height: 44px; margin: 0 auto 10px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.si path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.commission .si { width: 38px; height: 38px; }

/* kinetic type: letters rise out of a blur, like glass cooling into shape */
.kin .w { display: inline-block; white-space: nowrap; }
.kin .ch { display: inline-block; }

/* motion only when the visitor allows it */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.22, .61, .36, 1), transform .9s cubic-bezier(.22, .61, .36, 1); }
  .js .rv.rv-img { transform: translateY(28px) scale(.96); clip-path: inset(8% 8% 8% 8%); transition: opacity 1s ease, transform 1.2s cubic-bezier(.22, .61, .36, 1), clip-path 1.2s cubic-bezier(.22, .61, .36, 1); }
  .js .rv.in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
  .js .si path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.65, 0, .35, 1) .15s; }
  .js .si path + path { transition-delay: .55s; }
  .js .si path + path + path { transition-delay: .9s; }
  .js .in .si path, .js .rv.in.si path { stroke-dashoffset: 0; }
  .js .title h2::after { transform: scaleX(0); transition: transform 1s cubic-bezier(.65, 0, .35, 1) .5s; }
  .js .title.in h2::after { transform: scaleX(1); }
  .js .kin .ch { opacity: 0; filter: blur(6px); transform: translateY(.45em) rotate(4deg); transition: opacity .7s ease, filter .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 34ms + .1s); }
  .js .in .kin .ch, .js .kin.in .ch { opacity: 1; filter: none; transform: none; }
  .js .hero .sub { opacity: 0; transform: translateY(12px); transition: opacity 1s ease 1s, transform 1s cubic-bezier(.2, .7, .2, 1) 1s; }
  .js .hero.in .sub { opacity: 1; transform: none; }
  .js .rv-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.22, .61, .36, 1); }
  .js .rv-stagger > :nth-child(2) { transition-delay: .12s; } .js .rv-stagger > :nth-child(3) { transition-delay: .24s; } .js .rv-stagger > :nth-child(4) { transition-delay: .36s; }
  .js .rv-stagger.in > * { opacity: 1; transform: none; }
  .js .rv-stagger .ic { transform: scale(.4); transition: transform .9s cubic-bezier(.34, 1.56, .64, 1) .3s; }
  .js .rv-stagger.in .ic { transform: none; }
  .hero .t { will-change: transform, opacity; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tile img, .track.anim, .slide img { transition: none; } .scroll-cue span { animation: none; } }

/* lock the page behind the chat */
html.chat-lock, html.chat-lock body { overflow: hidden !important; overscroll-behavior: none; }
#rg-msgs { overscroll-behavior: contain; }

/* Hebrew: Oswald has no Hebrew letters, so headings use Heebo */
html[lang="he"] { --head: "Heebo", "Arial Hebrew", Arial, sans-serif; --body: "Heebo", "Open Sans", Arial, sans-serif; }
html[lang="he"] .title h2, html[lang="he"] .desk-nav a, html[lang="he"] .menu-list a { letter-spacing: 0; }
html[dir="rtl"] .ov .x { left: auto; right: calc(12px + env(safe-area-inset-right, 0px)); }

.lb .nv, .lb .x { z-index: 2; }
.lb-frame { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.lb-frame img { -webkit-user-drag: none; }
.lb-ghost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
#lb-img.zooming { transition: transform .45s cubic-bezier(.22,.61,.36,1), transform-origin .18s linear; cursor: zoom-in; }

/* zoom hint: a magnifier that is always there; on the first views it also says "Hold to zoom" with a soft touch ripple */
.lb-zoom { position: absolute; z-index: 3; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 0; height: 40px; padding: 0 9px; border: 0; border-radius: 20px; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 500 13px var(--body); white-space: nowrap; }
.lb-zoom svg { position: relative; flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lb-zoom span { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .6s cubic-bezier(.65,0,.35,1), opacity .4s ease, margin .6s cubic-bezier(.65,0,.35,1); }
.lb-zoom.talk span { max-width: 220px; opacity: 1; margin-inline-start: 8px; }
.lb-zoom .plus { transition: transform .3s ease; transform-origin: 10.5px 10.5px; }
.lb-zoom.on .plus { transform: rotate(90deg) scaleY(0); }
.lb-zoom::before { content: ""; position: absolute; left: 9px; top: 9px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); opacity: 0; pointer-events: none; }
.lb-zoom.talk::before { animation: holdRing 1.6s ease-out .3s 2; }
@keyframes holdRing { 0% { transform: scale(.6); opacity: .9; } 70% { transform: scale(2); opacity: 0; } 100% { opacity: 0; } }
html[dir="rtl"] .lb-zoom { right: auto; left: 12px; }
html[dir="rtl"] .lb-zoom::before { left: auto; right: 9px; }
@media (prefers-reduced-motion: reduce) { .lb-zoom::before { display: none; } }

/* test-only switch (not shown on rozinglass.com) */
.site-switch { position: fixed; z-index: 2147482400; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 22px; background: #111; color: #fff; text-decoration: none; font: 600 13px var(--body); box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.site-switch b { background: var(--hl); border-radius: 14px; padding: 3px 9px; font-size: 11px; letter-spacing: .08em; }
body.ov-open .site-switch, html.chat-lock .site-switch { display: none; }

/* selected text: no box, the letters themselves turn glowing-glass orange */
::selection { background: transparent; color: var(--hl); }
::-moz-selection { background: transparent; color: var(--hl); }

/* pieces with several photos: the photos are stacked and cross-fade */
.ph-stack { position: relative; display: block; }
.tile .ph-stack { height: 100%; }
.ph-stack .ph:not(.first) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.ph-stack .ph.on { opacity: 1; }
.slide .ph-stack .ph:not(.first) { aspect-ratio: auto; }

.product .desc { margin: 0; font-size: 13.5px; color: var(--muted); }
.product .soon.sold { color: #a33; }
/* simple pages made in the admin panel */
.prose { max-width: 68ch; margin: 0 auto; font-size: 16px; }
.prose h2, .prose h3 { font-family: var(--head); font-weight: 400; color: #111; }
.prose img { height: auto; margin: 1.2em auto; border-radius: 2px; }
.prose a { color: var(--teal); }
.site-switch span { white-space: nowrap; }
.subpage { min-height: 55vh; }

/* custom pieces as its own block: sits close under the shop */
.sec-custom { padding-block: 0 clamp(40px, 6vw, 76px); }
.sec-custom .commission { margin-top: 0; }
.sec.alt + .sec-custom, .sec-custom.alt { padding-top: clamp(32px, 5vw, 56px); }
.sec-custom .commission { border-top: 0; }
/* a text block placed on any page */
.sec-text .prose { margin-top: 0; }
.page-head { padding-bottom: 0; }
.page-head + .sec-text { padding-top: 0; }
