:root {
  --paper: #f4ecdd;
  --paper-deep: #e6dac8;
  --ink: #44392f;
  --muted: #75695f;
  --rule: #a8b4a8;
  --red: #a75f47;
  --gold: #667d6c;
  --dark: #44392f;
  --measure: 48rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  border-top: 0.42rem solid var(--gold);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 24% 8%, rgba(255, 255, 255, 0.46), transparent 34rem),
    radial-gradient(circle at 82% 78%, rgba(167, 95, 71, 0.045), transparent 29rem),
    repeating-linear-gradient(0deg, rgba(68, 57, 47, 0.012) 0, rgba(68, 57, 47, 0.012) 1px, transparent 1px, transparent 4px);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.25rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 82%, transparent);
}

.site-name {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-mark {
  display: block;
  width: 3.15rem;
  height: 3.15rem;
  flex: 0 0 auto;
  border: 0;
  outline: 0;
  background: none;
  object-fit: contain;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

nav a {
  color: var(--dark);
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"] {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
}

section {
  padding: 3.6rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 82%, transparent);
  scroll-margin-top: 2rem;
}

.opening {
  padding-top: 0;
}

.eyebrow,
.quiet,
.project-type,
.publication-meta,
footer {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.16em;
}

h1,
h2,
h3 {
  margin: 0 0 1.25rem;
  color: var(--red);
  line-height: 1.1;
  font-weight: 500;
}

h1 {
  max-width: 40rem;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.32;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

p {
  margin: 0 0 1rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.lead {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.55;
}

.section-intro {
  max-width: 34rem;
  margin-bottom: 2.25rem;
  color: var(--muted);
}

.project-entry {
  padding: 1.7rem 0 0;
}

.project-entry + .project-entry {
  margin-top: 2rem;
  padding-top: 2.2rem;
  border-top: 1px solid color-mix(in srgb, var(--rule) 82%, transparent);
}

.project-entry h3 a {
  color: var(--red);
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.project-entry h3 a:hover,
.project-entry h3 a:focus-visible {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.project-type {
  margin-bottom: 0.65rem;
}

.project-link,
.publication-link,
.text-link,
.page-return a {
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.project-link:hover,
.project-link:focus-visible,
.publication-link:hover,
.publication-link:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.page-return a:hover,
.page-return a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.publication-list {
  border-top: 1px solid color-mix(in srgb, var(--rule) 82%, transparent);
}

.publication-entry {
  padding: 1.8rem 0 1.55rem;
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 82%, transparent);
}

.publication-entry:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.publication-entry h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.publication-meta {
  margin-bottom: 0.7rem;
}

.article-page {
  max-width: 44rem;
}

.article-page > h1 {
  max-width: 42rem;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.12;
}

.article-page .lead {
  margin-bottom: 2.5rem;
}

.prose {
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--rule) 82%, transparent);
}

.prose h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 0.22rem solid var(--gold);
  background: color-mix(in srgb, var(--paper-deep) 64%, transparent);
  box-shadow: 0 0.35rem 1.2rem rgba(68, 57, 47, 0.045);
  font-size: 1.12rem;
  line-height: 1.55;
}

.page-return {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--rule) 82%, transparent);
}

.contact-action {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: 0.82rem;
  margin-top: 0.35rem;
}

.contact-key {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2in;
  height: 2in;
  padding: 0.37in;
  border: 1px solid rgba(117, 93, 72, 0.22);
  border-radius: 0.32in;
  background: linear-gradient(145deg, #fffaf0 0%, #f7efe2 50%, #e4d6c3 100%);
  box-shadow:
    inset 0.045in 0.045in 0.075in rgba(255, 255, 255, 0.92),
    inset -0.055in -0.055in 0.085in rgba(112, 86, 64, 0.12),
    0 0.085in 0 #d5c4ae,
    0 0.15in 0.28in rgba(82, 63, 48, 0.18);
  text-decoration: none;
  transition: transform 0.13s ease, box-shadow 0.13s ease, border-color 0.13s ease;
}

.contact-key::before {
  content: "";
  position: absolute;
  inset: 0.15in;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 0.23in;
  box-shadow:
    inset 0.02in 0.02in 0.045in rgba(255, 255, 255, 0.55),
    inset -0.025in -0.025in 0.05in rgba(111, 84, 63, 0.08);
  pointer-events: none;
}

.contact-key img {
  position: relative;
  z-index: 1;
  display: block;
  width: 1.12in;
  height: 1.12in;
  filter:
    drop-shadow(-1px -1px 0 rgba(255, 255, 255, 0.58))
    drop-shadow(1px 1px 0 rgba(112, 63, 49, 0.24));
}

.contact-key:hover,
.contact-key:focus-visible {
  border-color: color-mix(in srgb, var(--gold) 64%, #c8b8a3);
  transform: translateY(0.025in);
  box-shadow:
    inset 0.04in 0.04in 0.07in rgba(255, 255, 255, 0.9),
    inset -0.05in -0.05in 0.08in rgba(112, 86, 64, 0.12),
    0 0.06in 0 #d5c4ae,
    0 0.12in 0.22in rgba(82, 63, 48, 0.16);
  outline: none;
}

.contact-key:active {
  transform: translateY(0.08in);
  box-shadow:
    inset 0.035in 0.035in 0.065in rgba(255, 255, 255, 0.82),
    inset -0.045in -0.045in 0.075in rgba(112, 86, 64, 0.14),
    0 0.015in 0 #d5c4ae,
    0 0.06in 0.12in rgba(82, 63, 48, 0.13);
}

.contact-text {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: none;
}

.contact-text:hover,
.contact-text:focus-visible {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

footer {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 2rem 3rem;
  color: var(--muted);
  text-transform: none;
}

::selection {
  background: var(--gold);
  color: var(--paper);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem;
  }

  .site-name {
    white-space: normal;
  }

  main {
    padding: 3.75rem 1.2rem 2rem;
  }

  section {
    padding: 2.8rem 0;
  }

  footer {
    padding: 0 1.2rem 2rem;
  }
}

@media (max-width: 420px) {
  .site-mark {
    width: 2.8rem;
    height: 2.8rem;
  }

  nav {
    gap: 0.5rem 0.9rem;
  }
}
