@font-face {
  font-family: "IBM Plex Sans KR";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-kr-latin-400.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans KR";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-kr-latin-600.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans KR";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-kr-400.woff2") format("woff2");
  unicode-range: U+AC00-D7A3, U+1100-11FF, U+3130-318F, U+A960-A97F, U+D7B0-D7FF;
}

@font-face {
  font-family: "IBM Plex Sans KR";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-kr-600.woff2") format("woff2");
  unicode-range: U+AC00-D7A3, U+1100-11FF, U+3130-318F, U+A960-A97F, U+D7B0-D7FF;
}

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

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

:root {
  --paper: #f3f0ea;
  --paper-2: #faf8f5;
  --ink: #1a1916;
  --muted: #4a463f;
  --quiet: #6f6a62;
  --line: rgba(26, 25, 22, 0.12);
  --harbor: #1a3330;
  --harbor-2: #24524c;
  --buoy: #1a3330;
  --wrap: 76rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Noto Sans CJK KR", "Noto Sans KR", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

a {
  color: var(--buoy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--harbor);
}

:focus-visible {
  outline: 2px solid var(--harbor);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 3;
  background: var(--paper-2);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
}

.skip:focus {
  top: 1rem;
}

.page {
  min-height: 100vh;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page > .wrap {
  padding-top: 2.25rem;
  padding-bottom: 5.5rem;
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(243, 240, 234, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  min-height: 4.25rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.mark {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mark-en {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0;
  margin-right: 0.15rem;
}

.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  font-size: 0.95rem;
}

.top nav a {
  color: var(--ink);
  text-decoration: none;
}

.top nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--harbor);
  text-underline-offset: 0.28em;
}

.hero,
.section,
.article-head {
  padding-top: 2.75rem;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--harbor-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.6vw, 3.7rem);
  max-width: 11em;
}

.zone h1 {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 500;
  max-width: none;
  letter-spacing: -0.03em;
}

.zone > .lede {
  margin-top: 0.85rem;
  color: var(--quiet);
  font-size: 1rem;
  line-height: 1.65;
}

.zone h2 {
  margin: 3.75rem 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.lede,
.dek {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.lede {
  margin: 1.25rem 0 0;
}

.berths,
.reads {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.berth,
.read {
  display: grid;
  gap: 0.35rem 1.25rem;
  padding: 1.15rem 0.2rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.berth {
  grid-template-columns: 3rem minmax(8rem, 1.1fr) minmax(10rem, 1fr) auto;
  align-items: baseline;
}

a.berth:hover,
a.read:hover {
  background: rgba(247, 241, 230, 0.7);
}

.berth-no,
.read-date {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  color: var(--harbor);
  font-size: 1.35rem;
  line-height: 1;
}

.berth-name,
.read-title {
  font-weight: 600;
  color: var(--ink);
}

.berth-host,
.berth-state,
.read-dek,
.meta {
  color: var(--quiet);
}

.berth-state {
  justify-self: end;
  font-size: 0.92rem;
}

.is-quiet .berth-no,
.is-quiet .berth-name,
.is-quiet .berth-host,
.is-quiet .berth-state {
  color: var(--quiet);
}

.read {
  grid-template-columns: 7.5rem 1fr;
  align-items: start;
}

.read-dek {
  grid-column: 2;
  margin: 0;
}

.notice {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--harbor);
}

.notice h2 {
  margin: 0;
  font-size: 1rem;
}

.notice ul {
  margin: 0;
  padding-left: 1.15rem;
}

.notice li + li {
  margin-top: 0.55rem;
}

.prose {
  max-width: 40rem;
  margin-top: 2rem;
}

.prose h2 {
  margin: 2.2rem 0 0.6rem;
  font-size: 1.35rem;
}

.prose p,
.prose li {
  margin: 0 0 1rem;
}

.disclosure {
  margin: 1.15rem 0 0;
  padding: 0.1rem 0 0.1rem 0.8rem;
  border-left: 2px solid var(--harbor);
  background: none;
  color: var(--quiet);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 40rem;
}

.prose .disclosure {
  margin: 0 0 1.4rem;
}

.merchant-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.5rem 0 1.35rem;
}

.merchant-picks button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  min-height: 2.5rem;
  padding: 0.35rem 0.9rem;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}

.merchant-picks button[aria-pressed="true"] {
  background: var(--harbor);
  border-color: var(--harbor);
  color: var(--paper-2);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1.35rem 1.15rem;
  margin: 0;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 100%;
  padding: 0.7rem 0.7rem 0.95rem;
  background: #fff;
  border: 1px solid rgba(26, 25, 22, 0.08);
  color: inherit;
  text-decoration: none;
}

.product-card[hidden] {
  display: none;
}

.product-card:hover {
  border-color: rgba(26, 51, 48, 0.45);
  color: inherit;
}

.product-card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 0.45rem;
  padding: 0.85rem;
  background: #f6f4f0;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-merchant {
  color: var(--quiet);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.product-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.7em;
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.4;
}

.product-card-price {
  margin-top: auto;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-card-cta {
  color: var(--harbor);
  font-size: 0.88rem;
}

.product-card-cta::after {
  content: " →";
}

.merchant-directory {
  display: grid;
  gap: 1.6rem;
  margin: 1.25rem 0 0;
}

.merchant-directory h3 {
  margin: 0 0 0.45rem;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.merchant-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.merchant-links a {
  display: inline-block;
  padding: 0.28rem 0;
  border-bottom: 1px solid transparent;
  color: var(--ink);
  text-decoration: none;
}

.merchant-links a:hover {
  border-bottom-color: var(--harbor);
  color: var(--harbor);
}

.prose ul {
  padding-left: 1.2rem;
}

.meta {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
}

.colophon {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.92rem;
}

.colophon p {
  margin: 0.2rem 0;
}

@media (max-width: 800px) {
  .wrap {
    padding: 0 1.15rem;
  }

  .page > .wrap {
    padding-top: 1.5rem;
    padding-bottom: 4rem;
  }

  .bar {
    min-height: 3.6rem;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .product-card {
    padding: 0.5rem 0.5rem 0.75rem;
  }

  .product-card-media {
    padding: 0.45rem;
  }

  .product-card-title {
    font-size: 0.88rem;
  }

  .berth,
  .read,
  .notice {
    grid-template-columns: 1fr;
  }

  .read-dek,
  .berth-state {
    grid-column: auto;
    justify-self: start;
  }

  h1 {
    max-width: none;
  }
}

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