/* Version D, inner pages (round 77, Kseniya: "design the inner pages we have: the project, and all the terms pages").
   The language of v4.html, "the etching plate": every page opens on a plate of her ink (the stain of version C, which
   spreads as the page opens, with a soft edge below), with the title large and light on it; the rest is the print, a
   reading column on paper. One colour besides ink and paper: her orange. Version C keeps inner-c.css. */
/* Kseniya, 2026-11-22: "remove the browser's scrollbar". The page still scrolls by wheel, touch and keyboard */
html, body{scrollbar-width:none; -ms-overflow-style:none}
html::-webkit-scrollbar, body::-webkit-scrollbar{display:none; width:0; height:0}
@font-face{font-family:"Tel Aviv Modernist"; src:url(fonts/telaviv-modernistregular.woff2) format("woff2"); font-weight:400; font-display:swap}
@font-face{font-family:"Tel Aviv Modernist"; src:url(fonts/telaviv-modernistbold.woff2) format("woff2"); font-weight:700; font-display:swap}
@font-face{font-family:"Tel Aviv Brutalist"; src:url(fonts/telaviv-brutalistbold.woff2) format("woff2"); font-weight:700; font-display:swap}
:root{
  --plate:#0E0D0C; --paper:#F4F2EC; --sheet:#FBFAF6; --ink:#1B1A18; --ink-soft:#57544E;
  --lite:#F4F2EC; --lite-soft:rgb(244 242 236 / .72); --orange:#F47920;
  --display:"Tel Aviv Modernist", "Google Sans", system-ui, sans-serif;
  --heavy:"Tel Aviv Brutalist", "Tel Aviv Modernist", "Google Sans", sans-serif;
  --body:"Google Sans", system-ui, sans-serif;
  --gut:clamp(20px, 6vw, 120px); --ease:cubic-bezier(.2,.8,.2,1); --ease-out:cubic-bezier(.16,1,.3,1);
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .09 0 0 0 0 .08 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --a11y-accent:#F47920; color-scheme:light;
}
*{box-sizing:border-box}
html{overflow-x:clip; background:var(--paper)}
body{margin:0; background:var(--grain) 0 0/200px, var(--paper); color:var(--ink); font-family:var(--body); font-size:18px; line-height:1.75; -webkit-font-smoothing:antialiased; overflow-x:clip; position:relative}
body::after{content:""; position:fixed; inset:-50%; z-index:95; pointer-events:none; background:var(--grain) 0 0/220px; opacity:.55; mix-blend-mode:soft-light; animation:grain 1.2s steps(4) infinite}
@keyframes grain{0%{transform:translate(0, 0)} 25%{transform:translate(-3%, 2%)} 50%{transform:translate(2%, -3%)} 75%{transform:translate(-2%, -1%)} 100%{transform:translate(0, 0)}}
img{max-width:100%; height:auto; display:block}
a{color:inherit}
:focus-visible{outline:3px solid var(--orange); outline-offset:4px}
h1, h2, h3{text-wrap:balance; font-family:var(--display); font-weight:400; margin:0} p, li, dd{text-wrap:pretty}
a.sr:not(:focus){position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}
a.sr:focus{position:fixed; top:12px; right:12px; z-index:200; padding:12px 20px; border-radius:999px; background:var(--orange); color:#14120F; font-size:17px; text-decoration:none}

/* ---------- the bar: the logo with its orange splash, and a way back ---------- */
.top{position:fixed; inset:0 0 auto; z-index:100; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px var(--gut); color:var(--lite); transition:color .45s var(--ease)}
.top.on-paper{color:var(--ink)}
.brand{font-family:var(--display); font-weight:700; font-size:clamp(22px, 1.7vw, 27px); text-decoration:none; line-height:1}
.brand .vav{position:relative; display:inline-block}
.brand .splash{position:absolute; left:50%; top:-.1em; width:.84em; height:.42em; transform:translateX(-50%); overflow:visible; fill:var(--orange)}
.pill{display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:52px; padding:0 26px; border-radius:999px; border:1.5px solid currentColor;
  font-family:var(--body); font-size:18px; line-height:1; text-decoration:none; color:inherit; background:transparent; cursor:pointer; white-space:nowrap;
  transition:transform .3s var(--ease), background .3s, color .3s, border-color .3s}
.pill:is(:hover, :focus-visible){transform:translateY(-2px); background:var(--lite); color:var(--plate); border-color:var(--lite)}
.top.on-paper .pill:is(:hover, :focus-visible){background:var(--ink); color:var(--paper); border-color:var(--ink)}
.pill--solid{background:var(--orange); border-color:var(--orange); color:#14120F}
.pill--solid:is(:hover, :focus-visible){background:var(--ink); border-color:var(--ink); color:var(--paper)}
.pill svg{width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}

/* ---------- the plate: her ink, spread as the page opens, the title light on it ---------- */
.plate{position:relative; min-height:clamp(380px, 62vh, 640px); display:flex; align-items:flex-end; padding:130px var(--gut) clamp(70px, 11vh, 120px); color:var(--lite); isolation:isolate}
.plate-ink{position:absolute; left:0; top:0; width:100%; height:calc(100% + 170px); z-index:-1; pointer-events:none; display:block}
.plate-in{position:relative; max-width:1400px; width:100%; margin:0 auto}
.plate h1{font-size:clamp(48px, 7.4vw, 132px); line-height:1; letter-spacing:-.01em; color:var(--lite)}
.plate .no{display:block; font-family:var(--heavy); font-weight:700; font-size:clamp(70px, 9vw, 160px); line-height:.85; color:transparent; -webkit-text-stroke:1.6px var(--orange); direction:ltr; text-align:right; margin-bottom:18px}
.plate .kind{margin:18px 0 0; font-size:clamp(19px, 1.5vw, 24px); color:var(--lite-soft); max-width:40ch}
/* launch QA, Kseniya: on the text pages (privacy, terms, accessibility) "the title is too low, there is too much black": the plate
   is only as tall as its title needs, and the text comes up under it. The project page (it has the big number) keeps its plate. */
.plate:not(:has(.no)){min-height:0; padding-top:clamp(118px, 15vh, 160px); padding-bottom:clamp(40px, 6vh, 64px)}
.plate:not(:has(.no)) + .doc{padding-top:190px}   /* the ink runs out up to 170px below the plate (.plate-ink): the text starts clear of it at any width (2026-12-06: at 2000px wide the date sat in the ink) */
@media (max-width:760px){ .plate:not(:has(.no)){padding-top:104px; padding-bottom:34px} .plate:not(:has(.no)) + .doc{padding-top:52px} }
.uline{position:relative; display:inline-block}
.uline > svg{position:absolute; left:-2%; right:-2%; bottom:-.12em; width:104%; height:.22em; overflow:visible; pointer-events:none}
.uline > svg path{fill:none; stroke:var(--orange); stroke-width:4.5; stroke-linecap:round; stroke-dasharray:1; stroke-dashoffset:1; transition:stroke-dashoffset 1.4s var(--ease) .7s}
.uline.in > svg path{stroke-dashoffset:0}

/* ---------- letters and blocks come from close and settle (as on the home page) ---------- */
.ff{opacity:0; transform:translateY(46px) scale(.985); filter:blur(8px); transition:opacity 1s var(--ease-out), transform 1.3s var(--ease-out), filter 1s var(--ease-out)}
.ff.in{opacity:1; transform:none; filter:none}

/* ---------- the text pages: a calm reading column on the paper ---------- */
.doc{position:relative; max-width:820px; margin:0 auto; padding:clamp(70px, 11vh, 130px) var(--gut) 110px}
.doc h2{font-size:clamp(28px, 2.4vw, 38px); line-height:1.15; margin:56px 0 14px; position:relative; padding-top:22px}
.doc h2::before{content:""; position:absolute; right:0; top:0; width:64px; height:3px; border-radius:3px; background:var(--orange)}
.doc p, .doc li{max-width:64ch; color:var(--ink-soft)}
.doc b, .doc strong{color:var(--ink)}
.doc ul{padding-inline-start:1.2em}
.doc li{margin-bottom:.55em}
.doc li::marker{color:var(--orange)}
.doc a{color:var(--ink); text-decoration-color:var(--orange); text-decoration-thickness:2px; text-underline-offset:4px}
.draft{padding:18px 24px; background:rgb(244 121 32 / .12); border-radius:18px; color:var(--ink) !important}
.upd{color:var(--ink-soft)}

/* ---------- the project page ---------- */
.proj{display:grid; grid-template-columns:minmax(320px, 5fr) 7fr; gap:clamp(36px, 5vw, 96px); padding:clamp(70px, 11vh, 130px) var(--gut) 120px; max-width:1600px; margin:0 auto}
.info{position:sticky; top:110px; align-self:start}
.info.long{position:relative; top:auto}
.info h2{font-size:clamp(26px, 2vw, 34px); margin:0 0 12px}
.about p{margin:0 0 .8em; max-width:52ch; color:var(--ink-soft); line-height:1.7}
.facts{margin:30px 0 0; padding-top:24px; display:grid; grid-template-columns:auto minmax(0, 1fr); gap:10px 26px; border-top:1px solid rgb(27 26 24 / .14)}
.facts dt{font-family:var(--display); font-weight:700}
.facts dd{margin:0; color:var(--ink-soft)}
.info .pill{margin-top:30px}
.next{display:block; margin-top:34px; text-decoration:none}
.next span{display:block; color:var(--ink-soft); font-size:16px}
.next b{display:inline-block; font-family:var(--display); font-weight:400; font-size:clamp(24px, 2vw, 32px); line-height:1.2; background:linear-gradient(var(--orange), var(--orange)) no-repeat 100% 100% / 0 3px; padding-bottom:4px; transition:background-size .6s var(--ease)}
.next:is(:hover, :focus-visible) b{background-size:100% 3px}
.next i{font-style:normal; display:inline-block; margin-inline-start:12px; transition:transform .35s var(--ease)}
.next:is(:hover, :focus-visible) i{transform:translateX(-6px)}
.shots{min-width:0}
.shot{border-radius:10px; overflow:hidden; box-shadow:0 34px 90px rgb(20 18 15 / .22), 0 0 0 1px rgb(20 18 15 / .06); background:var(--sheet)}
.shot .page{width:100%}
@media (max-width:900px){ .proj{grid-template-columns:1fr} .info{position:relative; top:auto} }

/* ---------- the foot, and back to the top ---------- */
.foot{position:relative; display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 28px; margin:0 var(--gut); padding:24px 0 calc(34px + env(safe-area-inset-bottom, 0px)); border-top:1px solid rgb(27 26 24 / .14); font-size:16px; color:var(--ink-soft)}
.legal{display:flex; flex-wrap:wrap; gap:8px 22px}
.legal a{text-decoration:none; color:var(--ink)}
.legal a:hover, .legal a[aria-current]{color:var(--orange)}
.totop{position:fixed; left:max(16px, env(safe-area-inset-left, 0px)); bottom:calc(18px + env(safe-area-inset-bottom, 0px)); z-index:98; width:50px; height:50px; padding:0;
  display:grid; place-items:center; border-radius:50%; border:1.5px solid #F4F2EC; background:transparent; color:#F4F2EC; mix-blend-mode:difference; cursor:pointer;
  opacity:0; transform:translateY(14px); pointer-events:none; transition:opacity .35s var(--ease), transform .35s var(--ease)}
.totop.show{opacity:1; transform:none; pointer-events:auto}
.totop svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}

/* ---------- less motion ---------- */
@media (prefers-reduced-motion:reduce){ body::after{animation:none} .ff{opacity:1; transform:none; filter:none; transition:none} .uline > svg path{stroke-dashoffset:0; transition:none} }
html.a11y-still body::after{animation:none} html.a11y-still .ff{opacity:1; transform:none; filter:none; transition:none}
