@font-face {
  font-family: "DM Sans";
  src: url('/assets/fonts/dm-sans.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url('/assets/fonts/instrument-serif.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url('/assets/fonts/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f7f6ef;
  --ink: #20231e;
  --acid: #daee79;
  --muted: #52574b;
  --rule: #cccec2;
  --serif: "Instrument Serif",Georgia,serif;
  --sans: "DM Sans",Arial,sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

h1,h2,h3,p,figure {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: .21em;
}

button,input,textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
}

[hidden] {
  display: none!important;
}

:focus-visible {
  outline: 3px solid #617700;
  outline-offset: 4px;
}

main:focus {
  outline: 0;
}

.visually-hidden,.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: .5rem;
  left: 1rem;
  z-index: 10;
  background: var(--acid);
  color: var(--ink);
  padding: .7rem 1rem;
}

.masthead,.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: clamp(1.125rem,4.1vw,4.6rem);
  color: var(--ink);
  background: var(--paper);
}

.masthead {
  min-height: 4.6rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  font-size: 2.05rem;
  font-weight: 750;
  letter-spacing: -.075em;
  line-height: 1;
  text-decoration: none;
}

.wordmark img {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
}

.masthead nav,.footer>div {
  display: flex;
  gap: clamp(.9rem,2.3vw,2.5rem);
  align-items: center;
}

.masthead nav a,.footer a,.footer button {
  font-size: .9rem;
  text-decoration: none;
}

.masthead nav a:hover,.footer a:hover,.footer button:hover {
  text-decoration: underline;
}

.masthead :focus-visible,.footer :focus-visible {
  outline-color: #617700;
}

.entry {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(25rem,.85fr);
}

.stage {
  min-width: 0;
  display: grid;
  align-items: stretch;
  background: #e5e8d9;
  border-right: 1px solid var(--rule);
  color: var(--ink);
}

.stage-content {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0,.6fr) minmax(0,1.2fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(1.1rem,2.9vw,3.2rem);
  padding: clamp(2.2rem,4.1vw,4.6rem);
}

.micro,.photo-credit {
  font-family: "SFMono-Regular",Consolas,"Liberation Mono",monospace;
  font-size: .77rem;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 500;
}

.light-label {
  grid-column: 1 / -1;
  align-self: start;
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #474c3c;
}

.light-label::before {
  content: "";
  display: block;
  width: 1.8rem;
  height: 2px;
  background: currentColor;
}

.stage h1 {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-size: clamp(4rem,6.65vw,8.1rem);
  line-height: .88;
  font-weight: 400;
  letter-spacing: -.045em;
  margin: 1.3rem 0 clamp(1.8rem,3vw,3rem);
}

.stage h1 em {
  font-weight: 400;
}

.stage-intro {
  align-self: end;
  font-size: clamp(1rem,1.5vw,1.35rem);
  line-height: 1.4;
  max-width: 11ch;
  padding: .75rem 0;
  border-top: 1px solid #888e7c;
}

.stage-intro i {
  display: block;
  font-family: var(--serif);
  font-size: 1.22em;
  line-height: 1.1;
}

.contact-print {
  align-self: center;
  justify-self: end;
  width: min(100%,23rem);
  margin: .2rem .15rem;
  transform: rotate(-2deg);
  padding: clamp(.4rem,.75vw,.8rem);
  background: #fdfbf3;
  box-shadow: 0 .2rem .5rem #313b262e;
}

.stage-image {
  width: 100%;
  height: auto;
  display: block;
}

.photo-credit {
  padding: .6rem .2rem .1rem;
  color: #42473a;
  font-size: .75rem;
  letter-spacing: .015em;
  text-transform: none;
  line-height: 1.4;
}

.signin {
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 4.2rem clamp(1.5rem,5.1vw,6rem);
}

.signin-inner {
  width: 100%;
  max-width: 26rem;
}

.signin h2,.dialog-inner h2 {
  font-size: clamp(3.5rem,5vw,5.75rem);
  letter-spacing: -.085em;
  line-height: 1.05;
  font-weight: 600;
  margin: .45rem 0 .75rem;
}

.signin .micro,.dialog-inner .micro {
  color: var(--muted);
}

.intro,.dialog-inner>p:not(.micro) {
  color: var(--muted);
  line-height: 1.55;
}

.intro {
  max-width: 33ch;
  margin-bottom: 2.15rem;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field+.field {
  margin-top: 1rem;
}

.field label,.note-field label {
  font-weight: 600;
  font-size: .9375rem;
  display: block;
  margin-bottom: .42rem;
}

.field input,.note-field textarea {
  width: 100%;
  background: #fbfaf5;
  border: 1px solid #959a88;
  border-radius: 1px;
}

.field input {
  height: 3.1rem;
  padding: 0 .8rem;
}

.field input[aria-invalid="true"] {
  border-color: #943322;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 4.5rem;
}

.password-wrap button {
  min-height: 2.5rem;
  padding: 0 .9rem;
  position: absolute;
  right: .16rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.error-text,.status {
  font-size: .9rem;
  line-height: 1.45;
  margin-top: .48rem;
}

.error-text,.status.is-error {
  color: #853124;
}

.status:empty {
  display: none;
}

.options,.signin-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: .8rem;
  row-gap: .6rem;
}

.options {
  margin: 1.1rem 0 1.55rem;
  font-size: .9rem;
}

.check {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--ink);
  margin: 0;
}

.text-button {
  display: inline-block;
  border: 0;
  background: transparent;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: .19em;
  font-size: inherit;
}

.text-button:hover,a:hover {
  text-decoration-thickness: 2px;
}

.primary,.outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: .65rem 1.1rem;
}

.primary {
  width: 100%;
  background: var(--acid);
  color: var(--ink);
}

.primary:hover,.primary:focus-visible {
  background: #ccdf66;
}

.primary:disabled {
  opacity: .7;
}

.outline {
  background: transparent;
  color: var(--ink);
}

.outline:hover {
  background: #e6e7da;
}

.signin-links {
  font-size: .9rem;
  margin-top: 1.55rem;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  color: var(--muted);
}

.signin-links a,.signin-links button {
  color: var(--ink);
}

.footer {
  min-height: 3.7rem;
  font-size: .825rem;
  color: var(--muted);
  border-top: 1px solid var(--rule);
}

dialog {
  width: min(28rem,calc(100vw - 2rem));
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 0;
  color: var(--ink);
  box-shadow: 0 1rem 4rem #0005;
}

dialog::backdrop {
  background: rgba(12,15,11,.7);
}

.dialog-inner {
  padding: 2rem;
}

.dialog-inner h2 {
  font-size: 2.6rem;
  margin: .65rem 0 .8rem;
  letter-spacing: -.06em;
}

.dialog-inner .primary {
  margin: 1.3rem 0 1rem;
}

.dialog-inner form {
  text-align: center;
}

@media(max-width:60rem) {
  .entry {
    grid-template-columns: minmax(0,1fr) minmax(22rem,1fr);
  }

  .signin {
    padding: 3.4rem 2rem;
  }

  .stage-content {
    padding: 2rem;
    grid-template-columns: minmax(0,.5fr) minmax(0,1fr);
    column-gap: 1rem;
  }

  .stage h1 {
    font-size: clamp(4.25rem,7vw,5.8rem);
  }

  .stage-intro {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 1.5rem;
    max-width: none;
    align-self: end;
    font-size: 1rem;
  }

  .stage-intro i {
    display: inline;
  }

  .contact-print {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 17rem;
  }

}

@media(max-width:47rem) {
  .masthead {
    min-height: 3.9rem;
  }

  .wordmark {
    font-size: 1.8rem;
  }

  .wordmark img {
    width: 1.45rem;
    height: 1.45rem;
  }

  .masthead nav a {
    font-size: .825rem;
  }

  .entry {
    display: flex;
    flex-direction: column;
  }

  .stage {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .stage-content {
    grid-template-columns: minmax(0,1fr) minmax(0,.8fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 1.1rem;
    align-items: center;
    padding: 1.5rem clamp(1.125rem,4.1vw,2.2rem);
  }

  .light-label {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }

  .light-label::before {
    width: 1rem;
  }

  .stage h1 {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(3.1rem,8.5vw,5.2rem);
    line-height: .88;
    margin: .8rem 0;
  }

  .stage h1 em {
    display: block;
  }

  .stage-intro {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    margin: 0;
    font-size: .9375rem;
    max-width: 17ch;
    padding: .6rem 0;
  }

  .stage-intro i {
    display: block;
  }

  .contact-print {
    grid-column: 2;
    grid-row: 1 / 4;
    max-width: 13rem;
    padding: .35rem;
    justify-self: end;
  }

  .photo-credit {
    padding: .35rem .1rem .15rem;
    line-height: 1.2;
    font-family: var(--sans);
    font-size: .75rem;
  }

  .signin {
    padding: 2.3rem clamp(1.125rem,4.1vw,2.2rem) 2.6rem;
  }

  .signin-inner {
    max-width: 33rem;
  }

  .signin h2 {
    font-size: 3.6rem;
  }

  .intro {
    margin-bottom: 1.45rem;
  }

  .footer {
    min-height: 3.5rem;
  }


}

@media(max-width:24rem) {
  .stage h1 {
    font-size: clamp(2.45rem, 11.5vw, 2.76rem);
  }

  .footer {
    gap: .65rem;
  }

  .footer, .masthead nav {
    white-space: nowrap;
  }

  .masthead nav {
    gap: .65rem;
  }

  .masthead nav a {
    font-size: .78rem;
  }

  .stage .micro {
    letter-spacing: .025em;
    font-size: .75rem;
  }

  .light-label::before {
    display: none;
  }

  .footer>div {
    gap: .75rem;
  }

}

.options { justify-content: flex-end; }
