@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-regular-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-regular-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}
body {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-color: #faf9f6;
}

html {
  overscroll-behavior: none;
}

html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
input,
button,
textarea,
select {
  font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}
#root,
#__next {
  isolation: isolate;
}

a {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--black);
  text-underline-offset: 0.12em;
  white-space: nowrap;
}

:root {
  --green: #556b2f;
  --pink: #d68a9c;
  --white: #fcfcfc;
  --black: #000000;
  --pink-rgb: 214, 138, 156;
  --black-rgb: 0, 0, 0;
  --green-rgb: 85, 107, 47;
  --page-pad: clamp(1rem, calc(0.824rem + 0.7512vw), 1.5rem);
  --nav-top-offset: -0.25rem;
  --nav-font-size: clamp(16px, calc(12.7px + 0.884vw), 24px);
  --nav-center-y: calc(
    var(--page-pad) + var(--nav-top-offset) + 0.5 * var(--nav-font-size)
  );
  --aidenseo-baseline-y: calc(100svh - var(--brand-hero-bottom-nudge));
  --hero-top-offset: 0px;
  --margin-xxl: 1.375rem;
  --margin-xl: 1.25rem;
  --margin-l: 1.125rem;
  --margin-m: 1rem;
  --margin-s: 0.875rem;
  --margin-xs: 0.75rem;
  --margin-xxs: 0.625rem;
  --margin-0: 0;
  --nav-main-links-nudge-1000: -100px;
  --space-1: 1rem;
  --space-2: 2rem;
  --space-4: 4rem;
  --space-8: 8rem;
  --space-16: 16rem;
  --space-32: 32rem;
  --space-64: 64rem;
  --space-128: 128rem;
  --space-256: 256rem;
  --brand-hero-bottom-nudge: 2.25rem;
  --z-hero-logo-kr: 0;
  --z-hero-canvas: 1;
  --z-hero-photo-underlay: 2;
  --z-hero-phrase: 3;
  --z-hero-photo: 4;
  --z-hero-logo: 5;
  --z-hero-link: 6;
  --title-top-offset: var(--nav-font-size);
}

.page-title-header {
  position: relative;
  overflow: visible;
  max-inline-size: 100%;
  margin-top: var(--title-top-offset);
}

.page-title {
  position: relative;
  display: block;
  text-align: left;
  margin: 0;
  font-size: clamp(1.75rem, calc(1.543rem + 0.884vw), 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--black);
}

.js .page-title {
  opacity: 0;
}

.js .page-title.is-ready {
  opacity: 1;
  transition: opacity 250ms ease;
}

.js .simple-page-content,
.js .poem-page {
  opacity: 0;
  transition: opacity 250ms ease;
}

.js .simple-page-content.is-ready,
.js .poem-page.is-ready {
  opacity: 1;
}

.page-title-line {
  display: inline;
  white-space: nowrap;
}

.citation-ref {
  font-size: 0.7em;
  line-height: 0;
  vertical-align: super;
}

.citation-toggle {
  color: var(--pink);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}

.citation-toggle:hover,
.citation-toggle:focus-visible {
  color: var(--pink);
  text-decoration: underline;
}

.citation-checkbox {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.work-page.has-citation-sidenotes,
.poem-page.has-citation-sidenotes {
  --citation-gutter: clamp(72px, calc(25vw - 48px), 372px);
  --citation-width: min(16rem, calc(var(--citation-gutter) - 2rem));
  --citation-offset: calc(var(--citation-width) + 1.5rem);
}

.citation-sidenote {
  display: block;
  width: var(--citation-width, 16rem);
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--black);
  overflow: hidden;
  overflow-wrap: break-word;
}

.citation-sidenote a {
  color: var(--green);
  text-decoration-color: var(--green);
  white-space: normal;
}

.citation-toggle {
  color: var(--pink);
  text-decoration: none;
}

.citation-sidenote.sidenote--right {
  float: right;
  clear: right;
  margin-right: calc(-1 * var(--citation-offset, 17.5rem));
  padding-left: 2rem;
}

.citation-sidenote.sidenote--left {
  float: left;
  clear: left;
  margin-left: calc(-1 * var(--citation-offset, 17.5rem));
  padding-right: 2rem;
  text-align: right;
}

.citation-note-number {
  color: var(--green);
  font-weight: 600;
}

.simple-page-content {
  font-size: 18px;
}

.simple-page-content p {
  text-indent: 0.5in;
}

.simple-page-content p + p {
  margin-top: 1em;
}

.citation-sidenote p,
.citation-sidenote {
  text-indent: 0;
}

.uhi {
  position: absolute;
  bottom: clamp(4rem, calc(0.831rem + 13.521vw), 13rem);
  right: clamp(3.5rem, calc(-4.411rem + 33.756vw), 26rem);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(16px, calc(14.59px + 0.3756vw), 20px);
  font-weight: 600;
  color: var(--pink);
  font-style: italic;
  text-decoration: none;
  opacity: 0.6;
  text-shadow: none;
  transition: opacity 150ms ease, color 200ms ease, text-shadow 200ms ease;
  user-select: none;
  -webkit-user-select: none;
  z-index: var(--z-hero-link);
}

.uhi:hover,
.uhi:focus-visible {
  opacity: 1;
  color: var(--green);
  text-shadow:
    0px 0.5px 1px rgba(var(--green-rgb), 0.22),
    0px 1.5px 3px rgba(var(--green-rgb), 0.14),
    0px 3px 6px rgba(var(--green-rgb), 0.1);
}

.brand-hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: calc(100% + var(--page-pad) * 2);
  margin-left: calc(-1 * var(--page-pad));
  margin-top: calc(-1 * var(--page-pad));
  padding: var(--page-pad);
}

.topo-hero {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: var(--z-hero-canvas);
  visibility: hidden;
}

.topo-hero > canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-hero > .brand-logo,
.brand-hero > .brand-logo-kr {
  position: absolute;
  bottom: var(--brand-hero-bottom-nudge, 0);
  will-change: transform;
}

.brand-hero > .brand-logo {
  bottom: 0.5rem;
  right: 0;
  z-index: var(--z-hero-logo);
  mix-blend-mode: normal;
}
.brand-hero > .brand-logo-kr {
  left: 0;
  z-index: var(--z-hero-logo-kr);
  bottom: clamp(
    calc(var(--brand-hero-bottom-nudge, 0) + 0.75rem),
    calc(var(--brand-hero-bottom-nudge, 0) + 1.4815vw - 0.8333rem),
    calc(var(--brand-hero-bottom-nudge, 0) + 0.25rem)
  );
}


.topo-text-overlay {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  pointer-events: none;
  z-index: var(--z-hero-phrase);
}

.js .topo-text-overlay {
  opacity: 0;
}

.js .topo-text-overlay.is-ready {
  opacity: 1;
  transition: opacity 400ms ease;
}

.topo-root,
.topo-phrase {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(20px, calc(12.958px + 1.87793vw), 40px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
  max-width: 90vw;
  margin-inline: auto;
}

.topo-phrase {
  min-height: 1.2em;
}

.topo-letter-in {
  display: inline;
}

/* ────────────────────────────────────────────────────────── */

#ascii-logo-canvas {
  position: absolute;
  bottom: 0;
  right: 0;
  display: block;
  pointer-events: none;
}

.big-logo {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  margin: 0;
  text-align: right;
  white-space: nowrap;
  font-size: clamp(64px, calc(11px + 0.155 * 100vw), 224px);
  color: var(--green);
  opacity: 0.95;
  line-height: 0.8;
  text-shadow:
    0px 1px 2px rgba(var(--green-rgb), 0.2),
    0px 4px 8px rgba(var(--green-rgb), 0.15),
    0px 8px 16px rgba(var(--green-rgb), 0.1);
}

.brand-logo-kr {
  padding: 0;
  background: transparent;
  transform-origin: bottom left;
  user-select: none;
  -webkit-user-select: none;
}

.big-logo-kr {
  font-family: "Noto Serif KR", "Source Serif 4", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: left;
  white-space: nowrap;
  font-size: clamp(76px, calc(19.66px + 0.15023 * 100vw), 236px);
  line-height: 0.8;

  color: var(--pink);
  opacity: 0.5;
  filter: blur(2px);
  mix-blend-mode: multiply;
}

.site-header {
  background-color: transparent;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background-color: transparent;
  color: var(--black);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: var(--nav-font-size);
  line-height: 1;
  pointer-events: none;
}

.site-nav a,
.site-nav button {
  pointer-events: auto;
}

.nav-inner {
  display: grid;
  grid-template-columns: clamp(0px, 50vw, 720px) minmax(0, 1fr) max-content;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  column-gap: 0;
}

.brand {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  white-space: nowrap;
  color: rgba(var(--black-rgb), 0.3);
  transition: color 150ms ease;
  justify-self: start;
  width: max-content;
}

.brand:hover,
.brand:focus-visible {
  color: var(--green);
  text-shadow:
    0px 0.5px 1px rgba(var(--green-rgb), 0.18),
    0px 2px 4px rgba(var(--green-rgb), 0.12),
    0px 4px 8px rgba(var(--green-rgb), 0.08);
}

.main-links {
  justify-self: start;
  display: flex;
  align-items: center;
  column-gap: 50px;
}

.contact-links {
  display: flex;
  align-items: center;
  column-gap: 16px;
  justify-self: end;
}

.nav-link {
  text-decoration: none;
  color: rgba(var(--black-rgb), 0.3);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  white-space: nowrap;
  transition: color 150ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--green);
  text-shadow:
    0px 0.5px 1px rgba(var(--green-rgb), 0.18),
    0px 2px 4px rgba(var(--green-rgb), 0.12),
    0px 4px 8px rgba(var(--green-rgb), 0.08);
}

@media (max-width: 1000px) {
  .main-links {
    transform: translateX(var(--nav-main-links-nudge-1000));
  }
}

@media (max-width: 720px) {
  :root {
    --title-top-offset: var(--nav-font-size);
  }

  .site-nav {
    padding: 0;
    font-size: calc(var(--nav-font-size) - 2px);
  }

  .main-links {
    column-gap: 24px;
    transform: none;
  }

  .contact-links {
    column-gap: 12px;
  }

  .nav-inner {
    grid-template-columns: max-content max-content max-content;
    justify-content: space-between;
  }
}


@media (max-width: 600px) {
  .brand-hero > .brand-logo {
    bottom: 1.5rem;
  }

}

@media (max-width: 550px) {
  .brand-hero > .brand-logo-kr {
    bottom: var(--brand-hero-bottom-nudge, 0);
  }
}

@media (max-width: 450px) {
  .main-links {
    column-gap: 16px;
  }

  .contact-links {
    column-gap: 12px;
  }
}

body {
  padding: var(--page-pad);
}
.site-nav {
  top: calc(var(--page-pad) + var(--nav-top-offset));
  left: var(--page-pad);
  right: var(--page-pad);
}

@media (min-width: 1101px) {
  .work-page.has-citation-sidenotes,
  .poem-page.has-citation-sidenotes {
    max-width: calc(100vw - (var(--citation-gutter) * 2));
  }
}

@media (max-width: 1100px) {
  .citation-sidenote,
  .citation-sidenote.sidenote--right,
  .citation-sidenote.sidenote--left {
    display: none;
    float: none;
    width: auto;
    margin: 0.5rem 0 1rem;
    margin-right: 0;
    margin-left: 0;
    padding: 0.5rem 0 0 0;
    border: 0;
    text-align: left;
  }

  .citation-checkbox:checked + .citation-sidenote {
    display: block;
  }
}

.spacer {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
}

.spacer.space-1 {
  height: var(--space-1);
}
.spacer.space-2 {
  height: var(--space-2);
}
.spacer.space-4 {
  height: var(--space-4);
}
.spacer.space-8 {
  height: var(--space-8);
}
.spacer.space-16 {
  height: var(--space-16);
}
.spacer.space-32 {
  height: var(--space-32);
}
.spacer.space-64 {
  height: var(--space-64);
}
.spacer.space-128 {
  height: var(--space-128);
}
.spacer.space-256 {
  height: var(--space-256);
}
