/* ==========================================================
   Reuven Blaum — Architecture & Interior Design
   Visual language: the architectural drawing — hairlines,
   dimension lines, sheet numbers, warm lime-plaster tones.
   ========================================================== */

:root {
  --fs: 1;                    /* text-size multiplier, set by the accessibility panel */
  --paper: #F2EFE9;
  --paper-2: #E8E3DA;
  --ink: #161614;
  --ink-2: #57544D;
  --ink-3: #66625A;           /* ≥4.5:1 on both paper tones (WCAG AA) */
  --line: rgba(22, 22, 20, .14);
  --wood: #7A5A43;            /* ≥4.5:1 on paper — safe for small text */
  --night: #121210;
  --night-line: rgba(242, 239, 233, .16);

  --serif: "Rubik", "IBM Plex Sans Hebrew", system-ui, sans-serif;  /* display face (headings) */
  --sans: "IBM Plex Sans Hebrew", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "IBM Plex Sans Hebrew", monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1520px;
  --ease: cubic-bezier(.77, 0, .18, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --hdr-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 calc(17px * var(--fs))/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: calc(12px * var(--fs)); letter-spacing: .03em; text-transform: uppercase; font-weight: 400; }
.serif { font-family: var(--serif); }
em { font-style: normal; font-family: var(--serif); font-weight: 300; color: var(--wood); }

/* ---------- accessibility ---------- */
.skip {
  position: fixed; top: 12px; inset-inline-start: 12px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 99px;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 4px; border-radius: 2px; }
.hero :focus-visible, .contact :focus-visible, .ftr :focus-visible, .quote :focus-visible, .hdr:not(.solid) :focus-visible, .hdr.dark :focus-visible { outline-color: #E6CDB6; }
main:focus { outline: none; }
.hdr:focus-within { transform: none; }
[hidden] { display: none !important; }
.hp { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.motion-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-inline: 4px;
  opacity: .9; transition: opacity .3s;
}
.motion-toggle:hover { opacity: 1; }
.motion-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.motion-toggle .i-play, .motion-toggle[aria-pressed="true"] .i-pause { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: inline; }

/* "stop motion": user switch + OS preference both land here */
.motion-off .hero__slide img, .motion-off .marquee__track, .motion-off .hero__bar i { animation-play-state: paused !important; }
.motion-off .statement .w { opacity: 1 !important; }

/* ---------- reveal primitives ---------- */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); }
.line:nth-child(2) > span { transition-delay: .08s; }
.line:nth-child(3) > span { transition-delay: .16s; }
.in .line > span, .line.in > span { transform: none; }

.reveal-up { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.reveal-up.in { opacity: 1; transform: none; }

.reveal-img { overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease); background: var(--paper-2); }
.reveal-img.in { clip-path: inset(0 0 0 0); }
.reveal-img img { width: 100%; height: 118%; object-fit: cover; transform: scale(1.12); transition: transform 2s var(--ease-out); will-change: transform; }
.reveal-img.in img { transform: scale(1); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper);
  display: grid; place-content: center; justify-items: center; gap: 28px;
  transition: transform 1.1s var(--ease);
}
.loader.done { transform: translateY(-100%); }
.loader__draw { width: min(260px, 60vw); stroke: var(--ink); stroke-width: .8; }
.loader__draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; }
.loader__draw path:nth-child(2) { animation-delay: .15s; }
.loader__draw path:nth-child(3) { animation-delay: .3s; stroke: var(--wood); }
.loader__draw path:nth-child(4) { animation-delay: .45s; }
.loader__draw path:nth-child(5) { animation-delay: .55s; }
.loader__draw .dim { animation-delay: .7s; stroke-width: .5; stroke: var(--ink-3); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader__name { display: grid; justify-items: center; gap: 6px; opacity: 0; animation: fade .8s .8s forwards; }
.loader__name span:first-child { font: 400 calc(22px * var(--fs))/1 var(--serif); }
.loader__name .mono { font-size: calc(10px * var(--fs)); color: var(--ink-3); letter-spacing: .24em; }
@keyframes fade { to { opacity: 1; } }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--hdr-h);
  display: flex; align-items: center; gap: 40px;
  padding-inline: var(--gutter);
  color: var(--paper);
  transition: color .5s, background-color .5s, transform .6s var(--ease), height .5s var(--ease);
}
.hdr::after { content: ""; position: absolute; inset: auto var(--gutter) 0; height: 1px; background: currentColor; opacity: .18; }
.hdr.solid { color: var(--ink); background: rgba(242, 239, 233, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); height: 68px; }
.hdr.solid.dark { color: var(--paper); background: rgba(18, 18, 16, .74); }
.hdr.solid.dark .hdr__call:hover span { color: var(--ink); }
.hdr.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 14px; margin-inline-end: auto; }
.brand__mark { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.brand__txt { display: grid; line-height: 1.15; }
.brand__txt b { font: 500 calc(19px * var(--fs))/1.1 var(--serif); letter-spacing: .01em; }
.brand__txt small { font-size: calc(11.5px * var(--fs)); opacity: .72; letter-spacing: .02em; }
.nav { display: flex; gap: 34px; font-size: calc(14.5px * var(--fs)); font-weight: 400; }
.nav a, .ftr__nav a { position: relative; }
.nav a::after, .ftr__nav a::after, .link-u::after {
  content: ""; position: absolute; inset: auto 0 -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.nav a:hover::after, .ftr__nav a:hover::after, .link-u:hover::after { transform: scaleX(1); transform-origin: right; }
.hdr__call { border: 1px solid currentColor; border-radius: 99px; padding: 8px 16px; transition: background-color .4s, color .4s; }
.hdr__call:hover { background: currentColor; }
.hdr__call:hover span { color: var(--ink); }
.hdr.solid .hdr__call:hover span { color: var(--paper); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger i { position: absolute; inset-inline: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 26px; }
.menu-open .burger i:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hdr-h) + 40px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .hdr { color: var(--ink); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu__nav { display: grid; }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; font: 300 clamp(40px, 11vw, 64px)/1.25 var(--serif); border-bottom: 1px solid var(--line); padding-block: 6px; opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .8s var(--ease-out); }
.menu__nav a .mono { color: var(--ink-3); }
.menu-open .menu__nav a { opacity: 1; transform: none; }
.menu-open .menu__nav a:nth-child(1) { transition-delay: .25s; } .menu-open .menu__nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .35s; } .menu-open .menu__nav a:nth-child(4) { transition-delay: .4s; }
.menu-open .menu__nav a:nth-child(5) { transition-delay: .45s; }
.menu__foot { display: flex; justify-content: space-between; font-size: calc(15px * var(--fs)); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding-inline: 28px; border-radius: 99px;
  font-size: calc(15px * var(--fs)); font-weight: 400; position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease); }
.btn:hover::before { transform: none; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light::before { background: var(--wood); }
.btn--light:hover { color: var(--paper); }
.btn--line { border: 1px solid var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--paper); }
.btn--full { width: 100%; }
.link-u { position: relative; font-size: calc(15px * var(--fs)); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; color: var(--paper); overflow: hidden; background: var(--night); }
.hero__media, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
/* strong enough that light text stays readable even over the bright kitchen slide */
.hero__shade { position: absolute; inset: 0; z-index: 2; background:
  linear-gradient(180deg, rgba(10,10,9,.5) 0%, rgba(10,10,9,.12) 20%, rgba(10,10,9,.3) 38%, rgba(10,10,9,.82) 100%),
  linear-gradient(270deg, rgba(10,10,9,.35) 0%, rgba(10,10,9,0) 60%); }
.hero__content { position: absolute; inset: auto 0 clamp(96px, 15vh, 150px); z-index: 3; margin-inline: auto; left: 0; right: 0; }
.eyebrow { margin-bottom: 22px; opacity: .85; }
.hero__title { font: 300 clamp(54px, 10.5vw, 168px)/.95 var(--serif); letter-spacing: -.02em; }
.hero__title em { color: #D9C2AE; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 34px; }
.hero__lead { max-width: 440px; font-size: calc(17px * var(--fs)); opacity: .9; }
.hero__ctas { display: flex; align-items: center; gap: 28px; }
.reveal-up:nth-of-type(n) { transition-delay: var(--d, 0s); }
.hero__meta { position: absolute; inset: auto 0 0; z-index: 3; margin-inline: auto; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; height: 72px; border-top: 1px solid rgba(242,239,233,.2); }
.hero__meta { padding-inline-start: calc(var(--gutter) + 64px); }  /* clear of the accessibility button */
.hero__counter { display: flex; align-items: center; gap: 14px; }
.hero__bar { width: 90px; height: 1px; background: rgba(242,239,233,.3); position: relative; overflow: hidden; }
.hero__bar i { position: absolute; inset: 0; background: var(--paper); transform: scaleX(0); transform-origin: right; }
.hero__bar i.run { animation: bar 6s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.hero__caption { opacity: .8; }
.hero__name { display: inline-block; transition: opacity .6s, transform .6s var(--ease-out); }
.hero__name.swap { opacity: 0; transform: translateY(6px); }

/* ---------- marquee ---------- */
.marquee { border-bottom: 1px solid var(--line); overflow: hidden; padding-block: 18px; color: var(--ink-2); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track i { font-style: normal; color: var(--wood); }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(96px, 14vw, 200px); }
.sec__label { display: flex; gap: 18px; color: var(--ink-3); align-items: center; }
.sec__label span:first-child { color: var(--ink); }
.sec__label span:first-child::after { content: ""; display: inline-block; width: 36px; height: 1px; background: currentColor; vertical-align: middle; margin-inline-start: 18px; opacity: .5; }
.sec__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start; margin-bottom: clamp(56px, 8vw, 120px); }
.sec__head .sec__label { grid-column: 1 / 4; padding-top: 1.1em; }
.h2 { grid-column: 4 / 13; font: 300 clamp(42px, 6.6vw, 104px)/1 var(--serif); letter-spacing: -.02em; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }

/* ---------- about ---------- */
.about .sec__label { grid-column: 1 / 4; padding-top: .9em; }
.statement { grid-column: 4 / 13; font: 300 clamp(28px, 3.7vw, 58px)/1.22 var(--serif); letter-spacing: -.01em; }
.statement .w { opacity: .5; transition: opacity .3s linear; }
.about__img { grid-column: 1 / 5; grid-row: 2 / 4; margin-top: clamp(64px, 9vw, 140px); aspect-ratio: 3 / 4; }
.about__cols { grid-column: 6 / 13; grid-row: 2; margin-top: clamp(64px, 9vw, 140px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-self: end; color: var(--ink-2); font-size: calc(16px * var(--fs)); }
.about__sign { grid-column: 1 / -1; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 16px; color: var(--ink); }
.about__sign .serif { font-size: clamp(24px, 2.4vw, 34px); font-weight: 300; line-height: 1.2; }
.about__sign .mono { color: var(--ink-3); }

/* ---------- projects ---------- */
.projects { padding-top: 0; }
.pgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(64px, 9vw, 140px) 24px; }
.pj { display: block; position: relative; }
.pj figure { position: relative; }
.pj figure::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: 0; transition: opacity .8s var(--ease-out); pointer-events: none; }
.pj:hover figure::after { opacity: .08; }
.pj:hover img { transform: scale(1.035) !important; transition-duration: 1.4s; }
.pj__cap { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 18px; }
.pj__cap .mono:first-child { color: var(--wood); }
.pj__cap h3 { font: 400 clamp(22px, 2vw, 30px)/1.1 var(--serif); }
.pj__meta { color: var(--ink-3); font-size: calc(11px * var(--fs)); }
.pj--a { grid-column: 1 / 9; } .pj--a figure { aspect-ratio: 3 / 2; }
.pj--b { grid-column: 10 / 13; margin-top: 38%; } .pj--b figure { aspect-ratio: 3 / 4; }
.pj--c { grid-column: 2 / 7; } .pj--c figure { aspect-ratio: 4 / 5; }
.pj--d { grid-column: 8 / 13; margin-top: 24%; } .pj--d figure { aspect-ratio: 1 / 1; }
.pj--e { grid-column: 1 / 13; } .pj--e figure { aspect-ratio: 21 / 9; }
.pj--f { grid-column: 4 / 10; } .pj--f figure { aspect-ratio: 3 / 2; }
.projects__all { display: flex; justify-content: center; margin-top: clamp(72px, 10vw, 140px); }

/* ---------- horizontal interiors ---------- */
.hs { position: relative; background: var(--paper-2); }
.hs__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(32px, 5vh, 64px); }
.hs__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: end; }
.hs__head .sec__label { grid-column: 1 / 4; align-self: start; padding-top: .9em; }
.hs__head .h2 { grid-column: 4 / 10; }
.hs__hint { grid-column: 10 / 13; justify-self: end; color: var(--ink-3); }
.hs__track { display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 32px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.hs__item { flex: none; height: clamp(260px, 46vh, 520px); aspect-ratio: 4 / 3; }
.hs__item--t { aspect-ratio: 3 / 4; height: clamp(300px, 54vh, 600px); }
.hs__item--s { aspect-ratio: 1 / 1; height: clamp(220px, 36vh, 420px); }
.hs__item img { width: 100%; height: calc(100% - 34px); object-fit: cover; }
.hs__item figcaption { height: 34px; display: flex; align-items: flex-end; gap: 12px; color: var(--ink-2); }
.hs__item figcaption span { color: var(--wood); }

/* ---------- numbers ---------- */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: clamp(80px, 10vw, 140px); }
.num { display: grid; grid-template-columns: auto 1fr; align-items: start; padding-inline: clamp(12px, 2vw, 32px); border-inline-start: 1px solid var(--line); }
.num:first-child { border-inline-start: 0; padding-inline-start: 0; }
.num b { font: 300 clamp(52px, 6.4vw, 104px)/1 var(--serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.num sup { font: 300 clamp(24px, 2.4vw, 40px)/1 var(--serif); color: var(--wood); padding-top: .2em; }
.num span { grid-column: 1 / -1; margin-top: 18px; font-size: calc(14.5px * var(--fs)); color: var(--ink-2); }

/* ---------- services ---------- */
.services { padding-top: 0; }
.svc { border-top: 1px solid var(--ink); }
.svc__row {
  display: grid; grid-template-columns: 1fr 4fr 5fr 1fr; gap: 24px; align-items: center;
  padding-block: clamp(28px, 3.4vw, 48px); border-bottom: 1px solid var(--line);
  position: relative; cursor: default;
}
.svc__row::before { content: ""; position: absolute; inset: 0; background: var(--paper-2); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.svc__row:hover::before { transform: scaleY(1); }
.svc { position: relative; z-index: 0; isolation: isolate; }
.svc__n { color: var(--ink-3); }
.svc__row h3 { font: 300 clamp(36px, 5vw, 76px)/1 var(--serif); letter-spacing: -.02em; transition: transform .7s var(--ease), color .5s; }
.svc__row:hover h3 { transform: translateX(-18px); color: var(--wood); }
.svc__row p { color: var(--ink-2); font-size: calc(16px * var(--fs)); max-width: 520px; }
.svc__arrow { justify-self: end; font-size: calc(26px * var(--fs)); transition: transform .6s var(--ease); }
.svc__row:hover .svc__arrow { transform: translateX(-10px); }
.svc__preview {
  position: fixed; top: 0; left: 0; z-index: 30; width: 300px; aspect-ratio: 4 / 5; pointer-events: none;
  overflow: hidden; clip-path: inset(50% 50% 50% 50%); transition: clip-path .6s var(--ease);
}
.svc__preview.on { clip-path: inset(0 0 0 0); }
.svc__preview img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1s var(--ease-out); }
.svc__preview.on img { transform: scale(1); }

/* ---------- process ---------- */
.process { background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; padding-top: 44px; }
.steps::before { content: ""; position: absolute; top: 6px; inset-inline: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 2.2s var(--ease); }
.steps.in::before { transform: scaleX(1); }
.step { position: relative; display: grid; gap: 10px; align-content: start; opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.steps.in .step { opacity: 1; transform: none; }
.steps.in .step:nth-child(2) { transition-delay: .3s; } .steps.in .step:nth-child(3) { transition-delay: .6s; }
.steps.in .step:nth-child(4) { transition-delay: .9s; } .steps.in .step:nth-child(5) { transition-delay: 1.2s; }
.step__dot { position: absolute; top: -44px; inset-inline-start: 0; width: 13px; height: 13px; border: 1px solid var(--ink); background: var(--paper-2); border-radius: 50%; }
.step:last-child .step__dot { background: var(--wood); border-color: var(--wood); }
.step .mono { color: var(--wood); }
.step h3 { font: 400 clamp(22px, 1.9vw, 28px)/1.15 var(--serif); }
.step p { font-size: calc(15px * var(--fs)); color: var(--ink-2); max-width: 240px; }

/* ---------- quote ---------- */
.quote { position: relative; min-height: 92vh; min-height: 92svh; display: grid; align-items: center; color: var(--paper); overflow: hidden; background: var(--night); }
.quote__bg { position: absolute; inset: -12% 0; }
.quote__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.quote::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(270deg, rgba(12,12,10,.78) 0%, rgba(12,12,10,.35) 60%, rgba(12,12,10,.15) 100%); }
.quote blockquote { position: relative; z-index: 2; }
.quote__txt { font: 300 clamp(40px, 6.6vw, 112px)/1.04 var(--serif); letter-spacing: -.02em; }
@media (min-width: 861px) { .quote__txt .line > span { white-space: nowrap; } }
.quote__txt em { color: #D9C2AE; }
.quote cite { display: block; margin-top: 32px; font-style: normal; opacity: .8; }

/* ---------- contact ---------- */
.contact { background: var(--night); color: var(--paper); padding-block: clamp(96px, 12vw, 180px) clamp(64px, 8vw, 120px); }
.contact .sec__label { color: rgba(242,239,233,.5); }
.contact .sec__label span:first-child { color: var(--paper); }
.contact__title { font: 300 clamp(60px, 13vw, 220px)/.92 var(--serif); letter-spacing: -.03em; margin-top: 36px; }
.contact__title em { color: #D9C2AE; }
.contact__grid { display: grid; grid-template-columns: 5fr 1fr 6fr; margin-top: clamp(56px, 7vw, 110px); padding-top: 48px; border-top: 1px solid var(--night-line); }
.contact__direct { grid-column: 1; display: grid; gap: 22px; align-content: start; justify-items: start; }
.contact__phone { font: 300 clamp(36px, 4vw, 60px)/1 var(--serif); direction: ltr; letter-spacing: -.01em; transition: color .4s; }
.contact__phone:hover { color: #D9C2AE; }
.contact__direct p { color: rgba(242,239,233,.68); font-size: calc(16px * var(--fs)); }
.form { grid-column: 3; display: grid; gap: 8px; }
.fld { position: relative; display: block; border-bottom: 1px solid var(--night-line); transition: border-color .4s; }
.fld:focus-within { border-color: var(--paper); }
.fld input, .fld select, .fld textarea {
  width: 100%; background: transparent; border: 0; outline: 0; color: var(--paper);
  font: 300 calc(19px * var(--fs))/1.4 var(--sans); padding: 30px 0 12px; resize: none; border-radius: 0; appearance: none; -webkit-appearance: none;
}
.fld select option { color: var(--ink); }
.fld span { position: absolute; inset-inline-start: 0; top: 30px; color: rgba(242,239,233,.55); font-size: calc(17px * var(--fs)); pointer-events: none; transform-origin: right top; transition: transform .45s var(--ease-out), color .3s; }
.fld input:focus + span, .fld input:not(:placeholder-shown) + span,
.fld textarea:focus + span, .fld textarea:not(:placeholder-shown) + span,
.fld select:focus + span, .fld select:valid + span { transform: translateY(-22px) scale(.72); color: rgba(242,239,233,.8); }
.fld.err { border-color: #F0A58C; border-bottom-width: 2px; }
.form__note { color: rgba(242,239,233,.68); font-size: calc(14px * var(--fs)); }
.form__msg { font-size: calc(15px * var(--fs)); padding-top: 10px; min-height: 1em; }
.form__msg.err { color: #F2B6A2; }
.form .btn { margin-top: 18px; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.form__done { grid-column: 3; display: grid; gap: 12px; align-content: start; color: rgba(242,239,233,.8); }
.form__done-title { font: 300 clamp(30px, 3vw, 44px)/1.1 var(--serif); color: var(--paper); }
.form__done a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- footer ---------- */
.ftr { background: var(--night); color: var(--paper); padding-bottom: max(28px, env(safe-area-inset-bottom)); overflow: hidden; }
.ftr__big { font-size: clamp(64px, 17vw, 300px); line-height: .8; letter-spacing: -.04em; font-weight: 300; color: rgba(242,239,233,.08); white-space: nowrap; padding-top: 24px; user-select: none; }
.ftr__big::before { content: "ראובן בלאום"; }  /* decorative — kept out of the text layer */
.ftr__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; border-top: 1px solid var(--night-line); color: rgba(242,239,233,.6); flex-wrap: wrap; }
.ftr__nav { display: flex; gap: 28px; font-size: calc(14px * var(--fs)); flex-wrap: wrap; }

/* ---------- floating WhatsApp + cursor ---------- */
.fab {
  position: fixed; z-index: 40; inset: auto auto max(20px, env(safe-area-inset-bottom)) 20px;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wood); color: var(--paper); box-shadow: 0 10px 30px rgba(18, 18, 16, .22);
  transform: translateY(160%); transition: transform .8s var(--ease), background-color .4s;
}
.fab.show { transform: none; }
.fab:hover { background: var(--ink); }
.fab svg { width: 24px; fill: currentColor; }

.cursor { position: fixed; top: 0; left: 0; z-index: 60; pointer-events: none; }
.cursor span {
  position: absolute; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
  background: var(--paper); color: var(--ink); display: grid; place-items: center;
  font: 400 calc(11px * var(--fs))/1 var(--mono); letter-spacing: .14em;
  transform: scale(0); transition: transform .5s var(--ease-out);
}
.cursor.on span { transform: scale(1); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .hdr__call { display: none; }
  .about__cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .steps::before { display: none; }
  .step { border-top: 1px solid var(--ink); padding-top: 22px; }
  .step__dot { display: none; }
}

@media (max-width: 860px) {
  :root { --hdr-h: 68px; }
  body { font-size: calc(16px * var(--fs)); }
  .nav { display: none; }
  .burger { display: block; margin-inline-end: -10px; }
  .hdr.solid { height: 60px; }

  .hero__row { flex-direction: column; align-items: flex-start; gap: 26px; }
  .hero__lead { font-size: calc(16px * var(--fs)); }
  .hero__caption { display: none; }
  .hero__content { bottom: 104px; }

  .sec__head, .grid, .hs__head { grid-template-columns: 1fr; }
  .sec__head .sec__label, .h2, .about .sec__label, .statement, .about__img, .about__cols,
  .hs__head .sec__label, .hs__head .h2, .hs__hint { grid-column: 1 / -1; grid-row: auto; }
  .h2 { margin-top: 22px; }
  .statement { margin-top: 26px; }
  .about__img { aspect-ratio: 4 / 5; margin-top: 56px; }
  .about__cols { margin-top: 40px; }

  .pgrid { grid-template-columns: 1fr; gap: 64px; }
  .pj { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .pj--b figure, .pj--c figure { aspect-ratio: 4 / 5; }
  .pj--e figure { aspect-ratio: 4 / 3; }
  .pj--b, .pj--d { width: 86%; margin-inline-start: auto; }
  .pj__cap { grid-template-columns: auto 1fr; }
  .pj__meta { grid-column: 2; }

  /* horizontal strip becomes a native swipe carousel */
  .hs { padding-block: 88px; height: auto !important; }
  .hs__sticky { position: static; height: auto; overflow: visible; gap: 36px; }
  .hs__hint { justify-self: start; margin-top: 14px; }
  .hs__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; scrollbar-width: none; padding-bottom: 4px; align-items: flex-end; }
  .hs__track::-webkit-scrollbar { display: none; }
  .hs__item, .hs__item--t, .hs__item--s { scroll-snap-align: start; height: auto; width: 78vw; aspect-ratio: auto; }
  .hs__item img { height: auto; aspect-ratio: 4 / 5; }
  .hs__item--s img { aspect-ratio: 1 / 1; }

  .nums { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .num:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }

  .svc__row { grid-template-columns: auto 1fr; gap: 10px 18px; }
  .svc__row h3 { grid-column: 2; }
  .svc__row p { grid-column: 2; }
  .svc__arrow { display: none; }
  .svc__row:hover h3 { transform: none; }

  .steps { grid-template-columns: 1fr; row-gap: 0; padding-top: 0; }
  .step { grid-template-columns: 76px 1fr; column-gap: 12px; padding-block: 24px; border-top: 1px solid var(--line); }
  .step .mono { grid-row: 1 / 3; padding-top: 6px; }
  .step p { max-width: none; }

  .quote { min-height: 74svh; }

  .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .form, .form__done { grid-column: 1; }
  .ftr__row { flex-direction: column; align-items: flex-start; }
  .ftr__nav { flex-wrap: wrap; gap: 18px; }
}

@media (hover: none), (pointer: coarse) {
  .cursor, .svc__preview { display: none; }
}

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

/* ==========================================================
   Accessibility panel + display modes (see a11y.js)
   ========================================================== */
.a11y { position: fixed; z-index: 70; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); }  /* WhatsApp sits bottom-left */
.a11y__btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); box-shadow: 0 10px 30px rgba(18,18,16,.22);
  transition: background-color .3s, transform .4s var(--ease-out);
}
.a11y__btn:hover { background: var(--wood); }
.a11y__btn svg { width: 26px; height: 26px; fill: currentColor; }
.a11y__panel {
  position: absolute; bottom: 64px; right: 0; width: min(300px, calc(100vw - 40px));
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
  padding: 20px; display: grid; gap: 8px; box-shadow: 0 24px 60px rgba(18,18,16,.25);
  font-size: calc(15px * var(--fs));
}
.a11y__title { font: 400 calc(22px * var(--fs))/1.1 var(--serif); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.a11y__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 4px 8px; }
.a11y__sizes { display: flex; gap: 6px; }
.a11y__sizes button { width: 44px; height: 44px; border: 1px solid var(--line); font-family: var(--serif); line-height: 1; }
.a11y__sizes button:nth-child(1) { font-size: 16px; }
.a11y__sizes button:nth-child(2) { font-size: 20px; }
.a11y__sizes button:nth-child(3) { font-size: 25px; }
.a11y__opt {
  display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--line); text-align: start;
}
.a11y__opt::after { content: ""; flex: none; width: 38px; height: 22px; border-radius: 99px; border: 1.5px solid var(--ink-2); background: radial-gradient(circle, var(--ink-2) 0 6px, transparent 6.5px) right 2px center / 16px 16px no-repeat, var(--paper); transition: background .25s; }
.a11y__opt[aria-pressed="true"]::after { border-color: var(--ink); background: radial-gradient(circle, var(--paper) 0 6px, transparent 6.5px) left 2px center / 16px 16px no-repeat, var(--ink); }
.a11y__sizes button[aria-pressed="true"], .a11y__opt[aria-pressed="true"] { border-color: var(--ink); background: var(--paper-2); }
.a11y__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); }
.a11y__foot a, .a11y__reset { text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
/* on mobile the WhatsApp button sits on the left, the accessibility button on the right */
@media (max-width: 860px) { .a11y__btn { width: 48px; height: 48px; } .a11y__panel { bottom: 60px; } }

/* high contrast: pure black on white, darker accents, no translucent text */
.a11y-contrast {
  --paper: #FFFFFF; --paper-2: #FFFFFF; --ink: #000000; --ink-2: #000000; --ink-3: #1F1F1F;
  --line: rgba(0,0,0,.55); --wood: #4A2F1C; --night: #000000; --night-line: rgba(255,255,255,.5);
}
.a11y-contrast .hero__shade { background: rgba(0,0,0,.62); }
.a11y-contrast .quote::before { background: rgba(0,0,0,.72); }
.a11y-contrast .contact .sec__label, .a11y-contrast .contact__direct p, .a11y-contrast .form__note,
.a11y-contrast .fld span, .a11y-contrast .ftr__row, .a11y-contrast .form__done { color: #FFFFFF; }
.a11y-contrast .hero__title em, .a11y-contrast .quote__txt em, .a11y-contrast .contact__title em { color: #FFE2C6; }
.a11y-contrast .statement .w { opacity: 1 !important; }
.a11y-contrast .hdr.solid { background: #FFFFFF; }
.a11y-contrast .hdr.solid.dark { background: #000000; }

/* highlight links */
.a11y-links a:not(.a11y__btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px; }
.a11y-links a:not(.btn):not(.pj):not(.brand):not(.hdr__call):not(.fab) { background: #FFF3B0; color: #000 !important; }
.a11y-links .pj figure { outline: 3px solid #000; outline-offset: 4px; }

/* readable font: everything in the sans face, no tracking */
.a11y-font { --serif: "IBM Plex Sans Hebrew", system-ui, sans-serif; --mono: "IBM Plex Sans Hebrew", system-ui, sans-serif; }
.a11y-font .mono { letter-spacing: 0; text-transform: none; }
.a11y-font body { line-height: 1.8; }

/* stop animations: final states, no transitions */
.motion-off .reveal-up, .motion-off .reveal-img, .motion-off .reveal-img img, .motion-off .line > span,
.motion-off .step, .motion-off .steps::before, .motion-off .hero__slide, .motion-off .loader { transition: none !important; }
.motion-off .reveal-up, .motion-off .step { opacity: 1 !important; transform: none !important; }
.motion-off .reveal-img { clip-path: none !important; }
.motion-off .line > span { transform: none !important; }
.motion-off .steps::before { transform: none !important; }
.motion-off .hero__slide img { animation: none !important; transform: none; }
.motion-off .marquee__track { animation: none !important; }
.motion-off .cursor, .motion-off .svc__preview { display: none; }

/* ==========================================================
   Inner pages — projects, project, about, articles (page.js)
   ========================================================== */
.inner main { padding-top: 68px; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu__nav a[aria-current="page"] { color: var(--wood); }
.cta :focus-visible, .lb :focus-visible { outline-color: #E6CDB6; }

/* page head */
.phead { padding-block: clamp(64px, 9vw, 140px) clamp(48px, 6vw, 96px); }
.phead .sec__label a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.phead .sec__label a::after { content: ""; display: inline-block; width: 36px; height: 1px; background: currentColor; vertical-align: middle; margin-inline-start: 18px; opacity: .5; }
.phead__title { font: 300 clamp(48px, 9vw, 150px)/.98 var(--serif); letter-spacing: -.02em; margin-top: 28px; }
.phead__lead { max-width: 580px; margin-top: 34px; color: var(--ink-2); font-size: calc(18px * var(--fs)); }
.phead__meta { display: flex; gap: 14px; margin-top: 30px; color: var(--ink-3); }
.phead__meta span + span::before { content: "·"; margin-inline-end: 14px; color: var(--wood); }
.phead__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* projects index */
.plist { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(56px, 6vw, 96px) 24px; padding-bottom: clamp(96px, 12vw, 180px); }
.plist__item { display: block; }
.plist__item:nth-child(3n+2) { margin-top: 14%; }
.plist__item figure { aspect-ratio: 4 / 5; }
.plist__item figure img, .abt__img img { height: 100%; }
.plist__item:hover img { transform: scale(1.035) !important; transition-duration: 1.4s; }
.pj__cap h2 { font: 400 clamp(22px, 2vw, 30px)/1.1 var(--serif); }

/* project page */
.pcover { margin-bottom: clamp(48px, 6vw, 96px); }
.pcover img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.lb-open { display: block; width: 100%; cursor: zoom-in; }
.pabout { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; padding-bottom: clamp(64px, 8vw, 120px); }
.pabout__txt { grid-column: 4 / 11; font: 300 clamp(22px, 2.3vw, 32px)/1.45 var(--serif); }
.pstats { grid-column: 4 / 13; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); }
.pstats div { padding: 22px 0 0; padding-inline-end: 16px; }
.pstats dt { font-family: var(--mono); font-size: calc(12px * var(--fs)); color: var(--ink-3); }
.pstats dd { margin: 8px 0 0; font: 300 clamp(26px, 2.6vw, 40px)/1.1 var(--serif); }
.gal { columns: 3; column-gap: 24px; padding-bottom: clamp(64px, 8vw, 120px); }
.gal__item { break-inside: avoid; margin-bottom: 24px; background: var(--paper-2); }
.gal__item img { width: 100%; height: auto; transition: opacity .5s; }
.gal__item .lb-open:hover img { opacity: .88; }
.pnav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; padding-block: 44px clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.pnav__link { display: grid; gap: 10px; }
.pnav__link .mono { color: var(--ink-3); }
.pnav__t { font: 300 clamp(26px, 3vw, 46px)/1.1 var(--serif); transition: color .4s; }
.pnav__link:hover .pnav__t { color: var(--wood); }
.pnav__link--next { text-align: end; }
.pnav__all { border: 1px solid var(--ink); border-radius: 99px; padding: 12px 22px; transition: background-color .4s, color .4s; }
.pnav__all:hover { background: var(--ink); color: var(--paper); }

/* lightbox */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 12, 10, .97); color: var(--paper); overflow: hidden; }
.lb::backdrop { background: rgba(12, 12, 10, .6); }
.lb[open] { display: grid; grid-template-rows: auto 1fr; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); }
.lb__close { width: 48px; height: 48px; font-size: calc(20px * var(--fs)); border-radius: 50%; }
.lb__close:hover, .lb__nav:hover { background: rgba(242, 239, 233, .12); }
.lb__fig { display: grid; place-items: center; min-height: 0; padding: 0 96px 24px; }
.lb__fig img { width: auto; height: auto; max-height: calc(100dvh - 104px); object-fit: contain; }
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(242, 239, 233, .3); font-size: calc(22px * var(--fs)); }
.lb__prev { right: var(--gutter); }
.lb__next { left: var(--gutter); }

/* about */
.abt { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 24px; padding-bottom: clamp(96px, 12vw, 170px); }
.abt__img { grid-column: 1 / 5; aspect-ratio: 2 / 3; align-self: start; position: sticky; top: 100px; }
.abt__body { grid-column: 6 / 12; }
.prose .abt__lead { font: 300 clamp(24px, 2.5vw, 36px)/1.38 var(--serif); color: var(--ink); }

/* articles */
.art { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 24px; padding-bottom: clamp(96px, 12vw, 170px); }
.art .prose { grid-column: 3 / 10; }
.art__more { grid-column: 10 / 13; align-self: start; position: sticky; top: 100px; display: grid; gap: 14px; }
.art__more ul { border-top: 1px solid var(--ink); }
.art__more a { display: flex; justify-content: space-between; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); transition: color .3s; }
.art__more a:hover { color: var(--wood); }
.prose p { color: var(--ink-2); font-size: calc(18px * var(--fs)); line-height: 1.8; margin-bottom: 1em; }
.prose h2 { font: 400 clamp(26px, 2.6vw, 38px)/1.2 var(--serif); margin: 1.6em 0 .6em; }
.prose > :first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-inline-start: 1.2em; display: grid; gap: 8px; color: var(--ink-2); font-size: calc(17px * var(--fs)); margin-bottom: 1.4em; }
.prose blockquote { margin: 1.4em 0; padding-inline-start: 26px; border-inline-start: 2px solid var(--wood); }
.prose blockquote p { font: 300 clamp(26px, 2.8vw, 42px)/1.25 var(--serif); color: var(--ink); margin: 0; }
.prose blockquote cite { display: block; margin-top: 12px; font-style: normal; color: var(--ink-3); }
.tiplist { border-top: 1px solid var(--line); margin-bottom: 1.6em; }
.tiplist li { display: grid; grid-template-columns: 64px 1fr; padding-block: 24px; border-bottom: 1px solid var(--line); }
.tiplist .mono { color: var(--wood); padding-top: .5em; }
.tiplist p:last-child { margin-bottom: 0; }
.tiplist h3 { font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); margin-bottom: 8px; }
.faq__q { display: flex; gap: 18px; align-items: baseline; }
.faq__q .mono { color: var(--wood); }

/* tips index */
.tlist { border-top: 1px solid var(--ink); margin-bottom: clamp(96px, 12vw, 170px); }
.tlist a { display: grid; grid-template-columns: 1fr 4fr 5fr 1fr; gap: 24px; align-items: center; padding-block: clamp(26px, 3vw, 44px); border-bottom: 1px solid var(--line); position: relative; isolation: isolate; }
.tlist a::before { content: ""; position: absolute; inset: 0; background: var(--paper-2); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.tlist a:hover::before { transform: scaleY(1); }
.tlist .mono { color: var(--ink-3); }
.tlist h2 { font: 300 clamp(28px, 3.4vw, 54px)/1.05 var(--serif); letter-spacing: -.01em; transition: color .4s; }
.tlist a:hover h2 { color: var(--wood); }
.tlist p { color: var(--ink-2); font-size: calc(15px * var(--fs)); }
.tlist__arrow { justify-self: end; font-size: calc(26px * var(--fs)); }

/* closing call to action */
.cta { background: var(--night); color: var(--paper); padding-block: clamp(96px, 12vw, 170px); }
.cta__title { font: 300 clamp(48px, 9vw, 150px)/.95 var(--serif); letter-spacing: -.03em; }
.cta__title em { color: #D9C2AE; }
.cta__acts { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 72px); padding-top: 40px; border-top: 1px solid var(--night-line); }
.cta__phone { font: 300 clamp(32px, 3.6vw, 54px)/1 var(--serif); direction: ltr; transition: color .4s; }
.cta__phone:hover { color: #D9C2AE; }
.cta__btns { display: flex; align-items: center; gap: 28px; }

.a11y-contrast .cta__title em { color: #FFE2C6; }
.a11y-links a.plist__item, .a11y-links a.pnav__link, .a11y-links .tlist a, .a11y-links .art__more a { background: none; }
.a11y-links .plist__item figure { outline: 3px solid #000; outline-offset: 4px; }

@media (max-width: 1100px) {
  .plist { grid-template-columns: 1fr 1fr; }
  .plist__item:nth-child(3n+2) { margin-top: 0; }
  .plist__item:nth-child(2n) { margin-top: 16%; }
  .gal { columns: 2; }
  .art .prose { grid-column: 1 / 9; }
  .art__more { grid-column: 9 / 13; }
  .abt__img { grid-column: 1 / 6; }
  .abt__body { grid-column: 7 / 13; }
}
@media (max-width: 860px) {
  .inner main { padding-top: 60px; }
  .plist { grid-template-columns: 1fr; }
  .plist__item:nth-child(n) { margin-top: 0; }
  .gal { columns: 1; }
  .pabout, .art, .abt { grid-template-columns: 1fr; }
  .pabout__txt, .pstats, .art .prose, .art__more, .abt__img, .abt__body { grid-column: 1 / -1; }
  .pstats { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .abt__img { position: static; aspect-ratio: 4 / 5; }
  .art__more { position: static; }
  .pnav { grid-template-columns: 1fr 1fr; }
  .pnav__all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .tlist a { grid-template-columns: auto 1fr; gap: 10px 18px; }
  .tlist h2, .tlist p { grid-column: 2; }
  .tlist__arrow { display: none; }
  .tiplist li { grid-template-columns: 48px 1fr; }
  .lb__fig { padding: 0 12px 88px; }
  .lb__fig img { max-height: calc(100dvh - 170px); }
  .lb__nav { top: auto; bottom: max(20px, env(safe-area-inset-bottom)); translate: none; }
  .lb__prev { right: calc(50% + 12px); }
  .lb__next { left: calc(50% + 12px); }
  .cta__acts { flex-direction: column; align-items: flex-start; }
}
