/* typography of the lead site (home, shop, about, contact): the footer wordmark's face, Archivo at full width, extra-heavy, tightly set.
   On the home page it covers everything below the map and the top bar; on the other pages (html.sub) the whole page */
html[data-font="w"]{--f-head:'Archivo',sans-serif;--f-body:'Archivo',sans-serif;--head-w:900;--head-stretch:125%;--head-ls:-.04em}
html[data-font] :is(#after-hero,.sponsors,.foot,.top),html[data-font] :is(#after-hero,.sponsors,.foot,.top) :is(.mono,.btn,p,span,a,button,input),
html.sub[data-font] body,html.sub[data-font] body :is(.mono,.btn,p,span,a,button,input,cite,blockquote){font-family:var(--f-body)}
html[data-font] :is(#after-hero,.foot,.top) :is(.wide,h2,h3,h4,.cond,.logo,.pv-info h3),
html.sub[data-font] body :is(.wide,h1,h2,h3,h4,.cond,.logo),html.sub[data-font] body :is(.wide,h1,h2,h3) span{font-family:var(--f-head);font-stretch:var(--head-stretch);font-weight:var(--head-w);letter-spacing:var(--head-ls,.005em);text-transform:uppercase;font-style:normal}
/* small caps text (nav, kickers, labels) */
.mono{font-weight:500;letter-spacing:.07em}
/* top bar: identical on every page and solid. The home page keeps it black in both themes; the other pages (html.sub)
   have it white in light mode and black in dark mode. The page canvas takes the bar colour, so nothing light shows
   above the bar when the page is pulled down (overscroll), and Safari tints its toolbar to match (meta theme-color) */
.top{--bg:#111111;--fg:#f2f2f0;--line:#3a3a3a;--mute:#9a9a96;color:var(--fg);background:var(--bg);backdrop-filter:none;-webkit-backdrop-filter:none}
html{background:#111111}
html.sub{background:#ffffff}
html.sub .top{--bg:#ffffff;--fg:#111111;--line:#dcdcdc;--mute:#77756f}
@media (prefers-color-scheme:dark){html.sub:not([data-theme="light"]){background:#0e0e0e}html.sub:not([data-theme="light"]) .top{--bg:#111111;--fg:#f2f2f0;--line:#3a3a3a;--mute:#9a9a96}}
html.sub[data-theme="dark"]{background:#0e0e0e}
html.sub[data-theme="dark"] .top{--bg:#111111;--fg:#f2f2f0;--line:#3a3a3a;--mute:#9a9a96}
/* the other pages (shop, photography, about, contact): white in light mode, black in dark mode, no beige; calmer heading sizes */
html.sub{--bg:#ffffff;--fg:#111111;--soft:#f2f2f2;--line:#e2e2e2;--mute:#77756f;--acc:#d4142a;--on-acc:#fff}
@media (prefers-color-scheme:dark){html.sub:not([data-theme="light"]){--bg:#0e0e0e;--fg:#f2f2f0;--soft:#1b1b1b;--line:#2a2a2a;--mute:#8f8d88;--acc:#ff2a3d;--on-acc:#0e0e0e}}
html.sub[data-theme="dark"]{--bg:#0e0e0e;--fg:#f2f2f0;--soft:#1b1b1b;--line:#2a2a2a;--mute:#8f8d88;--acc:#ff2a3d;--on-acc:#0e0e0e}
html.sub .ahero h1{font-size:clamp(40px,5.6vw,88px)}
html.sub .sec-head h2,html.sub .sec h2.wide{font-size:clamp(28px,3.4vw,52px)}
html.sub .ahero p{font-size:clamp(16px,1.4vw,20px)}
/* footer lists: vertical columns */
.fcols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-top:22px;border-top:1px solid var(--line)}
.fcols div{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
/* the pages in two short columns: the site on one side, our work on the other */
.fcols .pp{display:grid;grid-template-columns:auto auto;column-gap:44px;justify-content:start}
.fcols b{font-weight:500;color:var(--mute);margin-bottom:4px}
.fcols a:hover{color:var(--acc)}
.fcols span{color:var(--mute)}
.foot .base span:last-child{margin-left:auto}
@media (max-width:700px){.fcols{grid-template-columns:1fr}}
html.sub .foot .news h3{font-size:clamp(22px,2.2vw,34px)}
/* home page, below the shop: who we are, and the invitation to get in touch */
.who-lede{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:6px 0 26px;align-items:end}
.who-lede p{font-size:clamp(17px,1.6vw,24px);line-height:1.3;font-weight:500;max-width:680px}
.who-img{width:100%;aspect-ratio:8/3;object-fit:cover;border-radius:6px} /* a little less tall than before (was 21/9), so the section feels lighter */
.contact-cta .cta-row{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.contact-cta p{font-size:clamp(16px,1.4vw,20px);line-height:1.4;max-width:620px}
@media (max-width:900px){.who-lede{grid-template-columns:1fr}.who-img{aspect-ratio:4/3}}
/* top bar: the work pages (Video · Photo · Written) sit next to the logo, on the left */
.top .lside{display:flex;align-items:center;gap:30px;min-width:0}
.top .work{display:flex;align-items:center;gap:18px;justify-content:flex-start}
.top .work a:hover{color:var(--acc)}
@media (max-width:1100px){.top .work{display:none}}
/* once the page is scrolled, the bar turns slightly glassy: a little see-through, with what passes beneath it blurred */
html.scrolled .top{background:rgba(17,17,17,.72);backdrop-filter:blur(16px) saturate(1.4);-webkit-backdrop-filter:blur(16px) saturate(1.4)}
html.sub.scrolled .top{background:rgba(255,255,255,.72)}
@media (prefers-color-scheme:dark){html.sub.scrolled:not([data-theme="light"]) .top{background:rgba(17,17,17,.72)}}
html.sub.scrolled[data-theme="dark"] .top{background:rgba(17,17,17,.72)}
/* the live chip in the middle of the bar: a solid red button with a white pulsing dot, the same on every page and theme */
.top .live{background:#d4142a;color:#fff;border:0;padding:8px 16px;font-weight:600;box-shadow:0 2px 10px rgba(212,20,42,.3);transition:background .2s,transform .2s}
.top .live:hover{background:#b30f22;transform:translateY(-1px)}
.top .live i{background:#fff;animation:or-ping-w 1.8s infinite}
@keyframes or-ping-w{0%{box-shadow:0 0 0 0 rgba(255,255,255,.7)}70%{box-shadow:0 0 0 7px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
/* main page only: a quieter Live button (the solid red one felt too loud over the globe): a dark see-through pill with a red pulsing dot */
html:not(.sub) .top .live{background:#000;color:#fff;border:0;box-shadow:inset 0 1px 1px rgba(255,255,255,.14),0 6px 20px rgba(0,0,0,.5);backdrop-filter:blur(20px) saturate(1.8);-webkit-backdrop-filter:blur(20px) saturate(1.8);font-weight:600} /* on the black bar: a black pill, no border, white text, the red pulsing dot (the white-bar pill inverted) */
html:not(.sub) .top .live:hover{background:#0b0b0b}
html:not(.sub) .top .live i{background:#d4142a;animation:or-ping 1.8s infinite}
/* footer: the page links large in the sans, under small mono headers; the bottom line in plain (not capitalised) mono */
.fcols b{font-size:12px;letter-spacing:.08em;margin-bottom:10px}
.fcols .pp div{gap:14px}
.fcols .pp a{font:600 clamp(20px,1.7vw,26px)/1.15 'Archivo',sans-serif;text-transform:none;letter-spacing:-.01em}
.foot .base{font:400 11.5px/1.5 'Space Mono',monospace;text-transform:none;letter-spacing:.02em}
/* …and these two stay in a squarer monospace (Space Mono), whatever font the rest of the site uses */
html[data-font] body .foot .base,html[data-font] body .foot .base span{font-family:'Space Mono',monospace !important;font-size:11.5px !important}
html[data-font] .foot .fcols b{font-family:'JetBrains Mono',monospace;font-weight:400}
/* more room between the footer links and the bottom line; the bottom line itself stays at the very bottom */
.foot .base{margin-top:90px;padding-bottom:0}
/* footer columns: no grey line above them, and more room below the moving MONTEROJO wordmark */
.fcols{border-top:0;padding-top:70px}
/* "More about us" on the main page: an arrow on its right that nudges along on hover */
.more-arrow span{display:inline-block;margin-left:6px;transition:transform .25s}
.more-arrow:hover span{transform:translateX(4px)}
/* main page, light mode: once the bar has passed the black globe section, it turns white like on the other pages (html.below is set in shared/base.js) */
html:not(.sub) .top{transition:background-color .18s ease-out,color .18s ease-out}
html:not(.sub) .top .live{transition:background-color .18s ease-out,color .18s ease-out,border-color .18s ease-out,box-shadow .18s ease-out,transform .2s}
html:not(.sub) .top .icon{transition:border-color .18s ease-out}
html.below:not(.sub) .top{--bg:#ffffff;--fg:#111111;--line:#dcdcdc;--mute:#77756f}
html.below.scrolled:not(.sub) .top{background:rgba(255,255,255,.72)}
html.below:not(.sub) .top .live{background:rgba(0,0,0,.04);color:#111;border:0;box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 6px 20px rgba(0,0,0,.35);font-weight:600} /* on the white bar: an almost-white pill, no border, a soft shadow */
html.below:not(.sub) .top .live:hover{background:rgba(0,0,0,.08)}
@media (prefers-color-scheme:dark){html.below:not(.sub):not([data-theme="light"]) .top{--bg:#111111;--fg:#f2f2f0;--line:#3a3a3a;--mute:#9a9a96;background:rgba(17,17,17,.72)}html.below:not(.sub):not([data-theme="light"]) .top .live{background:#000;color:#fff;border:0;box-shadow:inset 0 1px 1px rgba(255,255,255,.14),0 6px 20px rgba(0,0,0,.5);font-weight:600}html.below:not(.sub):not([data-theme="light"]) .top .live:hover{background:#000}}
html.below[data-theme="dark"]:not(.sub) .top{--bg:#111111;--fg:#f2f2f0;--line:#3a3a3a;--mute:#9a9a96;background:rgba(17,17,17,.72)}
html.below[data-theme="dark"]:not(.sub) .top .live{background:#000;color:#fff;border:0;box-shadow:inset 0 1px 1px rgba(255,255,255,.14),0 6px 20px rgba(0,0,0,.5);font-weight:600} /* dark mode, below the globe: the same black pill as over the globe */
html.below[data-theme="dark"]:not(.sub) .top .live:hover{background:#000}
/* footer layout: accounts and contact on the left (under a small signature), the pages large on the right */
.fcols{grid-template-columns:minmax(0,1fr) auto;gap:48px 60px;align-items:start}
.fcols .fleft{gap:40px}
.fcols .flinks{display:grid;grid-template-columns:auto auto;column-gap:72px;justify-content:start;align-items:start}
.fcols .fpages{align-items:flex-start;text-align:left} /* the block sits on the right; its "Pages" header and links line up on their left */
.fcols .fpages .pp{justify-content:start}
.fcols .fpages .pp div{align-items:flex-start}
/* the signature: MONTEROJO in the heavy wordmark face, a short red rule, then since / where in small mono */
.fcols .fsig{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:0}
html[data-font] .foot .fcols .fsig strong,.fcols .fsig strong{font:900 15px/1 'Archivo',sans-serif;font-stretch:125%;letter-spacing:.04em;color:var(--fg)}
.fcols .fsig i{display:block;width:26px;height:2px;background:var(--acc)}
html[data-font] .foot .fcols .fsig span,.fcols .fsig span{font:400 11px/1 'JetBrains Mono',monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.fcols .fsig span + span::before{content:"·";margin-right:14px;color:var(--mute)}
@media (max-width:700px){.fcols{grid-template-columns:1fr}.fcols .fpages{align-items:flex-start;text-align:left}.fcols .fpages .pp{justify-content:start}.fcols .fpages .pp div{align-items:flex-start}.fcols .flinks{column-gap:40px}}
/* a little more room on the outer sides of the bottom line */
.foot .base{padding-left:14px;padding-right:14px}
/* footer columns sit further in from both edges */
.fcols{padding-left:clamp(16px,5vw,90px);padding-right:clamp(16px,5vw,90px)}
/* the © a little bigger than the tiny monospace one */
.foot .base .copy{font:400 15px/1 'Archivo',sans-serif !important;font-style:normal;vertical-align:-1px;margin-right:2px}
/* the Follow and Contact links in the same font as the pages */
.fcols .flinks a{font:600 clamp(20px,1.7vw,26px)/1.15 'Archivo',sans-serif !important;text-transform:none;letter-spacing:-.01em}
.fcols .flinks > div{gap:14px}
/* the signature on its own row on top; below it Follow, Contact and Pages start on the same line */
.fcols .fleft{display:contents}
.fcols .fsig{grid-column:1 / -1}
@media (max-width:700px){.fcols .fsig{grid-column:auto}}
.fcols .flinks{margin-top:0} /* start level with the Pages column */
.fcols .fpages{gap:14px} /* same spacing under the header as Follow and Contact, so the first links line up */
/* Follow, Contact and Pages next to each other in one row, the same distance apart */
.fcols{grid-template-columns:auto auto;justify-content:start;column-gap:72px}
@media (max-width:700px){.fcols{grid-template-columns:1fr}}
/* main page: the language, light/dark and bag buttons styled like the Live pill (solid, no border, soft shadow) */
html:not(.sub) .top .icon{background:#000;color:#fff;border:0;box-shadow:inset 0 1px 1px rgba(255,255,255,.14),0 6px 20px rgba(0,0,0,.5);transition:background-color .18s ease-out,color .18s ease-out,box-shadow .18s ease-out}
html:not(.sub) .top .icon:hover{background:#0b0b0b}
html.below:not(.sub) .top .icon{background:rgba(0,0,0,.04);color:#111;box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 6px 20px rgba(0,0,0,.35)}
html.below:not(.sub) .top .icon:hover{background:rgba(0,0,0,.08)}
@media (prefers-color-scheme:dark){html.below:not(.sub):not([data-theme="light"]) .top .icon{background:#000;color:#fff;box-shadow:inset 0 1px 1px rgba(255,255,255,.14),0 6px 20px rgba(0,0,0,.5)}}
html.below[data-theme="dark"]:not(.sub) .top .icon{background:#000;color:#fff;box-shadow:inset 0 1px 1px rgba(255,255,255,.14),0 6px 20px rgba(0,0,0,.5)}
/* the other pages, light mode only: the Live button like the one on the main page's white bar (almost white, no border, soft shadow, red dot) */
html.sub[data-theme="light"] .top .live{background:rgba(0,0,0,.04);color:#111;border:0;box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 6px 20px rgba(0,0,0,.35);font-weight:600}
html.sub[data-theme="light"] .top .live:hover{background:rgba(0,0,0,.08);transform:none}
html.sub[data-theme="light"] .top .live i{background:#d4142a;animation:or-ping 1.8s infinite}
@media (prefers-color-scheme:light){
  html.sub:not([data-theme="dark"]) .top .live{background:rgba(0,0,0,.04);color:#111;border:0;box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 6px 20px rgba(0,0,0,.35);font-weight:600}
  html.sub:not([data-theme="dark"]) .top .live:hover{background:rgba(0,0,0,.08);transform:none}
  html.sub:not([data-theme="dark"]) .top .live i{background:#d4142a;animation:or-ping 1.8s infinite}
}
.who-lede > .mono{justify-self:end;text-align:right} /* "Founded March 2024 / Amsterdam · Bergamo · on the road" against the right edge */
/* main page: every section below the globe sits further in from the edges, text and images together */
#after-hero > .sec{padding-left:clamp(20px,3.2vw,52px);padding-right:clamp(20px,3.2vw,52px)}
/* "Who we are": a tall, cinematic photo with the text laid over it (letterbox bars, dark fade from the bottom left, fine grain) */
.who-stage{position:relative;margin:6px 0 0;border-radius:6px;overflow:hidden;background:#000;color:#fff}
.who-stage .who-img{display:block;width:100%;height:clamp(460px,46vw,820px);aspect-ratio:auto;object-fit:cover;object-position:50% 60%;border-radius:0}
.who-stage::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,transparent 62%,rgba(0,0,0,.5) 100%)} /* only a soft dark fade along the bottom; light enough that the empty chair with the laptop (the third member, behind the camera) stays clear */
.who-stage .who-grain{display:none}
.who-stage .who-lede{position:absolute;z-index:2;inset:clamp(28px,4.5vw,72px) clamp(20px,4.5vw,72px);margin:0;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start} /* the text top left, the founded line bottom right */
.who-stage .who-lede p{color:#fff;max-width:640px;text-shadow:0 1px 3px rgba(0,0,0,.35),0 2px 24px rgba(0,0,0,.5)}
.who-stage .who-lede > .mono{color:rgba(255,255,255,.85);align-self:flex-end;text-align:right}
@media (max-width:900px){.who-stage .who-img{height:620px}.who-stage .who-lede{grid-template-columns:1fr}}
/* "Who we are" text over the photo: pure white and bolder, so it reads clearly (main page and About page) */
.who-stage .who-lede p{color:#fff;font-weight:500;text-shadow:0 1px 2px rgba(0,0,0,.6),0 0 14px rgba(0,0,0,.45),0 2px 30px rgba(0,0,0,.55)} /* the weight as before (500); a closer, softer shadow keeps it readable on the photo */
.who-stage .who-lede > .mono{color:#fff;font-weight:400;text-shadow:0 1px 2px rgba(0,0,0,.55),0 2px 14px rgba(0,0,0,.5)}

/* About page: crew cards flip over on hover (or tap) to show their own links */
.faces.flips .face{outline:none}
.flip-in{position:relative;aspect-ratio:4/5;perspective:1400px}
.flip-in > div{position:absolute;inset:0;border-radius:6px;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden;
  transition:transform .9s cubic-bezier(.2,.85,.25,1),box-shadow .9s}
.flip-f{transform:rotateY(0)}
.flip-b{transform:rotateY(-180deg);background:#0e0e0e;color:#fff;display:flex;flex-direction:column;padding:clamp(16px,1.8vw,26px);
  background-image:radial-gradient(rgba(255,255,255,.06) 1px,transparent 1.3px);background-size:6px 6px}
.flip-f img{width:100%;height:100%;aspect-ratio:auto;border-radius:0;transition:filter .5s,transform .9s cubic-bezier(.2,.85,.25,1)}
/* the flip: a little lift and tilt on the way round */
.face.flip:is(:hover,:focus-within,.on) .flip-f{transform:rotateY(180deg)}
.face.flip:is(:hover,:focus-within,.on) .flip-b{transform:rotateY(0);box-shadow:0 24px 50px rgba(0,0,0,.28)}
.flip-k{color:#ff4d5e;font-size:10px}
.flip-b b.wide{display:block;font-size:clamp(30px,3vw,48px);line-height:.95;margin:10px 0 0;color:#fff}
.flip-b nav{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.flip-b nav a{display:flex;justify-content:space-between;align-items:baseline;padding:9px 0;border-top:1px solid rgba(255,255,255,.18);
  font:600 clamp(17px,1.5vw,22px)/1.1 'Archivo',sans-serif !important;text-transform:none;letter-spacing:-.01em;color:#fff;
  opacity:0;transform:translateY(10px);transition:opacity .4s,transform .4s,color .2s}
.flip-b nav a span{transition:transform .2s}
.flip-b nav a:hover{color:#ff4d5e}
.flip-b nav a:hover span{transform:translate(3px,-3px)}
.face.flip:is(:hover,:focus-within,.on) .flip-b nav a{opacity:1;transform:none;transition-delay:calc(.45s + var(--i) * .08s)}
.flip-soon{color:rgba(255,255,255,.55);padding-top:9px;border-top:1px solid rgba(255,255,255,.18)}
.flip-sig{margin-top:14px;font-size:9px;letter-spacing:.3em;color:rgba(255,255,255,.35)}
@media (prefers-reduced-motion:reduce){.flip-in > div{transition:opacity .3s}.face.flip:is(:hover,:focus-within,.on) .flip-f{transform:none;opacity:0}.flip-b{transform:none;opacity:0}.face.flip:is(:hover,:focus-within,.on) .flip-b{opacity:1}}
/* only one side visible at a time: each side switches off halfway through the turn (a fallback for browsers that ignore backface-visibility) */
.flip-in > div{transition:transform .9s cubic-bezier(.2,.85,.25,1),box-shadow .9s,visibility 0s linear .4s}
.flip-b{visibility:hidden}
.face.flip:is(:hover,:focus-within,.on) .flip-f{visibility:hidden}
.face.flip:is(:hover,:focus-within,.on) .flip-b{visibility:visible}
/* smoother flip: an even ease in and out, so each side switches exactly when the card is edge-on (halfway), with no pop */
.flip-in > div{transition:transform .9s cubic-bezier(.65,0,.35,1),box-shadow .9s,visibility 0s linear .45s}
/* crew cards on the About page: square corners, front and back */
.flip-in > div{border-radius:0}
/* a tiny folded-back corner, with the black back side showing: there is something on the other side */
.flip-f::after{content:"";position:absolute;right:0;bottom:0;width:10px;height:10px;background:linear-gradient(to bottom right,#0e0e0e 0 50%,var(--bg) 50%);box-shadow:-1px -1px 3px rgba(0,0,0,.18);transition:width .35s cubic-bezier(.2,.85,.25,1),height .35s cubic-bezier(.2,.85,.25,1)}
.face.flip:hover .flip-f::after{width:15px;height:15px}
/* ── phone top bar (narrow screens): logo, a short Live button (red dot + "Live"), the icons, then a menu button with two
   lines, as on the old monterojo.org. The menu opens the page list under the bar. On a laptop none of this shows ── */
.top .menu,.top .live .live-s,.top .mpanel{display:none}
@media (max-width:900px){
  .top{grid-template-columns:1fr auto auto;gap:8px;padding-left:16px;padding-right:16px}
  .top .live{display:inline-flex !important;padding:7px 12px;font-size:11px}
  .top .live [data-live="chip"]{display:none}
  .top .live .live-s{display:inline}
  .top .icons{gap:4px;margin-left:0}
  .top .icon{width:30px;height:30px}
  .top .icon svg{width:15px;height:15px}
  .top .menu{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:32px;height:30px;padding:0;margin-left:2px;border:0;background:none;color:inherit;cursor:pointer}
  .top .menu span{display:block;width:24px;height:1.5px;border-radius:2px;background:currentColor;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
  html.menu-open .top .menu span:first-child{transform:translateY(3.75px) rotate(45deg)}
  html.menu-open .top .menu span:last-child{transform:translateY(-3.75px) rotate(-45deg)}
  .top .mpanel{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;position:absolute;left:0;right:0;top:100%;padding:0 20px;background:var(--bg);color:var(--fg);border-bottom:1px solid var(--line);
    max-height:0;overflow:hidden;opacity:0;visibility:hidden;transition:max-height .45s ease,opacity .25s ease,padding .45s ease,visibility 0s linear .45s}
  html.menu-open .top .mpanel{max-height:420px;opacity:1;visibility:visible;padding:18px 20px 26px;transition:max-height .5s ease,opacity .3s ease,padding .5s ease,visibility 0s}
  .top .mpanel div{display:flex;flex-direction:column;gap:10px}
  .top .mpanel a{display:block !important;font:600 19px/1.15 'Archivo',sans-serif !important;font-stretch:100% !important;letter-spacing:-.01em !important;text-transform:uppercase;color:inherit}
}
@media (max-width:420px){.top .logo{font-size:15px}}
/* phone filter boxes (see phoneFilters in shared/base.js): hidden on a laptop; on the phone they replace the row of chips */
.pf{display:none}
@media (max-width:700px){
  .pf{display:flex;gap:8px;padding:0 20px 18px;position:relative;z-index:20}
  .pf + *,.pf{font-size:11px}
  .pf-g{position:relative}
  .pf-b{display:inline-flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--fg);font:400 11px/1.2 'Geist',-apple-system,sans-serif;letter-spacing:.02em;text-transform:uppercase;cursor:pointer}
  .pf-b.set{background:var(--fg);color:var(--bg);border-color:var(--fg)}
  .pf-b i{font-style:normal;font-size:9px;transition:transform .25s}
  .pf-g.open .pf-b i{transform:rotate(180deg)}
  .pf-l{position:absolute;left:0;top:calc(100% + 6px);min-width:100%;display:flex;flex-direction:column;padding:6px;border:1px solid var(--line);border-radius:8px;background:var(--bg);box-shadow:0 14px 34px rgba(0,0,0,.14);
    opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s,transform .2s,visibility 0s linear .2s}
  .pf-g.open .pf-l{opacity:1;visibility:visible;transform:none;transition:opacity .2s,transform .2s}
  .pf-l button{text-align:left;white-space:nowrap;padding:9px 10px;border:0;border-radius:4px;background:none;color:var(--fg);font:400 11px/1.2 'Geist',-apple-system,sans-serif;letter-spacing:.02em;text-transform:uppercase;cursor:pointer}
  .pf-l button.on{background:var(--fg);color:var(--bg)}
  .pf-l button:disabled{opacity:.35;cursor:default}
  .pf-l button[data-x]{color:var(--mute)}
  .w-filters + .pf{margin-top:22px}
  .pf ~ .d-filters,.d-filters:has(+ .pf),.w-filters:has(+ .pf){display:none !important}
}
/* the loader waits hidden for half a second; it only shows if the page is still loading by then (see boot in shared/base.js) */
.ld.hold{opacity:0 !important;visibility:hidden !important;transition:none !important}
/* phone: less white space between the menu bar and the Photo page filters */
@media (max-width:700px){html[data-ph="dial"] .dial{margin-top:0 !important;border-top:0;padding-top:70px !important}.dial .pf{padding-top:0;padding-bottom:14px}}
/* phone filter box with a choice made: light grey, like the chosen chips on a laptop (not black) */
@media (max-width:700px){.pf-b.set,.pf-l button.on{background:color-mix(in srgb,var(--fg) 12%,transparent);color:var(--fg);border-color:transparent}}
/* phone: the top bar reaches up under the phone's status bar (time, battery), in the bar's own colour, so it blends into the
   phone itself instead of leaving a white strip above it; the bar stays solid (no see-through) so Safari picks up its colour */
@media (max-width:700px){
  .top{padding-top:calc(12px + env(safe-area-inset-top))}
  html.scrolled .top{background:#111111;backdrop-filter:none;-webkit-backdrop-filter:none}
  html.sub.scrolled .top{background:#ffffff}
  @media (prefers-color-scheme:dark){html.sub.scrolled:not([data-theme="light"]) .top{background:#111111}}
  html.sub.scrolled[data-theme="dark"] .top{background:#111111}
  html.below.scrolled:not(.sub) .top{background:var(--bg)}
}
/* phone, main page over the globe: the bar is pure black like the phone and the globe section (not dark grey), with no
   line under it, so it blends in; further down (white bar in light mode) nothing changes */
@media (max-width:700px){
  html:not(.sub):not(.below) .top,html.scrolled:not(.sub):not(.below) .top{--bg:#000000;background:#000;border-bottom-color:transparent}
}
/* a narrower laptop window (901–1100px): Video · Photo · Written no longer fit in the bar, so the two-line menu button
   appears on the right, as on the phone, and opens the same page list. Everything else in the bar stays as it is */
@media (min-width:901px) and (max-width:1100px){
  .top .menu{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:32px;height:30px;padding:0;margin-left:6px;border:0;background:none;color:inherit;cursor:pointer}
  .top .menu span{display:block;width:24px;height:1.5px;border-radius:2px;background:currentColor;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
  html.menu-open .top .menu span:first-child{transform:translateY(3.75px) rotate(45deg)}
  html.menu-open .top .menu span:last-child{transform:translateY(-3.75px) rotate(-45deg)}
  .top .mpanel{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;position:absolute;left:0;right:0;top:100%;padding:0 20px;background:var(--bg);color:var(--fg);border-bottom:1px solid var(--line);
    max-height:0;overflow:hidden;opacity:0;visibility:hidden;transition:max-height .45s ease,opacity .25s ease,padding .45s ease,visibility 0s linear .45s}
  html.menu-open .top .mpanel{max-height:420px;opacity:1;visibility:visible;padding:18px 20px 26px;transition:max-height .5s ease,opacity .3s ease,padding .5s ease,visibility 0s}
  .top .mpanel div{display:flex;flex-direction:column;gap:10px}
  .top .mpanel a{display:block !important;font:600 19px/1.15 'Archivo',sans-serif !important;font-stretch:100% !important;letter-spacing:-.01em !important;text-transform:uppercase;color:inherit}
}
/* narrower laptop window (701–1100px): the Live button stays in the middle of the bar with its full text
   ("Live · Latakia, Syria · …"); About · Contact · Shop move into the menu with Video · Photo · Written, which leaves room for it */
@media (min-width:701px) and (max-width:1100px){
  .top{grid-template-columns:1fr auto 1fr}
  .top .live{display:inline-flex !important;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:8px 16px;font-size:inherit}
  .top .live:hover{transform:translate(-50%,-50%)}
  .top .live [data-live="chip"]{display:inline}
  .top .live .live-s{display:none}
  .top nav a:not(.bag):not(.icon){display:none}
  .top > nav{grid-column:3;justify-self:end}
  .top .icon{width:34px;height:34px}
  .top .icon svg{width:17px;height:17px}
  .top .menu{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:32px;height:30px;padding:0;margin-left:6px;border:0;background:none;color:inherit;cursor:pointer}
}
/* narrower laptop window (701–900px): Day · Distance · Next stop · Position keep their four columns, each value under its
   own title (with two columns the titles all ended up on top and the values below) */
@media (min-width:701px) and (max-width:900px){.stats{grid-template-columns:repeat(4,auto);gap:6px 20px}}
/* a very narrow laptop window (700px or less, with a mouse/trackpad, so not a phone): the Live button sits in the middle
   of the bar too, as the short "● Live" (like on the phone) */
@media (min-width:450px) and (max-width:700px) and (hover:hover) and (pointer:fine){
  .top .live{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
  .top .live:hover{transform:translate(-50%,-50%)}
}
/* "● Live · 22h ago" (no place): only in a very narrow laptop window; hidden everywhere else */
.top .live .live-t{display:none}
@media (min-width:450px) and (max-width:700px) and (hover:hover) and (pointer:fine){
  .top .live [data-live="chip"],.top .live .live-s{display:none !important}
  .top .live .live-t{display:inline}
}
/* phone: the moving MONTEROJO above the footer is taller */
@media (max-width:700px){.wb-track{font-size:26vw}}
/* the copyright line and "Website by Vera Konst" (everywhere): the same font as the year and country filters
   (Geist, 11px, capitals); the © keeps its own bigger size */
html[data-font] body .foot .base,html[data-font] body .foot .base span:not(.copy){font-family:'Geist',-apple-system,sans-serif !important;font-size:11px !important;font-weight:400 !important;letter-spacing:.02em !important;text-transform:uppercase !important}
/* the footer headings (Follow · Contact · Pages): the same font as the copyright line */
html[data-font] .foot .fcols b{font-family:'Geist',-apple-system,sans-serif !important;font-size:11px !important;font-weight:400 !important;letter-spacing:.02em !important;text-transform:uppercase !important}
/* footer pages, two columns in rows: Home · Shop / Video · Photo / Written / About · Contact (the empty spot keeps Contact level with About) */
.fcols .pp{grid-template-columns:auto auto auto} /* footer pages: General | Creative | Monterojo */
/* footer: Follow, General, Creative and Monterojo all the same distance apart (laptop 72px; phone keeps Follow above, 44px between the three) */
.fcols .flinks{grid-template-columns:auto}
@media (min-width:701px){.fcols .pp{column-gap:72px}}
/* menu panel (from the menu button): same font as the footer titles */
.top .mpanel a{font:400 19px/1.15 'Geist',-apple-system,sans-serif !important;letter-spacing:.02em !important;text-transform:uppercase}
/* phone footer: Follow, General, Creative and Contact side by side on one row, evenly spread */
@media (max-width:700px){
  .fcols{display:flex !important;justify-content:space-between;align-items:flex-start;gap:12px}
  .fcols .fleft,.fcols .flinks,.fcols .fpages,.fcols .fpages .pp{display:contents}
  .fcols .flinks > div,.fcols .fpages .pp > div{gap:10px}
  .fcols .flinks a,.fcols .pp a{font-size:15px !important}
  .fcols b{margin-bottom:2px}
}
@media (max-width:700px){.foot .base{margin-top:44px}} /* phone: less space between the footer columns and the © / website line */
@media (max-width:700px){.fcols{padding-top:36px}.foot .base{margin-top:60px}} /* phone: footer closer to the MONTEROJO band, a bit more room above the © line */
/* laptop too: the footer columns closer to the MONTEROJO band, and the same room above the © line as on the phone */
.fcols{padding-top:36px}.foot .base{margin-top:60px}
/* every page: the same small gap between a red-dot label and the title under it */
.kick + :is(h1,h2,h3){margin-top:8px !important}
/* the menu from the menu button (phone and narrow windows): a narrow column under the button on the right, links one under the other */
.top .mpanel{left:auto !important;right:0 !important;width:max-content;min-width:0;grid-template-columns:1fr !important;gap:10px 0 !important;border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px;box-shadow:0 18px 40px rgba(0,0,0,.12);text-align:left}
html.menu-open .top .mpanel{padding:14px 18px 16px !important}
