/* Case-study pages (site/work/<slug>/, site/he/work/<slug>/), in the v3 colours: beige page, navy type, green accents.
   A reading page: one column, the film up top, plain headings, no scroll effects. Built by tools/build-work.mjs. */
:root {
  --beige: #ece3d2; --paper: #f6f1e7; --navy: #14203a; --navy-2: #3a4560; --green: #1e3a2f;
  --rule: rgba(20, 32, 58, 0.16);
  --he: 'Noto Sans Hebrew', 'Montserrat', system-ui, sans-serif;
  --latin: 'Montserrat', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--beige); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--beige); color: var(--navy); font: 400 17px/1.7 var(--latin); -webkit-font-smoothing: antialiased; }
[dir="rtl"] body { font-family: var(--he); }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.skip { position: fixed; top: -80px; inset-inline-start: 12px; z-index: 10; padding: 10px 18px; border-radius: 999px; background: var(--navy); color: var(--beige); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.top { max-width: 1040px; margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mark { display: inline-flex; align-items: center; text-decoration: none; --logo-h: 32px; }
.logo { display: block; height: var(--logo-h, 26px); aspect-ratio: 2.88; background: currentColor; -webkit-mask: url(/img/logo-arva.svg) center / contain no-repeat; mask: url(/img/logo-arva.svg) center / contain no-repeat; }
.top nav { display: flex; align-items: center; gap: 20px; font-size: 0.96rem; }
.top nav a:not(.pill) { text-decoration: none; }
.top nav a:not(.pill):hover { text-decoration: underline; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 10px 18px; font-weight: 600; text-decoration: none; border: 1.5px solid currentColor; transition: transform 140ms ease-out; }
.pill:active { transform: scale(0.97); }
.pill.dark { background: var(--navy); color: var(--beige); border-color: var(--navy); padding: 14px 24px; font-size: 1.04rem; }

main { max-width: 820px; margin: 0 auto; padding: 20px 20px 72px; }
main:focus { outline: none; }
.crumbs { font-size: 0.92rem; color: var(--navy-2); margin: 8px 0 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
h1 { margin: 0 0 14px; font-weight: 900; font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.lede { margin: 0 0 26px; font-size: 1.15rem; font-weight: 500; }
.film { margin: 0 0 12px; border-radius: 18px; overflow: hidden; background: #13261e; box-shadow: 0 30px 50px rgba(7, 14, 11, 0.25); aspect-ratio: 16 / 9; }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.concept { margin: 0 0 40px; font-size: 0.92rem; color: var(--navy-2); }
h2 { margin: 44px 0 12px; font-weight: 800; font-size: 1.5rem; line-height: 1.25; }
h3 { margin: 22px 0 8px; font-weight: 700; font-size: 1.08rem; }
p { margin: 0 0 14px; }
.beats { margin: 0; padding-inline-start: 1.4em; }
.beats li, .tools li { margin-bottom: 8px; }
.tools { margin: 0; padding-inline-start: 1.2em; }
.cta { margin-top: 48px; padding: 28px 28px 32px; border-radius: 22px; background: var(--navy); color: var(--beige); }
.cta h2 { margin-top: 0; }
.cta .pill.dark { background: var(--beige); color: var(--navy); border-color: var(--beige); }
.more { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.more a { display: block; text-decoration: none; }
.more img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.more span { display: flex; flex-direction: column; margin-top: 8px; font-size: 0.92rem; color: var(--navy-2); }
.more b { color: var(--navy); font-size: 1rem; }
.more a:hover b { text-decoration: underline; }

.foot { max-width: 820px; margin: 0 auto; padding: 24px 20px 48px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.92rem; color: var(--navy-2); }
@media (prefers-reduced-motion: reduce) { .pill { transition: none; } }
