/* ===== Ulrich Wiggers – "neu" design (prototype) =====
   Loaded on top of site.css when the design setting is "neu" (or ?design=neu).
   Idea: photos run edge to edge, the text sits on a calm warm paper tone, Oswald only for titles and
   labels, a serif (Newsreader) for reading, credits like a printed programme. */

@font-face { font-family: "Newsreader"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/newsreader-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/newsreader-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/newsreader-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/newsreader-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

.design-neu {
  --paper: #f4f1eb;
  --ink: #1c1b19;
  --text: #2c2a27;
  --muted: #77716a;
  --line: #ddd6ca;
  --accent: #9a7b4f;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --wrap: 1240px;      /* header, photo captions, footer */
  --read: 680px;       /* comfortable reading width */
  --wide: 1040px;      /* photos, galleries, videos, cards */
  /* left edge of the --wrap column, measured on the WINDOW width (100vw includes the scrollbar): pages that scroll
     and pages that do not (landing) then put the logo, captions and text at exactly the same spot – no jump */
  --edge: max(0px, calc((100vw - var(--wrap)) / 2));
  --head-h: 76px;
}
body.design-neu { background: var(--paper); color: var(--text); font: 400 19px/1.65 var(--serif); }
.design-neu a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 1px; }
.design-neu a:hover { color: var(--accent); }

/* ---------- header: transparent over the photo, solid once you scroll ---------- */
.design-neu .site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--head-h); z-index: 60; transition: background-color .3s, box-shadow .3s; }
.design-neu .site-header::before { inset: 0 0 -40px; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,0)); transition: opacity .3s; }
.design-neu .site-header.scrolled { background: rgba(22, 21, 19, .95); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.design-neu .site-header.scrolled::before { opacity: 0; }
.design-neu .bar { max-width: var(--wrap); padding: 0 32px; margin-left: var(--edge); margin-right: auto; }
.design-neu .brand img { width: 44px; }
/* menu inherits the page font – which is the serif in this design, so set Oswald explicitly */
.design-neu .site-header, .design-neu #nav { font-family: var(--font); }
.design-neu #nav a { font-size: 13px; letter-spacing: .1em; color: rgba(255,255,255,.78); padding: 10px 14px; }
.design-neu #nav li.active > a, .design-neu #nav a:hover { color: #fff; }
.design-neu #nav .sub a, .design-neu .yr-btn { letter-spacing: .02em; }
.design-neu .has-sub > .sub, .design-neu .fly { background: rgba(22, 21, 19, .97); }

/* ---------- big photo at the top of every page ---------- */
/* Height follows the window height (capped). Wide screens get a flatter strip; the crop spot (centre, see .fp in
   site.css) keeps the important part in the middle. The resulting shapes are the frames drawn in the admin's crop
   window (FRAMES in public/admin/media.js) – keep both in line. */
.bigphoto { position: relative; height: clamp(300px, 46vh, 520px); background: #151412; overflow: hidden; }
.bigphoto.has-caption { height: clamp(460px, 78vh, 860px); }
.bigphoto.no-img { height: calc(var(--head-h) + 40px); }
.bigphoto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.bigphoto-lb { position: absolute; inset: 0; } /* productions: opens the big photo in the lightbox */
.bigphoto-cap { pointer-events: none; } /* clicks on the photo behind the title still open it */
.bigphoto-cap a { pointer-events: auto; }
.bigphoto-lb:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.bigphoto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,9,8,.88) 0%, rgba(10,9,8,.55) 30%, rgba(10,9,8,0) 60%); pointer-events: none; }
.bigphoto-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; max-width: var(--wrap); margin: 0 auto 0 var(--edge); padding: 0 32px 64px; color: #fff; }
.bigphoto-cap .kicker { margin: 0 0 14px; font: 400 13px/1 var(--font); text-transform: uppercase; letter-spacing: .22em; color: rgba(255,255,255,.85); }
.bigphoto-cap .kicker a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.bigphoto-cap .kicker a:hover { border-color: #fff; }
.design-neu .bigphoto-cap h1 { margin: 0 0 18px; max-width: 14em; text-align: left; color: #fff; font: 400 clamp(46px, 7.4vw, 104px)/.96 var(--font); letter-spacing: .005em; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.bigphoto-cap .meta { margin: 0; font: 300 21px/1.4 var(--font); letter-spacing: .03em; color: rgba(255,255,255,.9); }

.bigphoto-credit { position: absolute; z-index: 1; right: 14px; bottom: 10px; font: 300 11px/1.3 var(--font); letter-spacing: .04em; color: rgba(255,255,255,.7); text-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* ---------- the paper area ---------- */
.design-neu .paper { background: var(--paper); }
/* One shared left edge for everything (same as logo and photo caption): text keeps a comfortable
   reading width, photos / videos / grids simply run wider to the right. Centring columns of
   different widths made the left edges jump. */
.design-neu .content { max-width: var(--wrap); margin: 0 auto 0 var(--edge); padding: 88px 32px 96px; }
.design-neu .content > *, .design-neu .block-section > * { max-width: var(--read); margin-left: 0; margin-right: 0; }
.design-neu .content > :is(.block-image, .block-gallery, .block-video, .block-section, .pager),
.design-neu .block-section > :is(.block-image, .block-gallery, .block-video) { max-width: var(--wide); }
.design-neu .content > :is(.cards, .posts) { max-width: none; }
/* video overview: production details at reading width, the videos themselves wide */
.design-neu .content > .video-show { max-width: var(--wide); margin-bottom: 96px; }
.design-neu .video-show > * { max-width: var(--read); }
.design-neu .video-show > .block-video { max-width: none; margin-bottom: 40px; }

.design-neu h1 { font: 400 clamp(40px, 5.4vw, 72px)/1 var(--font); color: var(--ink); text-align: left; margin: 0 auto 48px; }
.design-neu h3 { font: 500 20px/1.3 var(--serif); text-transform: none; color: var(--ink); }
.design-neu .rich p { margin: 0 0 1em; }
.design-neu .rich blockquote { border-left-color: var(--accent); }
/* serif is only for running text – titles, subtitles and meta lines stay in Oswald */
.design-neu .lead { font: 300 24px/1.45 var(--font); letter-spacing: .01em; color: var(--muted); margin-bottom: 80px; }
.design-neu .lead p { margin: 0; }
.design-neu .intro { text-align: left; }
.design-neu .block { margin-bottom: 72px; }

/* section labels: small spaced capitals with a hairline, like a programme booklet */
.design-neu .block > h2, .design-neu .press-show > h2 { display: flex; align-items: center; gap: 18px; text-align: left; margin: 0 0 28px; font: 500 13px/1 var(--font); letter-spacing: .2em; color: var(--muted); }
.design-neu .block > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.design-neu .block-section { border-top: 0; padding-top: 0; }
.design-neu .block-section > .sec-title { display: block; font: 400 clamp(30px, 3.4vw, 44px)/1.05 var(--font); letter-spacing: 0; color: var(--ink); margin-bottom: 36px; }
.design-neu .block-section > .sec-title::after { display: none; }
.design-neu .block-section .block-text h2 { font-size: 13px; }

/* credits */
.design-neu .block-table .credits { max-width: none; }
.design-neu .credits > div { grid-template-columns: minmax(150px, 34%) 1fr; gap: 24px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.design-neu .credits dt { text-align: left; font: 400 12.5px/1.4 var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.design-neu .credits dd { font-size: 19px; line-height: 1.45; color: var(--ink); }
.design-neu .credits .gap { height: 28px; border-bottom: 0; padding: 0; }

/* photos */
.design-neu figcaption, .design-neu .credit { font: 300 12px/1.5 var(--font); letter-spacing: .06em; font-style: normal; color: var(--muted); margin-top: 10px; }
.design-neu .gallery { gap: 5px; }
.design-neu .g { background: #e6e0d6; }

/* reviews: large quotes */
.design-neu .review { margin: 0 0 56px; position: relative; padding-left: 44px; }
.design-neu .review::before { content: "“"; position: absolute; left: -4px; top: -18px; font: 400 92px/1 var(--serif); color: var(--accent); opacity: .7; }
.design-neu .review blockquote { border: 0; padding: 0; font-size: 21px; line-height: 1.55; color: var(--ink); }
.design-neu .review figcaption { margin: 16px 0 0; font: 400 12.5px/1.5 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.design-neu .review figcaption::before { content: "— "; }
.design-neu .review figcaption a { color: inherit; }

.design-neu .press-meta { font: 300 15px/1.5 var(--font); letter-spacing: .02em; }

/* video */
.design-neu .video button { font-family: var(--font); letter-spacing: .06em; }
.design-neu .video-title { font: 500 13px/1 var(--font); text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin-bottom: 14px; }

.design-neu .back { text-align: left; font: 400 13px/1 var(--font); letter-spacing: .14em; margin-top: 96px; }
.design-neu .back a { text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 4px; }

/* category overview */
.design-neu .intro { margin-bottom: 64px; }
.design-neu .cards { grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
.design-neu .card-img { aspect-ratio: 3 / 2; background: #e6e0d6; margin-bottom: 16px; }
/* photo credit on the overview tiles (licence), small on the photo like on the big photo; a soft shade keeps it
   readable on light photos */
.card-credit { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 18px 10px 6px; text-align: right; font: 300 10.5px/1.3 var(--font); letter-spacing: .04em; color: rgba(255,255,255,.85); text-shadow: 0 1px 3px rgba(0,0,0,.7); background: linear-gradient(to top, rgba(0,0,0,.38), rgba(0,0,0,0)); pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.design-neu .card strong { font: 400 22px/1.2 var(--font); letter-spacing: .01em; }
.design-neu .card .meta { font: 300 15px/1.5 var(--font); letter-spacing: .02em; }

/* news */
.design-neu .post { max-width: var(--wide); margin: 0 0 72px; border-bottom-color: var(--line); padding-bottom: 72px; }
.design-neu .post h1, .design-neu .post h2 { font: 400 clamp(28px, 3vw, 38px)/1.1 var(--font); text-transform: none; }
.design-neu .post time { font: 400 12.5px/1 var(--font); text-transform: uppercase; letter-spacing: .16em; }
.design-neu .button { border-color: var(--ink); font-family: var(--font); letter-spacing: .14em; padding: 12px 26px; }
.design-neu .button:hover { background: var(--ink); color: var(--paper); }
.design-neu .pager { font-family: var(--font); }

/* footer */
.design-neu .site-footer { background: #161513; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 44px max(32px, calc((100% - var(--wrap)) / 2 + 32px)) 44px calc(var(--edge) + 32px); font: 400 12px/1.4 var(--font); text-transform: uppercase; letter-spacing: .14em; }
.design-neu .footer-links { margin: 0; gap: 28px; }
.design-neu .footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.design-neu .footer-links a:hover, .design-neu .footer-links a[aria-current="page"] { color: #fff; }

/* ---------- landing page: name straight on the photo, no box ---------- */
body.landing.design-neu { background: #111; }
body.landing.design-neu::before { animation: slow-zoom 40s ease-in-out infinite alternate; transform-origin: 60% 40%; }
body.landing.design-neu::after { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,7,6,.78) 0%, rgba(8,7,6,.2) 48%, rgba(8,7,6,.38) 100%); }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
/* The landing photo is a 2.7:1 panorama scaled to the window height, so its middle chimney always starts at ~35% of the
   window height. The name block hangs from the header and its size follows the height (15vh) so it ends above that. */
/* name block and footer stacked in one screen-high column: the footer follows the text instead of lying over it
   (it wraps to two lines on phones). svh = height with the browser toolbars shown (iPhone Safari). */
body.landing.design-neu { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.design-neu .splash-wrap { flex: 1 0 auto; min-height: 0; align-items: flex-start; padding: calc(var(--head-h) + 8px) 0 24px; }
.design-neu .splash { max-width: var(--wrap); margin: 0 auto 0 var(--edge); padding: 0 32px; background: none; text-align: left; }
.design-neu .splash-logo { display: none; }
.design-neu .splash h1 { color: #fff; margin: 0 0 22px; font: 400 clamp(44px, min(11vw, 15vh), 168px)/.88 var(--font); letter-spacing: -.005em; text-shadow: 0 2px 40px rgba(0,0,0,.3); }
.design-neu .splash-tag { font: 400 15px/1 var(--font); letter-spacing: .5em; color: rgba(255,255,255,.88); }
body.landing.design-neu .site-footer { background: none; padding-top: 20px; padding-bottom: max(20px, env(safe-area-inset-bottom)); }

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .design-neu .bar { padding: 0 20px; }
  .design-neu #nav a { font-size: 17px; letter-spacing: .06em; padding: 13px 0; }
  .bigphoto-cap { padding: 0 20px 40px; }
  .bigphoto-credit { right: 10px; bottom: 8px; font-size: 10px; }
  .design-neu .content { padding: 56px 20px 72px; }
}
@media (max-width: 700px) {
  body.design-neu { font-size: 18px; }
  .bigphoto.has-caption { height: 82vh; }
  .bigphoto-cap .meta { font-size: 18px; }
  .design-neu .lead { font-size: 21px; margin-bottom: 56px; }
  .design-neu .credits > div { grid-template-columns: 1fr; gap: 2px; text-align: left; margin: 0; }
  .design-neu .credits dt { text-align: left; }
  .design-neu .review { padding-left: 30px; }
  .design-neu .review blockquote { font-size: 20px; }
  .design-neu .review::before { font-size: 70px; top: -12px; }
  .design-neu .cards { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .design-neu .card strong { font-size: 18px; }
  .design-neu .site-footer { justify-content: center; text-align: center; }
  .design-neu .splash-tag { letter-spacing: .3em; }
}
@media (max-width: 420px) { .design-neu .cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { body.landing.design-neu::before { animation: none; } }
