/* ---------- root tokens ---------- */
@font-face {
    font-family: 'Zilla Slab Highlight';
    src: url('fonts/Zilla-Slab/ZillaSlabHighlight-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Epetri';
    src: url('fonts/Epetri.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zilla Slab';
    src: url('fonts/Zilla-Slab/ZillaSlab-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica';
    src: url('fonts/Helvetica/Helvetica Roman/Helvetica Roman.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --mint: #f0f7f2;
    --forest: #064e3b;
    --lime: #10b981;
    --inverse-serif: "Zilla Slab Highlight", serif;
    --serif: "Zilla Slab", serif;
    --epetri: "Epetri", serif;
    --sans: "Helvetica", sans-serif;
    --max: 680px;
}

.classy-first-letter {
    float: left;
    font-size: 2.8rem;
    line-height: 0.9;
    margin: 0.14em 0 0;
    font-family: var(--inverse-serif);
    color: var(--forest);
}

.classy-first-phrase {
    font-family: var(--inverse-serif);
    font-size: 16pt;
    color: var(--forest);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ---------- typography ---------- */
html {
-webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
-webkit-text-size-adjust: 100%;
    background: var(--mint);
    color: var(--forest);
    font-family: var(--serif);
    padding-top: 30vh;
    font-size: 16pt;
}

h1,
h3 {
    font-family: var(--sans);
    font-weight: 600;
}

h2 {
    font-family: var(--epetri);
    font-weight: normal;
  position: absolute;
  top: 10px;
  left: 0;
  bottom: 0;          /* stretch to full viewport height */
  height: 100%;    /* full viewport height */
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
  box-sizing: border-box;
}

h1 {
    line-height: 0.73;
    font-size: 16rem;
    margin-bottom: 2rem;
}

a {
    color: var(--lime);
    text-decoration: none;
    border-bottom: 1px solid;
}

a:active {
    color: var(--forest);
}

/* ---------- layout ---------- */
header,
main,
footer {
    max-width: var(--max);
    margin-inline: auto;
}

aside {
    font-style: italic;
    opacity: .75;
}

ul {
    margin-left: 1.2rem;
}

li {
    list-style-type: "— ";
    padding-left: .5rem;
}

blockquote {
    padding-left: 1.2rem;
    border-left: 3px solid var(--lime);
}

cite {
    display: block;
    font-size: .9rem;
    opacity: .7;
    margin-top: .4rem;
}

footer {
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}

.logo {
    padding: 20px 20px 0 0;
    width: 128px;
    height: 128px;
  filter: brightness(0) sepia(1) hue-rotate(130deg) saturate(500%);
}
