@font-face {
  font-family: "Sophiecomic";
  src: url("assets/fonts/Sophiecomic-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #fffaf5;
  --ink: #382622;
  --cornell-red: #b31b00;
  --content-width: 650px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Sophiecomic", "Courier New", Courier, monospace;
  font-size: 1.35rem;
}

main {
  width: calc(100% - 2rem);
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wordmark {
  display: block;
  width: 100%;
  max-width: var(--content-width);
  height: auto;
  margin: 0 auto 2.25rem;
  mix-blend-mode: multiply;
}

.copy {
  max-width: var(--content-width);
  margin: 0 auto;
}

p {
  margin: 0 0 1.2rem;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.content-section {
  margin-bottom: 1.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--cornell-red);
}

.about-section {
  margin-bottom: 1.25rem;
  padding-bottom: 0;
  border-bottom: 0;
}

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

.section-title-row,
.card-title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.section-title-row h2,
.card-title-row h3 {
  flex: 0 1 auto;
  margin: 0;
  color: var(--ink);
  font: inherit;
  line-height: 1.15;
  white-space: nowrap;
}

.section-title-row h2 {
  font-size: 1.55rem;
}

.card-title-row h3 {
  font-size: 1.25rem;
}

.section-flower {
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 auto;
}

.section-flower-cluster {
  width: 1.85rem;
  height: 1.85rem;
}

.title-rule {
  min-width: 1rem;
  flex: 1 1 auto;
  border-top: 2px dotted var(--cornell-red);
  opacity: 0.78;
}

.officers {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 0.8rem;
  row-gap: 0.3rem;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 1rem;
  padding: 0;
  line-height: 1.55;
}

.officers dt {
  position: relative;
  margin: 0;
  padding-right: 0.6rem;
  font-weight: 400;
  text-align: right;
}

.officers dt::after {
  content: ":";
  position: absolute;
  right: 0;
}

.officers dd {
  min-width: 0;
  margin: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: -0.25rem;
  padding-bottom: 0;
}

.info-column {
  min-width: 0;
}

.info-column:first-child {
  padding-right: 1.4rem;
  border-right: 2px dotted rgba(179, 27, 0, 0.65);
}

.info-column:last-child {
  padding-left: 1.4rem;
}

.info-card + .info-card {
  margin-top: 1.7rem;
}

.info-card p {
  margin: 0;
  line-height: 1.55;
  text-align: left;
  hyphens: none;
}

.site-footer {
  padding-top: 1.45rem;
}

.footer-divider {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.footer-divider::before,
.footer-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--cornell-red);
}

.footer-divider img {
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 auto;
}

.site-footer p {
  margin: 0;
  font-size: 0.88em;
  line-height: 1.55;
  text-align: center;
  hyphens: none;
}

a {
  color: var(--cornell-red);
  text-decoration-line: underline;
  text-decoration-color: rgba(179, 27, 0, 0.55);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  text-decoration-skip-ink: auto;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  text-decoration-color: currentColor;
}

@media (max-width: 680px) {
  main {
    padding-top: 1.25rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-column:first-child {
    padding: 0;
    border-right: 0;
  }

  .info-column:last-child {
    padding: 1.7rem 0 0;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 1.2rem;
  }

  p {
    text-align: left;
    hyphens: none;
  }

  .section-title-row h2 {
    font-size: 1.4rem;
    white-space: normal;
  }

  .card-title-row h3 {
    font-size: 1.2rem;
    white-space: normal;
  }

  .officers {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 440px) {
  .officers {
    grid-template-columns: 1fr;
    row-gap: 0;
    width: 100%;
  }

  .officers dt {
    width: max-content;
    margin-top: 0.55rem;
  }

  .officers dt:first-of-type {
    margin-top: 0;
  }

  .officers dd {
    margin: 0 0 0.15rem 1rem;
  }
}
