:root {
  --paper: #f4f1e9;
  --ink: #181713;
  --muted: #68655d;
  --line: #b9b4a8;
  --accent: #8d2d22;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  font-family: var(--font-display), Georgia, serif;
  font-size: 30px;
  font-weight: 400;
}

.site-header nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header nav a,
.elsewhere a {
  transition: color 160ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.elsewhere a:hover,
.elsewhere a:focus-visible {
  color: var(--accent);
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.7fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: center;
  padding: 82px 6vw 92px;
}

.eyebrow,
.publication-kind {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section-label {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.05;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 22px;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(80px, 12vw, 120px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.lede {
  max-width: 660px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.24;
  text-wrap: balance;
}

.portrait-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0;
  justify-self: end;
}

.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid var(--accent);
  z-index: 0;
}

.portrait {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.swirl-break {
  height: clamp(180px, 20vw, 245px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--accent);
  padding-left: clamp(5px, 8vw, 110px);
}

.swirl-break svg {
  width: clamp(250px, 32vw, 360px);
  height: auto;
}

.galaxy-arms path {
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
}

.galaxy-core {
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.galaxy-stars {
  opacity: 0.86;
}

.swirl-break-reverse {
  justify-content: flex-end;
  padding-right: clamp(5px, 8vw, 110px);
  padding-left: 0;
}

.swirl-break-reverse svg {
  transform: scaleX(-1) rotate(-9deg);
}

.swirl-break-embedded {
  height: auto;
  margin-top: 78px;
  padding: 0;
  opacity:5	0%;
}

.swirl-break-embedded svg {
  width: min(100%, 260px);
  transform: translateX(-8%) rotate(-7deg);
}

.swirl-break-compact {
  height: clamp(105px, 12vw, 145px);
  padding-left: clamp(30px, 21vw, 250px);
}

.swirl-break-compact svg {
  width: clamp(135px, 16vw, 185px);
  opacity: 0.68;
  transform: rotate(12deg);
}

.mobile-swirl {
  display: none;
}

.about {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  padding: 82px 0 100px;
}

.about-aside {
  min-width: 0;
}

.about-copy {
  max-width: 820px;
}

.about-copy p {
  margin: 0 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 2.4vw, 24px);
  font-weight: 400;
  line-height: 1.42;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.writing {
  padding: 68px 0 92px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 52px;
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  font-size: 18px;
}

.publication-list {
  border-top: 1px solid var(--line);
}

.publication {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 36px;
  gap: 24px;
  padding: 34px 4px 38px;
  border-bottom: 1px solid var(--line);
  transition:
    color 180ms ease,
    padding 180ms ease;
}

.publication:hover,
.publication:focus-visible {
  color: var(--accent);
  padding-left: 12px;
  padding-right: 12px;
  outline: none;
}

.publication-number {
  padding-top: 3px;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
}

.publication-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.publication-title {
  display: block;
  max-width: 890px;
  margin-top: 8px;
  font-family:  Georgia, serif;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 400;
  line-height: 1.14;
  text-wrap: balance;
}

.publication-description {
  display: block;
  max-width: 690px;
  margin-top: 16px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
}

.publication-arrow {
  display: flex;
  justify-content: flex-end;
  padding-top: 5px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  padding: 72px 0 82px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-link {
  position: relative;
  min-width: 0;
  min-height: 152px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 38px 24px 24px;
  border-left: 1px solid var(--line);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--accent);
  background: rgba(141, 45, 34, 0.055);
  transform: translateY(-3px);
  outline: none;
}

.contact-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}

.contact-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.matrix-mark {
  color: #000;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.12em;
  line-height: 1;
  white-space: nowrap;
}

.contact-value {
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 400;
  line-height: 1.3;
}

.contact-arrow {
  position: absolute;
  top: 24px;
  right: 18px;
  display: flex;
}

.matrix-disclaimer {
  max-width: 620px;
  margin: 18px 0 0 24px;
  color: var(--muted);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  font-size: 10px;
  line-height: 1.5;
}

.site-footer {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.elsewhere {
  display: flex;
  gap: 24px;
}

@media (max-width: 760px) {
  main {
    width: min(100% - 32px, 620px);
  }

  .site-header {
    min-height: 76px;
  }

  .site-header nav {
    gap: 14px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 58px;
    padding: 64px 0 78px;
  }

  .hero-copy {
    order: 2;
  }

  .portrait-wrap {
    order: 1;
    width: min(72vw, 290px);
    justify-self: start;
  }

  h1 {
    font-size: clamp(78px, 27vw, 126px);
  }

  .lede {
    font-size: 26px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 0 72px;
  }

  .mobile-swirl {
    display: block;
  }

  .mobile-swirl .swirl-break {
    opacity: 0.58;
    transform: translateY(28px);
  }

  .swirl-break-embedded {
    display: none;
  }

  .about-copy p {
    font-size: 23px;
  }

  .writing {
    padding: 56px 0 70px;
  }

  .section-label {
    font-size: 16px;
    letter-spacing: 0.06em;
  }

  .section-heading {
    display: block;
    margin-bottom: 36px;
  }

  .section-note {
    margin-top: 10px;
  }

  .publication {
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 12px;
    padding: 28px 0 32px;
  }

  .publication:hover,
  .publication:focus-visible {
    padding-left: 0;
    padding-right: 0;
  }

  .publication-title {
    font-size: 28px;
  }

  .publication-description {
    font-size: 13px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 0 64px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .contact-link {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 20px 38px 20px 4px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-link:hover,
  .contact-link:focus-visible {
    background: transparent;
    transform: none;
  }

  .contact-value {
    font-size: 17px;
  }

  .contact-arrow {
    top: 50%;
    transform: translateY(-50%);
  }

  .matrix-disclaimer {
    margin-left: 4px;
  }

  .swirl-break-compact {
    height: 105px;
    padding-left: 13vw;
  }

  .swirl-break-compact svg {
    width: 135px;
  }

  .site-footer {
    min-height: 160px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
