/* Hallmark · check · built: the project · scope: site family · theme: brand (NEUF guidelines v1.0) · the shared frame of the five NEUF subdomains: top bar, switcher, contact foot, viewer */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: H, each subdomain carries its own hero; this file only holds what they share */
@import url('/s/fonts.css');

:root {
  --blue: #0002F7; --paper: #F6F5F1; --ink: #111218; --ice: #DDE5FF; --white: #FBFBFE;
  --blue-rgb: 0 2 247; --ink-rgb: 17 18 24; --white-rgb: 251 251 254; --night-rgb: 8 9 12; --night: #08090C;
  --sans: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1); --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --g: max(clamp(16px, 3vw, 44px), (100vw - 1520px) / 2);
  --top: clamp(112px, 12vw, 168px); --space-section: clamp(88px, 10vw, 160px); --space-head: clamp(28px, 3.4vw, 52px); --gap: clamp(14px, 1.4vw, 20px);
  --radius-card: 22px; --radius-plate: 16px; --fs-display: clamp(48px, 7vw, 120px); --fs-h2: clamp(34px, 4.6vw, 76px); --fs-h3: clamp(20px, 1.6vw, 26px);
  /* each subdomain sets these four */
  --bg: var(--paper); --fg: var(--ink); --muted: #5B5F6E; --line: rgb(var(--ink-rgb) / .12);
  --bar: rgb(var(--white-rgb) / .78); --chip: rgb(var(--ink-rgb) / .06);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 clamp(16px, 1.05vw, 18px)/1.55 var(--sans); -webkit-font-smoothing: antialiased; font-kerning: normal; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: var(--white); }
h1, h2, h3 { margin: 0; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
[hidden] { display: none !important; }

/* ---------- the top bar: NEUF, where you are, the other rooms ---------- */
.sx-top { position: fixed; inset: 12px var(--g) auto; z-index: 40; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 6px 0 18px; border-radius: 999px; background: var(--bar); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--line), 0 12px 30px -18px rgb(var(--ink-rgb) / .35); }
.sx-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.sx-logo svg { height: 18px; width: auto; fill: currentColor; }
.sx-logo b { font-weight: 500; color: var(--muted); }
.sx-rooms { display: flex; gap: 2px; margin-inline-start: auto; overflow-x: auto; scrollbar-width: none; }
.sx-rooms::-webkit-scrollbar { display: none; }
.sx-rooms a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease); }
.sx-rooms a:hover { color: var(--fg); background: var(--chip); }
.sx-rooms a[aria-current] { color: var(--fg); background: var(--chip); font-weight: 600; }
.sx-talk { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 600; font-size: 14px; white-space: nowrap; transition: transform .16s var(--ease); }
.sx-talk:active { transform: scale(.97); }
.sx-talk i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgb(var(--white-rgb) / .18); font-style: normal; transition: transform .35s var(--ease); }
.sx-talk svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .sx-talk:hover i { transform: translate(2px, -2px); } }
@media (max-width: 860px) { .sx-rooms { display: none; } .sx-talk { margin-inline-start: auto; } }

/* the rooms again, under the content on phones */
.sx-rooms-b { display: none; }
@media (max-width: 860px) { .sx-rooms-b { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--g) 28px; } .sx-rooms-b a { padding: 10px 16px; border-radius: 999px; background: var(--chip); font-size: 14px; font-weight: 500; } .sx-rooms-b a[aria-current] { background: var(--fg); color: var(--bg); } }

/* ---------- the foot: how to reach NEUF ---------- */
.sx-foot { padding: clamp(56px, 7vw, 110px) var(--g) 28px; border-top: 1px solid var(--line); }
.sx-foot__big { font-size: clamp(40px, 7vw, 120px); line-height: .92; letter-spacing: -.04em; font-weight: 600; }
.sx-foot__big a { color: var(--blue); }
.sx-foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; margin-top: clamp(32px, 4vw, 56px); padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.sx-foot__row nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.sx-foot__row a:hover { color: var(--fg); }
.sx-foot__row bdi { unicode-bidi: isolate; }

/* ---------- the viewer: pictures and films, full screen ---------- */
.sx-view { position: fixed; inset: 0; z-index: 70; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgb(var(--night-rgb) / .94); color: var(--white); opacity: 0; transition: opacity .25s var(--ease); }
.sx-view.on { opacity: 1; }
.sx-view__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--g); font-size: 14px; }
.sx-view__bar a { text-decoration: underline; text-underline-offset: 4px; }
.sx-view__stage { display: grid; place-items: center; padding: 0 var(--g); min-height: 0; }
.sx-view__stage img, .sx-view__stage video { max-height: 100%; max-width: 100%; width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.sx-view__nav { display: flex; justify-content: center; gap: 10px; padding: 14px; }
.sx-btn { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgb(var(--white-rgb) / .12); color: var(--white); font-weight: 600; font-size: 14px; transition: background .2s var(--ease), transform .16s var(--ease); }
.sx-btn:hover { background: rgb(var(--white-rgb) / .2); }
.sx-btn:active { transform: scale(.96); }
.sx-btn:focus-visible { outline-color: var(--white); }

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

/* one reveal for every room, visible without scripting */
html.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 50ms); }
html.js [data-rise].up { opacity: 1; transform: none; }

/* ---------- right to left: Arabic and Kurdish ---------- */
/* joined scripts are never tracked, and their tall letters get room to breathe */
html[dir="rtl"] :is(h1, h2, h3, .sx-foot__big) { letter-spacing: 0 !important; line-height: 1.28 !important; }
html[dir="rtl"] :is(.sx-talk, .dz__tile span, .pa__cta, .gv__more) svg { transform: scaleX(-1); }
html[dir="rtl"] body { font-size: clamp(16px, 1.1vw, 19px); }
.sx-langs { display: flex; gap: 2px; }
.sx-langs a, .sx-langs-b a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .25s var(--ease), color .25s var(--ease); }
.sx-langs a:hover { color: var(--fg); background: var(--chip); }
.sx-langs-b { display: contents; }
@media (max-width: 860px) { .sx-langs { display: none; } }
@media (min-width: 861px) { .sx-langs-b { display: none; } }
