/* Readability layer on top of the original NeuroCīvitās styles.
   The identity (green panels, light lines, dots, grain, logo animations, mono titles) is unchanged.
   Reading text moves to a regular-weight face with more line spacing and shorter lines. */
@font-face { font-family: "ABCDiatype"; font-weight: 700; font-display: swap; src: url(/fonts/diatype-bold.woff2) format("woff2"); }
@font-face { font-family: "ABCDiatype"; font-weight: 400; font-display: swap; src: url(/fonts/diatype-regular.woff2) format("woff2"); }
@font-face { font-family: "ABCGaisyrMono"; font-weight: 400; font-display: swap; src: url(/fonts/gaisyr-mono.woff2) format("woff2"); }

:root {
  --font-read: "ABCDiatype", "Helvetica Neue", Arial, sans-serif;
  --color-text-soft: #3d3d3d;
}

/* reading text: regular weight, generous line spacing, comfortable measure */
.richtext { font-family: var(--font-read); font-weight: 400; line-height: 1.45; letter-spacing: -0.005em; }
.richtext p + p { margin-top: .8em; }
.richtext strong { font-weight: 700; }
.richtext a { text-decoration: underline; text-underline-offset: .15em; }

/* mission statement: large but no longer a wall of bold */
.text-title__text { font-size: clamp(1.35rem, 2.1vw, 2rem); }
.text-title__text .richtext { max-width: 30em; line-height: 1.3; }

/* text on the photo panels: larger and set on a light veil so it reads over the image */
.title-media__text { font-size: 1.125rem; }
.title-media__text .richtext { max-width: 30em; line-height: 1.5; }
.title-media__media { opacity: .2; }

/* pillars: readable body copy and a statement in sentence case */
.scroll-teaser__teaser-text .richtext { font-size: 1.0625rem; line-height: 1.5; max-width: 24em; }
.scroll-teaser__title { font-family: var(--font-read); text-transform: none; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.3; font-weight: 400; max-width: 26em; margin: 0 auto; letter-spacing: -0.01em; }

/* mono identity labels stay, with calmer tracking and room between lines */
.intro-animation__text { font-size: clamp(.95rem, 1.1vw, 1.05rem); letter-spacing: .06em; line-height: 1.45; }
.title-media__title, .text-title__title, .scroll-teaser__teaser-title { letter-spacing: .02em; line-height: 1.25; }

/* event boxes: titles are sentences, so they read in sentence case */
.column-teaser__teaser-title { font-family: var(--font-read); text-transform: none; font-size: clamp(1.1rem, 1.4vw, 1.35rem); line-height: 1.35; font-weight: 400; max-width: 22em; margin: 0 auto; }

/* team grid: bigger affiliations, softer colour, proper line spacing */
.image-grid-teasers__title { line-height: 1.2; }
.image-grid-teasers__title a { text-decoration: none; }
.image-grid-teasers__subtitle { font-family: var(--font-read); font-size: .9rem; line-height: 1.4; color: var(--color-text-soft); margin-top: .25rem; }

/* buttons and links */
.title-media__cta, .text-title__cta, .column-teaser__cta { font-family: var(--font-read); font-weight: 400; font-size: 1rem; }

@media screen and (max-width: 699px) {
  .title-media__text { font-size: 1.05rem; }
  .text-title__text { font-size: 1.3rem; }
}


/* neon lime: the colour of anything live */
:root { --neon: #d7ff3b; }
.livechip { display: inline-flex; align-items: center; gap: .55em; background: var(--neon); color: #1d1d1b; font-family: var(--font-family-mono); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; border-radius: 999px; padding: .45em 1em .4em; margin-bottom: 1.4rem; }
.livechip i { width: .55em; height: .55em; border-radius: 50%; background: currentColor; animation: nc-pulse 1.4s ease-in-out infinite; }
@keyframes nc-pulse { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }
.column-teaser__teaser-title-wrapper { flex-direction: column; }
.is-live .column-teaser__cta { background: var(--neon); color: #1d1d1b; }
.is-live .column-teaser__cta:hover { color: #1d1d1b; background: #c6f01f; }

/* duotone photos: Settings > photo tone = sage | neon | none (hover still shows the real photo) */
.tone-sage .title-media__media-wrapper { background: #738079; }
.tone-sage .title-media__media { filter: grayscale(1) contrast(1.05) brightness(.9); opacity: .42; mix-blend-mode: luminosity; }
.tone-sage .title-media__text { color: #fff; }
.tone-neon .title-media__media-wrapper { background: #d7ff3b; }
.tone-neon .title-media__media { filter: grayscale(1) contrast(.6) brightness(1.55); opacity: 1; mix-blend-mode: multiply; }
.tone-neon .title-media__text { color: #1d1d1b; }
.tone-sage .scroll-teaser__teaser-media { background: #738079; }
.tone-sage .scroll-teaser__teaser-media .responsive-image { filter: grayscale(1) contrast(1.05); mix-blend-mode: luminosity; opacity: .85; }
.tone-neon .scroll-teaser__teaser-media { background: #d7ff3b; }
.tone-neon .scroll-teaser__teaser-media .responsive-image { filter: grayscale(1) contrast(1.1) brightness(1.05); mix-blend-mode: multiply; }
@media (hover: hover) {
  .tone-sage .title-media__media-wrapper:hover .title-media__media, .tone-neon .title-media__media-wrapper:hover .title-media__media { filter: none; opacity: 1; mix-blend-mode: normal; }
}

/* header: no white buttons; burger and wordmark float, white over the green opening panel, ink elsewhere */
.nav__trigger, .nav__logo { background: transparent !important; transition: width .15s ease .15s, background-color .2s ease; }
.nav__trigger-burger > span, .nav__trigger-burger > span:before, .nav__trigger-burger > span:after { background: var(--nav-ink, #d7ff3b) !important; transition: background-color .25s ease; }
.state--nav-active .nav__trigger-burger > span { background: transparent !important; }
.nav__logo { color: var(--nav-ink, #d7ff3b); transition: color .25s ease; }
.nav__logo svg { display: block; width: 123px; height: auto; }
.nav__trigger-label { color: var(--nav-ink, #d7ff3b); }
body.nav-on-light { --nav-ink: #1d1d1b; }
.state--nav-active .nav__trigger { background: #fff !important; --nav-ink: #1d1d1b; }
.state--nav-active .nav__logo { --nav-ink: #1d1d1b; }

/* brand panel: used where a feature has no photo */
.brand-panel { position: relative; overflow: hidden; background: #738079; }
.brand-panel .animation { position: absolute; inset: 0; }
.brand-panel__dots { position: absolute; inset: 6%; display: flex; flex-direction: column; justify-content: space-between; }
.brand-panel__label { position: absolute; left: 6%; bottom: 7%; font-family: "ABCGaisyrMono", monospace; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(14px, 1.3vw, 20px); color: #d7ff3b; }

/* publications */
.pubs { padding: 0 var(--grid-margin, 24px) 6rem; max-width: 1400px; margin: 0 auto; }
.pubs__filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 3rem; }
.pubs__filter button { font: inherit; font-size: 15px; padding: .45em 1em; border-radius: 999px; border: 1px solid #1d1d1b; background: transparent; color: #1d1d1b; cursor: pointer; }
.pubs__filter button.is-on { background: #1d1d1b; color: #d7ff3b; }
.pubs__year { display: grid; grid-template-columns: 8rem 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid rgba(29,29,27,.25); }
.pubs__y { font-family: "ABCGaisyrMono", monospace; font-weight: 400; font-size: 22px; }
.pubs__year ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.pubs__title { font-family: var(--font-read, "ABCDiatype"), sans-serif; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; }
.pubs__title a { text-decoration: none; background-image: linear-gradient(#d7ff3b, #d7ff3b); background-size: 0 .35em; background-position: 0 88%; background-repeat: no-repeat; transition: background-size .3s; }
.pubs__title a:hover { background-size: 100% .35em; }
.pubs__meta { font-size: 15px; line-height: 1.4; color: #5a615c; margin-top: .3rem; }
@media (max-width: 700px) { .pubs__year { grid-template-columns: 1fr; gap: .8rem; } }

/* publication title cloud */
.pubcloud { position: relative; overflow: hidden; background: #738079; border-radius: var(--border-radius, 12px); margin: 0 var(--grid-gap, 8px) var(--grid-gap, 8px); min-height: 82vh; display: flex; flex-direction: column; justify-content: center; color: #eeeeee; isolation: isolate; }
.pubcloud .animation { position: absolute; inset: 0; z-index: 0; }
.pubcloud__dots { position: absolute; inset: 5%; display: flex; flex-direction: column; justify-content: space-between; z-index: 1; pointer-events: none; }
.pubcloud__head { position: absolute; top: 4%; left: 4%; right: 4%; display: flex; justify-content: space-between; z-index: 3; font-family: "ABCGaisyrMono", monospace; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; color: #1d1d1b; }
.pubcloud__rows { position: relative; z-index: 2; display: grid; gap: 2.2vh; padding: 10vh 0; }
.pc__row { overflow: hidden; opacity: var(--o); font-size: calc(clamp(18px, 2.2vw, 34px) * var(--s)); filter: blur(calc((1 - var(--o)) * 1.4px)); }
.pc__track { display: inline-flex; align-items: center; gap: 1.2em; white-space: nowrap; animation: pc-scroll var(--d) linear infinite; animation-direction: var(--dir); will-change: transform; }
.pubcloud:hover .pc__track { animation-play-state: paused; }
@keyframes pc-scroll { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.pc__t { font-family: var(--font-read, "ABCDiatype"), sans-serif; color: #f2f3ee; text-decoration: none; line-height: 1.15; transition: color .25s, opacity .25s; }
.pc__t sup { font-family: "ABCGaisyrMono", monospace; font-size: .45em; margin-left: .35em; opacity: .7; }
.pc__t:hover { color: #d7ff3b; }
.pc__dot { width: .28em; height: .28em; border-radius: 50%; background: #1d1d1b; flex: none; opacity: .5; }
@media (prefers-reduced-motion: reduce) { .pc__track { animation: none; } .pc__row { overflow-x: auto; } }

/* journal-style covers */
.covers { padding: 4rem var(--grid-margin, 24px) 6rem; max-width: 1600px; margin: 0 auto; }
.covers__label { font-family: "ABCGaisyrMono", monospace; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; margin-bottom: 1.5rem; }
.covers__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cover { position: relative; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; padding: 18px; text-decoration: none; isolation: isolate; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.cover:hover { transform: translateY(-6px) rotate(-.6deg); }
.cover--sage { background: #738079; color: #f2f3ee; } .cover--ink { background: #1d1d1b; color: #eeeeee; } .cover--paper { background: #eeeeee; color: #1d1d1b; } .cover--neon { background: #d7ff3b; color: #1d1d1b; }
.cover__beam { position: absolute; left: 30%; top: -40%; width: 22%; height: 180%; transform: rotate(38deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); filter: blur(8px); z-index: -1; }
.cover__beam--2 { left: 62%; transform: rotate(-30deg); opacity: .7; }
.cover--paper .cover__beam, .cover--neon .cover__beam { background: linear-gradient(90deg, transparent, rgba(115,128,121,.3), transparent); }
.cover__dots { position: absolute; inset: 14px; display: grid; grid-template-columns: 1fr 1fr; align-content: space-between; pointer-events: none; }
.cover__dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; } .cover__dots i:nth-child(even) { justify-self: end; }
.cover__venue { font-family: "ABCGaisyrMono", monospace; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; line-height: 1.3; margin-top: 14px; max-width: 80%; }
.cover__year { font-family: "ABCGaisyrMono", monospace; font-size: 44px; line-height: 1; margin-top: 10px; opacity: .9; }
.cover__title { font-family: var(--font-read, "ABCDiatype"), sans-serif; font-weight: 700; font-size: 17px; line-height: 1.18; margin-top: auto; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.cover__authors { font-size: 11px; line-height: 1.3; opacity: .75; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cover__brand { font-family: "ABCGaisyrMono", monospace; font-size: 13px; margin-top: 12px; color: #d7ff3b; }
.cover--neon .cover__brand, .cover--paper .cover__brand { color: #1d1d1b; }

/* softer, finer grain */
.grain { opacity: .38; }
.grain__inner { background-size: 180px 180px; background-repeat: repeat; }
@media (max-width: 700px) { .grain { opacity: .28; } .grain__inner { background-size: 140px 140px; } }

/* logo colour that drifts between neon and white (Settings: logo colour = shift) */
@keyframes logo-shift { 0%, 38% { filter: none } 50%, 88% { filter: saturate(0) brightness(1.12) } 100% { filter: none } }
@keyframes lines-shift { 0%, 38% { filter: none } 50%, 88% { filter: saturate(0) brightness(1.25) } 100% { filter: none } }
body.logo-shift .intro-animation__logo-animation { animation: logo-shift 16s ease-in-out infinite; }
body.logo-shift .intro-animation__background .animation { animation: lines-shift 16s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { body.logo-shift .intro-animation__logo-animation, body.logo-shift .intro-animation__background .animation { animation: none; } }

/* once the page scrolls, the floating header stops sitting on top of content */
.header__logo, .nav__trigger { transition: opacity .3s ease, background-color .3s ease, backdrop-filter .3s ease; }
body.is-scrolled .header__logo { opacity: 0; pointer-events: none; }
body.is-scrolled .nav__trigger { background-color: rgba(29, 29, 27, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 999px; --nav-ink: #d7ff3b; }
body.is-scrolled.nav-on-light .nav__trigger { background-color: rgba(238, 238, 238, .7); --nav-ink: #1d1d1b; }
@media screen and (min-width: 700px) { body.is-scrolled .nav__logo { opacity: 0; pointer-events: none; transition: opacity .3s ease; } }

/* live call cards (same design as the Instagram live-call posts) */
.livecards { display: grid; grid-template-columns: 1fr; gap: 1px; margin-bottom: 1px; }
@media (min-width: 700px) { .livecards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .livecards { grid-template-columns: repeat(3, 1fr); } }
.livecard { display: flex; flex-direction: column; gap: 1px; }
.livecard__hero { position: relative; overflow: hidden; border-radius: var(--border-radius); aspect-ratio: 16 / 9.2; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; padding: 1rem 1.1rem 1.4rem; isolation: isolate; }
.livecard__hero .animation { position: absolute; inset: 0; z-index: -1; }
.livecard__dots { position: absolute; inset: 7% 3%; z-index: 0; pointer-events: none; }
.livecard__dots .dots__row:nth-child(n+4), .livecard__dots .dots__dot:nth-child(n+4) { display: none; }
.livecard__chip { position: relative; z-index: 2; align-self: flex-start; margin: 0; }
.livecard__logo { position: relative; z-index: 2; display: block; width: 82%; margin: 0 auto; aspect-ratio: 123 / 13; background: currentColor; -webkit-mask: url(/assets/Logos/neurocivitas-logo.svg) center / contain no-repeat; mask: url(/assets/Logos/neurocivitas-logo.svg) center / contain no-repeat; }
.livecard__lede { position: relative; z-index: 2; text-align: center; font-family: var(--font-read, "ABCDiatype"), sans-serif; font-size: 15px; line-height: 1.38; max-width: 34em; margin: 0 auto; }
.livecard__hero .grain { z-index: 1; }
.livecard__title { background: var(--color-gray); border-radius: var(--border-radius); padding: 2.6rem 1rem; text-align: center; display: flex; flex-direction: column; gap: .6rem; justify-content: center; flex: 1; }
.livecard__label { font-family: var(--font-family-mono); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; color: #555; }
.livecard__name { font-family: var(--font-family-mono); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.05; }
.livecard__row { position: relative; display: block; background: var(--color-gray); border-radius: var(--border-radius); padding: 1.05rem 2.4rem 1.05rem 1.1rem; font-size: 15px; color: #1d1d1b; transition: color .15s ease, background-color .15s ease; }
.livecard__row:after { content: ""; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); border-style: solid; border-width: 4px 0 4px 8px; border-color: transparent transparent transparent currentColor; }
.livecard__k { color: #6a6f6b; margin-right: .6em; }
.livecard__row--cta { background: #d7ff3b; }
.livecard__row--cta .livecard__k { color: #4a5a10; }
@media (hover: hover) { a.livecard__row:hover { background: #1d1d1b; color: #d7ff3b; } a.livecard__row:hover .livecard__k { color: #a7b36a; } }
/* tones */
.livecard.tone-neon .livecard__hero { color: #1d1d1b; }
.livecard.tone-neon .livecard__chip { background: #1d1d1b; color: #d7ff3b; }
.livecard.tone-neon .livecard__row--cta { background: #1d1d1b; color: #d7ff3b; } .livecard.tone-neon .livecard__row--cta .livecard__k { color: #a7b36a; }
.livecard.tone-sage .livecard__hero { color: #f2f3ee; } .livecard.tone-sage .livecard__logo { background: #d7ff3b; }
.livecard.tone-ink .livecard__hero { color: #eeeeee; } .livecard.tone-ink .livecard__logo { background: #d7ff3b; }
.livecard.tone-ink .livecard__row--cta { background: #1d1d1b; color: #d7ff3b; } .livecard.tone-ink .livecard__row--cta .livecard__k { color: #a7b36a; }
.livecards { grid-template-columns: minmax(0, 1fr); padding: 0; }
@media (min-width: 700px) { .livecards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .livecards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.livecard, .livecard__hero, .livecard__dots, .livecard__dots .dots, .livecard__dots .dots__row { min-width: 0; }
.livecard__dots .dots { width: 100%; }
.livecard__name { overflow-wrap: anywhere; }
div.livecard__row:after { display: none; }

/* original photo effect (photo tone = original): soft grey blur on pale green, sharp colour photo on hover, text lifts away */
body:not(.tone-sage):not(.tone-neon) .title-media__media-wrapper { background: #ced8d3; }
body:not(.tone-sage):not(.tone-neon) .title-media__media { filter: grayscale(1) brightness(.8) blur(10px); opacity: .2; mix-blend-mode: normal; }
body:not(.tone-sage):not(.tone-neon) .title-media__text { color: #1d1d1b; }
@media (hover: hover) { body:not(.tone-sage):not(.tone-neon) .title-media__media-wrapper:hover .title-media__media { filter: grayscale(0) brightness(1) blur(0); opacity: 1; } }
/* touch screens have no hover: reveal the photo when the block scrolls into the middle of the screen */
@media (hover: none) { body:not(.tone-sage):not(.tone-neon) .title-media__media-wrapper.is-centre .title-media__media { filter: grayscale(0) brightness(1) blur(0); opacity: 1; }
  body:not(.tone-sage):not(.tone-neon) .title-media__media-wrapper.is-centre .title-media__text { opacity: 0; transform: translate3d(0,-30px,0) rotateX(40deg); } }

/* ---------- animated wordmarks: Gaisyr Book with the logo's moving serif link */
.wordmark { display: block; color: inherit; }
.wordmark__svg { display: block; fill: currentColor; overflow: visible; }
.wordmark__bar { fill: var(--wm-link, currentColor); }
.wordmarks { overflow: hidden; position: relative; isolation: isolate; border-radius: var(--border-radius); margin-bottom: 1px; color: #f2f3ee; --wm-link: #d7ff3b; padding: calc(var(--nav-height, 4rem) + 3rem) var(--page-padding, 1.25rem) clamp(2.5rem, 5vw, 4rem); min-height: min(100vh, 1000px); display: flex; flex-direction: column; justify-content: center; gap: clamp(1.5rem, 3vw, 3rem); }
.wordmarks__background { position: absolute; inset: 0; z-index: -1; }
.wordmarks__dots { position: absolute; inset: 0; padding: 3.375rem var(--page-padding, 1.25rem); }
.wordmarks .grain { z-index: 0; pointer-events: none; }
.wordmarks__kicker, .wordmarks__text { position: relative; z-index: 2; color: #f2f3ee; font-family: var(--font-family-mono); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(13px, 1.1vw, 16px); line-height: 1.35; }
.wordmarks__text { max-width: 34em; }
.wordmarks__list li { line-height: 0; }
.wordmarks__list { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(.2rem, 1.2vw, 1rem); }
.wordmarks__list .wordmark__svg { height: clamp(48px, 20vw, 165px); width: auto; max-width: 100%; margin-left: -.15em; }
.wordmarks__link { position: relative; display: inline-block; color: inherit; text-decoration: none; }
.wordmarks__go { font-family: var(--font-family-mono); text-transform: uppercase; letter-spacing: .04em; font-size: 13px; color: #1d1d1b; background: #d7ff3b; border-radius: 99px; padding: .35em .8em; white-space: nowrap; line-height: 1.2; position: absolute; left: calc(100% + 1rem); bottom: 22%; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; }
.wordmarks__link:hover .wordmarks__go, .wordmarks__link:focus-visible .wordmarks__go { opacity: 1; transform: none; }
@media (hover: none) and (min-width: 701px) { .wordmarks__go { opacity: 1; transform: none; } }
@media (max-width: 700px) { .wordmarks__go { display: none; } }
.livecard__wordmark { position: relative; z-index: 2; width: 92%; margin: 0 auto; color: #f2f3ee; --wm-link: #d7ff3b; }
.livecard__wordmark .wordmark__svg { width: 100%; height: auto; }
.livecard.tone-neon .livecard__wordmark { color: #1d1d1b; --wm-link: #1d1d1b; }
.livecard { scroll-margin-top: calc(var(--nav-height, 4rem) + 1rem); }
@media (max-width: 700px) { .wordmarks { min-height: 0; } }

/* ---------- call poster (Pages block "poster"): photo card + rows, same rhythm as the live cards */
.ncposter{display:flex;flex-direction:column;gap:1px;margin-bottom:1px}
.ncposter__hero{position:relative;overflow:hidden;isolation:isolate;border-radius:var(--border-radius);color:#f2f3ee;aspect-ratio:16/7;min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.1rem;padding:3rem var(--page-padding)}
.ncposter__bg{position:absolute;inset:0;z-index:-3;background:#3d4740 center 58%/cover no-repeat}
.ncposter__beams{position:absolute;inset:0;z-index:-2;mix-blend-mode:screen;pointer-events:none}
.ncposter__beams .animation{background:transparent}
.ncposter__tint{position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 50% 45% at 50% 50%,rgba(40,48,43,.7),rgba(40,48,43,.25) 70%,rgba(40,48,43,.1))}
.ncposter__hero .grain{z-index:0}
.ncposter__chip{position:absolute;top:1rem;left:1.1rem;margin:0;z-index:2}
.ncposter__wordmark{position:relative;z-index:2;display:block;width:min(46%,520px)}
.ncposter__wordmark .wordmark__svg{width:100%;height:auto;display:block;fill:currentColor;overflow:visible}
.ncposter__wordmark .wordmark__bar{fill:#d7ff3b}
.ncposter__title{position:relative;z-index:2;font-family:var(--font-family-mono);text-transform:uppercase;letter-spacing:.1em;line-height:1.1;font-size:var(--font-size-s);text-align:center}
.ncposter__credit{position:absolute;right:1.1rem;bottom:.9rem;z-index:2;font-family:var(--font-family-mono);text-transform:uppercase;letter-spacing:.08em;font-size:9px;opacity:.55}
.ncposter__rows{display:grid;grid-template-columns:1fr;gap:1px}
.ncposter__row{position:relative;display:block;background:var(--color-gray);border-radius:var(--border-radius);padding:1.05rem 1.1rem;font-size:15px;color:#1d1d1b}
.ncposter__k{color:#6a6f6b;margin-right:.6em}
.ncposter__row--cta{background:#d7ff3b;padding-right:2.4rem;transition:color .15s ease,background-color .15s ease}
.ncposter__row--cta .ncposter__k{color:#4a5a10}
.ncposter__row--cta:after{content:"";position:absolute;right:1.1rem;top:50%;transform:translateY(-50%);border-style:solid;border-width:4px 0 4px 8px;border-color:transparent transparent transparent currentColor}
.ncposter__row--cta:hover{background:#1d1d1b;color:#d7ff3b}
.ncposter__row--cta:hover .ncposter__k{color:#a7b36a}
@media (min-width:700px){.ncposter__rows{grid-template-columns:repeat(4,1fr)}}
@media (max-width:699px){.ncposter__hero{aspect-ratio:4/5}.ncposter__wordmark{width:78%}}

.ncposter--card{margin-bottom:0}
.ncposter--card .ncposter__hero{flex:1;aspect-ratio:auto;min-height:300px}
.ncposter--card .ncposter__rows{grid-template-columns:1fr}
@media (min-width:700px){.ncposter--card{grid-column:span 2}.ncposter--card .ncposter__rows{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1100px){.ncposter--card .ncposter__rows{grid-template-columns:repeat(4,1fr)}}
@media (max-width:699px){.ncposter--card .ncposter__hero{aspect-ratio:4/5}}

/* poster variants */
.ncposter--duotone .ncposter__hero{background:#738079}
.ncposter--duotone .ncposter__bg{filter:grayscale(1) contrast(1.05) brightness(.95);opacity:.55;mix-blend-mode:luminosity;transition:filter .6s ease,opacity .6s ease}
.ncposter--duotone .ncposter__tint{opacity:.5}
@media (hover:hover){.ncposter--duotone .ncposter__hero:hover .ncposter__bg{filter:none;opacity:1;mix-blend-mode:normal}}
.ncposter--duotone.is-centre .ncposter__bg{filter:none;opacity:1;mix-blend-mode:normal}
@media (min-width:700px){.livecards--pair{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.ncpcard .livecard__hero{color:#f2f3ee}
.ncpcard .ncpcard__photo{position:absolute;inset:0;z-index:-2;background:#3d4740 center 58%/cover no-repeat;transition:opacity .6s ease,filter .6s ease}
.ncpcard .livecard__hero .animation{z-index:-1}
.ncpcard--pair .livecard__hero .animation{mix-blend-mode:screen}
.ncpcard--pair .livecard__hero:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse 60% 50% at 50% 50%,rgba(40,48,43,.55),rgba(40,48,43,.1))}
.ncpcard--reveal .ncpcard__photo{z-index:0;opacity:0;filter:grayscale(1)}
@media (hover:hover){.ncpcard--reveal .livecard__hero:hover .ncpcard__photo{opacity:.9;filter:none}}
.ncpcard--reveal.is-centre .ncpcard__photo{opacity:.9;filter:none}
.ncpcard--reveal .livecard__wordmark,.ncpcard--reveal .livecard__chip{z-index:2}
.ncpcard__credit{position:absolute;right:1.1rem;bottom:.8rem;z-index:2;font-family:var(--font-family-mono);text-transform:uppercase;letter-spacing:.08em;font-size:9px;opacity:.55}
.ncpcard .livecard__wordmark{position:relative;z-index:2}
.ncpcard .livecard__hero{justify-content:flex-start}.ncpcard .livecard__wordmark{margin:auto}

/* ---------- smoke: a sage colour veil with drifting holes of real colour, opens around the pointer, lifts on hover */
@property --r { syntax: '<percentage>'; inherits: true; initial-value: 0%; }
@property --b1x { syntax: '<percentage>'; inherits: true; initial-value: 20%; }
@property --b1y { syntax: '<percentage>'; inherits: true; initial-value: 30%; }
@property --b2x { syntax: '<percentage>'; inherits: true; initial-value: 75%; }
@property --b2y { syntax: '<percentage>'; inherits: true; initial-value: 70%; }
@property --b3x { syntax: '<percentage>'; inherits: true; initial-value: 55%; }
@property --b3y { syntax: '<percentage>'; inherits: true; initial-value: 15%; }
.smoke { --mx: 50%; --my: 50%; --r: 0%; animation: smoke-drift 22s ease-in-out infinite alternate; }
.smoke__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: #738079; mix-blend-mode: color; transition: --r .9s ease;
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), transparent var(--r), #000 calc(var(--r) + 18%)), radial-gradient(ellipse 30% 40% at var(--b1x) var(--b1y), transparent 0%, rgba(0,0,0,.45) 50%, #000 100%), radial-gradient(ellipse 26% 36% at var(--b2x) var(--b2y), transparent 0%, rgba(0,0,0,.45) 50%, #000 100%), radial-gradient(ellipse 22% 30% at var(--b3x) var(--b3y), transparent 0%, rgba(0,0,0,.5) 55%, #000 100%);
  mask-image: radial-gradient(circle at var(--mx) var(--my), transparent var(--r), #000 calc(var(--r) + 18%)), radial-gradient(ellipse 30% 40% at var(--b1x) var(--b1y), transparent 0%, rgba(0,0,0,.45) 50%, #000 100%), radial-gradient(ellipse 26% 36% at var(--b2x) var(--b2y), transparent 0%, rgba(0,0,0,.45) 50%, #000 100%), radial-gradient(ellipse 22% 30% at var(--b3x) var(--b3y), transparent 0%, rgba(0,0,0,.5) 55%, #000 100%);
  -webkit-mask-composite: source-in, source-in, source-in; mask-composite: intersect; }
@keyframes smoke-drift {
  0%   { --b1x: 15%; --b1y: 25%; --b2x: 80%; --b2y: 75%; --b3x: 55%; --b3y: 10%; }
  25%  { --b1x: 35%; --b1y: 65%; --b2x: 60%; --b2y: 35%; --b3x: 85%; --b3y: 40%; }
  50%  { --b1x: 60%; --b1y: 40%; --b2x: 25%; --b2y: 80%; --b3x: 40%; --b3y: 85%; }
  75%  { --b1x: 85%; --b1y: 20%; --b2x: 15%; --b2y: 30%; --b3x: 20%; --b3y: 55%; }
  100% { --b1x: 70%; --b1y: 75%; --b2x: 45%; --b2y: 15%; --b3x: 75%; --b3y: 65%; }
}
@media (hover: hover) { .smoke:hover { --r: 140%; } }
.smoke.is-centre { --r: 140%; }
@media (prefers-reduced-motion: reduce) { .smoke { animation: none; } }
.ncposter--smoke .ncposter__tint { opacity: .55; }

/* ---------- flow 2: one rhythm for the whole page */
.flow-2 #main > * { margin-bottom: 10px; }
.flow-2 #main > .title-media + .title-media { margin-top: -9px; }
.flow-2 #main > .livecards + .column-teaser { margin-top: -9px; }
.flow-2 .wordmarks { min-height: 0; padding-top: 4rem; padding-bottom: 3rem; margin-bottom: 1px !important; }
.flow-2 .wordmarks__list .wordmark__svg { height: clamp(44px, 12vw, 120px); }
.flow-2 .column-teaser__teaser { min-height: 0; }
.flow-2 .column-teaser__teaser-title-wrapper { padding: 2.25rem var(--page-padding); }
/* feature photos: shown in sage with the smoke, full colour on hover, instead of a grey blur */
body.flow-2:not(.x) .title-media__media-wrapper { background: #738079; }
body.flow-2:not(.x):not(.y) .title-media__media { filter: none; opacity: 1; mix-blend-mode: normal; }
.flow-2 .title-media__media:after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(40, 48, 43, .38); transition: opacity .5s ease; pointer-events: none; }
body.flow-2:not(.x):not(.y) .title-media__text { color: #fff; z-index: 2; }
@media (hover: hover) { .flow-2 .title-media__media-wrapper:hover .title-media__media:after { opacity: 0; } }
.flow-2 .title-media__media-wrapper.is-centre .title-media__media:after { opacity: 0; }

/* all live calls as posters: two equal cards */
@media (min-width:700px){.livecards--posters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.livecards--posters .ncposter--card{grid-column:auto}.livecards--posters .ncposter--card .ncposter__rows{grid-template-columns:repeat(2,1fr)}.livecards--posters .ncposter--card .ncposter__hero{min-height:440px}.livecards--posters .ncposter__wordmark{width:min(72%,520px)}}

@media (min-width:700px){.livecards--posters .ncposter__row--cta{grid-column:1/-1}.livecards--posters .ncposter__row:not(.ncposter__row--cta):nth-last-child(2):nth-child(odd){grid-column:1/-1}}

/* feature with a looping film instead of a photo (Image = .mp4): shown as is, no grey blur, no text over it */
body:not(.x):not(.y):not(.z) .title-media__media--video { filter: none; opacity: 1; mix-blend-mode: normal; position: relative; padding-top: 56.25%; background: #738079; }
.title-media__media--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
body:not(.x):not(.y):not(.z) .title-media__media-wrapper--video { background: #738079; }

/* wordmarks as one running line instead of a vertical stack */
.wordmarks { min-height: 0 !important; padding-top: 3.5rem; padding-bottom: 3rem; display: flex; flex-direction: column; gap: 2.25rem; }
.wordmarks__marquee { position: relative; z-index: 2; overflow: hidden; margin: 0 calc(-1 * var(--page-padding, 1.25rem)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wordmarks__list.wordmarks__list--run { flex-direction: row; flex-wrap: nowrap; width: max-content; gap: clamp(2.5rem, 6vw, 6rem); padding-right: clamp(2.5rem, 6vw, 6rem); animation: wm-run 60s linear infinite; }
.wordmarks__list--run .wordmark__svg { height: clamp(56px, 9vw, 130px) !important; width: auto; max-width: none; margin-left: 0; }
.wordmarks__marquee:hover .wordmarks__list--run { animation-play-state: paused; }
@keyframes wm-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wordmarks__list--run { animation: none; } }

/* hero after the bridging film: a canvas over the hero, under its texts */
@font-face { font-family: 'Gaisyr Book'; src: url(/assets/fonts/gaisyr-book.woff2) format('woff2'); font-display: swap; }
.hw { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hw-canvas { width: 100%; height: 100%; display: block; }
.intro-animation .intro-animation__text, .intro-animation .intro-animation__bottom, .intro-animation > p { position: relative; z-index: 2; }
