:root {
  --light: #FCFCFC);
  --dark: #435060;
  --highlight: #dcac7f;
  --emphasis: #a06a77;
  --block: #514257;
  --super: #7ca296;
  --list: #496c88;
  --link: #423834;
}

pre {
    white-space: pre-wrap;
}

body {
    opacity: 0;
    animation: fadein 1.0s ease forwards;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

body {
  display: block;
  padding: 5%;
  margin: top left;
  max-width: 1080px;
  font-family: 'Surt', sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.2em;
  background-color: var(--light);
  margin: 0;
  min-height: 100vh;
}

p {
  font-family: 'Surt', sans-serif;
  font-weight: 400;
  font-style: normal;  
  font-size: clamp(16px, 5vw, 21px);
  color: var(--dark);
  line-height: 1.4em;
  text-align: justify;
  max-width: 720px;
} 

em {
  color: var(--emphasis);
}

strong {
  color: var(--emphasis);
}

strong em {
  color: var(--dark);
  font-size: clamp(32px, 5.5vw, 72px);
  max-width: 1080px;
}

blockquote {
  font-weight: 400;
  font-style: normal;
  border-left: 8px solid var(--block);
  padding-left: 24px;
  margin-left: 0px;
  max-width: 820px;
}

blockquote p {
  color: var(--block)
}

sup {
  vertical-align: super;
  font-size: smaller;
  color: var(--super);
}

sub {
    vertical-align: sub;
    font-size: smaller;
    color: var(--super);
}

del {
  color: var(--emphasis);
}

.wide p {  
  font-weight: 700;
  font-style: italic;
  font-size: clamp(24px, 3.95vw, 48px);
  max-width: 820px;
  line-height: 0.6;
}

.page    { max-width: 1080px; margin: 0 auto; }
.content { max-width: 720px; }

.note {
  float: right;
  clear: right;         /* stacks notes without overlap */
  width: 320px;
  margin-right: -60px; /* pulls it into the 360px leftover */
}

.note p {
  font-family: 'Inferi', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 18px;
  color: var(--block);  
}

.cut p {
  font-weight: 300;
  font-style: italic;
  display: block;
  font-size: clamp(24px, 3.95vw, 48px);
  font-feature-settings: "ss01";  
  text-align: right;
  color: var(--dark);
  line-height: 0.6;
  max-width: 720px;
}

.mono p {
    font-family: "DejaVu Sans Mono", "Noto Sans Mono", monospace;
    white-space: pre;
    line-height: 0.5;
    font-size: clamp(21px, 3.95vw, 32px);
    color: var(--super);
}

.small p {
	font-weight: 300;
	font-style: normal; 
    font-feature-settings: "ss01";    
    line-height: 0.6;
    font-size: clamp(14px, 3.95vw, 18px);
    color: var(--super);
}

ul {
    list-style: none;
    padding-left: 0;
    font-size: clamp(20px, 2.5vw, 32px);
    color: var(--list);
    line-height: 1.4em;
    text-align: center;
}

h1 {
  font-family: 'Surt', sans-serif; 
  font-weight: 900;
  font-style: normal;
  color: var(--emphasis);
  font-size: clamp(48px, 7.65vw, 98px);
  line-height: 1.2em;
  text-align: center;
  max-width: 720px;
  font-feature-settings: "ss01";
}

h2 {
  font-family: 'Surt', sans-serif;
  font-weight: 300;
  font-style: normal;
  font-feature-settings: "ss01";  
  color: var(--dark);
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.2em;
  text-align: center;
  max-width: 720px;
  border-width:  4px;
  border-style:  solid;
  display: block;
}

h3 {
    font-size: font-size: clamp(22px, 2.5vw, 32px);
    color: var(--list);
    text-align: center;
}

hr {
  border: none;
  border-top: 3px double var(--dark);;
  color: var(--dark);
  height: 5px;
  max-width: 720px;
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: 0;
  margin-right: 0;
}  

a:link {
  color: var(--link);
}

a:visited {
  color: var(--link);
}

ol li p {
  font-size: 16px;
}


ol {
    display: block;
}

a.footnote-back {
  color: #a0a08b;
  text-decoration: none;
}
  
a:hover {
  opacity: .2;
}

img {
  border-image:  url("border-midnight.png") 14 /  14px / 0 round;
  border-width:  14px;
  border-style:  solid;
  margin-left: auto;
  margin-right: auto;
  max-width: 690px;
}

figcaption {
  font-family: 'Piscolabis', sans-serif;
  font-size: clamp(16px, 1.7vw, 21px);
  color: var(--dark);
  text-align: center;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 50px;
}

nav a {
  font-family: 'Piscolabis', sans-serif;
  font-size: clamp(18px, 1.9vw, 24px);    
  font-weight: 400;
  font-style: 400;
  color: var(--link);    
}
