/* Asaf Mitelman - "Studio Wall". Wall background, works hung with a soft wrapping shadow, Jost + Heebo.
   Logical properties throughout so the Hebrew (RTL) version mirrors itself. */

:root {
  --wall: #ECE9E3; --ink: #1E1D1B; --mut: #6A665F; --line: rgba(30, 29, 27, .14); --acc: #4A8F90;
  --pad: 56px; --hh: 92px; --hh-solid: 66px; --maxw: 1440px;
  --sh-hang: 0 1px 2px rgba(42,34,26,.22), 0 4px 16px rgba(42,34,26,.22), 0 18px 40px -6px rgba(42,34,26,.30), 0 42px 46px -28px rgba(42,34,26,.55);
  /* grid: a hairline + a close contact shadow, so works whose photo has a light edge still lift off the light wall */
  --sh-grid: 0 0 0 1px rgba(42,34,26,.07), 0 2px 4px rgba(42,34,26,.32), 0 10px 22px rgba(42,34,26,.30), 0 30px 34px -12px rgba(42,34,26,.70);
  --sh-photo: 0 1px 3px rgba(42,34,26,.22), 0 8px 22px rgba(42,34,26,.22), 0 24px 30px -18px rgba(42,34,26,.45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--hh-solid); }
body { font: 300 16px/1.55 "Jost", "Heebo", system-ui, sans-serif; color: var(--ink); background: var(--wall);
       min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[dir=rtl] body { font-family: "Heebo", "Jost", system-ui, sans-serif; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--wall) var(--wall-img) center / cover no-repeat; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.latin { font-family: "Jost", sans-serif; direction: ltr; unicode-bidi: isolate; }
main { flex: 1; outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.label { font-size: 12px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--mut); }
[dir=rtl] .label { letter-spacing: .04em; font-size: 14px; }
h1 { font-weight: 300; font-size: 44px; line-height: 1.12; letter-spacing: .01em; }

/* ---------- header ---------- */
.top { position: fixed; top: 0; inset-inline: 0; z-index: 50; height: var(--hh); display: flex; align-items: center;
       justify-content: space-between; gap: 24px; padding-inline: var(--pad); padding-top: env(safe-area-inset-top);
       transition: height .35s var(--ease), background-color .35s, color .35s, border-color .35s;
       border-bottom: 1px solid transparent; }
.name { position: relative; display: inline-block; font-family: "Jost", sans-serif; font-size: 27px; line-height: 1.15;
        letter-spacing: .015em; white-space: nowrap; transition: font-size .35s var(--ease); }
.brush { position: absolute; inset-inline-start: -4px; top: calc(100% + 3px); width: 172px; height: auto; max-width: none;
         mix-blend-mode: multiply; pointer-events: none; transition: opacity .3s; }
[dir=rtl] .brush { inset-inline-start: auto; left: -4px; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 14.5px; letter-spacing: .05em; }
[dir=rtl] .nav { font-size: 15.5px; letter-spacing: 0; }
.nav a { padding-block: 4px; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:hover, .nav a.on { border-bottom-color: currentColor; }
.nav .ext { font-size: 11px; opacity: .6; margin-inline-start: 3px; }
.lang { color: var(--mut); font-size: 13.5px; letter-spacing: .04em; white-space: nowrap; }
.lang b { color: var(--ink); font-weight: 400; }
.lang a { color: var(--mut); }
.lang a:hover { color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; margin-inline-end: -10px; place-items: center; }
body.scrolled .top, body.menu-open .top { height: var(--hh-solid); background: rgba(236, 233, 227, .94);
       border-bottom-color: var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body.scrolled .name { font-size: 22px; }
body.scrolled .brush { opacity: 0; }
body.on-photo:not(.scrolled) .top { color: #fff; }
body.on-photo:not(.scrolled) .top .lang, body.on-photo:not(.scrolled) .top .lang a, body.on-photo:not(.scrolled) .top .lang b { color: #fff; }
body.on-photo:not(.scrolled) .brush { mix-blend-mode: normal; opacity: .85; }
.top::before { content: ""; position: absolute; inset: 0 0 -70px; z-index: -1; pointer-events: none; opacity: 0;
               background: linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,0)); transition: opacity .4s; }
body.on-photo:not(.scrolled) .top::before { opacity: 1; }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--wall) var(--wall-img) center / cover; display: flex;
        flex-direction: column; padding: env(safe-area-inset-top) var(--pad) 40px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-head { height: var(--hh-solid); display: flex; align-items: center; justify-content: space-between; }
.menu-head .name { font-size: 22px; }
.menu-close { width: 44px; height: 44px; display: grid; place-items: center; margin-inline-end: -10px; }
.menu-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 8vh; font-size: 30px; }
.menu-nav a { padding-block: 8px; align-self: flex-start; }
.menu-nav a.on { border-bottom: 1px solid currentColor; }
.menu-nav .ext { font-size: 16px; opacity: .6; margin-inline-start: 6px; }
.menu-nav .lang { margin-top: 28px; font-size: 18px; }
.menu-nav .lang a { padding: 8px 4px; }

/* ---------- home hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1300px; overflow: hidden; }
.frame { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden;
         transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.frame.on { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 0s; z-index: 1; }
.frame .hang { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center;
               padding: calc(var(--hh) + 22px) var(--pad) 18px; }
.frame .hang img { max-height: 100%; max-width: min(100%, 1040px); width: auto; height: auto; object-fit: contain;
                   box-shadow: var(--sh-hang); }
.frame.is-photo { justify-content: flex-end; }
.frame.is-photo .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.frame.is-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; pointer-events: none;
                      background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.45)); }
.frame .cap { position: relative; z-index: 2; padding: 0 var(--pad) 40px; min-height: 112px; max-width: 70%;
              opacity: 0; transition: opacity .3s; }
.frame.on .cap { opacity: 1; transition: opacity .6s .45s; }    /* pictures cross-fade, captions never overlap */
.frame .cap .t { font-size: 17px; letter-spacing: .02em; }
.frame .cap small { display: block; color: var(--mut); font-size: 13.5px; margin-top: 2px; letter-spacing: .03em; }
.frame .go { display: inline-block; margin-top: 8px; border-bottom: 1px solid currentColor; padding-bottom: 1px; font-size: 13.5px; letter-spacing: .05em; }
.frame.is-photo .cap, .frame.is-photo .cap small { color: #fff; }
.ctrl { position: absolute; z-index: 3; inset-inline-end: var(--pad); bottom: 40px; display: flex; align-items: center; gap: 18px; }
.dots { display: flex; gap: 2px; }
.dot { width: 22px; height: 30px; display: grid; place-items: center; }
.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(30,29,27,.25); transition: background .3s, transform .3s; }
.dot.on::before { background: var(--ink); transform: scale(1.15); }
.arw { width: 40px; height: 40px; display: grid; place-items: center; }
[dir=rtl] .arw svg { transform: scaleX(-1); }
.hero.dark .dot::before { background: rgba(255,255,255,.5); }
.hero.dark .dot.on::before { background: #fff; }
.hero.dark .arw, .hero.dark .cue { color: #fff; }
.cue { position: absolute; z-index: 3; left: 50%; bottom: 0; width: 1px; height: 34px; background: currentColor; opacity: .35; }
.selected { padding-top: 80px; padding-bottom: 40px; }
.selected .label { margin-bottom: 26px; }

/* ---------- grids ---------- */
.grid { column-gap: 46px; }
.g3 { columns: 3; }
.g4 { columns: 4; }
.card { break-inside: avoid; margin-bottom: 42px; }
.card img { width: 100%; box-shadow: var(--sh-grid); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card a:hover img { transform: translateY(-3px); }
.card figcaption { margin-top: 13px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
                   display: flex; justify-content: space-between; gap: 10px; }
[dir=rtl] .card figcaption { font-size: 13.5px; letter-spacing: .02em; }
.card .cs { color: var(--mut); letter-spacing: .06em; white-space: nowrap; }

/* ---------- page heads ---------- */
.pagehead { padding-top: calc(var(--hh) + 26px); padding-bottom: 32px; display: flex; justify-content: space-between;
            align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 14.5px; letter-spacing: .04em; color: var(--mut); }
.tabs a { padding-block: 6px; border-bottom: 1px solid transparent; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--ink); }
.tabs a:hover { color: var(--ink); }
.tabs sup { font-size: 10px; margin-inline-start: 2px; }
.series-head { margin: 10px 0 26px; max-width: 720px; }
.series-head h2 { font-weight: 300; font-size: 24px; }
.series-head .yrs { color: var(--mut); font-size: 16px; margin-inline-start: 8px; }
.series-head p { color: var(--mut); margin-top: 4px; }
.pagehead .intro { color: var(--mut); max-width: 560px; }

/* ---------- work ---------- */
.work { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; padding-top: calc(var(--hh) + 20px); padding-bottom: 60px; }
.art { display: flex; align-items: center; justify-content: center; min-height: calc(100svh - var(--hh) - 80px); }
.stage { position: relative; }
.zoomable { display: block; cursor: zoom-in; }
.zoomable img { max-height: calc(100svh - var(--hh) - 140px); width: auto; box-shadow: var(--sh-hang); }
.zoomhint { position: absolute; inset-inline-end: 0; bottom: -32px; display: flex; gap: 7px; align-items: center;
            font-size: 12.5px; letter-spacing: .05em; color: var(--mut); pointer-events: none; }
.hint-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .hint-desk { display: none; } .hint-touch { display: inline; } }
.info { align-self: center; }
.info h1 { font-size: 40px; margin: 10px 0 14px; overflow-wrap: anywhere; }
.info .meta { color: var(--mut); font-size: 15.5px; line-height: 1.7; }
.info .series { margin-top: 6px; }
.info .desc { margin-top: 16px; font-size: 16px; }
.info .desc p + p { margin-top: 10px; }
.info hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.avail { font-size: 15.5px; display: flex; align-items: center; gap: 9px; }
.avail i { width: 7px; height: 7px; border-radius: 50%; background: #4F7A55; flex: none; }
.avail.sold i { background: #A2402B; }
.avail.nfs i { background: var(--mut); }
.btn { display: inline-block; margin-top: 22px; border: 1px solid var(--ink); padding: 15px 26px; font-size: 12.5px; font-weight: 400;
       letter-spacing: .18em; text-transform: uppercase; transition: background-color .2s, color .2s; text-align: center; }
.btn:hover { background: var(--ink); color: var(--wall); }
[dir=rtl] .btn { letter-spacing: .02em; font-size: 15px; }
.alt { display: block; margin-top: 14px; font-size: 14px; color: var(--mut); }
.alt u { text-decoration: none; border-bottom: 1px solid currentColor; }
.alt:hover { color: var(--ink); }
.thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.th { width: 66px; height: 66px; opacity: .6; transition: opacity .2s; }
.th img { width: 100%; height: 100%; object-fit: cover; }
.th.on, .th:hover { opacity: 1; }
.th.on { outline: 1px solid var(--ink); outline-offset: 3px; }
.pn { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; font-size: 13.5px; letter-spacing: .05em; color: var(--mut); }
.pn a:hover { color: var(--ink); }
[dir=rtl] .pn .ar { display: inline-block; transform: scaleX(-1); }

/* zoom viewer */
.viewer { position: fixed; inset: 0; z-index: 100; background: #141311; color: #fff; }
.viewer[hidden] { display: none; }
.osd { position: absolute; inset: 0; }
.vt { position: absolute; top: calc(18px + env(safe-area-inset-top)); inset-inline-start: 18px; z-index: 2; font-size: 14.5px; letter-spacing: .04em;
      background: rgba(20,19,17,.62); padding: 9px 15px; border-radius: 20px; max-width: calc(100% - 260px);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vctl { position: absolute; top: calc(14px + env(safe-area-inset-top)); inset-inline-end: 14px; z-index: 2; display: flex; gap: 8px; direction: ltr; }
.vctl button { width: 46px; height: 46px; display: grid; place-items: center; font-size: 22px; line-height: 1;
               background: rgba(20,19,17,.62); border-radius: 50%; }
.vctl button:hover { background: rgba(60,58,54,.85); }
.vhint { position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 2;
         font-size: 13.5px; background: rgba(20,19,17,.62); padding: 9px 17px; border-radius: 20px; white-space: nowrap;
         transition: opacity .6s; pointer-events: none; }
.viewer.used .vhint { opacity: 0; }
.viewer .flat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; max-width: none; }
.navigator { border: 1px solid rgba(255,255,255,.55) !important; background: rgba(20,19,17,.6) !important; }

/* ---------- statement ---------- */
.stmt { display: grid; grid-template-columns: 430px minmax(0, 1fr); gap: 90px; padding-top: calc(var(--hh) + 30px); padding-bottom: 80px; }
.stmt .ph img { width: 100%; max-height: 78svh; object-fit: cover; object-position: center 30%; }
.stmt .tx { max-width: 660px; padding-top: 24px; }
.stmt .body p { font-size: 20px; line-height: 1.62; margin-top: 18px; }
.stmt .body.small p { font-size: 17px; }
.stmt .sig { width: 92px; margin-top: 26px; opacity: .85; }
.stmt .sub { margin-top: 56px; }
.ex { list-style: none; margin-top: 16px; }
.ex li { display: flex; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ex .y { color: var(--mut); min-width: 44px; }
.ex .k { color: var(--mut); }
.ex a { border-bottom: 1px solid currentColor; }

/* ---------- studio ---------- */
.studio { padding-bottom: 70px; }
.studio .big img { width: 100%; max-height: 80svh; object-fit: cover; }
.studio img { border-radius: 6px; box-shadow: var(--sh-photo); }     /* photos, not works: rounded and softer */
.studio figcaption { color: var(--mut); font-size: 13.5px; margin-top: 8px; }
.masonry { columns: 3; column-gap: 26px; margin-top: 26px; }
.masonry figure { break-inside: avoid; margin-bottom: 26px; }
.masonry img { width: 100%; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; padding-top: calc(var(--hh) + 40px); padding-bottom: 90px; }
.contact .intro p { font-size: 20px; line-height: 1.6; margin-top: 22px; max-width: 470px; }
.links { margin-top: 36px; font-size: 15.5px; }
.links > div { display: flex; gap: 12px; padding: 6px 0; flex-wrap: wrap; }
.links dt { color: var(--mut); width: 110px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding-top: 3px; }
[dir=rtl] .links dt { letter-spacing: .02em; font-size: 14px; }
.links a { border-bottom: 1px solid transparent; }
.links a:hover { border-bottom-color: currentColor; }
.form .fld { margin-top: 22px; }
.form label { display: block; font-size: 11.5px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); }
[dir=rtl] .form label { letter-spacing: .02em; font-size: 14px; }
.form input, .form select, .form textarea { display: block; width: 100%; border: 0; border-bottom: 1px solid rgba(30,29,27,.38);
       background: transparent; padding: 9px 0 8px; font-size: 17px; border-radius: 0; appearance: none; -webkit-appearance: none; }
.form select { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236A665F' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 2px center; padding-inline-end: 22px; }
[dir=rtl] .form select { background-position: left 2px center; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.form .err { display: block; min-height: 0; color: #9B3B26; font-size: 13.5px; margin-top: 4px; }
.form [aria-invalid=true] { border-bottom-color: #9B3B26; }
.form .btn { margin-top: 30px; min-width: 160px; }
.form .btn[disabled] { opacity: .55; cursor: progress; }
.status { margin-top: 18px; font-size: 16px; min-height: 1.5em; }
.status.ok { color: #3E6B45; }
.status.bad { color: #9B3B26; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- prose (accessibility, 404) ---------- */
.prose { max-width: 820px; padding-top: calc(var(--hh) + 30px); padding-bottom: 80px; }
.prose h1 { margin-bottom: 22px; }
.prose h2 { font-weight: 400; font-size: 20px; margin: 30px 0 8px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; }
.prose ul { padding-inline-start: 22px; }
.prose a:not(.btn) { border-bottom: 1px solid currentColor; }
.small { color: var(--mut); font-size: 14px !important; margin-top: 26px; }

/* ---------- footer ---------- */
/* text a shade darker than --mut: on the wall texture behind the footer --mut measured ~4.2:1, this keeps it at AA 4.5:1 */
.foot { display: flex; justify-content: space-between; gap: 10px 30px; flex-wrap: wrap; padding: 26px var(--pad) calc(26px + env(safe-area-inset-bottom));
        font-size: 13px; color: #5F5B55; letter-spacing: .03em; max-width: var(--maxw); width: 100%; margin-inline: auto; }
.foot-legal { display: flex; gap: 4px 22px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.credit { white-space: nowrap; }
.credit a { border-bottom: 1px solid currentColor; }
.foot a:hover { color: var(--ink); }
.page-home .foot { border-top: 0; }
.preview-bar { position: fixed; z-index: 300; bottom: 0; inset-inline: 0; background: #1E1D1B; color: #fff; font: 400 14px Heebo, sans-serif;
               padding: 8px 16px; text-align: center; direction: rtl; }
.preview-bar a { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  :root { --pad: 40px; }
  .g4 { columns: 3; }
  .work { gap: 48px; grid-template-columns: minmax(0, 1fr) 340px; }
  .stmt { gap: 60px; grid-template-columns: 380px minmax(0, 1fr); }
  .contact { gap: 70px; }
}
@media (max-width: 1000px) {
  :root { --hh: 70px; --hh-solid: 60px; --pad: 28px; }
  .nav { display: none; }
  .burger { display: grid; }
  .name { font-size: 23px; }
  .brush { width: 146px; }
  body.scrolled .name { font-size: 21px; }
  .g3, .g4 { columns: 2; }
  .grid { column-gap: 26px; }
  .work { grid-template-columns: 1fr; gap: 28px; }
  .art { min-height: 0; }
  .zoomable img { max-height: 72svh; }
  .zoomhint { position: static; justify-content: flex-end; margin-top: 12px; }
  .info { max-width: 620px; }
  .stmt { grid-template-columns: 1fr; gap: 26px; }
  .stmt .ph img { max-height: 62svh; }
  .stmt .tx { padding-top: 0; }
  .contact { grid-template-columns: 1fr; gap: 20px; }
  .masonry { columns: 2; }
  h1 { font-size: 38px; }
}
@media (max-width: 600px) {
  :root { --pad: 20px; --hh: 64px; --hh-solid: 56px; }
  body { font-size: 15.5px; }
  .name { font-size: 22px; }
  .brush { width: 140px; top: calc(100% + 2px); }
  body.scrolled .name { font-size: 20px; }
  h1 { font-size: 32px; }
  /* phones: the hero is as tall as its content; frames stack in one grid cell so the height never jumps */
  .hero { height: auto; min-height: 0; max-height: none; display: grid; }
  .frame { position: relative; grid-area: 1 / 1; }
  /* every frame gets the same picture box, so captions and dots stay put while slides change */
  .frame .hang { flex: none; height: calc(var(--hh) + 40px + 56svh); padding: calc(var(--hh) + 22px) var(--pad) 18px; }
  .frame .hang img { max-height: 100%; }
  .frame.is-photo { min-height: calc(var(--hh) + 40px + 56svh + 110px); justify-content: flex-end; }
  .frame .cap { max-width: none; padding-bottom: 64px; min-height: 0; }
  .ctrl { inset-inline: var(--pad); bottom: 22px; justify-content: space-between; gap: 6px; }
  .arw { display: none; }
  .cue { display: none; }
  .selected { padding-top: 48px; }
  .grid { column-gap: 16px; }
  .card { margin-bottom: 28px; }
  .card figcaption { font-size: 10.5px; letter-spacing: .12em; margin-top: 9px; }
  [dir=rtl] .card figcaption { font-size: 13px; }
  .pagehead { padding-top: calc(var(--hh) + 14px); padding-bottom: 22px; }
  .work { padding-top: calc(var(--hh) + 12px); }
  .zoomable img { max-height: 66svh; }
  .info h1 { font-size: 30px; }
  .btn { display: block; }
  .thumbs .th { width: 58px; height: 58px; }
  .stmt { padding-top: calc(var(--hh) + 12px); }
  .stmt .body p { font-size: 17.5px; }
  .contact { padding-top: calc(var(--hh) + 14px); }
  .contact .intro p { font-size: 17.5px; }
  .links dt { width: 96px; }
  .masonry { columns: 1; }
  .vt { max-width: calc(100% - 36px); top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .vhint { white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 40px); }
  .foot { flex-direction: column; }
}
@media (max-width: 360px) {
  .g3, .g4 { columns: 1; }
  .name { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  body::before, .top, .menu, .foot, .ctrl, .viewer { display: none !important; }
}
