/* #WeRemember Journeys — first edition (2023–2025)
   Rebuilt from the Webflow export as plain CSS. No framework. */

/* ---------- Fonts ---------- */
@font-face { font-family: "Suisse Intl"; src: url("../fonts/suisse-intl-300.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("../fonts/suisse-intl-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("../fonts/suisse-intl-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Suisse Works"; src: url("../fonts/suisse-works-500i.woff") format("woff"); font-weight: 500; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy: #1a3563;
  --navy-deep: #13284d;
  --navy-line: rgba(255, 255, 255, .14);
  --yellow: #f9f871;
  --white: #fff;
  --ink: #1a1b1f;
  --ink-soft: #4a5160;
  --paper: #f4f6fa;
  --line: #e2e6ee;

  --sans: "Suisse Intl", Arial, Helvetica, sans-serif;
  --serif: "Suisse Works", Georgia, serif;

  --container: 1140px;   /* same content width as the 2026 pages (journeys.css --max) */
  --gutter: clamp(20px, 4.5vw, 64px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 6px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, picture, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.on-light :focus-visible, .section--light :focus-visible, .section--white :focus-visible { outline-color: var(--navy); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--yellow); color: var(--navy); font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--deep { background: var(--navy-deep); color: var(--white); }
.section--white { background: var(--white); color: var(--ink); }
.section--light { background: var(--paper); color: var(--ink); }

/* ---------- Type ---------- */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.section--white .eyebrow, .section--light .eyebrow { color: var(--navy); }
.h2 { font-size: clamp(32px, 4.2vw, 52px); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
.prose { max-width: 66ch; }
.prose p { opacity: .92; }
.highlight { background: var(--yellow); color: var(--navy); padding: 0 .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 4px; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--outline { border: 1.5px solid currentColor; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.section--white .link-arrow, .section--light .link-arrow { border-color: var(--navy); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--navy-line), 0 8px 24px rgba(0, 0, 0, .18); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.site-header__logo img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; }
.nav__list { display: flex; gap: clamp(14px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav__link { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav__link:hover, .nav__link[aria-current="true"] { border-color: var(--yellow); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; margin-right: -8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav__list { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; background: var(--navy); border-top: 1px solid var(--navy-line); box-shadow: 0 24px 40px rgba(0, 0, 0, .25); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .nav.is-open .nav__list { opacity: 1; visibility: visible; transform: none; }
  .nav__link { display: block; padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--navy-line); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: clamp(96px, 14vw, 180px) 0 clamp(96px, 12vw, 160px); text-align: center; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero__inner { position: relative; }
.hero__title { font-size: clamp(42px, 7vw, 92px); line-height: 1.04; letter-spacing: -.02em; }
.hero__bar { display: block; width: min(640px, 80%); height: clamp(14px, 1.8vw, 24px); margin: clamp(18px, 2vw, 26px) auto 0; background: var(--yellow); }
.hero__lead { max-width: 640px; margin: 28px auto 0; font-size: clamp(17px, 1.6vw, 20px); opacity: .9; }
.hero__actions { margin-top: clamp(32px, 4vw, 48px); display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Logo strip ---------- */
.logo-strip { background: var(--white); padding: 28px 0; border-bottom: 1px solid var(--line); }
.logo-strip__list { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 24px 32px; list-style: none; margin: 0; padding: 0; }
.logo-strip__list a { display: flex; justify-content: center; }
.logo-strip__list img { max-height: 64px; width: auto; object-fit: contain; }
@media (max-width: 860px) { .logo-strip__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .logo-strip__list { grid-template-columns: repeat(2, 1fr); } .logo-strip__list img { max-height: 52px; } }

/* ---------- Two-column intro ---------- */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--reverse > :first-child { order: 2; }
.split__head { margin-bottom: 28px; }
@media (max-width: 900px) { .split, .split--reverse { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* ---------- Quote ---------- */
.quote { margin: 0; padding: clamp(28px, 3vw, 40px); border-left: 8px solid var(--yellow); background: rgba(255, 255, 255, .06); border-radius: 0 var(--radius) var(--radius) 0; }
.section--white .quote, .section--light .quote { background: var(--paper); }
.section--light .quote { background: var(--white); }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; }
.quote figcaption { margin-top: 18px; font-size: 15px; opacity: .75; }
.quote figcaption strong { font-weight: 700; }

/* ---------- Activity sections ---------- */
.activity__photos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }
.activity__photos button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.activity__photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.activity__photos button:hover img { transform: scale(1.04); }
@media (max-width: 760px) {
  .activity__photos { grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; }
  .activity__photos::-webkit-scrollbar { display: none; }
  .activity__photos button { scroll-snap-align: start; }
}

/* ---------- Gallery ---------- */
.gallery__intro { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.artwork-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 300px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-bottom: clamp(48px, 6vw, 72px); scrollbar-color: var(--navy) var(--line); }
.artwork-rail:empty { display: none; }
.artwork-card { scroll-snap-align: start; margin: 0; }
.artwork-card button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper); cursor: zoom-in; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.artwork-card img { width: 100%; height: 100%; object-fit: cover; }
.artwork-card figcaption { padding-top: 10px; font-size: 14px; color: var(--ink-soft); }
.artwork-card figcaption strong { display: block; color: var(--ink); font-size: 15px; }

.school-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.school-card { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; padding: 24px 18px; text-align: center; text-decoration: none; background: var(--paper); border: 1px solid transparent; border-radius: var(--radius); transition: border-color .15s ease, transform .15s ease, background-color .15s ease; }
.school-card:hover { border-color: var(--navy); background: var(--white); transform: translateY(-2px); }
.school-card__flag { width: 30px; height: 20px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.school-card__name { font-weight: 700; line-height: 1.3; color: var(--navy); }
.school-card__place { font-size: 14px; color: var(--ink-soft); }
.empty-note { padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-soft); }

/* ---------- Location ---------- */
.map { margin-top: clamp(32px, 4vw, 48px); border-radius: var(--radius); overflow: hidden; background: var(--navy-deep); aspect-ratio: 16 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map { aspect-ratio: 4 / 5; } }
.address { font-style: normal; }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(36px, 5vw, 56px); }
.partner { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.partner__logo { display: flex; align-items: center; justify-content: center; height: 168px; padding: 28px; border-bottom: 1px solid var(--line); }
.partner__logo img { max-height: 112px; width: auto; object-fit: contain; }
.partner__body { display: flex; flex-direction: column; gap: 14px; padding: 28px; flex: 1; }
.partner__body p { font-size: 15.5px; color: var(--ink-soft); }
.partner__body .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .partners { grid-template-columns: 1fr; } .partner { flex-direction: row; } .partner__logo { width: 34%; height: auto; border-bottom: 0; border-right: 1px solid var(--line); } }
@media (max-width: 600px) { .partner { flex-direction: column; } .partner__logo { width: auto; height: 150px; border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--navy); color: var(--white); padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); }
.page-hero__back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.page-hero__back:hover { opacity: 1; }
.page-hero__title { font-size: clamp(36px, 5.5vw, 64px); max-width: 18ch; }
.page-hero__bar { display: block; width: 220px; height: 14px; margin-top: 22px; background: var(--yellow); }
.page-hero__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; color: var(--yellow); }
.page-hero__meta img { width: 30px; height: 20px; object-fit: cover; border-radius: 2px; }

.school-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.school-hero__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-deep); }
.school-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.school-hero__desc { margin-top: 24px; opacity: .92; }
.school-people { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--navy-line); font-size: 15px; }
.school-people p { margin: 0 0 .4em; }
@media (max-width: 900px) { .school-hero { grid-template-columns: 1fr; } }

.masonry { --cols: 3; columns: 3; column-gap: 28px; }
.masonry.is-laid { columns: auto; display: flex; align-items: flex-start; gap: 28px; }
.masonry__col { flex: 1 1 0; min-width: 0; }
.masonry img[width][height] { height: auto; }
.masonry .artwork-card { break-inside: avoid; margin-bottom: 32px; }
.masonry .artwork-card button { aspect-ratio: auto; }
.masonry .artwork-card img { height: auto; }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.video-card { margin: 0; }
.video-card__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.video-card__frame iframe, .video-card__frame img { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-card__play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .35)); cursor: pointer; color: var(--navy); }
.video-card__play span { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--yellow); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.video-card figcaption { padding-top: 10px; font-size: 15px; }

/* Policy text */
.policy { max-width: 760px; }
.policy h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 2em 0 .6em; color: var(--navy); }
.policy h3 { font-size: 19px; margin: 1.6em 0 .5em; color: var(--navy); }
.policy ul, .policy ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.policy li { margin-bottom: .45em; }
.policy li::marker { color: var(--navy); }
.policy address { font-style: normal; padding: 20px 24px; background: var(--paper); border-left: 6px solid var(--yellow); border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 2em; }
.policy .notes { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .8); padding: 48px 0 40px; font-size: 14px; }
.site-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--navy-line); }
.site-footer__top img { height: 32px; width: auto; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; }
.site-footer ul { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 18, 36, .94); color: var(--white); }
.lightbox::backdrop { background: transparent; }
.lightbox__stage { display: grid; grid-template-rows: 1fr auto; height: 100%; padding: 64px 72px 24px; }
.lightbox__img { justify-self: center; align-self: center; max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.lightbox__caption { text-align: center; padding-top: 16px; font-size: 15px; min-height: 40px; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; font-size: 24px; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox__stage { padding: 64px 12px 16px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; } }

/* picture wrappers fill their frames */
.activity__photos picture, .artwork-card picture, .school-hero__img picture, .video-card__frame picture { display: block; width: 100%; height: 100%; }
.hero__bg picture { display: block; width: 100%; height: 100%; }
/* school pages without a photo: single column */
.school-hero:not(:has(.school-hero__img)) { grid-template-columns: minmax(0, 860px); }

/* First-edition notice (this site now lives under /first-edition/) */
.edition-bar { background: var(--yellow); color: var(--navy); font-size: 15px; line-height: 1.4; }
.edition-bar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
.edition-bar a { font-weight: 700; color: inherit; text-underline-offset: 3px; }

/* Final exhibition at the Auschwitz-Birkenau Memorial (2025) */
.final-exhibition .h2 { color: var(--navy); }
.final-exhibition .activity__photos { margin-bottom: 0; }
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }
.video-card__desc { margin-top: 8px; font-weight: 400; opacity: .85; }
.video-card__desc p { margin: 0; }

/* Previous / next navigation on school pages */
.school-nav { background: var(--navy); color: var(--white); padding: 40px 0; }
.school-nav__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 24px; }
.school-nav__link { display: flex; flex-direction: column; gap: 6px; color: var(--white); text-decoration: none; min-width: 0; }
.school-nav__link--next { text-align: right; align-items: flex-end; }
.school-nav__dir { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.school-nav__name { font-size: 18px; line-height: 1.3; }
.school-nav__link:hover .school-nav__name { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .school-nav__name { font-size: 16px; } }

/* Three-column grids (as on the Webflow site); two on tablets, one on phones */
@media (max-width: 900px) {
  .school-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masonry { --cols: 2; columns: 2; }
}
@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; }
  .school-grid { grid-template-columns: 1fr; }
  .masonry { --cols: 1; columns: 1; }
}

/* Auto-scrolling filmstrip: no snapping while it moves; hide the scrollbar */
.artwork-rail.is-auto { scroll-snap-type: none; scrollbar-width: none; }
.artwork-rail.is-auto::-webkit-scrollbar { display: none; }
