:root {
  --ul-bg: #ffffff;
  --ul-ink: #1a1a1a;
  --ul-muted: #5c5854;
  --ul-faint: #8a847c;
  --ul-line: #e4e0da;
  --ul-accent: #243044;
  --ul-bar: calc(14px * 1.214 + 20px + 1px);
  --ul-footer: 56px;
  --ul-pad: 28px;
  --ul-menu: "Source Code Pro", ui-monospace, monospace;
  --ul-text: "Newsreader", "Iowan Old Style", Palatino, serif;
  --ul-display: "Instrument Serif", "Iowan Old Style", Palatino, serif;
  --ul-sans: "Instrument Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--ul-bg);
  color: var(--ul-ink);
}

body {
  min-height: 100dvh;
}

a:focus-visible {
  outline: 1px solid var(--ul-accent);
  outline-offset: 3px;
}

.ul-menu,
.ul-footer {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: var(--ul-bar);
  padding-inline: var(--ul-pad);
  background: var(--ul-bg);
  font-family: var(--ul-menu);
  font-size: 14px;
  font-weight: 400;
  line-height: calc(14px * 1.214);
  letter-spacing: 0.04em;
}

.ul-menu {
  top: 0;
  justify-content: space-between;
  gap: 1.25rem;
  border-bottom: 1px solid var(--ul-accent);
}

.ul-footer {
  bottom: 0;
  justify-content: space-between;
  height: var(--ul-footer);
  border-top: 1px solid var(--ul-accent);
}

.ul-sign {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  min-width: 0;
  font-family: var(--ul-menu);
  font-size: 14px;
  line-height: calc(14px * 1.214);
  letter-spacing: 0.02em;
}

.ul-heart,
.ul-name {
  color: var(--ul-ink);
  text-decoration: none;
  white-space: nowrap;
}

.ul-heart {
  font-size: 15px;
  line-height: 1;
}

.ul-heart:hover,
.ul-heart:focus-visible,
.ul-name:hover,
.ul-name:focus-visible {
  opacity: 0.5;
  outline: none;
}

.ul-nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1.15rem;
  min-width: 0;
}

.ul-brand,
.ul-nav a {
  color: var(--ul-ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ul-brand:hover,
.ul-brand:focus-visible,
.ul-nav a:hover,
.ul-nav a:focus-visible {
  opacity: 0.5;
  outline: none;
}

.ul-nav a.is-active {
  padding-bottom: 0.12rem;
  border-bottom: 1px solid var(--ul-accent);
  opacity: 1;
}

.ul-nav a.is-active:hover,
.ul-nav a.is-active:focus-visible {
  opacity: 1;
}

.ul-stage {
  height: calc(100dvh - var(--ul-bar) - var(--ul-footer));
  margin-top: var(--ul-bar);
  overflow: auto;
  background: var(--ul-bg);
  -webkit-overflow-scrolling: touch;
}

.ul-stage:has(.ul-land) {
  overflow: hidden;
}

.ul-land {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.ul-land-copy {
  position: absolute;
  z-index: 3;
  left: var(--ul-pad);
  top: 46%;
  width: min(34rem, 54vw);
  transform: translateY(-62%);
}

.ul-land-meta {
  max-width: 17rem;
  margin: 0 0 0.65rem;
  font-family: var(--ul-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ul-muted);
}

.ul-land h1 {
  margin: 0;
  font-family: var(--ul-display);
  font-size: clamp(4.8rem, 11.2vw, 11rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.84;
  white-space: nowrap;
}

.ul-land-lede {
  max-width: 18.5rem;
  margin: 1.15rem 0 0;
  font-family: var(--ul-text);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.45;
}

.ul-land-more {
  display: inline-block;
  margin-top: 1.15rem;
  color: var(--ul-ink);
  font-family: var(--ul-menu);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.ul-land-more:hover,
.ul-land-more:focus-visible {
  opacity: 0.5;
  outline: none;
}

.ul-land-frames {
  position: absolute;
  z-index: 1;
  top: 8%;
  right: var(--ul-pad);
  bottom: 11%;
  left: 30%;
}

.ul-land-still {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 42%;
}

.ul-land-still.is-second {
  position: absolute;
  z-index: 2;
  top: auto;
  right: auto;
  bottom: -4%;
  left: -16%;
  width: 46%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-position: center 40%;
}

.ul-read {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 1.5rem) 4rem;
  font-family: var(--ul-text);
}

.ul-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ul-muted);
}

.ul-lead {
  margin: 0.55rem 0 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ul-muted);
}

.ul-journal {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.ul-journal li {
  border-top: 1px solid var(--ul-line);
}

.ul-journal li:last-child {
  border-bottom: 1px solid var(--ul-line);
}

.ul-journal a {
  display: block;
  padding: 0.95rem 0 1.05rem;
  color: inherit;
  text-decoration: none;
}

.ul-journal a:hover .ul-entry-title,
.ul-journal a:focus-visible .ul-entry-title {
  color: var(--ul-accent);
}

.ul-entry-date,
.ul-post-date {
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ul-muted);
}

.ul-entry-title {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--ul-display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ul-entry-excerpt {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ul-muted);
}

.ul-post h1 {
  margin: 0.35rem 0 1.35rem;
  font-family: var(--ul-display);
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.ul-page .ul-kicker {
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.ul-read h2 {
  margin: 2.15rem 0 0.7rem;
  font-family: var(--ul-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
  color: var(--ul-ink);
}

.ul-page h1 + p {
  font-size: 1.12rem;
  line-height: 1.55;
}

.ul-post p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.ul-post p:last-child {
  margin-bottom: 0;
}

.ul-post figure {
  margin: 1.75rem 0 1.35rem;
}

.ul-post figure img {
  display: block;
  width: 100%;
  height: auto;
}

.ul-zoom {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: zoom-in;
}

.ul-zoom:focus-visible {
  outline: 1px solid var(--ul-accent);
  outline-offset: 3px;
}

.ul-light {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 5.6rem minmax(0, 1fr) 5.6rem;
  align-items: center;
  padding: 3.4rem 0 1.4rem;
  background: rgba(26, 26, 26, 0.94);
  color: #fff;
}

.ul-light[hidden],
.ul-light [hidden] {
  display: none;
}

.ul-light.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.ul-light figure {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
}

.ul-light.is-single figure {
  grid-column: 1;
}

.ul-light img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 8rem);
  object-fit: contain;
}

.ul-light figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  max-width: min(40rem, 86vw);
  margin-top: 0.75rem;
  text-align: center;
}

.ul-light-cap {
  font-family: var(--ul-sans);
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

.ul-light-count {
  font-family: var(--ul-menu);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

.ul-light-close,
.ul-light-prev,
.ul-light-next {
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--ul-menu);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.ul-light-close {
  position: absolute;
  top: 0.95rem;
  right: var(--ul-pad);
  padding: 0.4rem 0;
}

.ul-light-prev,
.ul-light-next {
  padding: 1rem 0.35rem;
}

.ul-light-prev {
  grid-column: 1;
}

.ul-light-next {
  grid-column: 3;
}

.ul-light-close:hover,
.ul-light-close:focus-visible,
.ul-light-prev:hover,
.ul-light-prev:focus-visible,
.ul-light-next:hover,
.ul-light-next:focus-visible {
  opacity: 0.55;
  outline: none;
}

body.ul-light-open .ul-stage {
  overflow: hidden;
}

@media (max-width: 720px) {
  .ul-light {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.2rem 0.85rem 3.4rem;
  }

  .ul-light figure {
    width: 100%;
  }

  .ul-light img {
    max-height: calc(100dvh - 9rem);
  }

  .ul-light-close,
  .ul-light-prev,
  .ul-light-next {
    font-size: 12px;
  }

  .ul-light-prev,
  .ul-light-next {
    position: absolute;
    bottom: 0.85rem;
  }

  .ul-light-prev {
    left: var(--ul-pad);
  }

  .ul-light-next {
    right: var(--ul-pad);
  }
}

.ul-post figcaption {
  margin-top: 0.4rem;
  font-family: var(--ul-sans);
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ul-muted);
}

.ul-contact {
  max-width: 28rem;
  margin-top: 0.4rem;
}

.ul-contact label {
  display: block;
  margin: 1.15rem 0 0;
  font-family: var(--ul-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ul-muted);
}

.ul-contact input,
.ul-contact textarea {
  display: block;
  width: 100%;
  margin-top: 0.28rem;
  border: 0;
  border-bottom: 1px solid var(--ul-line);
  border-radius: 0;
  background: transparent;
  color: var(--ul-ink);
  font-family: var(--ul-text);
  font-size: 1.05rem;
  line-height: 1.45;
  padding: 0.35rem 0;
}

.ul-contact textarea {
  min-height: 7rem;
  resize: vertical;
}

.ul-contact input:focus,
.ul-contact textarea:focus {
  outline: none;
  border-bottom-color: var(--ul-accent);
}

.ul-contact button {
  margin-top: 1.25rem;
  border: 0;
  background: none;
  padding: 0;
  color: var(--ul-faint);
  font-family: var(--ul-menu);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: default;
}

.ul-contact button:not(:disabled) {
  padding: 0.32rem 0.65rem 0.36rem;
  background: var(--ul-accent);
  color: #fff;
  cursor: pointer;
}

.ul-contact button:not(:disabled):hover,
.ul-contact button:not(:disabled):focus-visible {
  opacity: 0.82;
  outline: none;
}

.ul-contact-status {
  min-height: 1.2em;
  margin: 0.85rem 0 0;
  font-family: var(--ul-sans);
  font-size: 0.88rem;
  color: var(--ul-muted);
}

.ul-contact-status.is-error {
  color: var(--ul-accent);
}

.ul-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ul-missing {
  margin: 0;
  font-family: var(--ul-text);
  font-size: 1rem;
  line-height: 1.5;
}

.ul-footer img {
  display: block;
  width: auto;
  height: calc(var(--ul-footer) - 24px);
  max-width: min(70vw, 380px);
  object-fit: contain;
}

@media (max-width: 860px), (max-height: 680px) {
  .ul-stage:has(.ul-land) {
    overflow: auto;
  }

  .ul-land {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100%;
    padding: 1.35rem var(--ul-pad) 1.75rem;
  }

  .ul-land-copy {
    position: relative;
    top: auto;
    width: auto;
    max-width: 36rem;
    transform: none;
  }

  .ul-land h1 {
    font-size: clamp(3.6rem, 16vw, 5.2rem);
  }

  .ul-land-frames {
    position: relative;
    inset: auto;
    height: 62vw;
    min-height: 13rem;
    margin-top: 1.5rem;
    margin-bottom: 7rem;
  }

  .ul-land-still.is-second {
    left: 0;
    bottom: -5.5rem;
    width: min(58%, 16rem);
  }
}

@media (max-width: 720px) {
  :root {
    --ul-pad: 16px;
  }

  .ul-footer {
    justify-content: space-between;
    gap: 0.75rem;
  }

  .ul-sign {
    font-size: 12px;
  }

  .ul-footer img {
    max-width: min(46vw, 210px);
  }
}
