/* r6 home: each section is scoped under its own class, as picked from alt/ */

/* ===== hero (his pick 22.10, round 14): all the works whole, standing still, in justified rows filling one screen (home.js) ===== */
/* one screen under the header, never lower than --hmin (style.css): below that it is taller than the screen and scrolls (audit 4, T5) */
.hero { --g: var(--hg); --r: 5px; position: relative; height: var(--hh); padding-bottom: var(--g); display: grid; grid-template-rows: minmax(0, 1fr); }
.hero .cols-wall { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--g); overflow: hidden; }
.hero .frow { display: flex; gap: var(--g); direction: rtl; flex: none; }
.hero .tile { position: relative; display: block; flex: none; border-radius: var(--r); overflow: hidden; background: #dcd8d1; transition: opacity .5s ease; }
/* a very thin inner edge, so a white work still ends where its tile ends; on dark ones it does not show (audit 4, 22.10) */
.hero .tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(13, 13, 13, .07); pointer-events: none; }
.hero .tile .md { width: 100%; height: 100%; object-fit: cover; }
.hero .tile .mv { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
.hero .tile .mv.live { opacity: 1; }
/* (no black behind a film tile: its still sits under it, on the beige tile, audit 23.10 finding 3) */
/* hover: the wall goes quiet around the one you point at */
.hero .cols-wall.focus .tile { opacity: .7; }
.hero .cols-wall.focus .tile.hot { opacity: 1; }
.hero .tcap { position: absolute; inset: auto 0 0 0; direction: rtl; padding: 40px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.62)); opacity: 0; transition: opacity .3s; }
.hero .tcap b { display: block; font-weight: 700; font-size: 16px; line-height: 1.2; }
.hero .tcap span { font-size: 13px; opacity: .85; }
.hero .tile.hot .tcap { opacity: 1; }

/* ===== about (alt/about/c "דיוקן במסגרת") ===== */
/* one rhythm above every section, set by the page width (the hero's), not the window (his note 22.10) */
main { --sec: clamp(72px, calc((100vw - 2 * var(--x)) * .1), 150px); }
/* the sections measure their own width (cqi = 1% of the page), so type and logos grow with the page, not the window */
.about, .awards, .clients, .press { container-type: inline-size; }
.about { padding-top: var(--sec); }
/* lower than before (his note 22.10 "להנמיך"): about 70% of the screen, or 62% of the page width if that is less;
   the portrait takes at most a square of that height, so the whole face and the shoulders show, the text gets the rest */
.about .panel { --ah: min(70svh, 62cqi); display: grid; grid-template-columns: min(50cqi, var(--ah)) minmax(0, 1fr); min-height: var(--ah); background: #0f0f0e; color: #f1efeb; border-radius: 6px; overflow: hidden; }
.about .ph { position: relative; overflow: hidden; background: #1b1b1a; }
.about .ph img, .about .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; filter: grayscale(1) contrast(1.08) brightness(.92); transform: scale(var(--s, 1.12)); transition: transform .2s linear; }
/* a soft edge so the photo sinks into the dark half */
.about .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(15,15,14,0) 70%, rgba(15,15,14,.55)); pointer-events: none; }
/* the heading moved out of the panel, so the text sits in the middle: no empty band above it any more (his note 22.10) */
.about .txt { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.6cqi, 88px); }
.about .lede { font-size: clamp(34px, 3.7vw, 62px); line-height: 1.06; max-width: 15ch; }
.about .lede .num { font-family: "Inter Tight", "IT-fb", sans-serif; font-weight: 500; letter-spacing: -.035em; }
.about .lede .dim { color: rgba(241,239,235,.5); }
.about .cols { columns: 2; column-gap: 40px; font-size: 16px; line-height: 1.6; color: rgba(241,239,235,.72); }
.about .cols p { break-inside: avoid; margin-bottom: 1em; text-wrap: pretty; }

/* ===== awards (alt/awards/b "רשימה עם הפרס ביד"), his change: the festival on the left, the medals on the right ===== */
.awards { padding-top: var(--sec); }
.awards .head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 22px; }
.awards .head .eyebrow { font-size: 15px; color: var(--mute); }
.awards .head p { font-size: 15px; color: var(--mute); }
.awards .roll { border-top: 1px solid var(--ink); }
.awards .roll li { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 32px; padding: clamp(18px, 1.9vw, 28px) 0; border-bottom: 1px solid var(--line); cursor: default; transition: opacity .35s; }
.awards .nm { font-family: "Inter Tight", "IT-fb", sans-serif; font-weight: 500; font-size: clamp(36px, 7cqi, 150px); line-height: .98; letter-spacing: -.045em; text-align: left; justify-self: end; transition: transform .6s cubic-bezier(.2, .7, .1, 1); }
.awards .md { order: -1; display: flex; flex-direction: column; align-items: flex-end; gap: .15em; font-family: "Inter Tight", "IT-fb", sans-serif; font-size: clamp(15px, 1.15cqi, 28px); color: var(--mute); text-align: left; }
.awards .md span { display: inline-flex; align-items: center; gap: .6em; white-space: nowrap; }
.awards .md em { font-style: normal; }
.awards .md b { font-weight: 700; margin-inline-start: 1px; color: var(--ink); font-variant-numeric: tabular-nums; }
.awards .md i { width: .54em; height: .54em; border-radius: 50%; border: 1px solid var(--mute); flex: none; }
.awards .md i.gold { border: 0; background: radial-gradient(circle at 35% 30%, #f3dc95, #b98d2c 70%); }
.awards .md i.silver { border: 0; background: radial-gradient(circle at 35% 30%, #f2f2f0, #9da0a3 70%); }
.awards .md i.bronze { border: 0; background: radial-gradient(circle at 35% 30%, #e7b48b, #95603a 70%); }
.awards .th { display: none; }
@media (hover: hover) {
  .awards .roll:hover li { opacity: .28; }
  .awards .roll li:hover { opacity: 1; }
  .awards .roll li:hover .nm { transform: translateX(14px); }
}
/* the trophy that follows the pointer */
.aw-float { position: fixed; left: 0; top: 0; width: clamp(200px, 17vw, 280px); aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; pointer-events: none; z-index: 20; opacity: 0; transform: translate3d(var(--fx, 0), var(--fy, 0), 0) scale(.92); transition: opacity .35s, transform .35s cubic-bezier(.2, .7, .1, 1); box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); background: #fff; }
.aw-float.on { opacity: 1; transform: translate3d(var(--fx, 0), var(--fy, 0), 0) scale(1); transition: opacity .35s, transform 0s; }
.aw-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.aw-float img.plate { object-fit: contain; padding: 12%; }
.aw-float img.on { opacity: 1; }
/* ----- the medals side (his pick 22.10, option c "מדליות עגולות", after "לא אוהב את הצד הימני של הפרסים") ----- */
.awards.aw-c .md { flex-direction: row; color: var(--ink); }
.awards.aw-c .md :is(span, b, small, em) { margin: 0; }

/* c: medal discs, one per kind with the count struck inside; metal for gold, silver, bronze, an engraved outline for shortlist and merit */
.awards.aw-c { --d: clamp(50px, 4.9cqi, 112px); }
.awards.aw-c .md { align-items: flex-start; gap: clamp(16px, 1.7cqi, 40px); }
.awards.aw-c .md .dk { display: flex; flex-direction: column; align-items: center; gap: clamp(9px, .8cqi, 18px); min-width: var(--d); }
.awards.aw-c .md .dk b { position: relative; display: flex; align-items: center; justify-content: center; width: var(--d); height: var(--d); border-radius: 50%; font-weight: 500; font-size: calc(var(--d) * .4); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink); }
.awards.aw-c .md .dk b::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.awards.aw-c .md .dk b sup { position: relative; top: -.55em; font-size: .4em; letter-spacing: 0; margin-left: .06em; }
.awards.aw-c .md .dk:is(.gold, .silver, .bronze) b { box-shadow: inset 0 -2px 3px rgba(0,0,0,.16), inset 0 2px 2px rgba(255,255,255,.5), 0 1px 1px rgba(0,0,0,.14), 0 10px 18px -12px rgba(40,25,5,.55); text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.awards.aw-c .md .dk:is(.gold, .silver, .bronze) b::before { box-shadow: inset 0 1px 1px rgba(0,0,0,.2), 0 1px 0 rgba(255,255,255,.45); }
.awards.aw-c .md .dk.gold b { color: #4a3406; background: conic-gradient(from 210deg at 50% 50%, rgba(255,255,255,0), rgba(255,250,225,.45) 12%, rgba(255,255,255,0) 26%, rgba(255,255,255,0) 60%, rgba(255,245,210,.3) 72%, rgba(255,255,255,0) 86%), radial-gradient(circle at 32% 26%, #fbebb4, #e3bf66 30%, #bf942f 64%, #8f6a1c); }
.awards.aw-c .md .dk.silver b { color: #2b2d30; background: conic-gradient(from 210deg at 50% 50%, rgba(255,255,255,0), rgba(255,255,255,.55) 12%, rgba(255,255,255,0) 26%, rgba(255,255,255,0) 60%, rgba(255,255,255,.35) 72%, rgba(255,255,255,0) 86%), radial-gradient(circle at 32% 26%, #ffffff, #dcdddb 30%, #aeb1b3 64%, #7f8387); }
.awards.aw-c .md .dk.bronze b { color: #3b1f0c; background: conic-gradient(from 210deg at 50% 50%, rgba(255,255,255,0), rgba(255,236,215,.4) 12%, rgba(255,255,255,0) 26%, rgba(255,255,255,0) 60%, rgba(255,230,205,.28) 72%, rgba(255,255,255,0) 86%), radial-gradient(circle at 32% 26%, #f6d1ad, #d29a6a 30%, #a46a40 64%, #74462a); }
.awards.aw-c .md .dk small { font-size: clamp(11px, .82cqi, 18px); line-height: 1; color: var(--mute); white-space: nowrap; letter-spacing: -.005em; }

@media (max-width: 760px) {

  .awards.aw-c { --d: 38px; }
  .awards.aw-c .md { gap: 14px; margin-top: 6px; }
  .awards.aw-c .md .dk { gap: 7px; }
}

/* ===== clients (alt/clients/b "קיר כרטיסים") ===== */
.clients { padding-top: var(--sec); }
.clients .lg { display: block; height: calc(var(--H) * var(--fh)); width: calc(var(--H) * var(--fw)); max-width: 100%; object-fit: contain; flex: none; }
.clients .lg.wm { width: auto; font-weight: 700; font-size: calc(var(--H) * var(--fh) * .78); line-height: calc(var(--H) * var(--fh)); white-space: nowrap; letter-spacing: -.01em; }
.clients [data-rv] { opacity: 0; transform: translateY(10px); transition: opacity .35s cubic-bezier(.2,.7,.2,1), transform .35s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0s) / 2); }
.clients [data-rv].in { opacity: 1; transform: none; }
/* the about heading is the same as the clients one (his note 22.10: "כותרת כמו השאר") */
:is(.about, .recent, .clients) .head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 22px; }
:is(.about, .recent, .clients) .head h2 { font-weight: 700; font-size: clamp(30px, 3vw, 46px); line-height: 1; }
:is(.about, .recent, .clients) .head p { color: var(--mute); font-size: 15px; }
/* his note 22.10: three clients now in big cards, then "לקוחות עבר" in smaller ones; a row may end with an empty place.
   Each card measures itself (cqi = 1% of the card), so a logo is always the same share of its card, at any page width */
.clients .cards { display: grid; gap: 8px; }
/* four clients now (Wolt added, his note 26.11.2026): one row of four, two by two on a phone */
.clients .cards.main { --H: 36cqi; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@container (max-width: 619px) { .clients .cards.main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* four small cards in a row on a tablet: smaller logos clear of the label line, and the name alone under them */
@container (min-width: 620px) and (max-width: 759px) { .clients .cards.main { --H: 25cqi; } .clients .cards.main .lab .sc { display: none; } }
.clients .cards.past { --H: 50cqi; grid-template-columns: repeat(6, minmax(0, 1fr)); }
@container (max-width: 899px) { .clients .cards.past { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container (min-width: 1500px) {
  .clients .cards.past { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  /* a wide page: the three big cards turn lower and wider, so they do not grow into a wall of white */
  .clients .cards.main { --H: 26cqi; }
  .clients .main .card { aspect-ratio: 2.2 / 1; padding: 0 6% 41px; }   /* centred above the label line here too (26.11.2026) */
  .clients .main .lab { font-size: clamp(13px, 2cqi, 18px); inset: auto 2.4cqi 2cqi; padding-top: 1.6cqi; }
}
.clients .sub { font-weight: 700; font-size: clamp(17px, 1.35cqi, 26px); line-height: 1.2; margin-top: clamp(44px, 5cqi, 96px); padding-bottom: 14px; }
.clients .card { container-type: inline-size; position: relative; aspect-ratio: 3 / 2; background: #fff; border-radius: 6px; display: grid; place-items: center; padding: 0 8% 41px; /* his note 26.11.2026: the logo is centred between the top of the card and the label's line (the label is 41px high: 13 + 15.6 + 11 + 1), not in the whole card */ overflow: hidden; transition: box-shadow .4s; }
.clients .past .card { aspect-ratio: 3 / 2; padding: 8% 9%; }   /* logos a fifth larger, cards a little lower (audit 10, A7) */
.clients .past .lab { display: none; }
.clients .card .lg { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
/* a touch screen keeps no stuck hover after a tap (audit 10, B10) */
@media (hover: hover) {
  .clients .card:hover { box-shadow: 0 0 0 1px var(--line); }
  .clients .card:hover .lg { transform: scale(1.05); }
}
.clients .lab { position: absolute; inset: auto 16px 13px; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; line-height: 1.2; border-top: 1px solid #ece9e3; padding-top: 11px; }
.clients .lab b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clients .lab .sc { color: var(--mute); white-space: nowrap; }
.clients .card[data-rv] { transition-property: opacity, transform, box-shadow; }
@media (prefers-reduced-motion: reduce) { .clients [data-rv] { opacity: 1; transform: none; transition: none; } }

/* ===== press (alt/press/c "עמוד עיתון") ===== */
.press { padding-top: var(--sec); }
.press .th { display: block; aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden; background: #dcd8d1; flex: none; }
.press .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.press a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.press .head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--ink); }
.press .head h2 { font-weight: 700; font-size: clamp(30px, 3vw, 46px); line-height: 1; }
.press .head p { font-size: 14px; color: var(--mute); }
.press .paper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.press .paper li { border-bottom: 1px solid var(--line); }
.press .paper li:not(:nth-child(3n)) { border-inline-end: 1px solid var(--line); }
.press .paper a { height: 100%; display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 26px; transition: background .3s; }
.press .paper li:nth-child(3n+1) a { padding-inline-start: 0; }
.press .paper li:nth-child(3n) a { padding-inline-end: 0; }
.press .mast { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.press .mast b { font-weight: 700; font-size: 15px; }
.press .mast b [lang="en"], .press .mast b[lang="en"] { font-weight: 700; letter-spacing: -.01em; }
.press .mast span { font-size: 13px; color: var(--mute); }
.press .paper .pt { display: block; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.24; flex: 1; transition: opacity .25s; }
.press .paper .pt[lang="en"] { text-align: right; font-weight: 500; letter-spacing: -.01em; }
.press .foot { display: flex; justify-content: space-between; align-items: end; }
.press .paper .th { width: clamp(132px, 7.5cqi, 210px); }   /* grows with the page (his note 22.10) */
@media (hover: hover) {
  .press .paper a:hover .pt { opacity: .6; }
  .press .paper a:hover .th img { transform: scale(1.06); }
}
@media (max-width: 1000px) {
  .press .paper { grid-template-columns: 1fr 1fr; }
  .press .paper li:not(:nth-child(3n)) { border-inline-end: 0; }
  .press .paper li:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .press .paper li a { padding-inline: 24px !important; }
  .press .paper li:nth-child(odd) a { padding-inline-start: 0 !important; }
  .press .paper li:nth-child(even) a { padding-inline-end: 0 !important; }
}


@media (max-width: 760px) {
  .about .panel { grid-template-columns: minmax(0, 1fr); min-height: 0; }   /* minmax: the text never outgrows the panel (his note 22.10) */
  .about .ph { aspect-ratio: 4 / 4.4; }
  .about .ph::after { background: linear-gradient(rgba(15,15,14,0) 65%, rgba(15,15,14,.7)); }
  .about .txt { padding: 24px 20px 28px; gap: 36px; }
  .about .lede { font-size: 34px; }

  .awards .head p { display: none; }
  .awards .roll li { grid-template-columns: 64px 1fr; gap: 6px 16px; padding: 18px 0; }
  .awards .th { display: block; grid-row: span 2; width: 64px; height: 80px; border-radius: 4px; overflow: hidden; background: #fff; }
  .awards .th img { width: 100%; height: 100%; object-fit: cover; }
  .awards .th img.plate { object-fit: contain; padding: 8px; }
  .awards .nm { order: 0; font-size: 30px; letter-spacing: -.035em; text-align: right; justify-self: start; }
  .awards .md { order: 0; min-width: 0; font-size: 13px; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; gap: 2px 12px; text-align: right; }
  .aw-float { display: none; }

  :is(.about, .recent, .clients) .head h2 { font-size: 28px; }
  :is(.about, .recent, .clients) .head { flex-wrap: wrap; row-gap: 8px; }
  :is(.about, .recent, .clients) .head p { font-size: 13px; white-space: nowrap; }   /* drops under the heading rather than breaking in two */
  /* phone: the three now as squares, the past four to a row; no name line, the logos speak */
  .clients .cards { gap: 4px; }
  .clients .cards.main { --H: 56cqi; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients .cards.past { --H: 54cqi; }
  .clients .card, .clients .past .card { aspect-ratio: 1; padding: 9%; }
  .clients .lab { display: none; }
  .clients .sub { font-size: 16px; margin-top: 36px; padding-bottom: 10px; }

  .press .head h2 { font-size: 28px; }
  .press .paper { grid-template-columns: 1fr; }
  .press .paper li:nth-child(odd) { border-inline-end: 0; }
  .press .paper li a { padding-inline: 0 !important; display: grid; grid-template-columns: 1fr 96px; grid-template-rows: auto 1fr; gap: 6px 14px; padding-block: 16px; }
  .press .mast { grid-column: 1; justify-content: flex-start; }
  .press .paper .pt { grid-column: 1; font-size: 16px; }
  .press .foot { grid-column: 2; grid-row: 1 / 3; align-items: start; }
  .press .paper .th { width: 96px; }

}
@media (max-width: 1100px) { .about .cols { columns: 1; } }

/* round 7, mobile audit 2 (approved 21.10) */
@media (max-width:760px){.hero{--r:3px}}
@media (max-width:760px){.about .ph{aspect-ratio:1/1}.about .txt{gap:28px}.about .lede{font-size:31px;line-height:1.12;max-width:none}.about .lede .dim{display:block}.about .cols{color:rgba(241,239,235,.78)}}
/* short English names stay whole; the long festival list wraps between its names, and a year range never splits (his note 22.10) */
.about .cols span[lang=en]:not(.list),.about .cols .nw{white-space:nowrap}
.awards .head .eyebrow{font-weight:700;font-size:clamp(30px,3vw,46px);line-height:1;color:var(--ink)}
@media (max-width:760px){.awards .head .eyebrow{font-size:28px}}
/* iPad portrait: the portrait stays on top but lower, 4:3, and the text takes the whole width (audit 10, B5, his pick "low photo") */
@media (min-width:761px) and (max-width:1000px){.about .panel{grid-template-columns:minmax(0,1fr);min-height:0}.about .ph{aspect-ratio:4/3}.about .ph video,.about .ph img{object-position:50% 22%}.about .ph::after{background:linear-gradient(rgba(15,15,14,0) 65%,rgba(15,15,14,.7))}.about .lede{max-width:none}.about .lede .dim{display:block}.about .txt{padding:40px 44px 44px}}

/* audit 3 (approved 21.10) */
/* keyboard: the focus ring is drawn inside the tile (the column clips anything outside) and the caption shows */
.hero .tile:focus-visible { outline: 3px solid #fff; outline-offset: -3px; box-shadow: inset 0 0 0 5px #0d0d0d; }
.hero .tile:focus-visible .tcap { opacity: 1; }
/* touch screens have no hover: a small client name stays on every tile */
@media (hover: none) {
  .hero .tcap { opacity: 1; padding: 22px 8px 6px; background: linear-gradient(transparent, rgba(0,0,0,.5)); }
  .hero .tcap b { display: none; }
  .hero .tcap span { display: block; font-size: 11px; line-height: 1.25; opacity: .95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero .tcap span span { display: inline; }
}
.awards .head h2.eyebrow { margin: 0; }
/* clients: the fill-by-count rule (a double card closing the last row) is gone, his note 22.10 */
/* press */
.press .th img[src*="ice-inbar"] { object-fit: contain; background: #000; padding-inline: 7%; }
.press .paper .pt { text-wrap: balance; }
/* a wide page: the paper keeps its three columns (nine stories = three full rows; four columns left the ninth alone on a row)
   and its type, thumbnails and spacing grow with the page instead (his note 22.10) */
@container (min-width: 1500px) {
  .press .paper a { gap: 1.1cqi; padding: 1.6cqi 1.8cqi; }
  .press .mast b { font-size: clamp(15px, .95cqi, 22px); }
  .press .mast span { font-size: clamp(13px, .8cqi, 18px); }
  .press .paper .pt { font-size: clamp(23px, 1.45cqi, 36px); }
  .press .paper .th { width: clamp(160px, 11cqi, 300px); }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .press .paper li:last-child:nth-child(odd) { grid-column: 1 / -1; border-inline-end: 0; }
  .press .paper li:last-child:nth-child(odd) a { padding-inline: 0 !important; }
}

/* round 12 (21.10): no big headline in the about any more, so the text itself carries the panel: one column, larger, brighter */
/* size and measure follow the page width (cqi), so a wide page gets a wider, larger column, not the same 500px (his note 22.10) */
.about .cols { columns: 1; font-size: clamp(18px, calc(8px + .95cqi), 32px); line-height: 1.5; color: rgba(241,239,235,.88); max-width: 42ch; }
.about .cols p { margin-bottom: .8em; }
@media (max-width:760px) { .about .cols { font-size: 18px; } }

/* the hero's captions since 22.10: smaller, for the smaller tiles of the still rows */
.hero .tcap { padding: 24px 8px 7px; }
.hero .tcap b { font-size: 13px; }
.hero .tcap span { font-size: 11px; }
/* touch screens (audit 4, T8): no caption on the tiles, they are too small for one; it stays in the page for screen readers */
@media (hover: none) {
  .hero .tcap { opacity: 0; }
  .hero .tcap b { display: block; }
}
/* a film and its poster, or a picture, that did not load: the light tile with the work's name (audit 4, T13) */
.hero .tile.broken .md, .hero .tile.broken .slides { visibility: hidden; }
.hero .tile.broken .tcap { opacity: 1; }
/* the slideshows in the hero push: the next image slides in from the right and pushes the current one out to the left (his note 22.10);
   one at a time, so the push is a little quicker than the turn (slides.js) */
.hero .slides { overflow: hidden; }
.hero .slides img { visibility: visible; transform: translateX(100%); transition: none; }
.hero .slides img.on { transform: none; transition: transform .6s var(--ease); }
.hero .slides img.out { transform: translateX(-100%); transition: transform .6s var(--ease); }
/* the jar and the memes cut hard: only the words change (his note 22.10 "בצנצנת ובממים חיתוך חד") */
.hero .slides.cut img, .hero .slides.cut img.out { visibility: hidden; transform: none; transition: none; }
.hero .slides.cut img.on { visibility: visible; }

/* ===== recent work (his note 22.10): light cards that open each work's own page; no menu link ===== */
.recent { padding-top: var(--sec); container-type: inline-size; }
.recent .rw-list { display: grid; gap: clamp(20px, 2.4cqi, 40px); border-top: 1px solid var(--ink); padding-top: clamp(20px, 2cqi, 36px); }
.recent .rw-list.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recent .rw-list.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recent .rc { display: grid; gap: 16px; align-content: start; color: inherit; }
.recent .rc-m { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #dcd8d1; }
.recent .rc-m :is(video, img) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (hover: hover) { .recent .rc:hover .rc-m :is(video, img) { transform: scale(1.025); } }
.recent .rc-t { display: flex; flex-direction: column; gap: 8px; }
.recent .rc-t b { font-weight: 700; font-size: clamp(26px, 2.6cqi, 44px); line-height: 1.05; }
.recent .rc-t .cl { font-size: 15px; color: var(--mute); }
.recent .rc-t .idea { font-size: clamp(16px, 1.25cqi, 21px); line-height: 1.45; max-width: 46ch; margin-top: 4px; }
.recent .rc-t .go { margin-top: 6px; font-size: 15px; width: fit-content; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.recent .rc-t .go i { font-style: normal; display: inline-block; transition: transform .4s var(--ease); }
@media (hover: hover) { .recent .rc:hover .go i { transform: translateX(-5px); } }
.recent .rc:focus-visible .go i { transform: translateX(-5px); }
.recent .rc:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: var(--r); }
/* one work: the picture and the words side by side, the picture a little wider */
.recent .rw-list.n1 .rc { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 3.4cqi, 64px); align-items: center; }
.recent .rw-list.n1 .rc-t b { font-size: clamp(34px, 4.2cqi, 72px); }
@media (max-width: 760px) {
  .recent .rw-list.n2, .recent .rw-list.n3, .recent .rw-list.n1 .rc { grid-template-columns: minmax(0, 1fr); }
  .recent .rw-list { row-gap: 36px; }
  .recent .rw-list.n1 .rc-t b, .recent .rc-t b { font-size: 30px; }
}

/* stories: the rest open under the first nine (his note 22.10) */
.press .mast b { flex: none; }
.press .paper.more { border-top: 0; }
.press .more-btn { display: block; margin: 28px auto 0; height: 48px; padding-inline: 26px; border: 1px solid var(--ink); border-radius: 48px; background: none; color: var(--ink); font: inherit; font-size: 16px; cursor: pointer; transition: background-color .25s, color .25s; }
.press .more-btn:focus-visible { background: var(--ink); color: var(--bg); }
@media (hover: hover) { .press .more-btn:hover { background: var(--ink); color: var(--bg); } }
.press .more-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ----- the pinned stories (his pick 22.10, option a "שער"): a front page of large cards, the picture over the headline ----- */
.press .pinrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.2cqi, 40px); padding-block: clamp(24px, 2.4cqi, 40px); border-bottom: 1px solid var(--ink); }
.press.pin-a .pinrow a { display: flex; flex-direction: column; gap: 12px; color: inherit; }
.press.pin-a .pinrow .th { width: 100%; aspect-ratio: 16 / 10; border-radius: 6px; }
.press.pin-a .pinrow .mast { margin-top: 4px; }
.press.pin-a .pinrow .pt { display: block; font-size: clamp(22px, 2cqi, 36px); line-height: 1.18; font-weight: 700; }
.press.pin-a .pinrow .pt[lang="en"] { font-weight: 600; letter-spacing: -.015em; text-align: right; }
@media (hover: hover) {
  .press.pin-a .pinrow a:hover .th img { transform: scale(1.04); }
  .press.pin-a .pinrow a:hover .pt { opacity: .65; }
}
@media (max-width: 760px) {
  .press .pinrow { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 761px) and (max-width: 1000px) { .press.pin-a .pinrow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }

/* ===== audit 10 (approved 22.10) ===== */
/* D7: the pause button for the wall moved from the wall's corner to the header (his note 24.10, style.css .mpause) */

/* A2: his first sentence opens the about as a bold line, his words unchanged */
.about .cols p:first-child { font-weight: 700; font-size: 1.7em; line-height: 1.12; color: #f1efeb; margin-bottom: .75em; text-wrap: balance; }
/* A3: on a wide page the text block stands in the middle of the dark half, its lines still right-aligned */
@media (min-width: 1001px) { .about .txt { align-items: center; } }
/* B5: iPad portrait, the text across the whole width under the lower portrait */
@media (min-width: 761px) and (max-width: 1000px) { .about .cols { max-width: none; font-size: 19px; } }

/* A4: one rule under every section heading, the same air down to the content; the press line like the others */
:is(.about, .clients) .head { border-bottom: 1px solid var(--ink); }
.about .panel, .clients .cards.main { margin-top: clamp(20px, 2cqi, 36px); }
.press .head { align-items: baseline; }
.press .head p { font-size: 15px; }

/* client audit 24.10: three works side by side, their buttons on one line (the picture on top, the words fill the rest) */
.recent .rw-list.n3 .rc { grid-template-rows: auto 1fr; align-content: stretch; }
/* the link stands a fixed distance under the paragraph, not at the foot of the card (his note 24.10) */

/* A6: recent work, the words as strong as the picture; "לעמוד העבודה" a round button like "עוד כתבות" */
.recent .rc-t { gap: 12px; }
.recent .rc-t .cl { font-size: clamp(15px, 1.2cqi, 19px); }
.recent .rc-t .idea { font-size: clamp(18px, 1.75cqi, 26px); line-height: 1.45; max-width: 30ch; }
.recent .rc-t .go { display: inline-flex; align-items: center; gap: .55em; height: 46px; padding-inline: 22px; margin-top: 14px; padding-bottom: 0; border: 1px solid var(--ink); border-radius: 46px; font-size: 16px; transition: background-color .25s, color .25s; }
.recent .rc:focus-visible .go { background: var(--ink); color: var(--bg); }
@media (hover: hover) { .recent .rc:hover .go { background: var(--ink); color: var(--bg); } }

/* A9: how many stories are still behind the button, in grey */
.press .more-btn .n { color: var(--mute); margin-inline-start: .35em; transition: color .25s; }
.press .more-btn:focus-visible .n { color: inherit; opacity: .6; }
@media (hover: hover) { .press .more-btn:hover .n { color: inherit; opacity: .6; } }

/* B2: touch screens wider than a phone (iPad) have no pointer to call up the trophy: a small one starts every row, as on the
   phone, and the names are a little smaller so "Base44 Super Bowl Contest" stays on one line */
@media (hover: none) and (min-width: 761px) {
  .awards .roll li { grid-template-columns: auto auto minmax(0, 1fr); column-gap: 16px; }
  .awards .nm { font-size: clamp(36px, 6.2cqi, 150px); }
  .awards .th { display: block; order: -2; width: 60px; margin-inline-end: 8px; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: #fff; }
  .awards .th img { width: 100%; height: 100%; object-fit: cover; }
  .awards .th img.plate { object-fit: contain; padding: 8px; }
  .aw-float { display: none; }
}
/* B7: the words under the medals readable up to tablet width */
@media (max-width: 1100px) { .awards.aw-c .md .dk small { font-size: 13px; color: #4f4b46; } }

/* B9: iPad, six past clients to a row (narrower pages, phones, keep their own rule) */
@container (min-width: 600px) and (max-width: 899px) { .clients .cards.past { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* a11y audit 24.10: the names on the tiles (hover, keyboard) stay readable over light pictures too: a deeper shade under them,
   full-strength white and a soft shadow (10 of 33 tiles fell under 4.5:1 before) */
.hero .tcap { background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.72) 38%, rgba(0,0,0,.85)); text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.hero .tcap span { opacity: 1; }

/* round 49 (his pick, option ב): on a phone each award picture stands under its medals, large and in its own shape, whole,
   with no frame or white around it (round 47's white squares were not right) */
@media (max-width: 760px) {
  .awards .roll li { grid-template-columns: 1fr; }
  .awards .th { grid-row: auto; order: 5; justify-self: start; width: auto; height: auto; margin-top: 8px; border: 0; border-radius: 0; background: none; overflow: visible; }
  .awards .th img, .awards .th img.plate { display: block; width: auto; max-width: 100%; height: 170px; object-fit: contain; padding: 0; border-radius: 6px; }
}
/* the phone's own pick of works (round 47, header.js R6.rows): the hero is as tall as its rows, not cut to one screen */
/* no media query (mobile audit 25.10): .mpick is set only when the page opened 760 wide or less (header.js), and a phone turned
   sideways keeps its rows of two, so the hero keeps growing with them instead of hiding ten works under the about */
.mpick .hero { height: auto; } .mpick .hero .cols-wall { height: auto; overflow: visible; justify-content: flex-start; }

/* balanced titles (mobile audit 25.10): "Prompt the / Conference Ad", not one word alone; "ל-ChatGPT" stays on one line (home.js) */
.recent .rc-t b { text-wrap: balance; }
.awards .nm { text-wrap: balance; }
.recent .rc-t .idea .nw { white-space: nowrap; }

/* the pre-rendered wall is the desktop's; on a phone the works its hero never shows stay hidden until home.js draws the phone's own (perf audit 25.10) */
@media (max-width: 760px) { #wall .tile.nm { display: none; } }

/* design audit 25.10, D1: the paper under the three front stories stands on the same three columns: the same gutter as the
   front row, every headline and thumbnail starting and ending on the edge of the card above it; the column rules sit in the
   middle of the gutter and the row rules run through it, so the lines stay one unbroken grid */
@media (min-width: 1001px) {
  .press { --pg: clamp(20px, 2.2cqi, 40px); }
  .press .paper { column-gap: var(--pg); }
  .press .paper li, .press .paper li:not(:nth-child(3n)) { position: relative; border: 0; }
  .press .paper li::before { content: ""; position: absolute; bottom: 0; height: 1px; inset-inline: calc(-.5 * var(--pg)); background: var(--line); pointer-events: none; }
  .press .paper li:nth-child(3n+1)::before { inset-inline-start: 0; }
  .press .paper li:nth-child(3n)::before, .press .paper li:last-child::before { inset-inline-end: 0; }
  .press .paper li:not(:nth-child(3n))::after { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-end: calc(-.5 * var(--pg) - .5px); width: 1px; background: var(--line); pointer-events: none; }
  .press .paper li a, .press .paper li:nth-child(n) a { padding-inline: 0; }
}

/* the about in English for a visitor who reads no Hebrew (client audit 25.10): the work pages' closed "In English" line, on the dark panel */
.about .en-d { margin-top: 8px; align-self: flex-end; text-align: left; max-width: 62ch; }
.about .en-d summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font: 500 15px/1 "Inter Tight", "IT-fb", system-ui, sans-serif; color: rgba(241,239,235,.6); padding-block: 8px; border-bottom: 1px solid rgba(241,239,235,.25); transition: color .2s, border-color .2s; }
.about .en-d summary::-webkit-details-marker { display: none; }
.about .en-d summary i { position: relative; width: 10px; height: 10px; flex: none; }
.about .en-d summary i::before, .about .en-d summary i::after { content: ""; position: absolute; inset: 4.5px 0 auto; height: 1px; background: currentColor; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.about .en-d summary i::after { transform: rotate(90deg); }
.about .en-d[open] summary i::after { transform: rotate(0); }
.about .en-d summary:hover, .about .en-d[open] summary { color: #f1efeb; border-color: #f1efeb; }
.about .en-d p { margin-top: 14px; font: 400 15px/1.6 "Inter Tight", "IT-fb", system-ui, sans-serif; color: rgba(241,239,235,.72); }
.about .en-d a { color: #f1efeb; border-bottom: 1px solid rgba(241,239,235,.4); }
