

/* FONTS */
@font-face {
  font-family: "Brygada1918"; font-weight: normal;
  src: url('fonts/Brygada1918-Regular.woff2') format('woff2'),
       url('fonts/Brygada1918-Regular.ttf') format('truetype');
   }
 
@font-face {
  font-family: "Brygada1918Italic"; font-style: italic;
  src: url('fonts/Brygada1918-Italic.woff2') format('woff2'),
       url('fonts/Brygada1918-Italic.ttf') format('truetype');
   }


@font-face {
  font-family: "Jost"; font-weight: normal;
  src: url('fonts/Jost-400-Book.woff') format('woff2'),
       url('fonts/Jost-400-Book.ttf') format('truetype');
   }   


@font-face {
  font-family: "Jost"; font-style: italic;
  src: url('fonts/Jost-400-BookItalic.woff') format('woff2'),
       url('fonts/Jost-400-BookItalic.ttf') format('truetype');
   }   

@font-face {
  font-family: "Jost"; font-weight: 500; 
  src: url('fonts/Jost-500-Medium.woff') format('woff2'),
       url('fonts/Jost-500-Medium.ttf') format('truetype');
   }     

 @font-face {
  font-family: "Jost"; font-weight: 500; font-style: italic;
  src: url('fonts/Jost-500-MediumItalic.woff') format('woff2'),
       url('fonts/Jost-500-MediumItalic.ttf') format('truetype');
   }   



@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@1,400&display=swap');


body {
  margin: 0;
  font-family: 'Brygada1918'; 
  color:#320e10;
  font-variant-ligatures: normal;
 {
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}



/* previously the font was this color #0C243C; */

/* typography*/

h1 {text-align: center;font-size:4em; 
	line-height: 0.8em;padding: 2em 0em 2em 0em}
h2 {text-align: center;font-size:2em; margin-top: -1em;letter-spacing: -0.01em}
h3 {font-size: 1.3em;margin-top:-0.66em;letter-spacing: -0.01em;line-height: 1.3em}
h5 {font-size: 1em; margin-top:3em;text-align: center;}
h6 {font-weight: regular; text-transform: uppercase; font-size: 1.5em;text-align: center; font-family: 'Jost'}
h6 + h1 {margin-top:-0.85em}
.sum {font-family:'Jost';margin-top:-1em;margin-bottom:0.8em;font-size:1.05em}

p {line-height:1.4em;margin:0;text-indent: 1.33em; letter-spacing: -0.02em}
p em {font-family: 'IBM Plex Serif'; font-style: italic; font-weight: 400; font-size: 0.94em; letter-spacing: 0em}
h3 em {font-family: 'IBM Plex Serif'; font-style: italic; font-weight: 400; font-size: 94%; letter-spacing: 0em}


aside {font-family: 'Jost', Helvetica, Arial; font-size:1.05em;margin-top: -1em;
	margin-bottom: 1.66em;line-height: 1.2em;   max-width: 40em;}

aside strong {font-weight: 600}

h3 mark {font-family:'Jost', Helvetica, Arial;font-size:0.75em;background:none;color:#320e10;font-weight:500}
aside h4 {margin-bottom:0em}
.threecol {
  column-count: 3;
}
.twocol {
  column-count: 2;  
}
.columnbreak {break-before: column;}

a:link {color:#7108fb}
a:visited {color:#5e0afb}


hr {border-top: 0.11em dotted #a365e0}


.contents ul {list-style-type: none; font-size:1em; margin-left:-1em; line-height: 0.9em; font-family: Brygada1918}
.contents ul li {margin-bottom: 0.8em;}
.contents .det {font-size:0.75em; font-family: 'Jost'}


section {
  max-width: 42em;
  margin: 70px auto 0 auto;
  padding: 0 1rem;
  width: 100%;
}


section .below {
    position: absolute;
    top:100%;
}

section .illus {}

img .orn {}

/* PROGRESS BAR */

header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #f1f1f1;
}

.progress-container {
  width: 100%;
  height: 0.3em;
  background: #ccc;
}

.progress-bar {
  height: 0.3em;
  background: #a365e0;
  width: 0%;
}



/* flex nav */
}
nav {
  display: flex; 
}
nav ul {
  margin: 0 0 0 7%;
  padding: 0;
  list-style: none;
  display: flex;
  flex: 1 0 0%;
  justify-content: space-between;
  
}



nav ul li {font-family: 'Jost', Helvetica, Arial;
  line-height: 0.8em; font-size: 1.33em; font-weight: 500}


nav ul li strong {font-size:0.6em;letter-spacing: 0.05em;font-weight: 600;color:#a365e0}

nav ul a {
  display: block;
  padding: 7px 10px;
  transition: all 0.3s ease;
  color: #000;
}
nav ul a:hover {
  background: yellow; /* c196ea */
  color: #fff;
}

nav ul img {height: 2em}

@media screen and (max-width: 980px) {
  .threecol { column-count: 1;}
.columnbreak {break-before: auto;}
}


@media screen and (max-width: 600px) {

  nav ul {
    position: relative;
    display: block;                 /* simpler, more predictable */
    padding-right: 3.5em;           /* reserve space for logo */
  }

  /* Title takes full width minus reserved logo space */
  nav ul li.title {
    display: block;
    font-size: 0.85em;
    line-height: 1.1;
  }

  /* Logo is pinned to the right */
  nav ul li:last-child {
    position: absolute;
    top: 50%;
    right: 0.8rem;
    transform: translateY(-50%);
  }

  nav ul img {
    height: 1.4em;
    display: block;
  }

  body {
    font-size: 18px;            /* comfortable for long reading */
    line-height: 1.65;
    padding: 0 1.2rem;
  }

  section {
    width: 100%;
    margin-top: 40px;
  }

  /* Headings: reduce scale + fix spacing */
  h1 {
    font-size: 2.2em;
    line-height: 1.1;
    padding: 1.2em 0;
  }

  h2 {
    font-size: 1.5em;
    margin-top: 0.5em;
  }

  h3 {
    font-size: 1.2em;
    line-height: 1.4;
    margin-top: 0.5em;
  }

  h6 {
    font-size: 1.1em;
  }

  /* Paragraphs: remove indent for mobile flow */
  p {
    text-indent: 0;
    margin-bottom: 1em;
    letter-spacing: -0.01em;
  }

  /* Improve emphasis readability */
  p em {
    font-size: 0.98em;
  }

  /* Single column always */
  .threecol,
  .twocol {
    column-count: 1;
  }

  aside {
    font-size: 0.95em;
    line-height: 1.5;
    margin-top: 1em;
  }

  /* Navigation: prevent crowding */
  nav ul {
    flex-direction: column;
    gap: 0.5em;
    margin-left: 0;
  }

  nav ul li {
    font-size: 1em;
    line-height: 1.2;
  }
}

