@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ja-9b9f19f2fb57.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/ja-45e0cfe838e2.woff2") format("woff2");
}
@font-face {
  font-family: "Magazine Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ar-5a0859366d38.woff2") format("woff2");
}
@font-face {
  font-family: "Magazine Arabic";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/ar-5a0859366d38.woff2") format("woff2");
}
@font-face {
  font-family: "Magazine Korean";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ko-9691f644a86f.woff2") format("woff2");
}
@font-face {
  font-family: "Magazine Korean";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/ko-9691f644a86f.woff2") format("woff2");
}
@font-face {
  font-family: "Magazine Simplified Chinese";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/zh-hans-4d8a864a7c51.woff2") format("woff2");
}
@font-face {
  font-family: "Magazine Simplified Chinese";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/zh-hans-4d8a864a7c51.woff2") format("woff2");
}
@font-face {
  font-family: "Magazine Traditional Chinese";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/zh-hant-60b55a93dc37.woff2") format("woff2");
}
@font-face {
  font-family: "Magazine Traditional Chinese";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/zh-hant-60b55a93dc37.woff2") format("woff2");
}
@font-face {
  font-family: "Shippori Mincho B1";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/wordmark.woff2") format("woff2");
  unicode-range: U+3002, U+4E2D, U+5B66, U+6BD2, U+8A9E;
}

:root {
  --ink: #111111;
  --paper: #f4f1ea;
  --white: #ffffff;
  --lilac: #d4bff5;
  --orange: #ff5c20;
  --amber: #b07300;
  --mute: #55534f;
  --line: #d5d2cc;
  --font: "Zen Kaku Gothic New", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
img {
  max-inline-size: 100%;
}
.wrap {
  width: min(calc(100% - 64px), 1280px);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  inset: 8px auto auto 8px;
  z-index: 2;
  padding: 12px;
  background: var(--white);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-block-size: 104px;
  padding-block: 20px;
  border-bottom: 2px solid var(--ink);
}
.brand {
  text-decoration: none;
  flex-shrink: 0;
}
.wordmark {
  font:
    700 40px / 1.3 "Shippori Mincho B1",
    serif;
  white-space: nowrap;
  color: #2e2925;
}
.period {
  color: var(--amber);
}
.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}
.site-header nav a:hover {
  text-decoration: underline;
}
.intro {
  padding-block: 64px 72px;
}
.eyebrow {
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.intro h1 {
  margin: 0 0 24px;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.intro > p:last-child {
  margin: 0;
  color: var(--mute);
  font-size: 17px;
  line-height: 1.9;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 20px;
  border-top: 2px solid var(--ink);
}
.section-heading h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}
.section-heading p {
  margin: 0;
  color: var(--mute);
  font-size: 13px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.cards > li {
  min-inline-size: 0;
}
.cover-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  block-size: 100%;
  min-inline-size: 0;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
}
.cover-card:hover {
  border-color: var(--ink);
}
.cover {
  display: block;
  aspect-ratio: 3 / 2;
  background: var(--lilac);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.cover img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 24px;
  min-inline-size: 0;
}
.category {
  justify-self: start;
  display: inline-block;
  padding: 3px 8px;
  background: var(--lilac);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 900;
  white-space: nowrap;
}
.card-body :is(h2, h3) {
  margin: 0;
  min-block-size: 2.9em;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.45;
  word-break: auto-phrase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.cover-card:hover :is(h2, h3) {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}
.card-date {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--mute);
  font-size: 12px;
  white-space: nowrap;
}
.card-date::before {
  content: "";
  display: inline-block;
  inline-size: 8px;
  block-size: 8px;
  margin-inline-end: 8px;
  background: var(--orange);
}
.existing-guides {
  margin-block: 64px 80px;
  padding-block: 24px;
  border-top: 2px solid var(--ink);
}
.existing-guides h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
}
.existing-guides p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mute);
}
.existing-guides a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-block-size: 44px;
  font-size: 15px;
  font-weight: 900;
}
.site-footer {
  padding-block: 40px;
  background: var(--ink);
  color: var(--paper);
}
.footer-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-footer .wordmark {
  color: var(--paper);
  font-size: 32px;
}
.site-footer .period {
  color: var(--orange);
}
.site-footer p {
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.7;
}
.site-footer a:focus-visible {
  outline-color: var(--paper);
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  font-size: 13px;
}
.credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: 44px;
  font-size: 12px;
  text-decoration: none;
}
.credit img {
  inline-size: 74px;
  block-size: auto;
  filter: invert(1);
}
.reading-wrap {
  width: min(calc(100% - 64px), 780px);
  margin: 32px auto 80px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 32px;
  color: var(--mute);
  font-size: 13px;
  font-weight: 900;
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
}
.article-heading {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--ink);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 24px;
  color: var(--mute);
  font-size: 12px;
}
.article-meta time {
  white-space: nowrap;
}
.article-heading h1 {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.35;
  font-weight: 900;
  word-break: auto-phrase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.lead {
  margin: 0;
  color: var(--mute);
  font-size: 17px;
  line-height: 1.9;
}
.article-body {
  font-size: 17px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.article-body p {
  margin: 0 0 24px;
}
.article-body h2 {
  margin: 48px 0 24px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
  font-size: 26px;
  line-height: 1.5;
  font-weight: 900;
  word-break: auto-phrase;
}
.article-body h3 {
  margin: 32px 0 16px;
  font-size: 21px;
  line-height: 1.6;
  font-weight: 900;
}
.article-body :is(ul, ol) {
  margin: 24px 0;
  padding-inline-start: 1.5em;
}
.article-body li {
  margin-block: 8px;
  padding-inline-start: 4px;
}
.article-body blockquote {
  margin: 32px 0;
  padding: 16px 24px;
  border-inline-start: 3px solid var(--ink);
  background: var(--white);
}
.sources {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.sources h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 900;
}
.sources ol {
  margin: 0;
  padding-inline-start: 1.5em;
}
.sources li {
  padding-block: 6px;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.sources a {
  display: inline-block;
  min-block-size: 44px;
}
.related {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.related > h2 {
  margin: 0 0 24px;
  font-size: 14px;
  font-weight: 900;
}
.related .card-body :is(h2, h3) {
  font-size: 22px;
}
@media (max-width: 640px) {
  .wrap,
  .reading-wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 16px;
  }
  .site-header .brand {
    flex-basis: 100%;
  }
  .wordmark {
    font-size: 32px;
  }
  .site-header nav {
    gap: 8px 24px;
  }
  .intro {
    padding-block: 40px 48px;
  }
  .intro > p:last-child {
    font-size: 16px;
  }
  .cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .card-body {
    padding: 20px;
  }
  .card-body :is(h2, h3) {
    font-size: 22px;
  }
  .footer-in {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }
  .site-footer .wordmark {
    font-size: 28px;
  }
  .reading-wrap {
    margin-top: 24px;
    margin-bottom: 48px;
  }
  .article-heading h1 {
    font-size: 32px;
  }
  .article-body {
    font-size: 16px;
    line-height: 1.9;
  }
  .article-body h2 {
    font-size: 24px;
  }
  .existing-guides {
    margin-block: 48px;
  }
}
.language-menu {
  position: relative;
  font-size: 14px;
  font-weight: 900;
}
.language-menu summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  min-block-size: 44px;
  padding-inline: 8px;
  border: 1px solid var(--line);
}
.language-menu summary::after {
  content: "⌄";
}
.language-menu summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
.language-menu ul {
  position: absolute;
  inset-inline-end: 0;
  z-index: 3;
  min-inline-size: 164px;
  margin: 4px 0 0;
  padding: 8px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--lilac);
}
.language-menu a {
  inline-size: 100%;
  padding-inline: 12px;
}
.language-menu a[aria-current="page"] {
  background: var(--lilac);
}
html[lang="ar"],
[lang="ar"] {
  --font: "Magazine Arabic", sans-serif;
  font-family: var(--font);
}
html[lang="ko"],
[lang="ko"] {
  --font: "Magazine Korean", sans-serif;
  font-family: var(--font);
}
html[lang="zh-Hans"],
[lang="zh-Hans"] {
  --font: "Magazine Simplified Chinese", sans-serif;
  font-family: var(--font);
}
html[lang="zh-Hant"],
[lang="zh-Hant"] {
  --font: "Magazine Traditional Chinese", sans-serif;
  font-family: var(--font);
}
html[lang="en"] :is(h1, h2, h3),
html[lang="ar"] :is(h1, h2, h3),
html[lang="ko"] :is(h1, h2, h3) {
  word-break: normal;
  overflow-wrap: anywhere;
}
html[lang="ar"] :is(.intro h1, .article-heading h1, .article-body, .lead) {
  line-height: 1.9;
}
html[lang="ar"] .intro h1 {
  font-size: clamp(30px, 4vw, 52px);
}
html[lang="ar"] .card-body :is(h2, h3) {
  line-height: 1.8;
}
html[lang="ar"] .article-heading h1 {
  line-height: 1.65;
}
html[lang="ar"] .credit {
  direction: ltr;
}
html[lang="ko"] :is(h1, h2, h3, .lead, .article-body) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .site-header nav {
    position: relative;
    inline-size: 100%;
  }
  .language-menu {
    position: static;
  }
  .language-menu ul {
    inset-inline: 0;
    inset-block-start: 100%;
    min-inline-size: 0;
  }
}

.brand-name {
  font-family: "Shippori Mincho B1", serif;
}
.language-menu :is([lang="ja"], [lang="en"]),
.eyebrow[lang="en"] {
  font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
}

.breadcrumb-current {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
}
.breadcrumb-current [aria-current="page"] {
  min-inline-size: 0;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: anywhere;
}
.sources a {
  vertical-align: top;
}
html[lang="ja"] .breadcrumb-current [aria-current="page"] {
  word-break: auto-phrase;
}
