
:root {
  --paper: #F2ECE2;
  --paper-soft: #FBF8F2;
  --ink: #1F2E4A;
  --ink-soft: #3A4558;
  --muted: #5B6273;
  --rule: #1F2E4A;
  --hairline: #D9CFBF;
  --underline: #B3AA9C;
  --serif: 'Iowan Old Style', 'Charter', 'Bitstream Charter', 'Sitka Text', Cambria, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --indent: clamp(0px, 16vw, 260px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;

  background: var(--paper) url("fibers.svg") repeat;
  background-size: 720px 720px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: var(--ink);
  text-decoration-color: var(--underline);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover { text-decoration-color: var(--ink); }

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 64px);
}

.column {
  max-width: 700px;
  margin-left: var(--indent);
}

header.site {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 32px;
  padding: 20px 0 22px;
  position: relative;
}

header.site::after,
footer.site::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: url("microprint.svg") no-repeat left center;
  background-size: auto 4px;
  pointer-events: none;
}
header.site::after { bottom: 0; }
footer.site::before { top: 0; background-image: url("microprint-plain.svg"); }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
}
.brand svg { flex: none; }
.brand span { font-size: 17px; letter-spacing: 0.14em; }

nav.site ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
}
nav.site a { display: inline-block; padding: 12px 0; text-decoration: none; }

.opening { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); }
.epigraph {
  margin: 0 0 clamp(40px, 6vw, 64px);
  font-size: 15px;
  color: var(--muted);
}
.epigraph [lang="grc"] { color: var(--ink); }
.statement {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  font-style: italic;
}

h2.section {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 24px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h2.section .num { font-variant-numeric: tabular-nums; color: var(--muted); }

.intro { margin: 0 0 36px; color: var(--ink-soft); }

.product { padding: 0 0 36px; }

figure.session + .product { padding-top: 24px; border-top: 1px solid var(--rule); }
#products { padding-bottom: clamp(32px, 5vw, 56px); }
.product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin: 0 0 12px;
}
.product h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.status {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.product p { margin: 0 0 14px; }
.product .stance { margin: 0 0 22px; font-style: italic; }
.product .meta {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
}

figure.session { width: 72%; margin: 4px auto 48px; padding: 0; }
@media (max-width: 640px) { figure.session { width: 100%; } }

figure.session > a {
  display: block;
  border: 1px solid var(--ink);
  transition: transform 1100ms cubic-bezier(0.65, 0, 0.35, 1),
              box-shadow 1100ms cubic-bezier(0.65, 0, 0.35, 1);
}
figure.session > a:focus-visible,
figure.session > a:hover {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0 var(--ink);
  outline: none;
  transition-duration: 800ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: none) {
  figure.session > a:hover { transform: none; box-shadow: none; }
}
figure.session img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
@media (prefers-reduced-motion: reduce) {
  figure.session > a { transition: none; }
}
figure.session figcaption {
  margin: 10px 0 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}

.contact { padding: 0 0 clamp(80px, 11vw, 128px); }
.contact .address { margin: 0 0 6px; font-size: 22px; }
.contact .note {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}

.prose { padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 7vw, 80px); }
.prose h1 { margin: 0 0 8px; font-size: clamp(32px, 4vw, 44px); font-weight: 400; font-style: italic; }
.prose .updated { margin: 0 0 clamp(40px, 6vw, 64px); font-family: var(--sans); font-size: 13px; color: var(--muted); }
.prose section { margin: 0 0 40px; }
.prose p { margin: 0 0 14px; }

footer.site {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 32px;
  padding: 20px 0 48px;
  position: relative;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}
footer.site p { margin: 0; }
footer.site a { color: var(--muted); }

footer.site .legal { flex-basis: 100%; font-size: 12px; }
