/* =============================================
   FONTS — Suisse Screen
   Three optical sizes: WebS (≤13px), WebM (14–27px), WebXL (≥28px)
   ============================================= */

/* Thin 100 */
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Thin-WebS.woff2') format('woff2'); font-weight: 100; font-style: normal; font-size: 0 13px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Thin-WebM.woff2') format('woff2'); font-weight: 100; font-style: normal; font-size: 14px 27px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Thin-WebXL.woff2') format('woff2'); font-weight: 100; font-style: normal; font-size: 28px 9999px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-ThinItalic-WebS.woff2') format('woff2'); font-weight: 100; font-style: italic; font-size: 0 13px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-ThinItalic-WebM.woff2') format('woff2'); font-weight: 100; font-style: italic; font-size: 14px 27px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-ThinItalic-WebXL.woff2') format('woff2'); font-weight: 100; font-style: italic; font-size: 28px 9999px; font-display: swap; }

/* Light 300 */
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Light-WebS.woff2') format('woff2'); font-weight: 300; font-style: normal; font-size: 0 13px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Light-WebM.woff2') format('woff2'); font-weight: 300; font-style: normal; font-size: 14px 27px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Light-WebXL.woff2') format('woff2'); font-weight: 300; font-style: normal; font-size: 28px 9999px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-LightItalic-WebS.woff2') format('woff2'); font-weight: 300; font-style: italic; font-size: 0 13px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-LightItalic-WebM.woff2') format('woff2'); font-weight: 300; font-style: italic; font-size: 14px 27px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-LightItalic-WebXL.woff2') format('woff2'); font-weight: 300; font-style: italic; font-size: 28px 9999px; font-display: swap; }

/* Regular 400 */
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Regular-WebS.woff2') format('woff2'); font-weight: 400; font-style: normal; font-size: 0 13px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Regular-WebM.woff2') format('woff2'); font-weight: 400; font-style: normal; font-size: 14px 27px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Regular-WebXL.woff2') format('woff2'); font-weight: 400; font-style: normal; font-size: 28px 9999px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-RegularItalic-WebS.woff2') format('woff2'); font-weight: 400; font-style: italic; font-size: 0 13px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-RegularItalic-WebM.woff2') format('woff2'); font-weight: 400; font-style: italic; font-size: 14px 27px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-RegularItalic-WebXL.woff2') format('woff2'); font-weight: 400; font-style: italic; font-size: 28px 9999px; font-display: swap; }

/* Medium 500 */
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Medium-WebS.woff2') format('woff2'); font-weight: 500; font-style: normal; font-size: 0 13px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Medium-WebM.woff2') format('woff2'); font-weight: 500; font-style: normal; font-size: 14px 27px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Medium-WebXL.woff2') format('woff2'); font-weight: 500; font-style: normal; font-size: 28px 9999px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-MediumItalic-WebS.woff2') format('woff2'); font-weight: 500; font-style: italic; font-size: 0 13px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-MediumItalic-WebM.woff2') format('woff2'); font-weight: 500; font-style: italic; font-size: 14px 27px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-MediumItalic-WebXL.woff2') format('woff2'); font-weight: 500; font-style: italic; font-size: 28px 9999px; font-display: swap; }

/* SemiBold 600 */
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-SemiBold-WebS.woff2') format('woff2'); font-weight: 600; font-style: normal; font-size: 0 13px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-SemiBold-WebM.woff2') format('woff2'); font-weight: 600; font-style: normal; font-size: 14px 27px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-SemiBold-WebXL.woff2') format('woff2'); font-weight: 600; font-style: normal; font-size: 28px 9999px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-SemiBoldItalic-WebS.woff2') format('woff2'); font-weight: 600; font-style: italic; font-size: 0 13px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-SemiBoldItalic-WebM.woff2') format('woff2'); font-weight: 600; font-style: italic; font-size: 14px 27px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-SemiBoldItalic-WebXL.woff2') format('woff2'); font-weight: 600; font-style: italic; font-size: 28px 9999px; font-display: swap; }

/* Bold 700 */
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Bold-WebS.woff2') format('woff2'); font-weight: 700; font-style: normal; font-size: 0 13px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Bold-WebM.woff2') format('woff2'); font-weight: 700; font-style: normal; font-size: 14px 27px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Bold-WebXL.woff2') format('woff2'); font-weight: 700; font-style: normal; font-size: 28px 9999px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-BoldItalic-WebS.woff2') format('woff2'); font-weight: 700; font-style: italic; font-size: 0 13px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-BoldItalic-WebM.woff2') format('woff2'); font-weight: 700; font-style: italic; font-size: 14px 27px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-BoldItalic-WebXL.woff2') format('woff2'); font-weight: 700; font-style: italic; font-size: 28px 9999px; font-display: swap; }

/* Monitor 450 (between Regular 400 and Medium 500) */
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Monitor-WebS.woff2') format('woff2'); font-weight: 450; font-style: normal; font-size: 0 13px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Monitor-WebM.woff2') format('woff2'); font-weight: 450; font-style: normal; font-size: 14px 27px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-Monitor-WebXL.woff2') format('woff2'); font-weight: 450; font-style: normal; font-size: 28px 9999px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-MonitorItalic-WebS.woff2') format('woff2'); font-weight: 450; font-style: italic; font-size: 0 13px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-MonitorItalic-WebM.woff2') format('woff2'); font-weight: 450; font-style: italic; font-size: 14px 27px; font-display: swap; }
@font-face { font-family: 'Suisse Screen'; src: url('fonts/SuisseScreen-MonitorItalic-WebXL.woff2') format('woff2'); font-weight: 450; font-style: italic; font-size: 28px 9999px; font-display: swap; }

/* =============================================
   RESET & BASE
   ============================================= */

:root {
  --color-bg: #ffffff;
  --color-text: #000000;
  --color-heading: #2527D2;
  --color-border: #2527D2;
  --color-border-subtle: #fafafa;
  --color-btn-bg: #ffffff;
  --color-btn-text: #2527D2;
  --color-highlight-text: #2527D2;
  --color-link: #000000;

  --cols: 12;
  --col-width: calc(100% / var(--cols)); 

  --font-body: 'Suisse Screen', sans-serif;
  --font-ui: 'Suisse Screen', sans-serif;
  --font-weight-body: 400;

  --max-w: 1400px;
  --body-text-max-width: 60ch;
  --body-text: clamp(1rem, 2.2vw, 1.2rem);
  --link-size: clamp(1rem, 1.0vw, 1.1rem);

  --shadow-cards:    0 4px 24px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.8);
  --shadow:    none;

  /* Layout: float sides & margins */
  --float-text-right-side: left;
  --float-text-right-margin: 56px 32px 24px 0;
  --float-img-right-side: left;
  --float-img-right-margin: 24px 32px 24px 0;
  --narrator-text-align: left;
  --narrator-margin-left: auto;
}

html, body {
  margin: 0;
  height: 100%;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: var(--font-weight-body);
  line-height: 1.6;
  overflow-x: hidden;
}



.nav-submenu a {
  color: var(--color-link);
  text-decoration: underline;
  cursor: pointer;
}

.nav-section a {
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
}

a {
  overflow-wrap: break-word;
}

a:hover {
  opacity: 0.65;
}

/* =============================================
   PAGE WRAPPER
   ============================================= */
.page {
  max-width: var(--max-w);
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  padding: 0 40px;
  margin: 0 auto;
}


/* =============================================
   MAIN NAV — full width sticky, col 1–12
   ============================================= */
header {
    background: var(--color-bg);

}

.main-nav {
  padding: 16px 0 16px 0;
  grid-column: 1 / 13;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  font-size: var(--link-size);
  font-style: italic;
  color: var(--color-text);
  text-decoration: none;
  font-weight: var(--font-weight-body);
  flex-shrink: 0;
}

.nav-right {
  display: flex;
  gap: 48px;
  align-items: baseline;
}

/* ---- Nav sections ---- */
.nav-section {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#editions-toggle[aria-expanded="true"],
#projects-toggle[aria-expanded="true"] {
  color: var(--color-heading);
}
 
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: none;
  gap: 0;
  padding-top: 8px;
  padding-bottom: 8px;
  grid-template-columns: repeat(2, auto);
  column-gap: calc(2 * var(--col-width));
  background: var(--color-bg);
  z-index: 101;
}


.nav-submenu.is-open {
  display: grid;
}

/* ---- Mobile nav bar (hidden on desktop) ---- */
.mobile-nav-bar {
  display: none;
}

.mobile-menu {
  display: none;
}

@media (max-width: 700px) {
  .page {
    display: block;
      padding: 0;

  }

  .nav-logo,
  .nav-right,
  .nav-section,
  .nav-submenu {
    display: none !important;
  }

  .main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    top: 0;
    padding: 16px 16px;
  }

  .mobile-nav-bar {
    display: contents;
  }

  .mobile-nav-title {
    font-size: var(--link-size);
    font-weight: var(--font-weight-body);
    color: var(--color-text);
    text-decoration: none;
  }

  .mobile-menu-toggle,
  .mobile-menu-close {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--color-text);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 200;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 16px 0 16px;
    flex-direction: column;
  }

  .mobile-menu.is-open {
    display: flex;
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    background-color: #ffffff;
  }

  .mobile-menu-section {
    font-size: var(--link-size);
    color: var(--color-text);
    margin-bottom: 4px;
  }

  .mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 24px 0;
    padding-left: 0;
    padding-top: 0;
  }

  .mobile-menu-links li a,
  .mobile-menu-link {
    font-size: var(--link-size);
    font-weight: bold;
    color: var(--color-text);
    text-decoration: none;
    display: block;
  }

  .mobile-menu-link + .mobile-menu-link {
    margin-top: 24px;
  }
}

.nav-section__links--col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 0;
}

.nav-section__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
 
.nav-section__links li a {
  font-size: var(--link-size);
  text-decoration: underline;
}
 
/* Plain button (no border/background) — default */
.nav-btn {
  padding: 0;
  border: none;
  background: none;
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: var(--link-size);
  font-weight: bold;
  cursor: pointer;
  width: fit-content;
}
 
.nav-btn:hover {
  opacity: 0.65;
}

/* =============================================
   MAIN CONTENT
   ============================================= */
main {
  grid-column: 1 / 13;}

.content {
  grid-column: 1 / 13;
  padding: 48px 0 80px 0;
}


/* Text starts at col 4, matching Projects nav position */
.content__inner {
  grid-column: 1 / 13;
  max-width: var(--body-text-max-width);
}
.content__inner_section {
  margin-bottom: 120px;
}

h1 {
  font-family: var(--font-ui);
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.1;
  color: var(--color-highlight-text);
  margin-bottom: 40px;
}
 
h2 {
  font-family: var(--font-ui);
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.2;
  margin: 56px 0 12px 0;
}

h3 {
  font-family: var(--font-ui);
  font-size: var(--body-text);  
  font-weight: bold;
  line-height: 1.3;
  margin: 40px 0 0 0;
}

p, ol, ul {
  margin-bottom: 16px;
  font-size: var(--body-text);

}

.card h3 {
  font-family: var(--font-ui);
  font-size: var(--body-text);  
  font-weight: bold;
  line-height: 1.3;
  color: var(--color-highlight-text);
}

.card p {
  font-size: 9px;  
  font-weight: 550;
  line-height: 1.7;
  color: var(--color-text);
}

.content__inner.narrator {
  color: var(--color-highlight-text);
  text-align: var(--narrator-text-align);
  margin-left: var(--narrator-margin-left);
}


.card {
  z-index: 1;
}
/* =============================================
   FLOAT IMAGES
   Wrap the image + surrounding paragraphs in a
   .clearfix div so floats are contained.
   ============================================= */
.float-img {
  max-width: calc(6 * var(--col-width));
  height: auto;
  max-height: 80vh;
  filter: var(--shadow);
}

.float-img-horizontal {
  max-width: var(--body-text-max-width);
}

video.float-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
 
.float-img--right {
  display: block;
  float: var(--float-img-right-side);
  margin: var(--float-img-right-margin);
}

@media (max-width: 700px) {
  .float-img,
  .float-img--right {
    float: none;
    width: min(100%, var(--body-text-max-width));
    max-height: 50vh;
    height: auto;
    max-width: var(--body-text-max-width);
    margin: 0 auto 24px 0;
    object-fit: contain;   /* or 'cover' to fill + crop */
    aspect-ratio: auto;    /* honours the image's intrinsic ratio */
  }
  .content {
  padding: 48px 16px 80px 16px;
}
}

.float-text {
  display: block;
  height: auto;
  padding: 24px;
  box-shadow: var(--shadow);
}

.float-text--right {
  width: 100%;
  max-width: var(--body-text-max-width);
  margin: var(--float-text-right-margin);
}

.float-text--right.intro {
  font-size: var(--body-text);
  font-weight: 500;
  margin-bottom: 120px;
}


/* =============================================
   INDEX PAGE LAYOUT
   ============================================= */
.index-page .content {
  padding-top: 16px;
}

.index-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: start;
}

.index-hero {
  margin-top: 320px;
  padding-right: 40px;
  position: sticky;
  top: 80px;
}

.index-page h1 {
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.2;
  margin: 0 0 32px 0;
  text-align: left;
}

.index-subtitle {
  font-size: var(--body-text);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.3;
  margin: 0;
}

.index-editions {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 0 0 80px 0;
  margin-top: clamp(535px, calc(352px + 19vw), 620px);
}

.edition-card {
  display: block;
  text-decoration: none;
}

.edition-card__image {
  width: 100%;
  overflow: hidden;
}

.edition-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

.edition-card__label {
  margin: 10px 0 0 0;
  font-size: var(--link-size);
  color: var(--color-heading);
  font-weight: 400;
  line-height: 1.3;
}

.edition-card__label strong {
  font-weight: 700;
}

.edition-card:hover {
  opacity: 0.75;
}


@media (max-width: 700px) {
  .index-layout {
    grid-template-columns: 1fr;
  }

  .index-hero {
    margin: 40px 0 64px 0;
    padding-right: 0;
    position: static;
  }

  .main-nav {
    position: sticky;
    top: 0;
    background: var(--color-bg);
  }

  .index-editions {
    margin-top: 0;
  }

  .index-page h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    margin-bottom: 24px;
  }
}

/* =============================================
   IMAGE GRID
   Two-column masonry-style grid. Set --grid-gap
   inline to control spacing. On mobile, becomes
   a horizontal snap-scroll gallery.

   Usage:
   <div class="img-grid [img-grid--right]" style="--grid-gap: 8px;">
     <div class="img-grid__col">
       <figure class="img-grid__item">
         <figcaption>Caption</figcaption>
         <img src="..." alt="...">
       </figure>
       …
     </div>
     <div class="img-grid__col">
       …
     </div>
   </div>
   ============================================= */
.img-grid {
  --grid-gap: 8px;
  max-width: calc(6 * var(--col-width));
  display: flex;
  align-items: flex-start;
  gap: var(--grid-gap);
}

.img-grid--right {
  float: var(--float-img-right-side);
  margin: var(--float-img-right-margin);
}

.img-grid__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
}

.img-grid__item {
  margin: 0;
}

.img-grid__item figcaption {
  font-size: 11px;
  color: var(--color-text);
  opacity: 0.5;
  margin-bottom: 4px;
  line-height: 1.4;
}

.img-grid__item img,
.img-grid__item video {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 700px) {
  .img-grid,
  .img-grid--right {
    float: none;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 0 24px 0;
  }

  .img-grid::-webkit-scrollbar,
  .img-grid--right::-webkit-scrollbar {
    display: none;
  }

  .img-grid__col {
    display: contents;
  }

  .img-grid__item {
    flex: none;
    width: 80vw;
    scroll-snap-align: start;
  }
}


div.scroll-container {
  background-color: #fff;
  overflow: auto;
  white-space: nowrap;
  display: inline-block;
  padding: 16px;
}

div.scroll-container img {
  vertical-align: top;
  padding: 16px;
  max-height: 60vh;
}

div.scroll-container .float-img {
  max-width: calc(11 * var(--col-width));
}

@media (max-width: 700px) {
  div.scroll-container .float-img {
    width: 100%;
    max-width: 85vw;
    max-height: 90vh;   
    height: auto;
  }
  div.scroll-container {
    width: 100%;
  }
}